mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-27 01:08:33 +00:00
1 line
4.9 MiB
1 line
4.9 MiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/L5":function(n,e,t){var l=t("t1UP").isCustomProperty,o=t("vd7W").TYPE,i=t("4njK").mode,r=o.Ident,a=o.Hash,u=o.Colon,s=o.Semicolon,d=o.Delim,c=33,p=35,f=36,h=38,m=42,v=43,g=47;function b(n){return this.Raw(n,i.exclamationMarkOrSemicolon,!0)}function _(n){return this.Raw(n,i.exclamationMarkOrSemicolon,!1)}function y(){var n=this.scanner.tokenIndex,e=this.Value();return"Raw"!==e.type&&!1===this.scanner.eof&&this.scanner.tokenType!==s&&!1===this.scanner.isDelim(c)&&!1===this.scanner.isBalanceEdge(n)&&this.error(),e}function C(){var n=this.scanner.tokenStart;if(this.scanner.tokenType===d)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case m:case f:case v:case p:case h:this.scanner.next();break;case g:this.scanner.next(),this.scanner.isDelim(g)&&this.scanner.next()}return this.eat(this.scanner.tokenType===a?a:r),this.scanner.substrToCursor(n)}function w(){this.eat(d),this.scanner.skipSC();var n=this.consume(r);return"important"===n||n}n.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var n,e=this.scanner.tokenStart,t=this.scanner.tokenIndex,o=C.call(this),i=l(o),r=i?this.parseCustomProperty:this.parseValue,a=i?_:b,d=!1;return this.scanner.skipSC(),this.eat(u),i||this.scanner.skipSC(),n=r?this.parseWithFallback(y,a):a.call(this,this.scanner.tokenIndex),this.scanner.isDelim(c)&&(d=w.call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==s&&!1===this.scanner.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.scanner.tokenStart),important:d,property:o,value:n}},generate:function(n){this.chunk(n.property),this.chunk(":"),this.node(n.value),n.important&&this.chunk(!0===n.important?"!important":"!"+n.important)},walkContext:"declaration"}},"+Kd2":function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,i=l.Comma;n.exports=function(){var n=this.createList();return this.scanner.skipSC(),n.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===i&&(n.push(this.Operator()),n.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,o.exclamationMarkOrSemicolon,!1))),n}},"+gEr":function(n,e,t){"use strict";t.d(e,"a",(function(){return r})),t.d(e,"b",(function(){return a}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm"),r={leading:!0,trailing:!1};function a(n,e){return void 0===e&&(e=r),function(t){return t.lift(new u(n,e.leading,e.trailing))}}var u=function(){function n(n,e,t){this.durationSelector=n,this.leading=e,this.trailing=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.durationSelector,this.leading,this.trailing))},n}(),s=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i.destination=e,i.durationSelector=t,i._leading=l,i._trailing=o,i._hasValue=!1,i}return l.c(e,n),e.prototype._next=function(n){this._hasValue=!0,this._sendValue=n,this._throttled||(this._leading?this.send():this.throttle(n))},e.prototype.send=function(){var n=this._sendValue;this._hasValue&&(this.destination.next(n),this.throttle(n)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(n){var e=this.tryDurationSelector(n);e&&this.add(this._throttled=Object(i.a)(this,e))},e.prototype.tryDurationSelector=function(n){try{return this.durationSelector(n)}catch(e){return this.destination.error(e),null}},e.prototype.throttlingDone=function(){var n=this._throttled,e=this._trailing;n&&n.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(n,e,t,l,o){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(o.a)},"+ryv":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG");e.HotkeyOptions=new l.InjectionToken("HotkeyOptions")},"+tJ4":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(n){return function(e){for(var t=0,l=n.length;t<l&&!e.closed;t++)e.next(n[t]);e.complete()}}},"+umK":function(n,e,t){"use strict";function l(){}t.d(e,"a",(function(){return l}))},"/+5V":function(n,e){function t(n){function e(n){return null!==n&&("Type"===n.type||"Property"===n.type||"Keyword"===n.type)}var t=null;return null!==this.matched&&function l(o){if(Array.isArray(o.match)){for(var i=0;i<o.match.length;i++)if(l(o.match[i]))return e(o.syntax)&&t.unshift(o.syntax),!0}else if(o.node===n)return t=e(o.syntax)?[o.syntax]:[],!0;return!1}(this.matched),t}function l(n,e,l){var o=t.call(n,e);return null!==o&&o.some(l)}n.exports={getTrace:t,isType:function(n,e){return l(this,n,(function(n){return"Type"===n.type&&n.name===e}))},isProperty:function(n,e){return l(this,n,(function(n){return"Property"===n.type&&n.name===e}))},isKeyword:function(n){return l(this,n,(function(n){return"Keyword"===n.type}))}}},"/21U":function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("isby");function o(n){return!Object(l.a)(n)&&n-parseFloat(n)+1>=0}},"/BcF":function(n,e){n.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var n=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(n)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n)}}},"/PH2":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){var t;return"function"==typeof n[n.length-1]&&(t=n.pop()),e.lift(new a(n,t))}}var a=function(){function n(n,e){this.observables=n,this.project=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.observables,this.project))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;o.observables=t,o.project=l,o.toRespond=[];var r=t.length;o.values=new Array(r);for(var a=0;a<r;a++)o.toRespond.push(a);for(a=0;a<r;a++){var u=t[a];o.add(Object(i.a)(o,u,u,a))}return o}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.values[t]=e;var i=this.toRespond;if(i.length>0){var r=i.indexOf(t);-1!==r&&i.splice(r,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(n){if(0===this.toRespond.length){var e=[n].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(n){var e;try{e=this.project.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.a)},"/POA":function(n,e,t){window,n.exports=function(n){var e={};function t(l){if(e[l])return e[l].exports;var o=e[l]={i:l,l:!1,exports:{}};return n[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,l){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:l})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(t.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(l,o,(function(e){return n[e]}).bind(null,o));return l},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=33)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(14);e.IBufferService=l.createDecorator("BufferService"),e.ICoreMouseService=l.createDecorator("CoreMouseService"),e.ICoreService=l.createDecorator("CoreService"),e.IDirtyRowService=l.createDecorator("DirtyRowService"),e.IInstantiationService=l.createDecorator("InstantiationService"),e.ILogService=l.createDecorator("LogService"),e.IOptionsService=l.createDecorator("OptionsService")},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this._listeners=[],this._disposed=!1}return Object.defineProperty(n.prototype,"event",{get:function(){var n=this;return this._event||(this._event=function(e){return n._listeners.push(e),{dispose:function(){if(!n._disposed)for(var t=0;t<n._listeners.length;t++)if(n._listeners[t]===e)return void n._listeners.splice(t,1)}}}),this._event},enumerable:!0,configurable:!0}),n.prototype.fire=function(n){for(var e=[],t=0;t<this._listeners.length;t++)e.push(this._listeners[t]);for(t=0;t<e.length;t++)e[t].call(void 0,n)},n.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},n}();e.EventEmitter=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this._disposables=[],this._isDisposed=!1}return n.prototype.dispose=function(){this._isDisposed=!0,this._disposables.forEach((function(n){return n.dispose()})),this._disposables.length=0},n.prototype.register=function(n){this._disposables.push(n)},n.prototype.unregister=function(n){var e=this._disposables.indexOf(n);-1!==e&&this._disposables.splice(e,1)},n}();e.Disposable=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_COLOR=256,e.DEFAULT_ATTR=256|e.DEFAULT_COLOR<<9,e.CHAR_DATA_ATTR_INDEX=0,e.CHAR_DATA_CHAR_INDEX=1,e.CHAR_DATA_WIDTH_INDEX=2,e.CHAR_DATA_CODE_INDEX=3,e.NULL_CELL_CHAR="",e.NULL_CELL_WIDTH=1,e.NULL_CELL_CODE=0,e.WHITESPACE_CELL_CHAR=" ",e.WHITESPACE_CELL_WIDTH=1,e.WHITESPACE_CELL_CODE=32},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(14);e.ICharSizeService=l.createDecorator("CharSizeService"),e.ICoreBrowserService=l.createDecorator("CoreBrowserService"),e.IMouseService=l.createDecorator("MouseService"),e.IRenderService=l.createDecorator("RenderService"),e.ISelectionService=l.createDecorator("SelectionService"),e.ISoundService=l.createDecorator("SoundService")},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(8),r=t(3),a=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.content=0,e.fg=0,e.bg=0,e.combinedData="",e}return o(e,n),e.fromCharData=function(n){var t=new e;return t.setFromCharData(n),t},e.prototype.isCombined=function(){return 2097152&this.content},e.prototype.getWidth=function(){return this.content>>22},e.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?i.stringFromCodePoint(2097151&this.content):""},e.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},e.prototype.setFromCharData=function(n){this.fg=n[r.CHAR_DATA_ATTR_INDEX],this.bg=0;var e=!1;if(n[r.CHAR_DATA_CHAR_INDEX].length>2)e=!0;else if(2===n[r.CHAR_DATA_CHAR_INDEX].length){var t=n[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=t&&t<=56319){var l=n[r.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=l&&l<=57343?this.content=1024*(t-55296)+l-56320+65536|n[r.CHAR_DATA_WIDTH_INDEX]<<22:e=!0}else e=!0}else this.content=n[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[r.CHAR_DATA_WIDTH_INDEX]<<22;e&&(this.combinedData=n[r.CHAR_DATA_CHAR_INDEX],this.content=2097152|n[r.CHAR_DATA_WIDTH_INDEX]<<22)},e.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},e}(t(6).AttributeData);e.CellData=a},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this.fg=0,this.bg=0}return n.toColorRGB=function(n){return[n>>>16&255,n>>>8&255,255&n]},n.fromColorRGB=function(n){return(255&n[0])<<16|(255&n[1])<<8|255&n[2]},n.prototype.clone=function(){var e=new n;return e.fg=this.fg,e.bg=this.bg,e},n.prototype.isInverse=function(){return 67108864&this.fg},n.prototype.isBold=function(){return 134217728&this.fg},n.prototype.isUnderline=function(){return 268435456&this.fg},n.prototype.isBlink=function(){return 536870912&this.fg},n.prototype.isInvisible=function(){return 1073741824&this.fg},n.prototype.isItalic=function(){return 67108864&this.bg},n.prototype.isDim=function(){return 134217728&this.bg},n.prototype.getFgColorMode=function(){return 50331648&this.fg},n.prototype.getBgColorMode=function(){return 50331648&this.bg},n.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},n.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},n.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},n.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},n.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},n.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},n.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},n.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},n}();e.AttributeData=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addDisposableDomListener=function(n,e,t,l){return n.addEventListener(e,t,l),{dispose:function(){t&&n.removeEventListener(e,t,l)}}}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringFromCodePoint=function(n){return n>65535?(n-=65536,String.fromCharCode(55296+(n>>10))+String.fromCharCode(n%1024+56320)):String.fromCharCode(n)},e.utf32ToString=function(n,e,t){void 0===e&&(e=0),void 0===t&&(t=n.length);for(var l="",o=e;o<t;++o){var i=n[o];i>65535?(i-=65536,l+=String.fromCharCode(55296+(i>>10))+String.fromCharCode(i%1024+56320)):l+=String.fromCharCode(i)}return l};var l=function(){function n(){this._interim=0}return n.prototype.clear=function(){this._interim=0},n.prototype.decode=function(n,e){var t=n.length;if(!t)return 0;var l=0,o=0;this._interim&&(56320<=(a=n.charCodeAt(o++))&&a<=57343?e[l++]=1024*(this._interim-55296)+a-56320+65536:(e[l++]=this._interim,e[l++]=a),this._interim=0);for(var i=o;i<t;++i){var r=n.charCodeAt(i);if(55296<=r&&r<=56319){if(++i>=t)return this._interim=r,l;var a;56320<=(a=n.charCodeAt(i))&&a<=57343?e[l++]=1024*(r-55296)+a-56320+65536:(e[l++]=r,e[l++]=a)}else e[l++]=r}return l},n}();e.StringToUtf32=l;var o=function(){function n(){this.interim=new Uint8Array(3)}return n.prototype.clear=function(){this.interim.fill(0)},n.prototype.decode=function(n,e){var t=n.length;if(!t)return 0;var l,o,i,r,a=0,u=0,s=0;if(this.interim[0]){var d=!1,c=this.interim[0];c&=192==(224&c)?31:224==(240&c)?15:7;for(var p=0,f=void 0;(f=63&this.interim[++p])&&p<4;)c<<=6,c|=f;for(var h=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=h-p;s<m;){if(s>=t)return 0;if(128!=(192&(f=n[s++]))){s--,d=!0;break}this.interim[p++]=f,c<<=6,c|=63&f}d||(2===h?c<128?s--:e[a++]=c:3===h?c<2048||c>=55296&&c<=57343||(e[a++]=c):c<65536||c>1114111||(e[a++]=c)),this.interim.fill(0)}for(var v=t-4,g=s;g<t;){for(;!(!(g<v)||128&(l=n[g])||128&(o=n[g+1])||128&(i=n[g+2])||128&(r=n[g+3]));)e[a++]=l,e[a++]=o,e[a++]=i,e[a++]=r,g+=4;if((l=n[g++])<128)e[a++]=l;else if(192==(224&l)){if(g>=t)return this.interim[0]=l,a;if(128!=(192&(o=n[g++]))){g--;continue}if((u=(31&l)<<6|63&o)<128){g--;continue}e[a++]=u}else if(224==(240&l)){if(g>=t)return this.interim[0]=l,a;if(128!=(192&(o=n[g++]))){g--;continue}if(g>=t)return this.interim[0]=l,this.interim[1]=o,a;if(128!=(192&(i=n[g++]))){g--;continue}if((u=(15&l)<<12|(63&o)<<6|63&i)<2048||u>=55296&&u<=57343)continue;e[a++]=u}else if(240==(248&l)){if(g>=t)return this.interim[0]=l,a;if(128!=(192&(o=n[g++]))){g--;continue}if(g>=t)return this.interim[0]=l,this.interim[1]=o,a;if(128!=(192&(i=n[g++]))){g--;continue}if(g>=t)return this.interim[0]=l,this.interim[1]=o,this.interim[2]=i,a;if(128!=(192&(r=n[g++]))){g--;continue}if((u=(7&l)<<18|(63&o)<<12|(63&i)<<6|63&r)<65536||u>1114111)continue;e[a++]=u}}return a},n}();e.Utf8ToUtf32=o},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INVERTED_DEFAULT_COLOR=257,e.DIM_OPACITY=.5,e.CHAR_ATLAS_CELL_SPACING=1},function(n,e,t){"use strict";function l(n){var e=n.toString(16);return e.length<2?"0"+e:e}function o(n,e,t,o){return void 0!==o?"#"+l(n)+l(e)+l(t)+l(o):"#"+l(n)+l(e)+l(t)}function i(n,e,t,l){return void 0===l&&(l=255),(n<<24|e<<16|t<<8|l)>>>0}function r(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]}function a(n){return u(n>>16&255,n>>8&255,255&n)}function u(n,e,t){var l=n/255,o=e/255,i=t/255;return.2126*(l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))}function s(n,e){return n<e?(e+.05)/(n+.05):(n+.05)/(e+.05)}function d(n,e,t){return{css:o(n,e,t),rgba:i(n,e,t)}}function c(n,e,t){var l=a(n>>8),o=a(e>>8);if(s(l,o)<t)return o<l?p(n,e,t):f(n,e,t)}function p(n,e,t){for(var l=n>>24&255,o=n>>16&255,i=n>>8&255,r=e>>24&255,a=e>>16&255,d=e>>8&255,c=s(u(r,d,a),u(l,o,i));c<t&&(r>0||a>0||d>0);)r-=Math.max(0,Math.ceil(.1*r)),a-=Math.max(0,Math.ceil(.1*a)),c=s(u(r,d-=Math.max(0,Math.ceil(.1*d)),a),u(l,o,i));return(r<<24|a<<16|d<<8|255)>>>0}function f(n,e,t){for(var l=n>>24&255,o=n>>16&255,i=n>>8&255,r=e>>24&255,a=e>>16&255,d=e>>8&255,c=s(u(r,d,a),u(l,o,i));c<t&&(r<255||a<255||d<255);)r=Math.min(255,r+Math.ceil(.1*(255-r))),a=Math.min(255,a+Math.ceil(.1*(255-a))),c=s(u(r,d=Math.min(255,d+Math.ceil(.1*(255-d))),a),u(l,o,i));return(r<<24|a<<16|d<<8|255)>>>0}Object.defineProperty(e,"__esModule",{value:!0}),e.blend=function(n,e){var t=(255&e.rgba)/255;if(1===t)return{css:e.css,rgba:e.rgba};var l=e.rgba>>16&255,r=e.rgba>>8&255,a=n.rgba>>24&255,u=n.rgba>>16&255,s=n.rgba>>8&255,d=a+Math.round(((e.rgba>>24&255)-a)*t),c=u+Math.round((l-u)*t),p=s+Math.round((r-s)*t);return{css:o(d,c,p),rgba:i(d,c,p)}},e.fromCss=function(n){return{css:n,rgba:(parseInt(n.slice(1),16)<<8|255)>>>0}},e.toPaddedHex=l,e.toCss=o,e.toRgba=i,e.fromRgba=r,e.opaque=function(n){var e=(255|n.rgba)>>>0,t=r(e);return{css:o(t[0],t[1],t[2]),rgba:e}},e.rgbRelativeLuminance=a,e.rgbRelativeLuminance2=u,e.contrastRatio=s,e.rgbaToColor=d,e.ensureContrastRatioRgba=c,e.ensureContrastRatio=function(n,e,t){var l=c(n.rgba,e.rgba,t);if(l)return d(l>>24&255,l>>16&255,l>>8&255)},e.reduceLuminance=p,e.increaseLuminance=f},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l="undefined"==typeof navigator,o=l?"node":navigator.userAgent,i=l?"node":navigator.platform;function r(n,e){return n.indexOf(e)>=0}e.isFirefox=!!~o.indexOf("Firefox"),e.isSafari=/^((?!chrome|android).)*safari/i.test(o),e.isMac=r(["Macintosh","MacIntel","MacPPC","Mac68K"],i),e.isIpad="iPad"===i,e.isIphone="iPhone"===i,e.isWindows=r(["Windows","Win16","Win32","WinCE"],i),e.isLinux=i.indexOf("Linux")>=0},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n){n.NUL="\0",n.SOH="",n.STX="",n.ETX="",n.EOT="",n.ENQ="",n.ACK="",n.BEL="",n.BS="\b",n.HT="\t",n.LF="\n",n.VT="\v",n.FF="\f",n.CR="\r",n.SO="",n.SI="",n.DLE="",n.DC1="",n.DC2="",n.DC3="",n.DC4="",n.NAK="",n.SYN="",n.ETB="",n.CAN="",n.EM="",n.SUB="",n.ESC="",n.FS="",n.GS="",n.RS="",n.US="",n.SP=" ",n.DEL=""}(e.C0||(e.C0={})),function(n){n.PAD="",n.HOP="",n.BPH="",n.NBH="",n.IND="",n.NEL="
",n.SSA="",n.ESA="",n.HTS="",n.HTJ="",n.VTS="",n.PLD="",n.PLU="",n.RI="",n.SS2="",n.SS3="",n.DCS="",n.PU1="",n.PU2="",n.STS="",n.CCH="",n.MW="",n.SPA="",n.EPA="",n.SOS="",n.SGCI="",n.SCI="",n.CSI="",n.ST="",n.OSC="",n.PM="",n.APC=""}(e.C1||(e.C1={}))},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(3),o=t(9),i=t(24),r=t(6),a=t(27),u=t(10),s=function(){function n(n,e,t,l,o,i,r,a){this._container=n,this._alpha=l,this._colors=o,this._rendererId=i,this._bufferService=r,this._optionsService=a,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+e+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return n.prototype.dispose=function(){var n;this._container.removeChild(this._canvas),null===(n=this._charAtlas)||void 0===n||n.dispose()},n.prototype._initCanvas=function(){this._ctx=a.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},n.prototype.onOptionsChanged=function(){},n.prototype.onBlur=function(){},n.prototype.onFocus=function(){},n.prototype.onCursorMove=function(){},n.prototype.onGridChanged=function(n,e){},n.prototype.onSelectionChanged=function(n,e,t){void 0===t&&(t=!1)},n.prototype.setColors=function(n){this._refreshCharAtlas(n)},n.prototype._setTransparency=function(n){if(n!==this._alpha){var e=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,e),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},n.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=i.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},n.prototype.resize=function(n){this._scaledCellWidth=n.scaledCellWidth,this._scaledCellHeight=n.scaledCellHeight,this._scaledCharWidth=n.scaledCharWidth,this._scaledCharHeight=n.scaledCharHeight,this._scaledCharLeft=n.scaledCharLeft,this._scaledCharTop=n.scaledCharTop,this._canvas.width=n.scaledCanvasWidth,this._canvas.height=n.scaledCanvasHeight,this._canvas.style.width=n.canvasWidth+"px",this._canvas.style.height=n.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},n.prototype._fillCells=function(n,e,t,l){this._ctx.fillRect(n*this._scaledCellWidth,e*this._scaledCellHeight,t*this._scaledCellWidth,l*this._scaledCellHeight)},n.prototype._fillBottomLineAtCells=function(n,e,t){void 0===t&&(t=1),this._ctx.fillRect(n*this._scaledCellWidth,(e+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},n.prototype._fillLeftLineAtCell=function(n,e){this._ctx.fillRect(n*this._scaledCellWidth,e*this._scaledCellHeight,window.devicePixelRatio,this._scaledCellHeight)},n.prototype._strokeRectAtCell=function(n,e,t,l){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,e*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,l*this._scaledCellHeight-window.devicePixelRatio)},n.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},n.prototype._clearCells=function(n,e,t,l){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,e*this._scaledCellHeight,t*this._scaledCellWidth,l*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,e*this._scaledCellHeight,t*this._scaledCellWidth,l*this._scaledCellHeight))},n.prototype._fillCharTrueColor=function(n,e,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(n.getChars(),e*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},n.prototype._drawChars=function(n,e,t){var i,r,a=this._getContrastColor(n);a||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,e,t,a):(n.isInverse()?(i=n.isBgDefault()?o.INVERTED_DEFAULT_COLOR:n.getBgColor(),r=n.isFgDefault()?o.INVERTED_DEFAULT_COLOR:n.getFgColor()):(r=n.isBgDefault()?l.DEFAULT_COLOR:n.getBgColor(),i=n.isFgDefault()?l.DEFAULT_COLOR:n.getFgColor()),i+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&i<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||l.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||l.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=r,this._currentGlyphIdentifier.fg=i,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,e*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,e,t))},n.prototype._drawUncachedChars=function(n,e,t,l){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(l)this._ctx.fillStyle=l.css;else if(n.isBgDefault())this._ctx.fillStyle=u.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+r.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var i=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&i<8&&(i+=8),this._ctx.fillStyle=this._colors.ansi[i].css}else if(l)this._ctx.fillStyle=l.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+r.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var a=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}this._clipRow(t),n.isDim()&&(this._ctx.globalAlpha=o.DIM_OPACITY),this._ctx.fillText(n.getChars(),e*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},n.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},n.prototype._getFont=function(n,e){return(e?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},n.prototype._getContrastColor=function(n){if(1!==this._optionsService.options.minimumContrastRatio){var e=this._colors.contrastCache.getColor(n.bg,n.fg);if(void 0!==e)return e||void 0;var t=n.getFgColor(),l=n.getFgColorMode(),o=n.getBgColor(),i=n.getBgColorMode(),r=!!n.isInverse(),a=!!n.isInverse();if(r){var s=t;t=o,o=s;var d=l;l=i,i=d}var c=this._resolveBackgroundRgba(i,o,r),p=this._resolveForegroundRgba(l,t,r,a),f=u.ensureContrastRatioRgba(c,p,this._optionsService.options.minimumContrastRatio);if(f){var h={css:u.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(n.bg,n.fg,h),h}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},n.prototype._resolveBackgroundRgba=function(n,e,t){switch(n){case 16777216:case 33554432:return this._colors.ansi[e].rgba;case 50331648:return e<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},n.prototype._resolveForegroundRgba=function(n,e,t,l){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&l&&e<8&&(e+=8),this._colors.ansi[e].rgba;case 50331648:return e<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},n}();e.BaseRenderLayer=s},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l="di$target",o="di$dependencies";function i(n,e,t){e[l]===e?e[o].push({id:n,index:t}):(e[o]=[{id:n,index:t}],e[l]=e)}e.serviceRegistry=new Map,e.getServiceDependencies=function(n){return n[o]||[]},e.createDecorator=function(n){if(e.serviceRegistry.has(n))return e.serviceRegistry.get(n);var t=function(n,e,l){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");i(t,n,l)};return t.toString=function(){return n},e.serviceRegistry.set(n,t),t}},function(n,e,t){"use strict";function l(n,e,t,l){if(void 0===t&&(t=0),void 0===l&&(l=n.length),t>=n.length)return n;l=l>=n.length?n.length:(n.length+l)%n.length;for(var o=t=(n.length+t)%n.length;o<l;++o)n[o]=e;return n}Object.defineProperty(e,"__esModule",{value:!0}),e.fill=function(n,e,t,o){return n.fill?n.fill(e,t,o):l(n,e,t,o)},e.fillFallback=l,e.concat=function(n,e){var t=new n.constructor(n.length+e.length);return t.set(n),t.set(e,n.length),t}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(8),o=t(3),i=t(5),r=t(6),a=3;e.DEFAULT_ATTR_DATA=Object.freeze(new r.AttributeData);var u=function(){function n(n,e,t){void 0===t&&(t=!1),this.isWrapped=t,this._combined={},this._data=new Uint32Array(n*a);for(var l=e||i.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]),r=0;r<n;++r)this.setCell(r,l);this.length=n}return n.prototype.get=function(n){var e=this._data[n*a+0],t=2097151&e;return[this._data[n*a+1],2097152&e?this._combined[n]:t?l.stringFromCodePoint(t):"",e>>22,2097152&e?this._combined[n].charCodeAt(this._combined[n].length-1):t]},n.prototype.set=function(n,e){this._data[n*a+1]=e[o.CHAR_DATA_ATTR_INDEX],e[o.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=e[1],this._data[n*a+0]=2097152|n|e[o.CHAR_DATA_WIDTH_INDEX]<<22):this._data[n*a+0]=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[o.CHAR_DATA_WIDTH_INDEX]<<22},n.prototype.getWidth=function(n){return this._data[n*a+0]>>22},n.prototype.hasWidth=function(n){return 12582912&this._data[n*a+0]},n.prototype.getFg=function(n){return this._data[n*a+1]},n.prototype.getBg=function(n){return this._data[n*a+2]},n.prototype.hasContent=function(n){return 4194303&this._data[n*a+0]},n.prototype.getCodePoint=function(n){var e=this._data[n*a+0];return 2097152&e?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&e},n.prototype.isCombined=function(n){return 2097152&this._data[n*a+0]},n.prototype.getString=function(n){var e=this._data[n*a+0];return 2097152&e?this._combined[n]:2097151&e?l.stringFromCodePoint(2097151&e):""},n.prototype.loadCell=function(n,e){var t=n*a;return e.content=this._data[t+0],e.fg=this._data[t+1],e.bg=this._data[t+2],2097152&e.content&&(e.combinedData=this._combined[n]),e},n.prototype.setCell=function(n,e){2097152&e.content&&(this._combined[n]=e.combinedData),this._data[n*a+0]=e.content,this._data[n*a+1]=e.fg,this._data[n*a+2]=e.bg},n.prototype.setCellFromCodePoint=function(n,e,t,l,o){this._data[n*a+0]=e|t<<22,this._data[n*a+1]=l,this._data[n*a+2]=o},n.prototype.addCodepointToCell=function(n,e){var t=this._data[n*a+0];2097152&t?this._combined[n]+=l.stringFromCodePoint(e):(2097151&t?(this._combined[n]=l.stringFromCodePoint(2097151&t)+l.stringFromCodePoint(e),t&=-2097152,t|=2097152):t=e|1<<22,this._data[n*a+0]=t)},n.prototype.insertCells=function(n,e,t){if(e<this.length-(n%=this.length)){for(var l=new i.CellData,o=this.length-n-e-1;o>=0;--o)this.setCell(n+e+o,this.loadCell(n+o,l));for(o=0;o<e;++o)this.setCell(n+o,t)}else for(o=n;o<this.length;++o)this.setCell(o,t)},n.prototype.deleteCells=function(n,e,t){if(e<this.length-(n%=this.length)){for(var l=new i.CellData,o=0;o<this.length-n-e;++o)this.setCell(n+o,this.loadCell(n+e+o,l));for(o=this.length-e;o<this.length;++o)this.setCell(o,t)}else for(o=n;o<this.length;++o)this.setCell(o,t)},n.prototype.replaceCells=function(n,e,t){for(;n<e&&n<this.length;)this.setCell(n++,t)},n.prototype.resize=function(n,e){if(n!==this.length){if(n>this.length){var t=new Uint32Array(n*a);this.length&&t.set(n*a<this._data.length?this._data.subarray(0,n*a):this._data),this._data=t;for(var l=this.length;l<n;++l)this.setCell(l,e)}else if(n){(t=new Uint32Array(n*a)).set(this._data.subarray(0,n*a)),this._data=t;var o=Object.keys(this._combined);for(l=0;l<o.length;l++){var i=parseInt(o[l],10);i>=n&&delete this._combined[i]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},n.prototype.fill=function(n){this._combined={};for(var e=0;e<this.length;++e)this.setCell(e,n)},n.prototype.copyFrom=function(n){for(var e in this.length!==n.length?this._data=new Uint32Array(n._data):this._data.set(n._data),this.length=n.length,this._combined={},n._combined)this._combined[e]=n._combined[e];this.isWrapped=n.isWrapped},n.prototype.clone=function(){var e=new n(0);for(var t in e._data=new Uint32Array(this._data),e.length=this.length,this._combined)e._combined[t]=this._combined[t];return e.isWrapped=this.isWrapped,e},n.prototype.getTrimmedLength=function(){for(var n=this.length-1;n>=0;--n)if(4194303&this._data[n*a+0])return n+(this._data[n*a+0]>>22);return 0},n.prototype.copyCellsFrom=function(n,e,t,l,o){var i=n._data;if(o)for(var r=l-1;r>=0;r--)for(var u=0;u<a;u++)this._data[(t+r)*a+u]=i[(e+r)*a+u];else for(r=0;r<l;r++)for(u=0;u<a;u++)this._data[(t+r)*a+u]=i[(e+r)*a+u];var s=Object.keys(n._combined);for(u=0;u<s.length;u++){var d=parseInt(s[u],10);d>=e&&(this._combined[d-e+t]=n._combined[d])}},n.prototype.translateToString=function(n,e,t){void 0===n&&(n=!1),void 0===e&&(e=0),void 0===t&&(t=this.length),n&&(t=Math.min(t,this.getTrimmedLength()));for(var i="";e<t;){var r=this._data[e*a+0],u=2097151&r;i+=2097152&r?this._combined[e]:u?l.stringFromCodePoint(u):o.WHITESPACE_CELL_CHAR,e+=r>>22||1}return i},n}();e.BufferLine=u},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.promptLabel="Terminal input",e.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CHARSETS={},e.DEFAULT_CHARSET=e.CHARSETS.B,e.CHARSETS[0]={"`":"◆",a:"▒",b:"\t",c:"\f",d:"\r",e:"\n",f:"°",g:"±",h:"",i:"\v",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},e.CHARSETS.A={"#":"£"},e.CHARSETS.B=null,e.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},e.CHARSETS.C=e.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},e.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},e.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},e.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},e.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},e.CHARSETS.E=e.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},e.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},e.CHARSETS.H=e.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},e.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(15);e.wcwidth=function(n){var e=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],t=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],o=0|n.control,i=new Uint8Array(65536);l.fill(i,1),i[0]=n.nul,l.fill(i,n.control,1,32),l.fill(i,n.control,127,160),l.fill(i,2,4352,4448),i[9001]=2,i[9002]=2,l.fill(i,2,11904,42192),i[12351]=1,l.fill(i,2,44032,55204),l.fill(i,2,63744,64256),l.fill(i,2,65040,65050),l.fill(i,2,65072,65136),l.fill(i,2,65280,65377),l.fill(i,2,65504,65511);for(var r=0;r<e.length;++r)l.fill(i,0,e[r][0],e[r][1]+1);return function(n){return n<32?0|o:n<127?1:n<65536?i[n]:function(n,e){var t,l=0,o=e.length-1;if(n<e[0][0]||n>e[o][1])return!1;for(;o>=l;)if(n>e[t=l+o>>1][1])l=t+1;else{if(!(n<e[t][0]))return!0;o=t-1}return!1}(e=n,t)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1;var e}}({nul:0,control:0}),e.getStringCellWidth=function(n){for(var t=0,l=n.length,o=0;o<l;++o){var i=n.charCodeAt(o);if(55296<=i&&i<=56319){if(++o>=l)return t+e.wcwidth(i);var r=n.charCodeAt(o);56320<=r&&r<=57343?i=1024*(i-55296)+r-56320+65536:t+=e.wcwidth(r)}t+=e.wcwidth(i)}return t}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=256,o=function(){function n(n,e){if(void 0===n&&(n=32),void 0===e&&(e=32),this.maxLength=n,this.maxSubParamsLength=e,e>l)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(n),this.length=0,this._subParams=new Int32Array(e),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(n),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return n.fromArray=function(e){var t=new n;if(!e.length)return t;for(var l=e[0]instanceof Array?1:0;l<e.length;++l){var o=e[l];if(o instanceof Array)for(var i=0;i<o.length;++i)t.addSubParam(o[i]);else t.addParam(o)}return t},n.prototype.clone=function(){var e=new n(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e},n.prototype.toArray=function(){for(var n=[],e=0;e<this.length;++e){n.push(this.params[e]);var t=this._subParamsIdx[e]>>8,l=255&this._subParamsIdx[e];l-t>0&&n.push(Array.prototype.slice.call(this._subParams,t,l))}return n},n.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},n.prototype.addParam=function(n){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(n<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=n>2147483647?2147483647:n}},n.prototype.addSubParam=function(n){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(n<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=n>2147483647?2147483647:n,this._subParamsIdx[this.length-1]++}},n.prototype.hasSubParams=function(n){return(255&this._subParamsIdx[n])-(this._subParamsIdx[n]>>8)>0},n.prototype.getSubParams=function(n){var e=this._subParamsIdx[n]>>8,t=255&this._subParamsIdx[n];return t-e>0?this._subParams.subarray(e,t):null},n.prototype.getSubParamsAll=function(){for(var n={},e=0;e<this.length;++e){var t=this._subParamsIdx[e]>>8,l=255&this._subParamsIdx[e];l-t>0&&(n[e]=this._subParams.slice(t,l))}return n},n.prototype.addDigit=function(n){var e;if(!(this._rejectDigits||!(e=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var t=this._digitIsSub?this._subParams:this.params,l=t[e-1];t[e-1]=~l?Math.min(10*l+n,2147483647):n}},n}();e.Params=o},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(22),o=t(8),i=function(){function n(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return n.prototype.addHandler=function(n,e){void 0===this._handlers[n]&&(this._handlers[n]=[]);var t=this._handlers[n];return t.push(e),{dispose:function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}},n.prototype.setHandler=function(n,e){this._handlers[n]=[e]},n.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},n.prototype.setHandlerFallback=function(n){this._handlerFb=n},n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},n.prototype._start=function(){var n=this._handlers[this._id];if(n)for(var e=n.length-1;e>=0;e--)n[e].start();else this._handlerFb(this._id,"START")},n.prototype._put=function(n,e,t){var l=this._handlers[this._id];if(l)for(var i=l.length-1;i>=0;i--)l[i].put(n,e,t);else this._handlerFb(this._id,"PUT",o.utf32ToString(n,e,t))},n.prototype._end=function(n){var e=this._handlers[this._id];if(e){for(var t=e.length-1;t>=0&&!1===e[t].end(n);t--);for(t--;t>=0;t--)e[t].end(!1)}else this._handlerFb(this._id,"END",n)},n.prototype.start=function(){this.reset(),this._id=-1,this._state=1},n.prototype.put=function(n,e,t){if(3!==this._state){if(1===this._state)for(;e<t;){var l=n[e++];if(59===l){this._state=2,this._start();break}if(l<48||57<l)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+l-48}2===this._state&&t-e>0&&this._put(n,e,t)}},n.prototype.end=function(n){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(n)),this._id=-1,this._state=0)},n}();e.OscParser=i;var r=function(){function n(n){this._handler=n,this._data="",this._hitLimit=!1}return n.prototype.start=function(){this._data="",this._hitLimit=!1},n.prototype.put=function(n,e,t){this._hitLimit||(this._data+=o.utf32ToString(n,e,t),this._data.length>l.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.end=function(n){var e;return this._hitLimit?e=!1:n&&(e=this._handler(this._data)),this._data="",this._hitLimit=!1,e},n}();e.OscHandler=r},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PAYLOAD_LIMIT=1e7},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(8),o=t(20),i=t(22),r=[],a=function(){function n(){this._handlers=Object.create(null),this._active=r,this._ident=0,this._handlerFb=function(){}}return n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.addHandler=function(n,e){void 0===this._handlers[n]&&(this._handlers[n]=[]);var t=this._handlers[n];return t.push(e),{dispose:function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}},n.prototype.setHandler=function(n,e){this._handlers[n]=[e]},n.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},n.prototype.setHandlerFallback=function(n){this._handlerFb=n},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=r,this._ident=0},n.prototype.hook=function(n,e){if(this.reset(),this._ident=n,this._active=this._handlers[n]||r,this._active.length)for(var t=this._active.length-1;t>=0;t--)this._active[t].hook(e);else this._handlerFb(this._ident,"HOOK",e)},n.prototype.put=function(n,e,t){if(this._active.length)for(var o=this._active.length-1;o>=0;o--)this._active[o].put(n,e,t);else this._handlerFb(this._ident,"PUT",l.utf32ToString(n,e,t))},n.prototype.unhook=function(n){if(this._active.length){for(var e=this._active.length-1;e>=0&&!1===this._active[e].unhook(n);e--);for(e--;e>=0;e--)this._active[e].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",n);this._active=r,this._ident=0},n}();e.DcsParser=a;var u=function(){function n(n){this._handler=n,this._data="",this._hitLimit=!1}return n.prototype.hook=function(n){this._params=n.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(n,e,t){this._hitLimit||(this._data+=l.utf32ToString(n,e,t),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(n){var e;return this._hitLimit?e=!1:n&&(e=this._handler(this._data,this._params?this._params:new o.Params)),this._params=void 0,this._data="",this._hitLimit=!1,e},n}();e.DcsHandler=u},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(25),o=t(43),i=[];e.acquireCharAtlas=function(n,e,t,r,a){for(var u=l.generateConfig(r,a,n,t),s=0;s<i.length;s++){var d=(c=i[s]).ownedBy.indexOf(e);if(d>=0){if(l.configEquals(c.config,u))return c.atlas;1===c.ownedBy.length?(c.atlas.dispose(),i.splice(s,1)):c.ownedBy.splice(d,1);break}}for(s=0;s<i.length;s++){var c=i[s];if(l.configEquals(c.config,u))return c.ownedBy.push(e),c.atlas}var p={atlas:new o.DynamicCharAtlas(document,u),config:u,ownedBy:[e]};return i.push(p),p.atlas},e.removeTerminalFromCache=function(n){for(var e=0;e<i.length;e++){var t=i[e].ownedBy.indexOf(n);if(-1!==t){1===i[e].ownedBy.length?(i[e].atlas.dispose(),i.splice(e,1)):i[e].ownedBy.splice(t,1);break}}}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(3);e.generateConfig=function(n,e,t,l){var o={foreground:l.foreground,background:l.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:l.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:n,scaledCharHeight:e,fontFamily:t.fontFamily,fontSize:t.fontSize,fontWeight:t.fontWeight,fontWeightBold:t.fontWeightBold,allowTransparency:t.allowTransparency,colors:o}},e.configEquals=function(n,e){for(var t=0;t<n.colors.ansi.length;t++)if(n.colors.ansi[t].rgba!==e.colors.ansi[t].rgba)return!1;return n.devicePixelRatio===e.devicePixelRatio&&n.fontFamily===e.fontFamily&&n.fontSize===e.fontSize&&n.fontWeight===e.fontWeight&&n.fontWeightBold===e.fontWeightBold&&n.allowTransparency===e.allowTransparency&&n.scaledCharWidth===e.scaledCharWidth&&n.scaledCharHeight===e.scaledCharHeight&&n.colors.foreground===e.colors.foreground&&n.colors.background===e.colors.background},e.is256Color=function(n){return n<l.DEFAULT_COLOR}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(10),o=t(45),i=l.fromCss("#ffffff"),r=l.fromCss("#000000"),a=l.fromCss("#ffffff"),u=l.fromCss("#000000"),s={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};e.DEFAULT_ANSI_COLORS=function(){for(var n=[l.fromCss("#2e3436"),l.fromCss("#cc0000"),l.fromCss("#4e9a06"),l.fromCss("#c4a000"),l.fromCss("#3465a4"),l.fromCss("#75507b"),l.fromCss("#06989a"),l.fromCss("#d3d7cf"),l.fromCss("#555753"),l.fromCss("#ef2929"),l.fromCss("#8ae234"),l.fromCss("#fce94f"),l.fromCss("#729fcf"),l.fromCss("#ad7fa8"),l.fromCss("#34e2e2"),l.fromCss("#eeeeec")],e=[0,95,135,175,215,255],t=0;t<216;t++){var o=e[t/36%6|0],i=e[t/6%6|0],r=e[t%6];n.push({css:l.toCss(o,i,r),rgba:l.toRgba(o,i,r)})}for(t=0;t<24;t++){var a=8+10*t;n.push({css:l.toCss(a,a,a),rgba:l.toRgba(a,a,a)})}return n}();var d=function(){function n(n,t){this.allowTransparency=t;var d=n.createElement("canvas");d.width=1,d.height=1;var c=d.getContext("2d");if(!c)throw new Error("Could not get rendering context");this._ctx=c,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new o.ColorContrastCache,this.colors={foreground:i,background:r,cursor:a,cursorAccent:u,selection:s,selectionOpaque:l.blend(r,s),ansi:e.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return n.prototype.onOptionsChange=function(n){"minimumContrastRatio"===n&&this._contrastCache.clear()},n.prototype.setTheme=function(n){void 0===n&&(n={}),this.colors.foreground=this._parseColor(n.foreground,i),this.colors.background=this._parseColor(n.background,r),this.colors.cursor=this._parseColor(n.cursor,a,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,u,!0),this.colors.selection=this._parseColor(n.selection,s,!0),this.colors.selectionOpaque=l.blend(this.colors.background,this.colors.selection),this.colors.ansi[0]=this._parseColor(n.black,e.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,e.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,e.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,e.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,e.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,e.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,e.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,e.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,e.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,e.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,e.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,e.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,e.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,e.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,e.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,e.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},n.prototype._parseColor=function(n,e,t){if(void 0===t&&(t=this.allowTransparency),void 0===n)return e;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+n+" is invalid using fallback "+e.css),e;this._ctx.fillRect(0,0,1,1);var o=this._ctx.getImageData(0,0,1,1).data;if(255!==o[3]){if(!t)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+e.css+"."),e;var i=void 0,r=void 0,a=void 0,u=void 0,s=void 0;if(5===n.length){var d=parseInt(n.substr(1),16);s=l.toRgba(i=16*(d>>12&15),r=16*(d>>8&15),a=16*(d>>4&15),u=16*(15&d))}else i=(s=parseInt(n.substr(1),16))>>24&255,r=s>>16&255,a=s>>8&255,u=255&s;return{rgba:s,css:l.toCss(i,r,a,u)}}return{css:n,rgba:l.toRgba(o[0],o[1],o[2],o[3])}},n}();e.ColorManager=d},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.throwIfFalsy=function(n){if(!n)throw new Error("value must not be falsy");return n}},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(6),r=t(3),a=t(5),u=function(n){function e(e,t,l){var o=n.call(this)||this;return o.content=0,o.combinedData="",o.fg=e.fg,o.bg=e.bg,o.combinedData=t,o._width=l,o}return o(e,n),e.prototype.isCombined=function(){return 2097152},e.prototype.getWidth=function(){return this._width},e.prototype.getChars=function(){return this.combinedData},e.prototype.getCode=function(){return 2097151},e.prototype.setFromCharData=function(n){throw new Error("not implemented")},e.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},e}(i.AttributeData);e.JoinedCellData=u;var s=function(){function n(n){this._bufferService=n,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.CellData}return n.prototype.registerCharacterJoiner=function(n){var e={id:this._nextCharacterJoinerId++,handler:n};return this._characterJoiners.push(e),e.id},n.prototype.deregisterCharacterJoiner=function(n){for(var e=0;e<this._characterJoiners.length;e++)if(this._characterJoiners[e].id===n)return this._characterJoiners.splice(e,1),!0;return!1},n.prototype.getJoinedCharacters=function(n){if(0===this._characterJoiners.length)return[];var e=this._bufferService.buffer.lines.get(n);if(!e||0===e.length)return[];for(var t=[],l=e.translateToString(!0),o=0,i=0,a=0,u=e.getFg(0),s=e.getBg(0),d=0;d<e.getTrimmedLength();d++)if(e.loadCell(d,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==u||this._workCell.bg!==s){if(d-o>1)for(var c=this._getJoinedRanges(l,a,i,e,o),p=0;p<c.length;p++)t.push(c[p]);o=d,a=i,u=this._workCell.fg,s=this._workCell.bg}i+=this._workCell.getChars().length||r.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-o>1)for(c=this._getJoinedRanges(l,a,i,e,o),p=0;p<c.length;p++)t.push(c[p]);return t},n.prototype._getJoinedRanges=function(e,t,l,o,i){for(var r=e.substring(t,l),a=this._characterJoiners[0].handler(r),u=1;u<this._characterJoiners.length;u++)for(var s=this._characterJoiners[u].handler(r),d=0;d<s.length;d++)n._mergeRanges(a,s[d]);return this._stringRangesToCellRanges(a,o,i),a},n.prototype._stringRangesToCellRanges=function(n,e,t){var l=0,o=!1,i=0,a=n[l];if(a){for(var u=t;u<this._bufferService.cols;u++){var s=e.getWidth(u),d=e.getString(u).length||r.WHITESPACE_CELL_CHAR.length;if(0!==s){if(!o&&a[0]<=i&&(a[0]=u,o=!0),a[1]<=i){if(a[1]=u,!(a=n[++l]))break;a[0]<=i?(a[0]=u,o=!0):o=!1}i+=d}}a&&(a[1]=this._bufferService.cols)}},n._mergeRanges=function(n,e){for(var t=!1,l=0;l<n.length;l++){var o=n[l];if(t){if(e[1]<=o[0])return n[l-1][1]=e[1],n;if(e[1]<=o[1])return n[l-1][1]=Math.max(e[1],o[1]),n.splice(l,1),n;n.splice(l,1),l--}else{if(e[1]<=o[0])return n.splice(l,0,e),n;if(e[1]<=o[1])return o[0]=Math.min(e[0],o[0]),n;e[0]<o[1]&&(o[0]=Math.min(e[0],o[0]),t=!0)}}return t?n[n.length-1][1]=e[1]:n.push(e),n},n}();e.CharacterJoinerRegistry=s},function(n,e,t){"use strict";function l(n,e){var t=e.getBoundingClientRect();return[n.clientX-t.left,n.clientY-t.top]}Object.defineProperty(e,"__esModule",{value:!0}),e.getCoordsRelativeToElement=l,e.getCoords=function(n,e,t,o,i,r,a,u){if(i){var s=l(n,e);if(s)return s[0]=Math.ceil((s[0]+(u?r/2:0))/r),s[1]=Math.ceil(s[1]/a),s[0]=Math.min(Math.max(s[0],1),t+(u?1:0)),s[1]=Math.min(Math.max(s[1],1),o),s}},e.getRawByteCoords=function(n){if(n)return{x:n[0]+32,y:n[1]+32}}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n){this._renderCallback=n}return n.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.refresh=function(n,e,t){var l=this;this._rowCount=t,n=void 0!==n?n:0,e=void 0!==e?e:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,n):n,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,e):e,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return l._innerRefresh()})))},n.prototype._innerRefresh=function(){void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount&&(this._rowStart=Math.max(this._rowStart,0),this._rowEnd=Math.min(this._rowEnd,this._rowCount-1),this._renderCallback(this._rowStart,this._rowEnd),this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0)},n}();e.RenderDebouncer=l},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._currentDevicePixelRatio=window.devicePixelRatio,e}return o(e,n),e.prototype.setListener=function(n){var e=this;this._listener&&this.clearListener(),this._listener=n,this._outerListener=function(){e._listener&&(e._listener(window.devicePixelRatio,e._currentDevicePixelRatio),e._updateDpr())},this._updateDpr()},e.prototype.dispose=function(){n.prototype.dispose.call(this),this.clearListener()},e.prototype._updateDpr=function(){this._resolutionMediaMatchList&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},e.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},e}(t(2).Disposable);e.ScreenDprMonitor=i},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clone=function n(e,t){if(void 0===t&&(t=5),"object"!=typeof e)return e;var l=Array.isArray(e)?[]:{};for(var o in e)l[o]=t<=1?e[o]:e[o]?n(e[o],t-1):e[o];return l}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(34),o=t(17),i=t(78),r=function(){function n(n){this._core=new l.Terminal(n),this._addonManager=new i.AddonManager}return Object.defineProperty(n.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onData",{get:function(){return this._core.onData},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"element",{get:function(){return this._core.element},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parser",{get:function(){return this._parser||(this._parser=new d(this._core)),this._parser},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rows",{get:function(){return this._core.rows},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cols",{get:function(){return this._core.cols},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return new a(this._core.buffer)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"markers",{get:function(){return this._core.markers},enumerable:!0,configurable:!0}),n.prototype.blur=function(){this._core.blur()},n.prototype.focus=function(){this._core.focus()},n.prototype.resize=function(n,e){this._verifyIntegers(n,e),this._core.resize(n,e)},n.prototype.open=function(n){this._core.open(n)},n.prototype.attachCustomKeyEventHandler=function(n){this._core.attachCustomKeyEventHandler(n)},n.prototype.registerLinkMatcher=function(n,e,t){return this._core.registerLinkMatcher(n,e,t)},n.prototype.deregisterLinkMatcher=function(n){this._core.deregisterLinkMatcher(n)},n.prototype.registerCharacterJoiner=function(n){return this._core.registerCharacterJoiner(n)},n.prototype.deregisterCharacterJoiner=function(n){this._core.deregisterCharacterJoiner(n)},n.prototype.addMarker=function(n){return this._verifyIntegers(n),this._core.addMarker(n)},n.prototype.hasSelection=function(){return this._core.hasSelection()},n.prototype.select=function(n,e,t){this._verifyIntegers(n,e,t),this._core.select(n,e,t)},n.prototype.getSelection=function(){return this._core.getSelection()},n.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},n.prototype.clearSelection=function(){this._core.clearSelection()},n.prototype.selectAll=function(){this._core.selectAll()},n.prototype.selectLines=function(n,e){this._verifyIntegers(n,e),this._core.selectLines(n,e)},n.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},n.prototype.scrollLines=function(n){this._verifyIntegers(n),this._core.scrollLines(n)},n.prototype.scrollPages=function(n){this._verifyIntegers(n),this._core.scrollPages(n)},n.prototype.scrollToTop=function(){this._core.scrollToTop()},n.prototype.scrollToBottom=function(){this._core.scrollToBottom()},n.prototype.scrollToLine=function(n){this._verifyIntegers(n),this._core.scrollToLine(n)},n.prototype.clear=function(){this._core.clear()},n.prototype.write=function(n,e){this._core.write(n,e)},n.prototype.writeUtf8=function(n,e){this._core.write(n,e)},n.prototype.writeln=function(n,e){this._core.write(n),this._core.write("\r\n",e)},n.prototype.paste=function(n){this._core.paste(n)},n.prototype.getOption=function(n){return this._core.optionsService.getOption(n)},n.prototype.setOption=function(n,e){this._core.optionsService.setOption(n,e)},n.prototype.refresh=function(n,e){this._verifyIntegers(n,e),this._core.refresh(n,e)},n.prototype.reset=function(){this._core.reset()},n.prototype.loadAddon=function(n){return this._addonManager.loadAddon(this,n)},Object.defineProperty(n,"strings",{get:function(){return o},enumerable:!0,configurable:!0}),n.prototype._verifyIntegers=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];n.forEach((function(n){if(n===1/0||isNaN(n)||n%1!=0)throw new Error("This API only accepts integers")}))},n}();e.Terminal=r;var a=function(){function n(n){this._buffer=n}return Object.defineProperty(n.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!0,configurable:!0}),n.prototype.getLine=function(n){var e=this._buffer.lines.get(n);if(e)return new u(e)},n}(),u=function(){function n(n){this._line=n}return Object.defineProperty(n.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!0,configurable:!0}),n.prototype.getCell=function(n){if(!(n<0||n>=this._line.length))return new s(this._line,n)},n.prototype.translateToString=function(n,e,t){return this._line.translateToString(n,e,t)},n}(),s=function(){function n(n,e){this._line=n,this._x=e}return Object.defineProperty(n.prototype,"char",{get:function(){return this._line.getString(this._x)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._line.getWidth(this._x)},enumerable:!0,configurable:!0}),n}(),d=function(){function n(n){this._core=n}return n.prototype.addCsiHandler=function(n,e){return this._core.addCsiHandler(n,(function(n){return e(n.toArray())}))},n.prototype.addDcsHandler=function(n,e){return this._core.addDcsHandler(n,(function(n,t){return e(n,t.toArray())}))},n.prototype.addEscHandler=function(n,e){return this._core.addEscHandler(n,e)},n.prototype.addOscHandler=function(n,e){return this._core.addOscHandler(n,e)},n}()},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(35),r=t(36),a=t(37),u=t(12),s=t(38),d=t(40),c=t(50),p=t(51),f=t(11),h=t(7),m=t(17),v=t(54),g=t(55),b=t(56),_=t(57),y=t(59),C=t(1),w=t(16),S=t(60),x=t(26),k=t(61),E=t(0),T=t(62),R=t(4),I=t(63),D=t(64),F=t(2),O=t(70),M=t(71),N=t(72),A=t(73),P=t(74),q=t(75),L=t(76),j=t(77),V="undefined"!=typeof window?window.document:null,B=function(n){function e(e){void 0===e&&(e={});var t=n.call(this)||this;return t.browser=f,t.mouseEvents=0,t._keyDownHandled=!1,t._blankLine=null,t._onCursorMove=new C.EventEmitter,t._onData=new C.EventEmitter,t._onBinary=new C.EventEmitter,t._onKey=new C.EventEmitter,t._onLineFeed=new C.EventEmitter,t._onRender=new C.EventEmitter,t._onResize=new C.EventEmitter,t._onScroll=new C.EventEmitter,t._onSelectionChange=new C.EventEmitter,t._onTitleChange=new C.EventEmitter,t._onFocus=new C.EventEmitter,t._onBlur=new C.EventEmitter,t.onA11yCharEmitter=new C.EventEmitter,t.onA11yTabEmitter=new C.EventEmitter,t._instantiationService=new P.InstantiationService,t.optionsService=new T.OptionsService(e),t._instantiationService.setService(E.IOptionsService,t.optionsService),t._bufferService=t._instantiationService.createInstance(D.BufferService),t._instantiationService.setService(E.IBufferService,t._bufferService),t._logService=t._instantiationService.createInstance(N.LogService),t._instantiationService.setService(E.ILogService,t._logService),t._coreService=t._instantiationService.createInstance(M.CoreService,(function(){return t.scrollToBottom()})),t._instantiationService.setService(E.ICoreService,t._coreService),t._coreService.onData((function(n){return t._onData.fire(n)})),t._coreService.onBinary((function(n){return t._onBinary.fire(n)})),t._coreMouseService=t._instantiationService.createInstance(q.CoreMouseService),t._instantiationService.setService(E.ICoreMouseService,t._coreMouseService),t._dirtyRowService=t._instantiationService.createInstance(A.DirtyRowService),t._instantiationService.setService(E.IDirtyRowService,t._dirtyRowService),t._setupOptionsListeners(),t._setup(),t._writeBuffer=new L.WriteBuffer((function(n){return t._inputHandler.parse(n)})),t}return o(e,n),Object.defineProperty(e.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){var e,t,l,o;this._isDisposed||(n.prototype.dispose.call(this),null===(e=this._windowsMode)||void 0===e||e.dispose(),this._windowsMode=void 0,null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(o=null===(l=this.element)||void 0===l?void 0:l.parentNode)||void 0===o||o.removeChild(this.element))},e.prototype._setup=function(){var n=this;this._parent=V?V.body:null,this._customKeyEventHandler=null,this.applicationKeypad=!1,this.originMode=!1,this.insertMode=!1,this.wraparoundMode=!0,this.bracketedPasteMode=!1,this.charset=null,this.gcharset=null,this.glevel=0,this.charsets=[null],this.curAttrData=w.DEFAULT_ATTR_DATA.clone(),this._eraseAttrData=w.DEFAULT_ATTR_DATA.clone(),this.params=[],this.currentParam=0,this._userScrolling=!1,this._inputHandler=new s.InputHandler(this,this._bufferService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService),this._inputHandler.onCursorMove((function(){return n._onCursorMove.fire()})),this._inputHandler.onLineFeed((function(){return n._onLineFeed.fire()})),this.register(this._inputHandler),this.linkifier=this.linkifier||new c.Linkifier(this._bufferService,this._logService),this.options.windowsMode&&this._enableWindowsMode()},e.prototype._enableWindowsMode=function(){this._windowsMode||(this._windowsMode=this.onLineFeed(S.handleWindowsModeLineFeed.bind(null,this._bufferService)))},Object.defineProperty(e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),e.prototype.eraseAttrData=function(){return this._eraseAttrData.bg&=-67108864,this._eraseAttrData.bg|=67108863&this.curAttrData.bg,this._eraseAttrData},e.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},e.prototype._setupOptionsListeners=function(){var n=this;this.optionsService.onOptionChange((function(e){var t,l,o,i,r;switch(e){case"fontFamily":case"fontSize":null===(t=n._renderService)||void 0===t||t.clear(),null===(l=n._charSizeService)||void 0===l||l.measure();break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":n._renderService&&(n._renderService.clear(),n._renderService.onResize(n.cols,n.rows),n.refresh(0,n.rows-1));break;case"rendererType":n._renderService&&(n._renderService.setRenderer(n._createRenderer()),n._renderService.onResize(n.cols,n.rows));break;case"scrollback":n.buffers.resize(n.cols,n.rows),null===(o=n.viewport)||void 0===o||o.syncScrollArea();break;case"screenReaderMode":n.optionsService.options.screenReaderMode?!n._accessibilityManager&&n._renderService&&(n._accessibilityManager=new b.AccessibilityManager(n,n._renderService)):(null===(i=n._accessibilityManager)||void 0===i||i.dispose(),n._accessibilityManager=null);break;case"tabStopWidth":n.buffers.setupTabStops();break;case"theme":n._setTheme(n.optionsService.options.theme);break;case"windowsMode":n.optionsService.options.windowsMode?n._enableWindowsMode():(null===(r=n._windowsMode)||void 0===r||r.dispose(),n._windowsMode=void 0)}}))},e.prototype._onTextAreaFocus=function(n){this.sendFocus&&this._coreService.triggerDataEvent(u.C0.ESC+"[I"),this.updateCursorStyle(n),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},e.prototype.blur=function(){return this.textarea.blur()},e.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(u.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},e.prototype._initGlobal=function(){var n=this;this._bindKeys(),this.register(h.addDisposableDomListener(this.element,"copy",(function(e){n.hasSelection()&&a.copyHandler(e,n._selectionService)})));var e=function(e){return a.handlePasteEvent(e,n.textarea,n.bracketedPasteMode,n._coreService)};this.register(h.addDisposableDomListener(this.textarea,"paste",e)),this.register(h.addDisposableDomListener(this.element,"paste",e)),this.register(f.isFirefox?h.addDisposableDomListener(this.element,"mousedown",(function(e){2===e.button&&a.rightClickHandler(e,n.textarea,n.screenElement,n._selectionService,n.options.rightClickSelectsWord)})):h.addDisposableDomListener(this.element,"contextmenu",(function(e){a.rightClickHandler(e,n.textarea,n.screenElement,n._selectionService,n.options.rightClickSelectsWord)}))),f.isLinux&&this.register(h.addDisposableDomListener(this.element,"auxclick",(function(e){1===e.button&&a.moveTextAreaUnderMouseCursor(e,n.textarea,n.screenElement)})))},e.prototype._bindKeys=function(){var n=this;this.register(h.addDisposableDomListener(this.textarea,"keyup",(function(e){return n._keyUp(e)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"keydown",(function(e){return n._keyDown(e)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"keypress",(function(e){return n._keyPress(e)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"compositionstart",(function(){return n._compositionHelper.compositionstart()}))),this.register(h.addDisposableDomListener(this.textarea,"compositionupdate",(function(e){return n._compositionHelper.compositionupdate(e)}))),this.register(h.addDisposableDomListener(this.textarea,"compositionend",(function(){return n._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return n._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(e){return n._queueLinkification(e.start,e.end)})))},e.prototype.open=function(n){var e=this;if(this._parent=n||this._parent,!this._parent)throw new Error("Terminal requires a parent element.");V.body.contains(n)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=this._parent.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),this._parent.appendChild(this.element);var t=V.createDocumentFragment();this._viewportElement=V.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),t.appendChild(this._viewportElement),this._viewportScrollArea=V.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=V.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=V.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),t.appendChild(this.screenElement),this.textarea=V.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(h.addDisposableDomListener(this.textarea,"focus",(function(n){return e._onTextAreaFocus(n)}))),this.register(h.addDisposableDomListener(this.textarea,"blur",(function(){return e._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var l=this._instantiationService.createInstance(j.CoreBrowserService,this.textarea);this._instantiationService.setService(R.ICoreBrowserService,l),this._charSizeService=this._instantiationService.createInstance(I.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(R.ICharSizeService,this._charSizeService),this._compositionView=V.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(i.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(t),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new x.ColorManager(V,this.options.allowTransparency),this.optionsService.onOptionChange((function(n){return e._colorManager.onOptionsChange(n)})),this._colorManager.setTheme(this._theme);var o=this._createRenderer();this._renderService=this._instantiationService.createInstance(k.RenderService,o,this.rows,this.screenElement),this._instantiationService.setService(R.IRenderService,this._renderService),this._renderService.onRender((function(n){return e._onRender.fire(n)})),this.onResize((function(n){return e._renderService.resize(n.cols,n.rows)})),this._soundService=this._instantiationService.createInstance(v.SoundService),this._instantiationService.setService(R.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(R.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(r.Viewport,(function(n,t){return e.scrollLines(n,t)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove((function(){return e._renderService.onCursorMove()}))),this.register(this.onResize((function(){return e._renderService.onResize(e.cols,e.rows)}))),this.register(this.onBlur((function(){return e._renderService.onBlur()}))),this.register(this.onFocus((function(){return e._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return e.viewport.syncScrollArea()}))),this._selectionService=this._instantiationService.createInstance(p.SelectionService,(function(n,t){return e.scrollLines(n,t)}),this.element,this.screenElement),this._instantiationService.setService(R.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange((function(){return e._onSelectionChange.fire()}))),this.register(this._selectionService.onRedrawRequest((function(n){return e._renderService.onSelectionChanged(n.start,n.end,n.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(n){e.textarea.value=n,e.textarea.focus(),e.textarea.select()}))),this.register(this.onScroll((function(){e.viewport.syncScrollArea(),e._selectionService.refresh()}))),this.register(h.addDisposableDomListener(this._viewportElement,"scroll",(function(){return e._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(g.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return e._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(h.addDisposableDomListener(this.element,"mousedown",(function(n){return e._selectionService.onMouseDown(n)}))),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new b.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},e.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(d.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(_.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},e.prototype._setTheme=function(n){var e,t,l;this._theme=n,null===(e=this._colorManager)||void 0===e||e.setTheme(n),null===(t=this._renderService)||void 0===t||t.setColors(this._colorManager.colors),null===(l=this.viewport)||void 0===l||l.onThemeChange(this._colorManager.colors)},e.prototype.bindMouse=function(){var n=this,e=this,t=this.element;function l(n){var t,l,o;if(!(t=e._mouseService.getRawByteCoords(n,e.screenElement,e.cols,e.rows)))return!1;switch(n.overrideType||n.type){case"mousemove":o=32,void 0===n.buttons?(l=3,void 0!==n.button&&(l=n.button<3?n.button:3)):l=1&n.buttons?0:4&n.buttons?1:2&n.buttons?2:3;break;case"mouseup":o=0,l=n.button<3?n.button:3;break;case"mousedown":o=1,l=n.button<3?n.button:3;break;case"wheel":0!==n.deltaY&&(o=n.deltaY<0?0:1),l=4;break;default:return!1}return!(void 0===o||void 0===l||l>4)&&e._coreMouseService.triggerMouseEvent({col:t.x-33,row:t.y-33,button:l,action:o,ctrl:n.ctrlKey,alt:n.altKey,shift:n.shiftKey})}var o={mouseup:null,wheel:null,mousedrag:null,mousemove:null},i=function(e){return l(e),e.buttons||(n._document.removeEventListener("mouseup",o.mouseup),o.mousedrag&&n._document.removeEventListener("mousemove",o.mousedrag)),n.cancel(e)},r=function(e){return l(e),e.preventDefault(),n.cancel(e)},a=function(n){n.buttons&&l(n)},s=function(n){n.buttons||l(n)};this._coreMouseService.onProtocolChange((function(e){n.mouseEvents=e,e?("debug"===n.optionsService.options.logLevel&&n._logService.debug("Binding to mouse events:",n._coreMouseService.explainEvents(e)),n.element.classList.add("enable-mouse-events"),n._selectionService.disable()):(n._logService.debug("Unbinding from mouse events."),n.element.classList.remove("enable-mouse-events"),n._selectionService.enable()),8&e?o.mousemove||(t.addEventListener("mousemove",s),o.mousemove=s):(t.removeEventListener("mousemove",o.mousemove),o.mousemove=null),16&e?o.wheel||(t.addEventListener("wheel",r),o.wheel=r):(t.removeEventListener("wheel",o.wheel),o.wheel=null),2&e?o.mouseup||(o.mouseup=i):(n._document.removeEventListener("mouseup",o.mouseup),o.mouseup=null),4&e?o.mousedrag||(o.mousedrag=a):(n._document.removeEventListener("mousemove",o.mousedrag),o.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(h.addDisposableDomListener(t,"mousedown",(function(e){if(e.preventDefault(),n.focus(),n.mouseEvents&&!n._selectionService.shouldForceSelection(e))return l(e),o.mouseup&&n._document.addEventListener("mouseup",o.mouseup),o.mousedrag&&n._document.addEventListener("mousemove",o.mousedrag),n.cancel(e)}))),this.register(h.addDisposableDomListener(t,"wheel",(function(e){if(o.wheel);else if(!n.buffer.hasScrollback){var t=n.viewport.getLinesScrolled(e);if(0===t)return;for(var l=u.C0.ESC+(n._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(e.deltaY<0?"A":"B"),i="",r=0;r<Math.abs(t);r++)i+=l;n._coreService.triggerDataEvent(i,!0)}}))),this.register(h.addDisposableDomListener(t,"wheel",(function(e){if(!o.wheel)return n.viewport.onWheel(e)?void 0:n.cancel(e)}))),this.register(h.addDisposableDomListener(t,"touchstart",(function(e){if(!n.mouseEvents)return n.viewport.onTouchStart(e),n.cancel(e)}))),this.register(h.addDisposableDomListener(t,"touchmove",(function(e){if(!n.mouseEvents)return n.viewport.onTouchMove(e)?void 0:n.cancel(e)})))},e.prototype.refresh=function(n,e){var t;null===(t=this._renderService)||void 0===t||t.refreshRows(n,e)},e.prototype._queueLinkification=function(n,e){var t;null===(t=this.linkifier)||void 0===t||t.linkifyRows(n,e)},e.prototype.updateCursorStyle=function(n){this._selectionService&&this._selectionService.shouldColumnSelect(n)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},e.prototype.showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},e.prototype.scroll=function(n){var e;void 0===n&&(n=!1),e=this._blankLine;var t=this.eraseAttrData();e&&e.length===this.cols&&e.getFg(0)===t.fg&&e.getBg(0)===t.bg||(e=this.buffer.getBlankLine(t,n),this._blankLine=e),e.isWrapped=n;var l=this.buffer.ybase+this.buffer.scrollTop,o=this.buffer.ybase+this.buffer.scrollBottom;if(0===this.buffer.scrollTop){var i=this.buffer.lines.isFull;o===this.buffer.lines.length-1?i?this.buffer.lines.recycle().copyFrom(e):this.buffer.lines.push(e.clone()):this.buffer.lines.splice(o+1,0,e.clone()),i?this._userScrolling&&(this.buffer.ydisp=Math.max(this.buffer.ydisp-1,0)):(this.buffer.ybase++,this._userScrolling||this.buffer.ydisp++)}else this.buffer.lines.shiftElements(l+1,o-l+1-1,-1),this.buffer.lines.set(o,e.clone());this._userScrolling||(this.buffer.ydisp=this.buffer.ybase),this._dirtyRowService.markRangeDirty(this.buffer.scrollTop,this.buffer.scrollBottom),this._onScroll.fire(this.buffer.ydisp)},e.prototype.scrollLines=function(n,e){if(n<0){if(0===this.buffer.ydisp)return;this._userScrolling=!0}else n+this.buffer.ydisp>=this.buffer.ybase&&(this._userScrolling=!1);var t=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+n,this.buffer.ybase),0),t!==this.buffer.ydisp&&(e||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},e.prototype.scrollPages=function(n){this.scrollLines(n*(this.rows-1))},e.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},e.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},e.prototype.scrollToLine=function(n){var e=n-this.buffer.ydisp;0!==e&&this.scrollLines(e)},e.prototype.paste=function(n){a.paste(n,this.textarea,this.bracketedPasteMode,this._coreService)},e.prototype.attachCustomKeyEventHandler=function(n){this._customKeyEventHandler=n},e.prototype.addEscHandler=function(n,e){return this._inputHandler.addEscHandler(n,e)},e.prototype.addDcsHandler=function(n,e){return this._inputHandler.addDcsHandler(n,e)},e.prototype.addCsiHandler=function(n,e){return this._inputHandler.addCsiHandler(n,e)},e.prototype.addOscHandler=function(n,e){return this._inputHandler.addOscHandler(n,e)},e.prototype.registerLinkMatcher=function(n,e,t){var l=this.linkifier.registerLinkMatcher(n,e,t);return this.refresh(0,this.rows-1),l},e.prototype.deregisterLinkMatcher=function(n){this.linkifier.deregisterLinkMatcher(n)&&this.refresh(0,this.rows-1)},e.prototype.registerCharacterJoiner=function(n){var e=this._renderService.registerCharacterJoiner(n);return this.refresh(0,this.rows-1),e},e.prototype.deregisterCharacterJoiner=function(n){this._renderService.deregisterCharacterJoiner(n)&&this.refresh(0,this.rows-1)},Object.defineProperty(e.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),e.prototype.addMarker=function(n){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+n)},e.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},e.prototype.select=function(n,e,t){this._selectionService.setSelection(n,e,t)},e.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},e.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},e.prototype.clearSelection=function(){var n;null===(n=this._selectionService)||void 0===n||n.clearSelection()},e.prototype.selectAll=function(){var n;null===(n=this._selectionService)||void 0===n||n.selectAll()},e.prototype.selectLines=function(n,e){var t;null===(t=this._selectionService)||void 0===t||t.selectLines(n,e)},e.prototype._keyDown=function(n){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(n))return!1;if(!this._compositionHelper.keydown(n))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var e=y.evaluateKeyboardEvent(n,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(n),3===e.type||2===e.type){var t=this.rows-1;return this.scrollLines(2===e.type?-t:t),this.cancel(n,!0)}return 1===e.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,n)||(e.cancel&&this.cancel(n,!0),!e.key||(e.key!==u.C0.ETX&&e.key!==u.C0.CR||(this.textarea.value=""),this._onKey.fire({key:e.key,domEvent:n}),this.showCursor(),this._coreService.triggerDataEvent(e.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(n,!0)))},e.prototype._isThirdLevelShift=function(n,e){var t=n.isMac&&!this.options.macOptionIsMeta&&e.altKey&&!e.ctrlKey&&!e.metaKey||n.isWindows&&e.altKey&&e.ctrlKey&&!e.metaKey;return"keypress"===e.type?t:t&&(!e.keyCode||e.keyCode>47)},e.prototype.setgLevel=function(n){this.glevel=n,this.charset=this.charsets[n]},e.prototype.setgCharset=function(n,e){this.charsets[n]=e,this.glevel===n&&(this.charset=e)},e.prototype._keyUp=function(n){this._customKeyEventHandler&&!1===this._customKeyEventHandler(n)||(function(n){return 16===n.keyCode||17===n.keyCode||18===n.keyCode}(n)||this.focus(),this.updateCursorStyle(n))},e.prototype._keyPress=function(n){var e;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(n))return!1;if(this.cancel(n),n.charCode)e=n.charCode;else if(null==n.which)e=n.keyCode;else{if(0===n.which||0===n.charCode)return!1;e=n.which}return!(!e||(n.altKey||n.ctrlKey||n.metaKey)&&!this._isThirdLevelShift(this.browser,n)||(e=String.fromCharCode(e),this._onKey.fire({key:e,domEvent:n}),this.showCursor(),this._coreService.triggerDataEvent(e,!0),0))},e.prototype.bell=function(){var n=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout((function(){n.element.classList.remove("visual-bell-active")}),200))},e.prototype.resize=function(n,e){var t;isNaN(n)||isNaN(e)||(n!==this.cols||e!==this.rows?(n<D.MINIMUM_COLS&&(n=D.MINIMUM_COLS),e<D.MINIMUM_ROWS&&(e=D.MINIMUM_ROWS),this.buffers.resize(n,e),this._bufferService.resize(n,e),this.buffers.setupTabStops(this.cols),null===(t=this._charSizeService)||void 0===t||t.measure(),this.viewport.syncScrollArea(!0),this.refresh(0,this.rows-1),this._onResize.fire({cols:n,rows:e})):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure())},e.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var n=1;n<this.rows;n++)this.buffer.lines.push(this.buffer.getBlankLine(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},e.prototype.is=function(n){return 0===(this.options.termName+"").indexOf(n)},e.prototype.handleTitle=function(n){this._onTitleChange.fire(n)},e.prototype.reset=function(){var n,e;this.options.rows=this.rows,this.options.cols=this.cols;var t=this._customKeyEventHandler,l=this._inputHandler,o=this._userScrolling;this._setup(),this._bufferService.reset(),this._coreService.reset(),this._coreMouseService.reset(),null===(n=this._selectionService)||void 0===n||n.reset(),this._customKeyEventHandler=t,this._inputHandler=l,this._userScrolling=o,this.refresh(0,this.rows-1),null===(e=this.viewport)||void 0===e||e.syncScrollArea()},e.prototype.cancel=function(n,e){if(this.options.cancelEvents||e)return n.preventDefault(),n.stopPropagation(),!1},e.prototype._visualBell=function(){return!1},e.prototype._soundBell=function(){return"sound"===this.options.bellStyle},e.prototype.write=function(n,e){this._writeBuffer.write(n,e)},e.prototype.writeSync=function(n){this._writeBuffer.writeSync(n)},e}(F.Disposable);e.Terminal=B},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(4),r=t(0),a=function(){function n(n,e,t,l,o,i){this._textarea=n,this._compositionView=e,this._bufferService=t,this._optionsService=l,this._charSizeService=o,this._coreService=i,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return n.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},n.prototype.compositionupdate=function(n){var e=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout((function(){e._compositionPosition.end=e._textarea.value.length}),0)},n.prototype.compositionend=function(){this._finalizeComposition(!0)},n.prototype.keydown=function(n){if(this._isComposing||this._isSendingComposition){if(229===n.keyCode)return!1;if(16===n.keyCode||17===n.keyCode||18===n.keyCode)return!1;this._finalizeComposition(!1)}return 229!==n.keyCode||(this._handleAnyTextareaChanges(),!1)},n.prototype._finalizeComposition=function(n){var e=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),n){var t={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var n;e._isSendingComposition&&(e._isSendingComposition=!1,n=e._isComposing?e._textarea.value.substring(t.start,t.end):e._textarea.value.substring(t.start),e._coreService.triggerDataEvent(n,!0))}),0)}else{this._isSendingComposition=!1;var l=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(l,!0)}},n.prototype._handleAnyTextareaChanges=function(){var n=this,e=this._textarea.value;setTimeout((function(){if(!n._isComposing){var t=n._textarea.value.replace(e,"");t.length>0&&n._coreService.triggerDataEvent(t,!0)}}),0)},n.prototype.updateCompositionElements=function(n){var e=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var t=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),l=this._bufferService.buffer.y*t,o=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=o+"px",this._compositionView.style.top=l+"px",this._compositionView.style.height=t+"px",this._compositionView.style.lineHeight=t+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var i=this._compositionView.getBoundingClientRect();this._textarea.style.left=o+"px",this._textarea.style.top=l+"px",this._textarea.style.width=i.width+"px",this._textarea.style.height=i.height+"px",this._textarea.style.lineHeight=i.height+"px"}n||setTimeout((function(){return e.updateCompositionElements(!0)}),0)}},n.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},l([o(2,r.IBufferService),o(3,r.IOptionsService),o(4,i.ICharSizeService),o(5,r.ICoreService)],n)}();e.CompositionHelper=a},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),i=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},r=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var a=t(2),u=t(7),s=t(4),d=t(0),c=15,p=function(n){function e(e,t,l,o,i,r,a){var s=n.call(this)||this;return s._scrollLines=e,s._viewportElement=t,s._scrollArea=l,s._bufferService=o,s._optionsService=i,s._charSizeService=r,s._renderService=a,s.scrollBarWidth=0,s._currentRowHeight=0,s._lastRecordedBufferLength=0,s._lastRecordedViewportHeight=0,s._lastRecordedBufferHeight=0,s._lastTouchY=0,s._lastScrollTop=0,s._wheelPartialScroll=0,s._refreshAnimationFrame=null,s._ignoreNextScrollEvent=!1,s.scrollBarWidth=s._viewportElement.offsetWidth-s._scrollArea.offsetWidth||c,s.register(u.addDisposableDomListener(s._viewportElement,"scroll",s._onScroll.bind(s))),setTimeout((function(){return s.syncScrollArea()}),0),s}return o(e,n),e.prototype.onThemeChange=function(n){this._viewportElement.style.backgroundColor=n.background.css},e.prototype._refresh=function(n){var e=this;if(n)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return e._innerRefresh()})))},e.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var n=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==n&&(this._lastRecordedBufferHeight=n,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var e=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==e&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=e),this._refreshAnimationFrame=null},e.prototype.syncScrollArea=function(n){if(void 0===n&&(n=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(n);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(n)},e.prototype._onScroll=function(n){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var e=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(e,!0)}},e.prototype._bubbleScroll=function(n,e){return!(e<0&&0!==this._viewportElement.scrollTop||e>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight<this._lastRecordedBufferHeight)||(n.cancelable&&n.preventDefault(),!1)},e.prototype.onWheel=function(n){var e=this._getPixelsScrolled(n);return 0!==e&&(this._viewportElement.scrollTop+=e,this._bubbleScroll(n,e))},e.prototype._getPixelsScrolled=function(n){if(0===n.deltaY)return 0;var e=this._applyScrollModifier(n.deltaY,n);return n.deltaMode===WheelEvent.DOM_DELTA_LINE?e*=this._currentRowHeight:n.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(e*=this._currentRowHeight*this._bufferService.rows),e},e.prototype.getLinesScrolled=function(n){if(0===n.deltaY)return 0;var e=this._applyScrollModifier(n.deltaY,n);return n.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(this._wheelPartialScroll+=e/=this._currentRowHeight+0,e=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):n.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(e*=this._bufferService.rows),e},e.prototype._applyScrollModifier=function(n,e){var t=this._optionsService.options.fastScrollModifier;return"alt"===t&&e.altKey||"ctrl"===t&&e.ctrlKey||"shift"===t&&e.shiftKey?n*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:n*this._optionsService.options.scrollSensitivity},e.prototype.onTouchStart=function(n){this._lastTouchY=n.touches[0].pageY},e.prototype.onTouchMove=function(n){var e=this._lastTouchY-n.touches[0].pageY;return this._lastTouchY=n.touches[0].pageY,0!==e&&(this._viewportElement.scrollTop+=e,this._bubbleScroll(n,e))},i([r(3,d.IBufferService),r(4,d.IOptionsService),r(5,s.ICharSizeService),r(6,s.IRenderService)],e)}(a.Disposable);e.Viewport=p},function(n,e,t){"use strict";function l(n){return n.replace(/\r?\n/g,"\r")}function o(n,e){return e?"[200~"+n+"[201~":n}function i(n,e,t,i){n=o(n=l(n),t),i.triggerDataEvent(n,!0),e.value=""}function r(n,e,t){var l=t.getBoundingClientRect(),o=n.clientX-l.left-10,i=n.clientY-l.top-10;e.style.position="absolute",e.style.width="20px",e.style.height="20px",e.style.left=o+"px",e.style.top=i+"px",e.style.zIndex="1000",e.focus(),setTimeout((function(){e.style.position="",e.style.width="",e.style.height="",e.style.left="",e.style.top="",e.style.zIndex=""}),200)}Object.defineProperty(e,"__esModule",{value:!0}),e.prepareTextForTerminal=l,e.bracketTextForPaste=o,e.copyHandler=function(n,e){n.clipboardData&&n.clipboardData.setData("text/plain",e.selectionText),n.preventDefault()},e.handlePasteEvent=function(n,e,t,l){n.stopPropagation(),n.clipboardData&&i(n.clipboardData.getData("text/plain"),e,t,l)},e.paste=i,e.moveTextAreaUnderMouseCursor=r,e.rightClickHandler=function(n,e,t,l,o){r(n,e,t),o&&!l.isClickInSelection(n)&&l.selectWordAtCursor(n),e.value=l.selectionText,e.select()}},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(12),r=t(18),a=t(19),u=t(39),s=t(2),d=t(15),c=t(8),p=t(16),f=t(1),h=t(3),m=t(5),v=t(6),g=t(21),b=t(23),_={"(":0,")":1,"*":2,"+":3,"-":1,".":2},y=function(){function n(n,e,t,l){this._bufferService=n,this._coreService=e,this._logService=t,this._optionsService=l,this._data=new Uint32Array(0)}return n.prototype.hook=function(n){this._data=new Uint32Array(0)},n.prototype.put=function(n,e,t){this._data=d.concat(this._data,n.subarray(e,t))},n.prototype.unhook=function(n){if(n){var e=c.utf32ToString(this._data);switch(this._data=new Uint32Array(0),e){case'"q':return this._coreService.triggerDataEvent(i.C0.ESC+'P1$r0"q'+i.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(i.C0.ESC+'P1$r61"p'+i.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(i.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+i.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(i.C0.ESC+"P1$r0m"+i.C0.ESC+"\\");case" q":var t={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(i.C0.ESC+"P1$r"+(t-=this._optionsService.options.cursorBlink?1:0)+" q"+i.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",e),this._coreService.triggerDataEvent(i.C0.ESC+"P0$r"+i.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},n}(),C=function(n){function e(e,t,l,o,a,s,d,p){void 0===p&&(p=new u.EscapeSequenceParser);var h=n.call(this)||this;h._terminal=e,h._bufferService=t,h._coreService=l,h._dirtyRowService=o,h._logService=a,h._optionsService=s,h._coreMouseService=d,h._parser=p,h._parseBuffer=new Uint32Array(4096),h._stringDecoder=new c.StringToUtf32,h._utf8Decoder=new c.Utf8ToUtf32,h._workCell=new m.CellData,h._onCursorMove=new f.EventEmitter,h._onLineFeed=new f.EventEmitter,h._onScroll=new f.EventEmitter,h.register(h._parser),h._parser.setCsiHandlerFallback((function(n,e){h._logService.debug("Unknown CSI code: ",{identifier:h._parser.identToString(n),params:e.toArray()})})),h._parser.setEscHandlerFallback((function(n){h._logService.debug("Unknown ESC code: ",{identifier:h._parser.identToString(n)})})),h._parser.setExecuteHandlerFallback((function(n){h._logService.debug("Unknown EXECUTE code: ",{code:n})})),h._parser.setOscHandlerFallback((function(n,e,t){h._logService.debug("Unknown OSC code: ",{identifier:n,action:e,data:t})})),h._parser.setDcsHandlerFallback((function(n,e,t){"HOOK"===e&&(t=t.toArray()),h._logService.debug("Unknown DCS code: ",{identifier:h._parser.identToString(n),action:e,payload:t})})),h._parser.setPrintHandler((function(n,e,t){return h.print(n,e,t)})),h._parser.setCsiHandler({final:"@"},(function(n){return h.insertChars(n)})),h._parser.setCsiHandler({intermediates:" ",final:"@"},(function(n){return h.scrollLeft(n)})),h._parser.setCsiHandler({final:"A"},(function(n){return h.cursorUp(n)})),h._parser.setCsiHandler({intermediates:" ",final:"A"},(function(n){return h.scrollRight(n)})),h._parser.setCsiHandler({final:"B"},(function(n){return h.cursorDown(n)})),h._parser.setCsiHandler({final:"C"},(function(n){return h.cursorForward(n)})),h._parser.setCsiHandler({final:"D"},(function(n){return h.cursorBackward(n)})),h._parser.setCsiHandler({final:"E"},(function(n){return h.cursorNextLine(n)})),h._parser.setCsiHandler({final:"F"},(function(n){return h.cursorPrecedingLine(n)})),h._parser.setCsiHandler({final:"G"},(function(n){return h.cursorCharAbsolute(n)})),h._parser.setCsiHandler({final:"H"},(function(n){return h.cursorPosition(n)})),h._parser.setCsiHandler({final:"I"},(function(n){return h.cursorForwardTab(n)})),h._parser.setCsiHandler({final:"J"},(function(n){return h.eraseInDisplay(n)})),h._parser.setCsiHandler({prefix:"?",final:"J"},(function(n){return h.eraseInDisplay(n)})),h._parser.setCsiHandler({final:"K"},(function(n){return h.eraseInLine(n)})),h._parser.setCsiHandler({prefix:"?",final:"K"},(function(n){return h.eraseInLine(n)})),h._parser.setCsiHandler({final:"L"},(function(n){return h.insertLines(n)})),h._parser.setCsiHandler({final:"M"},(function(n){return h.deleteLines(n)})),h._parser.setCsiHandler({final:"P"},(function(n){return h.deleteChars(n)})),h._parser.setCsiHandler({final:"S"},(function(n){return h.scrollUp(n)})),h._parser.setCsiHandler({final:"T"},(function(n){return h.scrollDown(n)})),h._parser.setCsiHandler({final:"X"},(function(n){return h.eraseChars(n)})),h._parser.setCsiHandler({final:"Z"},(function(n){return h.cursorBackwardTab(n)})),h._parser.setCsiHandler({final:"`"},(function(n){return h.charPosAbsolute(n)})),h._parser.setCsiHandler({final:"a"},(function(n){return h.hPositionRelative(n)})),h._parser.setCsiHandler({final:"b"},(function(n){return h.repeatPrecedingCharacter(n)})),h._parser.setCsiHandler({final:"c"},(function(n){return h.sendDeviceAttributesPrimary(n)})),h._parser.setCsiHandler({prefix:">",final:"c"},(function(n){return h.sendDeviceAttributesSecondary(n)})),h._parser.setCsiHandler({final:"d"},(function(n){return h.linePosAbsolute(n)})),h._parser.setCsiHandler({final:"e"},(function(n){return h.vPositionRelative(n)})),h._parser.setCsiHandler({final:"f"},(function(n){return h.hVPosition(n)})),h._parser.setCsiHandler({final:"g"},(function(n){return h.tabClear(n)})),h._parser.setCsiHandler({final:"h"},(function(n){return h.setMode(n)})),h._parser.setCsiHandler({prefix:"?",final:"h"},(function(n){return h.setModePrivate(n)})),h._parser.setCsiHandler({final:"l"},(function(n){return h.resetMode(n)})),h._parser.setCsiHandler({prefix:"?",final:"l"},(function(n){return h.resetModePrivate(n)})),h._parser.setCsiHandler({final:"m"},(function(n){return h.charAttributes(n)})),h._parser.setCsiHandler({final:"n"},(function(n){return h.deviceStatus(n)})),h._parser.setCsiHandler({prefix:"?",final:"n"},(function(n){return h.deviceStatusPrivate(n)})),h._parser.setCsiHandler({intermediates:"!",final:"p"},(function(n){return h.softReset(n)})),h._parser.setCsiHandler({intermediates:" ",final:"q"},(function(n){return h.setCursorStyle(n)})),h._parser.setCsiHandler({final:"r"},(function(n){return h.setScrollRegion(n)})),h._parser.setCsiHandler({final:"s"},(function(n){return h.saveCursor(n)})),h._parser.setCsiHandler({final:"u"},(function(n){return h.restoreCursor(n)})),h._parser.setCsiHandler({intermediates:"'",final:"}"},(function(n){return h.insertColumns(n)})),h._parser.setCsiHandler({intermediates:"'",final:"~"},(function(n){return h.deleteColumns(n)})),h._parser.setExecuteHandler(i.C0.BEL,(function(){return h.bell()})),h._parser.setExecuteHandler(i.C0.LF,(function(){return h.lineFeed()})),h._parser.setExecuteHandler(i.C0.VT,(function(){return h.lineFeed()})),h._parser.setExecuteHandler(i.C0.FF,(function(){return h.lineFeed()})),h._parser.setExecuteHandler(i.C0.CR,(function(){return h.carriageReturn()})),h._parser.setExecuteHandler(i.C0.BS,(function(){return h.backspace()})),h._parser.setExecuteHandler(i.C0.HT,(function(){return h.tab()})),h._parser.setExecuteHandler(i.C0.SO,(function(){return h.shiftOut()})),h._parser.setExecuteHandler(i.C0.SI,(function(){return h.shiftIn()})),h._parser.setExecuteHandler(i.C1.IND,(function(){return h.index()})),h._parser.setExecuteHandler(i.C1.NEL,(function(){return h.nextLine()})),h._parser.setExecuteHandler(i.C1.HTS,(function(){return h.tabSet()})),h._parser.setOscHandler(0,new g.OscHandler((function(n){return h.setTitle(n)}))),h._parser.setOscHandler(2,new g.OscHandler((function(n){return h.setTitle(n)}))),h._parser.setEscHandler({final:"7"},(function(){return h.saveCursor()})),h._parser.setEscHandler({final:"8"},(function(){return h.restoreCursor()})),h._parser.setEscHandler({final:"D"},(function(){return h.index()})),h._parser.setEscHandler({final:"E"},(function(){return h.nextLine()})),h._parser.setEscHandler({final:"H"},(function(){return h.tabSet()})),h._parser.setEscHandler({final:"M"},(function(){return h.reverseIndex()})),h._parser.setEscHandler({final:"="},(function(){return h.keypadApplicationMode()})),h._parser.setEscHandler({final:">"},(function(){return h.keypadNumericMode()})),h._parser.setEscHandler({final:"c"},(function(){return h.reset()})),h._parser.setEscHandler({final:"n"},(function(){return h.setgLevel(2)})),h._parser.setEscHandler({final:"o"},(function(){return h.setgLevel(3)})),h._parser.setEscHandler({final:"|"},(function(){return h.setgLevel(3)})),h._parser.setEscHandler({final:"}"},(function(){return h.setgLevel(2)})),h._parser.setEscHandler({final:"~"},(function(){return h.setgLevel(1)})),h._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return h.selectDefaultCharset()})),h._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return h.selectDefaultCharset()}));var v=function(n){b._parser.setEscHandler({intermediates:"(",final:n},(function(){return h.selectCharset("("+n)})),b._parser.setEscHandler({intermediates:")",final:n},(function(){return h.selectCharset(")"+n)})),b._parser.setEscHandler({intermediates:"*",final:n},(function(){return h.selectCharset("*"+n)})),b._parser.setEscHandler({intermediates:"+",final:n},(function(){return h.selectCharset("+"+n)})),b._parser.setEscHandler({intermediates:"-",final:n},(function(){return h.selectCharset("-"+n)})),b._parser.setEscHandler({intermediates:".",final:n},(function(){return h.selectCharset("."+n)})),b._parser.setEscHandler({intermediates:"/",final:n},(function(){return h.selectCharset("/"+n)}))},b=this;for(var _ in r.CHARSETS)v(_);return h._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return h.screenAlignmentPattern()})),h._parser.setErrorHandler((function(n){return h._logService.error("Parsing error: ",n),n})),h._parser.setDcsHandler({intermediates:"$",final:"q"},new y(h._bufferService,h._coreService,h._logService,h._optionsService)),h}return o(e,n),Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){n.prototype.dispose.call(this)},e.prototype.parse=function(n){var e=this._bufferService.buffer,t=e.x,l=e.y;if(this._logService.debug("parsing data",n),this._parseBuffer.length<n.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(n.length,131072))),this._dirtyRowService.clearRange(),n.length>131072)for(var o=0;o<n.length;o+=131072){var i=o+131072<n.length?o+131072:n.length,r="string"==typeof n?this._stringDecoder.decode(n.substring(o,i),this._parseBuffer):this._utf8Decoder.decode(n.subarray(o,i),this._parseBuffer);this._parser.parse(this._parseBuffer,r)}else r="string"==typeof n?this._stringDecoder.decode(n,this._parseBuffer):this._utf8Decoder.decode(n,this._parseBuffer),this._parser.parse(this._parseBuffer,r);(e=this._bufferService.buffer).x===t&&e.y===l||this._onCursorMove.fire(),this._terminal.refresh(this._dirtyRowService.start,this._dirtyRowService.end)},e.prototype.print=function(n,e,t){var l,o,i=this._bufferService.buffer,r=this._terminal.charset,u=this._optionsService.options.screenReaderMode,s=this._bufferService.cols,d=this._terminal.wraparoundMode,p=this._terminal.insertMode,f=this._terminal.curAttrData,m=i.lines.get(i.y+i.ybase);this._dirtyRowService.markDirty(i.y);for(var v=e;v<t;++v){if(o=a.wcwidth(l=n[v]),l<127&&r){var g=r[String.fromCharCode(l)];g&&(l=g.charCodeAt(0))}if(u&&this._terminal.onA11yCharEmitter.fire(c.stringFromCodePoint(l)),o||!i.x){if(i.x+o-1>=s)if(d)i.x=0,i.y++,i.y===i.scrollBottom+1?(i.y--,this._terminal.scroll(!0)):(i.y>=this._bufferService.rows&&(i.y=this._bufferService.rows-1),i.lines.get(i.y).isWrapped=!0),m=i.lines.get(i.y+i.ybase);else if(i.x=s-1,2===o)continue;if(p&&(m.insertCells(i.x,o,i.getNullCell(f)),2===m.getWidth(s-1)&&m.setCellFromCodePoint(s-1,h.NULL_CELL_CODE,h.NULL_CELL_WIDTH,f.fg,f.bg)),m.setCellFromCodePoint(i.x++,l,o,f.fg,f.bg),o>0)for(;--o;)m.setCellFromCodePoint(i.x++,0,0,f.fg,f.bg)}else m.getWidth(i.x-1)?m.addCodepointToCell(i.x-1,l):m.addCodepointToCell(i.x-2,l)}t&&(m.loadCell(i.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),this._dirtyRowService.markDirty(i.y)},e.prototype.addCsiHandler=function(n,e){return this._parser.addCsiHandler(n,e)},e.prototype.addDcsHandler=function(n,e){return this._parser.addDcsHandler(n,new b.DcsHandler(e))},e.prototype.addEscHandler=function(n,e){return this._parser.addEscHandler(n,e)},e.prototype.addOscHandler=function(n,e){return this._parser.addOscHandler(n,new g.OscHandler(e))},e.prototype.bell=function(){this._terminal.bell()},e.prototype.lineFeed=function(){var n=this._bufferService.buffer;this._dirtyRowService.markDirty(n.y),this._optionsService.options.convertEol&&(n.x=0),n.y++,n.y===n.scrollBottom+1?(n.y--,this._terminal.scroll()):n.y>=this._bufferService.rows&&(n.y=this._bufferService.rows-1),n.x>=this._bufferService.cols&&n.x--,this._dirtyRowService.markDirty(n.y),this._onLineFeed.fire()},e.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},e.prototype.backspace=function(){this._restrictCursor(),this._bufferService.buffer.x>0&&this._bufferService.buffer.x--},e.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var n=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-n)}},e.prototype.shiftOut=function(){this._terminal.setgLevel(1)},e.prototype.shiftIn=function(){this._terminal.setgLevel(0)},e.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._terminal.originMode?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},e.prototype._setCursor=function(n,e){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._terminal.originMode?(this._bufferService.buffer.x=n,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+e):(this._bufferService.buffer.x=n,this._bufferService.buffer.y=e),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},e.prototype._moveCursor=function(n,e){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+n,this._bufferService.buffer.y+e)},e.prototype.cursorUp=function(n){var e=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,e>=0?-Math.min(e,n.params[0]||1):-(n.params[0]||1))},e.prototype.cursorDown=function(n){var e=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,e>=0?Math.min(e,n.params[0]||1):n.params[0]||1)},e.prototype.cursorForward=function(n){this._moveCursor(n.params[0]||1,0)},e.prototype.cursorBackward=function(n){this._moveCursor(-(n.params[0]||1),0)},e.prototype.cursorNextLine=function(n){this.cursorDown(n),this._bufferService.buffer.x=0},e.prototype.cursorPrecedingLine=function(n){this.cursorUp(n),this._bufferService.buffer.x=0},e.prototype.cursorCharAbsolute=function(n){this._setCursor((n.params[0]||1)-1,this._bufferService.buffer.y)},e.prototype.cursorPosition=function(n){this._setCursor(n.length>=2?(n.params[1]||1)-1:0,(n.params[0]||1)-1)},e.prototype.charPosAbsolute=function(n){this._setCursor((n.params[0]||1)-1,this._bufferService.buffer.y)},e.prototype.hPositionRelative=function(n){this._moveCursor(n.params[0]||1,0)},e.prototype.linePosAbsolute=function(n){this._setCursor(this._bufferService.buffer.x,(n.params[0]||1)-1)},e.prototype.vPositionRelative=function(n){this._moveCursor(0,n.params[0]||1)},e.prototype.hVPosition=function(n){this.cursorPosition(n)},e.prototype.tabClear=function(n){var e=n.params[0];0===e?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===e&&(this._bufferService.buffer.tabs={})},e.prototype.cursorForwardTab=function(n){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var e=n.params[0]||1;e--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},e.prototype.cursorBackwardTab=function(n){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var e=n.params[0]||1,t=this._bufferService.buffer;e--;)t.x=t.prevStop()},e.prototype._eraseInBufferLine=function(n,e,t,l){void 0===l&&(l=!1);var o=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+n);o.replaceCells(e,t,this._bufferService.buffer.getNullCell(this._terminal.eraseAttrData())),l&&(o.isWrapped=!1)},e.prototype._resetBufferLine=function(n){var e=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+n);e.fill(this._bufferService.buffer.getNullCell(this._terminal.eraseAttrData())),e.isWrapped=!1},e.prototype.eraseInDisplay=function(n){var e;switch(this._restrictCursor(),n.params[0]){case 0:for(this._dirtyRowService.markDirty(e=this._bufferService.buffer.y),this._eraseInBufferLine(e++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);e<this._bufferService.rows;e++)this._resetBufferLine(e);this._dirtyRowService.markDirty(e);break;case 1:for(this._dirtyRowService.markDirty(e=this._bufferService.buffer.y),this._eraseInBufferLine(e,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(e+1).isWrapped=!1);e--;)this._resetBufferLine(e);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((e=this._bufferService.rows)-1);e--;)this._resetBufferLine(e);this._dirtyRowService.markDirty(0);break;case 3:var t=this._bufferService.buffer.lines.length-this._bufferService.rows;t>0&&(this._bufferService.buffer.lines.trimStart(t),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-t,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-t,0),this._onScroll.fire(0))}},e.prototype.eraseInLine=function(n){switch(this._restrictCursor(),n.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},e.prototype.insertLines=function(n){this._restrictCursor();var e=n.params[0]||1,t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var l=t.y+t.ybase,o=this._bufferService.rows-1+t.ybase-(this._bufferService.rows-1-t.scrollBottom)+1;e--;)t.lines.splice(o-1,1),t.lines.splice(l,0,t.getBlankLine(this._terminal.eraseAttrData()));this._dirtyRowService.markRangeDirty(t.y,t.scrollBottom),t.x=0}},e.prototype.deleteLines=function(n){this._restrictCursor();var e=n.params[0]||1,t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){var l,o=t.y+t.ybase;for(l=this._bufferService.rows-1+t.ybase-(l=this._bufferService.rows-1-t.scrollBottom);e--;)t.lines.splice(o,1),t.lines.splice(l,0,t.getBlankLine(this._terminal.eraseAttrData()));this._dirtyRowService.markRangeDirty(t.y,t.scrollBottom),t.x=0}},e.prototype.insertChars=function(n){this._restrictCursor();var e=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);e&&(e.insertCells(this._bufferService.buffer.x,n.params[0]||1,this._bufferService.buffer.getNullCell(this._terminal.eraseAttrData())),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},e.prototype.deleteChars=function(n){this._restrictCursor();var e=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);e&&(e.deleteCells(this._bufferService.buffer.x,n.params[0]||1,this._bufferService.buffer.getNullCell(this._terminal.eraseAttrData())),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},e.prototype.scrollUp=function(n){for(var e=n.params[0]||1,t=this._bufferService.buffer;e--;)t.lines.splice(t.ybase+t.scrollTop,1),t.lines.splice(t.ybase+t.scrollBottom,0,t.getBlankLine(this._terminal.eraseAttrData()));this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)},e.prototype.scrollDown=function(n){for(var e=n.params[0]||1,t=this._bufferService.buffer;e--;)t.lines.splice(t.ybase+t.scrollBottom,1),t.lines.splice(t.ybase+t.scrollTop,0,t.getBlankLine(p.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)},e.prototype.scrollLeft=function(n){var e=this._bufferService.buffer;if(!(e.y>e.scrollBottom||e.y<e.scrollTop)){for(var t=n.params[0]||1,l=e.scrollTop;l<=e.scrollBottom;++l){var o=e.lines.get(e.ybase+l);o.deleteCells(0,t,e.getNullCell(this._terminal.eraseAttrData())),o.isWrapped=!1}this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}},e.prototype.scrollRight=function(n){var e=this._bufferService.buffer;if(!(e.y>e.scrollBottom||e.y<e.scrollTop)){for(var t=n.params[0]||1,l=e.scrollTop;l<=e.scrollBottom;++l){var o=e.lines.get(e.ybase+l);o.insertCells(0,t,e.getNullCell(this._terminal.eraseAttrData())),o.isWrapped=!1}this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}},e.prototype.insertColumns=function(n){var e=this._bufferService.buffer;if(!(e.y>e.scrollBottom||e.y<e.scrollTop)){for(var t=n.params[0]||1,l=e.scrollTop;l<=e.scrollBottom;++l){var o=this._bufferService.buffer.lines.get(e.ybase+l);o.insertCells(e.x,t,e.getNullCell(this._terminal.eraseAttrData())),o.isWrapped=!1}this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}},e.prototype.deleteColumns=function(n){var e=this._bufferService.buffer;if(!(e.y>e.scrollBottom||e.y<e.scrollTop)){for(var t=n.params[0]||1,l=e.scrollTop;l<=e.scrollBottom;++l){var o=e.lines.get(e.ybase+l);o.deleteCells(e.x,t,e.getNullCell(this._terminal.eraseAttrData())),o.isWrapped=!1}this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}},e.prototype.eraseChars=function(n){this._restrictCursor();var e=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);e&&(e.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(n.params[0]||1),this._bufferService.buffer.getNullCell(this._terminal.eraseAttrData())),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},e.prototype.repeatPrecedingCharacter=function(n){if(this._parser.precedingCodepoint){for(var e=n.params[0]||1,t=new Uint32Array(e),l=0;l<e;++l)t[l]=this._parser.precedingCodepoint;this.print(t,0,t.length)}},e.prototype.sendDeviceAttributesPrimary=function(n){n.params[0]>0||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(i.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(i.C0.ESC+"[?6c"))},e.prototype.sendDeviceAttributesSecondary=function(n){n.params[0]>0||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(i.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(i.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(n.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(i.C0.ESC+"[>83;40003;0c"))},e.prototype.setMode=function(n){for(var e=0;e<n.length;e++)switch(n.params[e]){case 4:this._terminal.insertMode=!0}},e.prototype.setModePrivate=function(n){for(var e=0;e<n.length;e++)switch(n.params[e]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._terminal.setgCharset(0,r.DEFAULT_CHARSET),this._terminal.setgCharset(1,r.DEFAULT_CHARSET),this._terminal.setgCharset(2,r.DEFAULT_CHARSET),this._terminal.setgCharset(3,r.DEFAULT_CHARSET);break;case 3:this._terminal.savedCols=this._bufferService.cols,this._terminal.resize(132,this._bufferService.rows),this._terminal.reset();break;case 6:this._terminal.originMode=!0,this._setCursor(0,0);break;case 7:this._terminal.wraparoundMode=!0;break;case 12:break;case 66:this._logService.debug("Serial port requested application keypad."),this._terminal.applicationKeypad=!0,this._terminal.viewport&&this._terminal.viewport.syncScrollArea();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._terminal.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._terminal.eraseAttrData()),this._terminal.refresh(0,this._bufferService.rows-1),this._terminal.viewport&&this._terminal.viewport.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!0}},e.prototype.resetMode=function(n){for(var e=0;e<n.length;e++)switch(n.params[e]){case 4:this._terminal.insertMode=!1}},e.prototype.resetModePrivate=function(n){for(var e=0;e<n.length;e++)switch(n.params[e]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:132===this._bufferService.cols&&this._terminal.savedCols&&this._terminal.resize(this._terminal.savedCols,this._bufferService.rows),delete this._terminal.savedCols,this._terminal.reset();break;case 6:this._terminal.originMode=!1,this._setCursor(0,0);break;case 7:this._terminal.wraparoundMode=!1;break;case 12:break;case 66:this._logService.debug("Switching back to normal keypad."),this._terminal.applicationKeypad=!1,this._terminal.viewport&&this._terminal.viewport.syncScrollArea();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._terminal.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===n.params[e]&&this.restoreCursor(),this._terminal.refresh(0,this._bufferService.rows-1),this._terminal.viewport&&this._terminal.viewport.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!1}},e.prototype._extractColor=function(n,e,t){var l=[0,0,-1,0,0,0],o=0,i=0;do{if(l[i+o]=n.params[e+i],n.hasSubParams(e+i)){var r=n.getSubParams(e+i),a=0;do{5===l[1]&&(o=1),l[i+a+1+o]=r[a]}while(++a<r.length&&a+i+1+o<l.length);break}if(5===l[1]&&i+o>=2||2===l[1]&&i+o>=5)break;l[1]&&(o=1)}while(++i+e<n.length&&i+o<l.length);for(a=2;a<l.length;++a)-1===l[a]&&(l[a]=0);return 38===l[0]?2===l[1]?(t.fg|=50331648,t.fg&=-16777216,t.fg|=v.AttributeData.fromColorRGB([l[3],l[4],l[5]])):5===l[1]&&(t.fg&=-50331904,t.fg|=33554432|255&l[3]):48===l[0]&&(2===l[1]?(t.bg|=50331648,t.bg&=-16777216,t.bg|=v.AttributeData.fromColorRGB([l[3],l[4],l[5]])):5===l[1]&&(t.bg&=-50331904,t.bg|=33554432|255&l[3])),i},e.prototype.charAttributes=function(n){if(1===n.length&&0===n.params[0])return this._terminal.curAttrData.fg=p.DEFAULT_ATTR_DATA.fg,void(this._terminal.curAttrData.bg=p.DEFAULT_ATTR_DATA.bg);for(var e,t=n.length,l=this._terminal.curAttrData,o=0;o<t;o++)(e=n.params[o])>=30&&e<=37?(l.fg&=-50331904,l.fg|=16777216|e-30):e>=40&&e<=47?(l.bg&=-50331904,l.bg|=16777216|e-40):e>=90&&e<=97?(l.fg&=-50331904,l.fg|=16777224|e-90):e>=100&&e<=107?(l.bg&=-50331904,l.bg|=16777224|e-100):0===e?(l.fg=p.DEFAULT_ATTR_DATA.fg,l.bg=p.DEFAULT_ATTR_DATA.bg):1===e?l.fg|=134217728:3===e?l.bg|=67108864:4===e?l.fg|=268435456:5===e?l.fg|=536870912:7===e?l.fg|=67108864:8===e?l.fg|=1073741824:2===e?l.bg|=134217728:22===e?(l.fg&=-134217729,l.bg&=-134217729):23===e?l.bg&=-67108865:24===e?l.fg&=-268435457:25===e?l.fg&=-536870913:27===e?l.fg&=-67108865:28===e?l.fg&=-1073741825:39===e?(l.fg&=-67108864,l.fg|=16777215&p.DEFAULT_ATTR_DATA.fg):49===e?(l.bg&=-67108864,l.bg|=16777215&p.DEFAULT_ATTR_DATA.bg):38===e||48===e?o+=this._extractColor(n,o,l):100===e?(l.fg&=-67108864,l.fg|=16777215&p.DEFAULT_ATTR_DATA.fg,l.bg&=-67108864,l.bg|=16777215&p.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",e)},e.prototype.deviceStatus=function(n){switch(n.params[0]){case 5:this._coreService.triggerDataEvent(i.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(i.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},e.prototype.deviceStatusPrivate=function(n){switch(n.params[0]){case 6:this._coreService.triggerDataEvent(i.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},e.prototype.softReset=function(n){this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,this._terminal.originMode=!1,this._terminal.wraparoundMode=!0,this._terminal.applicationKeypad=!1,this._terminal.viewport&&this._terminal.viewport.syncScrollArea(),this._coreService.decPrivateModes.applicationCursorKeys=!1,this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._terminal.curAttrData=p.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._terminal.charset=null,this._terminal.glevel=0,this._terminal.charsets=[null]},e.prototype.setCursorStyle=function(n){var e=n.params[0]||1;switch(e){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=e%2==1},e.prototype.setScrollRegion=function(n){var e,t=n.params[0]||1;(n.length<2||(e=n.params[1])>this._bufferService.rows||0===e)&&(e=this._bufferService.rows),e>t&&(this._bufferService.buffer.scrollTop=t-1,this._bufferService.buffer.scrollBottom=e-1,this._setCursor(0,0))},e.prototype.saveCursor=function(n){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._terminal.curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._terminal.curAttrData.bg,this._bufferService.buffer.savedCharset=this._terminal.charset},e.prototype.restoreCursor=function(n){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._terminal.curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._terminal.curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._terminal.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._terminal.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},e.prototype.setTitle=function(n){this._terminal.handleTitle(n)},e.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},e.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._terminal.applicationKeypad=!0,this._terminal.viewport&&this._terminal.viewport.syncScrollArea()},e.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._terminal.applicationKeypad=!1,this._terminal.viewport&&this._terminal.viewport.syncScrollArea()},e.prototype.selectDefaultCharset=function(){this._terminal.setgLevel(0),this._terminal.setgCharset(0,r.DEFAULT_CHARSET)},e.prototype.selectCharset=function(n){2===n.length?"/"!==n[0]&&this._terminal.setgCharset(_[n[0]],r.CHARSETS[n[1]]||r.DEFAULT_CHARSET):this.selectDefaultCharset()},e.prototype.index=function(){this._restrictCursor();var n=this._bufferService.buffer;this._bufferService.buffer.y++,n.y===n.scrollBottom+1?(n.y--,this._terminal.scroll()):n.y>=this._bufferService.rows&&(n.y=this._bufferService.rows-1),this._restrictCursor()},e.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},e.prototype.reverseIndex=function(){this._restrictCursor();var n=this._bufferService.buffer;n.y===n.scrollTop?(n.lines.shiftElements(n.y+n.ybase,n.scrollBottom-n.scrollTop,1),n.lines.set(n.y+n.ybase,n.getBlankLine(this._terminal.eraseAttrData())),this._dirtyRowService.markRangeDirty(n.scrollTop,n.scrollBottom)):(n.y--,this._restrictCursor())},e.prototype.reset=function(){this._parser.reset(),this._terminal.reset()},e.prototype.setgLevel=function(n){this._terminal.setgLevel(n)},e.prototype.screenAlignmentPattern=function(){var n=new m.CellData;n.content=1<<22|"E".charCodeAt(0),n.fg=this._terminal.curAttrData.fg,n.bg=this._terminal.curAttrData.bg;var e=this._bufferService.buffer;this._setCursor(0,0);for(var t=0;t<this._bufferService.rows;++t){var l=e.y+e.ybase+t;e.lines.get(l).fill(n),e.lines.get(l).isWrapped=!1}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},e}(s.Disposable);e.InputHandler=C},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(2),r=t(15),a=t(20),u=t(21),s=t(23),d=function(){function n(n){this.table=new Uint8Array(n)}return n.prototype.setDefault=function(n,e){r.fill(this.table,n<<4|e)},n.prototype.add=function(n,e,t,l){this.table[e<<8|n]=t<<4|l},n.prototype.addMany=function(n,e,t,l){for(var o=0;o<n.length;o++)this.table[e<<8|n[o]]=t<<4|l},n}();e.TransitionTable=d,e.VT500_TRANSITION_TABLE=function(){var n=new d(4095),e=Array.apply(null,Array(256)).map((function(n,e){return e})),t=function(n,t){return e.slice(n,t)},l=t(32,127),o=t(0,24);o.push(25),o.push.apply(o,t(28,32));var i,r=t(0,14);for(i in n.setDefault(1,0),n.addMany(l,0,2,0),r)n.addMany([24,26,153,154],i,3,0),n.addMany(t(128,144),i,3,0),n.addMany(t(144,152),i,3,0),n.add(156,i,0,0),n.add(27,i,11,1),n.add(157,i,4,8),n.addMany([152,158,159],i,0,7),n.add(155,i,11,3),n.add(144,i,11,9);return n.addMany(o,0,3,0),n.addMany(o,1,3,1),n.add(127,1,0,1),n.addMany(o,8,0,8),n.addMany(o,3,3,3),n.add(127,3,0,3),n.addMany(o,4,3,4),n.add(127,4,0,4),n.addMany(o,6,3,6),n.addMany(o,5,3,5),n.add(127,5,0,5),n.addMany(o,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(l,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(t(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(l,7,0,7),n.addMany(o,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(t(64,127),3,7,0),n.addMany(t(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(t(48,60),4,8,4),n.addMany(t(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(t(32,64),6,0,6),n.add(127,6,0,6),n.addMany(t(64,127),6,0,0),n.addMany(t(32,48),3,9,5),n.addMany(t(32,48),5,9,5),n.addMany(t(48,64),5,0,6),n.addMany(t(64,127),5,7,0),n.addMany(t(32,48),4,9,5),n.addMany(t(32,48),1,9,2),n.addMany(t(32,48),2,9,2),n.addMany(t(48,127),2,10,0),n.addMany(t(48,80),1,10,0),n.addMany(t(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(t(96,127),1,10,0),n.add(80,1,11,9),n.addMany(o,9,0,9),n.add(127,9,0,9),n.addMany(t(28,32),9,0,9),n.addMany(t(32,48),9,9,12),n.addMany(t(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(o,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(o,10,0,10),n.add(127,10,0,10),n.addMany(t(28,32),10,0,10),n.addMany(t(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(t(32,48),10,9,12),n.addMany(o,12,0,12),n.add(127,12,0,12),n.addMany(t(28,32),12,0,12),n.addMany(t(32,48),12,9,12),n.addMany(t(48,64),12,0,11),n.addMany(t(64,127),12,12,13),n.addMany(t(64,127),10,12,13),n.addMany(t(64,127),9,12,13),n.addMany(o,13,13,13),n.addMany(l,13,13,13),n.add(127,13,0,13),n.addMany([27,156,24,26],13,14,0),n.add(160,0,2,0),n.add(160,8,5,8),n.add(160,6,0,6),n.add(160,11,0,11),n.add(160,13,13,13),n}();var c=function(n){function t(t){void 0===t&&(t=e.VT500_TRANSITION_TABLE);var l=n.call(this)||this;return l.TRANSITIONS=t,l.initialState=0,l.currentState=l.initialState,l._params=new a.Params,l._params.addParam(0),l._collect=0,l.precedingCodepoint=0,l._printHandlerFb=function(n,e,t){},l._executeHandlerFb=function(n){},l._csiHandlerFb=function(n,e){},l._escHandlerFb=function(n){},l._errorHandlerFb=function(n){return n},l._printHandler=l._printHandlerFb,l._executeHandlers=Object.create(null),l._csiHandlers=Object.create(null),l._escHandlers=Object.create(null),l._oscParser=new u.OscParser,l._dcsParser=new s.DcsParser,l._errorHandler=l._errorHandlerFb,l.setEscHandler({final:"\\"},(function(){})),l}return o(t,n),t.prototype._identifier=function(n,e){void 0===e&&(e=[64,126]);var t=0;if(n.prefix){if(n.prefix.length>1)throw new Error("only one byte as prefix supported");if((t=n.prefix.charCodeAt(0))&&60>t||t>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(n.intermediates){if(n.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var l=0;l<n.intermediates.length;++l){var o=n.intermediates.charCodeAt(l);if(32>o||o>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");t<<=8,t|=o}}if(1!==n.final.length)throw new Error("final must be a single byte");var i=n.final.charCodeAt(0);if(e[0]>i||i>e[1])throw new Error("final must be in range "+e[0]+" .. "+e[1]);return(t<<=8)|i},t.prototype.identToString=function(n){for(var e=[];n;)e.push(String.fromCharCode(255&n)),n>>=8;return e.reverse().join("")},t.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},t.prototype.setPrintHandler=function(n){this._printHandler=n},t.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},t.prototype.addEscHandler=function(n,e){var t=this._identifier(n,[48,126]);void 0===this._escHandlers[t]&&(this._escHandlers[t]=[]);var l=this._escHandlers[t];return l.push(e),{dispose:function(){var n=l.indexOf(e);-1!==n&&l.splice(n,1)}}},t.prototype.setEscHandler=function(n,e){this._escHandlers[this._identifier(n,[48,126])]=[e]},t.prototype.clearEscHandler=function(n){this._escHandlers[this._identifier(n,[48,126])]&&delete this._escHandlers[this._identifier(n,[48,126])]},t.prototype.setEscHandlerFallback=function(n){this._escHandlerFb=n},t.prototype.setExecuteHandler=function(n,e){this._executeHandlers[n.charCodeAt(0)]=e},t.prototype.clearExecuteHandler=function(n){this._executeHandlers[n.charCodeAt(0)]&&delete this._executeHandlers[n.charCodeAt(0)]},t.prototype.setExecuteHandlerFallback=function(n){this._executeHandlerFb=n},t.prototype.addCsiHandler=function(n,e){var t=this._identifier(n);void 0===this._csiHandlers[t]&&(this._csiHandlers[t]=[]);var l=this._csiHandlers[t];return l.push(e),{dispose:function(){var n=l.indexOf(e);-1!==n&&l.splice(n,1)}}},t.prototype.setCsiHandler=function(n,e){this._csiHandlers[this._identifier(n)]=[e]},t.prototype.clearCsiHandler=function(n){this._csiHandlers[this._identifier(n)]&&delete this._csiHandlers[this._identifier(n)]},t.prototype.setCsiHandlerFallback=function(n){this._csiHandlerFb=n},t.prototype.addDcsHandler=function(n,e){return this._dcsParser.addHandler(this._identifier(n),e)},t.prototype.setDcsHandler=function(n,e){this._dcsParser.setHandler(this._identifier(n),e)},t.prototype.clearDcsHandler=function(n){this._dcsParser.clearHandler(this._identifier(n))},t.prototype.setDcsHandlerFallback=function(n){this._dcsParser.setHandlerFallback(n)},t.prototype.addOscHandler=function(n,e){return this._oscParser.addHandler(n,e)},t.prototype.setOscHandler=function(n,e){this._oscParser.setHandler(n,e)},t.prototype.clearOscHandler=function(n){this._oscParser.clearHandler(n)},t.prototype.setOscHandlerFallback=function(n){this._oscParser.setHandlerFallback(n)},t.prototype.setErrorHandler=function(n){this._errorHandler=n},t.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},t.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},t.prototype.parse=function(n,e){for(var t=0,l=0,o=this.currentState,i=this._oscParser,r=this._dcsParser,a=this._collect,u=this._params,s=this.TRANSITIONS.table,d=0;d<e;++d){switch((l=s[o<<8|((t=n[d])<160?t:160)])>>4){case 2:for(var c=d+1;;++c){if(c>=e||(t=n[c])<32||t>126&&t<160){this._printHandler(n,d,c),d=c-1;break}if(++c>=e||(t=n[c])<32||t>126&&t<160){this._printHandler(n,d,c),d=c-1;break}if(++c>=e||(t=n[c])<32||t>126&&t<160){this._printHandler(n,d,c),d=c-1;break}if(++c>=e||(t=n[c])<32||t>126&&t<160){this._printHandler(n,d,c),d=c-1;break}}break;case 3:this._executeHandlers[t]?this._executeHandlers[t]():this._executeHandlerFb(t),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:d,code:t,currentState:o,collect:a,params:u,abort:!1}).abort)return;break;case 7:for(var p=this._csiHandlers[a<<8|t],f=p?p.length-1:-1;f>=0&&!1===p[f](u);f--);f<0&&this._csiHandlerFb(a<<8|t,u),this.precedingCodepoint=0;break;case 8:do{switch(t){case 59:u.addParam(0);break;case 58:u.addSubParam(-1);break;default:u.addDigit(t-48)}}while(++d<e&&(t=n[d])>47&&t<60);d--;break;case 9:a<<=8,a|=t;break;case 10:for(var h=this._escHandlers[a<<8|t],m=h?h.length-1:-1;m>=0&&!1===h[m]();m--);m<0&&this._escHandlerFb(a<<8|t),this.precedingCodepoint=0;break;case 11:u.reset(),u.addParam(0),a=0;break;case 12:r.hook(a<<8|t,u);break;case 13:for(var v=d+1;;++v)if(v>=e||24===(t=n[v])||26===t||27===t||t>127&&t<160){r.put(n,d,v),d=v-1;break}break;case 14:r.unhook(24!==t&&26!==t),27===t&&(l|=1),u.reset(),u.addParam(0),a=0,this.precedingCodepoint=0;break;case 4:i.start();break;case 5:for(var g=d+1;;g++)if(g>=e||(t=n[g])<32||t>127&&t<=159){i.put(n,d,g),d=g-1;break}break;case 6:i.end(24!==t&&26!==t),27===t&&(l|=1),u.reset(),u.addParam(0),a=0,this.precedingCodepoint=0}o=15&l}this._collect=a,this.currentState=o},t}(i.Disposable);e.EscapeSequenceParser=c},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),i=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},r=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var a=t(41),u=t(47),s=t(48),d=t(49),c=t(28),p=t(2),f=t(4),h=t(0),m=t(24),v=t(1),g=1,b=function(n){function e(e,t,l,o,i,r,p,f){var h=n.call(this)||this;h._colors=e,h._screenElement=t,h._linkifier=l,h._bufferService=o,h._charSizeService=i,h._optionsService=r,h.coreService=p,h.coreBrowserService=f,h._id=g++,h._onRequestRefreshRows=new v.EventEmitter;var m=h._optionsService.options.allowTransparency;return h._characterJoinerRegistry=new c.CharacterJoinerRegistry(h._bufferService),h._renderLayers=[new a.TextRenderLayer(h._screenElement,0,h._colors,h._characterJoinerRegistry,m,h._id,h._bufferService,r),new u.SelectionRenderLayer(h._screenElement,1,h._colors,h._id,h._bufferService,r),new d.LinkRenderLayer(h._screenElement,2,h._colors,h._id,h._linkifier,h._bufferService,r),new s.CursorRenderLayer(h._screenElement,3,h._colors,h._id,h._onRequestRefreshRows,h._bufferService,r,p,f)],h.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},h._devicePixelRatio=window.devicePixelRatio,h._updateDimensions(),h.onOptionsChanged(),h}return o(e,n),Object.defineProperty(e.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){n.prototype.dispose.call(this),this._renderLayers.forEach((function(n){return n.dispose()})),m.removeTerminalFromCache(this._id)},e.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},e.prototype.setColors=function(n){var e=this;this._colors=n,this._renderLayers.forEach((function(n){n.setColors(e._colors),n.reset()}))},e.prototype.onResize=function(n,e){var t=this;this._updateDimensions(),this._renderLayers.forEach((function(n){return n.resize(t.dimensions)})),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},e.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},e.prototype.onBlur=function(){this._runOperation((function(n){return n.onBlur()}))},e.prototype.onFocus=function(){this._runOperation((function(n){return n.onFocus()}))},e.prototype.onSelectionChanged=function(n,e,t){void 0===t&&(t=!1),this._runOperation((function(l){return l.onSelectionChanged(n,e,t)}))},e.prototype.onCursorMove=function(){this._runOperation((function(n){return n.onCursorMove()}))},e.prototype.onOptionsChanged=function(){this._runOperation((function(n){return n.onOptionsChanged()}))},e.prototype.clear=function(){this._runOperation((function(n){return n.reset()}))},e.prototype._runOperation=function(n){this._renderLayers.forEach((function(e){return n(e)}))},e.prototype.renderRows=function(n,e){this._renderLayers.forEach((function(t){return t.onGridChanged(n,e)}))},e.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},e.prototype.registerCharacterJoiner=function(n){return this._characterJoinerRegistry.registerCharacterJoiner(n)},e.prototype.deregisterCharacterJoiner=function(n){return this._characterJoinerRegistry.deregisterCharacterJoiner(n)},i([r(3,h.IBufferService),r(4,f.ICharSizeService),r(5,h.IOptionsService),r(6,h.ICoreService),r(7,f.ICoreBrowserService)],e)}(p.Disposable);e.Renderer=b},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(42),r=t(13),a=t(6),u=t(3),s=t(28),d=t(5),c=function(n){function e(e,t,l,o,r,a,u,s){var c=n.call(this,e,"text",t,r,l,a,u,s)||this;return c.bufferService=u,c.optionsService=s,c._characterWidth=0,c._characterFont="",c._characterOverlapCache={},c._workCell=new d.CellData,c._state=new i.GridCache,c._characterJoinerRegistry=o,c}return o(e,n),e.prototype.resize=function(e){n.prototype.resize.call(this,e);var t=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===t||(this._characterWidth=e.scaledCharWidth,this._characterFont=t,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},e.prototype.reset=function(){this._state.clear(),this._clearAll()},e.prototype._forEachCell=function(n,e,t,l){for(var o=n;o<=e;o++)for(var i=o+this._bufferService.buffer.ydisp,r=this._bufferService.buffer.lines.get(i),a=t?t.getJoinedCharacters(i):[],d=0;d<this._bufferService.cols;d++){r.loadCell(d,this._workCell);var c=this._workCell,p=!1,f=d;if(0!==c.getWidth()){if(a.length>0&&d===a[0][0]){p=!0;var h=a.shift();c=new s.JoinedCellData(this._workCell,r.translateToString(!0,h[0],h[1]),h[1]-h[0]),f=h[1]-1}!p&&this._isOverlapping(c)&&f<r.length-1&&r.getCodePoint(f+1)===u.NULL_CELL_CODE&&(c.content&=-12582913,c.content|=2<<22),l(c,d,o),d=f}}},e.prototype._drawBackground=function(n,e){var t=this,l=this._ctx,o=this._bufferService.cols,i=0,r=0,u=null;l.save(),this._forEachCell(n,e,null,(function(n,e,s){var d=null;n.isInverse()?d=n.isFgDefault()?t._colors.foreground.css:n.isFgRGB()?"rgb("+a.AttributeData.toColorRGB(n.getFgColor()).join(",")+")":t._colors.ansi[n.getFgColor()].css:n.isBgRGB()?d="rgb("+a.AttributeData.toColorRGB(n.getBgColor()).join(",")+")":n.isBgPalette()&&(d=t._colors.ansi[n.getBgColor()].css),null===u&&(i=e,r=s),s!==r?(l.fillStyle=u||"",t._fillCells(i,r,o-i,1),i=e,r=s):u!==d&&(l.fillStyle=u||"",t._fillCells(i,r,e-i,1),i=e,r=s),u=d})),null!==u&&(l.fillStyle=u,this._fillCells(i,r,o-i,1)),l.restore()},e.prototype._drawForeground=function(n,e){var t=this;this._forEachCell(n,e,this._characterJoinerRegistry,(function(n,e,l){if(!n.isInvisible()&&(t._drawChars(n,e,l),n.isUnderline())){if(t._ctx.save(),n.isInverse())if(n.isBgDefault())t._ctx.fillStyle=t._colors.background.css;else if(n.isBgRGB())t._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var o=n.getBgColor();t._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&o<8&&(o+=8),t._ctx.fillStyle=t._colors.ansi[o].css}else if(n.isFgDefault())t._ctx.fillStyle=t._colors.foreground.css;else if(n.isFgRGB())t._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var i=n.getFgColor();t._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&i<8&&(i+=8),t._ctx.fillStyle=t._colors.ansi[i].css}t._fillBottomLineAtCells(e,l,n.getWidth()),t._ctx.restore()}}))},e.prototype.onGridChanged=function(n,e){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,n,this._bufferService.cols,e-n+1),this._drawBackground(n,e),this._drawForeground(n,e))},e.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},e.prototype._isOverlapping=function(n){if(1!==n.getWidth())return!1;if(n.getCode()<256)return!1;var e=n.getChars();if(this._characterOverlapCache.hasOwnProperty(e))return this._characterOverlapCache[e];this._ctx.save(),this._ctx.font=this._characterFont;var t=Math.floor(this._ctx.measureText(e).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[e]=t,t},e}(r.BaseRenderLayer);e.TextRenderLayer=c},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this.cache=[]}return n.prototype.resize=function(n,e){for(var t=0;t<n;t++){this.cache.length<=t&&this.cache.push([]);for(var l=this.cache[t].length;l<e;l++)this.cache[t].push(void 0);this.cache[t].length=e}this.cache.length=n},n.prototype.clear=function(){for(var n=0;n<this.cache.length;n++)for(var e=0;e<this.cache[n].length;e++)this.cache[n][e]=void 0},n}();e.GridCache=l},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(9),r=t(44),a=t(26),u=t(46),s=t(11),d=t(27),c=t(10),p=1024,f=1024,h={css:"rgba(0, 0, 0, 0)",rgba:0};function m(n){return n.code<<21|n.bg<<12|n.fg<<3|(n.bold?0:4)+(n.dim?0:2)+(n.italic?0:1)}e.getGlyphCacheKey=m;var v=function(n){function e(e,t){var l=n.call(this)||this;l._config=t,l._drawToCacheCount=0,l._glyphsWaitingOnBitmap=[],l._bitmapCommitTimeout=null,l._bitmap=null,l._cacheCanvas=e.createElement("canvas"),l._cacheCanvas.width=p,l._cacheCanvas.height=f,l._cacheCtx=d.throwIfFalsy(l._cacheCanvas.getContext("2d",{alpha:!0}));var o=e.createElement("canvas");o.width=l._config.scaledCharWidth,o.height=l._config.scaledCharHeight,l._tmpCtx=d.throwIfFalsy(o.getContext("2d",{alpha:l._config.allowTransparency})),l._width=Math.floor(p/l._config.scaledCharWidth),l._height=Math.floor(f/l._config.scaledCharHeight);var i=l._width*l._height;return l._cacheMap=new u.LRUMap(i),l._cacheMap.prealloc(i),l}return o(e,n),e.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},e.prototype.beginFrame=function(){this._drawToCacheCount=0},e.prototype.draw=function(n,e,t,l){if(32===e.code)return!0;if(!this._canCache(e))return!1;var o=m(e),i=this._cacheMap.get(o);if(null!=i)return this._drawFromCache(n,i,t,l),!0;if(this._drawToCacheCount<100){var r;r=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var a=this._drawToCache(e,r);return this._cacheMap.set(o,a),this._drawFromCache(n,a,t,l),!0}return!1},e.prototype._canCache=function(n){return n.code<256},e.prototype._toCoordinateX=function(n){return n%this._width*this._config.scaledCharWidth},e.prototype._toCoordinateY=function(n){return Math.floor(n/this._width)*this._config.scaledCharHeight},e.prototype._drawFromCache=function(n,e,t,l){if(!e.isEmpty){var o=this._toCoordinateX(e.index),i=this._toCoordinateY(e.index);n.drawImage(e.inBitmap?this._bitmap:this._cacheCanvas,o,i,this._config.scaledCharWidth,this._config.scaledCharHeight,t,l,this._config.scaledCharWidth,this._config.scaledCharHeight)}},e.prototype._getColorFromAnsiIndex=function(n){return n<this._config.colors.ansi.length?this._config.colors.ansi[n]:a.DEFAULT_ANSI_COLORS[n]},e.prototype._getBackgroundColor=function(n){return this._config.allowTransparency?h:n.bg===i.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:n.bg<256?this._getColorFromAnsiIndex(n.bg):this._config.colors.background},e.prototype._getForegroundColor=function(n){return n.fg===i.INVERTED_DEFAULT_COLOR?c.opaque(this._config.colors.background):n.fg<256?this._getColorFromAnsiIndex(n.fg):this._config.colors.foreground},e.prototype._drawToCache=function(n,e){this._drawToCacheCount++,this._tmpCtx.save();var t=this._getBackgroundColor(n);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=t.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over",this._tmpCtx.font=(n.italic?"italic":"")+" "+(n.bold?this._config.fontWeightBold:this._config.fontWeight)+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(n).css,n.dim&&(this._tmpCtx.globalAlpha=i.DIM_OPACITY),this._tmpCtx.fillText(n.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var l=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),o=!1;this._config.allowTransparency||(o=function(n,e){for(var t=!0,l=e.rgba>>>24,o=e.rgba>>>16&255,i=e.rgba>>>8&255,r=0;r<n.data.length;r+=4)n.data[r]===l&&n.data[r+1]===o&&n.data[r+2]===i?n.data[r+3]=0:t=!1;return t}(l,t));var r=this._toCoordinateX(e),a=this._toCoordinateY(e);this._cacheCtx.putImageData(l,r,a);var u={index:e,isEmpty:o,inBitmap:!1};return this._addGlyphToBitmap(u),u},e.prototype._addGlyphToBitmap=function(n){var e=this;"createImageBitmap"in window&&!s.isFirefox&&!s.isSafari&&(this._glyphsWaitingOnBitmap.push(n),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout((function(){return e._generateBitmap()}),100)))},e.prototype._generateBitmap=function(){var n=this,e=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then((function(t){n._bitmap=t;for(var l=0;l<e.length;l++)e[l].inBitmap=!0})),this._bitmapCommitTimeout=null},e}(r.BaseCharAtlas);e.DynamicCharAtlas=v;var g=function(n){function e(e,t){return n.call(this)||this}return o(e,n),e.prototype.draw=function(n,e,t,l){return!1},e}(r.BaseCharAtlas);e.NoneCharAtlas=g},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this._didWarmUp=!1}return n.prototype.dispose=function(){},n.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},n.prototype._doWarmUp=function(){},n.prototype.beginFrame=function(){},n}();e.BaseCharAtlas=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this._color={},this._rgba={}}return n.prototype.clear=function(){this._color={},this._rgba={}},n.prototype.setCss=function(n,e,t){this._rgba[n]||(this._rgba[n]={}),this._rgba[n][e]=t},n.prototype.getCss=function(n,e){return this._rgba[n]?this._rgba[n][e]:void 0},n.prototype.setColor=function(n,e,t){this._color[n]||(this._color[n]={}),this._color[n][e]=t},n.prototype.getColor=function(n,e){return this._color[n]?this._color[n][e]:void 0},n}();e.ColorContrastCache=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n){this.capacity=n,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return n.prototype._unlinkNode=function(n){var e=n.prev,t=n.next;n===this._head&&(this._head=t),n===this._tail&&(this._tail=e),null!==e&&(e.next=t),null!==t&&(t.prev=e)},n.prototype._appendNode=function(n){var e=this._tail;null!==e&&(e.next=n),n.prev=e,n.next=null,this._tail=n,null===this._head&&(this._head=n)},n.prototype.prealloc=function(n){for(var e=this._nodePool,t=0;t<n;t++)e.push({prev:null,next:null,key:null,value:null})},n.prototype.get=function(n){var e=this._map[n];return void 0!==e?(this._unlinkNode(e),this._appendNode(e),e.value):null},n.prototype.peekValue=function(n){var e=this._map[n];return void 0!==e?e.value:null},n.prototype.peek=function(){var n=this._head;return null===n?null:n.value},n.prototype.set=function(n,e){var t=this._map[n];if(void 0!==t)this._unlinkNode(t=this._map[n]),t.value=e;else if(this.size>=this.capacity)this._unlinkNode(t=this._head),delete this._map[t.key],t.key=n,t.value=e,this._map[n]=t;else{var l=this._nodePool;l.length>0?((t=l.pop()).key=n,t.value=e):t={prev:null,next:null,key:n,value:e},this._map[n]=t,this.size++}this._appendNode(t)},n}();e.LRUMap=l},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=function(n){function e(e,t,l,o,i,r){var a=n.call(this,e,"selection",t,!0,l,o,i,r)||this;return a.bufferService=i,a.optionsService=r,a._clearState(),a}return o(e,n),e.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},e.prototype.resize=function(e){n.prototype.resize.call(this,e),this._clearState()},e.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},e.prototype.onSelectionChanged=function(n,e,t){if(this._didStateChange(n,e,t,this._bufferService.buffer.ydisp))if(this._clearAll(),n&&e){var l=n[1]-this._bufferService.buffer.ydisp,o=e[1]-this._bufferService.buffer.ydisp,i=Math.max(l,0),r=Math.min(o,this._bufferService.rows-1);if(!(i>=this._bufferService.rows||r<0)){if(this._ctx.fillStyle=this._colors.selection.css,t){var a=n[0];this._fillCells(a,i,e[0]-a,r-i+1)}else{this._fillCells(a=l===i?n[0]:0,i,(i===r?e[0]:this._bufferService.cols)-a,1);var u=Math.max(r-i-1,0);this._fillCells(0,i+1,this._bufferService.cols,u),i!==r&&this._fillCells(0,r,o===r?e[0]:this._bufferService.cols,1)}this._state.start=[n[0],n[1]],this._state.end=[e[0],e[1]],this._state.columnSelectMode=t,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},e.prototype._didStateChange=function(n,e,t,l){return!this._areCoordinatesEqual(n,this._state.start)||!this._areCoordinatesEqual(e,this._state.end)||t!==this._state.columnSelectMode||l!==this._state.ydisp},e.prototype._areCoordinatesEqual=function(n,e){return!(!n||!e)&&n[0]===e[0]&&n[1]===e[1]},e}(t(13).BaseRenderLayer);e.SelectionRenderLayer=i},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(13),r=t(5),a=function(n){function e(e,t,l,o,i,a,u,s,d){var c=n.call(this,e,"cursor",t,!0,l,o,a,u)||this;return c._onRequestRefreshRowsEvent=i,c.bufferService=a,c.optionsService=u,c._coreService=s,c._coreBrowserService=d,c._cell=new r.CellData,c._state={x:0,y:0,isFocused:!1,style:"",width:0},c._cursorRenderers={bar:c._renderBarCursor.bind(c),block:c._renderBlockCursor.bind(c),underline:c._renderUnderlineCursor.bind(c)},c}return o(e,n),e.prototype.resize=function(e){n.prototype.resize.call(this,e),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},e.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},e.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},e.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},e.prototype.onOptionsChanged=function(){var n,e=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new u(this._coreBrowserService.isFocused,(function(){e._render(!0)}))):(null===(n=this._cursorBlinkStateManager)||void 0===n||n.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},e.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},e.prototype.onGridChanged=function(n,e){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},e.prototype._render=function(n){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var e=this._bufferService.buffer.ybase+this._bufferService.buffer.y,t=e-this._bufferService.buffer.ydisp;if(t<0||t>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(e).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var l=this._optionsService.options.cursorStyle;return l&&"block"!==l?this._cursorRenderers[l](this._bufferService.buffer.x,t,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,t,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=t,this._state.isFocused=!1,this._state.style=l,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===t&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,t,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=t,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},e.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},e.prototype._renderBarCursor=function(n,e,t){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(n,e),this._ctx.restore()},e.prototype._renderBlockCursor=function(n,e,t){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(n,e,t.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(t,n,e),this._ctx.restore()},e.prototype._renderUnderlineCursor=function(n,e,t){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(n,e),this._ctx.restore()},e.prototype._renderBlurCursor=function(n,e,t){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(n,e,t.getWidth(),1),this._ctx.restore()},e}(i.BaseRenderLayer);e.CursorRenderLayer=a;var u=function(){function n(n,e){this._renderCallback=e,this.isCursorVisible=!0,n&&this._restartInterval()}return Object.defineProperty(n.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),n.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.restartBlinkAnimation=function(){var n=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){n._renderCallback(),n._animationFrame=void 0}))))},n.prototype._restartInterval=function(n){var e=this;void 0===n&&(n=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout((function(){if(e._animationTimeRestarted){var n=600-(Date.now()-e._animationTimeRestarted);if(e._animationTimeRestarted=void 0,n>0)return void e._restartInterval(n)}e.isCursorVisible=!1,e._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0})),e._blinkInterval=setInterval((function(){if(e._animationTimeRestarted){var n=600-(Date.now()-e._animationTimeRestarted);return e._animationTimeRestarted=void 0,void e._restartInterval(n)}e.isCursorVisible=!e.isCursorVisible,e._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))}),600)}),n)},n.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},n}()},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(13),r=t(9),a=t(25),u=function(n){function e(e,t,l,o,i,r,a){var u=n.call(this,e,"link",t,!0,l,o,r,a)||this;return u.bufferService=r,u.optionsService=a,i.onLinkHover((function(n){return u._onLinkHover(n)})),i.onLinkLeave((function(n){return u._onLinkLeave(n)})),u}return o(e,n),e.prototype.resize=function(e){n.prototype.resize.call(this,e),this._state=void 0},e.prototype.reset=function(){this._clearCurrentLink()},e.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var n=this._state.y2-this._state.y1-1;n>0&&this._clearCells(0,this._state.y1+1,this._state.cols,n),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},e.prototype._onLinkHover=function(n){if(this._ctx.fillStyle=n.fg===r.INVERTED_DEFAULT_COLOR?this._colors.background.css:n.fg&&a.is256Color(n.fg)?this._colors.ansi[n.fg].css:this._colors.foreground.css,n.y1===n.y2)this._fillBottomLineAtCells(n.x1,n.y1,n.x2-n.x1);else{this._fillBottomLineAtCells(n.x1,n.y1,n.cols-n.x1);for(var e=n.y1+1;e<n.y2;e++)this._fillBottomLineAtCells(0,e,n.cols);this._fillBottomLineAtCells(0,n.y2,n.x2)}this._state=n},e.prototype._onLinkLeave=function(n){this._clearCurrentLink()},e}(i.BaseRenderLayer);e.LinkRenderLayer=u},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(19),o=t(1),i=function(){function n(n,e){this._bufferService=n,this._logService=e,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onLinkHover=new o.EventEmitter,this._onLinkLeave=new o.EventEmitter,this._onLinkTooltip=new o.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(n.prototype,"onLinkHover",{get:function(){return this._onLinkHover.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onLinkLeave",{get:function(){return this._onLinkLeave.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!0,configurable:!0}),n.prototype.attachToDom=function(n,e){this._element=n,this._mouseZoneManager=e},n.prototype.linkifyRows=function(e,t){var l=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=e,this._rowsToLinkify.end=t):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,e),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,t)),this._mouseZoneManager.clearAll(e,t),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout((function(){return l._linkifyRows()}),n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var n=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var e=n.ydisp+this._rowsToLinkify.start;if(!(e>=n.lines.length)){for(var t=n.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),o=this._bufferService.buffer.iterator(!1,e,t,l,l);o.hasNext();)for(var i=o.next(),r=0;r<this._linkMatchers.length;r++)this._doLinkifyRow(i.range.first,i.content,this._linkMatchers[r]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},n.prototype.registerLinkMatcher=function(n,e,t){if(void 0===t&&(t={}),!e)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:n,handler:e,matchIndex:t.matchIndex,validationCallback:t.validationCallback,hoverTooltipCallback:t.tooltipCallback,hoverLeaveCallback:t.leaveCallback,willLinkActivate:t.willLinkActivate,priority:t.priority||0};return this._addLinkMatcherToList(l),l.id},n.prototype._addLinkMatcherToList=function(n){if(0!==this._linkMatchers.length){for(var e=this._linkMatchers.length-1;e>=0;e--)if(n.priority<=this._linkMatchers[e].priority)return void this._linkMatchers.splice(e+1,0,n);this._linkMatchers.splice(0,0,n)}else this._linkMatchers.push(n)},n.prototype.deregisterLinkMatcher=function(n){for(var e=0;e<this._linkMatchers.length;e++)if(this._linkMatchers[e].id===n)return this._linkMatchers.splice(e,1),!0;return!1},n.prototype._doLinkifyRow=function(n,e,t){for(var l,o=this,i=new RegExp(t.regex.source,(t.regex.flags||"")+"g"),r=-1,a=function(){var a=l["number"!=typeof t.matchIndex?0:t.matchIndex];if(!a)return u._logService.debug("match found without corresponding matchIndex",l,t),"break";if(r=e.indexOf(a,r+1),i.lastIndex=r+a.length,r<0)return"break";var s=u._bufferService.buffer.stringIndexToBufferIndex(n,r);if(s[0]<0)return"break";var d=u._bufferService.buffer.lines.get(s[0]);if(!d)return"break";var c=d.getFg(s[1]),p=c?c>>9&511:void 0;t.validationCallback?t.validationCallback(a,(function(n){o._rowsTimeoutId||n&&o._addLink(s[1],s[0]-o._bufferService.buffer.ydisp,a,t,p)})):u._addLink(s[1],s[0]-u._bufferService.buffer.ydisp,a,t,p)},u=this;null!==(l=i.exec(e))&&"break"!==a(););},n.prototype._addLink=function(n,e,t,o,i){var a=this;if(this._mouseZoneManager&&this._element){var u=l.getStringCellWidth(t),s=n%this._bufferService.cols,d=e+Math.floor(n/this._bufferService.cols),c=(s+u)%this._bufferService.cols,p=d+Math.floor((s+u)/this._bufferService.cols);0===c&&(c=this._bufferService.cols,p--),this._mouseZoneManager.add(new r(s+1,d+1,c+1,p+1,(function(n){if(o.handler)return o.handler(n,t);window.open(t,"_blank")}),(function(){a._onLinkHover.fire(a._createLinkHoverEvent(s,d,c,p,i)),a._element.classList.add("xterm-cursor-pointer")}),(function(n){a._onLinkTooltip.fire(a._createLinkHoverEvent(s,d,c,p,i)),o.hoverTooltipCallback&&o.hoverTooltipCallback(n,t,{start:{x:s,y:d},end:{x:c,y:p}})}),(function(){a._onLinkLeave.fire(a._createLinkHoverEvent(s,d,c,p,i)),a._element.classList.remove("xterm-cursor-pointer"),o.hoverLeaveCallback&&o.hoverLeaveCallback()}),(function(n){return!o.willLinkActivate||o.willLinkActivate(n,t)})))}},n.prototype._createLinkHoverEvent=function(n,e,t,l,o){return{x1:n,y1:e,x2:t,y2:l,cols:this._bufferService.cols,fg:o}},n._timeBeforeLatency=200,n}();e.Linkifier=i;var r=function(n,e,t,l,o,i,r,a,u){this.x1=n,this.y1=e,this.x2=t,this.y2=l,this.clickCallback=o,this.hoverCallback=i,this.tooltipCallback=r,this.leaveCallback=a,this.willLinkActivate=u};e.MouseZone=r},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(11),r=t(52),a=t(5),u=t(1),s=t(4),d=t(0),c=t(29),p=t(53),f=String.fromCharCode(160),h=new RegExp(f,"g"),m=function(){function n(n,e,t,l,o,i,s,d){var c=this;this._scrollLines=n,this._element=e,this._screenElement=t,this._charSizeService=l,this._bufferService=o,this._coreService=i,this._mouseService=s,this._optionsService=d,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new a.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new u.EventEmitter,this._onRedrawRequest=new u.EventEmitter,this._onSelectionChange=new u.EventEmitter,this._mouseMoveListener=function(n){return c._onMouseMove(n)},this._mouseUpListener=function(n){return c._onMouseUp(n)},this._coreService.onUserInput((function(){c.hasSelection&&c.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((function(n){return c._onTrim(n)})),this._bufferService.buffers.onBufferActivate((function(n){return c._onBufferActivate(n)})),this.enable(),this._model=new r.SelectionModel(this._bufferService),this._activeSelectionMode=0}return Object.defineProperty(n.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),n.prototype.dispose=function(){this._removeMouseDownListeners()},n.prototype.reset=function(){this.clearSelection()},n.prototype.disable=function(){this.clearSelection(),this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasSelection",{get:function(){var n=this._model.finalSelectionStart,e=this._model.finalSelectionEnd;return!(!n||!e||n[0]===e[0]&&n[1]===e[1])},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionText",{get:function(){var n=this._model.finalSelectionStart,e=this._model.finalSelectionEnd;if(!n||!e)return"";var t=this._bufferService.buffer,l=[];if(3===this._activeSelectionMode){if(n[0]===e[0])return"";for(var o=n[1];o<=e[1];o++){var r=t.translateBufferLineToString(o,!0,n[0],e[0]);l.push(r)}}else{for(l.push(t.translateBufferLineToString(n[1],!0,n[0],n[1]===e[1]?e[0]:void 0)),o=n[1]+1;o<=e[1]-1;o++){var a=t.lines.get(o);r=t.translateBufferLineToString(o,!0),a&&a.isWrapped?l[l.length-1]+=r:l.push(r)}n[1]!==e[1]&&(a=t.lines.get(e[1]),r=t.translateBufferLineToString(e[1],!0,0,e[0]),a&&a.isWrapped?l[l.length-1]+=r:l.push(r))}return l.map((function(n){return n.replace(h," ")})).join(i.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),n.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},n.prototype.refresh=function(n){var e=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return e._refresh()}))),i.isLinux&&n&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},n.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},n.prototype.isClickInSelection=function(n){var e=this._getMouseBufferCoords(n),t=this._model.finalSelectionStart,l=this._model.finalSelectionEnd;return!!(t&&l&&e)&&this._areCoordsInSelection(e,t,l)},n.prototype._areCoordsInSelection=function(n,e,t){return n[1]>e[1]&&n[1]<t[1]||e[1]===t[1]&&n[1]===e[1]&&n[0]>=e[0]&&n[0]<t[0]||e[1]<t[1]&&n[1]===t[1]&&n[0]<t[0]||e[1]<t[1]&&n[1]===e[1]&&n[0]>=e[0]},n.prototype.selectWordAtCursor=function(n){var e=this._getMouseBufferCoords(n);e&&(this._selectWordAt(e,!1),this._model.selectionEnd=void 0,this.refresh(!0))},n.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},n.prototype.selectLines=function(n,e){this._model.clearSelection(),n=Math.max(n,0),e=Math.min(e,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,n],this._model.selectionEnd=[this._bufferService.cols,e],this.refresh(),this._onSelectionChange.fire()},n.prototype._onTrim=function(n){this._model.onTrim(n)&&this.refresh()},n.prototype._getMouseBufferCoords=function(n){var e=this._mouseService.getCoords(n,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(e)return e[0]--,e[1]--,e[1]+=this._bufferService.buffer.ydisp,e},n.prototype._getMouseEventScrollAmount=function(n){var e=c.getCoordsRelativeToElement(n,this._screenElement)[1],t=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return e>=0&&e<=t?0:(e>t&&(e-=t),e=Math.min(Math.max(e,-50),50),(e/=50)/Math.abs(e)+Math.round(14*e))},n.prototype.shouldForceSelection=function(n){return i.isMac?n.altKey&&this._optionsService.options.macOptionClickForcesSelection:n.shiftKey},n.prototype.onMouseDown=function(n){if(this._mouseDownTimeStamp=n.timeStamp,(2!==n.button||!this.hasSelection)&&0===n.button){if(!this._enabled){if(!this.shouldForceSelection(n))return;n.stopPropagation()}n.preventDefault(),this._dragScrollAmount=0,this._enabled&&n.shiftKey?this._onIncrementalClick(n):1===n.detail?this._onSingleClick(n):2===n.detail?this._onDoubleClick(n):3===n.detail&&this._onTripleClick(n),this._addMouseDownListeners(),this.refresh(!0)}},n.prototype._addMouseDownListeners=function(){var n=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return n._dragScroll()}),50)},n.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},n.prototype._onIncrementalClick=function(n){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(n))},n.prototype._onSingleClick=function(n){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(n)?3:0,this._model.selectionStart=this._getMouseBufferCoords(n),this._model.selectionStart){this._model.selectionEnd=void 0;var e=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);e&&e.length!==this._model.selectionStart[0]&&0===e.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},n.prototype._onDoubleClick=function(n){var e=this._getMouseBufferCoords(n);e&&(this._activeSelectionMode=1,this._selectWordAt(e,!0))},n.prototype._onTripleClick=function(n){var e=this._getMouseBufferCoords(n);e&&(this._activeSelectionMode=2,this._selectLineAt(e[1]))},n.prototype.shouldColumnSelect=function(n){return n.altKey&&!(i.isMac&&this._optionsService.options.macOptionClickForcesSelection)},n.prototype._onMouseMove=function(n){if(n.stopImmediatePropagation(),this._model.selectionStart){var e=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(n),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]<this._model.selectionStart[1]?0:this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(n),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var t=this._bufferService.buffer;if(this._model.selectionEnd[1]<t.lines.length){var l=t.lines.get(this._model.selectionEnd[1]);l&&0===l.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}e&&e[0]===this._model.selectionEnd[0]&&e[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},n.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._scrollLines(this._dragScrollAmount,!1);var n=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(n.ydisp+this._bufferService.rows,n.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=n.ydisp),this.refresh()}},n.prototype._onMouseUp=function(n){var e=n.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&e<500){if(n.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var t=this._mouseService.getCoords(n,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(t&&void 0!==t[0]&&void 0!==t[1]){var l=p.moveToCellSequence(t[0]-1,t[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(l,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},n.prototype._onBufferActivate=function(n){var e=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=n.activeBuffer.lines.onTrim((function(n){return e._onTrim(n)}))},n.prototype._convertViewportColToCharacterIndex=function(n,e){for(var t=e[0],l=0;e[0]>=l;l++){var o=n.loadCell(l,this._workCell).getChars().length;0===this._workCell.getWidth()?t--:o>1&&e[0]!==l&&(t+=o-1)}return t},n.prototype.setSelection=function(n,e,t){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[n,e],this._model.selectionStartLength=t,this.refresh()},n.prototype._getWordAt=function(n,e,t,l){if(void 0===t&&(t=!0),void 0===l&&(l=!0),!(n[0]>=this._bufferService.cols)){var o=this._bufferService.buffer,i=o.lines.get(n[1]);if(i){var r=o.translateBufferLineToString(n[1],!1),a=this._convertViewportColToCharacterIndex(i,n),u=a,s=n[0]-a,d=0,c=0,p=0,f=0;if(" "===r.charAt(a)){for(;a>0&&" "===r.charAt(a-1);)a--;for(;u<r.length&&" "===r.charAt(u+1);)u++}else{var h=n[0],m=n[0];0===i.getWidth(h)&&(d++,h--),2===i.getWidth(m)&&(c++,m++);var v=i.getString(m).length;for(v>1&&(f+=v-1,u+=v-1);h>0&&a>0&&!this._isCharWordSeparator(i.loadCell(h-1,this._workCell));){i.loadCell(h-1,this._workCell);var g=this._workCell.getChars().length;0===this._workCell.getWidth()?(d++,h--):g>1&&(p+=g-1,a-=g-1),a--,h--}for(;m<i.length&&u+1<r.length&&!this._isCharWordSeparator(i.loadCell(m+1,this._workCell));){i.loadCell(m+1,this._workCell);var b=this._workCell.getChars().length;2===this._workCell.getWidth()?(c++,m++):b>1&&(f+=b-1,u+=b-1),u++,m++}}u++;var _=a+s-d+p,y=Math.min(this._bufferService.cols,u-a+d+c-p-f);if(e||""!==r.slice(a,u).trim()){if(t&&0===_&&32!==i.getCodePoint(0)){var C=o.lines.get(n[1]-1);if(C&&i.isWrapped&&32!==C.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,n[1]-1],!1,!0,!1);if(w){var S=this._bufferService.cols-w.start;_-=S,y+=S}}}if(l&&_+y===this._bufferService.cols&&32!==i.getCodePoint(this._bufferService.cols-1)){var x=o.lines.get(n[1]+1);if(x&&x.isWrapped&&32!==x.getCodePoint(0)){var k=this._getWordAt([0,n[1]+1],!1,!1,!0);k&&(y+=k.length)}}return{start:_,length:y}}}}},n.prototype._selectWordAt=function(n,e){var t=this._getWordAt(n,e);if(t){for(;t.start<0;)t.start+=this._bufferService.cols,n[1]--;this._model.selectionStart=[t.start,n[1]],this._model.selectionStartLength=t.length}},n.prototype._selectToWordAt=function(n){var e=this._getWordAt(n,!0);if(e){for(var t=n[1];e.start<0;)e.start+=this._bufferService.cols,t--;if(!this._model.areSelectionValuesReversed())for(;e.start+e.length>this._bufferService.cols;)e.length-=this._bufferService.cols,t++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?e.start:e.start+e.length,t]}},n.prototype._isCharWordSeparator=function(n){return 0!==n.getWidth()&&this._optionsService.options.wordSeparator.indexOf(n.getChars())>=0},n.prototype._selectLineAt=function(n){var e=this._bufferService.buffer.getWrappedRangeForLine(n);this._model.selectionStart=[0,e.first],this._model.selectionEnd=[this._bufferService.cols,e.last],this._model.selectionStartLength=0},l([o(3,s.ICharSizeService),o(4,d.IBufferService),o(5,d.ICoreService),o(6,s.IMouseService),o(7,d.IOptionsService)],n)}();e.SelectionService=m},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n){this._bufferService=n,this.isSelectAllActive=!1,this.selectionStartLength=0}return n.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(n.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var n=this.selectionStart[0]+this.selectionStartLength;return n>this._bufferService.cols?[n%this._bufferService.cols,this.selectionStart[1]+Math.floor(n/this._bufferService.cols)]:[n,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!0,configurable:!0}),n.prototype.areSelectionValuesReversed=function(){var n=this.selectionStart,e=this.selectionEnd;return!(!n||!e)&&(n[1]>e[1]||n[1]===e[1]&&n[0]>e[0])},n.prototype.onTrim=function(n){return this.selectionStart&&(this.selectionStart[1]-=n),this.selectionEnd&&(this.selectionEnd[1]-=n),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},n}();e.SelectionModel=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(12);function o(n,e,t,l){var o=n-i(t,n),r=e-i(t,e);return d(Math.abs(o-r)-function(n,e,t){for(var l=0,o=n-i(t,n),r=e-i(t,e),u=0;u<Math.abs(o-r);u++){var s="A"===a(n,e)?-1:1,d=t.buffer.lines.get(o+s*u);d&&d.isWrapped&&l++}return l}(n,e,t),s(a(n,e),l))}function i(n,e){for(var t=0,l=n.buffer.lines.get(e),o=l&&l.isWrapped;o&&e>=0&&e<n.rows;)t++,o=(l=n.buffer.lines.get(--e))&&l.isWrapped;return t}function r(n,e,t,l,r,a){var u;return u=o(t,l,r,a).length>0?l-i(r,l):e,n<t&&u<=l||n>=t&&u<l?"C":"D"}function a(n,e){return n>e?"A":"B"}function u(n,e,t,l,o,i){for(var r=n,a=e,u="";r!==t||a!==l;)r+=o?1:-1,o&&r>i.cols-1?(u+=i.buffer.translateBufferLineToString(a,!1,n,r),r=0,n=0,a++):!o&&r<0&&(u+=i.buffer.translateBufferLineToString(a,!1,0,n+1),n=r=i.cols-1,a--);return u+i.buffer.translateBufferLineToString(a,!1,n,r)}function s(n,e){return l.C0.ESC+(e?"O":"[")+n}function d(n,e){n=Math.floor(n);for(var t="",l=0;l<n;l++)t+=e;return t}e.moveToCellSequence=function(n,e,t,l){var a=t.buffer.x,c=t.buffer.y;return t.buffer.hasScrollback?function(n,e,t,l,o,i){var a=r(n,e,t,l,o,i);return d(Math.abs(n-t),s(a,i))}(a,c,n,e,t,l):function(n,e,t,l,r,a){return 0===o(e,l,r,a).length?"":d(u(n,e,n,e-i(r,e),!1,r).length,s("D",a))}(a,c,0,e,t,l)+o(c,e,t,l)+function(n,e,t,l,a,c){var p;p=o(e,l,a,c).length>0?l-i(a,l):e;var f=l,h=r(n,e,t,l,a,c);return d(u(n,p,t,f,"C"===h,a).length,s(h,c))}(a,c,n,e,t,l)}},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=function(){function n(n){this._optionsService=n}return Object.defineProperty(n,"audioContext",{get:function(){if(!n._audioContext){var e=window.AudioContext||window.webkitAudioContext;if(!e)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;n._audioContext=new e}return n._audioContext},enumerable:!0,configurable:!0}),n.prototype.playBellSound=function(){var e=n.audioContext;if(e){var t=e.createBufferSource();e.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(n){t.buffer=n,t.connect(e.destination),t.start(0)}))}},n.prototype._base64ToArrayBuffer=function(n){for(var e=window.atob(n),t=e.length,l=new Uint8Array(t),o=0;o<t;o++)l[o]=e.charCodeAt(o);return l.buffer},n.prototype._removeMimeType=function(n){return n.split(",")[1]},n=l([o(0,i.IOptionsService)],n)}();e.SoundService=r},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),i=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},r=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var a=t(2),u=t(7),s=t(4),d=t(0),c=function(n){function e(e,t,l,o,i){var r=n.call(this)||this;return r._element=e,r._screenElement=t,r._bufferService=l,r._mouseService=o,r._selectionService=i,r._zones=[],r._areZonesActive=!1,r._lastHoverCoords=[void 0,void 0],r._initialSelectionLength=0,r.register(u.addDisposableDomListener(r._element,"mousedown",(function(n){return r._onMouseDown(n)}))),r._mouseMoveListener=function(n){return r._onMouseMove(n)},r._mouseLeaveListener=function(n){return r._onMouseLeave(n)},r._clickListener=function(n){return r._onClick(n)},r}return o(e,n),e.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},e.prototype.add=function(n){this._zones.push(n),1===this._zones.length&&this._activate()},e.prototype.clearAll=function(n,e){if(0!==this._zones.length){n&&e||(n=0,e=this._bufferService.rows-1);for(var t=0;t<this._zones.length;t++){var l=this._zones[t];(l.y1>n&&l.y1<=e+1||l.y2>n&&l.y2<=e+1||l.y1<n&&l.y2>e+1)&&(this._currentZone&&this._currentZone===l&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(t--,1))}0===this._zones.length&&this._deactivate()}},e.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},e.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},e.prototype._onMouseMove=function(n){this._lastHoverCoords[0]===n.pageX&&this._lastHoverCoords[1]===n.pageY||(this._onHover(n),this._lastHoverCoords=[n.pageX,n.pageY])},e.prototype._onHover=function(n){var e=this,t=this._findZoneEventAt(n);t!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),t&&(this._currentZone=t,t.hoverCallback&&t.hoverCallback(n),this._tooltipTimeout=setTimeout((function(){return e._onTooltip(n)}),500)))},e.prototype._onTooltip=function(n){this._tooltipTimeout=void 0;var e=this._findZoneEventAt(n);e&&e.tooltipCallback&&e.tooltipCallback(n)},e.prototype._onMouseDown=function(n){var e;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(e=this._findZoneEventAt(n))||void 0===e?void 0:e.willLinkActivate(n))&&(n.preventDefault(),n.stopImmediatePropagation())},e.prototype._onMouseLeave=function(n){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},e.prototype._onClick=function(n){var e=this._findZoneEventAt(n),t=this._getSelectionLength();e&&t===this._initialSelectionLength&&(e.clickCallback(n),n.preventDefault(),n.stopImmediatePropagation())},e.prototype._getSelectionLength=function(){var n=this._selectionService.selectionText;return n?n.length:0},e.prototype._findZoneEventAt=function(n){var e=this._mouseService.getCoords(n,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(e)for(var t=e[0],l=e[1],o=0;o<this._zones.length;o++){var i=this._zones[o];if(i.y1===i.y2){if(l===i.y1&&t>=i.x1&&t<i.x2)return i}else if(l===i.y1&&t>=i.x1||l===i.y2&&t<i.x2||l>i.y1&&l<i.y2)return i}},i([r(2,d.IBufferService),r(3,s.IMouseService),r(4,s.ISelectionService)],e)}(a.Disposable);e.MouseZoneManager=c},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(17),r=t(11),a=t(30),u=t(7),s=t(2),d=t(31),c=function(n){function e(e,t){var l=n.call(this)||this;l._terminal=e,l._renderService=t,l._liveRegionLineCount=0,l._charsToConsume=[],l._charsToAnnounce="",l._accessibilityTreeRoot=document.createElement("div"),l._accessibilityTreeRoot.classList.add("xterm-accessibility"),l._rowContainer=document.createElement("div"),l._rowContainer.classList.add("xterm-accessibility-tree"),l._rowElements=[];for(var o=0;o<l._terminal.rows;o++)l._rowElements[o]=l._createAccessibilityTreeNode(),l._rowContainer.appendChild(l._rowElements[o]);return l._topBoundaryFocusListener=function(n){return l._onBoundaryFocus(n,0)},l._bottomBoundaryFocusListener=function(n){return l._onBoundaryFocus(n,1)},l._rowElements[0].addEventListener("focus",l._topBoundaryFocusListener),l._rowElements[l._rowElements.length-1].addEventListener("focus",l._bottomBoundaryFocusListener),l._refreshRowsDimensions(),l._accessibilityTreeRoot.appendChild(l._rowContainer),l._renderRowsDebouncer=new a.RenderDebouncer(l._renderRows.bind(l)),l._refreshRows(),l._liveRegion=document.createElement("div"),l._liveRegion.classList.add("live-region"),l._liveRegion.setAttribute("aria-live","assertive"),l._accessibilityTreeRoot.appendChild(l._liveRegion),l._terminal.element.insertAdjacentElement("afterbegin",l._accessibilityTreeRoot),l.register(l._renderRowsDebouncer),l.register(l._terminal.onResize((function(n){return l._onResize(n.rows)}))),l.register(l._terminal.onRender((function(n){return l._refreshRows(n.start,n.end)}))),l.register(l._terminal.onScroll((function(){return l._refreshRows()}))),l.register(l._terminal.onA11yChar((function(n){return l._onChar(n)}))),l.register(l._terminal.onLineFeed((function(){return l._onChar("\n")}))),l.register(l._terminal.onA11yTab((function(n){return l._onTab(n)}))),l.register(l._terminal.onKey((function(n){return l._onKey(n.key)}))),l.register(l._terminal.onBlur((function(){return l._clearLiveRegion()}))),l.register(l._renderService.onDimensionsChange((function(){return l._refreshRowsDimensions()}))),l._screenDprMonitor=new d.ScreenDprMonitor,l.register(l._screenDprMonitor),l._screenDprMonitor.setListener((function(){return l._refreshRowsDimensions()})),l.register(u.addDisposableDomListener(window,"resize",(function(){return l._refreshRowsDimensions()}))),l}return o(e,n),e.prototype.dispose=function(){n.prototype.dispose.call(this),this._terminal.element.removeChild(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(n,e){var t=n.target,l=this._rowElements[0===e?1:this._rowElements.length-2];if(t.getAttribute("aria-posinset")!==(0===e?"1":""+this._terminal.buffer.lines.length)&&n.relatedTarget===l){var o,i;if(0===e?(o=t,i=this._rowElements.pop(),this._rowContainer.removeChild(i)):(o=this._rowElements.shift(),i=t,this._rowContainer.removeChild(o)),o.removeEventListener("focus",this._topBoundaryFocusListener),i.removeEventListener("focus",this._bottomBoundaryFocusListener),0===e){var r=this._createAccessibilityTreeNode();this._rowElements.unshift(r),this._rowContainer.insertAdjacentElement("afterbegin",r)}else r=this._createAccessibilityTreeNode(),this._rowElements.push(r),this._rowContainer.appendChild(r);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===e?-1:1),this._rowElements[0===e?1:this._rowElements.length-2].focus(),n.preventDefault(),n.stopImmediatePropagation()}},e.prototype._onResize=function(n){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var e=this._rowContainer.children.length;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);for(;this._rowElements.length>n;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var n=document.createElement("div");return n.setAttribute("role","listitem"),n.tabIndex=-1,this._refreshRowDimensions(n),n},e.prototype._onTab=function(n){for(var e=0;e<n;e++)this._onChar(" ")},e.prototype._onChar=function(n){var e=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==n&&(this._charsToAnnounce+=n):this._charsToAnnounce+=n,"\n"===n&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=i.tooMuchOutput)),r.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){e._accessibilityTreeRoot.appendChild(e._liveRegion)}),0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,r.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},e.prototype._onKey=function(n){this._clearLiveRegion(),this._charsToConsume.push(n)},e.prototype._refreshRows=function(n,e){this._renderRowsDebouncer.refresh(n,e,this._terminal.rows)},e.prototype._renderRows=function(n,e){for(var t=this._terminal.buffer,l=t.lines.length.toString(),o=n;o<=e;o++){var i=t.translateBufferLineToString(t.ydisp+o,!0),r=(t.ydisp+o+1).toString(),a=this._rowElements[o];a&&(0===i.length?a.innerHTML=" ":a.textContent=i,a.setAttribute("aria-posinset",r),a.setAttribute("aria-setsize",l))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var n=0;n<this._terminal.rows;n++)this._refreshRowDimensions(this._rowElements[n])}},e.prototype._refreshRowDimensions=function(n){n.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(s.Disposable);e.AccessibilityManager=c},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),i=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},r=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var a=t(58),u=t(9),s=t(2),d=t(4),c=t(0),p=t(1),f=t(10),h="xterm-dom-renderer-owner-",m="xterm-rows",v="xterm-selection",g=1,b=function(n){function e(e,t,l,o,i,r,u,s){var d=n.call(this)||this;return d._colors=e,d._element=t,d._screenElement=l,d._viewportElement=o,d._linkifier=i,d._charSizeService=r,d._optionsService=u,d._bufferService=s,d._terminalClass=g++,d._rowElements=[],d._onRequestRefreshRows=new p.EventEmitter,d._rowContainer=document.createElement("div"),d._rowContainer.classList.add(m),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add(v),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=new a.DomRendererRowFactory(document,d._optionsService,d._colors),d._element.classList.add(h+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d._linkifier.onLinkHover((function(n){return d._onLinkHover(n)})),d._linkifier.onLinkLeave((function(n){return d._onLinkLeave(n)})),d}return o(e,n),Object.defineProperty(e.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._element.classList.remove(h+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),n.prototype.dispose.call(this)},e.prototype._updateDimensions=function(){var n=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach((function(e){e.style.width=n.dimensions.canvasWidth+"px",e.style.height=n.dimensions.actualCellHeight+"px",e.style.lineHeight=n.dimensions.actualCellHeight+"px",e.style.overflow="hidden"})),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" ."+m+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},e.prototype.setColors=function(n){this._colors=n,this._injectCss()},e.prototype._injectCss=function(){var n=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var e=this._terminalSelector+" ."+m+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";e+=this._terminalSelector+" span:not(."+a.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+a.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+a.ITALIC_CLASS+" { font-style: italic;}",e+="@keyframes blink_box_shadow { 50% { box-shadow: none; }}",e+="@keyframes blink_block { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",e+=this._terminalSelector+" ."+m+":not(.xterm-focus) ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+m+".xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+":not(."+a.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+m+" ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BAR_CLASS+" { box-shadow: 1px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+m+" ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",e+=this._terminalSelector+" ."+v+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+v+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach((function(t,l){e+=n._terminalSelector+" .xterm-fg-"+l+" { color: "+t.css+"; }"+n._terminalSelector+" .xterm-bg-"+l+" { background-color: "+t.css+"; }"})),e+=this._terminalSelector+" .xterm-fg-"+u.INVERTED_DEFAULT_COLOR+" { color: "+f.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+u.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=e},e.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},e.prototype._refreshRowElements=function(n,e){for(var t=this._rowElements.length;t<=e;t++){var l=document.createElement("div");this._rowContainer.appendChild(l),this._rowElements.push(l)}for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop())},e.prototype.onResize=function(n,e){this._refreshRowElements(n,e),this._updateDimensions()},e.prototype.onCharSizeChanged=function(){this._updateDimensions()},e.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},e.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},e.prototype.onSelectionChanged=function(n,e,t){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(n&&e){var l=n[1]-this._bufferService.buffer.ydisp,o=e[1]-this._bufferService.buffer.ydisp,i=Math.max(l,0),r=Math.min(o,this._bufferService.rows-1);if(!(i>=this._bufferService.rows||r<0)){var a=document.createDocumentFragment();t?a.appendChild(this._createSelectionElement(i,n[0],e[0],r-i+1)):(a.appendChild(this._createSelectionElement(i,l===i?n[0]:0,i===r?e[0]:this._bufferService.cols)),a.appendChild(this._createSelectionElement(i+1,0,this._bufferService.cols,r-i-1)),i!==r&&a.appendChild(this._createSelectionElement(r,0,o===r?e[0]:this._bufferService.cols))),this._selectionContainer.appendChild(a)}}},e.prototype._createSelectionElement=function(n,e,t,l){void 0===l&&(l=1);var o=document.createElement("div");return o.style.height=l*this.dimensions.actualCellHeight+"px",o.style.top=n*this.dimensions.actualCellHeight+"px",o.style.left=e*this.dimensions.actualCellWidth+"px",o.style.width=this.dimensions.actualCellWidth*(t-e)+"px",o},e.prototype.onCursorMove=function(){},e.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},e.prototype.clear=function(){this._rowElements.forEach((function(n){return n.innerHTML=""}))},e.prototype.renderRows=function(n,e){for(var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=this._bufferService.buffer.x,o=this._optionsService.options.cursorBlink,i=n;i<=e;i++){var r=this._rowElements[i];r.innerHTML="";var a=i+this._bufferService.buffer.ydisp,u=this._bufferService.buffer.lines.get(a);r.appendChild(this._rowFactory.createRow(u,a===t,this._optionsService.options.cursorStyle,l,o,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(e.prototype,"_terminalSelector",{get:function(){return"."+h+this._terminalClass},enumerable:!0,configurable:!0}),e.prototype.registerCharacterJoiner=function(n){return-1},e.prototype.deregisterCharacterJoiner=function(n){return!1},e.prototype._onLinkHover=function(n){this._setCellUnderline(n.x1,n.x2,n.y1,n.y2,n.cols,!0)},e.prototype._onLinkLeave=function(n){this._setCellUnderline(n.x1,n.x2,n.y1,n.y2,n.cols,!1)},e.prototype._setCellUnderline=function(n,e,t,l,o,i){for(;n!==e||t!==l;){var r=this._rowElements[t];if(!r)return;var a=r.children[n];a&&(a.style.textDecoration=i?"underline":"none"),++n>=o&&(n=0,t++)}},i([r(5,d.ICharSizeService),r(6,c.IOptionsService),r(7,c.IBufferService)],e)}(s.Disposable);e.DomRenderer=b},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(9),o=t(3),i=t(5),r=t(10);e.BOLD_CLASS="xterm-bold",e.DIM_CLASS="xterm-dim",e.ITALIC_CLASS="xterm-italic",e.UNDERLINE_CLASS="xterm-underline",e.CURSOR_CLASS="xterm-cursor",e.CURSOR_BLINK_CLASS="xterm-cursor-blink",e.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",e.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",e.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var a=function(){function n(n,e,t){this._document=n,this._optionsService=e,this._colors=t,this._workCell=new i.CellData}return n.prototype.setColors=function(n){this._colors=n},n.prototype.createRow=function(n,t,i,a,s,d,c){for(var p=this._document.createDocumentFragment(),f=0,h=Math.min(n.length,c)-1;h>=0;h--)if(n.loadCell(h,this._workCell).getCode()!==o.NULL_CELL_CODE||t&&h===a){f=h+1;break}for(h=0;h<f;h++){n.loadCell(h,this._workCell);var m=this._workCell.getWidth();if(0!==m){var v=this._document.createElement("span");if(m>1&&(v.style.width=d*m+"px"),t&&h===a)switch(v.classList.add(e.CURSOR_CLASS),s&&v.classList.add(e.CURSOR_BLINK_CLASS),i){case"bar":v.classList.add(e.CURSOR_STYLE_BAR_CLASS);break;case"underline":v.classList.add(e.CURSOR_STYLE_UNDERLINE_CLASS);break;default:v.classList.add(e.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&v.classList.add(e.BOLD_CLASS),this._workCell.isItalic()&&v.classList.add(e.ITALIC_CLASS),this._workCell.isDim()&&v.classList.add(e.DIM_CLASS),this._workCell.isUnderline()&&v.classList.add(e.UNDERLINE_CLASS),v.textContent=this._workCell.getChars()||o.WHITESPACE_CELL_CHAR;var g=this._workCell.getFgColor(),b=this._workCell.getFgColorMode(),_=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var w=g;g=_,_=w;var S=b;b=y,y=S}switch(b){case 16777216:case 33554432:this._workCell.isBold()&&g<8&&this._optionsService.options.drawBoldTextInBrightColors&&(g+=8),this._applyMinimumContrast(v,this._colors.background,this._colors.ansi[g])||v.classList.add("xterm-fg-"+g);break;case 50331648:var x=r.rgbaToColor(g>>16&255,g>>8&255,255&g);this._applyMinimumContrast(v,this._colors.background,x)||this._addStyle(v,"color:#"+u(g.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(v,this._colors.background,this._colors.foreground)||C&&v.classList.add("xterm-fg-"+l.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:v.classList.add("xterm-bg-"+_);break;case 50331648:this._addStyle(v,"background-color:#"+u(_.toString(16),"0",6));break;case 0:default:C&&v.classList.add("xterm-bg-"+l.INVERTED_DEFAULT_COLOR)}p.appendChild(v)}}return p},n.prototype._applyMinimumContrast=function(n,e,t){if(1===this._optionsService.options.minimumContrastRatio)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===l&&(l=r.ensureContrastRatio(e,t,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=l?l:null)),!!l&&(this._addStyle(n,"color:"+l.css),!0)},n.prototype._addStyle=function(n,e){n.setAttribute("style",""+(n.getAttribute("style")||"")+e+";")},n}();function u(n,e,t){for(;n.length<t;)n=e+n;return n}e.DomRendererRowFactory=a},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(12),o={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};e.evaluateKeyboardEvent=function(n,e,t,i){var r={type:0,cancel:!1,key:void 0},a=(n.shiftKey?1:0)|(n.altKey?2:0)|(n.ctrlKey?4:0)|(n.metaKey?8:0);switch(n.keyCode){case 0:"UIKeyInputUpArrow"===n.key?r.key=e?l.C0.ESC+"OA":l.C0.ESC+"[A":"UIKeyInputLeftArrow"===n.key?r.key=e?l.C0.ESC+"OD":l.C0.ESC+"[D":"UIKeyInputRightArrow"===n.key?r.key=e?l.C0.ESC+"OC":l.C0.ESC+"[C":"UIKeyInputDownArrow"===n.key&&(r.key=e?l.C0.ESC+"OB":l.C0.ESC+"[B");break;case 8:if(n.shiftKey){r.key=l.C0.BS;break}if(n.altKey){r.key=l.C0.ESC+l.C0.DEL;break}r.key=l.C0.DEL;break;case 9:if(n.shiftKey){r.key=l.C0.ESC+"[Z";break}r.key=l.C0.HT,r.cancel=!0;break;case 13:r.key=l.C0.CR,r.cancel=!0;break;case 27:r.key=l.C0.ESC,r.cancel=!0;break;case 37:if(n.metaKey)break;a?(r.key=l.C0.ESC+"[1;"+(a+1)+"D",r.key===l.C0.ESC+"[1;3D"&&(r.key=l.C0.ESC+(t?"b":"[1;5D"))):r.key=e?l.C0.ESC+"OD":l.C0.ESC+"[D";break;case 39:if(n.metaKey)break;a?(r.key=l.C0.ESC+"[1;"+(a+1)+"C",r.key===l.C0.ESC+"[1;3C"&&(r.key=l.C0.ESC+(t?"f":"[1;5C"))):r.key=e?l.C0.ESC+"OC":l.C0.ESC+"[C";break;case 38:if(n.metaKey)break;a?(r.key=l.C0.ESC+"[1;"+(a+1)+"A",t||r.key!==l.C0.ESC+"[1;3A"||(r.key=l.C0.ESC+"[1;5A")):r.key=e?l.C0.ESC+"OA":l.C0.ESC+"[A";break;case 40:if(n.metaKey)break;a?(r.key=l.C0.ESC+"[1;"+(a+1)+"B",t||r.key!==l.C0.ESC+"[1;3B"||(r.key=l.C0.ESC+"[1;5B")):r.key=e?l.C0.ESC+"OB":l.C0.ESC+"[B";break;case 45:n.shiftKey||n.ctrlKey||(r.key=l.C0.ESC+"[2~");break;case 46:r.key=a?l.C0.ESC+"[3;"+(a+1)+"~":l.C0.ESC+"[3~";break;case 36:r.key=a?l.C0.ESC+"[1;"+(a+1)+"H":e?l.C0.ESC+"OH":l.C0.ESC+"[H";break;case 35:r.key=a?l.C0.ESC+"[1;"+(a+1)+"F":e?l.C0.ESC+"OF":l.C0.ESC+"[F";break;case 33:n.shiftKey?r.type=2:r.key=l.C0.ESC+"[5~";break;case 34:n.shiftKey?r.type=3:r.key=l.C0.ESC+"[6~";break;case 112:r.key=a?l.C0.ESC+"[1;"+(a+1)+"P":l.C0.ESC+"OP";break;case 113:r.key=a?l.C0.ESC+"[1;"+(a+1)+"Q":l.C0.ESC+"OQ";break;case 114:r.key=a?l.C0.ESC+"[1;"+(a+1)+"R":l.C0.ESC+"OR";break;case 115:r.key=a?l.C0.ESC+"[1;"+(a+1)+"S":l.C0.ESC+"OS";break;case 116:r.key=a?l.C0.ESC+"[15;"+(a+1)+"~":l.C0.ESC+"[15~";break;case 117:r.key=a?l.C0.ESC+"[17;"+(a+1)+"~":l.C0.ESC+"[17~";break;case 118:r.key=a?l.C0.ESC+"[18;"+(a+1)+"~":l.C0.ESC+"[18~";break;case 119:r.key=a?l.C0.ESC+"[19;"+(a+1)+"~":l.C0.ESC+"[19~";break;case 120:r.key=a?l.C0.ESC+"[20;"+(a+1)+"~":l.C0.ESC+"[20~";break;case 121:r.key=a?l.C0.ESC+"[21;"+(a+1)+"~":l.C0.ESC+"[21~";break;case 122:r.key=a?l.C0.ESC+"[23;"+(a+1)+"~":l.C0.ESC+"[23~";break;case 123:r.key=a?l.C0.ESC+"[24;"+(a+1)+"~":l.C0.ESC+"[24~";break;default:if(!n.ctrlKey||n.shiftKey||n.altKey||n.metaKey)if(t&&!i||!n.altKey||n.metaKey)t&&!n.altKey&&!n.ctrlKey&&n.metaKey?65===n.keyCode&&(r.type=1):n.key&&!n.ctrlKey&&!n.altKey&&!n.metaKey&&n.keyCode>=48&&1===n.key.length?r.key=n.key:n.key&&n.ctrlKey&&"_"===n.key&&(r.key=l.C0.US);else{var u=o[n.keyCode],s=u&&u[n.shiftKey?1:0];s?r.key=l.C0.ESC+s:n.keyCode>=65&&n.keyCode<=90&&(r.key=l.C0.ESC+String.fromCharCode(n.ctrlKey?n.keyCode-64:n.keyCode+32))}else n.keyCode>=65&&n.keyCode<=90?r.key=String.fromCharCode(n.keyCode-64):32===n.keyCode?r.key=l.C0.NUL:n.keyCode>=51&&n.keyCode<=55?r.key=String.fromCharCode(n.keyCode-51+27):56===n.keyCode?r.key=l.C0.DEL:219===n.keyCode?r.key=l.C0.ESC:220===n.keyCode?r.key=l.C0.FS:221===n.keyCode&&(r.key=l.C0.GS)}return r}},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(3);e.handleWindowsModeLineFeed=function(n){var e,t=null===(e=n.buffer.lines.get(n.buffer.ybase+n.buffer.y-1))||void 0===e?void 0:e.get(n.cols-1),o=n.buffer.lines.get(n.buffer.ybase+n.buffer.y);o&&t&&(o.isWrapped=t[l.CHAR_DATA_CODE_INDEX]!==l.NULL_CELL_CODE&&t[l.CHAR_DATA_CODE_INDEX]!==l.WHITESPACE_CELL_CODE)}},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),i=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},r=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var a=t(30),u=t(1),s=t(2),d=t(31),c=t(7),p=t(0),f=t(4),h=function(n){function e(e,t,l,o,i){var r=n.call(this)||this;if(r._renderer=e,r._rowCount=t,r.screenElement=l,r.optionsService=o,r.charSizeService=i,r._isPaused=!1,r._needsFullRefresh=!1,r._canvasWidth=0,r._canvasHeight=0,r._onDimensionsChange=new u.EventEmitter,r._onRender=new u.EventEmitter,r._onRefreshRequest=new u.EventEmitter,r._renderDebouncer=new a.RenderDebouncer((function(n,e){return r._renderRows(n,e)})),r.register(r._renderDebouncer),r._screenDprMonitor=new d.ScreenDprMonitor,r._screenDprMonitor.setListener((function(){return r.onDevicePixelRatioChange()})),r.register(r._screenDprMonitor),r.register(o.onOptionChange((function(){return r._renderer.onOptionsChanged()}))),r.register(i.onCharSizeChange((function(){return r.onCharSizeChanged()}))),r._renderer.onRequestRefreshRows((function(n){return r.refreshRows(n.start,n.end)})),r.register(c.addDisposableDomListener(window,"resize",(function(){return r.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var s=new IntersectionObserver((function(n){return r._onIntersectionChange(n[n.length-1])}),{threshold:0});s.observe(l),r.register({dispose:function(){return s.disconnect()}})}return r}return o(e,n),Object.defineProperty(e.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),e.prototype._onIntersectionChange=function(n){this._isPaused=0===n.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},e.prototype.refreshRows=function(n,e){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(n,e,this._rowCount)},e.prototype._renderRows=function(n,e){this._renderer.renderRows(n,e),this._onRender.fire({start:n,end:e})},e.prototype.resize=function(n,e){this._rowCount=e,this._fireOnCanvasResize()},e.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},e.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},e.prototype.dispose=function(){this._renderer.dispose(),n.prototype.dispose.call(this)},e.prototype.setRenderer=function(n){var e=this;this._renderer.dispose(),this._renderer=n,this._renderer.onRequestRefreshRows((function(n){return e.refreshRows(n.start,n.end)})),this.refreshRows(0,this._rowCount-1)},e.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},e.prototype.setColors=function(n){this._renderer.setColors(n),this._fullRefresh()},e.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},e.prototype.onResize=function(n,e){this._renderer.onResize(n,e),this._fullRefresh()},e.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},e.prototype.onBlur=function(){this._renderer.onBlur()},e.prototype.onFocus=function(){this._renderer.onFocus()},e.prototype.onSelectionChanged=function(n,e,t){this._renderer.onSelectionChanged(n,e,t)},e.prototype.onCursorMove=function(){this._renderer.onCursorMove()},e.prototype.clear=function(){this._renderer.clear()},e.prototype.registerCharacterJoiner=function(n){return this._renderer.registerCharacterJoiner(n)},e.prototype.deregisterCharacterJoiner=function(n){return this._renderer.deregisterCharacterJoiner(n)},i([r(3,p.IOptionsService),r(4,f.ICharSizeService)],e)}(s.Disposable);e.RenderService=h},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(1),o=t(11),i=t(32);e.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",e.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",bellSound:e.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:o.isMac,rendererType:"canvas",windowsMode:!1,convertEol:!1,termName:"xterm",screenKeys:!1,cancelEvents:!1,useFlowControl:!1,wordSeparator:" ()[]{}',:;\"`"});var r=["cols","rows"],a=function(){function n(n){var t=this;this._onOptionChange=new l.EventEmitter,this.options=i.clone(e.DEFAULT_OPTIONS),Object.keys(n).forEach((function(e){e in t.options&&(t.options[e]=n[e])}))}return Object.defineProperty(n.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),n.prototype.setOption=function(n,t){if(!(n in e.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');if(-1!==r.indexOf(n))throw new Error('Option "'+n+'" can only be set in the constructor');this.options[n]!==t&&(t=this._sanitizeAndValidateOption(n,t),this.options[n]!==t&&(this.options[n]=t,this._onOptionChange.fire(n)))},n.prototype._sanitizeAndValidateOption=function(n,t){switch(n){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":t||(t=e.DEFAULT_OPTIONS[n]);break;case"lineHeight":case"tabStopWidth":if(t<1)throw new Error(n+" cannot be less than 1, value: "+t);break;case"minimumContrastRatio":t=Math.max(1,Math.min(21,Math.round(10*t)/10));case"scrollback":if((t=Math.min(t,4294967295))<0)throw new Error(n+" cannot be less than 0, value: "+t);break;case"fastScrollSensitivity":case"scrollSensitivity":if(t<=0)throw new Error(n+" cannot be less than or equal to 0, value: "+t)}return t},n.prototype.getOption=function(n){if(!(n in e.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');return this.options[n]},n}();e.OptionsService=a},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=t(1),a=function(){function n(n,e,t){this.document=n,this.parentElement=e,this._optionsService=t,this.width=0,this.height=0,this._onCharSizeChange=new r.EventEmitter,this._measureStrategy=new u(n,e,this._optionsService)}return Object.defineProperty(n.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),n.prototype.measure=function(){var n=this._measureStrategy.measure();n.width===this.width&&n.height===this.height||(this.width=n.width,this.height=n.height,this._onCharSizeChange.fire())},l([o(2,i.IOptionsService)],n)}();e.CharSizeService=a;var u=function(){function n(n,e,t){this._document=n,this._parentElement=e,this._optionsService=t,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return n.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var n=this._measureElement.getBoundingClientRect();return 0!==n.width&&0!==n.height&&(this._result.width=n.width,this._result.height=Math.ceil(n.height)),this._result},n}()},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=t(65);e.MINIMUM_COLS=2,e.MINIMUM_ROWS=1;var a=function(){function n(n){this._optionsService=n,this.cols=Math.max(n.options.cols,e.MINIMUM_COLS),this.rows=Math.max(n.options.rows,e.MINIMUM_ROWS),this.buffers=new r.BufferSet(n,this)}return Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),n.prototype.resize=function(n,e){this.cols=n,this.rows=e},n.prototype.reset=function(){this.buffers=new r.BufferSet(this._optionsService,this)},l([o(0,i.IOptionsService)],n)}();e.BufferService=a},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(66),o=t(1),i=function(){function n(n,e){this.optionsService=n,this.bufferService=e,this._onBufferActivate=new o.EventEmitter,this._normal=new l.Buffer(!0,n,e),this._normal.fillViewportRows(),this._alt=new l.Buffer(!1,n,e),this._activeBuffer=this._normal,this.setupTabStops()}return Object.defineProperty(n.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),n.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},n.prototype.activateAltBuffer=function(n){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(n),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},n.prototype.resize=function(n,e){this._normal.resize(n,e),this._alt.resize(n,e)},n.prototype.setupTabStops=function(n){this._normal.setupTabStops(n),this._alt.setupTabStops(n)},n}();e.BufferSet=i},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(67),o=t(16),i=t(5),r=t(3),a=t(68),u=t(69),s=t(18);e.MAX_BUFFER_SIZE=4294967295;var d=function(){function n(n,e,t){this._hasScrollback=n,this._optionsService=e,this._bufferService=t,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=o.DEFAULT_ATTR_DATA.clone(),this.savedCharset=s.DEFAULT_CHARSET,this.markers=[],this._nullCell=i.CellData.fromCharData([0,r.NULL_CELL_CHAR,r.NULL_CELL_WIDTH,r.NULL_CELL_CODE]),this._whitespaceCell=i.CellData.fromCharData([0,r.WHITESPACE_CELL_CHAR,r.WHITESPACE_CELL_WIDTH,r.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new l.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return n.prototype.getNullCell=function(n){return n?(this._nullCell.fg=n.fg,this._nullCell.bg=n.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},n.prototype.getWhitespaceCell=function(n){return n?(this._whitespaceCell.fg=n.fg,this._whitespaceCell.bg=n.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},n.prototype.getBlankLine=function(n,e){return new o.BufferLine(this._bufferService.cols,this.getNullCell(n),e)},Object.defineProperty(n.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isCursorInViewport",{get:function(){var n=this.ybase+this.y-this.ydisp;return n>=0&&n<this._rows},enumerable:!0,configurable:!0}),n.prototype._getCorrectBufferLength=function(n){if(!this._hasScrollback)return n;var t=n+this._optionsService.options.scrollback;return t>e.MAX_BUFFER_SIZE?e.MAX_BUFFER_SIZE:t},n.prototype.fillViewportRows=function(n){if(0===this.lines.length){void 0===n&&(n=o.DEFAULT_ATTR_DATA);for(var e=this._rows;e--;)this.lines.push(this.getBlankLine(n))}},n.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new l.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},n.prototype.resize=function(n,e){var t=this.getNullCell(o.DEFAULT_ATTR_DATA),l=this._getCorrectBufferLength(e);if(l>this.lines.maxLength&&(this.lines.maxLength=l),this.lines.length>0){if(this._cols<n)for(var i=0;i<this.lines.length;i++)this.lines.get(i).resize(n,t);var r=0;if(this._rows<e)for(var a=this._rows;a<e;a++)this.lines.length<e+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new o.BufferLine(n,t)):this.ybase>0&&this.lines.length<=this.ybase+this.y+r+1?(this.ybase--,r++,this.ydisp>0&&this.ydisp--):this.lines.push(new o.BufferLine(n,t)));else for(a=this._rows;a>e;a--)this.lines.length>e+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(l<this.lines.maxLength){var u=this.lines.length-l;u>0&&(this.lines.trimStart(u),this.ybase=Math.max(this.ybase-u,0),this.ydisp=Math.max(this.ydisp-u,0),this.savedY=Math.max(this.savedY-u,0)),this.lines.maxLength=l}this.x=Math.min(this.x,n-1),this.y=Math.min(this.y,e-1),r&&(this.y+=r),this.savedX=Math.min(this.savedX,n-1),this.scrollTop=0}if(this.scrollBottom=e-1,this._isReflowEnabled&&(this._reflow(n,e),this._cols>n))for(i=0;i<this.lines.length;i++)this.lines.get(i).resize(n,t);this._cols=n,this._rows=e},Object.defineProperty(n.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!0,configurable:!0}),n.prototype._reflow=function(n,e){this._cols!==n&&(n>this._cols?this._reflowLarger(n,e):this._reflowSmaller(n,e))},n.prototype._reflowLarger=function(n,e){var t=a.reflowLargerGetLinesToRemove(this.lines,this._cols,n,this.ybase+this.y,this.getNullCell(o.DEFAULT_ATTR_DATA));if(t.length>0){var l=a.reflowLargerCreateNewLayout(this.lines,t);a.reflowLargerApplyNewLayout(this.lines,l.layout),this._reflowLargerAdjustViewport(n,e,l.countRemoved)}},n.prototype._reflowLargerAdjustViewport=function(n,e,t){for(var l=this.getNullCell(o.DEFAULT_ATTR_DATA),i=t;i-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<e&&this.lines.push(new o.BufferLine(n,l))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-t,0)},n.prototype._reflowSmaller=function(n,e){for(var t=this.getNullCell(o.DEFAULT_ATTR_DATA),l=[],i=0,r=this.lines.length-1;r>=0;r--){var u=this.lines.get(r);if(!(!u||!u.isWrapped&&u.getTrimmedLength()<=n)){for(var s=[u];u.isWrapped&&r>0;)u=this.lines.get(--r),s.unshift(u);var d=this.ybase+this.y;if(!(d>=r&&d<r+s.length)){var c,p=s[s.length-1].getTrimmedLength(),f=a.reflowSmallerGetNewLineLengths(s,this._cols,n),h=f.length-s.length;c=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+h):Math.max(0,this.lines.length-this.lines.maxLength+h);for(var m=[],v=0;v<h;v++){var g=this.getBlankLine(o.DEFAULT_ATTR_DATA,!0);m.push(g)}m.length>0&&(l.push({start:r+s.length+i,newLines:m}),i+=m.length),s.push.apply(s,m);var b=f.length-1,_=f[b];0===_&&(_=f[--b]);for(var y=s.length-h-1,C=p;y>=0;){var w=Math.min(C,_);if(s[b].copyCellsFrom(s[y],C-w,_-w,w,!0),0==(_-=w)&&(_=f[--b]),0==(C-=w)){y--;var S=Math.max(y,0);C=a.getWrappedLineTrimmedLength(s,S,this._cols)}}for(v=0;v<s.length;v++)f[v]<n&&s[v].setCell(f[v],t);for(var x=h-c;x-- >0;)0===this.ybase?this.y<e-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+i)-e&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+h,this.ybase+e-1)}}}if(l.length>0){var k=[],E=[];for(v=0;v<this.lines.length;v++)E.push(this.lines.get(v));var T=this.lines.length,R=T-1,I=0,D=l[I];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+i);var F=0;for(v=Math.min(this.lines.maxLength-1,T+i-1);v>=0;v--)if(D&&D.start>R+F){for(var O=D.newLines.length-1;O>=0;O--)this.lines.set(v--,D.newLines[O]);v++,k.push({index:R+1,amount:D.newLines.length}),F+=D.newLines.length,D=l[++I]}else this.lines.set(v,E[R--]);var M=0;for(v=k.length-1;v>=0;v--)k[v].index+=M,this.lines.onInsertEmitter.fire(k[v]),M+=k[v].amount;var N=Math.max(0,T+i-this.lines.maxLength);N>0&&this.lines.onTrimEmitter.fire(N)}},n.prototype.stringIndexToBufferIndex=function(n,e,t){for(void 0===t&&(t=!1);e;){var l=this.lines.get(n);if(!l)return[-1,-1];for(var o=t?l.getTrimmedLength():l.length,i=0;i<o;++i)if(l.get(i)[r.CHAR_DATA_WIDTH_INDEX]&&(e-=l.get(i)[r.CHAR_DATA_CHAR_INDEX].length||1),e<0)return[n,i];n++}return[n,0]},n.prototype.translateBufferLineToString=function(n,e,t,l){void 0===t&&(t=0);var o=this.lines.get(n);return o?o.translateToString(e,t,l):""},n.prototype.getWrappedRangeForLine=function(n){for(var e=n,t=n;e>0&&this.lines.get(e).isWrapped;)e--;for(;t+1<this.lines.length&&this.lines.get(t+1).isWrapped;)t++;return{first:e,last:t}},n.prototype.setupTabStops=function(n){for(null!=n?this.tabs[n]||(n=this.prevStop(n)):(this.tabs={},n=0);n<this._cols;n+=this._optionsService.options.tabStopWidth)this.tabs[n]=!0},n.prototype.prevStop=function(n){for(null==n&&(n=this.x);!this.tabs[--n]&&n>0;);return n>=this._cols?this._cols-1:n<0?0:n},n.prototype.nextStop=function(n){for(null==n&&(n=this.x);!this.tabs[++n]&&n<this._cols;);return n>=this._cols?this._cols-1:n<0?0:n},n.prototype.addMarker=function(n){var e=this,t=new u.Marker(n);return this.markers.push(t),t.register(this.lines.onTrim((function(n){t.line-=n,t.line<0&&t.dispose()}))),t.register(this.lines.onInsert((function(n){t.line>=n.index&&(t.line+=n.amount)}))),t.register(this.lines.onDelete((function(n){t.line>=n.index&&t.line<n.index+n.amount&&t.dispose(),t.line>n.index&&(t.line-=n.amount)}))),t.register(t.onDispose((function(){return e._removeMarker(t)}))),t},n.prototype._removeMarker=function(n){this.markers.splice(this.markers.indexOf(n),1)},n.prototype.iterator=function(n,e,t,l,o){return new c(this,n,e,t,l,o)},n}();e.Buffer=d;var c=function(){function n(n,e,t,l,o,i){void 0===t&&(t=0),void 0===l&&(l=n.lines.length),void 0===o&&(o=0),void 0===i&&(i=0),this._buffer=n,this._trimRight=e,this._startIndex=t,this._endIndex=l,this._startOverscan=o,this._endOverscan=i,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return n.prototype.hasNext=function(){return this._current<this._endIndex},n.prototype.next=function(){var n=this._buffer.getWrappedRangeForLine(this._current);n.first<this._startIndex-this._startOverscan&&(n.first=this._startIndex-this._startOverscan),n.last>this._endIndex+this._endOverscan&&(n.last=this._endIndex+this._endOverscan),n.first=Math.max(n.first,0),n.last=Math.min(n.last,this._buffer.lines.length);for(var e="",t=n.first;t<=n.last;++t)e+=this._buffer.translateBufferLineToString(t,this._trimRight);return this._current=n.last+1,{range:n,content:e}},n}();e.BufferStringIterator=c},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t(1),o=function(){function n(n){this._maxLength=n,this.onDeleteEmitter=new l.EventEmitter,this.onInsertEmitter=new l.EventEmitter,this.onTrimEmitter=new l.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(n.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxLength",{get:function(){return this._maxLength},set:function(n){if(this._maxLength!==n){for(var e=new Array(n),t=0;t<Math.min(n,this.length);t++)e[t]=this._array[this._getCyclicIndex(t)];this._array=e,this._maxLength=n,this._startIndex=0}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this._length},set:function(n){if(n>this._length)for(var e=this._length;e<n;e++)this._array[e]=void 0;this._length=n},enumerable:!0,configurable:!0}),n.prototype.get=function(n){return this._array[this._getCyclicIndex(n)]},n.prototype.set=function(n,e){this._array[this._getCyclicIndex(n)]=e},n.prototype.push=function(n){this._array[this._getCyclicIndex(this._length)]=n,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},n.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(n.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!0,configurable:!0}),n.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},n.prototype.splice=function(n,e){for(var t=[],l=2;l<arguments.length;l++)t[l-2]=arguments[l];if(e){for(var o=n;o<this._length-e;o++)this._array[this._getCyclicIndex(o)]=this._array[this._getCyclicIndex(o+e)];this._length-=e}for(o=this._length-1;o>=n;o--)this._array[this._getCyclicIndex(o+t.length)]=this._array[this._getCyclicIndex(o)];for(o=0;o<t.length;o++)this._array[this._getCyclicIndex(n+o)]=t[o];if(this._length+t.length>this._maxLength){var i=this._length+t.length-this._maxLength;this._startIndex+=i,this._length=this._maxLength,this.onTrimEmitter.fire(i)}else this._length+=t.length},n.prototype.trimStart=function(n){n>this._length&&(n=this._length),this._startIndex+=n,this._length-=n,this.onTrimEmitter.fire(n)},n.prototype.shiftElements=function(n,e,t){if(!(e<=0)){if(n<0||n>=this._length)throw new Error("start argument out of range");if(n+t<0)throw new Error("Cannot shift elements in list beyond index 0");if(t>0){for(var l=e-1;l>=0;l--)this.set(n+l+t,this.get(n+l));var o=n+e+t-this._length;if(o>0)for(this._length+=o;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(l=0;l<e;l++)this.set(n+l+t,this.get(n+l))}},n.prototype._getCyclicIndex=function(n){return(this._startIndex+n)%this._maxLength},n}();e.CircularList=o},function(n,e,t){"use strict";function l(n,e,t){if(e===n.length-1)return n[e].getTrimmedLength();var l=!n[e].hasContent(t-1)&&1===n[e].getWidth(t-1),o=2===n[e+1].getWidth(0);return l&&o?t-1:t}Object.defineProperty(e,"__esModule",{value:!0}),e.reflowLargerGetLinesToRemove=function(n,e,t,o,i){for(var r=[],a=0;a<n.length-1;a++){var u=a,s=n.get(++u);if(s.isWrapped){for(var d=[n.get(a)];u<n.length&&s.isWrapped;)d.push(s),s=n.get(++u);if(o>=a&&o<u)a+=d.length-1;else{for(var c=0,p=l(d,c,e),f=1,h=0;f<d.length;){var m=l(d,f,e),v=Math.min(m-h,t-p);d[c].copyCellsFrom(d[f],h,p,v,!1),(p+=v)===t&&(c++,p=0),(h+=v)===m&&(f++,h=0),0===p&&0!==c&&2===d[c-1].getWidth(t-1)&&(d[c].copyCellsFrom(d[c-1],t-1,p++,1,!1),d[c-1].setCell(t-1,i))}d[c].replaceCells(p,t,i);for(var g=0,b=d.length-1;b>0&&(b>c||0===d[b].getTrimmedLength());b--)g++;g>0&&(r.push(a+d.length-g),r.push(g)),a+=d.length-1}}}return r},e.reflowLargerCreateNewLayout=function(n,e){for(var t=[],l=0,o=e[l],i=0,r=0;r<n.length;r++)if(o===r){var a=e[++l];n.onDeleteEmitter.fire({index:r-i,amount:a}),r+=a-1,i+=a,o=e[++l]}else t.push(r);return{layout:t,countRemoved:i}},e.reflowLargerApplyNewLayout=function(n,e){for(var t=[],l=0;l<e.length;l++)t.push(n.get(e[l]));for(l=0;l<t.length;l++)n.set(l,t[l]);n.length=e.length},e.reflowSmallerGetNewLineLengths=function(n,e,t){for(var o=[],i=n.map((function(t,o){return l(n,o,e)})).reduce((function(n,e){return n+e})),r=0,a=0,u=0;u<i;){if(i-u<t){o.push(i-u);break}r+=t;var s=l(n,a,e);r>s&&(r-=s,a++);var d=2===n[a].getWidth(r-1);d&&r--;var c=d?t-1:t;o.push(c),u+=c}return o},e.getWrappedLineTrimmedLength=l},function(n,e,t){"use strict";var l,o=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var i=t(1),r=function(n){function e(t){var l=n.call(this)||this;return l.line=t,l._id=e._nextId++,l.isDisposed=!1,l._onDispose=new i.EventEmitter,l}return o(e,n),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},e._nextId=1,e}(t(2).Disposable);e.Marker=r},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(4),r=t(29),a=function(){function n(n,e){this._renderService=n,this._charSizeService=e}return n.prototype.getCoords=function(n,e,t,l,o){return r.getCoords(n,e,t,l,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,o)},n.prototype.getRawByteCoords=function(n,e,t,l){var o=this.getCoords(n,e,t,l);return r.getRawByteCoords(o)},l([o(0,i.IRenderService),o(1,i.ICharSizeService)],n)}();e.MouseService=a},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=t(1),a=t(32),u=Object.freeze({applicationCursorKeys:!1}),s=function(){function n(n,e,t,l){this._scrollToBottom=n,this._bufferService=e,this._logService=t,this._optionsService=l,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new r.EventEmitter,this._onUserInput=new r.EventEmitter,this._onBinary=new r.EventEmitter,this.decPrivateModes=a.clone(u)}return Object.defineProperty(n.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),n.prototype.reset=function(){this.decPrivateModes=a.clone(u)},n.prototype.triggerDataEvent=function(n,e){if(void 0===e&&(e=!1),!this._optionsService.options.disableStdin){var t=this._bufferService.buffer;t.ybase!==t.ydisp&&this._scrollToBottom(),e&&this._onUserInput.fire(),this._logService.debug('sending data "'+n+'"',(function(){return n.split("").map((function(n){return n.charCodeAt(0)}))})),this._onData.fire(n)}},n.prototype.triggerBinaryEvent=function(n){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+n+'"',(function(){return n.split("").map((function(n){return n.charCodeAt(0)}))})),this._onBinary.fire(n))},l([o(1,i.IBufferService),o(2,i.ILogService),o(3,i.IOptionsService)],n)}();e.CoreService=s},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}},i=this&&this.__spreadArrays||function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;var l=Array(n),o=0;for(e=0;e<t;e++)for(var i=arguments[e],r=0,a=i.length;r<a;r++,o++)l[o]=i[r];return l};Object.defineProperty(e,"__esModule",{value:!0});var r,a=t(0);!function(n){n[n.DEBUG=0]="DEBUG",n[n.INFO=1]="INFO",n[n.WARN=2]="WARN",n[n.ERROR=3]="ERROR",n[n.OFF=4]="OFF"}(r=e.LogLevel||(e.LogLevel={}));var u={debug:r.DEBUG,info:r.INFO,warn:r.WARN,error:r.ERROR,off:r.OFF},s=function(){function n(n){var e=this;this._optionsService=n,this._updateLogLevel(),this._optionsService.onOptionChange((function(n){"logLevel"===n&&e._updateLogLevel()}))}return n.prototype._updateLogLevel=function(){this._logLevel=u[this._optionsService.options.logLevel]},n.prototype._evalLazyOptionalParams=function(n){for(var e=0;e<n.length;e++)"function"==typeof n[e]&&(n[e]=n[e]())},n.prototype._log=function(n,e,t){this._evalLazyOptionalParams(t),n.call.apply(n,i([console,"xterm.js: "+e],t))},n.prototype.debug=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._logLevel<=r.DEBUG&&this._log(console.log,n,e)},n.prototype.info=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._logLevel<=r.INFO&&this._log(console.info,n,e)},n.prototype.warn=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._logLevel<=r.WARN&&this._log(console.warn,n,e)},n.prototype.error=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._logLevel<=r.ERROR&&this._log(console.error,n,e)},l([o(0,a.IOptionsService)],n)}();e.LogService=s},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=function(){function n(n){this._bufferService=n,this.clearRange()}return Object.defineProperty(n.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),n.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},n.prototype.markDirty=function(n){n<this._start?this._start=n:n>this._end&&(this._end=n)},n.prototype.markRangeDirty=function(n,e){if(n>e){var t=n;n=e,e=t}n<this._start&&(this._start=n),e>this._end&&(this._end=e)},n.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},l([o(0,i.IBufferService)],n)}();e.DirtyRowService=r},function(n,e,t){"use strict";var l=this&&this.__spreadArrays||function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;var l=Array(n),o=0;for(e=0;e<t;e++)for(var i=arguments[e],r=0,a=i.length;r<a;r++,o++)l[o]=i[r];return l};Object.defineProperty(e,"__esModule",{value:!0});var o=t(0),i=t(14),r=function(){function n(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._entries=new Map;for(var t=0,l=n;t<l.length;t++){var o=l[t];this.set(o[0],o[1])}}return n.prototype.set=function(n,e){var t=this._entries.get(n);return this._entries.set(n,e),t},n.prototype.forEach=function(n){this._entries.forEach((function(e,t){return n(t,e)}))},n.prototype.has=function(n){return this._entries.has(n)},n.prototype.get=function(n){return this._entries.get(n)},n}();e.ServiceCollection=r;var a=function(){function n(){this._services=new r,this._services.set(o.IInstantiationService,this)}return n.prototype.setService=function(n,e){this._services.set(n,e)},n.prototype.createInstance=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];for(var o=i.getServiceDependencies(n).sort((function(n,e){return n.index-e.index})),r=[],a=0,u=o;a<u.length;a++){var s=u[a],d=this._services.get(s.id);if(!d)throw new Error("[createInstance] "+n.name+" depends on UNKNOWN service "+s.id+".");r.push(d)}var c=o.length>0?o[0].index:e.length;if(e.length!==c)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(c+1)+" conflicts with "+e.length+" static arguments");return new(n.bind.apply(n,l([void 0],l(e,r))))},n}();e.InstantiationService=a},function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var i=t(0),r=t(1),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(n){return 4!==n.button&&1===n.action&&(n.ctrl=!1,n.alt=!1,n.shift=!1,!0)}},VT200:{events:19,restrict:function(n){return 32!==n.action}},DRAG:{events:23,restrict:function(n){return 32!==n.action||3!==n.button}},ANY:{events:31,restrict:function(n){return!0}}};function u(n,e){var t=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return 4===n.button?(t|=64,t|=n.action):(t|=3&n.button,4&n.button&&(t|=64),8&n.button&&(t|=128),32===n.action?t|=32:0!==n.action||e||(t|=3)),t}var s=String.fromCharCode,d={DEFAULT:function(n){var e=[u(n,!1)+32,n.col+32,n.row+32];return e[0]>255||e[1]>255||e[2]>255?"":"[M"+s(e[0])+s(e[1])+s(e[2])},SGR:function(n){var e=0===n.action&&4!==n.button?"m":"M";return"[<"+u(n,!0)+";"+n.col+";"+n.row+e}},c=function(){function n(n,e){var t=this;this._bufferService=n,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new r.EventEmitter,this._lastEvent=null,Object.keys(a).forEach((function(n){return t.addProtocol(n,a[n])})),Object.keys(d).forEach((function(n){return t.addEncoding(n,d[n])})),this.reset()}return n.prototype.addProtocol=function(n,e){this._protocols[n]=e},n.prototype.addEncoding=function(n,e){this._encodings[n]=e},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(n){if(!this._protocols[n])throw new Error('unknown protocol "'+n+'"');this._activeProtocol=n,this._onProtocolChange.fire(this._protocols[n].events)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(n){if(!this._encodings[n])throw new Error('unknown encoding "'+n+'"');this._activeEncoding=n},enumerable:!0,configurable:!0}),n.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(n.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),n.prototype.triggerMouseEvent=function(n){if(n.col<0||n.col>=this._bufferService.cols||n.row<0||n.row>=this._bufferService.rows)return!1;if(4===n.button&&32===n.action)return!1;if(3===n.button&&32!==n.action)return!1;if(4!==n.button&&(2===n.action||3===n.action))return!1;if(n.col++,n.row++,32===n.action&&this._lastEvent&&this._compareEvents(this._lastEvent,n))return!1;if(!this._protocols[this._activeProtocol].restrict(n))return!1;var e=this._encodings[this._activeEncoding](n);return e&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=n,!0},n.prototype.explainEvents=function(n){return{DOWN:!!(1&n),UP:!!(2&n),DRAG:!!(4&n),MOVE:!!(8&n),WHEEL:!!(16&n)}},n.prototype._compareEvents=function(n,e){return n.col===e.col&&n.row===e.row&&n.button===e.button&&n.action===e.action&&n.ctrl===e.ctrl&&n.alt===e.alt&&n.shift===e.shift},l([o(0,i.IBufferService),o(1,i.ICoreService)],n)}();e.CoreMouseService=c},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n){this._action=n,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return n.prototype.writeSync=function(n){if(this._writeBuffer.length){for(var e=this._bufferOffset;e<this._writeBuffer.length;++e){var t=this._callbacks[e];this._action(this._writeBuffer[e]),t&&t()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(n)},n.prototype.write=function(n,e){var t=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return t._innerWrite()}))),this._pendingData+=n.length,this._writeBuffer.push(n),this._callbacks.push(e)},n.prototype._innerWrite=function(){for(var n=this,e=Date.now();this._writeBuffer.length>this._bufferOffset;){var t=this._writeBuffer[this._bufferOffset],l=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(t),this._pendingData-=t.length,l&&l(),Date.now()-e>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return n._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},n}();e.WriteBuffer=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n){this._textarea=n}return Object.defineProperty(n.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),n}();e.CoreBrowserService=l},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){this._addons=[]}return n.prototype.dispose=function(){for(var n=this._addons.length-1;n>=0;n--)this._addons[n].instance.dispose()},n.prototype.loadAddon=function(n,e){var t=this,l={instance:e,dispose:e.dispose,isDisposed:!1};this._addons.push(l),e.dispose=function(){return t._wrappedAddonDispose(l)},e.activate(n)},n.prototype._wrappedAddonDispose=function(n){if(!n.isDisposed){for(var e=-1,t=0;t<this._addons.length;t++)if(this._addons[t]===n){e=t;break}if(-1===e)throw new Error("Could not dispose an addon that has not been loaded");n.isDisposed=!0,n.dispose.apply(n.instance),this._addons.splice(e,1)}},n}();e.AddonManager=l}])},"/WYv":function(n,e,t){"use strict";function l(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}t.d(e,"a",(function(){return l}))},"/ojb":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("T1DM");function r(n,e){return void 0===e&&(e=i.a),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.period=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.period,this.scheduler))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.period=t,o.scheduler=l,o.hasValue=!1,o.add(l.schedule(s,t,{subscriber:o,period:t})),o}return l.c(e,n),e.prototype._next=function(n){this.lastValue=n,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(o.a);function s(n){var e=n.period;n.subscriber.notifyNext(),this.schedule(n,e)}},"/slF":function(n,e,t){var l=t("vd7W").isDigit,o=t("vd7W").cmpChar,i=t("vd7W").TYPE,r=i.Delim,a=i.WhiteSpace,u=i.Comment,s=i.Ident,d=i.Number,c=i.Dimension,p=43,f=45;function h(n,e){return null!==n&&n.type===r&&n.value.charCodeAt(0)===e}function m(n,e,t){for(;null!==n&&(n.type===a||n.type===u);)n=t(++e);return e}function v(n,e,t,o){if(!n)return 0;var i=n.value.charCodeAt(e);if(i===p||i===f){if(t)return 0;e++}for(;e<n.value.length;e++)if(!l(n.value.charCodeAt(e)))return 0;return o+1}function g(n,e,t){var l=!1,o=m(n,e,t);if(null===(n=t(o)))return e;if(n.type!==d){if(!h(n,p)&&!h(n,f))return e;if(l=!0,o=m(t(++o),o,t),null===(n=t(o))&&n.type!==d)return 0}if(!l){var i=n.value.charCodeAt(0);if(i!==p&&i!==f)return 0}return v(n,l?0:1,l,o)}n.exports=function(n,e){var t=0;if(!n)return 0;if(n.type===d)return v(n,0,!1,t);if(n.type===s&&n.value.charCodeAt(0)===f){if(!o(n.value,1,110))return 0;switch(n.value.length){case 2:return g(e(++t),t,e);case 3:return n.value.charCodeAt(2)!==f?0:(t=m(e(++t),t,e),v(n=e(t),0,!0,t));default:return n.value.charCodeAt(2)!==f?0:v(n,3,!0,t)}}else if(n.type===s||h(n,p)&&e(t+1).type===s){if(n.type!==s&&(n=e(++t)),null===n||!o(n.value,0,110))return 0;switch(n.value.length){case 1:return g(e(++t),t,e);case 2:return n.value.charCodeAt(1)!==f?0:(t=m(e(++t),t,e),v(n=e(t),0,!0,t));default:return n.value.charCodeAt(1)!==f?0:v(n,2,!0,t)}}else if(n.type===c){for(var i=n.value.charCodeAt(0),r=i===p||i===f?1:0,a=r;a<n.value.length&&l(n.value.charCodeAt(a));a++);return a===r?0:o(n.value,a,110)?a+1===n.value.length?g(e(++t),t,e):n.value.charCodeAt(a+1)!==f?0:a+2===n.value.length?(t=m(e(++t),t,e),v(n=e(t),0,!0,t)):v(n,a+2,!0,t):0}return 0}},0:function(n,e,t){n.exports=t("zUnb")},"0/uQ":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("Fxb1"),i=t("i4X3");function r(n,e){return e?Object(i.a)(n,e):n instanceof l.a?n:new l.a(Object(o.a)(n))}},"06ho":function(n,e){n.exports={name:"Value",structure:{children:[[]]},parse:function(){var n=this.scanner.tokenStart,e=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(n,this.scanner.tokenStart),children:e}},generate:function(n){this.children(n)}}},"0GsU":function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("MGBS"),i=t("rPjj"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;l.hasValue=!1;var o=new i.a(l,void 0,void 0);l.add(o),l.innerSubscription=o;var a=Object(r.a)(l,t,void 0,void 0,o);return a!==o&&(l.add(a),l.innerSubscription=a),l}return l.c(e,n),e.prototype._next=function(e){this.hasValue&&n.prototype._next.call(this,e)},e.prototype.notifyNext=function(n,e,t,l,o){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(o.a)},"0mNj":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return function(e){return e.lift(new r(n))}}var r=function(){function n(n){this.total=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.total))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.count=0,l}return l.c(e,n),e.prototype._next=function(n){++this.count>this.total&&this.destination.next(n)},e}(o.a)},"0zd0":function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("T1DM"),o=t("3U0i"),i=t("ceCD"),r=t("XlPw");function a(n,e){return void 0===e&&(e=l.a),Object(i.a)(n,Object(r.a)(new o.a),e)}},"14Nl":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("b7mW");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){if(this._skipCount=n,this._skipCount<0)throw new i.a}return n.prototype.call=function(n,e){return e.subscribe(0===this._skipCount?new o.a(n):new u(n,this._skipCount))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l._skipCount=t,l._count=0,l._ring=new Array(t),l}return l.c(e,n),e.prototype._next=function(n){var e=this._skipCount,t=this._count++;if(t<e)this._ring[t]=n;else{var l=t%e,o=this._ring,i=o[l];o[l]=n,this.destination.next(i)}},e}(o.a)},"15JJ":function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("mrSG"),o=t("MGBS"),i=t("rPjj"),r=t("zotm"),a=t("67Y/"),u=t("0/uQ");function s(n,e){return"function"==typeof e?function(t){return t.pipe(s((function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)((function(n,o){return e(t,n,l,o)})))})))}:function(e){return e.lift(new d(n))}}var d=function(){function n(n){this.project=n}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project))},n}(),c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.project=t,l.index=0,l}return l.c(e,n),e.prototype._next=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=this.innerSubscription;l&&l.unsubscribe();var o=new i.a(this,e,t),a=this.destination;a.add(o),this.innerSubscription=Object(r.a)(this,n,void 0,void 0,o),this.innerSubscription!==o&&a.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||n.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e}(o.a)},"1aLD":function(n,e,t){var l=t("XDwu"),o=100,i=60,r=" ";function a(n,e){function t(n,e){return l.slice(n,e).map((function(e,t){for(var l=String(n+t+1);l.length<c;)l=" "+l;return l+" |"+e})).join("\n")}var l=n.source.split(/\r\n?|\n|\f/),a=n.line,u=n.column,s=Math.max(1,a-e)-1,d=Math.min(a+e,l.length+1),c=Math.max(4,String(d).length)+1,p=0;(u+=(r.length-1)*(l[a-1].substr(0,u-1).match(/\t/g)||[]).length)>o&&(p=u-i+3,u=i-2);for(var f=s;f<=d;f++)f>=0&&f<l.length&&(l[f]=l[f].replace(/\t/g,r),l[f]=(p>0&&l[f].length>p?"…":"")+l[f].substr(p,o-2)+(l[f].length>p+o-1?"…":""));return[t(s,a),new Array(u+c+2).join("-")+"^",t(a,d)].filter(Boolean).join("\n")}n.exports=function(n,e,t,o,i){var r=l("SyntaxError",n);return r.source=e,r.offset=t,r.line=o,r.column=i,r.sourceFragment=function(n){return a(r,isNaN(n)?0:n)},Object.defineProperty(r,"formattedMessage",{get:function(){return"Parse error: "+r.message+"\n"+a(r,2)}}),r.parseError={offset:t,line:o,column:i},r}},"1fDf":function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("FFOo");function o(n){for(;n;){var e=n.destination;if(n.closed||n.isStopped)return!1;n=e&&e instanceof l.a?e:null}return!0}},"26FU":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("K9Ia"),i=t("8g8A"),r=function(n){function e(e){var t=n.call(this)||this;return t._value=e,t}return l.c(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var t=n.prototype._subscribe.call(this,e);return t&&!t.closed&&e.next(this._value),t},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},e.prototype.next=function(e){n.prototype.next.call(this,this._value=e)},e}(o.b)},"2Bdj":function(n,e,t){"use strict";function l(n){return"function"==typeof n}t.d(e,"a",(function(){return l}))},"2Gxe":function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,i=l.String,r=l.Colon,a=l.LeftSquareBracket,u=l.RightSquareBracket,s=36,d=42,c=61,p=94,f=124,h=126;function m(){this.scanner.eof&&this.error("Unexpected end of input");var n=this.scanner.tokenStart,e=!1,t=!0;return this.scanner.isDelim(d)?(e=!0,t=!1,this.scanner.next()):this.scanner.isDelim(f)||this.eat(o),this.scanner.isDelim(f)?this.scanner.source.charCodeAt(this.scanner.tokenStart+1)!==c?(this.scanner.next(),this.eat(o)):e&&this.error("Identifier is expected",this.scanner.tokenEnd):e&&this.error("Vertical line is expected"),t&&this.scanner.tokenType===r&&(this.scanner.next(),this.eat(o)),{type:"Identifier",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}}function v(){var n=this.scanner.tokenStart,e=this.scanner.source.charCodeAt(n);return e!==c&&e!==h&&e!==p&&e!==s&&e!==d&&e!==f&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),e!==c&&(this.scanner.isDelim(c)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(n)}n.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var n,e=this.scanner.tokenStart,t=null,l=null,r=null;return this.eat(a),this.scanner.skipSC(),n=m.call(this),this.scanner.skipSC(),this.scanner.tokenType!==u&&(this.scanner.tokenType!==o&&(t=v.call(this),this.scanner.skipSC(),l=this.scanner.tokenType===i?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===o&&(r=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(u),{type:"AttributeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:n,matcher:t,value:l,flags:r}},generate:function(n){var e=" ";this.chunk("["),this.node(n.name),null!==n.matcher&&(this.chunk(n.matcher),null!==n.value&&(this.node(n.value),"String"===n.value.type&&(e=""))),null!==n.flags&&(this.chunk(e),this.chunk(n.flags)),this.chunk("]")}}},"2TAq":function(n,e,t){var l=t("vd7W").isHexDigit,o=t("vd7W").cmpChar,i=t("vd7W").TYPE,r=i.Ident,a=i.Delim,u=i.Number,s=i.Dimension,d=45,c=63;function p(n,e){return null!==n&&n.type===a&&n.value.charCodeAt(0)===e}function f(n,e){return n.value.charCodeAt(0)===e}function h(n,e,t){for(var o=e,i=0;o<n.value.length;o++){var r=n.value.charCodeAt(o);if(r===d&&t&&0!==i)return h(n,e+i+1,!1)>0?6:0;if(!l(r))return 0;if(++i>6)return 0}return i}function m(n,e,t){if(!n)return 0;for(;p(t(e),c);){if(++n>6)return 0;e++}return e}n.exports=function(n,e){var t=0;if(null===n||n.type!==r||!o(n.value,0,117))return 0;if(null===(n=e(++t)))return 0;if(p(n,43))return null===(n=e(++t))?0:n.type===r?m(h(n,0,!0),++t,e):p(n,c)?m(1,++t,e):0;if(n.type===u){if(!f(n,43))return 0;var l=h(n,1,!0);return 0===l?0:null===(n=e(++t))?t:n.type===s||n.type===u?f(n,d)&&h(n,1,!1)?t+1:0:m(l,t,e)}return n.type===s&&f(n,43)?m(h(n,1,!0),++t,e):0}},"2WpN":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("pugT");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.callback=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.callback))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.add(new i.a(t)),l}return l.c(e,n),e}(o.a)},"2ePl":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},"2pxp":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},"2yAJ":function(n,e){function t(n,e){var t=(65535&n)+(65535&e);return(n>>16)+(e>>16)+(t>>16)<<16|65535&t}function l(n,e,l,o,i,r){return t((a=t(t(e,n),t(o,r)))<<(u=i)|a>>>32-u,l);var a,u}function o(n,e,t,o,i,r,a){return l(e&t|~e&o,n,e,i,r,a)}function i(n,e,t,o,i,r,a){return l(e&o|t&~o,n,e,i,r,a)}function r(n,e,t,o,i,r,a){return l(e^t^o,n,e,i,r,a)}function a(n,e,t,o,i,r,a){return l(t^(e|~o),n,e,i,r,a)}function u(n,e){var l,u,s,d,c;n[e>>5]|=128<<e%32,n[14+(e+64>>>9<<4)]=e;var p=1732584193,f=-271733879,h=-1732584194,m=271733878;for(l=0;l<n.length;l+=16)u=p,s=f,d=h,c=m,p=o(p,f,h,m,n[l],7,-680876936),m=o(m,p,f,h,n[l+1],12,-389564586),h=o(h,m,p,f,n[l+2],17,606105819),f=o(f,h,m,p,n[l+3],22,-1044525330),p=o(p,f,h,m,n[l+4],7,-176418897),m=o(m,p,f,h,n[l+5],12,1200080426),h=o(h,m,p,f,n[l+6],17,-1473231341),f=o(f,h,m,p,n[l+7],22,-45705983),p=o(p,f,h,m,n[l+8],7,1770035416),m=o(m,p,f,h,n[l+9],12,-1958414417),h=o(h,m,p,f,n[l+10],17,-42063),f=o(f,h,m,p,n[l+11],22,-1990404162),p=o(p,f,h,m,n[l+12],7,1804603682),m=o(m,p,f,h,n[l+13],12,-40341101),h=o(h,m,p,f,n[l+14],17,-1502002290),p=i(p,f=o(f,h,m,p,n[l+15],22,1236535329),h,m,n[l+1],5,-165796510),m=i(m,p,f,h,n[l+6],9,-1069501632),h=i(h,m,p,f,n[l+11],14,643717713),f=i(f,h,m,p,n[l],20,-373897302),p=i(p,f,h,m,n[l+5],5,-701558691),m=i(m,p,f,h,n[l+10],9,38016083),h=i(h,m,p,f,n[l+15],14,-660478335),f=i(f,h,m,p,n[l+4],20,-405537848),p=i(p,f,h,m,n[l+9],5,568446438),m=i(m,p,f,h,n[l+14],9,-1019803690),h=i(h,m,p,f,n[l+3],14,-187363961),f=i(f,h,m,p,n[l+8],20,1163531501),p=i(p,f,h,m,n[l+13],5,-1444681467),m=i(m,p,f,h,n[l+2],9,-51403784),h=i(h,m,p,f,n[l+7],14,1735328473),p=r(p,f=i(f,h,m,p,n[l+12],20,-1926607734),h,m,n[l+5],4,-378558),m=r(m,p,f,h,n[l+8],11,-2022574463),h=r(h,m,p,f,n[l+11],16,1839030562),f=r(f,h,m,p,n[l+14],23,-35309556),p=r(p,f,h,m,n[l+1],4,-1530992060),m=r(m,p,f,h,n[l+4],11,1272893353),h=r(h,m,p,f,n[l+7],16,-155497632),f=r(f,h,m,p,n[l+10],23,-1094730640),p=r(p,f,h,m,n[l+13],4,681279174),m=r(m,p,f,h,n[l],11,-358537222),h=r(h,m,p,f,n[l+3],16,-722521979),f=r(f,h,m,p,n[l+6],23,76029189),p=r(p,f,h,m,n[l+9],4,-640364487),m=r(m,p,f,h,n[l+12],11,-421815835),h=r(h,m,p,f,n[l+15],16,530742520),p=a(p,f=r(f,h,m,p,n[l+2],23,-995338651),h,m,n[l],6,-198630844),m=a(m,p,f,h,n[l+7],10,1126891415),h=a(h,m,p,f,n[l+14],15,-1416354905),f=a(f,h,m,p,n[l+5],21,-57434055),p=a(p,f,h,m,n[l+12],6,1700485571),m=a(m,p,f,h,n[l+3],10,-1894986606),h=a(h,m,p,f,n[l+10],15,-1051523),f=a(f,h,m,p,n[l+1],21,-2054922799),p=a(p,f,h,m,n[l+8],6,1873313359),m=a(m,p,f,h,n[l+15],10,-30611744),h=a(h,m,p,f,n[l+6],15,-1560198380),f=a(f,h,m,p,n[l+13],21,1309151649),p=a(p,f,h,m,n[l+4],6,-145523070),m=a(m,p,f,h,n[l+11],10,-1120210379),h=a(h,m,p,f,n[l+2],15,718787259),f=a(f,h,m,p,n[l+9],21,-343485551),p=t(p,u),f=t(f,s),h=t(h,d),m=t(m,c);return[p,f,h,m]}function s(n){var e,t="",l=32*n.length;for(e=0;e<l;e+=8)t+=String.fromCharCode(n[e>>5]>>>e%32&255);return t}function d(n){var e,t=[];for(t[(n.length>>2)-1]=void 0,e=0;e<t.length;e+=1)t[e]=0;var l=8*n.length;for(e=0;e<l;e+=8)t[e>>5]|=(255&n.charCodeAt(e/8))<<e%32;return t}function c(n){var e,t,l="";for(t=0;t<n.length;t+=1)e=n.charCodeAt(t),l+="0123456789abcdef".charAt(e>>>4&15)+"0123456789abcdef".charAt(15&e);return l}function p(n){return unescape(encodeURIComponent(n))}function f(n){return function(n){return s(u(d(n),8*n.length))}(p(n))}function h(n,e){return function(n,e){var t,l,o=d(n),i=[],r=[];for(i[15]=r[15]=void 0,o.length>16&&(o=u(o,8*n.length)),t=0;t<16;t+=1)i[t]=909522486^o[t],r[t]=1549556828^o[t];return l=u(i.concat(d(e)),512+8*e.length),s(u(r.concat(l),640))}(p(n),p(e))}n.exports=function(n,e,t){return e?t?h(e,n):c(h(e,n)):t?f(n):c(f(n))}},"31qQ":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(){return function(n){return n.lift(new a)}}var a=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new u(n))},n}(),u=function(n){function e(e){var t=n.call(this,e)||this;return t.hasCompleted=!1,t.hasSubscription=!1,t}return l.c(e,n),e.prototype._next=function(n){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(i.a)(this,n)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(n){this.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.a)},"33Dm":function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,i=l.Comment,r=l.Ident,a=l.LeftParenthesis;n.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var n=this.createList(),e=null,t=null;n:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:t=this.WhiteSpace();continue;case r:e=this.Identifier();break;case a:e=this.MediaFeature();break;default:break n}null!==t&&(n.push(t),t=null),n.push(e)}return null===e&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n)}}},"3J/R":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("26FU"),o=t("xlPZ");function i(n){return function(e){return Object(o.a)(new l.a(n))(e)}}},"3U0i":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return n.prototype=Object.create(Error.prototype),n}()},"3XNy":function(n,e){var t=0;function l(n){return n>=48&&n<=57}function o(n){return n>=65&&n<=90}function i(n){return n>=97&&n<=122}function r(n){return o(n)||i(n)}function a(n){return n>=128}function u(n){return r(n)||a(n)||95===n}function s(n){return n>=0&&n<=8||11===n||n>=14&&n<=31||127===n}function d(n){return 10===n||13===n||12===n}function c(n){return d(n)||32===n||9===n}function p(n,e){return 92===n&&!d(e)&&e!==t}var f=new Array(128);m.Eof=128,m.WhiteSpace=130,m.Digit=131,m.NameStart=132,m.NonPrintable=133;for(var h=0;h<f.length;h++)switch(!0){case c(h):f[h]=m.WhiteSpace;break;case l(h):f[h]=m.Digit;break;case u(h):f[h]=m.NameStart;break;case s(h):f[h]=m.NonPrintable;break;default:f[h]=h||m.Eof}function m(n){return n<128?f[n]:m.NameStart}n.exports={isDigit:l,isHexDigit:function(n){return l(n)||n>=65&&n<=70||n>=97&&n<=102},isUppercaseLetter:o,isLowercaseLetter:i,isLetter:r,isNonAscii:a,isNameStart:u,isName:function(n){return u(n)||l(n)||45===n},isNonPrintable:s,isNewline:d,isWhiteSpace:c,isValidEscape:p,isIdentifierStart:function(n,e,t){return 45===n?u(e)||45===e||p(e,t):!!u(n)||92===n&&p(n,e)},isNumberStart:function(n,e,t){return 43===n||45===n?l(e)?2:46===e&&l(t)?3:0:46===n?l(e)?2:0:l(n)?1:0},isBOM:function(n){return 65279===n?1:65534===n?1:0},charCodeCategory:m}},"3fWJ":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n}()},"41IB":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(){return function(n){return n.lift(new r)}}var r=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){return n.call(this,e)||this}return l.c(e,n),e.prototype._next=function(n){n.observe(this.destination)},e}(o.a)},"4HHr":function(n,e){var t=Object.prototype.hasOwnProperty,l=function(){};function o(n){return"function"==typeof n?n:l}function i(n,e){return function(t,l,o){t.type===e&&n.call(this,t,l,o)}}function r(n,e){var l=e.structure,o=[];for(var i in l)if(!1!==t.call(l,i)){var r=l[i],a={name:i,type:!1,nullable:!1};Array.isArray(l[i])||(r=[l[i]]);for(var u=0;u<r.length;u++){var s=r[u];null===s?a.nullable=!0:"string"==typeof s?a.type="node":Array.isArray(s)&&(a.type="list")}a.type&&o.push(a)}return o.length?{context:e.walkContext,fields:o}:null}function a(n,e){var t=n.fields.slice(),l=n.context,o="string"==typeof l;return e&&t.reverse(),function(n,i,r){var a;o&&(a=i[l],i[l]=n);for(var u=0;u<t.length;u++){var s=t[u],d=n[s.name];s.nullable&&!d||("list"===s.type?e?d.forEachRight(r):d.forEach(r):r(d))}o&&(i[l]=a)}}function u(n){return{Atrule:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block},Rule:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block},Declaration:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block,DeclarationList:n.DeclarationList}}}n.exports=function(n){var e=function(n){var e={};for(var l in n.node)if(t.call(n.node,l)){var o=n.node[l];if(!o.structure)throw new Error("Missed `structure` field in `"+l+"` node type definition");e[l]=r(0,o)}return e}(n),s={},d={};for(var c in e)t.call(e,c)&&null!==e[c]&&(s[c]=a(e[c],!1),d[c]=a(e[c],!0));var p=u(s),f=u(d),h=function(n,t){var r=l,a=l,u=s,c={root:n,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof t)r=t;else if(t&&(r=o(t.enter),a=o(t.leave),t.reverse&&(u=d),t.visit)){if(p.hasOwnProperty(t.visit))u=t.reverse?f[t.visit]:p[t.visit];else if(!e.hasOwnProperty(t.visit))throw new Error("Bad value `"+t.visit+"` for `visit` option (should be: "+Object.keys(e).join(", ")+")");r=i(r,t.visit),a=i(a,t.visit)}if(r===l&&a===l)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(t.reverse){var h=r;r=a,a=h}!function n(e,t,l){r.call(c,e,t,l),u.hasOwnProperty(e.type)&&u[e.type](e,c,n),a.call(c,e,t,l)}(n)};return h.find=function(n,e){var t=null;return h(n,(function(n,l,o){null===t&&e.call(this,n,l,o)&&(t=n)})),t},h.findLast=function(n,e){var t=null;return h(n,{reverse:!0,enter:function(n,l,o){null===t&&e.call(this,n,l,o)&&(t=n)}}),t},h.findAll=function(n,e){var t=[];return h(n,(function(n,l,o){e.call(this,n,l,o)&&t.push(n)})),t},h}},"4af/":function(n,e,t){var l=t("vYjF"),o={collectWindowErrors:!0,debug:!1},i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=[].slice,a="?",u=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function s(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var n,e,t=[],d=null,c=null,p=null;function f(n,e){var l=null;if(!e||o.collectWindowErrors){for(var i in t)if(t.hasOwnProperty(i))try{t[i].apply(null,[n].concat(r.call(arguments,2)))}catch(a){l=a}if(l)throw l}}function h(e,t,i,r,d){var c=l.isErrorEvent(d)?d.error:d,h=l.isErrorEvent(e)?e.message:e;if(p)o.computeStackTrace.augmentStackTraceWithInitialElement(p,t,i,h),m();else if(c&&l.isError(c))f(o.computeStackTrace(c),!0);else{var v,g={url:t,line:i,column:r},b=void 0;"[object String]"==={}.toString.call(h)&&(v=h.match(u))&&(b=v[1],h=v[2]),g.func=a,f({name:b,message:h,url:s(),stack:[g]},!0)}return!!n&&n.apply(this,arguments)}function m(){var n=p,e=d;d=null,p=null,c=null,f.apply(null,[n,!1].concat(e))}function v(n,e){var t=r.call(arguments,1);if(p){if(c===n)return;m()}var l=o.computeStackTrace(n);if(p=l,c=n,d=t,setTimeout((function(){c===n&&m()}),l.incomplete?2e3:0),!1!==e)throw n}return v.subscribe=function(l){e||(n=i.onerror,i.onerror=h,e=!0),t.push(l)},v.unsubscribe=function(n){for(var e=t.length-1;e>=0;--e)t[e]===n&&t.splice(e,1)},v.uninstall=function(){e&&(i.onerror=n,e=!1,n=void 0),t=[]},v}(),o.computeStackTrace=function(){function n(n){if(void 0!==n.stack&&n.stack){for(var e,t,l,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,r=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=n.stack.split("\n"),p=[],f=(/^(.*) is undefined$/.exec(n.message),0),h=c.length;f<h;++f){if(t=o.exec(c[f])){var m=t[2]&&0===t[2].indexOf("native");t[2]&&0===t[2].indexOf("eval")&&(e=d.exec(t[2]))&&(t[2]=e[1],t[3]=e[2],t[4]=e[3]),l={url:m?null:t[2],func:t[1]||a,args:m?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=i.exec(c[f]))l={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=r.exec(c[f])))continue;t[3]&&t[3].indexOf(" > eval")>-1&&(e=u.exec(t[3]))?(t[3]=e[1],t[4]=e[2],t[5]=null):0!==f||t[5]||void 0===n.columnNumber||(p[0].column=n.columnNumber+1),l={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}if(!l.func&&l.line&&(l.func=a),l.url&&"blob:"===l.url.substr(0,5)){var v=new XMLHttpRequest;if(v.open("GET",l.url,!1),v.send(null),200===v.status){var g=v.responseText||"",b=(g=g.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(b){var _=b[1];"~"===_.charAt(0)&&(_=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+_.slice(1)),l.url=_.slice(0,-4)}}}p.push(l)}return p.length?{name:n.name,message:n.message,url:s(),stack:p}:null}}function e(n,e,t,l){var o={url:e,line:t};if(o.url&&o.line){if(n.incomplete=!1,o.func||(o.func=a),n.stack.length>0&&n.stack[0].url===o.url){if(n.stack[0].line===o.line)return!1;if(!n.stack[0].line&&n.stack[0].func===o.func)return n.stack[0].line=o.line,!1}return n.stack.unshift(o),n.partial=!0,!0}return n.incomplete=!0,!1}function t(n,i){for(var r,u,d=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],p={},f=!1,h=t.caller;h&&!f;h=h.caller)if(h!==l&&h!==o.report){if(u={url:null,func:a,line:null,column:null},h.name?u.func=h.name:(r=d.exec(h.toString()))&&(u.func=r[1]),void 0===u.func)try{u.func=r.input.substring(0,r.input.indexOf("{"))}catch(v){}p[""+h]?f=!0:p[""+h]=!0,c.push(u)}i&&c.splice(0,i);var m={name:n.name,message:n.message,url:s(),stack:c};return e(m,n.sourceURL||n.fileName,n.line||n.lineNumber),m}function l(e,l){var i=null;l=null==l?0:+l;try{if(i=n(e))return i}catch(r){if(o.debug)throw r}try{if(i=t(e,l+1))return i}catch(r){if(o.debug)throw r}return{name:e.name,message:e.message,url:s()}}return l.augmentStackTraceWithInitialElement=e,l.computeStackTraceFromStackProp=n,l}(),n.exports=o},"4fRq":function(n,e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var l=new Uint8Array(16);n.exports=function(){return t(l),l}}else{var o=new Array(16);n.exports=function(){for(var n,e=0;e<16;e++)0==(3&e)&&(n=4294967296*Math.random()),o[e]=n>>>((3&e)<<3)&255;return o}}},"4njK":function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,i=l.Semicolon,r=l.LeftCurlyBracket,a=l.Delim;function u(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===o?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}function s(){return 0}n.exports={name:"Raw",structure:{value:String},parse:function(n,e,t){var l,o=this.scanner.getTokenStart(n);return this.scanner.skip(this.scanner.getRawLength(n,e||s)),l=t&&this.scanner.tokenStart>o?u.call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(o,l),value:this.scanner.source.substring(o,l)}},generate:function(n){this.chunk(n.value)},mode:{default:s,leftCurlyBracket:function(n){return n===r?1:0},leftCurlyBracketOrSemicolon:function(n){return n===r||n===i?1:0},exclamationMarkOrSemicolon:function(n,e,t){return n===a&&33===e.charCodeAt(t)?1:n===i?1:0},semicolonIncluded:function(n){return n===i?2:0}}}},"4vYp":function(n){n.exports=JSON.parse('{"generic":true,"types":{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","attachment":"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"[\'~\'|\'|\'|\'^\'|\'$\'|\'*\']? \'=\'","attr-modifier":"i|s","attribute-selector":"\'[\' <wq-name> \']\'|\'[\' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? \']\'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","box":"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [[\'+\'|\'-\'] <calc-product>]*","calc-product":"<calc-value> [\'*\' <calc-value>|\'/\' <number>]*","calc-value":"<number>|<dimension>|<percentage>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"\'.\' <ident-token>","clip-source":"<url>","color":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","combinator":"\'>\'|\'+\'|\'~\'|[\'||\']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat":"searchfield|textarea|push-button|button-bevel|slider-horizontal|checkbox|radio|square-button|menulist|menulist-button|listbox|meter|progress-bar","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<url>|<quote>|<attr()>|counter( <ident> , <\'list-style-type\'>? )]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","counter()":"counter( <custom-ident> , [<counter-style>|none]? )","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <custom-ident> , <string> , [<counter-style>|none]? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number> , <number> , <number> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> \'{\' <feature-value-declaration-list> \'}\'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<\'background-color\'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fit-content()":"fit-content( [<length>|<percentage>] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<positive-integer>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box","gradient":"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","hue":"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","image":"<url>|<image()>|<image-set()>|<element()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] <resolution>","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length>|<percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <\'border-radius\'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"\'[\' <custom-ident>* \']\'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> [\'<\'|\'>\']? \'=\'? <mf-value>|<mf-value> [\'<\'|\'>\']? \'=\'? <mf-name>|<mf-value> \'<\' \'=\'? <mf-name> \'<\' \'=\'? <mf-value>|<mf-value> \'>\' \'=\'? <mf-name> \'>\' \'=\'? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length>|<percentage>|<flex>|min-content|max-content|auto] , [<length>|<percentage>|<flex>|min-content|max-content|auto] )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|\'*\']? \'|\'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","nth":"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> \'{\' <declaration-list> \'}\'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","position":"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pseudo-class-selector":"\':\' <ident-token>|\':\' <function-token> <any-value> \')\'","pseudo-element-selector":"\':\' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]","quote":"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )","shadow":"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]","shape":"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"<time>||<timing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-transition":"[none|<single-transition-property>]||<time>||<timing-function>||<time>","single-transition-property":"all|<custom-ident>","size":"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )","symbol":"<string>|<image>|<custom-ident>","target":"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<positive-integer>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? \'*\'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"min-intrinsic|intrinsic|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"\'progid:\' [<ident-token> \'.\']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>","age":"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","border-radius":"<length-percentage>{1,2}","bottom":"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]","gender":"male|female|neutral","left":"<length>|auto","mask-image":"<mask-reference>#","name-repeat":"repeat( [<positive-integer>|auto-fill] , <line-names>+ )","paint":"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","path()":"path( <string> )","ratio":"<integer> / <integer>","right":"<length>|auto","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb","top":"<length>|auto","track-group":"\'(\' [<string>* <track-minmax> <string>*]+ \')\' [\'[\' <positive-integer> \']\']?|<track-minmax>","track-list-v0":"[<string>* <track-group> <string>*]+|none","track-minmax":"minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content","x":"<number>","y":"<number>","declaration":"<ident-token> : <declaration-value>? [\'!\' important]?","declaration-list":"[<declaration>? \';\']* <declaration>?","url":"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","positive-integer":"<integer [0,∞]>"},"properties":{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<\'-ms-content-zoom-limit-min\'> <\'-ms-content-zoom-limit-max\'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<\'-ms-content-zoom-snap-type\'>||<\'-ms-content-zoom-snap-points\'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<\'-ms-scroll-limit-x-min\'> <\'-ms-scroll-limit-y-min\'> <\'-ms-scroll-limit-x-max\'> <\'-ms-scroll-limit-y-max\'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-x\'>","-ms-scroll-snap-y":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-y\'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"<integer>","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|listbox|listitem|media-fullscreen-button|media-mute-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield","-webkit-border-before":"<\'border-width\'>||<\'border-style\'>||<\'color\'>","-webkit-border-before-color":"<\'color\'>","-webkit-border-before-style":"<\'border-style\'>","-webkit-border-before-width":"<\'border-width\'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","all":"initial|inherit|unset|revert","animation":"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<timing-function>#","appearance":"none|auto|button|textfield|<compat>","azimuth":"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden","background":"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<box>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[left|right|x-start|x-end]? <length-percentage>?]#","background-position-y":"[center|[top|bottom|y-start|y-end]? <length-percentage>?]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<\'width\'>","border":"<line-width>||<line-style>||<color>","border-block":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-block-color":"<\'border-top-color\'>{1,2}","border-block-style":"<\'border-top-style\'>","border-block-width":"<\'border-top-width\'>","border-block-end":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-block-end-color":"<\'border-top-color\'>","border-block-end-style":"<\'border-top-style\'>","border-block-end-width":"<\'border-top-width\'>","border-block-start":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-block-start-color":"<\'border-top-color\'>","border-block-start-style":"<\'border-top-style\'>","border-block-start-width":"<\'border-top-width\'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<\'border-top-color\'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<\'border-image-source\'>||<\'border-image-slice\'> [/ <\'border-image-width\'>|/ <\'border-image-width\'>? / <\'border-image-outset\'>]?||<\'border-image-repeat\'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-inline-end":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-inline-color":"<\'border-top-color\'>{1,2}","border-inline-style":"<\'border-top-style\'>","border-inline-width":"<\'border-top-width\'>","border-inline-end-color":"<\'border-top-color\'>","border-inline-end-style":"<\'border-top-style\'>","border-inline-end-width":"<\'border-top-width\'>","border-inline-start":"<\'border-top-width\'>||<\'border-top-style\'>||<\'color\'>","border-inline-start-color":"<\'border-top-color\'>","border-inline-start-style":"<\'border-top-style\'>","border-inline-start-width":"<\'border-top-width\'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}","bottom":"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end","caret-color":"auto|<color>","clear":"none|left|right|both|inline-start|inline-end","clip":"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","color":"<color>","color-adjust":"economy|exact","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<\'column-rule-width\'>||<\'column-rule-style\'>||<\'column-rule-color\'>","column-rule-color":"<color>","column-rule-style":"<\'border-style\'>","column-rule-width":"<\'border-width\'>","column-span":"none|all","column-width":"<length>|auto","columns":"<\'column-width\'>||<\'column-count\'>","contain":"none|strict|content|[size||layout||style||paint]","content":"normal|none|[<content-replacement>|<content-list>] [/ <string>]?","counter-increment":"[<custom-ident> <integer>?]+|none","counter-reset":"[<custom-ident> <integer>?]+|none","counter-set":"[<custom-ident> <integer>?]+|none","cursor":"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]","direction":"ltr|rtl","display":"block|contents|flex|flow|flow-root|grid|inline|inline-block|inline-flex|inline-grid|inline-list-item|inline-table|list-item|none|ruby|ruby-base|ruby-base-container|ruby-text|ruby-text-container|run-in|table|table-caption|table-cell|table-column|table-column-group|table-footer-group|table-header-group|table-row|table-row-group|-ms-flexbox|-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","empty-cells":"show|hide","filter":"none|<filter-function-list>|<-ms-filter-function-list>","flex":"none|[<\'flex-grow\'> <\'flex-shrink\'>?||<\'flex-basis\'>]","flex-basis":"content|<\'width\'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<\'flex-direction\'>||<\'flex-wrap\'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse","float":"left|right|none|inline-start|inline-end","font":"[[<\'font-style\'>||<font-variant-css21>||<\'font-weight\'>||<\'font-stretch\'>]? <\'font-size\'> [/ <\'line-height\'>]? <\'font-family\'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|<number>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","gap":"<\'row-gap\'> <\'column-gap\'>?","grid":"<\'grid-template\'>|<\'grid-template-rows\'> / [auto-flow&&dense?] <\'grid-auto-columns\'>?|[auto-flow&&dense?] <\'grid-auto-rows\'>? / <\'grid-template-columns\'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<\'grid-row-gap\'> <\'grid-column-gap\'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<\'grid-template-rows\'> / <\'grid-template-columns\'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>","grid-template-rows":"none|<track-list>|<auto-track-list>","hanging-punctuation":"none|[first||[force-end|allow-end]||last]","height":"[<length>|<percentage>]&&[border-box|content-box]?|available|min-content|max-content|fit-content|auto","hyphens":"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<\'width\'>","inset":"<\'top\'>{1,4}","inset-block":"<\'top\'>{1,2}","inset-block-end":"<\'top\'>","inset-block-start":"<\'top\'>","inset-inline":"<\'top\'>{1,2}","inset-inline-end":"<\'top\'>","inset-inline-start":"<\'top\'>","isolation":"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","left":"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<\'list-style-type\'>||<\'list-style-position\'>||<\'list-style-image\'>","list-style-image":"<url>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none","margin":"[<length>|<percentage>|auto]{1,4}","margin-block":"<\'margin-left\'>{1,2}","margin-block-end":"<\'margin-left\'>","margin-block-start":"<\'margin-left\'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<\'margin-left\'>{1,2}","margin-inline-end":"<\'margin-left\'>","margin-inline-start":"<\'margin-left\'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","mask":"<mask-layer>#","mask-border":"<\'mask-border-source\'>||<\'mask-border-slice\'> [/ <\'mask-border-width\'>? [/ <\'mask-border-outset\'>]?]?||<\'mask-border-repeat\'>||<\'mask-border-mode\'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","max-block-size":"<\'max-width\'>","max-height":"<length>|<percentage>|none|max-content|min-content|fit-content|fill-available","max-inline-size":"<\'max-width\'>","max-lines":"none|<integer>","max-width":"<length>|<percentage>|none|max-content|min-content|fit-content|fill-available|<-non-standard-width>","min-block-size":"<\'min-width\'>","min-height":"<length>|<percentage>|auto|max-content|min-content|fit-content|fill-available","min-inline-size":"<\'min-width\'>","min-width":"<length>|<percentage>|auto|max-content|min-content|fit-content|fill-available|<-non-standard-width>","mix-blend-mode":"<blend-mode>","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","offset":"[<\'offset-position\'>? [<\'offset-path\'> [<\'offset-distance\'>||<\'offset-rotate\'>]?]?]! [/ <\'offset-anchor\'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>?&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>","opacity":"<number-zero-one>","order":"<integer>","orphans":"<integer>","outline":"[<\'outline-color\'>||<\'outline-style\'>||<\'outline-width\'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<\'border-style\'>","outline-width":"<line-width>","overflow":"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto","padding":"[<length>|<percentage>]{1,4}","padding-block":"<\'padding-left\'>{1,2}","padding-block-end":"<\'padding-left\'>","padding-block-start":"<\'padding-left\'>","padding-bottom":"<length>|<percentage>","padding-inline":"<\'padding-left\'>{1,2}","padding-inline-end":"<\'padding-left\'>","padding-inline-start":"<\'padding-left\'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]","perspective":"none|<length>","perspective-origin":"<position>","place-content":"<\'align-content\'> <\'justify-content\'>?","place-items":"<\'align-items\'> <\'justify-items\'>?","place-self":"<\'align-self\'> <\'justify-self\'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit","position":"static|relative|absolute|sticky|fixed|-webkit-sticky","quotes":"none|[<string> <string>]+","resize":"none|both|horizontal|vertical|block|inline","right":"<length>|<percentage>|auto","rotate":"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"over|under|inter-character","scale":"none|<number>{1,3}","scrollbar-color":"auto|dark|light|<color>{2}","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","shape-image-threshold":"<number>","shape-margin":"<length-percentage>","shape-outside":"none|<shape-box>||<basic-shape>|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<\'text-decoration-line\'>||<\'text-decoration-style\'>||<\'text-decoration-color\'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-emphasis":"<\'text-emphasis-style\'>||<\'text-emphasis-color\'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-position":"auto|[under||[left|right]]","top":"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation","transform":"none|<transform-list>","transform-box":"border-box|fill-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d","transition":"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<timing-function>#","translate":"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","visibility":"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line","widows":"<integer>","width":"[<length>|<percentage>]&&[border-box|content-box]?|available|min-content|max-content|fit-content|auto","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length-percentage>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>","zoom":"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<\'border-bottom-left-radius\'>","-moz-border-radius-bottomright":"<\'border-bottom-right-radius\'>","-moz-border-radius-topleft":"<\'border-top-left-radius\'>","-moz-border-radius-topright":"<\'border-bottom-right-radius\'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<\'flex-shrink\'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<\'flex-grow\'>","-ms-flex-preferred-size":"<\'flex-basis\'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-columns":"<track-list-v0>","-ms-grid-row-align":"start|end|center|stretch","-ms-grid-rows":"<track-list-v0>","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>","behavior":"<url>+","clip-rule":"nonzero|evenodd","cue":"<\'cue-before\'> <\'cue-after\'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","fill":"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>","kerning":"auto|<svg-length>","marker":"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>","pause":"<\'pause-before\'> <\'pause-after\'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","rest":"<\'rest-before\'> <\'rest-after\'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","src":"[<url> [format( <string># )]?|local( <family-name> )]#","speak":"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stroke":"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"}}')},"585i":function(n,e,t){n.exports={AnPlusB:t("Iyun"),Atrule:t("G9/t"),AtrulePrelude:t("FEnK"),AttributeSelector:t("2Gxe"),Block:t("DJod"),Brackets:t("gCdt"),CDC:t("aUQo"),CDO:t("HOgr"),ClassSelector:t("gTGj"),Combinator:t("8mYp"),Comment:t("Y+H1"),Declaration:t("+/L5"),DeclarationList:t("e1rG"),Dimension:t("klIg"),Function:t("UwDK"),HexColor:t("9K4g"),Identifier:t("OyBZ"),IdSelector:t("dB5I"),MediaFeature:t("QBsF"),MediaQuery:t("33Dm"),MediaQueryList:t("Pd0I"),Nth:t("n6Bp"),Number:t("mb2m"),Operator:t("HHXC"),Parentheses:t("Vj1t"),Percentage:t("kPWa"),PseudoClassSelector:t("PzWj"),PseudoElementSelector:t("DDB3"),Ratio:t("F977"),Raw:t("4njK"),Rule:t("yTw5"),Selector:t("/BcF"),SelectorList:t("Lw+5"),String:t("r1XK"),StyleSheet:t("6RFS"),TypeSelector:t("STE7"),UnicodeRange:t("Tnl3"),Url:t("ZVk9"),Value:t("06ho"),WhiteSpace:t("Tpyv")}},"5IO1":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("T1DM"),o=t("67Y/");function i(n){return void 0===n&&(n=l.a),Object(o.a)((function(e){return new r(e,n.now())}))}var r=function(){return function(n,e){this.value=n,this.timestamp=e}}()},"5tAl":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return void 0===n&&(n=-1),function(e){return e.lift(new r(n,e))}}var r=function(){function n(n,e){this.count=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.count,this.source))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.count=t,o.source=l,o}return l.c(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=this.source,l=this.count;if(0===l)return n.prototype.error.call(this,e);l>-1&&(this.count=l-1),t.subscribe(this._unsubscribeAndRecycle())}},e}(o.a)},"60iU":function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"a",(function(){return a}));var l=t("G5J1"),o=t("F/XL"),i=t("XlPw"),r=function(n){return n.NEXT="N",n.ERROR="E",n.COMPLETE="C",n}({}),a=function(){function n(n,e,t){this.kind=n,this.value=e,this.error=t,this.hasValue="N"===n}return n.prototype.observe=function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}},n.prototype.do=function(n,e,t){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return t&&t()}},n.prototype.accept=function(n,e,t){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,t)},n.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(i.a)(this.error);case"C":return Object(l.b)()}throw new Error("unexpected notification kind value")},n.createNext=function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification},n.createError=function(e){return new n("E",void 0,e)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}()},"67Y/":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.project=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.project,this.thisArg))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.project=t,o.count=0,o.thisArg=l||o,o}return l.c(e,n),e.prototype._next=function(n){var e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.a)},"6Dj2":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return function(e){return e.lift(new r(n,e))}}var r=function(){function n(n,e){this.predicate=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.source))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.source=l,o.count=0,o.index=0,o}return l.c(e,n),e.prototype._next=function(n){this.predicate?this._tryPredicate(n):this.count++},e.prototype._tryPredicate=function(n){var e;try{e=this.predicate(n,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.a)},"6RFS":function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,i=l.Comment,r=l.AtKeyword,a=l.CDO,u=l.CDC;function s(n){return this.Raw(n,null,!1)}n.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var n,e=this.scanner.tokenStart,t=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:if(33!==this.scanner.source.charCodeAt(this.scanner.tokenStart+2)){this.scanner.next();continue}n=this.Comment();break;case a:n=this.CDO();break;case u:n=this.CDC();break;case r:n=this.parseWithFallback(this.Atrule,s);break;default:n=this.parseWithFallback(this.Rule,s)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(n){this.children(n)},walkContext:"stylesheet"}},"6V3w":function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("mrSG"),o=t("MGBS"),i=t("rPjj"),r=t("zotm"),a=t("67Y/"),u=t("0/uQ");function s(n,e){return e?function(t){return t.pipe(s((function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)((function(n,o){return e(t,n,l,o)})))})))}:function(e){return e.lift(new d(n))}}var d=function(){function n(n){this.project=n}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project))},n}(),c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.project=t,l.hasSubscription=!1,l.hasCompleted=!1,l.index=0,l}return l.c(e,n),e.prototype._next=function(n){this.hasSubscription||this.tryNext(n)},e.prototype.tryNext=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this.hasSubscription=!0,this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=new i.a(this,e,t),o=this.destination;o.add(l);var a=Object(r.a)(this,n,void 0,void 0,l);a!==l&&o.add(a)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyError=function(n){this.destination.error(n)},e.prototype.notifyComplete=function(n){this.destination.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.a)},"6ahw":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("iLxQ"),o=t("DKTb"),i={closed:!0,next:function(n){},error:function(n){if(l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(o.a)(n)},complete:function(){}}},"6blF":function(n,e,t){"use strict";var l=t("1fDf"),o=t("FFOo"),i=t("L/V9"),r=t("6ahw"),a=t("xTla"),u=t("y3By"),s=t("iLxQ");t.d(e,"a",(function(){return d}));var d=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(n,e,t){var l=this.operator,a=function(n,e,t){if(n){if(n instanceof o.a)return n;if(n[i.a])return n[i.a]()}return n||e||t?new o.a(n,e,t):new o.a(r.a)}(n,e,t);if(a.add(l?l.call(a,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),s.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=e),Object(l.a)(n)?n.error(e):console.warn(e)}},n.prototype.forEach=function(n,e){var t=this;return new(e=c(e))((function(e,l){var o;o=t.subscribe((function(e){try{n(e)}catch(t){l(t),o&&o.unsubscribe()}}),l,e)}))},n.prototype._subscribe=function(n){var e=this.source;return e&&e.subscribe(n)},n.prototype[a.a]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 0===n.length?this:Object(u.b)(n)(this)},n.prototype.toPromise=function(n){var e=this;return new(n=c(n))((function(n,t){var l;e.subscribe((function(n){return l=n}),(function(n){return t(n)}),(function(){return n(l)}))}))},n.create=function(e){return new n(e)},n}();function c(n){if(n||(n=s.a.Promise||Promise),!n)throw new Error("no Promise impl found");return n}},"6dTv":function(n,e,t){n.exports={"font-face":t("xODi"),import:t("bxbb"),media:t("eAxx"),page:t("dv2O"),supports:t("EaiB")}},"6wkY":function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("T1DM"),o=t("dC0D"),i=t("lYZG"),r=t("67Y/");function a(n){return void 0===n&&(n=l.a),function(e){return Object(i.a)((function(){return e.pipe(Object(o.a)((function(e,t){var l=e.current;return{value:t,current:n.now(),last:l}}),{current:n.now(),value:void 0,last:void 0}),Object(r.a)((function(n){return new u(n.value,n.current-n.last)})))}))}}var u=function(){return function(n,e){this.value=n,this.interval=e}}()},"6yRa":function(n,e,t){"use strict";var l=t("OJSY");n.exports=function(n,e){var t=l.boolean((e=e||{}).allowUpdate,!0);return function(e){if(e=e||window.event,n.target=e.target||e.srcElement||e.originalTarget,n.element=this,n.type=e.type,t(e)){if(e.targetTouches)n.x=e.targetTouches[0].clientX,n.y=e.targetTouches[0].clientY,n.pageX=e.targetTouches[0].pageX,n.pageY=e.targetTouches[0].pageY,n.screenX=e.targetTouches[0].screenX,n.screenY=e.targetTouches[0].screenY;else{if(null===e.pageX&&null!==e.clientX){var l=e.target&&e.target.ownerDocument||document,o=l.documentElement,i=l.body;n.pageX=e.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),n.pageY=e.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)}else n.pageX=e.pageX,n.pageY=e.pageY;n.x=e.clientX,n.y=e.clientY,n.screenX=e.screenX,n.screenY=e.screenY}n.clientX=n.x,n.clientY=n.y}}}},"7GzS":function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").cmpStr,i=t("vd7W").TYPE,r=i.Ident,a=i.String,u=i.Number,s=i.Function,d=i.Url,c=i.Hash,p=i.Dimension,f=i.Percentage,h=i.LeftParenthesis,m=i.LeftSquareBracket,v=i.Comma,g=i.Delim;n.exports=function(n){switch(this.scanner.tokenType){case c:return this.HexColor();case v:return n.space=null,n.ignoreWSAfter=!0,this.Operator();case h:return this.Parentheses(this.readSequence,n.recognizer);case m:return this.Brackets(this.readSequence,n.recognizer);case a:return this.String();case p:return this.Dimension();case f:return this.Percentage();case u:return this.Number();case s:return o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,n.recognizer);case d:return this.Url();case r:return l(this.scanner.source,this.scanner.tokenStart,117)&&l(this.scanner.source,this.scanner.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case g:var e=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},"7Qw6":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("0/uQ"),i=t("G5J1");function r(n,e){return new l.a((function(t){var l,r;try{l=n()}catch(u){return void t.error(u)}try{r=e(l)}catch(u){return void t.error(u)}var a=(r?Object(o.a)(r):i.a).subscribe(t);return function(){a.unsubscribe(),l&&l.unsubscribe()}}))}},"82qP":function(n,e,t){n.exports={AtrulePrelude:t("TefO"),Selector:t("HvLG"),Value:t("n/gj")}},"86bl":function(n,e,t){window,n.exports=function(n){var e={};function t(l){if(e[l])return e[l].exports;var o=e[l]={i:l,l:!1,exports:{}};return n[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,l){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:l})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(t.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(l,o,(function(e){return n[e]}).bind(null,o));return l},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(){}return n.prototype.activate=function(n){this._terminal=n},n.prototype.dispose=function(){},n.prototype.fit=function(){var n=this.proposeDimensions();n&&this._terminal&&(this._terminal.rows===n.rows&&this._terminal.cols===n.cols||(this._terminal._core._renderService.clear(),this._terminal.resize(n.cols,n.rows)))},n.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var n=this._terminal._core,e=window.getComputedStyle(this._terminal.element.parentElement),t=parseInt(e.getPropertyValue("height")),l=Math.max(0,parseInt(e.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),i=t-(parseInt(o.getPropertyValue("padding-top"))+parseInt(o.getPropertyValue("padding-bottom"))),r=l-(parseInt(o.getPropertyValue("padding-right"))+parseInt(o.getPropertyValue("padding-left")))-n.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(r/n._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(i/n._renderService.dimensions.actualCellHeight))}}},n}();e.FitAddon=l}])},"8XFM":function(n,e){var t=Object.prototype.hasOwnProperty,l={generic:!0,types:{},atrules:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function o(n){return n&&n.constructor===Object}function i(n){return o(n)?Object.assign({},n):n}function r(n,e){for(var l in e)t.call(e,l)&&(o(n[l])?r(n[l],i(e[l])):n[l]=i(e[l]))}n.exports=function(n,e){return function n(e,l,a){for(var u in a)if(!1!==t.call(a,u))if(!0===a[u])u in l&&t.call(l,u)&&(e[u]=i(l[u]));else if(a[u])if(o(a[u]))r(s={},e[u]),r(s,l[u]),e[u]=s;else if(Array.isArray(a[u])){var s={},d=a[u].reduce((function(n,e){return n[e]=!0,n}),{});for(var c in e[u])t.call(e[u],c)&&(s[c]={},e[u]&&e[u][c]&&n(s[c],e[u][c],d));for(var c in l[u])t.call(l[u],c)&&(s[c]||(s[c]={}),l[u]&&l[u][c]&&n(s[c],l[u][c],d));e[u]=s}return e}(n,e,l)}},"8g8A":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n}()},"8mYp":function(n,e,t){var l=t("vd7W").TYPE.Ident;n.exports={name:"Combinator",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 62:case 43:case 126:this.scanner.next();break;case 47:this.scanner.next(),this.scanner.tokenType===l&&!1!==this.scanner.lookupValue(0,"deep")||this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.name)}}},"8wsT":function(n,e,t){var l=t("twQA"),o=l.TYPE,i=l.NAME,r=t("P3uw").cmpStr,a=o.EOF,u=o.WhiteSpace,s=o.Comment,d=function(){this.offsetAndType=null,this.balance=null,this.reset()};d.prototype={reset:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset},lookupType:function(n){return(n+=this.tokenIndex)<this.tokenCount?this.offsetAndType[n]>>24:a},lookupOffset:function(n){return(n+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[n-1]:this.source.length},lookupValue:function(n,e){return(n+=this.tokenIndex)<this.tokenCount&&r(this.source,16777215&this.offsetAndType[n-1],16777215&this.offsetAndType[n],e)},getTokenStart:function(n){return n===this.tokenIndex?this.tokenStart:n>0?n<this.tokenCount?16777215&this.offsetAndType[n-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset},getRawLength:function(n,e){var t,l=n,o=16777215&this.offsetAndType[Math.max(l-1,0)];n:for(;l<this.tokenCount&&!((t=this.balance[l])<n);l++)switch(e(this.offsetAndType[l]>>24,this.source,o)){case 1:break n;case 2:l++;break n;default:o=16777215&this.offsetAndType[l],this.balance[t]===l&&(l=t)}return l-this.tokenIndex},isBalanceEdge:function(n){return this.balance[this.tokenIndex]<n},isDelim:function(n,e){return e?this.lookupType(e)===o.Delim&&this.source.charCodeAt(this.lookupOffset(e))===n:this.tokenType===o.Delim&&this.source.charCodeAt(this.tokenStart)===n},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},getTokenLength:function(){return this.tokenEnd-this.tokenStart},substrToCursor:function(n){return this.source.substring(n,this.tokenStart)},skipWS:function(){for(var n=this.tokenIndex,e=0;n<this.tokenCount&&this.offsetAndType[n]>>24===u;n++,e++);e>0&&this.skip(e)},skipSC:function(){for(;this.tokenType===u||this.tokenType===s;)this.next()},skip:function(n){var e=this.tokenIndex+n;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=16777215&this.offsetAndType[e-1],this.tokenType=(e=this.offsetAndType[e])>>24,this.tokenEnd=16777215&e):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var n=this.tokenIndex+1;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.tokenEnd,this.tokenType=(n=this.offsetAndType[n])>>24,this.tokenEnd=16777215&n):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=a,this.tokenStart=this.tokenEnd=this.source.length)},dump:function(){var n=this.firstCharOffset;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map((function(e,t){var l=n,o=16777215&e;return n=o,{idx:t,type:i[e>>24],chunk:this.source.substring(l,o),balance:this.balance[t]}}),this)}},n.exports=d},"909l":function(n,e,t){"use strict";t.d(e,"b",(function(){return d})),t.d(e,"a",(function(){return c}));var l=t("mrSG"),o=t("IUTb"),i=t("isby"),r=t("FFOo"),a=t("MGBS"),u=t("zotm"),s=t("En8+");function d(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return"function"==typeof t&&n.pop(),Object(o.a)(n,void 0).lift(new c(t))}var c=function(){function n(n){this.resultSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.resultSelector))},n}(),p=function(n){function e(e,t,l){void 0===l&&(l=Object.create(null));var o=n.call(this,e)||this;return o.iterators=[],o.active=0,o.resultSelector="function"==typeof t?t:null,o.values=l,o}return l.c(e,n),e.prototype._next=function(n){var e=this.iterators;Object(i.a)(n)?e.push(new h(n)):e.push("function"==typeof n[s.a]?new f(n[s.a]()):new m(this.destination,this,n))},e.prototype._complete=function(){var n=this.iterators,e=n.length;if(this.unsubscribe(),0!==e){this.active=e;for(var t=0;t<e;t++){var l=n[t];l.stillUnsubscribed?this.destination.add(l.subscribe(l,t)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var n=this.iterators,e=n.length,t=this.destination,l=0;l<e;l++)if("function"==typeof(r=n[l]).hasValue&&!r.hasValue())return;var o=!1,i=[];for(l=0;l<e;l++){var r,a=(r=n[l]).next();if(r.hasCompleted()&&(o=!0),a.done)return void t.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):t.next(i),o&&t.complete()},e.prototype._tryresultSelector=function(n){var e;try{e=this.resultSelector.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(r.a),f=function(){function n(n){this.iterator=n,this.nextResult=n.next()}return n.prototype.hasValue=function(){return!0},n.prototype.next=function(){var n=this.nextResult;return this.nextResult=this.iterator.next(),n},n.prototype.hasCompleted=function(){var n=this.nextResult;return n&&n.done},n}(),h=function(){function n(n){this.array=n,this.index=0,this.length=0,this.length=n.length}return n.prototype[s.a]=function(){return this},n.prototype.next=function(n){var e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}},n.prototype.hasValue=function(){return this.array.length>this.index},n.prototype.hasCompleted=function(){return this.array.length===this.index},n}(),m=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.parent=t,o.observable=l,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return l.c(e,n),e.prototype[s.a]=function(){return this},e.prototype.next=function(){var n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.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(n,e,t,l,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(n,e){return Object(u.a)(this,this.observable,this,e)},e}(a.a)},"9K4g":function(n,e,t){var l=t("vd7W").TYPE.Hash;n.exports={name:"HexColor",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"HexColor",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n+1)}},generate:function(n){this.chunk("#"),this.chunk(n.value)}}},"9Z1F":function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("MGBS"),i=t("rPjj"),r=t("zotm");function a(n){return function(e){var t=new u(n),l=e.lift(t);return t.caught=l}}var u=function(){function n(n){this.selector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.selector,this.caught))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.selector=t,o.caught=l,o}return l.c(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(a){return void n.prototype.error.call(this,a)}this._unsubscribeAndRecycle();var l=new i.a(this,void 0,void 0);this.add(l);var o=Object(r.a)(this,t,void 0,void 0,l);o!==l&&this.add(o)}},e}(o.a)},"9dfq":function(n,e,t){"use strict";var l=t("mrSG"),o=t("6blF"),i=t("KQya"),r=t("/21U"),a=function(n){function e(e,t,l){void 0===t&&(t=0),void 0===l&&(l=i.a);var o=n.call(this)||this;return o.source=e,o.delayTime=t,o.scheduler=l,(!Object(r.a)(t)||t<0)&&(o.delayTime=0),l&&"function"==typeof l.schedule||(o.scheduler=i.a),o}return l.c(e,n),e.create=function(n,t,l){return void 0===t&&(t=0),void 0===l&&(l=i.a),new e(n,t,l)},e.dispatch=function(n){return this.add(n.source.subscribe(n.subscriber))},e.prototype._subscribe=function(n){return this.scheduler.schedule(e.dispatch,this.delayTime,{source:this.source,subscriber:n})},e}(o.a);function u(n,e){return void 0===e&&(e=0),function(t){return t.lift(new s(n,e))}}t.d(e,"a",(function(){return u}));var s=function(){function n(n,e){this.scheduler=n,this.delay=e}return n.prototype.call=function(n,e){return new a(e,this.delay,this.scheduler).subscribe(n)},n}()},AJqF:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("FFOo"),i=t("T1DM"),r=t("+gEr");function a(n,e,t){return void 0===e&&(e=i.a),void 0===t&&(t=r.a),function(l){return l.lift(new u(n,e,t.leading,t.trailing))}}var u=function(){function n(n,e,t,l){this.duration=n,this.scheduler=e,this.leading=t,this.trailing=l}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.duration,this.scheduler,this.leading,this.trailing))},n}(),s=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;return r.duration=t,r.scheduler=l,r.leading=o,r.trailing=i,r._hasTrailingValue=!1,r._trailingValue=null,r}return l.c(e,n),e.prototype._next=function(n){this.throttled?this.trailing&&(this._trailingValue=n,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(d,this.duration,{subscriber:this})),this.leading?this.destination.next(n):this.trailing&&(this._trailingValue=n,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var n=this.throttled;n&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),n.unsubscribe(),this.remove(n),this.throttled=null)},e}(o.a);function d(n){n.subscriber.clearThrottle()}},AKyF:function(n,e,t){var l=t("vYjF");n.exports={wrapMethod:function(n,e,t){var o=n[e],i=n;if(e in n){var r="warn"===e?"warning":e;n[e]=function(){var n=[].slice.call(arguments),a=l.safeJoin(n," "),u={level:r,logger:"console",extra:{arguments:n}};"assert"===e?!1===n[0]&&(a="Assertion failed: "+(l.safeJoin(n.slice(1)," ")||"console.assert"),u.extra.arguments=n.slice(1),t&&t(a,u)):t&&t(a,u),o&&Function.prototype.apply.call(o,i,n)}}}}},AxiF:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("FFOo"),i=t("b7mW"),r=t("G5J1");function a(n){return function(e){return 0===n?Object(r.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new i.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.ring=new Array,l.count=0,l}return l.c(e,n),e.prototype._next=function(n){var e=this.ring,t=this.total,l=this.count++;e.length<t?e.push(n):e[l%t]=n},e.prototype._complete=function(){var n=this.destination,e=this.count;if(e>0)for(var t=this.count>=this.total?this.total:this.count,l=this.ring,o=0;o<t;o++){var i=e++%t;n.next(l[i])}n.complete()},e}(o.a)},B3CK:function(n,e,t){n.exports=t("lXnc")},BjAV:function(n,e){function t(n,e){for(var t=0;t<n.length;++t)if(n[t]===e)return t;return-1}function l(n,e){var l=[],o=[];return null==e&&(e=function(n,e){return l[0]===e?"[Circular ~]":"[Circular ~."+o.slice(0,t(l,e)).join(".")+"]"}),function(i,r){if(l.length>0){var a=t(l,this);~a?l.splice(a+1):l.push(this),~a?o.splice(a,1/0,i):o.push(i),~t(l,r)&&(r=e.call(this,i,r))}else l.push(r);return null==n?r instanceof Error?function(n){var e={stack:n.stack,message:n.message,name:n.name};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}(r):r:n.call(this,i,r)}}(n.exports=function(n,e,t,o){return JSON.stringify(n,l(e,o),t)}).getSerialize=l},CBFY:function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__metadata||function(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)};Object.defineProperty(e,"__esModule",{value:!0});var i=t("CcnG"),r=t("M+vq"),a=t("oVTH");t("imBb");var u=function(){function n(n,e){this._hotkeysService=n,this._elementRef=e,this.hotkeysList=[],this.oldHotkeys=[],this.mousetrap=new Mousetrap(this._elementRef.nativeElement)}return n.prototype.ngOnInit=function(){for(var n=0,e=this.hotkeys;n<e.length;n++){var t=e[n],l=Object.keys(t)[0],o=new r.Hotkey(l,t[l]),i=this._hotkeysService.get(l);null!==i&&(this.oldHotkeys.push(i),this._hotkeysService.remove(i)),this.hotkeysList.push(o),this.mousetrap.bind(o.combo,o.callback)}},n.prototype.ngOnDestroy=function(){for(var n=0,e=this.hotkeysList;n<e.length;n++)this.mousetrap.unbind(e[n].combo);this._hotkeysService.add(this.oldHotkeys)},l([i.Input(),o("design:type",Array)],n.prototype,"hotkeys",void 0),l([i.Directive({selector:"[hotkeys]",providers:[a.HotkeysService]}),o("design:paramtypes",[a.HotkeysService,i.ElementRef])],n)}();e.HotkeysDirective=u},CJ5M:function(n,e,t){var l=t("vd7W"),o=l.isIdentifierStart,i=l.isHexDigit,r=l.isDigit,a=l.cmpStr,u=l.consumeNumber,s=l.TYPE,d=t("/slF"),c=t("2TAq"),p=["unset","initial","inherit"],f=["calc(","-moz-calc(","-webkit-calc("];function h(n,e){return e<n.length?n.charCodeAt(e):0}function m(n,e){return a(n,0,n.length,e)}function v(n,e){for(var t=0;t<e.length;t++)if(m(n,e[t]))return!0;return!1}function g(n,e){return e===n.length-2&&92===n.charCodeAt(e)&&r(n.charCodeAt(e+1))}function b(n,e,t){if(n&&"Range"===n.type){var l=Number(void 0!==t&&t!==e.length?e.substr(0,t):e);if(isNaN(l))return!0;if(null!==n.min&&l<n.min)return!0;if(null!==n.max&&l>n.max)return!0}return!1}function _(n,e){var t=n.index,l=0;do{if(l++,n.balance<=t)break}while(n=e(l));return l}function y(n){return function(e,t,l){return null===e?0:e.type===s.Function&&v(e.value,f)?_(e,t):n(e,t,l)}}function C(n){return function(e){return null===e||e.type!==n?0:1}}function w(n){return function(e,t,l){if(null===e||e.type!==s.Dimension)return 0;var o=u(e.value,0);if(null!==n){var i=e.value.indexOf("\\",o),r=-1!==i&&g(e.value,i)?e.value.substring(o,i):e.value.substr(o);if(!1===n.hasOwnProperty(r.toLowerCase()))return 0}return b(l,e.value,o)?0:1}}function S(n){return"function"!=typeof n&&(n=function(){return 0}),function(e,t,l){return null!==e&&e.type===s.Number&&0===Number(e.value)?1:n(e,t,l)}}n.exports={"ident-token":C(s.Ident),"function-token":C(s.Function),"at-keyword-token":C(s.AtKeyword),"hash-token":C(s.Hash),"string-token":C(s.String),"bad-string-token":C(s.BadString),"url-token":C(s.Url),"bad-url-token":C(s.BadUrl),"delim-token":C(s.Delim),"number-token":C(s.Number),"percentage-token":C(s.Percentage),"dimension-token":C(s.Dimension),"whitespace-token":C(s.WhiteSpace),"CDO-token":C(s.CDO),"CDC-token":C(s.CDC),"colon-token":C(s.Colon),"semicolon-token":C(s.Semicolon),"comma-token":C(s.Comma),"[-token":C(s.LeftSquareBracket),"]-token":C(s.RightSquareBracket),"(-token":C(s.LeftParenthesis),")-token":C(s.RightParenthesis),"{-token":C(s.LeftCurlyBracket),"}-token":C(s.RightCurlyBracket),string:C(s.String),ident:C(s.Ident),"custom-ident":function(n){if(null===n||n.type!==s.Ident)return 0;var e=n.value.toLowerCase();return v(e,p)?0:m(e,"default")?0:1},"custom-property-name":function(n){return null===n||n.type!==s.Ident?0:45!==h(n.value,0)||45!==h(n.value,1)?0:1},"hex-color":function(n){if(null===n||n.type!==s.Hash)return 0;var e=n.value.length;if(4!==e&&5!==e&&7!==e&&9!==e)return 0;for(var t=1;t<e;t++)if(!i(n.value.charCodeAt(t)))return 0;return 1},"id-selector":function(n){return null===n||n.type!==s.Hash?0:o(h(n.value,1),h(n.value,2),h(n.value,3))?1:0},"an-plus-b":d,urange:c,"declaration-value":function(n,e){if(!n)return 0;var t=0,l=0,o=n.index;n:do{switch(n.type){case s.BadString:case s.BadUrl:break n;case s.RightCurlyBracket:case s.RightParenthesis:case s.RightSquareBracket:if(n.balance>n.index||n.balance<o)break n;l--;break;case s.Semicolon:if(0===l)break n;break;case s.Delim:if("!"===n.value&&0===l)break n;break;case s.Function:case s.LeftParenthesis:case s.LeftSquareBracket:case s.LeftCurlyBracket:l++}if(t++,n.balance<=o)break}while(n=e(t));return t},"any-value":function(n,e){if(!n)return 0;var t=n.index,l=0;n:do{switch(n.type){case s.BadString:case s.BadUrl:break n;case s.RightCurlyBracket:case s.RightParenthesis:case s.RightSquareBracket:if(n.balance>n.index||n.balance<t)break n}if(l++,n.balance<=t)break}while(n=e(l));return l},dimension:y(w(null)),angle:y(w({deg:!0,grad:!0,rad:!0,turn:!0})),decibel:y(w({db:!0})),frequency:y(w({hz:!0,khz:!0})),flex:y(w({fr:!0})),length:y(S(w({px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0}))),resolution:y(w({dpi:!0,dpcm:!0,dppx:!0,x:!0})),semitones:y(w({st:!0})),time:y(w({s:!0,ms:!0})),percentage:y((function(n,e,t){return null===n||n.type!==s.Percentage?0:b(t,n.value,n.value.length-1)?0:1})),zero:S(),number:y((function(n,e,t){if(null===n)return 0;var l=u(n.value,0);return l===n.value.length||g(n.value,l)?b(t,n.value,l)?0:1:0})),integer:y((function(n,e,t){if(null===n||n.type!==s.Number)return 0;for(var l=43===n.value.charCodeAt(0)||45===n.value.charCodeAt(0)?1:0;l<n.value.length;l++)if(!r(n.value.charCodeAt(l)))return 0;return b(t,n.value,l)?0:1})),"-ms-legacy-expression":function(n,e){return null!==n&&m(n.value,"expression(")?_(n,e):0}}},CS9Q:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("siIJ"),i=function(n){function e(t,l){void 0===l&&(l=o.a.now);var i=n.call(this,t,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():l()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return l.c(e,n),e.prototype.schedule=function(t,l,o){return void 0===l&&(l=0),e.delegate&&e.delegate!==this?e.delegate.schedule(t,l,o):n.prototype.schedule.call(this,t,l,o)},e.prototype.flush=function(n){var e=this.actions;if(this.active)e.push(n);else{var t;this.active=!0;do{if(t=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,t){for(;n=e.shift();)n.unsubscribe();throw t}}},e}(o.a)},Cbry:function(n,e){e.getArg=function(n,e,t){if(e in n)return n[e];if(3===arguments.length)return t;throw new Error('"'+e+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,l=/^data:.+\,.+$/;function o(n){var e=n.match(t);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}function i(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}function r(n){var t=n,l=o(n);if(l){if(!l.path)return n;t=l.path}for(var r,a=e.isAbsolute(t),u=t.split(/\/+/),s=0,d=u.length-1;d>=0;d--)"."===(r=u[d])?u.splice(d,1):".."===r?s++:s>0&&(""===r?(u.splice(d+1,s),s=0):(u.splice(d,2),s--));return""===(t=u.join("/"))&&(t=a?"/":"."),l?(l.path=t,i(l)):t}function a(n,e){""===n&&(n="."),""===e&&(e=".");var t=o(e),a=o(n);if(a&&(n=a.path||"/"),t&&!t.scheme)return a&&(t.scheme=a.scheme),i(t);if(t||e.match(l))return e;if(a&&!a.host&&!a.path)return a.host=e,i(a);var u="/"===e.charAt(0)?e:r(n.replace(/\/+$/,"")+"/"+e);return a?(a.path=u,i(a)):u}e.urlParse=o,e.urlGenerate=i,e.normalize=r,e.join=a,e.isAbsolute=function(n){return"/"===n.charAt(0)||t.test(n)},e.relative=function(n,e){""===n&&(n="."),n=n.replace(/\/$/,"");for(var t=0;0!==e.indexOf(n+"/");){var l=n.lastIndexOf("/");if(l<0)return e;if((n=n.slice(0,l)).match(/^([^\/]+:\/)?\/*$/))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)};var u=!("__proto__"in Object.create(null));function s(n){return n}function d(n){if(!n)return!1;var e=n.length;if(e<9)return!1;if(95!==n.charCodeAt(e-1)||95!==n.charCodeAt(e-2)||111!==n.charCodeAt(e-3)||116!==n.charCodeAt(e-4)||111!==n.charCodeAt(e-5)||114!==n.charCodeAt(e-6)||112!==n.charCodeAt(e-7)||95!==n.charCodeAt(e-8)||95!==n.charCodeAt(e-9))return!1;for(var t=e-10;t>=0;t--)if(36!==n.charCodeAt(t))return!1;return!0}function c(n,e){return n===e?0:null===n?1:null===e?-1:n>e?1:-1}e.toSetString=u?s:function(n){return d(n)?"$"+n:n},e.fromSetString=u?s:function(n){return d(n)?n.slice(1):n},e.compareByOriginalPositions=function(n,e,t){var l=c(n.source,e.source);return 0!==l?l:0!=(l=n.originalLine-e.originalLine)?l:0!=(l=n.originalColumn-e.originalColumn)||t?l:0!=(l=n.generatedColumn-e.generatedColumn)?l:0!=(l=n.generatedLine-e.generatedLine)?l:c(n.name,e.name)},e.compareByGeneratedPositionsDeflated=function(n,e,t){var l=n.generatedLine-e.generatedLine;return 0!==l?l:0!=(l=n.generatedColumn-e.generatedColumn)||t?l:0!==(l=c(n.source,e.source))?l:0!=(l=n.originalLine-e.originalLine)?l:0!=(l=n.originalColumn-e.originalColumn)?l:c(n.name,e.name)},e.compareByGeneratedPositionsInflated=function(n,e){var t=n.generatedLine-e.generatedLine;return 0!==t?t:0!=(t=n.generatedColumn-e.generatedColumn)?t:0!==(t=c(n.source,e.source))?t:0!=(t=n.originalLine-e.originalLine)?t:0!=(t=n.originalColumn-e.originalColumn)?t:c(n.name,e.name)},e.parseSourceMapInput=function(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(n,e,t){if(e=e||"",n&&("/"!==n[n.length-1]&&"/"!==e[0]&&(n+="/"),e=n+e),t){var l=o(t);if(!l)throw new Error("sourceMapURL could not be parsed");if(l.path){var u=l.path.lastIndexOf("/");u>=0&&(l.path=l.path.substring(0,u+1))}e=a(i(l),e)}return r(e)}},CcnG:function(n,e,t){"use strict";t.r(e),t.d(e,"ɵangular_packages_core_core_q",(function(){return sy})),t.d(e,"ɵangular_packages_core_core_n",(function(){return ry})),t.d(e,"ɵangular_packages_core_core_o",(function(){return ay})),t.d(e,"ɵangular_packages_core_core_p",(function(){return uy})),t.d(e,"ɵangular_packages_core_core_r",(function(){return dy})),t.d(e,"ɵangular_packages_core_core_f",(function(){return mb})),t.d(e,"ɵangular_packages_core_core_l",(function(){return ef})),t.d(e,"ɵangular_packages_core_core_m",(function(){return sf})),t.d(e,"ɵangular_packages_core_core_k",(function(){return B_})),t.d(e,"ɵangular_packages_core_core_j",(function(){return V_})),t.d(e,"ɵangular_packages_core_core_b",(function(){return sn})),t.d(e,"ɵangular_packages_core_core_a",(function(){return ln})),t.d(e,"ɵangular_packages_core_core_c",(function(){return ss})),t.d(e,"ɵangular_packages_core_core_d",(function(){return $u})),t.d(e,"ɵangular_packages_core_core_e",(function(){return ls})),t.d(e,"ɵangular_packages_core_core_i",(function(){return I_})),t.d(e,"ɵangular_packages_core_core_s",(function(){return Xb})),t.d(e,"ɵangular_packages_core_core_u",(function(){return Gb})),t.d(e,"ɵangular_packages_core_core_t",(function(){return zb})),t.d(e,"ɵangular_packages_core_core_x",(function(){return Kb})),t.d(e,"ɵangular_packages_core_core_v",(function(){return Wb})),t.d(e,"ɵangular_packages_core_core_w",(function(){return Zb})),t.d(e,"ɵangular_packages_core_core_ba",(function(){return Cm})),t.d(e,"ɵangular_packages_core_core_bb",(function(){return io})),t.d(e,"ɵangular_packages_core_core_bc",(function(){return dt})),t.d(e,"ɵangular_packages_core_core_bd",(function(){return wt})),t.d(e,"ɵangular_packages_core_core_be",(function(){return jt})),t.d(e,"ɵangular_packages_core_core_bm",(function(){return Xl})),t.d(e,"ɵangular_packages_core_core_bl",(function(){return Je})),t.d(e,"ɵangular_packages_core_core_g",(function(){return Ua})),t.d(e,"ɵangular_packages_core_core_h",(function(){return za})),t.d(e,"ɵangular_packages_core_core_bg",(function(){return gi})),t.d(e,"ɵangular_packages_core_core_bk",(function(){return kn})),t.d(e,"ɵangular_packages_core_core_bh",(function(){return h})),t.d(e,"ɵangular_packages_core_core_bi",(function(){return m})),t.d(e,"ɵangular_packages_core_core_bn",(function(){return k})),t.d(e,"ɵangular_packages_core_core_y",(function(){return im})),t.d(e,"ɵangular_packages_core_core_z",(function(){return Mf})),t.d(e,"createPlatform",(function(){return __})),t.d(e,"assertPlatform",(function(){return C_})),t.d(e,"destroyPlatform",(function(){return w_})),t.d(e,"getPlatform",(function(){return S_})),t.d(e,"PlatformRef",(function(){return x_})),t.d(e,"ApplicationRef",(function(){return E_})),t.d(e,"createPlatformFactory",(function(){return y_})),t.d(e,"NgProbeToken",(function(){return b_})),t.d(e,"enableProdMode",(function(){return qo})),t.d(e,"isDevMode",(function(){return Po})),t.d(e,"APP_ID",(function(){return hb})),t.d(e,"PACKAGE_ROOT_URL",(function(){return Cb})),t.d(e,"PLATFORM_INITIALIZER",(function(){return bb})),t.d(e,"PLATFORM_ID",(function(){return _b})),t.d(e,"APP_BOOTSTRAP_LISTENER",(function(){return yb})),t.d(e,"APP_INITIALIZER",(function(){return pb})),t.d(e,"ApplicationInitStatus",(function(){return fb})),t.d(e,"DebugElement",(function(){return oy})),t.d(e,"DebugEventListener",(function(){return j_})),t.d(e,"DebugNode",(function(){return ly})),t.d(e,"asNativeElements",(function(){return H_})),t.d(e,"getDebugNode",(function(){return ey})),t.d(e,"Testability",(function(){return d_})),t.d(e,"TestabilityRegistry",(function(){return c_})),t.d(e,"setTestabilityGetter",(function(){return p_})),t.d(e,"TRANSLATIONS",(function(){return xb})),t.d(e,"TRANSLATIONS_FORMAT",(function(){return kb})),t.d(e,"LOCALE_ID",(function(){return Sb})),t.d(e,"MissingTranslationStrategy",(function(){return Eb})),t.d(e,"ApplicationModule",(function(){return cy})),t.d(e,"wtfCreateScope",(function(){return $b})),t.d(e,"wtfLeave",(function(){return Qb})),t.d(e,"wtfStartTimeRange",(function(){return Jb})),t.d(e,"wtfEndTimeRange",(function(){return n_})),t.d(e,"Type",(function(){return Ya})),t.d(e,"EventEmitter",(function(){return Qv})),t.d(e,"ErrorHandler",(function(){return So})),t.d(e,"Sanitizer",(function(){return ui})),t.d(e,"SecurityContext",(function(){return ai})),t.d(e,"Attribute",(function(){return S})),t.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return ds})),t.d(e,"ContentChild",(function(){return fs})),t.d(e,"ContentChildren",(function(){return ps})),t.d(e,"Query",(function(){return cs})),t.d(e,"ViewChild",(function(){return ms})),t.d(e,"ViewChildren",(function(){return hs})),t.d(e,"Component",(function(){return $g})),t.d(e,"Directive",(function(){return Yg})),t.d(e,"HostBinding",(function(){return eb})),t.d(e,"HostListener",(function(){return tb})),t.d(e,"Input",(function(){return Jg})),t.d(e,"Output",(function(){return nb})),t.d(e,"Pipe",(function(){return Qg})),t.d(e,"NgModule",(function(){return sb})),t.d(e,"CUSTOM_ELEMENTS_SCHEMA",(function(){return xo})),t.d(e,"NO_ERRORS_SCHEMA",(function(){return ko})),t.d(e,"ViewEncapsulation",(function(){return xn})),t.d(e,"Version",(function(){return Jp})),t.d(e,"VERSION",(function(){return nf})),t.d(e,"InjectFlags",(function(){return x})),t.d(e,"ɵɵdefineInjectable",(function(){return T})),t.d(e,"defineInjectable",(function(){return R})),t.d(e,"ɵɵdefineInjector",(function(){return I})),t.d(e,"forwardRef",(function(){return P})),t.d(e,"resolveForwardRef",(function(){return q})),t.d(e,"Injectable",(function(){return bu})),t.d(e,"Injector",(function(){return Pu})),t.d(e,"ɵɵinject",(function(){return on})),t.d(e,"inject",(function(){return rn})),t.d(e,"INJECTOR",(function(){return W})),t.d(e,"ReflectiveInjector",(function(){return us})),t.d(e,"ResolvedReflectiveFactory",(function(){return ns})),t.d(e,"ReflectiveKey",(function(){return Ku})),t.d(e,"InjectionToken",(function(){return G})),t.d(e,"Inject",(function(){return g})),t.d(e,"Optional",(function(){return b})),t.d(e,"Self",(function(){return _})),t.d(e,"SkipSelf",(function(){return y})),t.d(e,"Host",(function(){return C})),t.d(e,"ɵ0",(function(){return v})),t.d(e,"ɵ1",(function(){return w})),t.d(e,"NgZone",(function(){return l_})),t.d(e,"ɵNoopNgZone",(function(){return s_})),t.d(e,"RenderComponentType",(function(){return zp})),t.d(e,"Renderer",(function(){return Wp})),t.d(e,"Renderer2",(function(){return Yp})),t.d(e,"RendererFactory2",(function(){return Kp})),t.d(e,"RendererStyleFlags2",(function(){return Xp})),t.d(e,"RootRenderer",(function(){return Zp})),t.d(e,"COMPILER_OPTIONS",(function(){return Hb})),t.d(e,"Compiler",(function(){return Bb})),t.d(e,"CompilerFactory",(function(){return Ub})),t.d(e,"ModuleWithComponentFactories",(function(){return Ib})),t.d(e,"ComponentFactory",(function(){return Mp})),t.d(e,"ɵComponentFactory",(function(){return Mp})),t.d(e,"ComponentRef",(function(){return Op})),t.d(e,"ComponentFactoryResolver",(function(){return qp})),t.d(e,"ElementRef",(function(){return Bp})),t.d(e,"NgModuleFactory",(function(){return hn})),t.d(e,"NgModuleRef",(function(){return fn})),t.d(e,"NgModuleFactoryLoader",(function(){return R_})),t.d(e,"getModuleFactory",(function(){return F_})),t.d(e,"QueryList",(function(){return ng})),t.d(e,"SystemJsNgModuleLoader",(function(){return A_})),t.d(e,"SystemJsNgModuleLoaderConfig",(function(){return M_})),t.d(e,"TemplateRef",(function(){return gf})),t.d(e,"ViewContainerRef",(function(){return yf})),t.d(e,"EmbeddedViewRef",(function(){return L_})),t.d(e,"ViewRef",(function(){return q_})),t.d(e,"ChangeDetectionStrategy",(function(){return Cn})),t.d(e,"ChangeDetectorRef",(function(){return Za})),t.d(e,"DefaultIterableDiffer",(function(){return lf})),t.d(e,"IterableDiffers",(function(){return pf})),t.d(e,"KeyValueDiffers",(function(){return ff})),t.d(e,"SimpleChange",(function(){return hp})),t.d(e,"WrappedValue",(function(){return Ts})),t.d(e,"platformCore",(function(){return iy})),t.d(e,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return g_})),t.d(e,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return vb})),t.d(e,"ɵdefaultIterableDiffers",(function(){return mf})),t.d(e,"ɵdefaultKeyValueDiffers",(function(){return vf})),t.d(e,"ɵdevModeEqual",(function(){return Es})),t.d(e,"ɵisListLikeIterable",(function(){return Rs})),t.d(e,"ɵChangeDetectorStatus",(function(){return wn})),t.d(e,"ɵisDefaultChangeDetectionStrategy",(function(){return Sn})),t.d(e,"ɵConsole",(function(){return wb})),t.d(e,"ɵsetCurrentInjector",(function(){return en})),t.d(e,"ɵgetInjectableDef",(function(){return D})),t.d(e,"ɵAPP_ROOT",(function(){return Cu})),t.d(e,"ɵDEFAULT_LOCALE_ID",(function(){return Dm})),t.d(e,"ɵivyEnabled",(function(){return Rb})),t.d(e,"ɵCodegenComponentFactoryResolver",(function(){return Lp})),t.d(e,"ɵclearResolutionOfComponentResourcesQueue",(function(){return ys})),t.d(e,"ɵresolveComponentResources",(function(){return vs})),t.d(e,"ɵReflectionCapabilities",(function(){return tu})),t.d(e,"ɵRenderDebugInfo",(function(){return Gp})),t.d(e,"ɵ_sanitizeHtml",(function(){return ii})),t.d(e,"ɵ_sanitizeStyle",(function(){return ci})),t.d(e,"ɵ_sanitizeUrl",(function(){return Bo})),t.d(e,"ɵglobal",(function(){return H})),t.d(e,"ɵlooseIdentical",(function(){return ks})),t.d(e,"ɵstringify",(function(){return N})),t.d(e,"ɵmakeDecorator",(function(){return p})),t.d(e,"ɵisObservable",(function(){return Wd})),t.d(e,"ɵisPromise",(function(){return Gd})),t.d(e,"ɵclearOverrides",(function(){return BC})),t.d(e,"ɵinitServicesIfNeeded",(function(){return eC})),t.d(e,"ɵoverrideComponentView",(function(){return VC})),t.d(e,"ɵoverrideProvider",(function(){return jC})),t.d(e,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return pm})),t.d(e,"ɵgetLocalePluralCase",(function(){return Rm})),t.d(e,"ɵfindLocaleData",(function(){return Im})),t.d(e,"ɵLOCALE_DATA",(function(){return xm})),t.d(e,"ɵLocaleDataIndex",(function(){return km})),t.d(e,"ɵɵattribute",(function(){return Ls})),t.d(e,"ɵɵattributeInterpolate1",(function(){return Ks})),t.d(e,"ɵɵattributeInterpolate2",(function(){return Xs})),t.d(e,"ɵɵattributeInterpolate3",(function(){return Ys})),t.d(e,"ɵɵattributeInterpolate4",(function(){return $s})),t.d(e,"ɵɵattributeInterpolate5",(function(){return Qs})),t.d(e,"ɵɵattributeInterpolate6",(function(){return Js})),t.d(e,"ɵɵattributeInterpolate7",(function(){return nd})),t.d(e,"ɵɵattributeInterpolate8",(function(){return ed})),t.d(e,"ɵɵattributeInterpolateV",(function(){return td})),t.d(e,"ɵɵdefineBase",(function(){return Un})),t.d(e,"ɵɵdefineComponent",(function(){return Pn})),t.d(e,"ɵɵdefineDirective",(function(){return zn})),t.d(e,"ɵɵdefinePipe",(function(){return Gn})),t.d(e,"ɵɵdefineNgModule",(function(){return Vn})),t.d(e,"ɵdetectChanges",(function(){return ld})),t.d(e,"ɵrenderComponent",(function(){return up})),t.d(e,"ɵRender3ComponentFactory",(function(){return wm})),t.d(e,"ɵRender3ComponentRef",(function(){return Sm})),t.d(e,"ɵɵdirectiveInject",(function(){return fd})),t.d(e,"ɵɵinjectAttribute",(function(){return hd})),t.d(e,"ɵɵinjectPipeChangeDetectorRef",(function(){return Sg})),t.d(e,"ɵɵgetFactoryOf",(function(){return mo})),t.d(e,"ɵɵgetInheritedFactory",(function(){return vo})),t.d(e,"ɵɵsetComponentScope",(function(){return qn})),t.d(e,"ɵɵsetNgModuleScope",(function(){return Bn})),t.d(e,"ɵɵtemplateRefExtractor",(function(){return wg})),t.d(e,"ɵɵProvidersFeature",(function(){return Fp})),t.d(e,"ɵɵInheritDefinitionFeature",(function(){return yp})),t.d(e,"ɵɵNgOnChangesFeature",(function(){return mp})),t.d(e,"ɵLifecycleHooksFeature",(function(){return pp})),t.d(e,"ɵRender3NgModuleRef",(function(){return Fv})),t.d(e,"ɵmarkDirty",(function(){return od})),t.d(e,"ɵNgModuleFactory",(function(){return Ov})),t.d(e,"ɵNO_CHANGE",(function(){return ir})),t.d(e,"ɵɵcontainer",(function(){return id})),t.d(e,"ɵɵnextContext",(function(){return Qd})),t.d(e,"ɵɵelementStart",(function(){return Nd})),t.d(e,"ɵɵnamespaceHTML",(function(){return Kt})),t.d(e,"ɵɵnamespaceMathML",(function(){return Zt})),t.d(e,"ɵɵnamespaceSVG",(function(){return Wt})),t.d(e,"ɵɵelement",(function(){return Pd})),t.d(e,"ɵɵlistener",(function(){return Zd})),t.d(e,"ɵɵtext",(function(){return hc})),t.d(e,"ɵɵtextInterpolate",(function(){return vc})),t.d(e,"ɵɵtextInterpolate1",(function(){return gc})),t.d(e,"ɵɵtextInterpolate2",(function(){return bc})),t.d(e,"ɵɵtextInterpolate3",(function(){return _c})),t.d(e,"ɵɵtextInterpolate4",(function(){return yc})),t.d(e,"ɵɵtextInterpolate5",(function(){return Cc})),t.d(e,"ɵɵtextInterpolate6",(function(){return wc})),t.d(e,"ɵɵtextInterpolate7",(function(){return Sc})),t.d(e,"ɵɵtextInterpolate8",(function(){return xc})),t.d(e,"ɵɵtextInterpolateV",(function(){return kc})),t.d(e,"ɵɵembeddedViewStart",(function(){return Hd})),t.d(e,"ɵɵprojection",(function(){return lc})),t.d(e,"ɵɵpipeBind1",(function(){return Gv})),t.d(e,"ɵɵpipeBind2",(function(){return Wv})),t.d(e,"ɵɵpipeBind3",(function(){return Zv})),t.d(e,"ɵɵpipeBind4",(function(){return Kv})),t.d(e,"ɵɵpipeBindV",(function(){return Xv})),t.d(e,"ɵɵpureFunction0",(function(){return Nv})),t.d(e,"ɵɵpureFunction1",(function(){return Av})),t.d(e,"ɵɵpureFunction2",(function(){return Pv})),t.d(e,"ɵɵpureFunction3",(function(){return qv})),t.d(e,"ɵɵpureFunction4",(function(){return Lv})),t.d(e,"ɵɵpureFunction5",(function(){return jv})),t.d(e,"ɵɵpureFunction6",(function(){return Vv})),t.d(e,"ɵɵpureFunction7",(function(){return Bv})),t.d(e,"ɵɵpureFunction8",(function(){return Hv})),t.d(e,"ɵɵpureFunctionV",(function(){return Uv})),t.d(e,"ɵɵgetCurrentView",(function(){return zd})),t.d(e,"ɵgetDirectives",(function(){return $c})),t.d(e,"ɵgetHostElement",(function(){return Jc})),t.d(e,"ɵɵrestoreView",(function(){return Ct})),t.d(e,"ɵɵcontainerRefreshStart",(function(){return ad})),t.d(e,"ɵɵcontainerRefreshEnd",(function(){return ud})),t.d(e,"ɵɵqueryRefresh",(function(){return sg})),t.d(e,"ɵɵviewQuery",(function(){return cg})),t.d(e,"ɵɵstaticViewQuery",(function(){return dg})),t.d(e,"ɵɵstaticContentQuery",(function(){return mg})),t.d(e,"ɵɵloadViewQuery",(function(){return fg})),t.d(e,"ɵɵcontentQuery",(function(){return hg})),t.d(e,"ɵɵloadContentQuery",(function(){return gg})),t.d(e,"ɵɵelementEnd",(function(){return Ad})),t.d(e,"ɵɵhostProperty",(function(){return zc})),t.d(e,"ɵɵproperty",(function(){return Ps})),t.d(e,"ɵɵpropertyInterpolate",(function(){return oc})),t.d(e,"ɵɵpropertyInterpolate1",(function(){return ic})),t.d(e,"ɵɵpropertyInterpolate2",(function(){return rc})),t.d(e,"ɵɵpropertyInterpolate3",(function(){return ac})),t.d(e,"ɵɵpropertyInterpolate4",(function(){return uc})),t.d(e,"ɵɵpropertyInterpolate5",(function(){return sc})),t.d(e,"ɵɵpropertyInterpolate6",(function(){return dc})),t.d(e,"ɵɵpropertyInterpolate7",(function(){return cc})),t.d(e,"ɵɵpropertyInterpolate8",(function(){return pc})),t.d(e,"ɵɵpropertyInterpolateV",(function(){return fc})),t.d(e,"ɵɵupdateSyntheticHostBinding",(function(){return Gc})),t.d(e,"ɵɵcomponentHostSyntheticListener",(function(){return Kd})),t.d(e,"ɵɵprojectionDef",(function(){return nc})),t.d(e,"ɵɵreference",(function(){return cd})),t.d(e,"ɵɵenableBindings",(function(){return ut})),t.d(e,"ɵɵdisableBindings",(function(){return st})),t.d(e,"ɵɵallocHostVars",(function(){return ws})),t.d(e,"ɵɵelementContainerStart",(function(){return jd})),t.d(e,"ɵɵelementContainerEnd",(function(){return Vd})),t.d(e,"ɵɵelementContainer",(function(){return Bd})),t.d(e,"ɵɵstyling",(function(){return md})),t.d(e,"ɵɵstyleMap",(function(){return Cd})),t.d(e,"ɵɵstyleSanitizer",(function(){return vd})),t.d(e,"ɵɵclassMap",(function(){return wd})),t.d(e,"ɵɵclassMapInterpolate1",(function(){return Ec})),t.d(e,"ɵɵclassMapInterpolate2",(function(){return Tc})),t.d(e,"ɵɵclassMapInterpolate3",(function(){return Rc})),t.d(e,"ɵɵclassMapInterpolate4",(function(){return Ic})),t.d(e,"ɵɵclassMapInterpolate5",(function(){return Dc})),t.d(e,"ɵɵclassMapInterpolate6",(function(){return Fc})),t.d(e,"ɵɵclassMapInterpolate7",(function(){return Oc})),t.d(e,"ɵɵclassMapInterpolate8",(function(){return Mc})),t.d(e,"ɵɵclassMapInterpolateV",(function(){return Nc})),t.d(e,"ɵɵstyleProp",(function(){return gd})),t.d(e,"ɵɵstylePropInterpolate1",(function(){return Ac})),t.d(e,"ɵɵstylePropInterpolate2",(function(){return Pc})),t.d(e,"ɵɵstylePropInterpolate3",(function(){return qc})),t.d(e,"ɵɵstylePropInterpolate4",(function(){return Lc})),t.d(e,"ɵɵstylePropInterpolate5",(function(){return jc})),t.d(e,"ɵɵstylePropInterpolate6",(function(){return Vc})),t.d(e,"ɵɵstylePropInterpolate7",(function(){return Bc})),t.d(e,"ɵɵstylePropInterpolate8",(function(){return Hc})),t.d(e,"ɵɵstylePropInterpolateV",(function(){return Uc})),t.d(e,"ɵɵstylingApply",(function(){return Ed})),t.d(e,"ɵɵclassProp",(function(){return _d})),t.d(e,"ɵɵelementHostAttrs",(function(){return qd})),t.d(e,"ɵɵselect",(function(){return gr})),t.d(e,"ɵɵtextBinding",(function(){return mc})),t.d(e,"ɵɵtemplate",(function(){return rd})),t.d(e,"ɵɵembeddedViewEnd",(function(){return Ud})),t.d(e,"ɵstore",(function(){return dd})),t.d(e,"ɵɵload",(function(){return pd})),t.d(e,"ɵɵpipe",(function(){return zv})),t.d(e,"ɵwhenRendered",(function(){return fp})),t.d(e,"ɵɵi18n",(function(){return uv})),t.d(e,"ɵɵi18nAttributes",(function(){return sv})),t.d(e,"ɵɵi18nExp",(function(){return pv})),t.d(e,"ɵɵi18nStart",(function(){return ev})),t.d(e,"ɵɵi18nEnd",(function(){return ov})),t.d(e,"ɵɵi18nApply",(function(){return fv})),t.d(e,"ɵɵi18nPostprocess",(function(){return lv})),t.d(e,"ɵi18nConfigureLocalize",(function(){return yv})),t.d(e,"ɵɵi18nLocalize",(function(){return wv})),t.d(e,"ɵsetLocaleId",(function(){return xv})),t.d(e,"ɵsetClassMetadata",(function(){return Mv})),t.d(e,"ɵɵresolveWindow",(function(){return tl})),t.d(e,"ɵɵresolveDocument",(function(){return ll})),t.d(e,"ɵɵresolveBody",(function(){return ol})),t.d(e,"ɵcompileComponent",(function(){return Lg})),t.d(e,"ɵcompileDirective",(function(){return jg})),t.d(e,"ɵcompileNgModule",(function(){return Dg})),t.d(e,"ɵcompileNgModuleDefs",(function(){return Fg})),t.d(e,"ɵpatchComponentDefWithScope",(function(){return Ng})),t.d(e,"ɵresetCompiledComponents",(function(){return Og})),t.d(e,"ɵflushModuleScopingQueueAsMuchAsPossible",(function(){return Rg})),t.d(e,"ɵtransitiveScopesFor",(function(){return Ag})),t.d(e,"ɵcompilePipe",(function(){return Xg})),t.d(e,"ɵɵsanitizeHtml",(function(){return pi})),t.d(e,"ɵɵsanitizeStyle",(function(){return fi})),t.d(e,"ɵɵdefaultStyleSanitizer",(function(){return _i})),t.d(e,"ɵɵsanitizeScript",(function(){return vi})),t.d(e,"ɵɵsanitizeUrl",(function(){return hi})),t.d(e,"ɵɵsanitizeResourceUrl",(function(){return mi})),t.d(e,"ɵɵsanitizeUrlOrResourceUrl",(function(){return bi})),t.d(e,"ɵbypassSanitizationTrustHtml",(function(){return Ro})),t.d(e,"ɵbypassSanitizationTrustStyle",(function(){return Io})),t.d(e,"ɵbypassSanitizationTrustScript",(function(){return Do})),t.d(e,"ɵbypassSanitizationTrustUrl",(function(){return Fo})),t.d(e,"ɵbypassSanitizationTrustResourceUrl",(function(){return Oo})),t.d(e,"ɵgetLContext",(function(){return Si})),t.d(e,"ɵNG_ELEMENT_ID",(function(){return Nn})),t.d(e,"ɵNG_COMPONENT_DEF",(function(){return Rn})),t.d(e,"ɵNG_DIRECTIVE_DEF",(function(){return In})),t.d(e,"ɵNG_PIPE_DEF",(function(){return Dn})),t.d(e,"ɵNG_MODULE_DEF",(function(){return Fn})),t.d(e,"ɵNG_BASE_DEF",(function(){return Mn})),t.d(e,"ɵNG_INJECTABLE_DEF",(function(){return O})),t.d(e,"ɵNG_INJECTOR_DEF",(function(){return M})),t.d(e,"ɵcompileNgModuleFactory__POST_R3__",(function(){return m_})),t.d(e,"ɵisBoundToModule__POST_R3__",(function(){return v_})),t.d(e,"ɵSWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return lb})),t.d(e,"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return ob})),t.d(e,"ɵSWITCH_COMPILE_PIPE__POST_R3__",(function(){return ib})),t.d(e,"ɵSWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return db})),t.d(e,"ɵgetDebugNode__POST_R3__",(function(){return ny})),t.d(e,"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return _u})),t.d(e,"ɵSWITCH_IVY_ENABLED__POST_R3__",(function(){return Tb})),t.d(e,"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Ka})),t.d(e,"ɵCompiler_compileModuleSync__POST_R3__",(function(){return Mb})),t.d(e,"ɵCompiler_compileModuleAsync__POST_R3__",(function(){return Ab})),t.d(e,"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return qb})),t.d(e,"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return jb})),t.d(e,"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Hp})),t.d(e,"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return bf})),t.d(e,"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return Cf})),t.d(e,"ɵSWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return $p})),t.d(e,"ɵgetModuleFactory__POST_R3__",(function(){return D_})),t.d(e,"ɵregisterNgModuleType",(function(){return Rv})),t.d(e,"ɵpublishGlobalUtil",(function(){return ap})),t.d(e,"ɵpublishDefaultGlobalUtils",(function(){return rp})),t.d(e,"ɵcreateInjector",(function(){return Tu})),t.d(e,"ɵINJECTOR_IMPL__POST_R3__",(function(){return Nu})),t.d(e,"ɵregisterModuleFactory",(function(){return Ev})),t.d(e,"ɵEMPTY_ARRAY",(function(){return gh})),t.d(e,"ɵEMPTY_MAP",(function(){return bh})),t.d(e,"ɵand",(function(){return py})),t.d(e,"ɵccf",(function(){return Fh})),t.d(e,"ɵcmf",(function(){return HC})),t.d(e,"ɵcrt",(function(){return Bf})),t.d(e,"ɵdid",(function(){return tm})),t.d(e,"ɵeld",(function(){return fy})),t.d(e,"ɵgetComponentViewDefinitionFactory",(function(){return Oh})),t.d(e,"ɵinlineInterpolate",(function(){return mh})),t.d(e,"ɵinterpolate",(function(){return hh})),t.d(e,"ɵmod",(function(){return xh})),t.d(e,"ɵmpd",(function(){return Sh})),t.d(e,"ɵncd",(function(){return Sy})),t.d(e,"ɵnov",(function(){return Uh})),t.d(e,"ɵpid",(function(){return lm})),t.d(e,"ɵprd",(function(){return om})),t.d(e,"ɵpad",(function(){return Ey})),t.d(e,"ɵpod",(function(){return Ty})),t.d(e,"ɵppd",(function(){return ky})),t.d(e,"ɵqud",(function(){return by})),t.d(e,"ɵted",(function(){return Iy})),t.d(e,"ɵunv",(function(){return Lf})),t.d(e,"ɵvid",(function(){return Oy}));var l=t("mrSG"),o=t("pugT"),i=t("K9Ia"),r=t("6blF"),a=t("p0ib"),u=t("S1nX"),s="__annotations__",d="__parameters__",c="__prop__metadata__";function p(n,e,t,o,i){var r=f(e);function a(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof a)return r.call.apply(r,Object(l.f)([this],e)),this;var u=new((n=a).bind.apply(n,Object(l.f)([void 0],e)));return function(n){return i&&i.apply(void 0,Object(l.f)([n],e)),(n.hasOwnProperty(s)?n[s]:Object.defineProperty(n,s,{value:[]})[s]).push(u),o&&o(n),n}}return t&&(a.prototype=Object.create(t.prototype)),a.prototype.ngMetadataName=n,a.annotationCls=a,a}function f(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n){var o=n.apply(void 0,Object(l.f)(e));for(var i in o)this[i]=o[i]}}}function h(n,e,t){var o=f(e);function i(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof i)return o.apply(this,e),this;var r=new((n=i).bind.apply(n,Object(l.f)([void 0],e)));return a.annotation=r,a;function a(n,e,t){for(var l=n.hasOwnProperty(d)?n[d]:Object.defineProperty(n,d,{value:[]})[d];l.length<=t;)l.push(null);return(l[t]=l[t]||[]).push(r),n}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i}function m(n,e,t,o){var i=f(e);function r(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof r)return i.apply(this,e),this;var a=new((n=r).bind.apply(n,Object(l.f)([void 0],e)));return function(n,t){var i=n.constructor,r=i.hasOwnProperty(c)?i[c]:Object.defineProperty(i,c,{value:{}})[c];r[t]=r.hasOwnProperty(t)&&r[t]||[],r[t].unshift(a),o&&o.apply(void 0,Object(l.f)([n,t],e))}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r}var v=function(n){return{token:n}},g=h("Inject",v),b=h("Optional"),_=h("Self"),y=h("SkipSelf"),C=h("Host"),w=function(n){return{attributeName:n}},S=h("Attribute",w),x=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}({});function k(n){for(var e in n)if(n[e]===k)return e;throw Error("Could not find renamed property on target object.")}function E(n,e){for(var t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function T(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}var R=T;function I(n){return{factory:n.factory,providers:n.providers||[],imports:n.imports||[]}}function D(n){var e=n[O];return e&&e.token===n?e:null}function F(n){return n&&n.hasOwnProperty(M)?n[M]:null}var O=k({ngInjectableDef:k}),M=k({ngInjectorDef:k});function N(n){if("string"==typeof n)return n;if(n instanceof Array)return"["+n.map(N).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return""+n.overriddenName;if(n.name)return""+n.name;var e=n.toString();if(null==e)return""+e;var t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}var A=k({__forward_ref__:k});function P(n){return n.__forward_ref__=P,n.toString=function(){return N(this())},n}function q(n){var e=n;return"function"==typeof e&&e.hasOwnProperty(A)&&e.__forward_ref__===P?e():n}var L="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,V="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,H=L||B||j||V;function U(){var n=H.ng;if(!n||!n.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return n.ɵcompilerFacade}var z,G=function(){function n(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=T({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}return n.prototype.toString=function(){return"InjectionToken "+this._desc},n}(),W=new G("INJECTOR",-1),Z=new Object,K="ngTempTokenPath",X="ngTokenPath",Y=/\n/gm,$="ɵ",Q="__source",J=k({provide:String,useValue:k}),nn=void 0;function en(n){var e=nn;return nn=n,e}function tn(n){var e=z;return z=n,e}function ln(n,e){if(void 0===e&&(e=x.Default),void 0===nn)throw new Error("inject() must be called from an injection context");return null===nn?an(n,void 0,e):nn.get(n,e&x.Optional?null:void 0,e)}function on(n,e){return void 0===e&&(e=x.Default),(z||ln)(n,e)}var rn=on;function an(n,e,t){var l=D(n);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(t&x.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+N(n)+"]")}function un(n){for(var e=[],t=0;t<n.length;t++){var l=q(n[t]);if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=x.Default,r=0;r<l.length;r++){var a=l[r];a instanceof b||"Optional"===a.ngMetadataName||a===b?i|=x.Optional:a instanceof y||"SkipSelf"===a.ngMetadataName||a===y?i|=x.SkipSelf:a instanceof _||"Self"===a.ngMetadataName||a===_?i|=x.Self:o=a instanceof g||a===g?a.token:a}e.push(on(o,i))}else e.push(on(l))}return e}var sn=function(){function n(){}return n.prototype.get=function(n,e){if(void 0===e&&(e=Z),e===Z){var t=new Error("NullInjectorError: No provider for "+N(n)+"!");throw t.name="NullInjectorError",t}return e},n}();function dn(n,e,t,l){var o=n[K];throw e[Q]&&o.unshift(e[Q]),n.message=cn("\n"+n.message,o,t,l),n[X]=o,n[K]=null,n}function cn(n,e,t,l){void 0===l&&(l=null),n=n&&"\n"===n.charAt(0)&&n.charAt(1)==$?n.substr(2):n;var o=N(e);if(e instanceof Array)o=e.map(N).join(" -> ");else if("object"==typeof e){var i=[];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];i.push(r+":"+("string"==typeof a?JSON.stringify(a):N(a)))}o="{"+i.join(", ")+"}"}return t+(l?"("+l+")":"")+"["+o+"]: "+n.replace(Y,"\n ")}var pn={"ɵɵdefineInjectable":T,"ɵɵdefineInjector":I,"ɵɵinject":on,"ɵɵgetFactoryOf":function(n){var e=n,t=D(e)||F(e);return t&&void 0!==t.factory?t.factory:null}},fn=function(){return function(){}}(),hn=function(){return function(){}}();function mn(n,e){for(var t=0;t<n.length;t++)e.push(n[t])}function vn(n,e){void 0===e&&(e=n);for(var t=0;t<n.length;t++){var l=n[t];Array.isArray(l)?(e===n&&(e=n.slice(0,t)),vn(l,e)):e!==n&&e.push(l)}return e}function gn(n,e){n.forEach((function(n){return Array.isArray(n)?gn(n,e):e(n)}))}function bn(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function _n(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function yn(n){throw new Error("ASSERTION ERROR: "+n)}var Cn=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}({}),wn=function(n){return n[n.CheckOnce=0]="CheckOnce",n[n.Checked=1]="Checked",n[n.CheckAlways=2]="CheckAlways",n[n.Detached=3]="Detached",n[n.Errored=4]="Errored",n[n.Destroyed=5]="Destroyed",n}({});function Sn(n){return null==n||n===Cn.Default}var xn=function(n){return n[n.Emulated=0]="Emulated",n[n.Native=1]="Native",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}({});function kn(n){return""+{toString:n}}var En={},Tn=[],Rn=k({ngComponentDef:k}),In=k({ngDirectiveDef:k}),Dn=k({ngPipeDef:k}),Fn=k({ngModuleDef:k}),On=k({ngLocaleIdDef:k}),Mn=k({ngBaseDef:k}),Nn=k({__NG_ELEMENT_ID__:k}),An=0;function Pn(n){var e=n.type,t=e.prototype,l={},o={type:e,providersResolver:null,consts:n.consts,vars:n.vars,factory:n.factory,template:n.template||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,contentQueries:n.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:n.exportAs||null,onChanges:null,onInit:t.ngOnInit||null,doCheck:t.ngDoCheck||null,afterContentInit:t.ngAfterContentInit||null,afterContentChecked:t.ngAfterContentChecked||null,afterViewInit:t.ngAfterViewInit||null,afterViewChecked:t.ngAfterViewChecked||null,onDestroy:t.ngOnDestroy||null,onPush:n.changeDetection===Cn.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||xn.Emulated,id:"c",styles:n.styles||Tn,_:null,setInput:null,schemas:n.schemas||null,tView:null};return o._=kn((function(){var t=n.directives,i=n.features,r=n.pipes;o.id+=An++,o.inputs=Hn(n.inputs,l),o.outputs=Hn(n.outputs),i&&i.forEach((function(n){return n(o)})),o.directiveDefs=t?function(){return("function"==typeof t?t():t).map(Ln)}:null,o.pipeDefs=r?function(){return("function"==typeof r?r():r).map(jn)}:null,e.hasOwnProperty(O)||(e[O]=T({token:e,factory:n.factory}))})),o}function qn(n,e,t){var l=n.ngComponentDef;l.directiveDefs=function(){return e.map(Ln)},l.pipeDefs=function(){return t.map(jn)}}function Ln(n){return Wn(n)||Zn(n)}function jn(n){return Kn(n)}function Vn(n){return{type:n.type,bootstrap:n.bootstrap||Tn,declarations:n.declarations||Tn,imports:n.imports||Tn,exports:n.exports||Tn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}}function Bn(n,e){return kn((function(){var t=Yn(n,!0);t.declarations=e.declarations||Tn,t.imports=e.imports||Tn,t.exports=e.exports||Tn}))}function Hn(n,e){if(null==n)return En;var t={};for(var l in n)if(n.hasOwnProperty(l)){var o=n[l],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=l,e&&(e[o]=i)}return t}function Un(n){var e={};return{inputs:Hn(n.inputs,e),declaredInputs:e,outputs:Hn(n.outputs),viewQuery:n.viewQuery||null,contentQueries:n.contentQueries||null,hostBindings:n.hostBindings||null}}var zn=Pn;function Gn(n){return{name:n.name,factory:n.factory,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Wn(n){return n[Rn]||null}function Zn(n){return n[In]||null}function Kn(n){return n[Dn]||null}function Xn(n){return n[Mn]||null}function Yn(n,e){var t=n[Fn]||null;if(!t&&!0===e)throw new Error("Type "+N(n)+" does not have 'ngModuleDef' property.");return t}var $n=0,Qn=1,Jn=2,ne=3,ee=4,te=5,le=6,oe=7,ie=8,re=9,ae=10,ue=11,se=12,de=13,ce=14,pe=15,fe=16,he=17,me=18,ve=19,ge=1,be=2,_e=5,ye=7,Ce=8,we=9;function Se(n){return Array.isArray(n)&&"object"==typeof n[ge]}function xe(n){return Array.isArray(n)&&!0===n[ge]}function ke(n){return 0!=(4&n.flags)}function Ee(n){return 1==(1&n.flags)}function Te(n){return null!==n.template}function Re(n){return 0!=(512&n[Jn])}var Ie=8,De=8,Fe=9,Oe=-1,Me=function(){return function(n,e,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t}}();function Ne(n,e,t,l,o,i){var r=e.onChanges,a=e.onInit,u=e.doCheck;o>=0&&(!t.preOrderHooks||o===t.preOrderHooks.length)&&(r||a||u)&&(t.preOrderHooks||(t.preOrderHooks=[])).push(l),i>=0&&(!t.preOrderCheckHooks||i===t.preOrderCheckHooks.length)&&(r||u)&&(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(l),r&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,r),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,r)),a&&(t.preOrderHooks||(t.preOrderHooks=[])).push(-n,a),u&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,u),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,u))}function Ae(n,e){if(n.firstTemplatePass)for(var t=e.directiveStart,l=e.directiveEnd;t<l;t++){var o=n.data[t];o.afterContentInit&&(n.contentHooks||(n.contentHooks=[])).push(-t,o.afterContentInit),o.afterContentChecked&&((n.contentHooks||(n.contentHooks=[])).push(t,o.afterContentChecked),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,o.afterContentChecked)),o.afterViewInit&&(n.viewHooks||(n.viewHooks=[])).push(-t,o.afterViewInit),o.afterViewChecked&&((n.viewHooks||(n.viewHooks=[])).push(t,o.afterViewChecked),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,o.afterViewChecked)),null!=o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(t,o.onDestroy)}}function Pe(n,e,t,l){t||qe(n,e.preOrderHooks,e.preOrderCheckHooks,t,0,void 0!==l?l:null)}function qe(n,e,t,l,o,i){if(!l){var r=(3&n[Jn])===o?e:t;r&&function(n,e,t,l){for(var o=null!=l?l:-1,i=0,r=void 0!==l?65535&n[me]:0;r<e.length;r++)if("number"==typeof e[r+1]){if(i=e[r],null!=l&&i>=l)break}else e[r]<0&&(n[me]+=65536),(i<o||-1==o)&&(Le(n,t,e,r),n[me]=(4294901760&n[me])+r+2),r++}(n,r,o,i),null==i&&(3&n[Jn])===o&&3!==o&&(n[Jn]&=1023,n[Jn]+=1)}}function Le(n,e,t,l){var o=t[l]<0,i=t[l+1],r=n[o?-t[l]:t[l]];o?n[Jn]>>10<n[me]>>16&&(3&n[Jn])===e&&(n[Jn]+=1024,i.call(r)):i.call(r)}var je=null,Ve=new Map,Be=null,He=1,Ue=0;function ze(n,e){return Be&&n===Be||(Be=n,e&&(je=Ve.get(n)||null),je=je||{classesBitMask:Ue,classesIndex:He,stylesBitMask:Ue,stylesIndex:He}),je}function Ge(){je=null,Be=null}var We,Ze="__ngContext__";function Ke(n){for(;Array.isArray(n);)n=n[$n];return n}function Xe(n,e){return Ke(e[n+ve])}function Ye(n,e){return Ke(e[n.index])}function $e(n,e){var t=n.index;return-1==t?null:Ke(e[t])}function Qe(n,e){return e[Qn].data[n+ve]}function Je(n,e){return n[e+ve]}function nt(n,e){var t=e[n];return Se(t)?t:t[$n]}function et(n){return n[Ze]}function tt(n){var e=et(n);return e?Array.isArray(e)?e:e.lView:null}function lt(n){n[me]=0}var ot,it=null;function rt(n){it=n}function at(){return ot}function ut(){ot=!0}function st(){ot=!1}function dt(){return ft}var ct,pt,ft,ht=1,mt=ht,vt=0,gt=0;function bt(n){void 0===n&&(n=null),Bt!==n&&(Ut(null==n?-1:n),mt=null==n?0:ht,vt=0,gt=0)}function _t(){mt+=1+gt,vt=0,gt=0}function yt(n){vt+=n,gt=Math.max(gt,vt)}function Ct(n){Rt=n}function wt(){return ct}function St(n,e){ct=n,pt=e}function xt(n,e){ct=n,ft=e}function kt(){return pt}function Et(){pt=!1}function Tt(n){return void 0===n&&(n=ft),4==(4&n[Jn])}var Rt=null,It=!1;function Dt(){return It}function Ft(n){It=n}var Ot=-1;function Mt(){return Ot}function Nt(n){Ot=n}var At=0;function Pt(){return At}function qt(n){At=n}function Lt(n,e){var t=ft;return n&&(Ot=n[Qn].bindingStartIndex),ct=e,pt=!0,ft=Rt=n,t}function jt(n){return void 0===n&&(n=1),(Rt=function(n,e){for(;n>0;)e=e[fe],n--;return e}(n,Rt))[re]}function Vt(n,e){var t=ft[Qn];if(Tt(ft))ft[Jn]&=-5;else try{lt(ft),e&&qe(ft,t.viewHooks,t.viewCheckHooks,It,2,void 0)}finally{ft[Jn]&=-73,ft[oe]=t.bindingStartIndex}Lt(n,null)}var Bt=-1;function Ht(){return Bt}function Ut(n){Bt=n,Ge()}var zt,Gt=null;function Wt(){Gt="http://www.w3.org/2000/svg"}function Zt(){Gt="http://www.w3.org/1998/MathML/"}function Kt(){Xt()}function Xt(){Gt=null}function Yt(n){zt=n}function $t(){return zt}function Qt(n,e){return!(n!=n&&e!=e)&&n!==e}function Jt(n){return"string"==typeof n?n:null==n?"":""+n}function nl(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Jt(n)}var el=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H)}();function tl(n){return{name:"window",target:n.ownerDocument.defaultView}}function ll(n){return{name:"document",target:n.ownerDocument}}function ol(n){return{name:"body",target:n.ownerDocument.body}}var il="<22>";function rl(n){return n.indexOf(il)>=0}function al(n){return n instanceof Function?n():n}var ul="--MAP--",sl=0;function dl(n,e){e===sl?n[2]>sl&&function(n){pl(n,2|cl(n))}(n):n[2]=e}function cl(n){return n[1]}function pl(n,e){n[1]=e}function fl(n,e){return n[e+2]}function hl(n,e){return 1&n[e+0]}function ml(n,e){return(1&hl(n,e))>0}function vl(n,e){return n[e+0]>>1}function gl(n,e,t){var l=hl(n,e);n[e+0]=l|t<<1}function bl(n,e){return n[e+1]}function _l(n,e,t){return n[e+3+t]}function yl(n,e){return!(!n||e!==n[2])}function Cl(n){return(1&cl(n))>0}function wl(n){return(2&cl(n))>0}function Sl(n){return 6+n[4]}function xl(n,e){var t=Array.isArray(n)?n[0]:n,l=Array.isArray(e)?e[0]:e;return t instanceof String&&(t=t.toString()),l instanceof String&&(l=l.toString()),Qt(t,l)}function kl(n){return null!=n&&""!==n}function El(n,e,t){return void 0===t&&(t=" "),n+(e.length&&n.length?t:"")+e}function Tl(n){return n.replace(/[a-z][A-Z]/g,(function(n){return n.charAt(0)+"-"+n.charAt(1)})).toLowerCase()}function Rl(n){return Il(n)?n[0]:n}function Il(n){return Array.isArray(n)&&n.length>=6&&"string"!=typeof n[1]}function Dl(n){var e=Rl(n);return e&&e[0]||""}function Fl(n){return 0!=(8&n.flags)}function Ol(n){return 0!=(16&n.flags)}function Ml(n,e){return n[e+0]}function Nl(n,e,t){n[e+1]=t}function Al(n,e){return n[e+1]}var Pl=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({});function ql(n){return!!n.listen}var Ll={createRenderer:function(n,e){return document}};function jl(n,e){for(var t=dt()[se],l=ql(t),o=0;o<e.length;){var i=e[o];if("number"==typeof i){if(0!==i)break;o++;var r=e[o++],a=e[o++],u=e[o++];l?t.setAttribute(n,a,u,r):n.setAttributeNS(r,a,u)}else u=e[++o],Hl(a=i)?l&&t.setProperty(n,a,u):l?t.setAttribute(n,a,u):n.setAttribute(a,u),o++}return o}function Vl(n){return 3===n||4===n||6===n}var Bl="@";function Hl(n){return n[0]===Bl}function Ul(n){return n!==Oe}function zl(n){return 32767&n}function Gl(n){return n>>16}function Wl(n,e){for(var t=Gl(n),l=e;t>0;)l=l[fe],t--;return l}function Zl(n){var e=n[ne];return xe(e)?e[ne]:e}function Kl(n){for(var e=n[le];null!==e&&2===e.type;)e=(n=n[fe])[le];return n}function Xl(n){return function(n){for(var e=Se(n)?n:tt(n);e&&!(512&e[Jn]);)e=Zl(e);return e}(n)[re]}var Yl=!0;function $l(n){var e=Yl;return Yl=n,e}var Ql=255,Jl=0;function no(n,e){var t=to(n,e);if(-1!==t)return t;var l=e[Qn];l.firstTemplatePass&&(n.injectorIndex=e.length,eo(l.data,n),eo(e,null),eo(l.blueprint,null));var o=lo(n,e),i=zl(o),r=Wl(o,e),a=n.injectorIndex;if(Ul(o))for(var u=r[Qn].data,s=0;s<8;s++)e[a+s]=r[i+s]|u[i+s];return e[a+De]=o,a}function eo(n,e){n.push(0,0,0,0,0,0,0,0,e)}function to(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null==e[n.injectorIndex+De]?-1:n.injectorIndex}function lo(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var t=e[le],l=1;t&&-1===t.injectorIndex;)t=(e=e[fe])?e[le]:null,l++;return t?t.injectorIndex|l<<16:-1}function oo(n,e,t){!function(n,e,t){var l="string"!=typeof t?t[Nn]:t.charCodeAt(0)||0;null==l&&(l=t[Nn]=Jl++);var o=l&Ql,i=1<<o,r=64&o,a=32&o,u=e.data;128&o?r?a?u[n+7]|=i:u[n+6]|=i:a?u[n+5]|=i:u[n+4]|=i:r?a?u[n+3]|=i:u[n+2]|=i:a?u[n+1]|=i:u[n]|=i}(n,e,t)}function io(n,e){if("class"===e)return Dl(n.classes);if("style"===e)return Dl(n.styles);var t=n.attrs;if(t)for(var l=t.length,o=0;o<l;){var i=t[o];if(Vl(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<l&&"string"==typeof t[o];)o++;else{if(i===e)return t[o+1];o+=2}}return null}function ro(n,e,t,l,o){if(void 0===l&&(l=x.Default),n){var i=function(n){if("string"==typeof n)return n.charCodeAt(0)||0;var e=n[Nn];return"number"==typeof e&&e>0?e&Ql:e}(t);if("function"==typeof i){var r=wt(),a=dt();xt(n,e);try{var u=i();if(null!=u||l&x.Optional)return u;throw new Error("No provider for "+nl(t)+"!")}finally{xt(r,a)}}else if("number"==typeof i){if(-1===i)return new ho(n,e);var s=null,d=to(n,e),c=Oe,p=l&x.Host?Kl(e)[le]:null;for((-1===d||l&x.SkipSelf)&&(c=-1===d?lo(n,e):e[d+De],fo(l,!1)?(s=e[Qn],d=zl(c),e=Wl(c,e)):d=-1);-1!==d;){c=e[d+De];var f=e[Qn];if(po(i,d,f.data)){var h=uo(d,e,t,s,l,p);if(h!==ao)return h}fo(l,e[Qn].data[d+Ie]===p)&&po(i,d,e)?(s=f,d=zl(c),e=Wl(c,e)):d=-1}}}if(l&x.Optional&&void 0===o&&(o=null),0==(l&(x.Self|x.Host))){var m=e[ae],v=tn(void 0);try{return m?m.get(t,o,l&x.Optional):an(t,o,l&x.Optional)}finally{tn(v)}}if(l&x.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+nl(t)+"]")}var ao={};function uo(n,e,t,l,o,i){var r=e[Qn],a=r.data[n+Ie],u=so(a,r,t,null==l?Ee(a)&&Yl:l!=r&&3===a.type,o&x.Host&&i===a);return null!==u?co(r.data,e,u,a):ao}function so(n,e,t,l,o){for(var i=n.providerIndexes,r=e.data,a=65535&i,u=n.directiveStart,s=i>>16,d=o?a+s:n.directiveEnd,c=l?a:a+s;c<d;c++){var p=r[c];if(c<u&&t===p||c>=u&&p.type===t)return c}if(o){var f=r[u];if(f&&Te(f)&&f.type===t)return u}return null}function co(n,e,t,l){var o,i=e[t];if(null!==(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Me.prototype){var r=i;if(r.resolving)throw new Error("Circular dep for "+nl(n[t]));var a=$l(r.canSeeViewProviders);r.resolving=!0;var u=void 0;r.injectImpl&&(u=tn(r.injectImpl));var s=wt(),d=dt();xt(l,e);try{i=e[t]=r.factory(void 0,n,e,l)}finally{r.injectImpl&&tn(u),$l(a),r.resolving=!1,xt(s,d)}}return i}function po(n,e,t){var l=64&n,o=32&n;return!!((128&n?l?o?t[e+7]:t[e+6]:o?t[e+5]:t[e+4]:l?o?t[e+3]:t[e+2]:o?t[e+1]:t[e])&1<<n)}function fo(n,e){return!(n&x.Self||n&x.Host&&e)}var ho=function(){function n(n,e){this._tNode=n,this._lView=e}return n.prototype.get=function(n,e){return ro(this._tNode,this._lView,n,void 0,e)},n}();function mo(n){var e=n,t=Wn(e)||Zn(e)||Kn(e)||D(e)||F(e);return t&&void 0!==t.factory?t.factory:null}function vo(n){var e=mo(Object.getPrototypeOf(n.prototype).constructor);return null!==e?e:function(n){return new n}}var go="ngDebugContext",bo="ngOriginalError",_o="ngErrorLogger";function yo(n){return n[go]}function Co(n){return n[bo]}function wo(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];n.error.apply(n,Object(l.f)(e))}var So=function(){function n(){this._console=console}return n.prototype.handleError=function(n){var e=this._findOriginalError(n),t=this._findContext(n),l=function(n){return n[_o]||wo}(n);l(this._console,"ERROR",n),e&&l(this._console,"ORIGINAL ERROR",e),t&&l(this._console,"ERROR CONTEXT",t)},n.prototype._findContext=function(n){return n?yo(n)?yo(n):this._findContext(Co(n)):null},n.prototype._findOriginalError=function(n){for(var e=Co(n);e&&Co(e);)e=Co(e);return e},n}(),xo={name:"custom-elements"},ko={name:"no-errors-schema"},Eo="__SANITIZER_TRUSTED_BRAND__";function To(n,e){return n instanceof String&&n[Eo]===e}function Ro(n){return Mo(n,"Html")}function Io(n){return Mo(n,"Style")}function Do(n){return Mo(n,"Script")}function Fo(n){return Mo(n,"Url")}function Oo(n){return Mo(n,"ResourceUrl")}function Mo(n,e){var t=new String(n);return t[Eo]=e,t}var No=!0,Ao=!1;function Po(){return Ao=!0,No}function qo(){if(Ao)throw new Error("Cannot enable prod mode after platform setup.");No=!1}var Lo=function(){function n(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(n){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return n.prototype.getInertBodyElement_XHR=function(n){n="<body><remove></remove>"+n+"</body>";try{n=encodeURI(n)}catch(l){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+n,!1),e.send(void 0);var t=e.response.body;return t.removeChild(t.firstChild),t},n.prototype.getInertBodyElement_DOMParser=function(n){n="<body><remove></remove>"+n+"</body>";try{var e=(new window.DOMParser).parseFromString(n,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},n.prototype.getInertBodyElement_InertDocument=function(n){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=n,e):(this.inertBodyElement.innerHTML=n,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},n.prototype.stripCustomNsAttrs=function(n){for(var e=n.attributes,t=e.length-1;0<t;t--){var l=e.item(t).name;"xmlns:ns1"!==l&&0!==l.indexOf("ns1:")||n.removeAttribute(l)}for(var o=n.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},n}(),jo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Vo=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Bo(n){return(n=String(n)).match(jo)||n.match(Vo)?n:(Po()&&console.warn("WARNING: sanitizing unsafe URL value "+n+" (see http://g.co/ng/security#xss)"),"unsafe:"+n)}function Ho(n){return(n=String(n)).split(",").map((function(n){return Bo(n.trim())})).join(", ")}function Uo(n){var e,t,o={};try{for(var i=Object(l.g)(n.split(",")),r=i.next();!r.done;r=i.next())o[r.value]=!0}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}function zo(){for(var n,e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i={};try{for(var r=Object(l.g)(t),a=r.next();!a.done;a=r.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(i[s]=!0)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(n)throw n.error}}return i}var Go,Wo=Uo("area,br,col,hr,img,wbr"),Zo=Uo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ko=Uo("rp,rt"),Xo=zo(Ko,Zo),Yo=zo(Wo,zo(Zo,Uo("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")),zo(Ko,Uo("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")),Xo),$o=Uo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Qo=Uo("srcset"),Jo=zo($o,Qo,Uo("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"),Uo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ni=Uo("script,style,template"),ei=function(){function n(){this.sanitizedSomething=!1,this.buf=[]}return n.prototype.sanitizeChildren=function(n){for(var e=n.firstChild,t=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var l=this.checkClobberedElement(e,e.nextSibling);if(l){e=l;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},n.prototype.startElement=function(n){var e=n.nodeName.toLowerCase();if(!Yo.hasOwnProperty(e))return this.sanitizedSomething=!0,!ni.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var t=n.attributes,l=0;l<t.length;l++){var o=t.item(l),i=o.name,r=i.toLowerCase();if(Jo.hasOwnProperty(r)){var a=o.value;$o[r]&&(a=Bo(a)),Qo[r]&&(a=Ho(a)),this.buf.push(" ",i,'="',oi(a),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},n.prototype.endElement=function(n){var e=n.nodeName.toLowerCase();Yo.hasOwnProperty(e)&&!Wo.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},n.prototype.chars=function(n){this.buf.push(oi(n))},n.prototype.checkClobberedElement=function(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+n.outerHTML);return e},n}(),ti=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,li=/([^\#-~ |!])/g;function oi(n){return n.replace(/&/g,"&").replace(ti,(function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"})).replace(li,(function(n){return"&#"+n.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function ii(n,e){var t=null;try{Go=Go||new Lo(n);var l=e?String(e):"";t=Go.getInertBodyElement(l);var o=5,i=l;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,l=i,i=t.innerHTML,t=Go.getInertBodyElement(l)}while(l!==i);var r=new ei,a=r.sanitizeChildren(ri(t)||t);return Po()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(t)for(var u=ri(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}function ri(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ai=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}({}),ui=function(){return function(){}}(),si=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),di=/^url\(([^)]+)\)$/;function ci(n){if(!(n=String(n).trim()))return"";var e=n.match(di);return e&&Bo(e[1])===e[1]||n.match(si)&&function(n){for(var e=!0,t=!0,l=0;l<n.length;l++){var o=n.charAt(l);"'"===o&&t?e=!e:'"'===o&&e&&(t=!t)}return e&&t}(n)?n:(Po()&&console.warn("WARNING: sanitizing unsafe style value "+n+" (see http://g.co/ng/security#xss)."),"unsafe")}function pi(n){var e=yi();return e?e.sanitize(ai.HTML,n)||"":To(n,"Html")?n.toString():ii(document,Jt(n))}function fi(n){var e=yi();return e?e.sanitize(ai.STYLE,n)||"":To(n,"Style")?n.toString():ci(Jt(n))}function hi(n){var e=yi();return e?e.sanitize(ai.URL,n)||"":To(n,"Url")?n.toString():Bo(Jt(n))}function mi(n){var e=yi();if(e)return e.sanitize(ai.RESOURCE_URL,n)||"";if(To(n,"ResourceUrl"))return n.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function vi(n){var e=yi();if(e)return e.sanitize(ai.SCRIPT,n)||"";if(To(n,"Script"))return n.toString();throw new Error("unsafe value used in a script context")}function gi(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?mi:hi}function bi(n,e,t){return gi(e,t)(n)}var _i=function(n,e,t){var l=!0;return 1&(t=t||3)&&(l="background-image"===n||"background"===n||"border-image"===n||"filter"===n||"list-style"===n||"list-style-image"===n||"clip-path"===n),2&t?l?fi(e):e:l};function yi(){var n=dt();return n&&n[de]}var Ci=/([A-Z])/g;function wi(n){try{return null!=n?n.toString().slice(0,30):n}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Si(n){var e,t=et(n);if(t){if(Array.isArray(t)){var l=t,o=void 0,i=void 0,r=void 0;if((e=n)&&e.constructor&&e.constructor.ngComponentDef){if(-1==(o=Ii(l,n)))throw new Error("The provided component was not found in the application");i=n}else if(function(n){return n&&n.constructor&&n.constructor.ngDirectiveDef}(n)){if(-1==(o=function(n,e){for(var t=n[Qn].firstChild;t;){for(var l=t.directiveEnd,o=t.directiveStart;o<l;o++)if(n[o]===e)return t.index;t=Ri(t)}return-1}(l,n)))throw new Error("The provided directive was not found in the application");r=Di(o,l,!1)}else if(-1==(o=Ti(l,n)))return null;var a=et(h=Ke(l[o])),u=a&&!Array.isArray(a)?a:xi(l,o,h);if(i&&void 0===u.component&&(u.component=i,Ei(u.component,u)),r&&void 0===u.directives){u.directives=r;for(var s=0;s<r.length;s++)Ei(r[s],u)}Ei(u.native,u),t=u}}else for(var d=n,c=d;c=c.parentNode;){var p=et(c);if(p){if(l=void 0,!(l=Array.isArray(p)?p:p.lView))return null;var f=Ti(l,d);if(f>=0){var h;Ei(h=Ke(l[f]),u=xi(l,f,h)),t=u;break}}}return t||null}function xi(n,e,t){return{lView:n,nodeIndex:e,native:t,component:void 0,directives:void 0,localRefs:void 0}}function ki(n){var e,t=et(n);if(Array.isArray(t)){var l=Ii(t,n);(o=xi(t,l,(e=nt(l,t))[$n])).component=n,Ei(n,o),Ei(o.native,o)}else{var o;e=nt((o=t).nodeIndex,o.lView)}return e}function Ei(n,e){n[Ze]=e}function Ti(n,e){for(var t=n[Qn].firstChild;t;){if($e(t,n)===e)return t.index;t=Ri(t)}return-1}function Ri(n){if(n.child)return n.child;if(n.next)return n.next;for(;n.parent&&!n.parent.next;)n=n.parent;return n.parent&&n.parent.next}function Ii(n,e){var t=n[Qn].components;if(t)for(var l=0;l<t.length;l++){var o=t[l];if(nt(o,n)[re]===e)return o}else if(nt(ve,n)[re]===e)return ve;return-1}function Di(n,e,t){var l=e[Qn].data[n],o=l.directiveStart;return 0==o?Tn:(!t&&1&l.flags&&o++,e.slice(o,l.directiveEnd))}function Fi(n){throw new Error("Multiple components match node with tagname "+n.tagName)}function Oi(){throw new Error("Cannot mix multi providers and regular providers")}var Mi="ng-template";function Ni(n,e){var t=n.length,l=n.indexOf(e),o=l+e.length;return!(-1===l||l>0&&" "!==n[l-1]||o<t&&" "!==n[o])}function Ai(n,e,t){return e===(0!==n.type||t?n.tagName:Mi)}function Pi(n,e,t){for(var l=4,o=n.attrs||[],i=function(n){for(var e=0;e<n.length;e++)if(Vl(n[e]))return e;return n.length}(o),r=!1,a=0;a<e.length;a++){var u=e[a];if("number"!=typeof u){if(!r)if(4&l){if(l=2|1&l,""!==u&&!Ai(n,u,t)||""===u&&1===e.length){if(qi(l))return!1;r=!0}}else{var s=8&l?u:e[++a];if(8&l&&n.classes){if(!Ni(Dl(n.classes),s)){if(qi(l))return!1;r=!0}continue}var d=Li(8&l?"class":u,o,0==n.type&&n.tagName!==Mi,t);if(-1===d){if(qi(l))return!1;r=!0;continue}if(""!==s){var c;c=d>i?"":o[d+1];var p=8&l?c:null;if(p&&!Ni(p,s)||2&l&&s!==c){if(qi(l))return!1;r=!0}}}}else{if(!r&&!qi(l)&&!qi(u))return!1;if(r&&qi(u))continue;r=!1,l=u|1&l}}return qi(l)||r}function qi(n){return 0==(1&n)}function Li(n,e,t,l){if(null===e)return-1;var o=0;if(l||!t){for(var i=!1;o<e.length;){var r=e[o];if(r===n)return o;if(3===r||6===r)i=!0;else{if(1===r){for(var a=e[++o];"string"==typeof a;)a=e[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=i?1:2}return-1}return function(n,e){var t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){if(n[t]===e)return t;t++}return-1}(e,n)}function ji(n,e,t){void 0===t&&(t=!1);for(var l=0;l<e.length;l++)if(Pi(n,e[l],t))return!0;return!1}function Vi(n,e){n:for(var t=0;t<e.length;t++){var l=e[t];if(n.length===l.length){for(var o=0;o<n.length;o++)if(n[o]!==l[o])continue n;return!0}}return!1}var Bi=1,Hi=0,Ui=null,zi=1,Gi=[];function Wi(n,e,t,l,o,i,r,a){var u=!l,s=ze(t,wl(n)),d=u?Hi:s.classesIndex++;return!(!Ki(n,e,d,l,o,i,r,a,!1)&&!a||(s.classesBitMask|=1<<d,0))}function Zi(n,e,t,l,o,i,r,a,u){var s=!l,d=ze(t,wl(n)),c=s?Hi:d.stylesIndex++;return!(!Ki(n,e,c,l,o,i,a,u,!!s||!!r&&r(l,null,1))&&!u||(d.stylesBitMask|=1<<c,0))}function Ki(n,e,t,l,o,i,r,a,u){Cl(n)||(r?function(n,e,t,l,o){Gi.unshift(n,e,t,l,o)}(n,t,l,o,u):(Gi.length&&Xi(),Yi(n,t,l,o,u)));var s=a||xl(e[o],i);return s&&(e[o]=i),s}function Xi(){for(var n=0;n<Gi.length;)Yi(Gi[n++],Gi[n++],Gi[n++],Gi[n++],Gi[n++]);Gi.length=0}function Yi(n,e,t,l,o){var i=!1;if(t){for(var r=!1,a=Sl(n);a<n.length;){var u=bl(n,a),s=fl(n,a);if(r=t<=s){t<s&&$i(n,a,t,o),Qi(n,!1,a,l,e);break}a+=3+u}r||($i(n,n.length,t,o),Qi(n,!1,a,l,e),i=!0)}else Qi(n,!0,3,l,e),i=!0;return i}function $i(n,e,t,l){n.splice(e,0,l?1:0,zi,t,Ui),gl(n,e,Bi)}function Qi(n,e,t,l,o){var i=t+3,r=i+bl(n,t);if(e||r--,"number"==typeof l){for(var a=i;a<=r;a++)if(n[a]===l)return;n.splice(r,0,l),n[t+1]++,gl(n,t,vl(n,t)|1<<o)}else null!==l&&null==n[r]&&(n[r]=l)}function Ji(n,e,t,l,o,i,r,a){return o&&l&&(function(n){if(!Cl(n)){var e=Rl(n);e&&function(n,e){for(var t=1;t<e.length;t+=2){var l=Al(e,t);l&&Yi(n,-1,Ml(e,t),l,!1)}}(n,e),function(n){pl(n,1|cl(n))}(n)}}(l),function(n,e){return n&&e>Ue}(l,i))?(nr(l,n,e,t,i,r,a),!0):o}function nr(n,e,t,l,o,i,r){for(var a=function(n){return!0===n?-1:!1===n?0:n}(o),u=er,s=(a&vl(n,3))>0?1:0,d=Sl(n);d<n.length;){var c=bl(n,d);if(a&vl(n,d)){for(var p=!1,f=fl(n,d),h=c-1,m=_l(n,d,h),v=0;v<h;v++){var g=_l(n,d,v),b=l[g];if(kl(b)){i(e,t,f,r&&ml(n,d)?r(f,b,2):b,g),p=!0;break}}if(u){var _=u(n,e,t,l,i,r,s|(p?4:2),f,m);p=p||_}p||i(e,t,f,m)}d+=3+c}u&&u(n,e,t,l,i,r,s)}var er=null,tr=function(n,e,t,l){var o=e.style;l?(l=l.toString(),n&&ql(n)?n.setStyle(e,t,l,Pl.DashCase):o&&o.setProperty(t,l)):n&&ql(n)?n.removeStyle(e,t,Pl.DashCase):o&&o.removeProperty(t)},lr=function(n,e,t,l){if(""!==t){var o=e.classList;l?n&&ql(n)?n.addClass(e,t):o&&o.add(t):n&&ql(n)?n.removeClass(e,t):o&&o.remove(t)}};function or(n,e,t,l){var o=Rl(t);if(o)for(var i=1;i<o.length;i+=2){var r=Ml(o,i),a=Al(o,i);l?lr(n,e,r,a,null):tr(n,e,r,a,null)}}var ir={},rr={marker:"element"},ar={marker:"comment"},ur=function(n,e,t,l,o,i,r,a,u){var s=!1;if(bl(n,3)){var d=!0,c=!a;c&&-2&r&&(d=!1,s=!0),d&&(s=function n(e,t,l,o,i,r,a,u,s,d){var c,p=!1;if(s<bl(e,3)){for(var f=_l(e,3,s),h=o[f],m=((c=s)>=pr.length&&pr.push(1),pr[c]);m<h.length;){var v=Ml(h,m),g=u&&v>u,b=!g&&v===u,_=Al(h,m),y=kl(_),C=n(e,t,l,o,i,r,g?a:dr(a,y,b),g?u:v,s+1,d);if(g){p||(p=C);break}if(!C&&cr(a,b)){var w=b&&!y,S=w?d:_,x=w?f:null;i(t,l,v,r?r(v,S,3):S,x),C=!0}p=C&&b,m+=2}if(pr[s]=m,1===h.length||!u)return n(e,t,l,o,i,r,a,u,s+1,d)}return p}(n,e,t,l,o,i,r,a||null,0,u||null)),c&&function(){for(var n=0;n<pr.length;n++)pr[n]=1}()}return s};function sr(){er=ur}function dr(n,e,t){var l=n;return e||4&n||!(t||1&n)?(l|=4,l&=-3):(l|=2,l&=-5),l}function cr(n,e){var t=(1&n)>0;return t?4&n&&e&&(t=!1):2&n&&(t=e),t}var pr=[];function fr(n,e,t,l){for(var o=1;o<n.length;o+=2){var i=Ml(n,o);if(e<=i){var r=!1;return i===e?!l&&kl(n[o])||(r=!0,Nl(n,o,t)):(r=!0,n.splice(o,0,e,t)),r}}return n.push(e,t),!0}function hr(n,e){for(var t="",l=1;l<n.length;l+=2){var o=Ml(n,l),i=Al(n,l),r=El(o,e?"":i,":");t=El(t,r,e?" ":"; ")}return t}function mr(n){var e={};if(n)for(var t=1;t<n.length;t+=2){var l=Ml(n,t),o=Al(n,t);e[l]=o}return e}var vr=function(){function n(n,e,t){this.context=n,this._data=e,this._isClassBased=t,this._sanitizer=null}return n.prototype.overrideSanitizer=function(n){this._sanitizer=n},Object.defineProperty(n.prototype,"summary",{get:function(){var n={};return this._mapValues((function(e,t,l){n[e]={prop:e,value:t,bindingIndex:l}})),n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"values",{get:function(){var n={};return this._mapValues((function(e,t){n[e]=t})),n},enumerable:!0,configurable:!0}),n.prototype._mapValues=function(n){bl(this.context,3)>0&&sr();var e=this._isClassBased?null:this._sanitizer||$t();nr(this.context,null,{},this._data,!0,(function(e,t,l,o,i){n(l,o,i||null)}),e)},n}();function gr(n){br(dt(),n)}function br(n,e){Pe(n,n[Qn],Dt(),e),Ut(e)}var _r=function(){return Promise.resolve(null)}();function yr(n){var e=n[Qn],t=Tt(n);if(e.firstTemplatePass=!1,n[oe]=e.bindingStartIndex,!t){var l=Dt();Pe(n,e,l,void 0),function(n){for(var e=n[ce];null!==e;e=e[ee])if(-1===e[be]&&xe(e))for(var t=we;t<e.length;t++){var l=e[t];Er(l,l[Qn],l[re])}}(n),Cr(e,n),lt(n),qe(n,e.contentHooks,e.contentCheckHooks,l,1,void 0),function(n,e){var t=Ht();try{if(n.expandoInstructions){var l=e[oe]=n.expandoStartIndex;Nt(l);for(var o=-1,i=-1,r=0;r<n.expandoInstructions.length;r++){var a=n.expandoInstructions[r];if("number"==typeof a){if(a<=0){bt(i=-a);var u=n.expandoInstructions[++r];o=l+=Fe+u}else l+=a;Nt(l)}else null!==a&&(e[oe]=l,a(2,Ke(e[o]),i),_t()),o++}}}finally{bt(t)}}(e,n)}t&&e.staticContentQueries&&Cr(e,n),t&&!e.staticViewQueries||oa(2,e,n[re]),function(n,e){if(null!=e)for(var t=0;t<e.length;t++)$r(n,e[t])}(n,e.components)}function Cr(n,e){var t=n.contentQueries;if(null!==t)for(var l=0;l<t.length;l+=2){var o=t[l+1];if(-1!==o){var i=n.data[o];qt(t[l]),i.contentQueries(2,e[o],o)}}}function wr(n,e){var t=e||dt()[se],l=Gt;return ql(t)?t.createElement(n,l):null===l?t.createElement(n):t.createElementNS(l,n)}function Sr(n,e,t,l,o,i,r,a,u,s){var d=e.blueprint.slice();return d[$n]=o,d[Jn]=140|l,lt(d),d[ne]=d[fe]=n,d[re]=t,d[ue]=r||n&&n[ue],d[se]=a||n&&n[se],d[de]=u||n&&n[de]||null,d[ae]=s||n&&n[ae]||null,d[le]=i,d}function xr(n,e,t,l,o,i){var r=t+ve,a=n.data[r]||function(n,e,t,l,o,i,r){var a=wt(),u=kt(),s=u?a:a&&a.parent,d=n.data[t]=Ar(0,s&&s!==e?s:null,l,t,o,i);return 0!==r&&n.firstChild||(n.firstChild=d),a&&(!u||null!=a.child||null===d.parent&&2!==a.type?u||(a.next=d):a.child=d),d}(n,e,r,l,o,i,t);return St(a,!0),a}function kr(n,e,t,l){var o=n.node;return null==o&&(n.node=o=Ar(0,e,2,t,null,null)),l[le]=o}function Er(n,e,t){var l,o=kt(),i=wt();if(512&n[Jn])na(Xl(n));else{var r=!1;try{St(null,!0),l=Lt(n,n[le]),lt(n),Rr(n,e.template,Ir(n),t),e.firstTemplatePass=!1,yr(n),r=!0}finally{Vt(l,r),St(i,o)}}}function Tr(n,e,t){var l=n[ue],o=Lt(n,n[le]),i=!Dt(),r=Tt(n),a=!1;try{i&&!r&&l.begin&&l.begin(),r&&(t&&Rr(n,t,1,e),yr(n),n[Jn]&=-5),lt(n),t&&Rr(n,t,2,e),yr(n),a=!0}finally{i&&!r&&l.end&&l.end(),Vt(o,a)}}function Rr(n,e,t,l){Xt();var o=Ht();try{bt(null),2&t&&br(n,0),e(t,l)}finally{Ut(o)}}function Ir(n){return Tt(n)?1:2}function Dr(n,e,t){if(ke(e))for(var l=e.directiveEnd,o=e.directiveStart;o<l;o++){var i=n.data[o];i.contentQueries&&i.contentQueries(1,t[o],o)}}function Fr(n,e,t,l){void 0===l&&(l=Ye),at()&&(function(n,e,t){var l=t.directiveStart,o=t.directiveEnd;!n.firstTemplatePass&&l<o&&no(t,e);for(var i=l;i<o;i++){var r=n.data[i];Te(r)&&Kr(e,t,r),Hr(e,co(n.data,e,i,t),r,i)}}(n,e,t),function(n,e,t){var l=t.directiveStart,o=t.directiveEnd,i=n.expandoInstructions,r=n.firstTemplatePass,a=t.index-ve,u=Ht();try{bt(a);for(var s=l;s<o;s++){var d=n.data[s];d.hostBindings?(Vr(d,i,e[s],t,r),_t()):r&&i.push(null)}}finally{bt(u)}}(n,e,t),function(n,e,t){var l=e.localNames;if(l)for(var o=e.index+1,i=0;i<l.length;i+=2){var r=l[i+1],a=-1===r?t(e,n):n[r];n[o++]=a}}(e,t,l),bt(null))}function Or(n){return n.tView||(n.tView=Mr(-1,n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas))}function Mr(n,e,t,l,o,i,r,a){var u=ve+t,s=u+l,d=function(n,e){var t=new Array(e).fill(null,0,n).fill(ir,n);return t[oe]=n,t}(u,s);return d[Qn]={id:n,blueprint:d,template:e,queries:null,viewQuery:r,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:a}}function Nr(n,e){var t=n.createRenderer(null,null);return"string"==typeof e?ql(t)?t.selectRootElement(e):t.querySelector(e):e}function Ar(n,e,t,l,o,i){return{type:t,index:l,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyMetadataStartIndex:-1,propertyMetadataEndIndex:-1,flags:0,providerIndexes:0,tagName:o,attrs:i,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,classes:null}}function Pr(n,e){var t=dt()[Qn],l=null,o=n.directiveStart,i=n.directiveEnd;if(i>o)for(var r=0===e,a=t.data,u=o;u<i;u++){var s=a[u],d=r?s.inputs:s.outputs;for(var c in d)if(d.hasOwnProperty(c)){var p=d[c];(l=l||{}).hasOwnProperty(c)?l[c].push(u,c,p):l[c]=[u,c,p]}}return l}var qr={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"};function Lr(n,e,t,l,o,i){var r,a,u=dt(),s=Xe(n,u),d=Qe(n,u);if(!o&&(r=aa(d))&&(a=r[e]))pa(u,a,t),Ee(d)&&function(n,e){var t=nt(e,n);16&t[Jn]||(t[Jn]|=64)}(u,n+ve);else if(3===d.type){!function(n,e,t,l,o){var i=e[oe]-1,r=l[i];r[0]==il&&(l[i]=t+r,o||(-1==n.propertyMetadataStartIndex&&(n.propertyMetadataStartIndex=i),n.propertyMetadataEndIndex=i+1))}(d,u,e=qr[e]||e,u[Qn].data,o);var c=i?i(d,u):u[se];t=null!=l?l(t,d.tagName||"",e):t,ql(c)?c.setProperty(s,e,t):Hl(e)||(s.setProperty?s.setProperty(e,t):s[e]=t)}}function jr(n,e,t,l){if(at()){var o=function(n,e,t){var l=n.directiveRegistry,o=null;if(l)for(var i=0;i<l.length;i++){var r=l[i];ji(t,r.selectors,!1)&&(o||(o=[]),oo(no(t,e),n,r.type),Te(r)?(1&t.flags&&Fi(t),t.flags=1,o.unshift(r)):o.push(r))}return o}(n,e,t),i=l?{"":-1}:null;if(o){Wr(t,n.data.length,o.length);for(var r=0;r<o.length;r++)(d=o[r]).providersResolver&&d.providersResolver(d);Br(n,t,o.length);var a=n.preOrderHooks&&n.preOrderHooks.length||0,u=n.preOrderCheckHooks&&n.preOrderCheckHooks.length||0,s=t.index-ve;for(r=0;r<o.length;r++){var d,c=n.data.length;Zr(n,e,d=o[r],d.factory),Gr(n.data.length-1,d,i),Ne(c,d,n,s,a,u)}}i&&function(n,e,t){if(e)for(var l=n.localNames=[],o=0;o<e.length;o+=2){var i=t[e[o+1]];if(null==i)throw new Error("Export of name '"+e[o+1]+"' not found!");l.push(e[o],i)}}(t,l,i)}}function Vr(n,e,t,l,o){var i=e.length;rt(n),n.hostBindings(1,t,l.index-ve),rt(null),i===e.length&&o&&e.push(n.hostBindings)}function Br(n,e,t){var l=-(e.index-ve),o=n.data.length-(65535&e.providerIndexes);(n.expandoInstructions||(n.expandoInstructions=[])).push(l,o,t)}function Hr(n,e,t,l){var o=wt();Ur(n,o,e),o&&o.attrs&&function(n,e,t,l){var o=l.initialInputs;(void 0===o||n>=o.length)&&(o=function(n,e,t){for(var l=t.initialInputs||(t.initialInputs=[]),o=l.length;o<=n;o++)l.push(null);for(var i=t.attrs,r=0;r<i.length;){var a=i[r];if(0!==a)if(5!==a){if("number"==typeof a)break;var u=e[a],s=i[r+1];void 0!==u&&(l[n]||(l[n]=[])).push(a,u,s),r+=2}else r+=2;else r+=4}return l}(n,t.inputs,l));var i=o[n];if(i)for(var r=t.setInput,a=0;a<i.length;){var u=i[a++],s=i[a++],d=i[a++];r?t.setInput(e,d,u,s):e[s]=d}}(l,e,t,o),n[Qn].firstTemplatePass&&t.contentQueries&&(o.flags|=4),Te(t)&&(nt(o.index,n)[re]=e)}function Ur(n,e,t){var l=Ye(e,n);Ei(t,n),l&&Ei(l,n)}function zr(n){var e=dt()[Qn];(e.components||(e.components=[])).push(n.index)}function Gr(n,e,t){if(t){if(e.exportAs)for(var l=0;l<e.exportAs.length;l++)t[e.exportAs[l]]=n;e.template&&(t[""]=n)}}function Wr(n,e,t){n.flags=1&n.flags,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Zr(n,e,t,l){n.data.push(t);var o=new Me(l,Te(t),null);n.blueprint.push(o),e.push(o)}function Kr(n,e,t){var l=Ye(e,n),o=Or(t),i=n[ue],r=Qr(n,Sr(n,o,null,t.onPush?64:16,n[e.index],e,i,i.createRenderer(l,t)));r[le]=e,n[e.index]=r,n[Qn].firstTemplatePass&&zr(e)}function Xr(n,e,t,l,o,i){var r=Xe(n,l),a=l[se];if(null==t)ql(a)?a.removeAttribute(r,e,i):r.removeAttribute(e);else{var u=Qe(n,l),s=null==o?Jt(t):o(t,u.tagName||"",e);ql(a)?a.setAttribute(r,e,s,i):i?r.setAttributeNS(i,e,s):r.setAttribute(e,s)}}function Yr(n,e,t,l,o){return new Array(n,!0,o?-1:0,e,null,null,l,t,null)}function $r(n,e){var t=nt(e,n);(128==(128&t[Jn])||Tt(n))&&80&t[Jn]&&(function(n){for(var e=n[Qn],t=n.length;t<e.blueprint.length;t++)n[t]=e.blueprint[t]}(t),la(t,t[re]))}function Qr(n,e){return n[ce]?n[pe][ee]=e:n[ce]=e,n[pe]=e,e}function Jr(n){for(;n;){n[Jn]|=64;var e=Zl(n);if(Re(n)&&!e)return n;n=e}return null}function na(n){for(var e=0;e<n.components.length;e++){var t=n.components[e];Tr(tt(t),t)}}function ea(n,e){var t=n[ue];t.begin&&t.begin();try{Tt(n)&&la(n,e),la(n,e)}catch(l){throw ca(n,l),l}finally{t.end&&t.end()}}function ta(n){na(n[re])}function la(n,e){var t=n[Qn],l=Lt(n,n[le]),o=t.template,i=Tt(n),r=!1;try{lt(n),i&&oa(1,t,e),Rr(n,o,Ir(n),e),yr(n),r=!0}finally{Vt(l,r)}}function oa(n,e,t){var l=e.viewQuery;null!==l&&(qt(0),l(n,t))}function ia(n,e,t){void 0===e&&(e=""),void 0===t&&(t="");var l=n[Qn].data,o=n[oe]-1;return null==l[o]?l[o]=il+e+il+t:null}var ra=_r;function aa(n){return void 0===n.inputs&&(n.inputs=Pr(n,0)),n.inputs}function ua(n){return n[ie]||(n[ie]=[])}function sa(n){return n[Qn].cleanup||(n[Qn].cleanup=[])}function da(n,e){return e[n.index][se]}function ca(n,e){var t=n[ae],l=t?t.get(So,null):null;l&&l.handleError(e)}function pa(n,e,t){for(var l=n[Qn],o=0;o<e.length;){var i=e[o++],r=e[o++],a=e[o++],u=n[i],s=l.data[i];s.setInput?s.setInput(u,t,r,a):u[a]=t}}function fa(n,e,t){var l=Xe(e,n),o=n[se];ql(o)?o.setValue(l,t):l.textContent=t}function ha(n,e,t){or(n,e,t.classes,!0),or(n,e,t.styles,!1)}function ma(n,e){var t=e[ne];return-1===n.index?xe(t)?t:null:t}function va(n,e){var t=ma(n,e);return t?Ia(e[se],t[ye]):null}function ga(n,e,t,l,o){if(null!=l){var i=void 0,r=!1;xe(l)?i=l:Se(l)&&(r=!0,l=l[$n]);var a=Ke(l);0===n?Ta(e,t,a,o||null):1===n?Oa(e,a,r):2===n&&e.destroyNode(a),null!=i&&function(n,e,t,l,o){var i=t[ye];i!==Ke(t)&&ga(e,n,l,i,o);for(var r=we;r<t.length;r++)Pa(n,e,t[r],l,i)}(e,n,i,t,o)}}function ba(n,e){return ql(e)?e.createText(Jt(n)):e.createTextNode(Jt(n))}function _a(n,e,t){var l=va(n[Qn].node,n);l&&Pa(n[se],e?0:1,n,l,t)}function ya(n,e,t){var l=we+t,o=e.length;t>0&&(e[l-1][ee]=n),t<o-we?(n[ee]=e[l],bn(e,we+t,n)):(e.push(n),n[ee]=null),n[ne]=e;var i=n[he];null!==i&&e!==i&&function(n,e){var t=n[_e];null===t?n[_e]=[e]:t.push(e)}(i,n);var r=n[te];null!==r&&r.insertView(n[Qn]),n[Jn]|=128}function Ca(n,e){var t=n[_e],l=t.indexOf(e);t.splice(l,1)}function wa(n,e){if(!(n.length<=we)){var t=we+e,l=n[t];if(l){var o=l[he];null!==o&&o!==n&&Ca(o,l),e>0&&(n[t-1][ee]=l[ee]);var i=_n(n,we+e);_a(l,!1);var r=i[te];null!==r&&r.detachView(i[Qn]),l[ne]=null,l[ee]=null,l[Jn]&=-129}return l}}function Sa(n,e){var t=wa(n,e);t&&xa(t)}function xa(n){if(!(256&n[Jn])){var e=n[se];ql(e)&&e.destroyNode&&Pa(e,2,n,null,null),function(n){var e=n[ce];if(!e)return Ea(n);for(;e;){var t=null;if(Se(e))t=e[ce];else{var l=e[we];l&&(t=l)}if(!t){for(;e&&!e[ee]&&e!==n;)Ea(e),e=ka(e,n);Ea(e||n),t=e&&e[ee]}e=t}}(n)}}function ka(n,e){var t;return Se(n)&&(t=n[le])&&2===t.type?ma(t,n):n[ne]===e?null:n[ne]}function Ea(n){if(Se(n)&&!(256&n[Jn])){n[Jn]&=-129,n[Jn]|=256,function(n){var e,t=n[Qn];if(null!=t&&null!=(e=t.destroyHooks))for(var l=0;l<e.length;l+=2){var o=n[e[l]];o instanceof Me||e[l+1].call(o)}}(n),function(n){var e=n[Qn].cleanup;if(null!==e){for(var t=n[ie],l=0;l<e.length-1;l+=2)if("string"==typeof e[l]){var o=e[l+1],i="function"==typeof o?o(n):Ke(n[o]),r=e[l+3];"boolean"==typeof r?i.removeEventListener(e[l],t[e[l+2]],r):r>=0?t[r]():t[-r].unsubscribe(),l+=2}else e[l].call(t[e[l+1]]);n[ie]=null}}(n);var e=n[le];e&&3===e.type&&ql(n[se])&&n[se].destroy();var t=n[he];if(null!==t&&xe(n[ne])){t!==n[ne]&&Ca(t,n);var l=n[te];null!==l&&l.detachView(n[Qn])}}}function Ta(n,e,t,l){ql(n)?n.insertBefore(e,t,l):e.insertBefore(t,l,!0)}function Ra(n,e,t,l){null!==l?Ta(n,e,t,l):function(n,e,t){ql(n)?n.appendChild(e,t):e.appendChild(t)}(n,e,t)}function Ia(n,e){return ql(n)?n.parentNode(e):e.parentNode}function Da(n,e,t){var o,i,r=function(n,e){if(Re(e))return Ia(e[se],Ye(n,e));var t=function(n){for(;null!=n.parent&&(4===n.parent.type||5===n.parent.type);)n=n.parent;return n}(n),l=t.parent;if(null==l){var o=e[le];return 2===o.type?va(o,e):function(n){var e=n[le];return e&&3===e.type?Ye(e,Zl(n)):null}(e)}var i=t&&5===t.type;if(i&&2&t.flags)return Ye(t,e).parentNode;if(1&l.flags&&!i){var r=e[Qn].data,a=r[r[l.index].directiveStart].encapsulation;if(a!==xn.ShadowDom&&a!==xn.Native)return null}return Ye(l,e)}(e,t);if(null!=r){var a=t[se],u=function(n,e){if(2===n.type){var t=ma(n,e);return Fa(t.indexOf(e,we)-we,t)}return 4===n.type||5===n.type?Ye(n,e):null}(e.parent||t[le],t);if(Array.isArray(n))try{for(var s=Object(l.g)(n),d=s.next();!d.done;d=s.next())Ra(a,r,d.value,u)}catch(c){o={error:c}}finally{try{d&&!d.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}else Ra(a,r,n,u)}}function Fa(n,e){var t=we+n+1;if(t<e.length){var l=e[t],o=l[le].child;return null!==o?$e(o,l):e[ye]}return e[ye]}function Oa(n,e,t){var l=Ia(n,e);l&&function(n,e,t,l){ql(n)?n.removeChild(e,t,l):e.removeChild(t)}(n,l,e,t)}function Ma(n,e,t,l){var o=l[ne],i=l[le].projection[t];if(Array.isArray(i))Da(i,e,n);else for(;i;)32&i.flags||(1===i.type?Ma(n,e,i.projection,Kl(o)):(i.flags|=2,Aa(i,e,n,o))),i=i.projectionNext}function Na(n,e,t,l){for(;n;)Aa(n,e,t,l),n=n.next}function Aa(n,e,t,l){var o=Ye(n,l);Da(o,e,t),Ei(o,l);var i=l[n.index];if(0===n.type)for(var r=we;r<i.length;r++)_a(i[r],!0,i[ye]);else if(5===n.type){var a=n.child;Na(a,a,l,l)}else 4===n.type&&Na(n.child,e,t,l),xe(i)&&Da(i[ye],e,t)}function Pa(n,e,t,l,o){for(var i=t[Qn].node.child;null!==i;)qa(n,e,t,i,l,o),i=i.next}function qa(n,e,t,l,o,i){var r=l.type;32&l.flags||(4===r||5===r?function(n,e,t,l,o,i){ga(e,n,o,t[l.index],i);for(var r=l.child;r;)qa(n,e,t,r,o,i),r=r.next}(n,e,t,l,o,i):1===r?function(n,e,t,l,o,i){var r=Kl(t),a=r[le].projection[l.projection];if(void 0!==a)if(Array.isArray(a))for(var u=0;u<a.length;u++)ga(e,n,o,a[u],i);else for(var s=a,d=r[ne];null!==s;)qa(n,e,d,s,o,i),s=s.projectionNext}(n,e,t,l,o,i):ga(e,n,o,t[l.index],i))}var La,ja,Va,Ba=function(){function n(n,e,t){this._context=e,this._componentIndex=t,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=n}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return null==this._lView[$n]?function n(e,t,l){for(var o=t.child;o;){var i=$e(o,e);if(i&&l.push(i),4===o.type)n(e,o,l);else if(1===o.type)for(var r=Kl(e),a=r[le],u=Zl(r),s=a.projection[o.projection];s&&u;)l.push(Ye(s,u)),s=s.next;o=o.next}return l}(this._lView,this._lView[le],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 256==(256&this._lView[Jn])},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var n=this._viewContainerRef.indexOf(this);n>-1&&this._viewContainerRef.detach(n),this._viewContainerRef=null}xa(this._lView)},n.prototype.onDestroy=function(n){var e,t;t=n,ua(e=this._lView).push(t),e[Qn].firstTemplatePass&&sa(e).push(e[ie].length-1,null)},n.prototype.markForCheck=function(){Jr(this._lView)},n.prototype.detach=function(){this._lView[Jn]&=-129},n.prototype.reattach=function(){this._lView[Jn]|=128},n.prototype.detectChanges=function(){ea(this._lView,this.context)},n.prototype.checkNoChanges=function(){!function(n,e){Ft(!0);try{ea(n,e)}finally{Ft(!1)}}(this._lView,this.context)},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n.prototype.detachFromAppRef=function(){this._appRef=null,function(n){Pa(n[se],1,n,null,null)}(this._lView)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype._lookUpContext=function(){return this._context=Zl(this._lView)[this._componentIndex]},n}(),Ha=function(n){function e(e){var t=n.call(this,e,null,-1)||this;return t._view=e,t}return Object(l.c)(e,n),e.prototype.detectChanges=function(){ta(this._view)},e.prototype.checkNoChanges=function(){!function(n){Ft(!0);try{ta(n)}finally{Ft(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Ba);function Ua(n,e,t){return La||(La=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.c)(e,n),e}(n)),new La(Ye(e,t))}function za(n,e,t,o){return ja||(ja=function(n){function e(e,t,l){var o=n.call(this)||this;return o._declarationView=e,o._declarationTContainer=t,o.elementRef=l,o}return Object(l.c)(e,n),e.prototype.createEmbeddedView=function(n){var e=this._declarationTContainer.tViews,t=function(n,e,t,l){var o=kt(),i=wt();St(null,!0);var r=Sr(t,n,e,16,null,null);return r[fe]=t,kr(n,null,-1,r),n.firstTemplatePass&&(n.node.injectorIndex=l),St(i,o),r}(e,n,this._declarationView,this._declarationTContainer.injectorIndex);t[he]=this._declarationView[this._declarationTContainer.index];var l=this._declarationView[te];null!==l&&(t[te]=l.createEmbeddedView(e)),Er(t,e,n);var o=new Ba(t,n,-1);return o._tViewNode=t[le],o},e}(n)),0===t.type?new ja(o,t,Ua(e,t,o)):null}function Ga(n,e,t,o){var i;Va||(Va=function(n){function t(e,t,l){var o=n.call(this)||this;return o._lContainer=e,o._hostTNode=t,o._hostView=l,o}return Object(l.c)(t,n),Object.defineProperty(t.prototype,"element",{get:function(){return Ua(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new ho(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){var n=lo(this._hostTNode,this._hostView),e=Wl(n,this._hostView),t=function(n,e,t){if(t.parent&&-1!==t.parent.injectorIndex){for(var l=t.parent.injectorIndex,o=t.parent;null!=o.parent&&l==o.injectorIndex;)o=o.parent;return o}for(var i=Gl(n),r=e,a=e[le];i>1;)a=(r=r[fe])[le],i--;return a}(n,this._hostView,this._hostTNode);return Ul(n)&&null!=t?new ho(t,e):new ho(null,this._hostView)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},t.prototype.get=function(n){return null!==this._lContainer[Ce]&&this._lContainer[Ce][n]||null},Object.defineProperty(t.prototype,"length",{get:function(){return this._lContainer.length-we},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(n,e,t){var l=n.createEmbeddedView(e||{});return this.insert(l,t),l},t.prototype.createComponent=function(n,e,t,l,o){var i=t||this.parentInjector;!o&&null==n.ngModule&&i&&(o=i.get(fn,null));var r=n.create(i,l,void 0,o);return this.insert(r.hostView,e),r},t.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();var t=n._lView,l=this._adjustIndex(e);return xe(t[ne])?this.move(n,l):(ya(t,this._lContainer,l),_a(t,!0,Fa(l,this._lContainer)),n.attachToViewContainerRef(this),bn(this._lContainer[Ce],l,n),n)},t.prototype.move=function(n,e){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t=this.indexOf(n);return-1!==t&&this.detach(t),this.insert(n,e),n},t.prototype.indexOf=function(n){return null!==this._lContainer[Ce]?this._lContainer[Ce].indexOf(n):0},t.prototype.remove=function(n){this.allocateContainerIfNeeded();var e=this._adjustIndex(n,-1);Sa(this._lContainer,e),_n(this._lContainer[Ce],e)},t.prototype.detach=function(n){this.allocateContainerIfNeeded();var e=this._adjustIndex(n,-1),t=wa(this._lContainer,e);return t&&null!=_n(this._lContainer[Ce],e)?new Ba(t,t[re],-1):null},t.prototype._adjustIndex=function(n,e){return void 0===e&&(e=0),null==n?this.length+e:n},t.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[Ce]&&(this._lContainer[Ce]=[])},t}(n));var r=o[t.index];if(xe(r))(i=r)[be]=-1;else{var a;if(a=4===t.type?Ke(r):o[se].createComment(""),Re(o)){var u=o[se],s=Ye(t,o);Ta(u,Ia(u,s),a,function(n,e){return ql(n)?n.nextSibling(e):e.nextSibling}(u,s))}else Da(a,t,o);o[t.index]=i=Yr(r,o,a,t,!0),Qr(o,i)}return new Va(i,t,o)}function Wa(n){return void 0===n&&(n=!1),function(n,e,t){if(Ee(n)&&!t){var l=n.directiveStart,o=nt(n.index,e);return new Ba(o,null,l)}if(3===n.type||0===n.type||4===n.type){var i=Kl(e);return new Ba(i,i[re],-1)}return null}(wt(),dt(),n)}var Za=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Xa()},n}(),Ka=Wa,Xa=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},Ya=Function;function $a(n){return"function"==typeof n}var Qa=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ja=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,nu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,eu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,tu=function(){function n(n){this._reflect=n||H.Reflect}return n.prototype.isReflectionEnabled=function(){return!0},n.prototype.factory=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Object(l.f)([void 0],e)))}},n.prototype._zipTypesAndAnnotations=function(n,e){var t;t=void 0===n?new Array(e.length):new Array(n.length);for(var l=0;l<t.length;l++)t[l]=void 0===n?[]:n[l]&&n[l]!=Object?[n[l]]:[],e&&null!=e[l]&&(t[l]=t[l].concat(e[l]));return t},n.prototype._ownParameters=function(n,e){if(t=n.toString(),Qa.test(t)||eu.test(t)||Ja.test(t)&&!nu.test(t))return null;var t;if(n.parameters&&n.parameters!==e.parameters)return n.parameters;var l=n.ctorParameters;if(l&&l!==e.ctorParameters){var o="function"==typeof l?l():l,i=o.map((function(n){return n&&n.type})),r=o.map((function(n){return n&&lu(n.decorators)}));return this._zipTypesAndAnnotations(i,r)}var a=n.hasOwnProperty(d)&&n[d],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return u||a?this._zipTypesAndAnnotations(u,a):new Array(n.length).fill(void 0)},n.prototype.parameters=function(n){if(!$a(n))return[];var e=ou(n),t=this._ownParameters(n,e);return t||e===Object||(t=this.parameters(e)),t||[]},n.prototype._ownAnnotations=function(n,e){if(n.annotations&&n.annotations!==e.annotations){var t=n.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return n.decorators&&n.decorators!==e.decorators?lu(n.decorators):n.hasOwnProperty(s)?n[s]:null},n.prototype.annotations=function(n){if(!$a(n))return[];var e=ou(n),t=this._ownAnnotations(n,e)||[];return(e!==Object?this.annotations(e):[]).concat(t)},n.prototype._ownPropMetadata=function(n,e){if(n.propMetadata&&n.propMetadata!==e.propMetadata){var t=n.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(n.propDecorators&&n.propDecorators!==e.propDecorators){var l=n.propDecorators,o={};return Object.keys(l).forEach((function(n){o[n]=lu(l[n])})),o}return n.hasOwnProperty(c)?n[c]:null},n.prototype.propMetadata=function(n){if(!$a(n))return{};var e=ou(n),t={};if(e!==Object){var o=this.propMetadata(e);Object.keys(o).forEach((function(n){t[n]=o[n]}))}var i=this._ownPropMetadata(n,e);return i&&Object.keys(i).forEach((function(n){var e=[];t.hasOwnProperty(n)&&e.push.apply(e,Object(l.f)(t[n])),e.push.apply(e,Object(l.f)(i[n])),t[n]=e})),t},n.prototype.ownPropMetadata=function(n){return $a(n)&&this._ownPropMetadata(n,ou(n))||{}},n.prototype.hasLifecycleHook=function(n,e){return n instanceof Ya&&e in n.prototype},n.prototype.guards=function(n){return{}},n.prototype.getter=function(n){return new Function("o","return o."+n+";")},n.prototype.setter=function(n){return new Function("o","v","return o."+n+" = v;")},n.prototype.method=function(n){return new Function("o","args","if (!o."+n+") throw new Error('\""+n+"\" is undefined');\n return o."+n+".apply(o, args);")},n.prototype.importUri=function(n){return"object"==typeof n&&n.filePath?n.filePath:"./"+N(n)},n.prototype.resourceUri=function(n){return"./"+N(n)},n.prototype.resolveIdentifier=function(n,e,t,l){return l},n.prototype.resolveEnum=function(n,e){return n[e]},n}();function lu(n){return n?n.map((function(n){var e=n.type.annotationCls,t=n.args?n.args:[];return new(e.bind.apply(e,Object(l.f)([void 0],t)))})):[]}function ou(n){var e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}var iu=null;function ru(){return iu=iu||new tu}function au(n){return uu(ru().parameters(n))}function uu(n){var e=U();return n.map((function(n){return function(n,e){var t={token:null,host:!1,optional:!1,resolved:n.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function l(e){t.resolved=n.R3ResolvedDependencyType.Token,t.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<e.length;o++){var i=e[o];if(void 0!==i)if(i instanceof b||"Optional"===i.__proto__.ngMetadataName)t.optional=!0;else if(i instanceof y||"SkipSelf"===i.__proto__.ngMetadataName)t.skipSelf=!0;else if(i instanceof _||"Self"===i.__proto__.ngMetadataName)t.self=!0;else if(i instanceof C||"Host"===i.__proto__.ngMetadataName)t.host=!0;else if(i instanceof g)t.token=i.token;else if(i instanceof S){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");t.token=i.attributeName,t.resolved=n.R3ResolvedDependencyType.Attribute}else i===Za?(t.token=i,t.resolved=n.R3ResolvedDependencyType.ChangeDetectorRef):l(i)}}else l(e);return t}(e,n)}))}function su(n,e){var t=null;n.hasOwnProperty(O)||Object.defineProperty(n,O,{get:function(){if(null===t){var l=e||{providedIn:null},o=cu(l)||fu(l)||pu(l)||hu(l),i={name:n.name,type:n,typeArgumentCount:0,providedIn:l.providedIn,ctorDeps:au(n),userDeps:void 0};if((cu(l)||fu(l))&&void 0!==l.deps&&(i.userDeps=uu(l.deps)),o)if(cu(l))i.useClass=l.useClass;else if(pu(l))i.useValue=l.useValue;else if(fu(l))i.useFactory=l.useFactory;else{if(!hu(l))throw new Error("Unreachable state.");i.useExisting=l.useExisting}else i.useClass=n;t=U().compileInjectable(pn,"ng:///"+n.name+"/ngInjectableDef.js",i)}return t}})}var du=k({provide:String,useValue:k});function cu(n){return void 0!==n.useClass}function pu(n){return du in n}function fu(n){return void 0!==n.useFactory}function hu(n){return void 0!==n.useExisting}var mu=k({provide:String,useValue:k}),vu=[];function gu(n,e){if(!e){var t=(s=new tu).parameters(n);return function(){return new(n.bind.apply(n,Object(l.f)([void 0],un(t))))}}if(mu in e){var o=e;return function(){return o.useValue}}if(e.useExisting){var i=e;return function(){return on(i.useExisting)}}if(e.useFactory){var r=e;return function(){return r.useFactory.apply(r,Object(l.f)(un(r.deps||vu)))}}if(e.useClass){var a=e,u=e.deps;if(!u){var s=new tu;u=s.parameters(n)}return function(){var n;return new((n=a.useClass).bind.apply(n,Object(l.f)([void 0],un(u))))}}var d=e.deps;return d||(s=new tu,d=s.parameters(n)),function(){return new(n.bind.apply(n,Object(l.f)([void 0],un(d))))}}var bu=p("Injectable",void 0,void 0,void 0,(function(n,e){return yu(n,e)})),_u=su,yu=function(n,e){e&&void 0!==e.providedIn&&!D(n)&&(n.ngInjectableDef=T({token:n,providedIn:e.providedIn,factory:gu(n,e)}))},Cu=new G("The presence of this token marks an injector as being the root injector."),wu={},Su={},xu=[],ku=void 0;function Eu(){return void 0===ku&&(ku=new sn),ku}function Tu(n,e,t,l){return void 0===e&&(e=null),void 0===t&&(t=null),e=e||Eu(),new Ru(n,t,e,l)}var Ru=function(){function n(n,e,t,l){var o=this;void 0===l&&(l=null),this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var i=[];gn([n],(function(n){return o.processInjectorType(n,[],i)})),e&&gn(e,(function(t){return o.processProvider(t,n,e)})),this.records.set(W,Fu(void 0,this)),this.isRootInjector=this.records.has(Cu),this.injectorDefTypes.forEach((function(n){return o.get(n)})),this.source=l||("object"==typeof n?null:N(n))}return Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(n){return n.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},n.prototype.get=function(n,e,t){void 0===e&&(e=Z),void 0===t&&(t=x.Default),this.assertNotDestroyed();var l,o=en(this);try{if(!(t&x.SkipSelf)){var i=this.records.get(n);if(void 0===i){var r=("function"==typeof(l=n)||"object"==typeof l&&l instanceof G)&&D(n);r&&this.injectableDefInScope(r)&&(i=Fu(Iu(n),wu),this.records.set(n,i))}if(void 0!==i)return this.hydrate(n,i)}return(t&x.Self?Eu():this.parent).get(n,t&x.Optional?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[K]=a[K]||[]).unshift(N(n)),o)throw a;return dn(a,n,"R3InjectorError",this.source)}throw a}finally{en(o)}},n.prototype.toString=function(){var n=[];return this.records.forEach((function(e,t){return n.push(N(t))})),"R3Injector["+n.join(", ")+"]"},n.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},n.prototype.processInjectorType=function(n,e,t){var l=this;if(!(n=q(n)))return!1;var o=F(n),i=null==o&&n.ngModule||void 0,r=void 0===i?n:i,a=-1!==t.indexOf(r);if(void 0!==i&&(o=F(i)),null==o)return!1;if(this.injectorDefTypes.add(r),this.records.set(r,Fu(o.factory,wu)),null!=o.imports&&!a){var u;t.push(r);try{gn(o.imports,(function(n){l.processInjectorType(n,e,t)&&(void 0===u&&(u=[]),u.push(n))}))}finally{}if(void 0!==u)for(var s=function(n){var e=u[n],t=e.ngModule,o=e.providers;gn(o,(function(n){return l.processProvider(n,t,o||xu)}))},d=0;d<u.length;d++)s(d)}var c=o.providers;if(null!=c&&!a){var p=n;gn(c,(function(n){return l.processProvider(n,p,c)}))}return void 0!==i&&void 0!==n.providers},n.prototype.processProvider=function(n,e,t){var l=Mu(n=q(n))?n:q(n&&n.provide),o=function(n,e,t){var l=Du(n,e,t);return Ou(n)?Fu(void 0,n.useValue):Fu(l,wu)}(n,e,t);if(Mu(n)||!0!==n.multi){var i=this.records.get(l);i&&void 0!==i.multi&&Oi()}else{var r=this.records.get(l);r?void 0===r.multi&&Oi():((r=Fu(void 0,wu,!0)).factory=function(){return un(r.multi)},this.records.set(l,r)),l=n,r.multi.push(n)}this.records.set(l,o)},n.prototype.hydrate=function(n,e){var t;return e.value===Su?function(n){throw new Error("Cannot instantiate cyclic dependency! "+n)}(N(n)):e.value===wu&&(e.value=Su,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(t=e.value)&&"object"==typeof t&&"function"==typeof t.ngOnDestroy&&this.onDestroy.add(e.value),e.value},n.prototype.injectableDefInScope=function(n){return!!n.providedIn&&("string"==typeof n.providedIn?"any"===n.providedIn||"root"===n.providedIn&&this.isRootInjector:this.injectorDefTypes.has(n.providedIn))},n}();function Iu(n){var e=D(n);if(null!==e)return e.factory;var t=F(n);if(null!==t)return t.factory;if(n instanceof G)throw new Error("Token "+N(n)+" is missing an ngInjectableDef definition.");if(n instanceof Function)return function(n){var e=n.length;if(e>0){var t=new Array(e).fill("?");throw new Error("Can't resolve all parameters for "+N(n)+": ("+t.join(", ")+").")}var l,o=(l=n)&&l[O]?(console.warn('DEPRECATED: DI is instantiating a token "'+l.name+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+l.name+'" class.'),l[O]):null;return null!==o?function(){return o.factory(n)}:function(){return new n}}(n);throw new Error("unreachable")}function Du(n,e,t){var o,i=void 0;if(Mu(n))return Iu(q(n));if(Ou(n))i=function(){return q(n.useValue)};else if((o=n)&&o.useExisting)i=function(){return on(q(n.useExisting))};else if(function(n){return!(!n||!n.useFactory)}(n))i=function(){return n.useFactory.apply(n,Object(l.f)(un(n.deps||[])))};else{var r=q(n&&(n.useClass||n.provide));if(r||function(n,e,t){var l="";throw n&&e&&(l=" - only instances of Provider and Type are allowed, got: ["+e.map((function(n){return n==t?"?"+t+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+N(n)+"'"+l)}(e,t,n),!function(n){return!!n.deps}(n))return Iu(r);i=function(){return new(r.bind.apply(r,Object(l.f)([void 0],un(n.deps))))}}return i}function Fu(n,e,t){return void 0===t&&(t=!1),{factory:n,value:e,multi:t?[]:void 0}}function Ou(n){return null!==n&&"object"==typeof n&&J in n}function Mu(n){return"function"==typeof n}function Nu(n,e,t){return Tu({name:t},e,n,t)}var Au=function(n,e,t){return new Bu(n,e,t)},Pu=function(){function n(){}return n.create=function(n,e){return Array.isArray(n)?Au(n,e,""):Au(n.providers,n.parent,n.name||"")},n.THROW_IF_NOT_FOUND=Z,n.NULL=new sn,n.ngInjectableDef=T({token:n,providedIn:"any",factory:function(){return on(W)}}),n.__NG_ELEMENT_ID__=-1,n}(),qu=function(n){return n},Lu=[],ju=qu,Vu=function(){return Array.prototype.slice.call(arguments)},Bu=function(){function n(n,e,t){void 0===e&&(e=Pu.NULL),void 0===t&&(t=null),this.parent=e,this.source=t;var l=this._records=new Map;l.set(Pu,{token:Pu,fn:qu,deps:Lu,value:this,useNew:!1}),l.set(W,{token:W,fn:qu,deps:Lu,value:this,useNew:!1}),function n(e,t){if(t)if((t=q(t))instanceof Array)for(var l=0;l<t.length;l++)n(e,t[l]);else{if("function"==typeof t)throw Uu("Function/Class not supported",t);if(!t||"object"!=typeof t||!t.provide)throw Uu("Unexpected provider",t);var o=q(t.provide),i=function(n){var e=function(n){var e=Lu,t=n.deps;if(t&&t.length){e=[];for(var l=0;l<t.length;l++){var o=6;if((u=q(t[l]))instanceof Array)for(var i=0,r=u;i<r.length;i++){var a=r[i];a instanceof b||a==b?o|=1:a instanceof y||a==y?o&=-3:a instanceof _||a==_?o&=-5:u=a instanceof g?a.token:q(a)}e.push({token:u,options:o})}}else if(n.useExisting){var u=q(n.useExisting);e=[{token:u,options:6}]}else if(!(t||J in n))throw Uu("'deps' required",n);return e}(n),t=qu,l=Lu,o=!1,i=q(n.provide);if(J in n)l=n.useValue;else if(n.useFactory)t=n.useFactory;else if(n.useExisting);else if(n.useClass)o=!0,t=q(n.useClass);else{if("function"!=typeof i)throw Uu("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",n);o=!0,t=i}return{deps:e,fn:t,useNew:o,value:l}}(t);if(!0===t.multi){var r=e.get(o);if(r){if(r.fn!==Vu)throw Hu(o)}else e.set(o,r={token:t.provide,deps:[],useNew:!1,fn:Vu,value:Lu});r.deps.push({token:o=t,options:6})}var a=e.get(o);if(a&&a.fn==Vu)throw Hu(o);e.set(o,i)}}(l,n)}return n.prototype.get=function(n,e,t){void 0===t&&(t=x.Default);var o=this._records.get(n);try{return function n(e,t,o,i,r,a){try{return function(e,t,o,i,r,a){var u,s;if(!t||a&x.SkipSelf)a&x.Self||(s=i.get(e,r,x.Default));else{if((s=t.value)==ju)throw Error("ɵCircular dependency");if(s===Lu){t.value=ju;var d=t.useNew,c=t.fn,p=t.deps,f=Lu;if(p.length){f=[];for(var h=0;h<p.length;h++){var m=p[h],v=m.options,g=2&v?o.get(m.token):void 0;f.push(n(m.token,g,o,g||4&v?i:Pu.NULL,1&v?null:Pu.THROW_IF_NOT_FOUND,x.Default))}}t.value=s=d?new((u=c).bind.apply(u,Object(l.f)([void 0],f))):c.apply(void 0,f)}}return s}(e,t,o,i,r,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u[K]=u[K]||[]).unshift(e),t&&t.value==ju&&(t.value=Lu),u}}(n,o,this._records,this.parent,e,t)}catch(i){return dn(i,n,"StaticInjectorError",this.source)}},n.prototype.toString=function(){var n=[];return this._records.forEach((function(e,t){return n.push(N(t))})),"StaticInjector["+n.join(", ")+"]"},n}();function Hu(n){return Uu("Cannot mix multi providers and regular providers",n)}function Uu(n,e){return new Error(cn(n,e,"StaticInjectorError"))}function zu(n){return n.length>1?" ("+function(n){for(var e=[],t=0;t<n.length;++t){if(e.indexOf(n[t])>-1)return e.push(n[t]),e;e.push(n[t])}return e}(n.slice().reverse()).map((function(n){return N(n.token)})).join(" -> ")+")":""}function Gu(n,e,t,l){var o=[e],i=t(o),r=l?function(n,e){var t=n+" caused by: "+(e instanceof Error?e.message:e),l=Error(t);return l[bo]=e,l}(i,l):Error(i);return r.addKey=Wu,r.keys=o,r.injectors=[n],r.constructResolvingMessage=t,r[bo]=l,r}function Wu(n,e){this.injectors.push(n),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Zu(n,e){for(var t=[],l=0,o=e.length;l<o;l++){var i=e[l];t.push(i&&0!=i.length?i.map(N).join(" "):"?")}return Error("Cannot resolve all parameters for '"+N(n)+"'("+t.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+N(n)+"' is decorated with Injectable.")}var Ku=function(){function n(n,e){if(this.token=n,this.id=e,!n)throw new Error("Token must be defined!");this.displayName=N(this.token)}return n.get=function(n){return Xu.get(q(n))},Object.defineProperty(n,"numberOfKeys",{get:function(){return Xu.numberOfKeys},enumerable:!0,configurable:!0}),n}(),Xu=new(function(){function n(){this._allKeys=new Map}return n.prototype.get=function(n){if(n instanceof Ku)return n;if(this._allKeys.has(n))return this._allKeys.get(n);var e=new Ku(n,Ku.numberOfKeys);return this._allKeys.set(n,e),e},Object.defineProperty(n.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),n}()),Yu=new(function(){function n(n){this.reflectionCapabilities=n}return n.prototype.updateCapabilities=function(n){this.reflectionCapabilities=n},n.prototype.factory=function(n){return this.reflectionCapabilities.factory(n)},n.prototype.parameters=function(n){return this.reflectionCapabilities.parameters(n)},n.prototype.annotations=function(n){return this.reflectionCapabilities.annotations(n)},n.prototype.propMetadata=function(n){return this.reflectionCapabilities.propMetadata(n)},n.prototype.hasLifecycleHook=function(n,e){return this.reflectionCapabilities.hasLifecycleHook(n,e)},n.prototype.getter=function(n){return this.reflectionCapabilities.getter(n)},n.prototype.setter=function(n){return this.reflectionCapabilities.setter(n)},n.prototype.method=function(n){return this.reflectionCapabilities.method(n)},n.prototype.importUri=function(n){return this.reflectionCapabilities.importUri(n)},n.prototype.resourceUri=function(n){return this.reflectionCapabilities.resourceUri(n)},n.prototype.resolveIdentifier=function(n,e,t,l){return this.reflectionCapabilities.resolveIdentifier(n,e,t,l)},n.prototype.resolveEnum=function(n,e){return this.reflectionCapabilities.resolveEnum(n,e)},n}())(new tu),$u=function(){function n(n,e,t){this.key=n,this.optional=e,this.visibility=t}return n.fromKey=function(e){return new n(e,!1,null)},n}(),Qu=[],Ju=function(){return function(n,e,t){this.key=n,this.resolvedFactories=e,this.multiProvider=t,this.resolvedFactory=this.resolvedFactories[0]}}(),ns=function(){return function(n,e){this.factory=n,this.dependencies=e}}();function es(n){var e,t;if(n.useClass){var l=q(n.useClass);e=Yu.factory(l),t=os(l)}else n.useExisting?(e=function(n){return n},t=[$u.fromKey(Ku.get(n.useExisting))]):n.useFactory?(e=n.useFactory,t=function(n,e){if(e){var t=e.map((function(n){return[n]}));return e.map((function(e){return is(n,e,t)}))}return os(n)}(n.useFactory,n.deps)):(e=function(){return n.useValue},t=Qu);return new ns(e,t)}function ts(n){return new Ju(Ku.get(n.provide),[es(n)],n.multi||!1)}function ls(n){var e=function(n,e){for(var t=0;t<n.length;t++){var l=n[t],o=e.get(l.key.id);if(o){if(l.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+l);if(l.multiProvider)for(var i=0;i<l.resolvedFactories.length;i++)o.resolvedFactories.push(l.resolvedFactories[i]);else e.set(l.key.id,l)}else{var r;r=l.multiProvider?new Ju(l.key,l.resolvedFactories.slice(),l.multiProvider):l,e.set(l.key.id,r)}}return e}(function n(e,t){return e.forEach((function(e){if(e instanceof Ya)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!(e instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);n(e,t)}})),t}(n,[]).map(ts),new Map);return Array.from(e.values())}function os(n){var e=Yu.parameters(n);if(!e)return[];if(e.some((function(n){return null==n})))throw Zu(n,e);return e.map((function(t){return is(n,t,e)}))}function is(n,e,t){var l=null,o=!1;if(!Array.isArray(e))return rs(e instanceof g?e.token:e,o,null);for(var i=null,r=0;r<e.length;++r){var a=e[r];a instanceof Ya?l=a:a instanceof g?l=a.token:a instanceof b?o=!0:a instanceof _||a instanceof y?i=a:a instanceof G&&(l=a)}if(null!=(l=q(l)))return rs(l,o,i);throw Zu(n,t)}function rs(n,e,t){return new $u(Ku.get(n),e,t)}var as=new Object,us=function(){function n(){}return n.resolve=function(n){return ls(n)},n.resolveAndCreate=function(e,t){var l=n.resolve(e);return n.fromResolvedProviders(l,t)},n.fromResolvedProviders=function(n,e){return new ss(n,e)},n}(),ss=function(){function n(n,e){this._constructionCounter=0,this._providers=n,this.parent=e||null;var t=n.length;this.keyIds=new Array(t),this.objs=new Array(t);for(var l=0;l<t;l++)this.keyIds[l]=n[l].key.id,this.objs[l]=as}return n.prototype.get=function(n,e){return void 0===e&&(e=Z),this._getByKey(Ku.get(n),null,e)},n.prototype.resolveAndCreateChild=function(n){var e=us.resolve(n);return this.createChildFromResolved(e)},n.prototype.createChildFromResolved=function(e){var t=new n(e);return t.parent=this,t},n.prototype.resolveAndInstantiate=function(n){return this.instantiateResolved(us.resolve([n])[0])},n.prototype.instantiateResolved=function(n){return this._instantiateProvider(n)},n.prototype.getProviderAtIndex=function(n){if(n<0||n>=this._providers.length)throw function(n){return Error("Index "+n+" is out-of-bounds.")}(n);return this._providers[n]},n.prototype._new=function(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Gu(this,n.key,(function(n){return"Cannot instantiate cyclic dependency!"+zu(n)}));return this._instantiateProvider(n)},n.prototype._getMaxNumberOfObjects=function(){return this.objs.length},n.prototype._instantiateProvider=function(n){if(n.multiProvider){for(var e=new Array(n.resolvedFactories.length),t=0;t<n.resolvedFactories.length;++t)e[t]=this._instantiate(n,n.resolvedFactories[t]);return e}return this._instantiate(n,n.resolvedFactories[0])},n.prototype._instantiate=function(n,e){var t,o,i,r=this,a=e.factory;try{t=e.dependencies.map((function(n){return r._getByReflectiveDependency(n)}))}catch(u){throw u.addKey&&u.addKey(this,n.key),u}try{o=a.apply(void 0,Object(l.f)(t))}catch(u){throw Gu(this,n.key,(function(n){var e=N(n[0].token);return i.message+": Error during instantiation of "+e+"!"+zu(n)+"."}),i=u)}return o},n.prototype._getByReflectiveDependency=function(n){return this._getByKey(n.key,n.visibility,n.optional?null:Z)},n.prototype._getByKey=function(e,t,l){return e===n.INJECTOR_KEY?this:t instanceof _?this._getByKeySelf(e,l):this._getByKeyDefault(e,l,t)},n.prototype._getObjByKeyId=function(n){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===n)return this.objs[e]===as&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return as},n.prototype._throwOrNull=function(n,e){if(e!==Z)return e;throw function(n,e){return Gu(n,e,(function(n){return"No provider for "+N(n[0].token)+"!"+zu(n)}))}(this,n)},n.prototype._getByKeySelf=function(n,e){var t=this._getObjByKeyId(n.id);return t!==as?t:this._throwOrNull(n,e)},n.prototype._getByKeyDefault=function(e,t,l){var o;for(o=l instanceof y?this.parent:this;o instanceof n;){var i=o,r=i._getObjByKeyId(e.id);if(r!==as)return r;o=i.parent}return null!==o?o.get(e.token,t):this._throwOrNull(e,t)},Object.defineProperty(n.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(n,e){for(var t=new Array(n._providers.length),l=0;l<n._providers.length;++l)t[l]=' "'+n.getProviderAtIndex(l).key.displayName+'" ';return t}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.displayName},n.INJECTOR_KEY=Ku.get(Pu),n}(),ds=new G("AnalyzeForEntryComponents"),cs=function(){return function(){}}(),ps=m("ContentChildren",(function(n,e){return void 0===e&&(e={}),Object(l.a)({selector:n,first:!1,isViewQuery:!1,descendants:!1},e)}),cs),fs=m("ContentChild",(function(n,e){return void 0===e&&(e={}),Object(l.a)({selector:n,first:!0,isViewQuery:!1,descendants:!0},e)}),cs),hs=m("ViewChildren",(function(n,e){return void 0===e&&(e={}),Object(l.a)({selector:n,first:!1,isViewQuery:!0,descendants:!0},e)}),cs),ms=m("ViewChild",(function(n,e){return Object(l.a)({selector:n,first:!0,isViewQuery:!0,descendants:!0},e)}),cs);function vs(n){var e=[],t=new Map;function l(e){var l=t.get(e);if(!l){var o=n(e);t.set(e,l=o.then(Cs))}return l}return gs.forEach((function(n,t){var o=[];n.templateUrl&&o.push(l(n.templateUrl).then((function(e){n.template=e})));var i=n.styleUrls,r=n.styles||(n.styles=[]),a=n.styles.length;i&&i.forEach((function(e,t){r.push(""),o.push(l(e).then((function(l){r[a+t]=l,i.splice(i.indexOf(e),1),0==i.length&&(n.styleUrls=void 0)})))}));var u=Promise.all(o).then((function(){return function(n){bs.delete(n)}(t)}));e.push(u)})),ys(),Promise.all(e).then((function(){}))}var gs=new Map,bs=new Set;function _s(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length)}function ys(){var n=gs;return gs=new Map,n}function Cs(n){return"string"==typeof n?n:n.text()}function ws(n){var e=dt(),t=e[Qn];t.firstTemplatePass&&(function(n,e,t){var l=n.expandoInstructions,o=l.length;o>=2&&l[o-2]===e.hostBindings?l[o-1]=l[o-1]+t:l.push(e.hostBindings,t)}(t,it,n),function(n,e,t){for(var l=0;l<t;l++)e.push(ir),n.blueprint.push(ir),n.data.push(null)}(t,e,n))}var Ss=null;function xs(){if(!Ss){var n=H.Symbol;if(n&&n.iterator)Ss=n.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t<e.length;++t){var l=e[t];"entries"!==l&&"size"!==l&&Map.prototype[l]===Map.prototype.entries&&(Ss=l)}}return Ss}function ks(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}function Es(n,e){var t=Rs(n),l=Rs(e);return t&&l?function(n,e,t){for(var l=n[xs()](),o=e[xs()]();;){var i=l.next(),r=o.next();if(i.done&&r.done)return!0;if(i.done||r.done)return!1;if(!t(i.value,r.value))return!1}}(n,e,Es):!(t||!n||"object"!=typeof n&&"function"!=typeof n||l||!e||"object"!=typeof e&&"function"!=typeof e)||ks(n,e)}var Ts=function(){function n(n){this.wrapped=n}return n.wrap=function(e){return new n(e)},n.unwrap=function(e){return n.isWrapped(e)?e.wrapped:e},n.isWrapped=function(e){return e instanceof n},n}();function Rs(n){return!!Is(n)&&(Array.isArray(n)||!(n instanceof Map)&&xs()in n)}function Is(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Ds(n,e,t){return n[e]=t}function Fs(n,e){return n[e]}function Os(n,e,t){return!!Qt(n[e],t)&&(n[e]=t,!0)}function Ms(n,e,t,l){var o=Os(n,e,t);return Os(n,e+1,l)||o}function Ns(n,e,t,l,o){var i=Ms(n,e,t,l);return Os(n,e+2,o)||i}function As(n,e,t,l,o,i){var r=Ms(n,e,t,l);return Ms(n,e+2,o,i)||r}function Ps(n,e,t){var l=Ht(),o=qs(dt(),e);return o!==ir&&Lr(l,n,o,t),Ps}function qs(n,e){var t=n[oe]++;return ia(n),Os(n,t,e)?e:ir}function Ls(n,e,t,l){var o=Ht(),i=dt(),r=qs(i,e);return r!==ir&&Xr(o,n,r,i,t,l),Ls}function js(n,e){var t=!1,l=n[Qn].data,o=n[oe];if(null==l[o]){for(var i=2;i<e.length;i+=2)l[o++]=e[i];o=n[oe]}for(i=1;i<e.length;i+=2)t=Os(n,o++,e[i])||t;if(n[oe]=o,ia(n,e[0],e[e.length-1]),!t)return ir;var r=e[0];for(i=1;i<e.length;i+=2)r+=Jt(e[i])+e[i+1];return r}function Vs(n,e,t,l){var o=Os(n,n[oe]++,t);return ia(n,e,l),o?e+Jt(t)+l:ir}function Bs(n,e,t,l,o,i){var r=n[oe],a=Ms(n,r,t,o);return n[oe]+=2,ia(n,e,i)&&(n[Qn].data[r]=l),a?e+Jt(t)+l+Jt(o)+i:ir}function Hs(n,e,t,l,o,i,r,a){var u=n[oe],s=Ns(n,u,t,o,r);if(n[oe]+=3,ia(n,e,a)){var d=n[Qn].data;d[u]=l,d[u+1]=i}return s?e+Jt(t)+l+Jt(o)+i+Jt(r)+a:ir}function Us(n,e,t,l,o,i,r,a,u,s){var d=n[oe],c=As(n,d,t,o,r,u);if(n[oe]+=4,ia(n,e,s)){var p=n[Qn].data;p[d]=l,p[d+1]=i,p[d+2]=a}return c?e+Jt(t)+l+Jt(o)+i+Jt(r)+a+Jt(u)+s:ir}function zs(n,e,t,l,o,i,r,a,u,s,d,c){var p=n[oe],f=As(n,p,t,o,r,u);if(f=Os(n,p+4,d)||f,n[oe]+=5,ia(n,e,c)){var h=n[Qn].data;h[p]=l,h[p+1]=i,h[p+2]=a,h[p+3]=s}return f?e+Jt(t)+l+Jt(o)+i+Jt(r)+a+Jt(u)+s+Jt(d)+c:ir}function Gs(n,e,t,l,o,i,r,a,u,s,d,c,p,f){var h=n[oe],m=As(n,h,t,o,r,u);if(m=Ms(n,h+4,d,p)||m,n[oe]+=6,ia(n,e,f)){var v=n[Qn].data;v[h]=l,v[h+1]=i,v[h+2]=a,v[h+3]=s,v[h+4]=c}return m?e+Jt(t)+l+Jt(o)+i+Jt(r)+a+Jt(u)+s+Jt(d)+c+Jt(p)+f:ir}function Ws(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m){var v=n[oe],g=As(n,v,t,o,r,u);if(g=Ns(n,v+4,d,p,h)||g,n[oe]+=7,ia(n,e,m)){var b=n[Qn].data;b[v]=l,b[v+1]=i,b[v+2]=a,b[v+3]=s,b[v+4]=c,b[v+5]=f}return g?e+Jt(t)+l+Jt(o)+i+Jt(r)+a+Jt(u)+s+Jt(d)+c+Jt(p)+f+Jt(h)+m:ir}function Zs(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g){var b=n[oe],_=As(n,b,t,o,r,u);if(_=As(n,b+4,d,p,h,v)||_,n[oe]+=8,ia(n,e,g)){var y=n[Qn].data;y[b]=l,y[b+1]=i,y[b+2]=a,y[b+3]=s,y[b+4]=c,y[b+5]=f,y[b+6]=m}return _?e+Jt(t)+l+Jt(o)+i+Jt(r)+a+Jt(u)+s+Jt(d)+c+Jt(p)+f+Jt(h)+m+Jt(v)+g:ir}function Ks(n,e,t,l,o,i){var r=Ht(),a=dt(),u=Vs(a,e,t,l);return u!==ir&&Xr(r,n,u,a,o,i),Ks}function Xs(n,e,t,l,o,i,r,a){var u=Ht(),s=dt(),d=Bs(s,e,t,l,o,i);return d!==ir&&Xr(u,n,d,s,r,a),Xs}function Ys(n,e,t,l,o,i,r,a,u,s){var d=Ht(),c=dt(),p=Hs(c,e,t,l,o,i,r,a);return p!==ir&&Xr(d,n,p,c,u,s),Ys}function $s(n,e,t,l,o,i,r,a,u,s,d,c){var p=Ht(),f=dt(),h=Us(f,e,t,l,o,i,r,a,u,s);return h!==ir&&Xr(p,n,h,f,d,c),$s}function Qs(n,e,t,l,o,i,r,a,u,s,d,c,p,f){var h=Ht(),m=dt(),v=zs(m,e,t,l,o,i,r,a,u,s,d,c);return v!==ir&&Xr(h,n,v,m,p,f),Qs}function Js(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m){var v=Ht(),g=dt(),b=Gs(g,e,t,l,o,i,r,a,u,s,d,c,p,f);return b!==ir&&Xr(v,n,b,g,h,m),Js}function nd(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g){var b=Ht(),_=dt(),y=Ws(_,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m);return y!==ir&&Xr(b,n,y,_,v,g),nd}function ed(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g,b,_){var y=Ht(),C=dt(),w=Zs(C,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g);return w!==ir&&Xr(y,n,w,C,b,_),ed}function td(n,e,t,l){var o=Ht(),i=dt(),r=js(i,e);return r!==ir&&Xr(o,n,r,i,t,l),td}function ld(n){ea(ki(n),n)}function od(n){var e,t,l,o=Jr(ki(n));l=0===(e=o[re]).flags,e.flags|=1,l&&e.clean==_r&&(e.clean=new Promise((function(n){return t=n})),e.scheduler((function(){if(1&e.flags&&(e.flags&=-2,na(e)),2&e.flags){e.flags&=-3;var n=e.playerHandler;n&&n.flushPlayers()}e.clean=_r,t(null)})))}function id(n){var e=dt(),t=sd(e,n,null,null);e[Qn].firstTemplatePass&&(t.tViews=[]),Et()}function rd(n,e,t,l,o,i,r,a){var u=dt(),s=u[Qn],d=sd(u,n,o||null,i||null);if(s.firstTemplatePass){jr(s,u,d,r||null);var c=d.tViews=Mr(-1,e,t,l,s.directiveRegistry,s.pipeRegistry,null,null);null!==s.queries&&(s.queries.template(s,d),c.queries=s.queries.embeddedTView(d))}Fr(s,u,d,a),Ei(Ye(d,u),u),Ae(s,d),Et()}function ad(n){var e=dt(),t=e[Qn];St(Je(t.data,n),!0),e[n+ve][be]=0,Pe(e,t,Dt(),void 0)}function ud(){var n=wt();kt()?Et():St(n=n.parent,!1);for(var e=dt()[n.index],t=e[be];t<e.length-we;)Sa(e,t)}function sd(n,e,t,l){var o=e+ve,i=n[o]=n[se].createComment(""),r=xr(n[Qn],n[le],e,0,t,l),a=n[o]=Yr(i,n,i,r);return Da(i,r,n),Qr(n,a),r}function dd(n,e){var t=dt(),l=t[Qn],o=n+ve;o>=l.data.length&&(l.data[o]=null,l.blueprint[o]=null),t[o]=e}function cd(n){return Je(Rt,n)}function pd(n){return Je(dt(),n)}function fd(n,e){void 0===e&&(e=x.Default),n=q(n);var t=dt();return null==t?on(n,e):ro(wt(),t,n,e)}function hd(n){return io(wt(),n)}function md(){var n,e;dt()[Qn].firstTemplatePass&&(n=wt(),e=Id(),dl(Fd(n),e),dl(Dd(n),e))}function vd(n){Yt(n)}function gd(n,e,t){bd(Ht(),n,e,t)}function bd(n,e,t,l){yd(n,dt()[oe]++,e,function(n,e){if(n===ir)return n;var t=null;return null!==n&&(t=e?Jt(n)+e:n),t}(t,l),!1,Md())}function _d(n,e){var t=dt()[oe]++;yd(Ht(),t,n,e,!0,Md())}function yd(n,e,t,l,o,i){var r=dt(),a=Qe(n,r),u=Ye(a,r),s=!1;if(l!==ir)if(o)s=Wi(Fd(a),r,u,t,e,l,i,!1);else{var d=$t();s=Zi(Dd(a),r,u,t,e,l,d,i,!1)}return s}function Cd(n){var e=Ht(),t=dt(),l=Qe(e,t),o=Dd(l),i=Id(),r=t[oe]++;!i&&Ol(l)&&n!==ir&&(kd(o,t,l,r,n,!1),n=ir),xd(e,o,r,n,!1,Md())}function wd(n){Sd(Ht(),n)}function Sd(n,e){var t=dt(),l=Qe(n,t),o=Fd(l),i=Id(),r=t[oe]++;!i&&Fl(l)&&e!==ir&&(kd(o,t,l,r,e,!0),e=ir),xd(n,o,r,e,!0,Md())}function xd(n,e,t,l,o,i){sr();var r=dt(),a=!1;if(l!==ir){var u=Ye(Qe(n,r),r),s=r[t];a=xl(s,l);var d=function(n,e,t){var l=Array.isArray(n)?n:[null];l[0]=e||null;for(var o=1;o<l.length;o+=2)Nl(l,o,null);var i,r=null,a=!1;if("string"==typeof e?e.length&&(r=e.split(/\s+/),a=!0):(r=e?Object.keys(e):null,i=e),r)for(var u=0;u<r.length;u++){var s=r[u];fr(l,t?Tl(s):s,!!a||i[s],!0)}return l}(s,l,!o);o?Wi(e,r,u,null,t,d,i,a):Zi(e,r,u,null,t,d,$t(),i,a)}return a}function kd(n,e,t,l,o,i){e[l]!==o&&((o||Cl(n))&&pa(e,t.inputs[i?"class":"style"],function(n,e,t){var l,o=e;return n.length>0&&(o=t?El(n,((l=e)&&"string"!=typeof l&&(l=Object.keys(l).join(" ")),l||"")):El(n,function(n){var e="";if(n)for(var t=Object.keys(n),l=0;l<t.length;l++){var o=t[l];e=El(e,o+":"+n[o],";")}return e}(e),";")),o}(Dl(n),o,i)),e[l]=o)}function Ed(){var n=Ht(),e=dt(),t=Qe(n,e),l=function(n,e){return 3===n.type?e[se]:null}(t,e),o=Ye(t,e),i=Id(),r=$t();(function(n,e,t,l,o,i,r){var a=t?wl(t):!!l&&wl(l),u=yl(t,i),s=yl(l,i);Gi.length&&(u||s)&&Xi();var d=ze(o,a),c=Ji(n,o,e,t,u,d.classesBitMask,lr,null),p=Ji(n,o,e,l,s,d.stylesBitMask,tr,r);c&&p?(Ge(),a&&function(n){Ve.delete(n)}(o)):a&&function(n,e){Ve.set(n,e)}(o,d)})(l,e,Fd(t),Dd(t),o,i,r),Yt(null)}function Td(n,e,t){for(var l=!1,o=Rl(n.styles),i=Rl(n.classes),r=-1,a=t;a<e.length;a++){var u=e[a];"number"==typeof u?r=u:1==r?(fr(i=i||[""],u,!0),l=!0):2==r&&(fr(o=o||[""],u,e[++a]),l=!0)}return i&&i.length>1&&(n.classes||(n.classes=i),Rd(n.classes,hr(i,!0))),o&&o.length>1&&(n.styles||(n.styles=o),Rd(n.styles,hr(o,!1))),l}function Rd(n,e){Rl(n)[0]=e}function Id(){return mt+vt}function Dd(n){return Od(n,!1)}function Fd(n){return Od(n,!0)}function Od(n,e){var t=e?n.classes:n.styles;return Il(t)||(t=[t||[""],0,sl,1,0,ul],e?n.classes=t:n.styles=t),t}function Md(){return gt>0}function Nd(n,e,t,l){var o=dt(),i=o[Qn],r=o[n+ve]=wr(e),a=o[se],u=xr(i,o[le],n,3,e,t||null);if(null!=t){var s=jl(r,t);i.firstTemplatePass&&Td(u,t,s)}if(ha(a,r,u),Da(r,u,o),0===We&&Ei(r,o),We++,i.firstTemplatePass){jr(i,o,u,l||null);var d=aa(u);d&&d.hasOwnProperty("class")&&(u.flags|=8),d&&d.hasOwnProperty("style")&&(u.flags|=16),null!==i.queries&&i.queries.elementStart(i,u)}Fr(i,o,u),Dr(i,u,o)}function Ad(){var n=wt();kt()?Et():St(n=n.parent,!1);var e=n,t=dt(),l=t[Qn];Ae(l,n),We--,l.firstTemplatePass&&null!==l.queries&&ke(n)&&l.queries.elementEnd(n),Fl(e)&&e.classes&&Ld(e.classes,t,e.inputs.class),Ol(e)&&e.styles&&Ld(e.styles,t,e.inputs.style)}function Pd(n,e,t,l){Nd(n,e,t,l),Ad()}function qd(n){var e=Ht(),t=dt(),l=t[Qn],o=Qe(e,t);if(3===o.type){var i=Ye(o,t),r=jl(i,n);l.firstTemplatePass&&Td(o,n,r)&&ha(t[se],i,o)}}function Ld(n,e,t){pa(e,t,Dl(n)||null)}function jd(n,e,t){var l=dt(),o=l[Qn],i=l[n+ve]=l[se].createComment(""),r=xr(o,l[le],n,4,"ng-container",e||null);e&&o.firstTemplatePass&&Td(r,e,0),Da(i,r,l),o.firstTemplatePass&&(jr(o,l,r,t||null),o.queries&&o.queries.elementStart(o,r)),Fr(o,l,r),Ei(i,l),Dr(o,r,l)}function Vd(){var n=wt(),e=dt()[Qn];kt()?Et():St(n=n.parent,!1),Ae(e,n),e.firstTemplatePass&&null!==e.queries&&ke(n)&&e.queries.elementEnd(n)}function Bd(n,e,t){jd(n,e,t),Vd()}function Hd(n,e,t){var l=dt(),o=wt(),i=2===o.type?o.parent:o,r=l[i.index],a=function(n,e,t){for(var l=e+we;l<n.length;l++){var o=n[l][Qn].id;if(o===t)return n[l];if(!(o<t))break;Sa(n,l-we)}return null}(r,r[be],n);if(a)pt=!0,Lt(a,a[Qn].node);else{a=Sr(l,function(n,e,t,l){var o=dt()[Qn],i=l.tViews;return(n>=i.length||null==i[n])&&(i[n]=Mr(n,null,e,t,o.directiveRegistry,o.pipeRegistry,null,null)),i[n]}(n,e,t,i),null,16,null,null);var u=kt()?o:o&&o.parent;kr(a[Qn],u,n,a),Lt(a,a[Qn].node)}return r&&(Tt(a)&&ya(a,r,r[be]),r[be]++),Tt(a)?3:2}function Ud(){var n=dt(),e=n[le];Tt(n)&&(yr(n),n[Jn]&=-5),lt(n),yr(n),Vt(n[ne][ne],!0),St(e,!1)}function zd(){return dt()}function Gd(n){return!!n&&"function"==typeof n.then}function Wd(n){return!!n&&"function"==typeof n.subscribe}function Zd(n,e,t,l){void 0===t&&(t=!1),Xd(n,e,t,l)}function Kd(n,e,t,l){void 0===t&&(t=!1),Xd(n,e,t,l,da)}function Xd(n,e,t,l,o){void 0===t&&(t=!1);var i=dt(),r=wt(),a=i[Qn],u=a.firstTemplatePass&&(a.cleanup||(a.cleanup=[])),s=!0;if(3===r.type){var d=Ye(r,i),c=l?l(d):En,p=c.target||d,f=o?o(r,i):i[se],h=(C=ua(i)).length,m=l?function(n){return l(Ke(n[r.index])).target}:r.index;if(ql(f)){var v=null;if(!l&&function(n){return n.directiveEnd>n.directiveStart}(r)&&(v=function(n,e,t){var l=n[Qn].cleanup;if(null!=l)for(var o=0;o<l.length-1;o+=2){var i=l[o];if(i===e&&l[o+1]===t){var r=n[ie],a=l[o+2];return r.length>a?r[a]:null}"string"==typeof i&&(o+=2)}return null}(i,n,r.index)),null!==v)e.__ngNextListenerFn__=v.__ngNextListenerFn__,v.__ngNextListenerFn__=e,s=!1;else{e=$d(r,i,e,!1);var g=f.listen(c.name||p,n,e);C.push(e,g),u&&u.push(n,m,h,h+1)}}else e=$d(r,i,e,!0),p.addEventListener(n,e,t),C.push(e),u&&u.push(n,m,h,t)}void 0===r.outputs&&(r.outputs=Pr(r,1));var b,_=r.outputs;if(s&&_&&(b=_[n])){var y=b.length;if(y)for(var C=ua(i),w=0;w<y;w+=3){var S=i[b[w]][b[w+2]].subscribe(e),x=C.length;C.push(e,S),u&&u.push(n,r.index,x,-(x+1))}}}function Yd(n,e,t){try{return!1!==e(t)}catch(l){return ca(n,l),!1}}function $d(n,e,t,l){return function o(i){var r=1&n.flags?nt(n.index,e):e;0==(32&e[Jn])&&Jr(r);for(var a=Yd(e,t,i),u=o.__ngNextListenerFn__;u;)a=Yd(e,u,i)&&a,u=u.__ngNextListenerFn__;return l&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function Qd(n){return void 0===n&&(n=1),jt(n)}function Jd(n,e){for(var t=null,l=function(n){var e=n.attrs;if(null!=e){var t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n),o=0;o<e.length;o++){var i=e[o];if("*"!==i){if(null===l?ji(n,i,!0):Vi(l,i))return o}else t=o}return t}function nc(n){var e=Kl(dt())[le];if(!e.projection)for(var t=e.projection=new Array(n?n.length:1).fill(null),l=t.slice(),o=e.child;null!==o;){var i=n?Jd(o,n):0;null!==i&&(l[i]?l[i].projectionNext=o:t[i]=o,l[i]=o),o=o.next}}var ec=!1;function tc(n){ec=n}function lc(n,e,t){void 0===e&&(e=0);var l=dt(),o=xr(l[Qn],l[le],n,1,null,t||null);null===o.projection&&(o.projection=e),Et(),ec||Ma(l,o,e,Kl(l))}function oc(n,e,t){return ic(n,"",e,"",t),oc}function ic(n,e,t,l,o){var i=Ht(),r=Vs(dt(),e,t,l);return r!==ir&&Lr(i,n,r,o),ic}function rc(n,e,t,l,o,i,r){var a=Ht(),u=Bs(dt(),e,t,l,o,i);return u!==ir&&Lr(a,n,u,r),rc}function ac(n,e,t,l,o,i,r,a,u){var s=Ht(),d=Hs(dt(),e,t,l,o,i,r,a);return d!==ir&&Lr(s,n,d,u),ac}function uc(n,e,t,l,o,i,r,a,u,s,d){var c=Ht(),p=Us(dt(),e,t,l,o,i,r,a,u,s);return p!==ir&&Lr(c,n,p,d),uc}function sc(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=Ht(),h=zs(dt(),e,t,l,o,i,r,a,u,s,d,c);return h!==ir&&Lr(f,n,h,p),sc}function dc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h){var m=Ht(),v=Gs(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f);return v!==ir&&Lr(m,n,v,h),dc}function cc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v){var g=Ht(),b=Ws(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f,h,m);return b!==ir&&Lr(g,n,b,v),cc}function pc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g,b){var _=Ht(),y=Zs(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g);return y!==ir&&Lr(_,n,y,b),pc}function fc(n,e,t){var l=Ht(),o=js(dt(),e);return o!==ir&&Lr(l,n,o,t),fc}function hc(n,e){var t=dt(),l=t[n+ve]=ba(e,t[se]),o=xr(t[Qn],t[le],n,3,null,null);Et(),Da(l,o,t)}function mc(n){var e=dt(),t=Ht(),l=qs(e,n);l!==ir&&fa(e,t,Jt(l))}function vc(n){return gc("",n,""),vc}function gc(n,e,t){var l=Ht(),o=dt(),i=Vs(o,n,e,t);return i!==ir&&fa(o,l,i),gc}function bc(n,e,t,l,o){var i=Ht(),r=dt(),a=Bs(r,n,e,t,l,o);return a!==ir&&fa(r,i,a),bc}function _c(n,e,t,l,o,i,r){var a=Ht(),u=dt(),s=Hs(u,n,e,t,l,o,i,r);return s!==ir&&fa(u,a,s),_c}function yc(n,e,t,l,o,i,r,a,u){var s=Ht(),d=dt(),c=Us(d,n,e,t,l,o,i,r,a,u);return c!==ir&&fa(d,s,c),yc}function Cc(n,e,t,l,o,i,r,a,u,s,d){var c=Ht(),p=dt(),f=zs(p,n,e,t,l,o,i,r,a,u,s,d);return f!==ir&&fa(p,c,f),Cc}function wc(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=Ht(),h=dt(),m=Gs(h,n,e,t,l,o,i,r,a,u,s,d,c,p);return m!==ir&&fa(h,f,m),wc}function Sc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h){var m=Ht(),v=dt(),g=Ws(v,n,e,t,l,o,i,r,a,u,s,d,c,p,f,h);return g!==ir&&fa(v,m,g),Sc}function xc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v){var g=Ht(),b=dt(),_=Zs(b,n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v);return _!==ir&&fa(b,g,_),xc}function kc(n){var e=Ht(),t=dt(),l=js(t,n);return l!==ir&&fa(t,e,l),kc}function Ec(n,e,t){var l=Vs(dt(),n,e,t);Sd(Ht(),l)}function Tc(n,e,t,l,o){var i=Bs(dt(),n,e,t,l,o);Sd(Ht(),i)}function Rc(n,e,t,l,o,i,r){var a=Hs(dt(),n,e,t,l,o,i,r);Sd(Ht(),a)}function Ic(n,e,t,l,o,i,r,a,u){var s=Us(dt(),n,e,t,l,o,i,r,a,u);Sd(Ht(),s)}function Dc(n,e,t,l,o,i,r,a,u,s,d){var c=zs(dt(),n,e,t,l,o,i,r,a,u,s,d);Sd(Ht(),c)}function Fc(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=Gs(dt(),n,e,t,l,o,i,r,a,u,s,d,c,p);Sd(Ht(),f)}function Oc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h){var m=Ws(dt(),n,e,t,l,o,i,r,a,u,s,d,c,p,f,h);Sd(Ht(),m)}function Mc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v){var g=Zs(dt(),n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v);Sd(Ht(),g)}function Nc(n){var e=js(dt(),n);Sd(Ht(),e)}function Ac(n,e,t,l,o){var i=Vs(dt(),e,t,l);return bd(Ht(),n,i,o),Ac}function Pc(n,e,t,l,o,i,r){var a=Bs(dt(),e,t,l,o,i);return bd(Ht(),n,a,r),Pc}function qc(n,e,t,l,o,i,r,a,u){var s=Hs(dt(),e,t,l,o,i,r,a);return bd(Ht(),n,s,u),qc}function Lc(n,e,t,l,o,i,r,a,u,s,d){var c=Us(dt(),e,t,l,o,i,r,a,u,s);return bd(Ht(),n,c,d),Lc}function jc(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=zs(dt(),e,t,l,o,i,r,a,u,s,d,c);return bd(Ht(),n,f,p),jc}function Vc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h){var m=Gs(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f);return bd(Ht(),n,m,h),Vc}function Bc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v){var g=Ws(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f,h,m);return bd(Ht(),n,g,v),Bc}function Hc(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g,b){var _=Zs(dt(),e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g);return bd(Ht(),n,_,b),Hc}function Uc(n,e,t){var l=js(dt(),e);return bd(Ht(),n,l,t),Uc}function zc(n,e,t){var l=Ht(),o=qs(dt(),e);return o!==ir&&Lr(l,n,o,t,!0),zc}function Gc(n,e,t){var l=Ht(),o=qs(dt(),e);return o!==ir&&Lr(l,n,o,t,!0,da),Gc}function Wc(n){var e=np(n);return void 0===e.component&&(e.component=function(n,e){var t=e[Qn].data[n];return 1&t.flags?e[t.directiveStart]:null}(e.nodeIndex,e.lView)),e.component}function Zc(n){return np(n).lView[re]}function Kc(n){for(var e,t=Qc(n).lView;null===t[$n]&&(e=Zl(t));)t=e;return 512&t[Jn]?null:t[re]}function Xc(n){return Object(l.f)(Xl(n).components)}function Yc(n){var e=Qc(n);return new ho(e.lView[Qn].data[e.nodeIndex],e.lView)}function $c(n){var e=Qc(n);return void 0===e.directives&&(e.directives=Di(e.nodeIndex,e.lView,!1)),e.directives||[]}function Qc(n,e){void 0===e&&(e=!0);var t=Si(n);if(!t&&e)throw new Error("Invalid ng target");return t}function Jc(n){return Si(n).native}function np(n){if(!(n instanceof Node))throw new Error("Expecting instance of DOM Node");return Qc(n)}function ep(n){return"boolean"==typeof n.useCapture}function tp(n){var e=np(n).lView,t=e[ie],l=e[Qn].cleanup,o=[];if(l&&t)for(var i=0;i<l.length;){var r=l[i++],a=l[i++];if("string"==typeof r){var u=r,s=Ke(e[a]),d=t[l[i++]],c=l[i++];n==s&&o.push({element:n,name:u,callback:d,useCapture:"boolean"==typeof c?c:!(c>=0)&&null})}}return o.sort(lp),o}function lp(n,e){return n.name==e.name?0:n.name<e.name?-1:1}var op="ng",ip=!1;function rp(){ip||(ip=!0,ap("getComponent",Wc),ap("getContext",Zc),ap("getListeners",tp),ap("getViewComponent",Kc),ap("getHostElement",Jc),ap("getInjector",Yc),ap("getRootComponents",Xc),ap("getDirectives",$c),ap("markDirty",od))}function ap(n,e){if(H){var t=H[op];t||(t=H[op]={}),t[n]=e}}function up(n,e){void 0===e&&(e={}),bt(null);var t=e.rendererFactory||Ll,l=e.sanitizer||null,o=Wn(n);o.type!=n&&(o.type=n);var i,r=Nr(t,e.host||o.selectors[0][0]),a=o.onPush?576:528,u=cp(e.scheduler,e.playerHandler),s=t.createRenderer(r,o),d=Sr(null,Mr(-1,null,1,0,null,null,null,null),u,a,null,null,t,s,void 0,e.injector||null),c=Lt(d,null),p=!1;try{t.begin&&t.begin();var f=sp(r,o,d,t,s,l);i=dp(f,o,d,u,e.hostFeatures||null),Qr(d,f),yr(d),d[Jn]&=-5,lt(d),yr(d),p=!0}finally{Vt(c,p),t.end&&t.end()}return i}function sp(n,e,t,l,o,i){pt=!1,ct=null,We=0,ot=!0,Yt(null),Ge(),Ve.clear();var r=t[Qn];t[0+ve]=n;var a=xr(r,null,0,3,null,null),u=Sr(t,Or(e),null,e.onPush?64:16,t[ve],a,l,o,i);return r.firstTemplatePass&&(oo(no(a,t),r,e.type),a.flags=1,Wr(a,t.length,1),zr(a)),t[ve]=u}function dp(n,e,t,l,o){var i=t[Qn],r=function(n,e,t){var l=wt();n.firstTemplatePass&&(t.providersResolver&&t.providersResolver(t),Br(n,l,1),Zr(n,e,t,t.factory));var o=co(n.data,e,e.length-1,l);return Ur(e,l,o),o}(i,t,e);l.components.push(r),n[re]=r,o&&o.forEach((function(n){return n(r,e)})),e.contentQueries&&e.contentQueries(1,r,t.length-1);var a=wt();return i.firstTemplatePass&&e.hostBindings&&(bt(a.index-ve),Vr(e,i.expandoInstructions,r,a,i.firstTemplatePass),bt(null)),r}function cp(n,e){return{components:[],scheduler:n||el,clean:ra,playerHandler:e||null,flags:0}}function pp(n,e){var t=tt(n)[Qn],l=t.data.length-1;Ne(l,e,t,-1,-1,-1),Ae(t,{directiveStart:l,directiveEnd:l+1})}function fp(n){return Xl(n).clean}var hp=function(){function n(n,e,t){this.previousValue=n,this.currentValue=e,this.firstChange=t}return n.prototype.isFirstChange=function(){return this.firstChange},n}();function mp(){return vp.ngInherit=!0,vp}function vp(n){n.type.prototype.ngOnChanges&&(n.setInput=gp,n.onChanges=function(){var n=_p(this),e=n&&n.current;if(e){var t=n.previous;if(t===En)n.previous=e;else for(var l in e)t[l]=e[l];n.current=null,this.ngOnChanges(e)}})}function gp(n,e,t,l){var o=_p(n)||function(n,e){return n[bp]=e}(n,{previous:En,current:null}),i=o.current||(o.current={}),r=o.previous,a=this.declaredInputs[t],u=r[a];i[a]=new hp(u&&u.currentValue,e,r===En),n[l]=e}var bp="__ngSimpleChanges__";function _p(n){return n[bp]||null}function yp(n){for(var e,t,o=Object.getPrototypeOf(n.type.prototype).constructor;o;){var i=void 0;if(Te(n))i=o.ngComponentDef||o.ngDirectiveDef;else{if(o.ngComponentDef)throw new Error("Directives cannot inherit Components");i=o.ngDirectiveDef}var r=o.ngBaseDef;if(r||i){var a=n;a.inputs=Cp(n.inputs),a.declaredInputs=Cp(n.declaredInputs),a.outputs=Cp(n.outputs)}if(r){var u=r.viewQuery,s=r.contentQueries,d=r.hostBindings;d&&xp(n,d),u&&wp(n,u),s&&Sp(n,s),E(n.inputs,r.inputs),E(n.declaredInputs,r.declaredInputs),E(n.outputs,r.outputs)}if(i){var c=i.hostBindings;c&&xp(n,c);var p=i.viewQuery,f=i.contentQueries;p&&wp(n,p),f&&Sp(n,f),E(n.inputs,i.inputs),E(n.declaredInputs,i.declaredInputs),E(n.outputs,i.outputs),n.afterContentChecked=n.afterContentChecked||i.afterContentChecked,n.afterContentInit=n.afterContentInit||i.afterContentInit,n.afterViewChecked=n.afterViewChecked||i.afterViewChecked,n.afterViewInit=n.afterViewInit||i.afterViewInit,n.doCheck=n.doCheck||i.doCheck,n.onDestroy=n.onDestroy||i.onDestroy,n.onInit=n.onInit||i.onInit;var h=i.features;if(h)try{for(var m=(e=void 0,Object(l.g)(h)),v=m.next();!v.done;v=m.next()){var g=v.value;g&&g.ngInherit&&g(n)}}catch(_){e={error:_}}finally{try{v&&!v.done&&(t=m.return)&&t.call(m)}finally{if(e)throw e.error}}}else{var b=o.prototype;b&&(n.afterContentChecked=n.afterContentChecked||b.ngAfterContentChecked,n.afterContentInit=n.afterContentInit||b.ngAfterContentInit,n.afterViewChecked=n.afterViewChecked||b.ngAfterViewChecked,n.afterViewInit=n.afterViewInit||b.ngAfterViewInit,n.doCheck=n.doCheck||b.ngDoCheck,n.onDestroy=n.onDestroy||b.ngOnDestroy,n.onInit=n.onInit||b.ngOnInit,b.ngOnChanges&&mp()(n))}o=Object.getPrototypeOf(o)}}function Cp(n){return n===En?{}:n===Tn?[]:n}function wp(n,e){var t=n.viewQuery;n.viewQuery=t?function(n,l){e(n,l),t(n,l)}:e}function Sp(n,e){var t=n.contentQueries;n.contentQueries=t?function(n,l,o){e(n,l,o),t(n,l,o)}:e}function xp(n,e){var t=n.hostBindings;e!==t&&(n.hostBindings=t?function(n,l,o){yt(1);try{e(n,l,o)}finally{yt(-1)}t(n,l,o)}:e)}function kp(n,e,t,l,o){if(n=q(n),Array.isArray(n))for(var i=0;i<n.length;i++)kp(n[i],e,t,l,o);else{var r=dt(),a=r[Qn],u=Mu(n)?n:q(n.provide),s=Du(n),d=wt(),c=65535&d.providerIndexes,p=d.directiveStart,f=d.providerIndexes>>16;if(n.useClass||Mu(n)){var h=(n.useClass||n).prototype.ngOnDestroy;h&&(a.destroyHooks||(a.destroyHooks=[])).push(e.length,h)}if(Mu(n)||!n.multi){var m=new Me(s,o,fd),v=Tp(u,e,o?c:c+f,p);-1==v?(oo(no(d,r),a,u),e.push(u),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=65536),t.push(m),r.push(m)):(t[v]=m,r[v]=m)}else{var g=Tp(u,e,c+f,p),b=Tp(u,e,c,c+f),_=b>=0&&t[b];o&&!_||!o&&!(g>=0&&t[g])?(oo(no(d,r),a,u),m=function(n,e,t,l,o){var i=new Me(n,t,fd);return i.multi=[],i.index=e,i.componentProviders=0,Ep(i,o,l&&!t),i}(o?Ip:Rp,t.length,o,l,s),!o&&_&&(t[b].providerFactory=m),e.push(u),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=65536),t.push(m),r.push(m)):Ep(t[o?b:g],s,!o&&l),!o&&l&&_&&t[b].componentProviders++}}}function Ep(n,e,t){n.multi.push(e),t&&n.componentProviders++}function Tp(n,e,t,l){for(var o=t;o<l;o++)if(e[o]===n)return o;return-1}function Rp(n,e,t,l){return Dp(this.multi,[])}function Ip(n,e,t,l){var o,i=this.multi;if(this.providerFactory){var r=this.providerFactory.componentProviders,a=co(e,t,this.providerFactory.index,l);Dp(i,o=a.slice(0,r));for(var u=r;u<a.length;u++)o.push(a[u])}else Dp(i,o=[]);return o}function Dp(n,e){for(var t=0;t<n.length;t++)e.push((0,n[t])());return e}function Fp(n,e){return void 0===e&&(e=[]),function(t){t.providersResolver=function(t,l){return function(n,e,t){var l=dt()[Qn];if(l.firstTemplatePass){var o=Te(n);kp(t,l.data,l.blueprint,o,!0),kp(e,l.data,l.blueprint,o,!1)}}(t,l?l(n):n,e)}}}var Op=function(){return function(){}}(),Mp=function(){return function(){}}();function Np(n){var e=Error("No component factory found for "+N(n)+". Did you add it to @NgModule.entryComponents?");return e[Ap]=n,e}var Ap="ngComponent",Pp=function(){function n(){}return n.prototype.resolveComponentFactory=function(n){throw Np(n)},n}(),qp=function(){function n(){}return n.NULL=new Pp,n}(),Lp=function(){function n(n,e,t){this._parent=e,this._ngModule=t,this._factories=new Map;for(var l=0;l<n.length;l++){var o=n[l];this._factories.set(o.componentType,o)}}return n.prototype.resolveComponentFactory=function(n){var e=this._factories.get(n);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(n)),!e)throw Np(n);return new jp(e,this._ngModule)},n}(),jp=function(n){function e(e,t){var l=n.call(this)||this;return l.factory=e,l.ngModule=t,l.selector=e.selector,l.componentType=e.componentType,l.ngContentSelectors=e.ngContentSelectors,l.inputs=e.inputs,l.outputs=e.outputs,l}return Object(l.c)(e,n),e.prototype.create=function(n,e,t,l){return this.factory.create(n,e,t,l||this.ngModule)},e}(Mp);function Vp(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]}var Bp=function(){function n(n){this.nativeElement=n}return n.__NG_ELEMENT_ID__=function(){return Up(n)},n}(),Hp=function(n){return Ua(n,wt(),dt())},Up=Vp,zp=function(){return function(n,e,t,l,o,i){this.id=n,this.templateUrl=e,this.slotCount=t,this.encapsulation=l,this.styles=o,this.animations=i}}(),Gp=function(){return function(){}}(),Wp=function(){return function(){}}(),Zp=function(){return function(){}}(),Kp=function(){return function(){}}(),Xp=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({}),Yp=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Qp()},n}(),$p=function(){var n=dt(),e=nt(wt().index,n);return function(n){var e=n[se];if(ql(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Se(e)?e:n)},Qp=Vp,Jp=function(){return function(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}(),nf=new Jp("8.2.14"),ef=function(){function n(){}return n.prototype.supports=function(n){return Rs(n)},n.prototype.create=function(n){return new lf(n)},n}(),tf=function(n,e){return e},lf=function(){function n(n){this.length=0,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=n||tf}return n.prototype.forEachItem=function(n){var e;for(e=this._itHead;null!==e;e=e._next)n(e)},n.prototype.forEachOperation=function(n){for(var e=this._itHead,t=this._removalsHead,l=0,o=null;e||t;){var i=!t||e&&e.currentIndex<uf(t,l,o)?e:t,r=uf(i,l,o),a=i.currentIndex;if(i===t)l--,t=t._nextRemoved;else if(e=e._next,null==i.previousIndex)l++;else{o||(o=[]);var u=r-l,s=a-l;if(u!=s){for(var d=0;d<u;d++){var c=d<o.length?o[d]:o[d]=0,p=c+d;s<=p&&p<u&&(o[d]=c+1)}o[i.previousIndex]=s-u}}r!==a&&n(i,r,a)}},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachMovedItem=function(n){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.forEachIdentityChange=function(n){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)},n.prototype.diff=function(n){if(null==n&&(n=[]),!Rs(n))throw new Error("Error trying to diff '"+N(n)+"'. Only arrays and iterables are allowed");return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t,l,o,i=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,l=n[a]),null!==i&&ks(i.trackById,o)?(r&&(i=this._verifyReinsertion(i,l,o,a)),ks(i.item,l)||this._addIdentityChange(i,l)):(i=this._mismatch(i,l,o,a),r=!0),i=i._next}else t=0,function(n,e){if(Array.isArray(n))for(var t=0;t<n.length;t++)e(n[t]);else for(var l=n[xs()](),o=void 0;!(o=l.next()).done;)e(o.value)}(n,(function(n){o=e._trackByFn(t,n),null!==i&&ks(i.trackById,o)?(r&&(i=e._verifyReinsertion(i,n,o,t)),ks(i.item,n)||e._addIdentityChange(i,n)):(i=e._mismatch(i,n,o,t),r=!0),i=i._next,t++})),this.length=t;return this._truncate(i),this.collection=n,this.isDirty},Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),n.prototype._reset=function(){if(this.isDirty){var n=void 0,e=void 0;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=e)n.previousIndex=n.currentIndex,e=n._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},n.prototype._mismatch=function(n,e,t,l){var o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(t,l))?(ks(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,l)):null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(ks(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,l)):n=this._addAfter(new of(e,t),o,l),n},n.prototype._verifyReinsertion=function(n,e,t,l){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null);return null!==o?n=this._reinsertAfter(o,n._prev,l):n.currentIndex!=l&&(n.currentIndex=l,this._addToMoves(n,l)),n},n.prototype._truncate=function(n){for(;null!==n;){var e=n._next;this._addToRemovals(this._unlink(n)),n=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)},n.prototype._reinsertAfter=function(n,e,t){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);var l=n._prevRemoved,o=n._nextRemoved;return null===l?this._removalsHead=o:l._nextRemoved=o,null===o?this._removalsTail=l:o._prevRemoved=l,this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._moveAfter=function(n,e,t){return this._unlink(n),this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._addAfter=function(n,e,t){return this._insertAfter(n,e,t),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n},n.prototype._insertAfter=function(n,e,t){var l=null===e?this._itHead:e._next;return n._next=l,n._prev=e,null===l?this._itTail=n:l._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new af),this._linkedRecords.put(n),n.currentIndex=t,n},n.prototype._remove=function(n){return this._addToRemovals(this._unlink(n))},n.prototype._unlink=function(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);var e=n._prev,t=n._next;return null===e?this._itHead=t:e._next=t,null===t?this._itTail=e:t._prev=e,n},n.prototype._addToMoves=function(n,e){return n.previousIndex===e?n:(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n,n)},n.prototype._addToRemovals=function(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new af),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n},n.prototype._addIdentityChange=function(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n},n}(),of=function(){return function(n,e){this.item=n,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}}(),rf=function(){function n(){this._head=null,this._tail=null}return n.prototype.add=function(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)},n.prototype.get=function(n,e){var t;for(t=this._head;null!==t;t=t._nextDup)if((null===e||e<=t.currentIndex)&&ks(t.trackById,n))return t;return null},n.prototype.remove=function(n){var e=n._prevDup,t=n._nextDup;return null===e?this._head=t:e._nextDup=t,null===t?this._tail=e:t._prevDup=e,null===this._head},n}(),af=function(){function n(){this.map=new Map}return n.prototype.put=function(n){var e=n.trackById,t=this.map.get(e);t||(t=new rf,this.map.set(e,t)),t.add(n)},n.prototype.get=function(n,e){var t=this.map.get(n);return t?t.get(n,e):null},n.prototype.remove=function(n){var e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n},Object.defineProperty(n.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.map.clear()},n}();function uf(n,e,t){var l=n.previousIndex;if(null===l)return l;var o=0;return t&&l<t.length&&(o=t[l]),l+e+o}var sf=function(){function n(){}return n.prototype.supports=function(n){return n instanceof Map||Is(n)},n.prototype.create=function(){return new df},n}(),df=function(){function n(){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(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),n.prototype.forEachItem=function(n){var e;for(e=this._mapHead;null!==e;e=e._next)n(e)},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachChangedItem=function(n){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.diff=function(n){if(n){if(!(n instanceof Map||Is(n)))throw new Error("Error trying to diff '"+N(n)+"'. Only maps and objects are allowed")}else n=new Map;return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(function(n,l){if(t&&t.key===l)e._maybeAddToChanges(t,n),e._appendAfter=t,t=t._next;else{var o=e._getOrCreateRecordForKey(l,n);t=e._insertBeforeOrAppend(t,o)}})),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(var l=t;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},n.prototype._insertBeforeOrAppend=function(n,e){if(n){var t=n._prev;return e._next=n,e._prev=t,n._prev=e,t&&(t._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},n.prototype._getOrCreateRecordForKey=function(n,e){if(this._records.has(n)){var t=this._records.get(n);this._maybeAddToChanges(t,e);var l=t._prev,o=t._next;return l&&(l._next=o),o&&(o._prev=l),t._next=null,t._prev=null,t}var i=new cf(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i},n.prototype._reset=function(){if(this.isDirty){var n=void 0;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},n.prototype._maybeAddToChanges=function(n,e){ks(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))},n.prototype._addToAdditions=function(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)},n.prototype._addToChanges=function(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)},n.prototype._forEach=function(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach((function(t){return e(n[t],t)}))},n}(),cf=function(){return function(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),pf=function(){function n(n){this.factories=n}return n.create=function(e,t){if(null!=t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return n.create(e,t)},deps:[[n,new y,new b]]}},n.prototype.find=function(n){var e,t=this.factories.find((function(e){return e.supports(n)}));if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'")},n.ngInjectableDef=T({token:n,providedIn:"root",factory:function(){return new n([new ef])}}),n}(),ff=function(){function n(n){this.factories=n}return n.create=function(e,t){if(t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return n.create(e,t)},deps:[[n,new y,new b]]}},n.prototype.find=function(n){var e=this.factories.find((function(e){return e.supports(n)}));if(e)return e;throw new Error("Cannot find a differ supporting object '"+n+"'")},n.ngInjectableDef=T({token:n,providedIn:"root",factory:function(){return new n([new sf])}}),n}(),hf=[new sf],mf=new pf([new ef]),vf=new ff(hf),gf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return _f(n,Bp)},n}(),bf=function(n,e){return za(n,e,wt(),dt())},_f=Vp,yf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return wf(n,Bp)},n}(),Cf=function(n,e){return Ga(n,e,wt(),dt())},wf=Vp;function Sf(n,e,t,l){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+t+"'.";return l&&(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 ?"),function(n,e){var t=new Error(n);return xf(t,e),t}(o,n)}function xf(n,e){n[go]=e,n[_o]=e.logError.bind(e)}function kf(n){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+n)}function Ef(n,e,t){var l=n.state,o=1792&l;return o===e?(n.state=-1793&l|t,n.initIndex=-1,!0):o===t}function Tf(n,e,t){return(1792&n.state)===e&&n.initIndex<=t&&(n.initIndex=t+1,!0)}function Rf(n,e){return n.nodes[e]}function If(n,e){return n.nodes[e]}function Df(n,e){return n.nodes[e]}function Ff(n,e){return n.nodes[e]}function Of(n,e){return n.nodes[e]}var Mf=function(){return function(){}}(),Nf={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides: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},Af=function(){},Pf=new Map;function qf(n){var e=Pf.get(n);return e||(e=N(n)+"_"+Pf.size,Pf.set(n,e)),e}function Lf(n,e,t,l){if(Ts.isWrapped(l)){l=Ts.unwrap(l);var o=n.def.nodes[e].bindingIndex+t,i=Ts.unwrap(n.oldValues[o]);n.oldValues[o]=new Ts(i)}return l}var jf="$$undefined",Vf="$$empty";function Bf(n){return{id:jf,styles:n.styles,encapsulation:n.encapsulation,data:n.data}}var Hf=0;function Uf(n,e,t,l){return!(!(2&n.state)&&ks(n.oldValues[e.bindingIndex+t],l))}function zf(n,e,t,l){return!!Uf(n,e,t,l)&&(n.oldValues[e.bindingIndex+t]=l,!0)}function Gf(n,e,t,l){var o=n.oldValues[e.bindingIndex+t];if(1&n.state||!Es(o,l)){var i=e.bindings[t].name;throw Sf(Nf.createDebugContext(n,e.nodeIndex),i+": "+o,i+": "+l,0!=(1&n.state))}}function Wf(n){for(var e=n;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Zf(n,e){for(var t=n;t&&t!==e;)t.state|=64,t=t.viewContainerParent||t.parent}function Kf(n,e,t,l){try{return Wf(33554432&n.def.nodes[e].flags?If(n,e).componentView:n),Nf.handleEvent(n,e,t,l)}catch(o){n.root.errorHandler.handleError(o)}}function Xf(n){return n.parent?If(n.parent,n.parentNodeDef.nodeIndex):null}function Yf(n){return n.parent?n.parentNodeDef.parent:null}function $f(n,e){switch(201347067&e.flags){case 1:return If(n,e.nodeIndex).renderElement;case 2:return Rf(n,e.nodeIndex).renderText}}function Qf(n){return!!n.parent&&!!(32768&n.parentNodeDef.flags)}function Jf(n){return!(!n.parent||32768&n.parentNodeDef.flags)}function nh(n){return 1<<n%32}function eh(n){var e={},t=0,o={};return n&&n.forEach((function(n){var i=Object(l.e)(n,2),r=i[0],a=i[1];"number"==typeof r?(e[r]=a,t|=nh(r)):o[r]=a})),{matchedQueries:e,references:o,matchedQueryIds:t}}function th(n,e){return n.map((function(n){var t,o,i;return Array.isArray(n)?(i=(t=Object(l.e)(n,2))[0],o=t[1]):(i=0,o=n),o&&("function"==typeof o||"object"==typeof o)&&e&&Object.defineProperty(o,Q,{value:e,configurable:!0}),{flags:i,token:o,tokenKey:qf(o)}}))}function lh(n,e,t){var l=t.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===xn.Native?If(n,t.renderParent.nodeIndex).renderElement:void 0:e}var oh=new WeakMap;function ih(n){var e=oh.get(n);return e||((e=n((function(){return Af}))).factory=n,oh.set(n,e)),e}function rh(n,e,t,l,o){3===e&&(t=n.renderer.parentNode($f(n,n.def.lastRenderRootNode))),ah(n,e,0,n.def.nodes.length-1,t,l,o)}function ah(n,e,t,l,o,i,r){for(var a=t;a<=l;a++){var u=n.def.nodes[a];11&u.flags&&sh(n,u,e,o,i,r),a+=u.childCount}}function uh(n,e,t,l,o,i){for(var r=n;r&&!Qf(r);)r=r.parent;for(var a=r.parent,u=Yf(r),s=u.nodeIndex+u.childCount,d=u.nodeIndex+1;d<=s;d++){var c=a.def.nodes[d];c.ngContentIndex===e&&sh(a,c,t,l,o,i),d+=c.childCount}if(!a.parent){var p=n.root.projectableNodes[e];if(p)for(d=0;d<p.length;d++)dh(n,p[d],t,l,o,i)}}function sh(n,e,t,l,o,i){if(8&e.flags)uh(n,e.ngContent.index,t,l,o,i);else{var r=$f(n,e);if(3===t&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&dh(n,r,t,l,o,i),32&e.bindingFlags&&dh(If(n,e.nodeIndex).componentView,r,t,l,o,i)):dh(n,r,t,l,o,i),16777216&e.flags)for(var a=If(n,e.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)rh(a[u],t,l,o,i);1&e.flags&&!e.element.name&&ah(n,t,e.nodeIndex+1,e.nodeIndex+e.childCount,l,o,i)}}function dh(n,e,t,l,o,i){var r=n.renderer;switch(t){case 1:r.appendChild(l,e);break;case 2:r.insertBefore(l,e,o);break;case 3:r.removeChild(l,e);break;case 0:i.push(e)}}var ch=/^:([^:]+):(.+)$/;function ph(n){if(":"===n[0]){var e=n.match(ch);return[e[1],e[2]]}return["",n]}function fh(n){for(var e=0,t=0;t<n.length;t++)e|=n[t].flags;return e}function hh(n,e){for(var t="",l=0;l<2*n;l+=2)t=t+e[l]+vh(e[l+1]);return t+e[2*n]}function mh(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g,b,_){switch(n){case 1:return e+vh(t)+l;case 2:return e+vh(t)+l+vh(o)+i;case 3:return e+vh(t)+l+vh(o)+i+vh(r)+a;case 4:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s;case 5:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s+vh(d)+c;case 6:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s+vh(d)+c+vh(p)+f;case 7:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s+vh(d)+c+vh(p)+f+vh(h)+m;case 8:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s+vh(d)+c+vh(p)+f+vh(h)+m+vh(v)+g;case 9:return e+vh(t)+l+vh(o)+i+vh(r)+a+vh(u)+s+vh(d)+c+vh(p)+f+vh(h)+m+vh(v)+g+vh(b)+_;default:throw new Error("Does not support more than 9 expressions")}}function vh(n){return null!=n?n.toString():""}var gh=[],bh={},_h=new Object,yh=qf(Pu),Ch=qf(W),wh=qf(fn);function Sh(n,e,t,l){return t=q(t),{index:-1,deps:th(l,N(e)),flags:n,token:e,value:t}}function xh(n){for(var e={},t=[],l=!1,o=0;o<n.length;o++){var i=n[o];i.token===Cu&&!0===i.value&&(l=!0),1073741824&i.flags&&t.push(i.token),i.index=o,e[qf(i.token)]=i}return{factory:null,providersByKey:e,providers:n,modules:t,isRoot:l}}function kh(n,e,t){void 0===t&&(t=Pu.THROW_IF_NOT_FOUND);var l,o,i=en(n);try{if(8&e.flags)return e.token;if(2&e.flags&&(t=null),1&e.flags)return n._parent.get(e.token,t);var r=e.tokenKey;switch(r){case yh:case Ch:case wh:return n}var a,u=n._def.providersByKey[r];if(u){var s=n._providers[u.index];return void 0===s&&(s=n._providers[u.index]=Eh(n,u)),s===_h?void 0:s}if((a=D(e.token))&&(l=n,null!=(o=a).providedIn&&(function(n,e){return n._def.modules.indexOf(e)>-1}(l,o.providedIn)||"root"===o.providedIn&&l._def.isRoot))){var d=n._providers.length;return n._def.providers[d]=n._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:d,token:e.token},n._providers[d]=_h,n._providers[d]=Eh(n,n._def.providersByKey[e.tokenKey])}return 4&e.flags?t:n._parent.get(e.token,t)}finally{en(i)}}function Eh(n,e){var t;switch(201347067&e.flags){case 512:t=function(n,e,t){var o=t.length;switch(o){case 0:return new e;case 1:return new e(kh(n,t[0]));case 2:return new e(kh(n,t[0]),kh(n,t[1]));case 3:return new e(kh(n,t[0]),kh(n,t[1]),kh(n,t[2]));default:for(var i=new Array(o),r=0;r<o;r++)i[r]=kh(n,t[r]);return new(e.bind.apply(e,Object(l.f)([void 0],i)))}}(n,e.value,e.deps);break;case 1024:t=function(n,e,t){var o=t.length;switch(o){case 0:return e();case 1:return e(kh(n,t[0]));case 2:return e(kh(n,t[0]),kh(n,t[1]));case 3:return e(kh(n,t[0]),kh(n,t[1]),kh(n,t[2]));default:for(var i=Array(o),r=0;r<o;r++)i[r]=kh(n,t[r]);return e.apply(void 0,Object(l.f)(i))}}(n,e.value,e.deps);break;case 2048:t=kh(n,e.deps[0]);break;case 256:t=e.value}return t===_h||null===t||"object"!=typeof t||131072&e.flags||"function"!=typeof t.ngOnDestroy||(e.flags|=131072),void 0===t?_h:t}function Th(n,e){var t=n.viewContainer._embeddedViews;if((null==e||e>=t.length)&&(e=t.length-1),e<0)return null;var l=t[e];return l.viewContainerParent=null,_n(t,e),Nf.dirtyParentQueries(l),Ih(l),l}function Rh(n,e,t){var l=e?$f(e,e.def.lastRenderRootNode):n.renderElement,o=t.renderer.parentNode(l),i=t.renderer.nextSibling(l);rh(t,2,o,i,void 0)}function Ih(n){rh(n,3,null,null,void 0)}var Dh=new Object;function Fh(n,e,t,l,o,i){return new Mh(n,e,t,l,o,i)}function Oh(n){return n.viewDefFactory}var Mh=function(n){function e(e,t,l,o,i,r){var a=n.call(this)||this;return a.selector=e,a.componentType=t,a._inputs=o,a._outputs=i,a.ngContentSelectors=r,a.viewDefFactory=l,a}return Object(l.c)(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){var n=[],e=this._inputs;for(var t in e)n.push({propName:t,templateName:e[t]});return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var n=[];for(var e in this._outputs)n.push({propName:e,templateName:this._outputs[e]});return n},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){if(!l)throw new Error("ngModule should be provided");var o=ih(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,r=Nf.createRootView(n,e||[],t,o,l,Dh),a=Df(r,i).instance;return t&&r.renderer.setAttribute(If(r,0).renderElement,"ng-version",nf.full),new Nh(r,new Lh(r),a)},e}(Mp),Nh=function(n){function e(e,t,l){var o=n.call(this)||this;return o._view=e,o._viewRef=t,o._component=l,o._elDef=o._view.def.nodes[0],o.hostView=t,o.changeDetectorRef=t,o.instance=l,o}return Object(l.c)(e,n),Object.defineProperty(e.prototype,"location",{get:function(){return new Bp(If(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Hh(this._view,this._elDef)},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(n){this._viewRef.onDestroy(n)},e}(Op);function Ah(n,e,t){return new Ph(n,e,t)}var Ph=function(){function n(n,e,t){this._view=n,this._elDef=e,this._data=t,this._embeddedViews=[]}return Object.defineProperty(n.prototype,"element",{get:function(){return new Bp(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Hh(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){for(var n=this._view,e=this._elDef.parent;!e&&n;)e=Yf(n),n=n.parent;return n?new Hh(n,e):new Hh(this._view,null)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(var n=this._embeddedViews.length-1;n>=0;n--){var e=Th(this._data,n);Nf.destroyView(e)}},n.prototype.get=function(n){var e=this._embeddedViews[n];if(e){var t=new Lh(e);return t.attachToViewContainerRef(this),t}return null},Object.defineProperty(n.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(n,e,t){var l=n.createEmbeddedView(e||{});return this.insert(l,t),l},n.prototype.createComponent=function(n,e,t,l,o){var i=t||this.parentInjector;o||n instanceof jp||(o=i.get(fn));var r=n.create(i,l,void 0,o);return this.insert(r.hostView,e),r},n.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t,l,o,i,r=n;return i=(t=this._data).viewContainer._embeddedViews,null==(l=e)&&(l=i.length),(o=r._view).viewContainerParent=this._view,bn(i,l,o),function(n,e){var t=Xf(e);if(t&&t!==n&&!(16&e.state)){e.state|=16;var l=t.template._projectedViews;l||(l=t.template._projectedViews=[]),l.push(e),function(n,e){if(!(4&e.flags)){n.nodeFlags|=4,e.flags|=4;for(var t=e.parent;t;)t.childFlags|=4,t=t.parent}}(e.parent.def,e.parentNodeDef)}}(t,o),Nf.dirtyParentQueries(o),Rh(t,l>0?i[l-1]:null,o),r.attachToViewContainerRef(this),n},n.prototype.move=function(n,e){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t,l,o,i,r,a=this._embeddedViews.indexOf(n._view);return o=e,r=(i=(t=this._data).viewContainer._embeddedViews)[l=a],_n(i,l),null==o&&(o=i.length),bn(i,o,r),Nf.dirtyParentQueries(r),Ih(r),Rh(t,o>0?i[o-1]:null,r),n},n.prototype.indexOf=function(n){return this._embeddedViews.indexOf(n._view)},n.prototype.remove=function(n){var e=Th(this._data,n);e&&Nf.destroyView(e)},n.prototype.detach=function(n){var e=Th(this._data,n);return e?new Lh(e):null},n}();function qh(n){return new Lh(n)}var Lh=function(){function n(n){this._view=n,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return rh(this._view,0,void 0,void 0,n=[]),n;var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),n.prototype.markForCheck=function(){Wf(this._view)},n.prototype.detach=function(){this._view.state&=-5},n.prototype.detectChanges=function(){var n=this._view.root.rendererFactory;n.begin&&n.begin();try{Nf.checkAndUpdateView(this._view)}finally{n.end&&n.end()}},n.prototype.checkNoChanges=function(){Nf.checkNoChangesView(this._view)},n.prototype.reattach=function(){this._view.state|=4},n.prototype.onDestroy=function(n){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(n)},n.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Nf.destroyView(this._view)},n.prototype.detachFromAppRef=function(){this._appRef=null,Ih(this._view),Nf.dirtyParentQueries(this._view)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n}();function jh(n,e){return new Vh(n,e)}var Vh=function(n){function e(e,t){var l=n.call(this)||this;return l._parentView=e,l._def=t,l}return Object(l.c)(e,n),e.prototype.createEmbeddedView=function(n){return new Lh(Nf.createEmbeddedView(this._parentView,this._def,this._def.element.template,n))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Bp(If(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(gf);function Bh(n,e){return new Hh(n,e)}var Hh=function(){function n(n,e){this.view=n,this.elDef=e}return n.prototype.get=function(n,e){return void 0===e&&(e=Pu.THROW_IF_NOT_FOUND),Nf.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:n,tokenKey:qf(n)},e)},n}();function Uh(n,e){var t=n.def.nodes[e];if(1&t.flags){var l=If(n,t.nodeIndex);return t.element.template?l.template:l.renderElement}if(2&t.flags)return Rf(n,t.nodeIndex).renderText;if(20240&t.flags)return Df(n,t.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function zh(n){return new Gh(n.renderer)}var Gh=function(){function n(n){this.delegate=n}return n.prototype.selectRootElement=function(n){return this.delegate.selectRootElement(n)},n.prototype.createElement=function(n,e){var t=Object(l.e)(ph(e),2),o=this.delegate.createElement(t[1],t[0]);return n&&this.delegate.appendChild(n,o),o},n.prototype.createViewRoot=function(n){return n},n.prototype.createTemplateAnchor=function(n){var e=this.delegate.createComment("");return n&&this.delegate.appendChild(n,e),e},n.prototype.createText=function(n,e){var t=this.delegate.createText(e);return n&&this.delegate.appendChild(n,t),t},n.prototype.projectNodes=function(n,e){for(var t=0;t<e.length;t++)this.delegate.appendChild(n,e[t])},n.prototype.attachViewAfter=function(n,e){for(var t=this.delegate.parentNode(n),l=this.delegate.nextSibling(n),o=0;o<e.length;o++)this.delegate.insertBefore(t,e[o],l)},n.prototype.detachView=function(n){for(var e=0;e<n.length;e++){var t=n[e],l=this.delegate.parentNode(t);this.delegate.removeChild(l,t)}},n.prototype.destroyView=function(n,e){for(var t=0;t<e.length;t++)this.delegate.destroyNode(e[t])},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.listenGlobal=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.setElementProperty=function(n,e,t){this.delegate.setProperty(n,e,t)},n.prototype.setElementAttribute=function(n,e,t){var o=Object(l.e)(ph(e),2),i=o[0],r=o[1];null!=t?this.delegate.setAttribute(n,r,t,i):this.delegate.removeAttribute(n,r,i)},n.prototype.setBindingDebugInfo=function(n,e,t){},n.prototype.setElementClass=function(n,e,t){t?this.delegate.addClass(n,e):this.delegate.removeClass(n,e)},n.prototype.setElementStyle=function(n,e,t){null!=t?this.delegate.setStyle(n,e,t):this.delegate.removeStyle(n,e)},n.prototype.invokeElementMethod=function(n,e,t){n[e].apply(n,t)},n.prototype.setText=function(n,e){this.delegate.setValue(n,e)},n.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},n}();function Wh(n,e,t,l){return new Zh(n,e,t,l)}var Zh=function(){function n(n,e,t,l){this._moduleType=n,this._parent=e,this._bootstrapComponents=t,this._def=l,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(n){for(var e=n._def,t=n._providers=new Array(e.providers.length),l=0;l<e.providers.length;l++){var o=e.providers[l];4096&o.flags||void 0===t[l]&&(t[l]=Eh(n,o))}}(this)}return n.prototype.get=function(n,e,t){void 0===e&&(e=Pu.THROW_IF_NOT_FOUND),void 0===t&&(t=x.Default);var l=0;return t&x.SkipSelf?l|=1:t&x.Self&&(l|=4),kh(this,{token:n,tokenKey:qf(n),flags:l},e)},Object.defineProperty(n.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentFactoryResolver",{get:function(){return this.get(qp)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+N(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(n,e){for(var t=n._def,l=new Set,o=0;o<t.providers.length;o++)if(131072&t.providers[o].flags){var i=n._providers[o];if(i&&i!==_h){var r=i.ngOnDestroy;"function"!=typeof r||l.has(i)||(r.apply(i),l.add(i))}}}(this),this._destroyListeners.forEach((function(n){return n()}))},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},n}(),Kh=qf(Wp),Xh=qf(Yp),Yh=qf(Bp),$h=qf(yf),Qh=qf(gf),Jh=qf(Za),nm=qf(Pu),em=qf(W);function tm(n,e,t,o,i,r,a,u){var s=[];if(a)for(var d in a){var c=Object(l.e)(a[d],2);s[c[0]]={flags:8,name:d,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var f in u)p.push({type:1,propName:f,target:null,eventName:u[f]});return im(n,e|=16384,t,o,i,i,r,s,p)}function lm(n,e,t){return im(-1,n|=16,null,0,e,e,t)}function om(n,e,t,l,o){return im(-1,n,e,0,t,l,o)}function im(n,e,t,l,o,i,r,a,u){var s=eh(t),d=s.matchedQueries,c=s.references,p=s.matchedQueryIds;u||(u=[]),a||(a=[]),i=q(i);var f=th(r,N(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:c,ngContentIndex:-1,childCount:l,bindings:a,bindingFlags:fh(a),outputs:u,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}function rm(n,e){return dm(n,e)}function am(n,e){for(var t=n;t.parent&&!Qf(t);)t=t.parent;return cm(t.parent,Yf(t),!0,e.provider.value,e.provider.deps)}function um(n,e){var t=cm(n,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var l=0;l<e.outputs.length;l++){var o=e.outputs[l],i=t[o.propName];if(!Wd(i))throw new Error("@Output "+o.propName+" not initialized in '"+t.constructor.name+"'.");var r=i.subscribe(sm(n,e.parent.nodeIndex,o.eventName));n.disposables[e.outputIndex+l]=r.unsubscribe.bind(r)}return t}function sm(n,e,t){return function(l){return Kf(n,e,t,l)}}function dm(n,e){var t=(8192&e.flags)>0,o=e.provider;switch(201347067&e.flags){case 512:return cm(n,e.parent,t,o.value,o.deps);case 1024:return function(n,e,t,o,i){var r=i.length;switch(r){case 0:return o();case 1:return o(fm(n,e,t,i[0]));case 2:return o(fm(n,e,t,i[0]),fm(n,e,t,i[1]));case 3:return o(fm(n,e,t,i[0]),fm(n,e,t,i[1]),fm(n,e,t,i[2]));default:for(var a=Array(r),u=0;u<r;u++)a[u]=fm(n,e,t,i[u]);return o.apply(void 0,Object(l.f)(a))}}(n,e.parent,t,o.value,o.deps);case 2048:return fm(n,e.parent,t,o.deps[0]);case 256:return o.value}}function cm(n,e,t,o,i){var r=i.length;switch(r){case 0:return new o;case 1:return new o(fm(n,e,t,i[0]));case 2:return new o(fm(n,e,t,i[0]),fm(n,e,t,i[1]));case 3:return new o(fm(n,e,t,i[0]),fm(n,e,t,i[1]),fm(n,e,t,i[2]));default:for(var a=new Array(r),u=0;u<r;u++)a[u]=fm(n,e,t,i[u]);return new(o.bind.apply(o,Object(l.f)([void 0],a)))}}var pm={};function fm(n,e,t,l,o){if(void 0===o&&(o=Pu.THROW_IF_NOT_FOUND),8&l.flags)return l.token;var i=n;2&l.flags&&(o=null);var r=l.tokenKey;r===Jh&&(t=!(!e||!e.element.componentView)),e&&1&l.flags&&(t=!1,e=e.parent);for(var a=n;a;){if(e)switch(r){case Kh:return zh(hm(a,e,t));case Xh:return hm(a,e,t).renderer;case Yh:return new Bp(If(a,e.nodeIndex).renderElement);case $h:return If(a,e.nodeIndex).viewContainer;case Qh:if(e.element.template)return If(a,e.nodeIndex).template;break;case Jh:return qh(hm(a,e,t));case nm:case em:return Bh(a,e);default:var u=(t?e.element.allProviders:e.element.publicProviders)[r];if(u){var s=Df(a,u.nodeIndex);return s||(s={instance:dm(a,u)},a.nodes[u.nodeIndex]=s),s.instance}}t=Qf(a),e=Yf(a),a=a.parent,4&l.flags&&(a=null)}var d=i.root.injector.get(l.token,pm);return d!==pm||o===pm?d:i.root.ngModule.injector.get(l.token,o)}function hm(n,e,t){var l;if(t)l=If(n,e.nodeIndex).componentView;else for(l=n;l.parent&&!Qf(l);)l=l.parent;return l}function mm(n,e,t,l,o,i){if(32768&t.flags){var r=If(n,t.parent.nodeIndex).componentView;2&r.def.flags&&(r.state|=8)}if(e.instance[t.bindings[l].name]=o,524288&t.flags){i=i||{};var a=Ts.unwrap(n.oldValues[t.bindingIndex+l]);i[t.bindings[l].nonMinifiedName]=new hp(a,o,0!=(2&n.state))}return n.oldValues[t.bindingIndex+l]=o,i}function vm(n,e){if(n.def.nodeFlags&e)for(var t=n.def.nodes,l=0,o=0;o<t.length;o++){var i=t[o],r=i.parent;for(!r&&i.flags&e&&bm(n,o,i.flags&e,l++),0==(i.childFlags&e)&&(o+=i.childCount);r&&1&r.flags&&o===r.nodeIndex+r.childCount;)r.directChildFlags&e&&(l=gm(n,r,e,l)),r=r.parent}}function gm(n,e,t,l){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=n.def.nodes[o];i.flags&t&&bm(n,o,i.flags&t,l++),o+=i.childCount}return l}function bm(n,e,t,l){var o=Df(n,e);if(o){var i=o.instance;i&&(Nf.setCurrentNode(n,e),1048576&t&&Tf(n,512,l)&&i.ngAfterContentInit(),2097152&t&&i.ngAfterContentChecked(),4194304&t&&Tf(n,768,l)&&i.ngAfterViewInit(),8388608&t&&i.ngAfterViewChecked(),131072&t&&i.ngOnDestroy())}}var _m=function(n){function e(e){var t=n.call(this)||this;return t.ngModule=e,t}return Object(l.c)(e,n),e.prototype.resolveComponentFactory=function(n){var e=Wn(n);return new wm(e,this.ngModule)},e}(qp);function ym(n){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}var Cm=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return el}}),wm=function(n){function e(e,t){var l=n.call(this)||this;return l.componentDef=e,l.ngModule=t,l.componentType=e.type,l.selector=e.selectors[0][0]||"div",l.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],l.isBoundToModule=!!t,l}return Object(l.c)(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){return ym(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return ym(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){var o=(l=l||this.ngModule)?function(n,e){return{get:function(t,l,o){var i=n.get(t,pm,o);return i!==pm||l===pm?i:e.get(t,l,o)}}}(n,l.injector):n,i=o.get(Kp,Ll),r=o.get(ui,null);Xt();var a=t?Nr(i,t):wr(this.selector,i.createRenderer(null,this.componentDef)),u=this.componentDef.onPush?576:528,s="string"==typeof t&&/^#root-ng-internal-isolated-\d+/.test(t),d=cp(),c=i.createRenderer(a,this.componentDef);t&&a&&(ql(c)?c.setAttribute(a,"ng-version",nf.full):a.setAttribute("ng-version",nf.full));var p,f,h=Sr(null,Mr(-1,null,1,0,null,null,null,null),d,u,null,null,i,c,r,o),m=Lt(h,null),v=!1;try{var g=sp(a,this.componentDef,h,i,c);f=Qe(0,h),e&&(f.projection=e.map((function(n){return Array.from(n)}))),p=dp(g,this.componentDef,h,d,[pp]),Qr(h,g),yr(h),v=!0}finally{Vt(m,v)}var b=new Sm(this.componentType,p,Ua(Bp,f,h),h,f);return t&&!s||(b.hostView._tViewNode.child=f),b},e}(Mp),Sm=function(n){function e(e,t,l,o,i){var r=n.call(this)||this;return r.location=l,r._rootLView=o,r._tNode=i,r.destroyCbs=[],r.instance=t,r.hostView=r.changeDetectorRef=new Ha(o),r.hostView._tViewNode=kr(o[Qn],null,-1,o),r.componentType=e,r}return Object(l.c)(e,n),Object.defineProperty(e.prototype,"injector",{get:function(){return new ho(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach((function(n){return n()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},e.prototype.onDestroy=function(n){this.destroyCbs&&this.destroyCbs.push(n)},e}(Op),xm={},km=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencySymbol=15]="CurrencySymbol",n[n.CurrencyName=16]="CurrencyName",n[n.Currencies=17]="Currencies",n[n.PluralCase=18]="PluralCase",n[n.ExtraData=19]="ExtraData",n}({}),Em=void 0,Tm=["en",[["a","p"],["AM","PM"],Em],[["AM","PM"],Em,Em],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Em,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Em,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Em,"{1} 'at' {0}",Em],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}];function Rm(n){return Im(n)[km.PluralCase]}function Im(n){var e=n.toLowerCase().replace(/_/g,"-"),t=xm[e];if(t)return t;var l=e.split("-")[0];if(t=xm[l])return t;if("en"===l)return Tm;throw new Error('Missing locale data for the locale "'+n+'".')}var Dm="en-US",Fm="<22>",Om=/^\s*(<28>\d+:?\d*<2A>)\s*,\s*(select|plural)\s*,/,Mm=/<2F>\/?\*(\d+:\d+)<29>/gi,Nm=/<2F>(\/?[#*!]\d+):?\d*<2A>/gi,Am=/<2F>(\d+):?\d*<2A>/gi,Pm=/({\s*<2A>\d+:?\d*<2A>\s*,\s*\S{6}\s*,[\s\S]*})/gi,qm=0,Lm=/\[(<28>.+?<3F>?)\]/,jm=/\[(<28>.+?<3F>?)\]|(<28>\/?\*\d+:\d+<2B>)/g,Vm=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Bm=/{([A-Z0-9_]+)}/g,Hm=/<2F>I18N_EXP_(ICU(_\d+)?)<29>/g,Um=/\/\*/,zm=/\d+\:(\d+)/;function Gm(n){if(!n)return[];var e,t=0,l=[],o=[],i=/[{}]/g;for(i.lastIndex=0;e=i.exec(n);){var r=e.index;if("}"==e[0]){if(l.pop(),0==l.length){var a=n.substring(t,r);Om.test(a)?o.push(Wm(a)):o.push(a),t=r+1}}else{if(0==l.length){var u=n.substring(t,r);o.push(u),t=r+1}l.push("{")}}var s=n.substring(t);return o.push(s),o}function Wm(n){for(var e=[],t=[],l=1,o=0,i=Gm(n=n.replace(Om,(function(n,e,t){return l="select"===t?0:1,o=parseInt(e.substr(1),10),""}))),r=0;r<i.length;){var a=i[r++].trim();1===l&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&e.push(a);var u=Gm(i[r++]);e.length>t.length&&t.push(u)}return'Missing key "other" in ICU statement.',e.indexOf("other")<=-1&&yn('Missing key "other" in ICU statement.'),{type:l,mainBinding:o,cases:e,values:t}}function Zm(n){for(var e,t,l="",o=0,i=!1;null!==(e=Mm.exec(n));)i?e[0]===Fm+"/*"+t+Fm&&(o=e.index,i=!1):(l+=n.substring(o,e.index+e[0].length),t=e[1],i=!0);return l+n.substr(o)}function Km(n,e,t,l){void 0===l&&(l=null);for(var o=[null,null],i=n.split(Am),r=0,a=0;a<i.length;a++){var u=i[a];if(1&a){var s=parseInt(u,10);o.push(-1-s),r|=Qm(s)}else""!==u&&o.push(u)}return o.push(e<<2|(t?1:0)),t&&o.push(t,l),o[0]=r,o[1]=o.length-2,o}function Xm(n,e){var t;void 0===e&&(e=0),e|=Qm(n.mainBinding);for(var l=0;l<n.values.length;l++)for(var o=n.values[l],i=0;i<o.length;i++){var r=o[i];if("string"==typeof r)for(;t=Am.exec(r);)e|=Qm(parseInt(t[1],10));else e=Xm(r,e)}return e}var Ym=[],$m=-1;function Qm(n){return 1<<Math.min(n,31)}var Jm,nv=[];function ev(n,e,t){var l=dt()[Qn];Ym[++$m]=n,tc(!0),l.firstTemplatePass&&null===l.data[n+ve]&&function(n,e,t,l){var o=dt(),i=n.blueprint.length-ve;Jm=0;var r=wt(),a=kt()?wt():r&&r.parent,u=a&&a!==o[le]?a.index-ve:e,s=0;nv[s]=u;var d=[];e>0&&r!==a&&d.push(r.index<<3|0);for(var c=[],p=[],f=function(n){return n.replace(bv," ")}(function(n,e){if("number"!=typeof e)return Zm(n);var t=n.indexOf(":"+e+Fm)+2+e.toString().length,l=n.search(new RegExp(Fm+"\\/\\*\\d+:"+e+Fm));return Zm(n.substring(t,l))}(t,l)).split(Nm),h=0;h<f.length;h++){var m=f[h];if(1&h)if("/"===m.charAt(0)){if("#"===m.charAt(1)){var v=parseInt(m.substr(2),10);u=nv[--s],d.push(v<<3|5)}}else v=parseInt(m.substr(1),10),d.push(v<<3|0,u<<17|1),"#"===m.charAt(0)&&(nv[++s]=u=v);else for(var g=Gm(m),b=0;b<g.length;b++)if(1&b){var _=i+Jm++;d.push(ar,"",_,u<<17|1);var y=g[b],C=Xm(y);mv(p,y,_,_);var w=p.length-1;c.push(Qm(y.mainBinding),3,-1-y.mainBinding,_<<2|2,w,C,2,_<<2|3,w)}else if(""!==g[b]){var S=g[b],x=S.match(Am),k=i+Jm++;d.push(x?"":S,k,u<<17|1),x&&mn(Km(S,k),c)}}Jm>0&&function(n,e){if(e>0){var t=n[Qn];if(t.firstTemplatePass){for(var l=0;l<e;l++)t.blueprint.push(null),t.data.push(null),n.push(null);t.expandoInstructions?t.expandoInstructions.push(e):t.expandoStartIndex+=e}}}(o,Jm),n.data[e+ve]={vars:Jm,create:d,update:c,icus:p.length?p:null}}(l,n,e,t)}function tv(n,e,t,l){var o=n.next;t||(t=e),t===e&&n!==e.child?(n.next=e.child,e.child=n):t!==e&&n!==t.next?(n.next=t.next,t.next=n):n.next=null,e!==l[le]&&(n.parent=e);for(var i=n.next;i;)i.next===n&&(i.next=o),i=i.next;if(1===n.type)return Ma(l,n,n.projection,Kl(l)),n;Da(Ye(n,l),n,l);var r=l[n.index];return 0!==n.type&&xe(r)&&Da(r[ye],n,l),n}function lv(n,e){void 0===e&&(e={});var t=n;if(Lm.test(n)){var o={},i=[qm];t=t.replace(jm,(function(n,e,t){var r=e||t,a=o[r]||[];if(a.length||(r.split("|").forEach((function(n){var e=n.match(zm),t=e?parseInt(e[1],10):qm,l=Um.test(n);a.push([t,l,n])})),o[r]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - "+r);for(var u=i[i.length-1],s=0,d=0;d<a.length;d++)if(a[d][0]===u){s=d;break}var c=Object(l.e)(a[s],3),p=c[0],f=c[2];return c[1]?i.pop():u!==p&&i.push(p),a.splice(s,1),f}))}return Object.keys(e).length?t=(t=(t=t.replace(Vm,(function(n,t,l,o,i,r){return e.hasOwnProperty(l)?""+t+e[l]+r:n}))).replace(Bm,(function(n,t){return e.hasOwnProperty(t)?e[t]:n}))).replace(Hm,(function(n,t){if(e.hasOwnProperty(t)){var l=e[t];if(!l.length)throw new Error("i18n postprocess: unmatched ICU - "+n+" with key: "+t);return l.shift()}return n})):t}function ov(){!function(n){for(var e=dt(),t=Ym[$m--],l=n.data[t+ve],o=wt(),i=rv(t,l.create,0,e),r=t+1;r<=o.index-ve;r++)-1===i.indexOf(r)&&av(r,e)}(dt()[Qn]),tc(!1)}function iv(n,e,t,l,o){var i=wt();n[e+ve]=l;var r=xr(n[Qn],n[le],e,t,o,null);return i.next===r&&(i.next=null),r}function rv(n,e,t,l){for(var o=dt()[se],i=null,r=null,a=[],u=0;u<e.length;u++){var s=e[u];if("string"==typeof s){var d=ba(s,o),c=e[++u];r=i,i=iv(l,c,3,d,null),a.push(c),Et()}else if("number"==typeof s)switch(7&s){case 1:var p=s>>>17;r=tv(i,p===n?l[le]:Qe(p,l),r,l);break;case 0:var f=s>>>3;a.push(f),r=i,(i=Qe(f,l))&&St(i,3===i.type);break;case 5:r=i=Qe(s>>>3,l),St(i,!1);break;case 4:Xr(g=s>>>3,e[++u],e[++u],l);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case ar:var h=e[++u],m=e[++u],v=o.createComment(h);r=i,i=iv(l,m,5,v,null),a.push(m),Ei(v,l),i.activeCaseIndex=null,Et();break;case rr:var g,b=e[++u];r=i,i=iv(l,g=e[++u],3,o.createElement(b),b),a.push(g);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return Et(),a}function av(n,e){var t=Qe(n,e),l=Xe(n,e);l&&Oa(e[se],l);var o=pd(n);xe(o)&&0!==t.type&&Oa(e[se],o[ye]),t.flags|=32}function uv(n,e,t){ev(n,e,t),ov()}function sv(n,e){!function(n,e,t){for(var l=wt().index-ve,o=[],i=0;i<t.length;i+=2)for(var r=t[i],a=t[i+1].split(Pm),u=0;u<a.length;u++){var s=a[u];if(1&u)throw new Error("ICU expressions are not yet supported in attributes");if(""!==s)if(s.match(Am))n.firstTemplatePass&&null===n.data[e+ve]&&mn(Km(s,l,r),o);else{var d=dt();Xr(l,r,s,d);var c=Qe(l,d),p=c.inputs&&c.inputs[r];p&&pa(d,p,s)}}n.firstTemplatePass&&null===n.data[e+ve]&&(n.data[e+ve]=o)}(dt()[Qn],n,e)}var dv=0,cv=0;function pv(n){return qs(dt(),n)!==ir&&(dv|=1<<cv),cv++,pv}function fv(n){if(cv){var e=dt(),t=e[Qn].data[n+ve],l=void 0,o=null;Array.isArray(t)?l=t:(l=t.update,o=t.icus),function n(e,t,l,o,i,r){void 0===r&&(r=!1);for(var a=!1,u=0;u<e.length;u++){var s=e[u],d=e[++u];if(r||s&o)for(var c="",p=u+1;p<=u+d;p++){var f=e[p];if("string"==typeof f)c+=f;else if("number"==typeof f)if(f<0)c+=Jt(i[l-f]);else{var h=f>>>2,m=void 0,v=void 0;switch(3&f){case 1:Lr(h,e[++p],c,e[++p]);break;case 0:fa(i,h,c);break;case 2:if(m=t[e[++p]],null!==(v=Qe(h,i)).activeCaseIndex)for(var g=m.remove[v.activeCaseIndex],b=0;b<g.length;b++){var _=g[b];switch(7&_){case 3:av(_>>>3,i);break;case 6:var y=Qe(g[b+1]>>>3,i).activeCaseIndex;null!==y&&mn(t[_>>>3].remove[y],g)}}var C=hv(m,c);v.activeCaseIndex=-1!==C?C:null,rv(-1,m.create[C],0,i),a=!0;break;case 3:m=t[e[++p]],v=Qe(h,i),n(m.update[v.activeCaseIndex],t,l,o,i,a)}}}u+=d}}(l,o,e[oe]-cv-1,dv,e),dv=0,cv=0}}function hv(n,e){var t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:var l=function(n,e){switch(Rm(e)(n)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(e,Sv);-1===(t=n.cases.indexOf(l))&&"other"!==l&&(t=n.cases.indexOf("other"));break;case 0:t=n.cases.indexOf("other")}return t}function mv(n,e,t,o){for(var i=[],r=[],a=[],u=[],s=[],d=0;d<e.values.length;d++){for(var c=e.values[d],p=[],f=0;f<c.length;f++){var h=c[f];if("string"!=typeof h){var m=p.push(h)-1;c[f]="\x3c!--<2D>"+m+"<22>--\x3e"}}var v=vv(c.join(""),t,p,n,o);i.push(v.create),r.push(v.remove),a.push(v.update),u.push(v.vars),s.push(v.childIcus)}n.push({type:e.type,vars:u,childIcus:s,cases:e.cases,create:i,remove:r,update:a}),Jm+=Math.max.apply(Math,Object(l.f)(u))}function vv(n,e,t,o,i){var r=new Lo(document).getInertBodyElement(n);if(!r)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function n(e,t,o,i,r,a){if(e){for(var u=[];e;){var s=e.nextSibling,d=a+ ++t.vars;switch(e.nodeType){case Node.ELEMENT_NODE:var c=e,p=c.tagName.toLowerCase();if(Yo.hasOwnProperty(p)){t.create.push(rr,p,d,o<<17|1);for(var f=c.attributes,h=0;h<f.length;h++){var m=f.item(h),v=m.name.toLowerCase();m.value.match(Am)?Jo.hasOwnProperty(v)&&mn($o[v]?Km(m.value,d,m.name,Bo):Qo[v]?Km(m.value,d,m.name,Ho):Km(m.value,d,m.name),t.update):t.create.push(d<<3|4,m.name,m.value)}n(e.firstChild,t,d,i,r,a),t.remove.push(d<<3|3)}else t.vars--;break;case Node.TEXT_NODE:var g=e.textContent||"",b=g.match(Am);t.create.push(b?"":g,d,o<<17|1),t.remove.push(d<<3|3),b&&mn(Km(g,d),t.update);break;case Node.COMMENT_NODE:var _=gv.exec(e.textContent||"");if(_){var y=parseInt(_[1],10);t.create.push(ar,"",d,o<<17|1),u.push([C=i[y],d])}else t.vars--;break;default:t.vars--}e=s}for(h=0;h<u.length;h++){var C,w=u[h][1];mv(r,C=u[h][0],w,a+t.vars);var S=r.length-1;t.vars+=Math.max.apply(Math,Object(l.f)(r[S].vars)),t.childIcus.push(S);var x=Xm(C);t.update.push(Qm(C.mainBinding),3,-1-C.mainBinding,w<<2|2,S,x,2,w<<2|3,S),t.remove.push(S<<3|6,w<<3|3)}}}((ri(r)||r).firstChild,a,e,t,o,i),a}var gv=/<2F>(\d+)<29>/,bv=/\uE500/g,_v={};function yv(n){void 0===n&&(n={translations:{}}),_v=n.translations}var Cv=/\{\$(.*?)\}/g;function wv(n,e){return void 0!==_v[n]&&(n=_v[n]),void 0!==e&&Object.keys(e).length?n.replace(Cv,(function(n,t){return e[t]||""})):n}var Sv=Dm;function xv(n){null==n&&yn("Expected localeId to be defined"),"string"==typeof n&&(Sv=n.toLowerCase().replace(/_/g,"-"))}var kv=new Map;function Ev(n,e){var t=kv.get(n);Tv(n,t&&t.moduleType,e.moduleType),kv.set(n,e)}function Tv(n,e,t){if(e&&e!==t)throw new Error("Duplicate module registered for "+n+" - "+N(e)+" vs "+N(e.name))}function Rv(n){if(null!==n.ngModuleDef.id){var e=n.ngModuleDef.id;Tv(e,kv.get(e),n),kv.set(e,n)}var t=n.ngModuleDef.imports;t instanceof Function&&(t=t()),t&&t.forEach((function(n){return Rv(n)}))}function Iv(n){return kv.get(n)}var Dv={provide:qp,useClass:_m,deps:[fn]},Fv=function(n){function e(e,t){var l=n.call(this)||this;l._parent=t,l._bootstrapComponents=[],l.injector=l,l.destroyCbs=[];var o=Yn(e),i=e[On]||null;return i&&xv(i),l._bootstrapComponents=al(o.bootstrap),l._r3Injector=Tu(e,t,[{provide:fn,useValue:l},Dv],N(e)),l.instance=l.get(e),l}return Object(l.c)(e,n),e.prototype.get=function(n,e,t){return void 0===e&&(e=Pu.THROW_IF_NOT_FOUND),void 0===t&&(t=x.Default),n===Pu||n===fn||n===W?this:this._r3Injector.get(n,e,t)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(qp)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach((function(n){return n()})),this.destroyCbs=null},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}(fn),Ov=function(n){function e(e){var t=n.call(this)||this;return t.moduleType=e,null!==Yn(e)&&Rv(e),t}return Object(l.c)(e,n),e.prototype.create=function(n){return new Fv(this.moduleType,n)},e}(hn);function Mv(n,e,t,o){return kn((function(){var i,r=n,a=r.prototype?Object.getPrototypeOf(r.prototype):null,u=a&&a.constructor;null!==e&&(void 0===r.decorators||u&&u.decorators===r.decorators?r.decorators=e:(i=r.decorators).push.apply(i,Object(l.f)(e))),null!==t&&(r.ctorParameters=t),null!==o&&(r.propDecorators=void 0===r.propDecorators||u&&u.propDecorators===r.propDecorators?o:Object(l.a)({},r.propDecorators,o))}))}function Nv(n,e,t){var l=Mt()+n,o=dt();return Tt()?Ds(o,l,t?e.call(t):e()):Fs(o,l)}function Av(n,e,t,l){var o=dt(),i=Mt()+n;return Os(o,i,t)?Ds(o,i+1,l?e.call(l,t):e(t)):Fs(o,i+1)}function Pv(n,e,t,l,o){var i=Mt()+n,r=dt();return Ms(r,i,t,l)?Ds(r,i+2,o?e.call(o,t,l):e(t,l)):Fs(r,i+2)}function qv(n,e,t,l,o,i){var r=Mt()+n,a=dt();return Ns(a,r,t,l,o)?Ds(a,r+3,i?e.call(i,t,l,o):e(t,l,o)):Fs(a,r+3)}function Lv(n,e,t,l,o,i,r){var a=Mt()+n,u=dt();return As(u,a,t,l,o,i)?Ds(u,a+4,r?e.call(r,t,l,o,i):e(t,l,o,i)):Fs(u,a+4)}function jv(n,e,t,l,o,i,r,a){var u=Mt()+n,s=dt(),d=As(s,u,t,l,o,i);return Os(s,u+4,r)||d?Ds(s,u+5,a?e.call(a,t,l,o,i,r):e(t,l,o,i,r)):Fs(s,u+5)}function Vv(n,e,t,l,o,i,r,a,u){var s=Mt()+n,d=dt(),c=As(d,s,t,l,o,i);return Ms(d,s+4,r,a)||c?Ds(d,s+6,u?e.call(u,t,l,o,i,r,a):e(t,l,o,i,r,a)):Fs(d,s+6)}function Bv(n,e,t,l,o,i,r,a,u,s){var d=Mt()+n,c=dt(),p=As(c,d,t,l,o,i);return Ns(c,d+4,r,a,u)||p?Ds(c,d+7,s?e.call(s,t,l,o,i,r,a,u):e(t,l,o,i,r,a,u)):Fs(c,d+7)}function Hv(n,e,t,l,o,i,r,a,u,s,d){var c=Mt()+n,p=dt(),f=As(p,c,t,l,o,i);return As(p,c+4,r,a,u,s)||f?Ds(p,c+8,d?e.call(d,t,l,o,i,r,a,u,s):e(t,l,o,i,r,a,u,s)):Fs(p,c+8)}function Uv(n,e,t,l){for(var o=Mt()+n,i=!1,r=dt(),a=0;a<t.length;a++)Os(r,o++,t[a])&&(i=!0);return i?Ds(r,o,e.apply(l,t)):Fs(r,o)}function zv(n,e){var t,l=dt()[Qn],o=n+ve;l.firstTemplatePass?(t=function(n,e){if(e)for(var t=e.length-1;t>=0;t--){var l=e[t];if(n===l.name)return l}throw new Error("The pipe '"+n+"' could not be found!")}(e,l.pipeRegistry),l.data[o]=t,t.onDestroy&&(l.destroyHooks||(l.destroyHooks=[])).push(o,t.onDestroy)):t=l.data[o];var i=t.factory();return dd(n,i),i}function Gv(n,e,t){var l=pd(n);return $v(Yv(n)?Av(e,l.transform,t,l):l.transform(t))}function Wv(n,e,t,l){var o=pd(n);return $v(Yv(n)?Pv(e,o.transform,t,l,o):o.transform(t,l))}function Zv(n,e,t,l,o){var i=pd(n);return $v(Yv(n)?qv(e,i.transform,t,l,o,i):i.transform(t,l,o))}function Kv(n,e,t,l,o,i){var r=pd(n);return $v(Yv(n)?Lv(e,r.transform,t,l,o,i,r):r.transform(t,l,o,i))}function Xv(n,e,t){var l=pd(n);return $v(Yv(n)?Uv(e,l.transform,t,l):l.transform.apply(l,t))}function Yv(n){return dt()[Qn].data[n+ve].pure}function $v(n){if(Ts.isWrapped(n)){n=Ts.unwrap(n);var e=dt();e[e[oe]]=ir}return n}var Qv=function(n){function e(e){void 0===e&&(e=!1);var t=n.call(this)||this;return t.__isAsync=e,t}return Object(l.c)(e,n),e.prototype.emit=function(e){n.prototype.next.call(this,e)},e.prototype.subscribe=function(e,t,l){var i,r=function(n){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(n){setTimeout((function(){return e.next(n)}))}:function(n){e.next(n)},e.error&&(r=this.__isAsync?function(n){setTimeout((function(){return e.error(n)}))}:function(n){e.error(n)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(n){setTimeout((function(){return e(n)}))}:function(n){e(n)},t&&(r=this.__isAsync?function(n){setTimeout((function(){return t(n)}))}:function(n){t(n)}),l&&(a=this.__isAsync?function(){setTimeout((function(){return l()}))}:function(){l()}));var u=n.prototype.subscribe.call(this,i,r,a);return e instanceof o.a&&e.add(u),u},e}(i.b);function Jv(){return this._results[xs()]()}var ng=function(){function n(){this.dirty=!0,this._results=[],this.changes=new Qv,this.length=0;var e=xs(),t=n.prototype;t[e]||(t[e]=Jv)}return n.prototype.map=function(n){return this._results.map(n)},n.prototype.filter=function(n){return this._results.filter(n)},n.prototype.find=function(n){return this._results.find(n)},n.prototype.reduce=function(n,e){return this._results.reduce(n,e)},n.prototype.forEach=function(n){this._results.forEach(n)},n.prototype.some=function(n){return this._results.some(n)},n.prototype.toArray=function(){return this._results.slice()},n.prototype.toString=function(){return this._results.toString()},n.prototype.reset=function(n){this._results=vn(n),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},n.prototype.notifyOnChanges=function(){this.changes.emit(this)},n.prototype.setDirty=function(){this.dirty=!0},n.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},n}(),eg=function(){function n(n){this.queryList=n,this.matches=null}return n.prototype.clone=function(){return new n(this.queryList)},n.prototype.setDirty=function(){this.queryList.setDirty()},n}(),tg=function(){function n(n){void 0===n&&(n=[]),this.queries=n}return n.prototype.createEmbeddedView=function(e){var t=e.queries;if(null!==t){for(var l=null!==e.contentQueries?e.contentQueries[0]:t.length,o=new Array(l),i=0;i<l;i++){var r=t.getByIndex(i);o[i]=this.queries[r.indexInDeclarationView].clone()}return new n(o)}return null},n.prototype.insertView=function(n){this.dirtyQueriesWithMatches(n)},n.prototype.detachView=function(n){this.dirtyQueriesWithMatches(n)},n.prototype.dirtyQueriesWithMatches=function(n){for(var e=0;e<this.queries.length;e++)null!==Cg(n,e).matches&&this.queries[e].setDirty()},n}(),lg=function(){return function(n,e,t,l){void 0===l&&(l=null),this.predicate=n,this.descendants=e,this.isStatic=t,this.read=l}}(),og=function(){function n(n){void 0===n&&(n=[]),this.queries=n}return n.prototype.elementStart=function(n,e){var t,o;try{for(var i=Object(l.g)(this.queries),r=i.next();!r.done;r=i.next())r.value.elementStart(n,e)}catch(a){t={error:a}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}},n.prototype.elementEnd=function(n){var e,t;try{for(var o=Object(l.g)(this.queries),i=o.next();!i.done;i=o.next())i.value.elementEnd(n)}catch(r){e={error:r}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},n.prototype.embeddedTView=function(e){for(var t=null,l=0;l<this.length;l++){var o=null!==t?t.length:0,i=this.getByIndex(l).embeddedTView(e,o);i&&(i.indexInDeclarationView=l,null!==t?t.push(i):t=[i])}return null!==t?new n(t):null},n.prototype.template=function(n,e){var t,o;try{for(var i=Object(l.g)(this.queries),r=i.next();!r.done;r=i.next())r.value.template(n,e)}catch(a){t={error:a}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}},n.prototype.getByIndex=function(n){return this.queries[n]},Object.defineProperty(n.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),n.prototype.track=function(n){this.queries.push(n)},n}(),ig=function(){function n(n,e){void 0===e&&(e=-1),this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return n.prototype.elementStart=function(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)},n.prototype.elementEnd=function(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)},n.prototype.template=function(n,e){this.elementStart(n,e)},n.prototype.embeddedTView=function(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new n(this.metadata)):null},n.prototype.isApplyingToNode=function(n){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(n.parent?n.parent.index:-1):this._appliesToNextNode},n.prototype.matchTNode=function(n,e){if(Array.isArray(this.metadata.predicate))for(var t=this.metadata.predicate,l=0;l<t.length;l++)this.matchTNodeWithReadOption(n,e,rg(e,t[l]));else{var o=this.metadata.predicate;o===gf?0===e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,so(e,n,o,!1,!1))}},n.prototype.matchTNodeWithReadOption=function(n,e,t){if(null!==t){var l=this.metadata.read;if(null!==l)if(l===Bp||l===yf||l===gf&&0===e.type)this.addMatch(e.index,-2);else{var o=so(e,n,l,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,t)}},n.prototype.addMatch=function(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)},n}();function rg(n,e){var t=n.localNames;if(null!==t)for(var l=0;l<t.length;l+=2)if(t[l]===e)return t[l+1];return null}function ag(n,e,t,l){return-1===t?function(n,e){return 3===n.type||4===n.type?Ua(Bp,n,e):0===n.type?za(gf,Bp,n,e):null}(e,n):-2===t?function(n,e,t){return t===Bp?Ua(Bp,e,n):t===gf?za(gf,Bp,e,n):t===yf?Ga(yf,Bp,e,n):void 0}(n,e,l):co(n[Qn].data,n,t,e)}function ug(n,e,t){var l=n[te].queries[t];if(null===l.matches){for(var o=n[Qn].data,i=e.matches,r=new Array(i.length/2),a=0;a<i.length;a+=2){var u=i[a];r[a/2]=u<0?null:ag(n,o[u],i[a+1],e.metadata.read)}l.matches=r}return l.matches}function sg(n){var e=dt(),t=Pt();qt(t+1);var o=Cg(e[Qn],t);if(n.dirty&&Tt()===o.metadata.isStatic){if(null===o.matches)n.reset([]);else{var i=o.crossesNgTemplate?function n(e,t,o){var i,r,a=e[Qn].queries.getByIndex(t),u=a.matches;if(null!==u)for(var s=ug(e,a,t),d=0;d<u.length;d+=2){var c=u[d];if(c>0)o.push(s[d/2]);else{for(var p=u[d+1],f=e[-c],h=we;h<f.length;h++)(g=f[h])[he]===g[ne]&&n(g,p,o);if(null!==f[_e])try{for(var m=(i=void 0,Object(l.g)(f[_e])),v=m.next();!v.done;v=m.next()){var g;n(g=v.value,p,o)}}catch(b){i={error:b}}finally{try{v&&!v.done&&(r=m.return)&&r.call(m)}finally{if(i)throw i.error}}}}return o}(e,t,[]):ug(e,o,t);n.reset(i),n.notifyOnChanges()}return!0}return!1}function dg(n,e,t){pg(dt(),n,e,t,!0)}function cg(n,e,t){pg(dt(),n,e,t,!1)}function pg(n,e,t,l,o){var i=n[Qn];i.firstTemplatePass&&(yg(i,new lg(e,t,o,l),-1),o&&(i.staticViewQueries=!0)),_g(n)}function fg(){return bg(dt(),Pt())}function hg(n,e,t,l){vg(dt(),e,t,l,!1,wt(),n)}function mg(n,e,t,l){vg(dt(),e,t,l,!0,wt(),n)}function vg(n,e,t,l,o,i,r){var a=n[Qn];a.firstTemplatePass&&(yg(a,new lg(e,t,o,l),i.index),function(n,e){var t=n.contentQueries||(n.contentQueries=[]);e!==(n.contentQueries.length?t[t.length-1]:-1)&&t.push(n.queries.length-1,e)}(a,r),o&&(a.staticContentQueries=!0)),_g(n)}function gg(){return bg(dt(),Pt())}function bg(n,e){return n[te].queries[e].queryList}function _g(n){var e=new ng;!function(n,e,t){var l=ua(n);l.push(e),n[Qn].firstTemplatePass&&sa(n).push(t,l.length-1)}(n,e,e.destroy),null===n[te]&&(n[te]=new tg),n[te].queries.push(new eg(e))}function yg(n,e,t){null===n.queries&&(n.queries=new og),n.queries.track(new ig(e,t))}function Cg(n,e){return n.queries.getByIndex(e)}function wg(n,e){return za(gf,Bp,n,e)}function Sg(n){void 0===n&&(n=x.Default);var e=Wa(!0);if(null!=e||n&x.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var xg=function(){return{"ɵɵattribute":Ls,"ɵɵattributeInterpolate1":Ks,"ɵɵattributeInterpolate2":Xs,"ɵɵattributeInterpolate3":Ys,"ɵɵattributeInterpolate4":$s,"ɵɵattributeInterpolate5":Qs,"ɵɵattributeInterpolate6":Js,"ɵɵattributeInterpolate7":nd,"ɵɵattributeInterpolate8":ed,"ɵɵattributeInterpolateV":td,"ɵɵdefineBase":Un,"ɵɵdefineComponent":Pn,"ɵɵdefineDirective":zn,"ɵɵdefineInjectable":T,"ɵɵdefineInjector":I,"ɵɵdefineNgModule":Vn,"ɵɵdefinePipe":Gn,"ɵɵdirectiveInject":fd,"ɵɵgetFactoryOf":mo,"ɵɵgetInheritedFactory":vo,"ɵɵinject":on,"ɵɵinjectAttribute":hd,"ɵɵinjectPipeChangeDetectorRef":Sg,"ɵɵtemplateRefExtractor":wg,"ɵɵNgOnChangesFeature":mp,"ɵɵProvidersFeature":Fp,"ɵɵInheritDefinitionFeature":yp,"ɵɵcontainer":id,"ɵɵnextContext":Qd,"ɵɵcontainerRefreshStart":ad,"ɵɵcontainerRefreshEnd":ud,"ɵɵnamespaceHTML":Kt,"ɵɵnamespaceMathML":Zt,"ɵɵnamespaceSVG":Wt,"ɵɵenableBindings":ut,"ɵɵdisableBindings":st,"ɵɵallocHostVars":ws,"ɵɵelementStart":Nd,"ɵɵelementEnd":Ad,"ɵɵelement":Pd,"ɵɵelementContainerStart":jd,"ɵɵelementContainerEnd":Vd,"ɵɵelementContainer":Bd,"ɵɵpureFunction0":Nv,"ɵɵpureFunction1":Av,"ɵɵpureFunction2":Pv,"ɵɵpureFunction3":qv,"ɵɵpureFunction4":Lv,"ɵɵpureFunction5":jv,"ɵɵpureFunction6":Vv,"ɵɵpureFunction7":Bv,"ɵɵpureFunction8":Hv,"ɵɵpureFunctionV":Uv,"ɵɵgetCurrentView":zd,"ɵɵrestoreView":Ct,"ɵɵlistener":Zd,"ɵɵload":pd,"ɵɵprojection":lc,"ɵɵupdateSyntheticHostBinding":Gc,"ɵɵcomponentHostSyntheticListener":Kd,"ɵɵpipeBind1":Gv,"ɵɵpipeBind2":Wv,"ɵɵpipeBind3":Zv,"ɵɵpipeBind4":Kv,"ɵɵpipeBindV":Xv,"ɵɵprojectionDef":nc,"ɵɵhostProperty":zc,"ɵɵproperty":Ps,"ɵɵpropertyInterpolate":oc,"ɵɵpropertyInterpolate1":ic,"ɵɵpropertyInterpolate2":rc,"ɵɵpropertyInterpolate3":ac,"ɵɵpropertyInterpolate4":uc,"ɵɵpropertyInterpolate5":sc,"ɵɵpropertyInterpolate6":dc,"ɵɵpropertyInterpolate7":cc,"ɵɵpropertyInterpolate8":pc,"ɵɵpropertyInterpolateV":fc,"ɵɵpipe":zv,"ɵɵqueryRefresh":sg,"ɵɵviewQuery":cg,"ɵɵstaticViewQuery":dg,"ɵɵstaticContentQuery":mg,"ɵɵloadViewQuery":fg,"ɵɵcontentQuery":hg,"ɵɵloadContentQuery":gg,"ɵɵreference":cd,"ɵɵelementHostAttrs":qd,"ɵɵclassMap":wd,"ɵɵclassMapInterpolate1":Ec,"ɵɵclassMapInterpolate2":Tc,"ɵɵclassMapInterpolate3":Rc,"ɵɵclassMapInterpolate4":Ic,"ɵɵclassMapInterpolate5":Dc,"ɵɵclassMapInterpolate6":Fc,"ɵɵclassMapInterpolate7":Oc,"ɵɵclassMapInterpolate8":Mc,"ɵɵclassMapInterpolateV":Nc,"ɵɵstyling":md,"ɵɵstyleMap":Cd,"ɵɵstyleProp":gd,"ɵɵstylePropInterpolate1":Ac,"ɵɵstylePropInterpolate2":Pc,"ɵɵstylePropInterpolate3":qc,"ɵɵstylePropInterpolate4":Lc,"ɵɵstylePropInterpolate5":jc,"ɵɵstylePropInterpolate6":Vc,"ɵɵstylePropInterpolate7":Bc,"ɵɵstylePropInterpolate8":Hc,"ɵɵstylePropInterpolateV":Uc,"ɵɵstyleSanitizer":vd,"ɵɵstylingApply":Ed,"ɵɵclassProp":_d,"ɵɵselect":gr,"ɵɵtemplate":rd,"ɵɵtext":hc,"ɵɵtextBinding":mc,"ɵɵtextInterpolate":vc,"ɵɵtextInterpolate1":gc,"ɵɵtextInterpolate2":bc,"ɵɵtextInterpolate3":_c,"ɵɵtextInterpolate4":yc,"ɵɵtextInterpolate5":Cc,"ɵɵtextInterpolate6":wc,"ɵɵtextInterpolate7":Sc,"ɵɵtextInterpolate8":xc,"ɵɵtextInterpolateV":kc,"ɵɵembeddedViewStart":Hd,"ɵɵembeddedViewEnd":Ud,"ɵɵi18n":uv,"ɵɵi18nAttributes":sv,"ɵɵi18nExp":pv,"ɵɵi18nStart":ev,"ɵɵi18nEnd":ov,"ɵɵi18nApply":fv,"ɵɵi18nPostprocess":lv,"ɵɵi18nLocalize":wv,"ɵɵresolveWindow":tl,"ɵɵresolveDocument":ll,"ɵɵresolveBody":ol,"ɵɵsetComponentScope":qn,"ɵɵsetNgModuleScope":Bn,"ɵɵsanitizeHtml":pi,"ɵɵsanitizeStyle":fi,"ɵɵdefaultStyleSanitizer":_i,"ɵɵsanitizeResourceUrl":mi,"ɵɵsanitizeScript":vi,"ɵɵsanitizeUrl":hi,"ɵɵsanitizeUrlOrResourceUrl":bi}}(),kg=[],Eg=[],Tg=!1;function Rg(){if(!Tg){Tg=!0;try{for(var n=Eg.length-1;n>=0;n--){var e=Eg[n],t=e.moduleType,l=e.ngModule;l.declarations&&l.declarations.every(Ig)&&(Eg.splice(n,1),Mg(t,l))}}finally{Tg=!1}}}function Ig(n){return Array.isArray(n)?n.every(Ig):!!q(n)}function Dg(n,e){void 0===e&&(e={}),Fg(n,e),function(n,e){Eg.push({moduleType:n,ngModule:e})}(n,e)}function Fg(n,e,t){void 0===t&&(t=!1);var l=vn(e.declarations||kg),o=null;Object.defineProperty(n,Fn,{configurable:!0,get:function(){return null===o&&(o=U().compileNgModule(xg,"ng:///"+n.name+"/ngModuleDef.js",{type:n,bootstrap:vn(e.bootstrap||kg).map(q),declarations:l.map(q),imports:vn(e.imports||kg).map(q).map(Pg),exports:vn(e.exports||kg).map(q).map(Pg),emitInline:!0,schemas:e.schemas?vn(e.schemas):null,id:e.id||null})),o}});var i=null;Object.defineProperty(n,M,{get:function(){if(null===i){var t={name:n.name,type:n,deps:au(n),providers:e.providers||kg,imports:[(e.imports||kg).map(q),(e.exports||kg).map(q)]};i=U().compileInjector(xg,"ng:///"+n.name+"/ngInjectorDef.js",t)}return i},configurable:!1})}function Og(){new Map,new Map,Eg.length=0}function Mg(n,e){var t=vn(e.declarations||kg),l=Ag(n);t.forEach((function(e){e.hasOwnProperty(Rn)?Ng(Wn(e),l):e.hasOwnProperty(In)||e.hasOwnProperty(Dn)||(e.ngSelectorScope=n)}))}function Ng(n,e){n.directiveDefs=function(){return Array.from(e.compilation.directives).map((function(n){return n.hasOwnProperty(Rn)?Wn(n):Zn(n)})).filter((function(n){return!!n}))},n.pipeDefs=function(){return Array.from(e.compilation.pipes).map((function(n){return Kn(n)}))},n.schemas=e.schemas,n.tView=null}function Ag(n,e){if(!qg(n))throw new Error(n.name+" does not have an ngModuleDef");var t=Yn(n);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var l={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return al(t.declarations).forEach((function(n){Kn(n)?l.compilation.pipes.add(n):l.compilation.directives.add(n)})),al(t.imports).forEach((function(n){var t=n;if(!qg(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");e&&e(t);var o=Ag(t,e);o.exported.directives.forEach((function(n){return l.compilation.directives.add(n)})),o.exported.pipes.forEach((function(n){return l.compilation.pipes.add(n)}))})),al(t.exports).forEach((function(n){var t=n;if(qg(t)){var o=Ag(t,e);o.exported.directives.forEach((function(n){l.compilation.directives.add(n),l.exported.directives.add(n)})),o.exported.pipes.forEach((function(n){l.compilation.pipes.add(n),l.exported.pipes.add(n)}))}else Kn(t)?l.exported.pipes.add(t):l.exported.directives.add(t)})),t.transitiveCompileScopes=l,l}function Pg(n){return function(n){return void 0!==n.ngModule}(n)?n.ngModule:n}function qg(n){return!!Yn(n)}function Lg(n,e){var t=null;!function(n,e){_s(e)&&(gs.set(n,e),bs.add(n))}(n,e),Object.defineProperty(n,Rn,{get:function(){var o=U();if(null===t){if(_s(e)){var i=["Component '"+n.name+"' is not resolved:"];throw e.templateUrl&&i.push(" - templateUrl: "+e.templateUrl),e.styleUrls&&e.styleUrls.length&&i.push(" - styleUrls: "+JSON.stringify(e.styleUrls)),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var r=e.templateUrl||"ng:///"+n.name+"/template.html",a=Object(l.a)({},Bg(n,e),{typeSourceSpan:o.createParseSourceSpan("Component",n.name,r),template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||Tn,animations:e.animations,directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:e.encapsulation||xn.Emulated,interpolation:e.interpolation,viewProviders:e.viewProviders||null});if(a.usesInheritance&&Hg(n),t=o.compileComponent(xg,r,a),Rg(),void 0!==n.ngSelectorScope){var u=Ag(n.ngSelectorScope);Ng(t,u)}}return t},configurable:!1}),su(n)}function jg(n,e){var t=null;Object.defineProperty(n,In,{get:function(){if(null===t){var l=n&&n.name,o="ng:///"+l+"/ngDirectiveDef.js",i=U(),r=Bg(n,e);r.typeSourceSpan=i.createParseSourceSpan("Directive",l,o),r.usesInheritance&&Hg(n),t=i.compileDirective(xg,o,r)}return t},configurable:!1}),su(n)}function Vg(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function Bg(n,e){var t,l=ru().ownPropMetadata(n);return{name:n.name,type:n,typeArgumentCount:0,selector:e.selector,deps:au(n),host:e.host||En,propMetadata:l,inputs:e.inputs||Tn,outputs:e.outputs||Tn,queries:Gg(n,l,Wg),lifecycle:{usesOnChanges:n.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!Vg(n),exportAs:(t=e.exportAs,void 0===t?null:t.split(",").map((function(n){return n.trim()}))),providers:e.providers||null,viewQueries:Gg(n,l,Zg)}}function Hg(n){for(var e=Object.prototype,t=Object.getPrototypeOf(n);t&&t!==e;){if(!Zn(t)&&!Wn(t)&&!Xn(t)){var l=zg(t);l&&Ug(t,l)}t=Object.getPrototypeOf(t)}}function Ug(n,e){var t=null;Object.defineProperty(n,Mn,{get:function(){if(null===t){var l="ng://"+(n&&n.name)+"/ngBaseDef.js",o=U();t=o.compileBase(xg,l,e)}return t},configurable:!1})}function zg(n){var e,t,l=ru().ownPropMetadata(n),o=Gg(n,l,Zg),i=Gg(n,l,Wg),r=!1,a=function(n){l[n].forEach((function(l){var o=l.ngMetadataName;"Input"===o?(e=e||{})[n]=l.bindingPropertyName?[l.bindingPropertyName,n]:n:"Output"===o?(t=t||{})[n]=l.bindingPropertyName||n:"HostBinding"!==o&&"HostListener"!==o||(r=!0)}))};for(var u in l)a(u);return e||t||o.length||i.length||r?{name:n.name,type:n,inputs:e,outputs:t,viewQueries:o,queries:i,propMetadata:l}:null}function Gg(n,e,t){var l=[],o=function(o){if(e.hasOwnProperty(o)){var i=e[o];i.forEach((function(e){if(t(e)){if(!e.selector)throw new Error("Can't construct a query for the property \""+o+'" of "'+nl(n)+"\" since the query selector wasn't defined.");if(i.some(Kg))throw new Error("Cannot combine @Input decorators with query decorators");l.push(function(n,e){return{propertyName:n,predicate:(t=e.selector,"string"==typeof t?t.split(",").map((function(n){return n.trim()})):q(t)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static};var t}(o,e))}}))}};for(var i in e)o(i);return l}function Wg(n){var e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function Zg(n){var e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function Kg(n){return"Input"===n.ngMetadataName}function Xg(n,e){var t=null;Object.defineProperty(n,Dn,{get:function(){if(null===t){var l=n.name;t=U().compilePipe(xg,"ng:///"+l+"/ngPipeDef.js",{type:n,typeArgumentCount:0,name:l,deps:au(n),pipeName:e.name,pure:void 0===e.pure||e.pure})}return t},configurable:!1})}var Yg=p("Directive",(function(n){return void 0===n&&(n={}),n}),void 0,void 0,(function(n,e){return ab(n,e)})),$g=p("Component",(function(n){return void 0===n&&(n={}),Object(l.a)({changeDetection:Cn.Default},n)}),Yg,void 0,(function(n,e){return rb(n,e)})),Qg=p("Pipe",(function(n){return Object(l.a)({pure:!0},n)}),void 0,void 0,(function(n,e){return ub(n,e)})),Jg=m("Input",(function(n){return{bindingPropertyName:n}})),nb=m("Output",(function(n){return{bindingPropertyName:n}})),eb=m("HostBinding",(function(n){return{hostPropertyName:n}})),tb=m("HostListener",(function(n,e){return{eventName:n,args:e}})),lb=Lg,ob=jg,ib=Xg,rb=Vp,ab=Vp,ub=Vp,sb=p("NgModule",(function(n){return n}),void 0,void 0,(function(n,e){return cb(n,e)})),db=Dg,cb=function(n,e){var t=e&&e.imports||[];e&&e.exports&&(t=Object(l.f)(t,[e.exports])),n.ngInjectorDef=I({factory:gu(n,{useClass:n}),providers:e&&e.providers,imports:t})},pb=new G("Application Initializer"),fb=function(){function n(n){var e=this;this.appInits=n,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(n,t){e.resolve=n,e.reject=t}))}return n.prototype.runInitializers=function(){var n=this;if(!this.initialized){var e=[],t=function(){n.done=!0,n.resolve()};if(this.appInits)for(var l=0;l<this.appInits.length;l++){var o=this.appInits[l]();Gd(o)&&e.push(o)}Promise.all(e).then((function(){t()})).catch((function(e){n.reject(e)})),0===e.length&&t(),this.initialized=!0}},n}(),hb=new G("AppId");function mb(){return""+gb()+gb()+gb()}var vb={provide:hb,useFactory:mb,deps:[]};function gb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var bb=new G("Platform Initializer"),_b=new G("Platform ID"),yb=new G("appBootstrapListener"),Cb=new G("Application Packages Root URL"),wb=function(){function n(){}return n.prototype.log=function(n){console.log(n)},n.prototype.warn=function(n){console.warn(n)},n}(),Sb=new G("LocaleId"),xb=new G("Translations"),kb=new G("TranslationsFormat"),Eb=function(n){return n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore",n}({}),Tb=!0,Rb=!1,Ib=function(){return function(n,e){this.ngModuleFactory=n,this.componentFactories=e}}();function Db(){throw new Error("Runtime compiler is not loaded")}var Fb,Ob,Mb=function(n){return new Ov(n)},Nb=Db,Ab=function(n){return Promise.resolve(Mb(n))},Pb=Db,qb=function(n){var e=Mb(n),t=al(Yn(n).declarations).reduce((function(n,e){var t=Wn(e);return t&&n.push(new wm(t)),n}),[]);return new Ib(e,t)},Lb=Db,jb=function(n){return Promise.resolve(qb(n))},Vb=Db,Bb=function(){function n(){this.compileModuleSync=Nb,this.compileModuleAsync=Pb,this.compileModuleAndAllComponentsSync=Lb,this.compileModuleAndAllComponentsAsync=Vb}return n.prototype.clearCache=function(){},n.prototype.clearCacheFor=function(n){},n.prototype.getModuleId=function(n){},n}(),Hb=new G("compilerOptions"),Ub=function(){return function(){}}();function zb(){var n=H.wtf;return!(!n||!(Fb=n.trace)||(Ob=Fb.events,0))}function Gb(n,e){return void 0===e&&(e=null),Ob.createScope(n,e)}function Wb(n,e){return Fb.leaveScope(n,e),e}function Zb(n,e){return Fb.beginTimeRange(n,e)}function Kb(n){Fb.endTimeRange(n)}var Xb=zb();function Yb(n,e){return null}var $b=Xb?Gb:function(n,e){return Yb},Qb=Xb?Wb:function(n,e){return e},Jb=Xb?Zb:function(n,e){return null},n_=Xb?Kb:function(n){return null},e_=function(){return Promise.resolve(0)}();function t_(n){"undefined"==typeof Zone?e_.then((function(){n&&n.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}var l_=function(){function n(n){var e,t=n.enableLongStackTrace,l=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qv(!1),this.onMicrotaskEmpty=new Qv(!1),this.onStable=new Qv(!1),this.onError=new Qv(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,t,l,o,i,r){try{return a_(e),n.invokeTask(l,o,i,r)}finally{u_(e)}},onInvoke:function(n,t,l,o,i,r,a){try{return a_(e),n.invoke(l,o,i,r,a)}finally{u_(e)}},onHasTask:function(n,t,l,o){n.hasTask(l,o),t===l&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,r_(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(n,t,l,o){return n.handleError(l,o),e.runOutsideAngular((function(){return e.onError.emit(o)})),!1}})}return n.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},n.assertInAngularZone=function(){if(!n.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},n.assertNotInAngularZone=function(){if(n.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},n.prototype.run=function(n,e,t){return this._inner.run(n,e,t)},n.prototype.runTask=function(n,e,t,l){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+l,n,i_,o_,o_);try{return o.runTask(i,e,t)}finally{o.cancelTask(i)}},n.prototype.runGuarded=function(n,e,t){return this._inner.runGuarded(n,e,t)},n.prototype.runOutsideAngular=function(n){return this._outer.run(n)},n}();function o_(){}var i_={};function r_(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular((function(){return n.onStable.emit(null)}))}finally{n.isStable=!0}}}function a_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function u_(n){n._nesting--,r_(n)}var s_=function(){function n(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qv,this.onMicrotaskEmpty=new Qv,this.onStable=new Qv,this.onError=new Qv}return n.prototype.run=function(n){return n()},n.prototype.runGuarded=function(n){return n()},n.prototype.runOutsideAngular=function(n){return n()},n.prototype.runTask=function(n){return n()},n}(),d_=function(){function n(n){var e=this;this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run((function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return n.prototype._watchAngularEvents=function(){var n=this;this._ngZone.onUnstable.subscribe({next:function(){n._didWork=!0,n._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){n._ngZone.onStable.subscribe({next:function(){l_.assertNotInAngularZone(),t_((function(){n._isZoneStable=!0,n._runCallbacksIfReady()}))}})}))},n.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},n.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},n.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},n.prototype._runCallbacksIfReady=function(){var n=this;if(this.isStable())t_((function(){for(;0!==n._callbacks.length;){var e=n._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(n._didWork)}n._didWork=!1}));else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(n){return!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)})),this._didWork=!0}},n.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(n){return{source:n.source,creationLocation:n.creationLocation,data:n.data}})):[]},n.prototype.addCallback=function(n,e,t){var l=this,o=-1;e&&e>0&&(o=setTimeout((function(){l._callbacks=l._callbacks.filter((function(n){return n.timeoutId!==o})),n(l._didWork,l.getPendingTasks())}),e)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:t})},n.prototype.whenStable=function(n,e,t){if(t&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(n,e,t),this._runCallbacksIfReady()},n.prototype.getPendingRequestCount=function(){return this._pendingCount},n.prototype.findProviders=function(n,e,t){return[]},n}(),c_=function(){function n(){this._applications=new Map,h_.addToWindow(this)}return n.prototype.registerApplication=function(n,e){this._applications.set(n,e)},n.prototype.unregisterApplication=function(n){this._applications.delete(n)},n.prototype.unregisterAllApplications=function(){this._applications.clear()},n.prototype.getTestability=function(n){return this._applications.get(n)||null},n.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},n.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},n.prototype.findTestabilityInTree=function(n,e){return void 0===e&&(e=!0),h_.findTestabilityInTree(this,n,e)},n}();function p_(n){h_=n}var f_,h_=new(function(){function n(){}return n.prototype.addToWindow=function(n){},n.prototype.findTestabilityInTree=function(n,e,t){return null},n}());function m_(n,e,t){var o=new Ov(t);if(0===gs.size)return Promise.resolve(o);var i,r,a=(i=n.get(Hb,[]).concat(e).map((function(n){return n.providers})),r=[],i.forEach((function(n){return n&&r.push.apply(r,Object(l.f)(n))})),r);if(0===a.length)return Promise.resolve(o);var u=U(),s=Pu.create({providers:a}).get(u.ResourceLoader);return vs((function(n){return Promise.resolve(s.get(n))})).then((function(){return o}))}function v_(n){return n.isBoundToModule}var g_=new G("AllowMultipleToken"),b_=function(){return function(n,e){this.name=n,this.token=e}}();function __(n){if(f_&&!f_.destroyed&&!f_.injector.get(g_,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");f_=n.get(x_);var e=n.get(bb,null);return e&&e.forEach((function(n){return n()})),f_}function y_(n,e,t){void 0===t&&(t=[]);var l="Platform: "+e,o=new G(l);return function(e){void 0===e&&(e=[]);var i=S_();if(!i||i.injector.get(g_,!1))if(n)n(t.concat(e).concat({provide:o,useValue:!0}));else{var r=t.concat(e).concat({provide:o,useValue:!0});__(Pu.create({providers:r,name:l}))}return C_(o)}}function C_(n){var e=S_();if(!e)throw new Error("No platform exists!");if(!e.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function w_(){f_&&!f_.destroyed&&f_.destroy()}function S_(){return f_&&!f_.destroyed?f_:null}var x_=function(){function n(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return n.prototype.bootstrapModuleFactory=function(n,e){var t,l=this,o="noop"===(t=e?e.ngZone:void 0)?new s_:("zone.js"===t?void 0:t)||new l_({enableLongStackTrace:Po()}),i=[{provide:l_,useValue:o}];return o.run((function(){var e=Pu.create({providers:i,parent:l.injector,name:n.moduleType.name}),t=n.create(e),r=t.injector.get(So,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Rb&&xv(t.injector.get(Sb,Dm)||Dm),t.onDestroy((function(){return T_(l._modules,t)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(n){r.handleError(n)}})})),function(n,e,o){try{var i=((r=t.injector.get(fb)).runInitializers(),r.donePromise.then((function(){return l._moduleDoBootstrap(t),t})));return Gd(i)?i.catch((function(t){throw e.runOutsideAngular((function(){return n.handleError(t)})),t})):i}catch(a){throw e.runOutsideAngular((function(){return n.handleError(a)})),a}var r}(r,o)}))},n.prototype.bootstrapModule=function(n,e){var t=this;void 0===e&&(e=[]);var l=k_({},e);return function(n,e,t){return n.get(Ub).createCompiler([e]).compileModuleAsync(t)}(this.injector,l,n).then((function(n){return t.bootstrapModuleFactory(n,l)}))},n.prototype._moduleDoBootstrap=function(n){var e=n.injector.get(E_);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((function(n){return e.bootstrap(n)}));else{if(!n.instance.ngDoBootstrap)throw new Error("The module "+N(n.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');n.instance.ngDoBootstrap(e)}this._modules.push(n)},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},Object.defineProperty(n.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(n){return n.destroy()})),this._destroyListeners.forEach((function(n){return n()})),this._destroyed=!0},Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n}();function k_(n,e){return Array.isArray(e)?e.reduce(k_,n):Object(l.a)({},n,e)}var E_=function(){function n(n,e,t,l,o,i){var s=this;this._zone=n,this._console=e,this._injector=t,this._exceptionHandler=l,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Po(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var d=new r.a((function(n){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){n.next(s._stable),n.complete()}))})),c=new r.a((function(n){var e;s._zone.runOutsideAngular((function(){e=s._zone.onStable.subscribe((function(){l_.assertNotInAngularZone(),t_((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,n.next(!0))}))}))}));var t=s._zone.onUnstable.subscribe((function(){l_.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){n.next(!1)})))}));return function(){e.unsubscribe(),t.unsubscribe()}}));this.isStable=Object(a.a)(d,c.pipe(Object(u.a)()))}var e;return e=n,n.prototype.bootstrap=function(n,e){var t,l=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.");t=n instanceof Mp?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(t.componentType);var o=t instanceof jp?null:this._injector.get(fn),i=t.create(Pu.NULL,[],e||t.selector,o);i.onDestroy((function(){l._unloadComponent(i)}));var r=i.injector.get(d_,null);return r&&i.injector.get(c_).registerApplication(i.location.nativeElement,r),this._loadComponent(i),Po()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},n.prototype.tick=function(){var n,t,o,i,r=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=e._tickScope();try{this._runningTick=!0;try{for(var u=Object(l.g)(this._views),s=u.next();!s.done;s=u.next())s.value.detectChanges()}catch(p){n={error:p}}finally{try{s&&!s.done&&(t=u.return)&&t.call(u)}finally{if(n)throw n.error}}if(this._enforceNoNewChanges)try{for(var d=Object(l.g)(this._views),c=d.next();!c.done;c=d.next())c.value.checkNoChanges()}catch(f){o={error:f}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}catch(h){this._zone.runOutsideAngular((function(){return r._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1,Qb(a)}},n.prototype.attachView=function(n){var e=n;this._views.push(e),e.attachToAppRef(this)},n.prototype.detachView=function(n){var e=n;T_(this._views,e),e.detachFromAppRef()},n.prototype._loadComponent=function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(yb,[]).concat(this._bootstrapListeners).forEach((function(e){return e(n)}))},n.prototype._unloadComponent=function(n){this.detachView(n.hostView),T_(this.components,n)},n.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(n){return n.destroy()}))},Object.defineProperty(n.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),n._tickScope=$b("ApplicationRef#tick()"),n}();function T_(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}var R_=function(){return function(){}}();function I_(n){var e=Iv(n);if(!e)throw O_(n);return e}function D_(n){var e=Iv(n);if(!e)throw O_(n);return new Ov(e)}var F_=I_;function O_(n){return new Error("No module with ID "+n+" loaded")}var M_=function(){return function(){}}(),N_={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},A_=function(){function n(n,e){this._compiler=n,this._config=e||N_}return n.prototype.load=function(n){return!Rb&&this._compiler instanceof Bb?this.loadFactory(n):this.loadAndCompile(n)},n.prototype.loadAndCompile=function(n){var e=this,o=Object(l.e)(n.split("#"),2),i=o[0],r=o[1];return void 0===r&&(r="default"),t("crnd")(i).then((function(n){return n[r]})).then((function(n){return P_(n,i,r)})).then((function(n){return e._compiler.compileModuleAsync(n)}))},n.prototype.loadFactory=function(n){var e=Object(l.e)(n.split("#"),2),o=e[0],i=e[1],r="NgFactory";return void 0===i&&(i="default",r=""),t("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then((function(n){return n[i+r]})).then((function(n){return P_(n,o,i)}))},n}();function P_(n,e,t){if(!n)throw new Error("Cannot find '"+t+"' in '"+e+"'");return n}var q_=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.c)(e,n),e}(Za),L_=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.c)(e,n),e}(q_),j_=function(){return function(n,e){this.name=n,this.callback=e}}(),V_=function(){function n(n,e,t){this.listeners=[],this.parent=null,this._debugContext=t,this.nativeNode=n,e&&e instanceof B_&&e.addChild(this)}return Object.defineProperty(n.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),n}(),B_=function(n){function e(e,t,l){var o=n.call(this,e,t,l)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(l.c)(e,n),e.prototype.addChild=function(n){n&&(this.childNodes.push(n),n.parent=this)},e.prototype.removeChild=function(n){var e=this.childNodes.indexOf(n);-1!==e&&(n.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(n,e){var t,o=this,i=this.childNodes.indexOf(n);-1!==i&&((t=this.childNodes).splice.apply(t,Object(l.f)([i+1,0],e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),n.parent=o})))},e.prototype.insertBefore=function(n,e){var t=this.childNodes.indexOf(n);-1===t?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(t,0,e))},e.prototype.query=function(n){return this.queryAll(n)[0]||null},e.prototype.queryAll=function(n){var e=[];return U_(this,n,e),e},e.prototype.queryAllNodes=function(n){var e=[];return z_(this,n,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(n){return n instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach((function(t){t.name==n&&t.callback(e)}))},e}(V_);function H_(n){return n.map((function(n){return n.nativeElement}))}function U_(n,e,t){n.childNodes.forEach((function(n){n instanceof B_&&(e(n)&&t.push(n),U_(n,e,t))}))}function z_(n,e,t){n instanceof B_&&n.childNodes.forEach((function(n){e(n)&&t.push(n),n instanceof B_&&z_(n,e,t)}))}var G_=function(){function n(n){this.nativeNode=n}return Object.defineProperty(n.prototype,"parent",{get:function(){var n=this.nativeNode.parentNode;return n?new W_(n):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return Yc(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){var n=this.nativeNode;return n&&(Wc(n)||Kc(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return Wc(this.nativeNode)||Zc(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"listeners",{get:function(){return tp(this.nativeNode).filter(ep)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return void 0===(n=Qc(this.nativeNode)).localRefs&&(n.localRefs=function(n,e){var t=n[Qn].data[e];if(t&&t.localNames){for(var l={},o=t.index+1,i=0;i<t.localNames.length;i+=2)l[t.localNames[i]]=n[o],o++;return l}return null}(n.lView,n.nodeIndex)),n.localRefs||{};var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return function(n){var e=Qc(n,!1);if(!e)return[];for(var t,l=e.lView[Qn],o=l.data[e.nodeIndex],i=[],r=o.directiveEnd,a=65535&o.providerIndexes;a<r;a++){var u=l.data[a];void 0!==(t=u).type&&void 0!==t.template&&void 0!==t.declaredInputs&&(u=u.type),i.push(u)}return i}(this.nativeNode)},enumerable:!0,configurable:!0}),n}(),W_=function(n){function e(e){return n.call(this,e)||this}return Object(l.c)(e,n),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){var n=Qc(this.nativeNode),e=n.lView,t=e[Qn].data,o=t[n.nodeIndex],i=function(n,e,t){for(var l={},o=function(n,e){for(var t=n-1,l=e[t];"string"==typeof l&&!rl(l);)l=e[--t];return t+1}(n.propertyMetadataStartIndex,t);o<n.propertyMetadataEndIndex;){for(var i=void 0,r=t[o];!rl(r);)i=(i||"")+Jt(e[o])+t[o],r=t[++o];i=void 0===i?e[o]:i+=e[o];var a=r.split(il),u=a[0];u&&(l[u]=a[1]&&a[2]?a[1]+i+a[2]:i),o++}return l}(o,e,t),r=function(n,e,t){for(var l={},o=n.directiveEnd,i=t[o];"string"==typeof i;)l[i.split(il)[0]]=e[o],i=t[++o];return l}(o,e,t),a=function(n){var e,t,o=n.classes,i="";try{for(var r=Object(l.g)(Object.keys(o)),a=r.next();!a.done;a=r.next()){var u=a.value;o[u]&&(i=i?i+" "+u:u)}}catch(s){e={error:s}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return i}(this),u=Object(l.a)({},i,r);return a&&(u.className=u.className?u.className+" "+a:a),u},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var n={},e=this.nativeElement;if(!e)return n;var t=Qc(e),l=t.lView[Qn].data[t.nodeIndex].attrs,o=[];if(l)for(var i=0;i<l.length;){var r=l[i];if("string"!=typeof r)break;n[r]=l[i+1],o.push(r.toLowerCase()),i+=2}var a=e.attributes;for(i=0;i<a.length;i++){var u=a[i];-1===o.indexOf(u.name)&&(n[u.name]=u.value)}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){return Z_(this.nativeElement,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classes",{get:function(){return Z_(this.nativeElement,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){for(var n=this.nativeNode.childNodes,e=[],t=0;t<n.length;t++)e.push(ny(n[t]));return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var n=this.nativeElement;if(!n)return[];for(var e=n.children,t=[],l=0;l<e.length;l++)t.push(ny(e[l]));return t},enumerable:!0,configurable:!0}),e.prototype.query=function(n){return this.queryAll(n)[0]||null},e.prototype.queryAll=function(n){var e=[];return K_(this,n,e,!0),e},e.prototype.queryAllNodes=function(n){var e=[];return K_(this,n,e,!1),e},e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach((function(t){t.name===n&&t.callback(e)}))},e}(G_);function Z_(n,e){if(n){var t=np(n),l=t.lView,o=l[Qn].data[t.nodeIndex];return e?Il(o.classes)?new vr(o.classes,l,!0).values:mr(o.classes):Il(o.styles)?new vr(o.styles,l,!1).values:mr(o.styles)}return{}}function K_(n,e,t,l){var o=Qc(n.nativeNode);X_(o.lView[Qn].data[o.nodeIndex],o.lView,e,t,l,n.nativeNode)}function X_(n,e,t,o,i,r){var a,u,s=$e(n,e);if(3===n.type||4===n.type){$_(s,t,o,i,r),Ee(n)?(p=nt(n.index,e))&&p[Qn].firstChild&&X_(p[Qn].firstChild,p,t,o,i,r):(n.child&&X_(n.child,e,t,o,i,r),s&&function n(e,t,l,o){for(var i=e.childNodes,r=i.length,a=0;a<r;a++){var u=i[a],s=ey(u);s&&(o&&s instanceof W_&&t(s)&&-1===l.indexOf(s)?l.push(s):!o&&t(s)&&-1===l.indexOf(s)&&l.push(s),n(u,t,l,o))}}(s,t,o,i));var d=e[n.index];xe(d)&&Y_(d,t,o,i,r)}else if(0===n.type){var c=e[n.index];$_(c[ye],t,o,i,r),Y_(c,t,o,i,r)}else if(1===n.type){var p,f=(p=Kl(e))[le].projection[n.projection];if(Array.isArray(f))try{for(var h=Object(l.g)(f),m=h.next();!m.done;m=h.next())$_(m.value,t,o,i,r)}catch(b){a={error:b}}finally{try{m&&!m.done&&(u=h.return)&&u.call(h)}finally{if(a)throw a.error}}else if(f){var v,g=p[ne];X_(v=g[Qn].data[f.index],g,t,o,i,r)}}else n.child&&X_(n.child,e,t,o,i,r);r!==s&&(v=2&n.flags?n.projectionNext:n.next)&&X_(v,e,t,o,i,r)}function Y_(n,e,t,l,o){for(var i=we;i<n.length;i++){var r=n[i];X_(r[Qn].node,r,e,t,l,o)}}function $_(n,e,t,l,o){if(o!==n){var i=ey(n);if(!i)return;l&&i instanceof W_&&e(i)&&-1===t.indexOf(i)?t.push(i):!l&&e(i)&&-1===t.indexOf(i)&&t.push(i)}}var Q_=new Map,J_="__ng_debug__";function ny(n){return n instanceof Node?(n.hasOwnProperty(J_)||(n[J_]=n.nodeType==Node.ELEMENT_NODE?new W_(n):new G_(n)),n[J_]):null}var ey=function(n){return Q_.get(n)||null};function ty(n){Q_.set(n.nativeNode,n)}var ly=V_,oy=B_,iy=y_(null,"core",[{provide:_b,useValue:"unknown"},{provide:x_,deps:[Pu]},{provide:c_,deps:[]},{provide:wb,deps:[]}]);function ry(){return mf}function ay(){return vf}function uy(n){return n?(Rb&&xv(n),n):Dm}var sy=[{provide:E_,useClass:E_,deps:[l_,wb,Pu,So,qp,fb]},{provide:Cm,deps:[l_],useFactory:dy},{provide:fb,useClass:fb,deps:[[new b,pb]]},{provide:Bb,useClass:Bb,deps:[]},vb,{provide:pf,useFactory:ry,deps:[]},{provide:ff,useFactory:ay,deps:[]},{provide:Sb,useFactory:uy,deps:[[new g(Sb),new b,new y]]}];function dy(n){var e=[];return n.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(n){e.push(n)}}var cy=function(){return function(n){}}();function py(n,e,t,l,o,i){n|=1;var r=eh(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:n,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:r.matchedQueries,matchedQueryIds:r.matchedQueryIds,references:r.references,ngContentIndex:t,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?ih(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Af},provider:null,text:null,query:null,ngContent:null}}function fy(n,e,t,o,i,r,a,u,s,d,c,p){var f;void 0===a&&(a=[]),d||(d=Af);var h=eh(t),m=h.matchedQueries,v=h.references,g=h.matchedQueryIds,b=null,_=null;r&&(b=(f=Object(l.e)(ph(r),2))[0],_=f[1]),u=u||[];for(var y=new Array(u.length),C=0;C<u.length;C++){var w=Object(l.e)(u[C],3),S=w[0],x=w[1],k=w[2],E=Object(l.e)(ph(x),2),T=E[0],R=E[1],I=void 0,D=void 0;switch(15&S){case 4:D=k;break;case 1:case 8:I=k}y[C]={flags:S,ns:T,name:R,nonMinifiedName:R,securityContext:I,suffix:D}}s=s||[];var F=new Array(s.length);for(C=0;C<s.length;C++){var O=Object(l.e)(s[C],2);F[C]={type:0,target:O[0],eventName:O[1],propName:null}}var M=(a=a||[]).map((function(n){var e=Object(l.e)(n,2),t=e[0],o=e[1],i=Object(l.e)(ph(t),2);return[i[0],i[1],o]}));return p=function(n){if(n&&n.id===jf){var e=null!=n.encapsulation&&n.encapsulation!==xn.None||n.styles.length||Object.keys(n.data).length;n.id=e?"c"+Hf++:Vf}return n&&n.id===Vf&&(n=null),n||null}(p),c&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:g,references:v,ngContentIndex:o,childCount:i,bindings:y,bindingFlags:fh(y),outputs:F,element:{ns:b,name:_,attrs:M,template:null,componentProvider:null,componentView:c||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:d||Af},provider:null,text:null,query:null,ngContent:null}}function hy(n,e,t){var o,i=t.element,r=n.root.selectorOrNode,a=n.renderer;if(n.parent||!r){o=i.name?a.createElement(i.name,i.ns):a.createComment("");var u=lh(n,e,t);u&&a.appendChild(u,o)}else o=a.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===xn.ShadowDom);if(i.attrs)for(var s=0;s<i.attrs.length;s++){var d=Object(l.e)(i.attrs[s],3);a.setAttribute(o,d[1],d[2],d[0])}return o}function my(n,e,t,l){for(var o=0;o<t.outputs.length;o++){var i=t.outputs[o],r=vy(n,t.nodeIndex,(c=i.eventName,(d=i.target)?d+":"+c:c)),a=i.target,u=n;"component"===i.target&&(a=null,u=e);var s=u.renderer.listen(a||l,i.eventName,r);n.disposables[t.outputIndex+o]=s}var d,c}function vy(n,e,t){return function(l){return Kf(n,e,t,l)}}function gy(n,e,t,l){if(!zf(n,e,t,l))return!1;var o=e.bindings[t],i=If(n,e.nodeIndex),r=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(n,e,t,l,o,i){var r=e.securityContext,a=r?n.root.sanitizer.sanitize(r,i):i;a=null!=a?a.toString():null;var u=n.renderer;null!=i?u.setAttribute(t,o,a,l):u.removeAttribute(t,o,l)}(n,o,r,o.ns,a,l);break;case 2:!function(n,e,t,l){var o=n.renderer;l?o.addClass(e,t):o.removeClass(e,t)}(n,r,a,l);break;case 4:!function(n,e,t,l,o){var i=n.root.sanitizer.sanitize(ai.STYLE,o);if(null!=i){i=i.toString();var r=e.suffix;null!=r&&(i+=r)}else i=null;var a=n.renderer;null!=i?a.setStyle(t,l,i):a.removeStyle(t,l)}(n,o,r,a,l);break;case 8:!function(n,e,t,l,o){var i=e.securityContext,r=i?n.root.sanitizer.sanitize(i,o):o;n.renderer.setProperty(t,l,r)}(33554432&e.flags&&32&o.flags?i.componentView:n,o,r,a,l)}return!0}function by(n,e,t){var l=[];for(var o in t)l.push({propName:o,bindingType:t[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:n,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:nh(e),bindings:l},ngContent:null}}function _y(n){for(var e=n.def.nodeMatchedQueries;n.parent&&Jf(n);){var t=n.parentNodeDef;n=n.parent;for(var l=t.nodeIndex+t.childCount,o=0;o<=l;o++)67108864&(i=n.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Of(n,o).setDirty(),!(1&i.flags&&o+i.childCount<t.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&n.def.nodeFlags)for(o=0;o<n.def.nodes.length;o++){var i;134217728&(i=n.def.nodes[o]).flags&&536870912&i.flags&&Of(n,o).setDirty(),o+=i.childCount}}function yy(n,e){var t=Of(n,e.nodeIndex);if(t.dirty){var l,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Cy(n,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),l=Df(n,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Cy(n,0,n.def.nodes.length-1,e.query,[]),l=n.component);t.reset(o);for(var r=e.query.bindings,a=!1,u=0;u<r.length;u++){var s=r[u],d=void 0;switch(s.bindingType){case 0:d=t.first;break;case 1:d=t,a=!0}l[s.propName]=d}a&&t.notifyOnChanges()}}function Cy(n,e,t,l,o){for(var i=e;i<=t;i++){var r=n.def.nodes[i],a=r.matchedQueries[l.id];if(null!=a&&o.push(wy(n,r,a)),1&r.flags&&r.element.template&&(r.element.template.nodeMatchedQueries&l.filterId)===l.filterId){var u=If(n,i);if((r.childMatchedQueries&l.filterId)===l.filterId&&(Cy(n,i+1,i+r.childCount,l,o),i+=r.childCount),16777216&r.flags)for(var s=u.viewContainer._embeddedViews,d=0;d<s.length;d++){var c=s[d],p=Xf(c);p&&p===u&&Cy(c,0,c.def.nodes.length-1,l,o)}var f=u.template._projectedViews;if(f)for(d=0;d<f.length;d++){var h=f[d];Cy(h,0,h.def.nodes.length-1,l,o)}}(r.childMatchedQueries&l.filterId)!==l.filterId&&(i+=r.childCount)}return o}function wy(n,e,t){if(null!=t)switch(t){case 1:return If(n,e.nodeIndex).renderElement;case 0:return new Bp(If(n,e.nodeIndex).renderElement);case 2:return If(n,e.nodeIndex).template;case 3:return If(n,e.nodeIndex).viewContainer;case 4:return Df(n,e.nodeIndex).instance}}function Sy(n,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:n,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function xy(n,e,t){var l=lh(n,e,t);l&&uh(n,t.ngContent.index,1,l,null,void 0)}function ky(n,e){return Ry(128,n,new Array(e+1))}function Ey(n,e){return Ry(32,n,new Array(e))}function Ty(n,e){for(var t=Object.keys(e),l=t.length,o=new Array(l),i=0;i<l;i++){var r=t[i];o[e[r]]=r}return Ry(64,n,o)}function Ry(n,e,t){for(var l=new Array(t.length),o=0;o<t.length;o++){var i=t[o];l[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:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:l,bindingFlags:fh(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Iy(n,e,t){for(var l=new Array(t.length-1),o=1;o<t.length;o++)l[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:t[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:l,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:t[0]},query:null,ngContent:null}}function Dy(n,e,t){var l,o=n.renderer;l=o.createText(t.text.prefix);var i=lh(n,e,t);return i&&o.appendChild(i,l),{renderText:l}}function Fy(n,e){return(null!=n?n.toString():"")+e.suffix}function Oy(n,e,t,l){for(var o=0,i=0,r=0,a=0,u=0,s=null,d=null,c=!1,p=!1,f=null,h=0;h<e.length;h++){var m=e[h];if(m.nodeIndex=h,m.parent=s,m.bindingIndex=o,m.outputIndex=i,m.renderParent=d,r|=m.flags,u|=m.matchedQueryIds,m.element){var v=m.element;v.publicProviders=s?s.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,c=!1,p=!1,m.element.template&&(u|=m.element.template.nodeMatchedQueries)}if(Ny(s,m,e.length),o+=m.bindings.length,i+=m.outputs.length,!d&&3&m.flags&&(f=m),20224&m.flags){c||(c=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var g=0!=(32768&m.flags);0==(8192&m.flags)||g?s.element.publicProviders[qf(m.provider.token)]=m:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[qf(m.provider.token)]=m),g&&(s.element.componentProvider=m)}if(s?(s.childFlags|=m.flags,s.directChildFlags|=m.flags,s.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(s.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)s=m,My(m)||(d=m);else for(;s&&h===s.nodeIndex+s.childCount;){var b=s.parent;b&&(b.childFlags|=s.childFlags,b.childMatchedQueries|=s.childMatchedQueries),d=(s=b)&&My(s)?s.renderParent:s}}return{factory:null,nodeFlags:r,rootNodeFlags:a,nodeMatchedQueries:u,flags:n,nodes:e,updateDirectives:t||Af,updateRenderer:l||Af,handleEvent:function(n,t,l,o){return e[t].element.handleEvent(n,l,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function My(n){return 0!=(1&n.flags)&&null===n.element.name}function Ny(n,e,t){var l=e.element&&e.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.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&&0==(1&(n?n.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&&(!n||0==(16384&n.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&n)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=n?n.nodeIndex+n.childCount:t-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 Ay(n,e,t,l){var o=Ly(n.root,n.renderer,n,e,t);return jy(o,n.component,l),Vy(o),o}function Py(n,e,t){var l=Ly(n,n.renderer,null,null,e);return jy(l,t,t),Vy(l),l}function qy(n,e,t,l){var o,i=e.element.componentRendererType;return o=i?n.root.rendererFactory.createRenderer(l,i):n.root.renderer,Ly(n.root,o,n,e.element.componentProvider,t)}function Ly(n,e,t,l,o){var i=new Array(o.nodes.length),r=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:t,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:i,state:13,root:n,renderer:e,oldValues:new Array(o.bindingCount),disposables:r,initIndex:-1}}function jy(n,e,t){n.component=e,n.context=t}function Vy(n){var e;Qf(n)&&(e=If(n.parent,n.parentNodeDef.parent.nodeIndex).renderElement);for(var t=n.def,l=n.nodes,o=0;o<t.nodes.length;o++){var i=t.nodes[o];Nf.setCurrentNode(n,o);var r=void 0;switch(201347067&i.flags){case 1:var a=hy(n,e,i),u=void 0;if(33554432&i.flags){var s=ih(i.element.componentView);u=Nf.createComponentView(n,i,s,a)}my(n,u,i,a),r={renderElement:a,componentView:u,viewContainer:null,template:i.element.template?jh(n,i):void 0},16777216&i.flags&&(r.viewContainer=Ah(n,i,r));break;case 2:r=Dy(n,e,i);break;case 512:case 1024:case 2048:case 256:(r=l[o])||4096&i.flags||(r={instance:rm(n,i)});break;case 16:r={instance:am(n,i)};break;case 16384:(r=l[o])||(r={instance:um(n,i)}),32768&i.flags&&jy(If(n,i.parent.nodeIndex).componentView,r.instance,r.instance);break;case 32:case 64:case 128:r={value:void 0};break;case 67108864:case 134217728:r=new ng;break;case 8:xy(n,e,i),r=void 0}l[o]=r}Xy(n,Ky.CreateViewNodes),Jy(n,201326592,268435456,0)}function By(n){zy(n),Nf.updateDirectives(n,1),Yy(n,Ky.CheckNoChanges),Nf.updateRenderer(n,1),Xy(n,Ky.CheckNoChanges),n.state&=-97}function Hy(n){1&n.state?(n.state&=-2,n.state|=2):n.state&=-3,Ef(n,0,256),zy(n),Nf.updateDirectives(n,0),Yy(n,Ky.CheckAndUpdate),Jy(n,67108864,536870912,0);var e=Ef(n,256,512);vm(n,2097152|(e?1048576:0)),Nf.updateRenderer(n,0),Xy(n,Ky.CheckAndUpdate),Jy(n,134217728,536870912,0),vm(n,8388608|((e=Ef(n,512,768))?4194304:0)),2&n.def.flags&&(n.state&=-9),n.state&=-97,Ef(n,768,1024)}function Uy(n,e,t,o,i,r,a,u,s,d,c,p,f){return 0===t?function(n,e,t,l,o,i,r,a,u,s,d,c){switch(201347067&e.flags){case 1:return function(n,e,t,l,o,i,r,a,u,s,d,c){var p=e.bindings.length,f=!1;return p>0&&gy(n,e,0,t)&&(f=!0),p>1&&gy(n,e,1,l)&&(f=!0),p>2&&gy(n,e,2,o)&&(f=!0),p>3&&gy(n,e,3,i)&&(f=!0),p>4&&gy(n,e,4,r)&&(f=!0),p>5&&gy(n,e,5,a)&&(f=!0),p>6&&gy(n,e,6,u)&&(f=!0),p>7&&gy(n,e,7,s)&&(f=!0),p>8&&gy(n,e,8,d)&&(f=!0),p>9&&gy(n,e,9,c)&&(f=!0),f}(n,e,t,l,o,i,r,a,u,s,d,c);case 2:return function(n,e,t,l,o,i,r,a,u,s,d,c){var p=!1,f=e.bindings,h=f.length;if(h>0&&zf(n,e,0,t)&&(p=!0),h>1&&zf(n,e,1,l)&&(p=!0),h>2&&zf(n,e,2,o)&&(p=!0),h>3&&zf(n,e,3,i)&&(p=!0),h>4&&zf(n,e,4,r)&&(p=!0),h>5&&zf(n,e,5,a)&&(p=!0),h>6&&zf(n,e,6,u)&&(p=!0),h>7&&zf(n,e,7,s)&&(p=!0),h>8&&zf(n,e,8,d)&&(p=!0),h>9&&zf(n,e,9,c)&&(p=!0),p){var m=e.text.prefix;h>0&&(m+=Fy(t,f[0])),h>1&&(m+=Fy(l,f[1])),h>2&&(m+=Fy(o,f[2])),h>3&&(m+=Fy(i,f[3])),h>4&&(m+=Fy(r,f[4])),h>5&&(m+=Fy(a,f[5])),h>6&&(m+=Fy(u,f[6])),h>7&&(m+=Fy(s,f[7])),h>8&&(m+=Fy(d,f[8])),h>9&&(m+=Fy(c,f[9]));var v=Rf(n,e.nodeIndex).renderText;n.renderer.setValue(v,m)}return p}(n,e,t,l,o,i,r,a,u,s,d,c);case 16384:return function(n,e,t,l,o,i,r,a,u,s,d,c){var p=Df(n,e.nodeIndex),f=p.instance,h=!1,m=void 0,v=e.bindings.length;return v>0&&Uf(n,e,0,t)&&(h=!0,m=mm(n,p,e,0,t,m)),v>1&&Uf(n,e,1,l)&&(h=!0,m=mm(n,p,e,1,l,m)),v>2&&Uf(n,e,2,o)&&(h=!0,m=mm(n,p,e,2,o,m)),v>3&&Uf(n,e,3,i)&&(h=!0,m=mm(n,p,e,3,i,m)),v>4&&Uf(n,e,4,r)&&(h=!0,m=mm(n,p,e,4,r,m)),v>5&&Uf(n,e,5,a)&&(h=!0,m=mm(n,p,e,5,a,m)),v>6&&Uf(n,e,6,u)&&(h=!0,m=mm(n,p,e,6,u,m)),v>7&&Uf(n,e,7,s)&&(h=!0,m=mm(n,p,e,7,s,m)),v>8&&Uf(n,e,8,d)&&(h=!0,m=mm(n,p,e,8,d,m)),v>9&&Uf(n,e,9,c)&&(h=!0,m=mm(n,p,e,9,c,m)),m&&f.ngOnChanges(m),65536&e.flags&&Tf(n,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),h}(n,e,t,l,o,i,r,a,u,s,d,c);case 32:case 64:case 128:return function(n,e,t,l,o,i,r,a,u,s,d,c){var p=e.bindings,f=!1,h=p.length;if(h>0&&zf(n,e,0,t)&&(f=!0),h>1&&zf(n,e,1,l)&&(f=!0),h>2&&zf(n,e,2,o)&&(f=!0),h>3&&zf(n,e,3,i)&&(f=!0),h>4&&zf(n,e,4,r)&&(f=!0),h>5&&zf(n,e,5,a)&&(f=!0),h>6&&zf(n,e,6,u)&&(f=!0),h>7&&zf(n,e,7,s)&&(f=!0),h>8&&zf(n,e,8,d)&&(f=!0),h>9&&zf(n,e,9,c)&&(f=!0),f){var m=Ff(n,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(p.length),h>0&&(v[0]=t),h>1&&(v[1]=l),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=r),h>5&&(v[5]=a),h>6&&(v[6]=u),h>7&&(v[7]=s),h>8&&(v[8]=d),h>9&&(v[9]=c);break;case 64:v={},h>0&&(v[p[0].name]=t),h>1&&(v[p[1].name]=l),h>2&&(v[p[2].name]=o),h>3&&(v[p[3].name]=i),h>4&&(v[p[4].name]=r),h>5&&(v[p[5].name]=a),h>6&&(v[p[6].name]=u),h>7&&(v[p[7].name]=s),h>8&&(v[p[8].name]=d),h>9&&(v[p[9].name]=c);break;case 128:var g=t;switch(h){case 1:v=g.transform(t);break;case 2:v=g.transform(l);break;case 3:v=g.transform(l,o);break;case 4:v=g.transform(l,o,i);break;case 5:v=g.transform(l,o,i,r);break;case 6:v=g.transform(l,o,i,r,a);break;case 7:v=g.transform(l,o,i,r,a,u);break;case 8:v=g.transform(l,o,i,r,a,u,s);break;case 9:v=g.transform(l,o,i,r,a,u,s,d);break;case 10:v=g.transform(l,o,i,r,a,u,s,d,c)}}m.value=v}return f}(n,e,t,l,o,i,r,a,u,s,d,c);default:throw"unreachable"}}(n,e,o,i,r,a,u,s,d,c,p,f):function(n,e,t){switch(201347067&e.flags){case 1:return function(n,e,t){for(var l=!1,o=0;o<t.length;o++)gy(n,e,o,t[o])&&(l=!0);return l}(n,e,t);case 2:return function(n,e,t){for(var l=e.bindings,o=!1,i=0;i<t.length;i++)zf(n,e,i,t[i])&&(o=!0);if(o){var r="";for(i=0;i<t.length;i++)r+=Fy(t[i],l[i]);r=e.text.prefix+r;var a=Rf(n,e.nodeIndex).renderText;n.renderer.setValue(a,r)}return o}(n,e,t);case 16384:return function(n,e,t){for(var l=Df(n,e.nodeIndex),o=l.instance,i=!1,r=void 0,a=0;a<t.length;a++)Uf(n,e,a,t[a])&&(i=!0,r=mm(n,l,e,a,t[a],r));return r&&o.ngOnChanges(r),65536&e.flags&&Tf(n,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(n,e,t);case 32:case 64:case 128:return function(n,e,t){for(var o=e.bindings,i=!1,r=0;r<t.length;r++)zf(n,e,r,t[r])&&(i=!0);if(i){var a=Ff(n,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=t;break;case 64:for(u={},r=0;r<t.length;r++)u[o[r].name]=t[r];break;case 128:var s=t[0],d=t.slice(1);u=s.transform.apply(s,Object(l.f)(d))}a.value=u}return i}(n,e,t);default:throw"unreachable"}}(n,e,o)}function zy(n){var e=n.def;if(4&e.nodeFlags)for(var t=0;t<e.nodes.length;t++){var l=e.nodes[t];if(4&l.flags){var o=If(n,t).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var r=o[i];r.state|=32,Zf(r,n)}}else 0==(4&l.childFlags)&&(t+=l.childCount)}}function Gy(n,e,t,l,o,i,r,a,u,s,d,c,p){return 0===t?function(n,e,t,l,o,i,r,a,u,s,d,c){var p=e.bindings.length;p>0&&Gf(n,e,0,t),p>1&&Gf(n,e,1,l),p>2&&Gf(n,e,2,o),p>3&&Gf(n,e,3,i),p>4&&Gf(n,e,4,r),p>5&&Gf(n,e,5,a),p>6&&Gf(n,e,6,u),p>7&&Gf(n,e,7,s),p>8&&Gf(n,e,8,d),p>9&&Gf(n,e,9,c)}(n,e,l,o,i,r,a,u,s,d,c,p):function(n,e,t){for(var l=0;l<t.length;l++)Gf(n,e,l,t[l])}(n,e,l),!1}function Wy(n,e){if(Of(n,e.nodeIndex).dirty)throw Sf(Nf.createDebugContext(n,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&n.state))}function Zy(n){if(!(128&n.state)){if(Yy(n,Ky.Destroy),Xy(n,Ky.Destroy),vm(n,131072),n.disposables)for(var e=0;e<n.disposables.length;e++)n.disposables[e]();!function(n){if(16&n.state){var e=Xf(n);if(e){var t=e.template._projectedViews;t&&(_n(t,t.indexOf(n)),Nf.dirtyParentQueries(n))}}}(n),n.renderer.destroyNode&&function(n){for(var e=n.def.nodes.length,t=0;t<e;t++){var l=n.def.nodes[t];1&l.flags?n.renderer.destroyNode(If(n,t).renderElement):2&l.flags?n.renderer.destroyNode(Rf(n,t).renderText):(67108864&l.flags||134217728&l.flags)&&Of(n,t).destroy()}}(n),Qf(n)&&n.renderer.destroy(),n.state|=128}}var Ky=function(n){return n[n.CreateViewNodes=0]="CreateViewNodes",n[n.CheckNoChanges=1]="CheckNoChanges",n[n.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",n[n.CheckAndUpdate=3]="CheckAndUpdate",n[n.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",n[n.Destroy=5]="Destroy",n}({});function Xy(n,e){var t=n.def;if(33554432&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var o=t.nodes[l];33554432&o.flags?$y(If(n,l).componentView,e):0==(33554432&o.childFlags)&&(l+=o.childCount)}}function Yy(n,e){var t=n.def;if(16777216&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var o=t.nodes[l];if(16777216&o.flags)for(var i=If(n,l).viewContainer._embeddedViews,r=0;r<i.length;r++)$y(i[r],e);else 0==(16777216&o.childFlags)&&(l+=o.childCount)}}function $y(n,e){var t=n.state;switch(e){case Ky.CheckNoChanges:0==(128&t)&&(12==(12&t)?By(n):64&t&&Qy(n,Ky.CheckNoChangesProjectedViews));break;case Ky.CheckNoChangesProjectedViews:0==(128&t)&&(32&t?By(n):64&t&&Qy(n,e));break;case Ky.CheckAndUpdate:0==(128&t)&&(12==(12&t)?Hy(n):64&t&&Qy(n,Ky.CheckAndUpdateProjectedViews));break;case Ky.CheckAndUpdateProjectedViews:0==(128&t)&&(32&t?Hy(n):64&t&&Qy(n,e));break;case Ky.Destroy:Zy(n);break;case Ky.CreateViewNodes:Vy(n)}}function Qy(n,e){Yy(n,e),Xy(n,e)}function Jy(n,e,t,l){if(n.def.nodeFlags&e&&n.def.nodeFlags&t)for(var o=n.def.nodes.length,i=0;i<o;i++){var r=n.def.nodes[i];if(r.flags&e&&r.flags&t)switch(Nf.setCurrentNode(n,r.nodeIndex),l){case 0:yy(n,r);break;case 1:Wy(n,r)}r.childFlags&e&&r.childFlags&t||(i+=r.childCount)}}var nC=!1;function eC(){if(!nC){nC=!0;var n=Po()?{setCurrentNode:xC,createRootView:lC,createEmbeddedView:iC,createComponentView:rC,createNgModuleRef:aC,overrideProvider:cC,overrideComponentView:pC,clearOverrides:fC,checkAndUpdateView:gC,checkNoChangesView:bC,destroyView:_C,createDebugContext:function(n,e){return new OC(n,e)},handleEvent:kC,updateDirectives:EC,updateRenderer:TC}:{setCurrentNode:function(){},createRootView:tC,createEmbeddedView:Ay,createComponentView:qy,createNgModuleRef:Wh,overrideProvider:Af,overrideComponentView:Af,clearOverrides:Af,checkAndUpdateView:Hy,checkNoChangesView:By,destroyView:Zy,createDebugContext:function(n,e){return new OC(n,e)},handleEvent:function(n,e,t,l){return n.def.handleEvent(n,e,t,l)},updateDirectives:function(n,e){return n.def.updateDirectives(0===e?mC:vC,n)},updateRenderer:function(n,e){return n.def.updateRenderer(0===e?mC:vC,n)}};Nf.setCurrentNode=n.setCurrentNode,Nf.createRootView=n.createRootView,Nf.createEmbeddedView=n.createEmbeddedView,Nf.createComponentView=n.createComponentView,Nf.createNgModuleRef=n.createNgModuleRef,Nf.overrideProvider=n.overrideProvider,Nf.overrideComponentView=n.overrideComponentView,Nf.clearOverrides=n.clearOverrides,Nf.checkAndUpdateView=n.checkAndUpdateView,Nf.checkNoChangesView=n.checkNoChangesView,Nf.destroyView=n.destroyView,Nf.resolveDep=fm,Nf.createDebugContext=n.createDebugContext,Nf.handleEvent=n.handleEvent,Nf.updateDirectives=n.updateDirectives,Nf.updateRenderer=n.updateRenderer,Nf.dirtyParentQueries=_y}}function tC(n,e,t,l,o,i){var r=o.injector.get(Kp);return Py(oC(n,o,r,e,t),l,i)}function lC(n,e,t,l,o,i){var r=o.injector.get(Kp),a=oC(n,o,new qC(r),e,t),u=hC(l);return AC(SC.create,Py,null,[a,u,i])}function oC(n,e,t,l,o){var i=e.injector.get(ui),r=e.injector.get(So),a=t.createRenderer(null,null);return{ngModule:e,injector:n,projectableNodes:l,selectorOrNode:o,sanitizer:i,rendererFactory:t,renderer:a,errorHandler:r}}function iC(n,e,t,l){var o=hC(t);return AC(SC.create,Ay,null,[n,e,o,l])}function rC(n,e,t,l){return t=dC.get(e.element.componentProvider.provider.token)||hC(t),AC(SC.create,qy,null,[n,e,t,l])}function aC(n,e,t,l){return Wh(n,e,t,function(n){var e=function(n){var e=!1,t=!1;return 0===uC.size?{hasOverrides:e,hasDeprecatedOverrides:t}:(n.providers.forEach((function(n){var l=uC.get(n.token);3840&n.flags&&l&&(e=!0,t=t||l.deprecatedBehavior)})),n.modules.forEach((function(n){sC.forEach((function(l,o){D(o).providedIn===n&&(e=!0,t=t||l.deprecatedBehavior)}))})),{hasOverrides:e,hasDeprecatedOverrides:t})}(n),t=e.hasDeprecatedOverrides;return e.hasOverrides?(function(n){for(var e=0;e<n.providers.length;e++){var l=n.providers[e];t&&(l.flags|=4096);var o=uC.get(l.token);o&&(l.flags=-3841&l.flags|o.flags,l.deps=th(o.deps),l.value=o.value)}if(sC.size>0){var i=new Set(n.modules);sC.forEach((function(e,l){if(i.has(D(l).providedIn)){var o={token:l,flags:e.flags|(t?4096:0),deps:th(e.deps),value:e.value,index:n.providers.length};n.providers.push(o),n.providersByKey[qf(l)]=o}}))}}(n=n.factory((function(){return Af}))),n):n}(l))}var uC=new Map,sC=new Map,dC=new Map;function cC(n){var e;uC.set(n.token,n),"function"==typeof n.token&&(e=D(n.token))&&"function"==typeof e.providedIn&&sC.set(n.token,n)}function pC(n,e){var t=ih(Oh(e)),l=ih(t.nodes[0].element.componentView);dC.set(n,l)}function fC(){uC.clear(),sC.clear(),dC.clear()}function hC(n){if(0===uC.size)return n;var e=function(n){for(var e=[],t=null,l=0;l<n.nodes.length;l++){var o=n.nodes[l];1&o.flags&&(t=o),t&&3840&o.flags&&uC.has(o.provider.token)&&(e.push(t.nodeIndex),t=null)}return e}(n);if(0===e.length)return n;n=n.factory((function(){return Af}));for(var t=0;t<e.length;t++)l(n,e[t]);return n;function l(n,e){for(var t=e+1;t<n.nodes.length;t++){var l=n.nodes[t];if(1&l.flags)return;if(3840&l.flags){var o=l.provider,i=uC.get(o.token);i&&(l.flags=-3841&l.flags|i.flags,o.deps=th(i.deps),o.value=i.value)}}}}function mC(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=n.def.nodes[e];return Uy(n,f,t,l,o,i,r,a,u,s,d,c,p),224&f.flags?Ff(n,e).value:void 0}function vC(n,e,t,l,o,i,r,a,u,s,d,c,p){var f=n.def.nodes[e];return Gy(n,f,t,l,o,i,r,a,u,s,d,c,p),224&f.flags?Ff(n,e).value:void 0}function gC(n){return AC(SC.detectChanges,Hy,null,[n])}function bC(n){return AC(SC.checkNoChanges,By,null,[n])}function _C(n){return AC(SC.destroy,Zy,null,[n])}var yC,CC,wC,SC=function(n){return n[n.create=0]="create",n[n.detectChanges=1]="detectChanges",n[n.checkNoChanges=2]="checkNoChanges",n[n.destroy=3]="destroy",n[n.handleEvent=4]="handleEvent",n}({});function xC(n,e){CC=n,wC=e}function kC(n,e,t,l){return xC(n,e),AC(SC.handleEvent,n.def.handleEvent,null,[n,e,t,l])}function EC(n,e){if(128&n.state)throw kf(SC[yC]);return xC(n,DC(n,0)),n.def.updateDirectives((function(n,t,l){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var r=n.def.nodes[t];return 0===e?RC(n,r,l,o):IC(n,r,l,o),16384&r.flags&&xC(n,DC(n,t)),224&r.flags?Ff(n,r.nodeIndex).value:void 0}),n)}function TC(n,e){if(128&n.state)throw kf(SC[yC]);return xC(n,FC(n,0)),n.def.updateRenderer((function(n,t,l){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var r=n.def.nodes[t];return 0===e?RC(n,r,l,o):IC(n,r,l,o),3&r.flags&&xC(n,FC(n,t)),224&r.flags?Ff(n,r.nodeIndex).value:void 0}),n)}function RC(n,e,t,o){if(Uy.apply(void 0,Object(l.f)([n,e,t],o))){var i=1===t?o[0]:o;if(16384&e.flags){for(var r={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=i[a];8&u.flags&&(r[(f=u.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(Ci,(function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return"-"+n[1].toLowerCase()})))]=wi(s))}var d=e.parent,c=If(n,d.nodeIndex).renderElement;if(d.element.name)for(var p in r)null!=(s=r[p])?n.renderer.setAttribute(c,p,s):n.renderer.removeAttribute(c,p);else n.renderer.setValue(c,"bindings="+JSON.stringify(r,null,2))}}var f}function IC(n,e,t,o){Gy.apply(void 0,Object(l.f)([n,e,t],o))}function DC(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(16384&l.flags&&l.bindings&&l.bindings.length)return t}return null}function FC(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(3&l.flags&&l.bindings&&l.bindings.length)return t}return null}var OC=function(){function n(n,e){this.view=n,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=n.def.nodes[e];for(var t=this.nodeDef,l=n;t&&0==(1&t.flags);)t=t.parent;if(!t)for(;!t&&l;)t=Yf(l),l=l.parent;this.elDef=t,this.elView=l}return Object.defineProperty(n.prototype,"elOrCompView",{get:function(){return If(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return Bh(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){var n=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&n.push(t.provider.token),e+=t.childCount}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){var n={};if(this.elDef){NC(this.elView,this.elDef,n);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&NC(this.elView,t,n),e+=t.childCount}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderElement",{get:function(){var n=function(n){for(;n&&!Qf(n);)n=n.parent;return n.parent?If(n.parent,Yf(n).nodeIndex):null}(this.elOrCompView);return n?n.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?$f(this.view,this.nodeDef):$f(this.elView,this.elDef)},enumerable:!0,configurable:!0}),n.prototype.logError=function(n){for(var e,t,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];2&this.nodeDef.flags?(e=this.view.def,t=this.nodeDef.nodeIndex):(e=this.elView.def,t=this.elDef.nodeIndex);var r=MC(e,t),a=-1,u=function(){var e;return++a===r?(e=n.error).bind.apply(e,Object(l.f)([n],o)):Af};e.factory(u),a<r&&(n.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),n.error.apply(n,Object(l.f)(o)))},n}();function MC(n,e){for(var t=-1,l=0;l<=e;l++)3&n.nodes[l].flags&&t++;return t}function NC(n,e,t){for(var l in e.references)t[l]=wy(n,e,e.references[l])}function AC(n,e,t,l){var o,i,r=yC,a=CC,u=wC;try{yC=n;var s=e.apply(t,l);return CC=a,wC=u,yC=r,s}catch(d){if(yo(d)||!CC)throw d;throw o=d,i=PC(),o instanceof Error||(o=new Error(o.toString())),xf(o,i),o}}function PC(){return CC?new OC(CC,wC):null}var qC=function(){function n(n){this.delegate=n}return n.prototype.createRenderer=function(n,e){return new LC(this.delegate.createRenderer(n,e))},n.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},n.prototype.end=function(){this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},n}(),LC=function(){function n(n){this.delegate=n,this.debugContextFactory=PC,this.data=this.delegate.data}return n.prototype.createDebugContext=function(n){return this.debugContextFactory(n)},n.prototype.destroyNode=function(n){var e=ey(n);!function(n){Q_.delete(n.nativeNode)}(e),e instanceof V_&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(n)},n.prototype.destroy=function(){this.delegate.destroy()},n.prototype.createElement=function(n,e){var t=this.delegate.createElement(n,e),l=this.createDebugContext(t);if(l){var o=new B_(t,null,l);o.name=n,ty(o)}return t},n.prototype.createComment=function(n){var e=this.delegate.createComment(n),t=this.createDebugContext(e);return t&&ty(new V_(e,null,t)),e},n.prototype.createText=function(n){var e=this.delegate.createText(n),t=this.createDebugContext(e);return t&&ty(new V_(e,null,t)),e},n.prototype.appendChild=function(n,e){var t=ey(n),l=ey(e);t&&l&&t instanceof B_&&t.addChild(l),this.delegate.appendChild(n,e)},n.prototype.insertBefore=function(n,e,t){var l=ey(n),o=ey(e),i=ey(t);l&&o&&l instanceof B_&&l.insertBefore(i,o),this.delegate.insertBefore(n,e,t)},n.prototype.removeChild=function(n,e){var t=ey(n),l=ey(e);t&&l&&t instanceof B_&&t.removeChild(l),this.delegate.removeChild(n,e)},n.prototype.selectRootElement=function(n,e){var t=this.delegate.selectRootElement(n,e),l=PC();return l&&ty(new B_(t,null,l)),t},n.prototype.setAttribute=function(n,e,t,l){var o=ey(n);o&&o instanceof B_&&(o.attributes[l?l+":"+e:e]=t),this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){var l=ey(n);l&&l instanceof B_&&(l.attributes[t?t+":"+e:e]=null),this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){var t=ey(n);t&&t instanceof B_&&(t.classes[e]=!0),this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){var t=ey(n);t&&t instanceof B_&&(t.classes[e]=!1),this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){var o=ey(n);o&&o instanceof B_&&(o.styles[e]=t),this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){var l=ey(n);l&&l instanceof B_&&(l.styles[e]=null),this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){var l=ey(n);l&&l instanceof B_&&(l.properties[e]=t),this.delegate.setProperty(n,e,t)},n.prototype.listen=function(n,e,t){if("string"!=typeof n){var l=ey(n);l&&l.listeners.push(new j_(e,t))}return this.delegate.listen(n,e,t)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setValue=function(n,e){return this.delegate.setValue(n,e)},n}();function jC(n){return eC(),Nf.overrideProvider(n)}function VC(n,e){return eC(),Nf.overrideComponentView(n,e)}function BC(){return eC(),Nf.clearOverrides()}function HC(n,e,t){return new UC(n,e,t)}var UC=function(n){function e(e,t,l){var o=n.call(this)||this;return o.moduleType=e,o._bootstrapComponents=t,o._ngModuleDefFactory=l,o}return Object(l.c)(e,n),e.prototype.create=function(n){eC();var e=function(n){var e=Array.from(n.providers),t=Array.from(n.modules),l={};for(var o in n.providersByKey)l[o]=n.providersByKey[o];return{factory:n.factory,isRoot:n.isRoot,providers:e,modules:t,providersByKey:l}}(ih(this._ngModuleDefFactory));return Nf.createNgModuleRef(this.moduleType,n||Pu.NULL,this._bootstrapComponents,e)},e}(hn)},Cr8c:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("ad02");function o(n,e){return Object(l.a)((function(t,l){return e?e(t[n],l[n]):t[n]===l[n]}))}},CwTu:function(n,e,t){var l=t("XDwu"),o=t("vI5D");function i(n,e){var t=n&&n.loc&&n.loc[e];return t?{offset:t.offset,line:t.line,column:t.column}:null}n.exports={SyntaxReferenceError:function(n,e){var t=l("SyntaxReferenceError",n+(e?" `"+e+"`":""));return t.reference=e,t},MatchError:function(n,e,t,r){var a=l("SyntaxMatchError",n),u=function(n){for(var e=n.tokens,t=n.longestMatch,l=t<e.length?e[t].node:null,o=-1,i=0,r="",a=0;a<e.length;a++)a===t&&(o=r.length),null!==l&&e[a].node===l&&(a<=t?i++:i=0),r+=e[a].value;return{node:l,css:r,mismatchOffset:-1===o?r.length:o,last:null===l||i>1}}(r),s=u.mismatchOffset||0,d=u.node||t,c=i(d,"end"),p=u.last?c:i(d,"start"),f=u.css;return a.rawMessage=n,a.syntax=e?o(e):"<generic>",a.css=f,a.mismatchOffset=s,a.loc={source:d&&d.loc&&d.loc.source||"<unknown>",start:p,end:c},a.line=p?p.line:void 0,a.column=p?p.column:void 0,a.offset=p?p.offset:void 0,a.message=n+"\n syntax: "+a.syntax+"\n value: "+(a.css||"<empty string>")+"\n --------"+new Array(a.mismatchOffset+1).join("-")+"^",a}}},DDB3:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,i=l.Function,r=l.Colon,a=l.RightParenthesis;n.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null;return this.eat(r),this.eat(r),this.scanner.tokenType===i?(e=(n=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(e)?(this.scanner.skipSC(),l=this.pseudo[e].call(this),this.scanner.skipSC()):(l=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(a)):n=this.consume(o),{type:"PseudoElementSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:n,children:l}},generate:function(n){this.chunk("::"),this.chunk(n.name),null!==n.children&&(this.chunk("("),this.children(n),this.chunk(")"))},walkContext:"function"}},DJod:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,i=l.WhiteSpace,r=l.Comment,a=l.Semicolon,u=l.AtKeyword,s=l.LeftCurlyBracket,d=l.RightCurlyBracket;function c(n){return this.Raw(n,null,!0)}function p(){return this.parseWithFallback(this.Rule,c)}function f(n){return this.Raw(n,o.semicolonIncluded,!0)}function h(){if(this.scanner.tokenType===a)return f.call(this,this.scanner.tokenIndex);var n=this.parseWithFallback(this.Declaration,f);return this.scanner.tokenType===a&&this.scanner.next(),n}n.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(n){var e=n?h:p,t=this.scanner.tokenStart,l=this.createList();this.eat(s);n:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case d:break n;case i:case r:this.scanner.next();break;case u:l.push(this.parseWithFallback(this.Atrule,c));break;default:l.push(e.call(this))}return this.scanner.eof||this.eat(d),{type:"Block",loc:this.getLocation(t,this.scanner.tokenStart),children:l}},generate:function(n){this.chunk("{"),this.children(n,(function(n){"Declaration"===n.type&&this.chunk(";")})),this.chunk("}")},walkContext:"block"}},DKLv:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(){return function(n){return n.lift(new r)}}var r=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.c(e,n),e.prototype._next=function(n){},e}(o.a)},DKTb:function(n,e,t){"use strict";function l(n){setTimeout((function(){throw n}),0)}t.d(e,"a",(function(){return l}))},DaYz:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.closingNotifier=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.closingNotifier))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.buffer=[],l.add(Object(i.a)(l,t)),l}return l.c(e,n),e.prototype._next=function(n){this.buffer.push(n)},e.prototype.notifyNext=function(n,e,t,l,o){var i=this.buffer;this.buffer=[],this.destination.next(i)},e}(o.a)},DlSv:function(n,e,t){window,n.exports=function(n){var e={};function t(l){if(e[l])return e[l].exports;var o=e[l]={i:l,l:!1,exports:{}};return n[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,l){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:l})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(t.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(l,o,(function(e){return n[e]}).bind(null,o));return l},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}([function(n,e,t){"use strict";t.r(e);const l="http://www.w3.org/2000/xmlns/",o="http://www.w3.org/2000/svg",i=10,r="untitled";var a=function(n){if(!(n instanceof SVGElement))throw new Error("SVG element is required");const e=function(){let n=window.document.createElementNS(o,"svg");document.body.appendChild(n),n.style.all="initial";const e=getComputedStyle(n);return document.body.removeChild(n),n=null,e}();n.setAttribute("version","1.1"),n.removeAttribute("xmlns"),n.removeAttribute("xlink"),n.hasAttributeNS(l,"xmlns")||n.setAttributeNS(l,"xmlns",o),n.hasAttributeNS(l,"xmlns:xlink")||n.setAttributeNS(l,"xmlns:xlink","http://www.w3.org/1999/xlink"),function(n,e){function t(n){const t=getComputedStyle(n);let l,o,i="";for(let r=0,a=t.length;r<a;r++)(o=t.getPropertyValue(l=t[r]))!==e.getPropertyValue(l)&&(i+=`${l}:${o};`);n.setAttribute("style",i)}const l=function(n){const e=[];return e.push(n),function n(t){if(t&&t.hasChildNodes()){let l=t.firstChild;for(;l;)1===l.nodeType&&"SCRIPT"!==l.nodeName&&(e.push(l),n(l)),l=l.nextSibling}}(n),e}(n);let o=l.length;for(;o--;)t(l[o])}(n,e);const t=(new XMLSerializer).serializeToString(n),i=n.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height,class:n.getAttribute("class"),id:n.getAttribute("id"),name:n.getAttribute("name"),childElementCount:n.childElementCount,source:'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+t}};function u(n){if(!(n instanceof SVGElement))throw new Error("SVG Element is required");return n.getAttribute("id")||n.getAttribute("class")||window.document.title.replace(/[^a-z0-9]/gi,"-").toLowerCase()||r}function s(n,e,t){const l=document.createElement("a");document.body.appendChild(l),l.setAttribute("class","svg-crowbar"),l.setAttribute("download",n),l.setAttribute("href",e),l.style.display="none",l.click(),setTimeout(()=>{t&&t(),document.body.removeChild(l)},i)}t.d(e,"downloadPng",(function(){return d})),e.default=(n,e)=>(function(n,e=r){const t=URL.createObjectURL(new Blob([n.source],{type:"text/xml"}));s(`${e}.svg`,t,()=>URL.revokeObjectURL(t))})(a(n),e||u(n));const d=(n,e)=>(function(n,e=r){const t=document.createElement("canvas");document.body.appendChild(t),t.setAttribute("id","svg-image"),t.setAttribute("width",n.width),t.setAttribute("height",n.height),t.style.display="none";const l=t.getContext("2d"),o=n.source.replace(/[\u00A0-\u2666]/g,n=>`&#${n.charCodeAt(0)};`),i=`data:image/svg+xml;base64,${btoa(o)}`,a=new Image;a.onload=function(){l.drawImage(a,0,0);const n=t.toDataURL("image/png");s(`${e}.png`,n,()=>document.body.removeChild(t))},a.src=i})(a(n),e||u(n))}])},DtyJ:function(n,e,t){"use strict";t.r(e);var l=t("6blF"),o=t("KhEm"),i=t("IxPp"),r=t("xTla"),a=t("K9Ia"),u=t("26FU"),s=t("S5bw"),d=t("svcd"),c=t("KQya"),p=t("T1DM"),f=t("zo3G"),h=t("tHPV"),m=t("UR0p"),v=t("siIJ"),g=t("pugT"),b=t("FFOo"),_=t("60iU"),y=t("y3By"),C=t("+umK"),w=t("mChF");function S(n){return!!n&&(n instanceof l.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var x=t("b7mW"),k=t("3fWJ"),E=t("8g8A"),T=t("awvh"),R=t("3U0i"),I=t("pbg4"),D=t("emHa"),F=t("dzgT"),O=t("dEwP"),M=t("lYZG"),N=t("G5J1"),A=t("VNr4"),P=t("0/uQ"),q=t("bne5"),L=t("kERW"),j=t("GFlT"),V=t("mEZQ"),B=t("xXU7"),H=t("p0ib"),U=t("GDxn"),z=t("F/XL"),G=t("ELzr"),W=t("EWOM"),Z=t("jFaF"),K=t("Fxb1"),X=t("VnD/");function Y(n,e,t){return[Object(X.a)(e,t)(new l.a(Object(K.a)(n))),Object(X.a)(Object(Z.a)(e,t))(new l.a(Object(K.a)(n)))]}var $=t("W0Ae"),Q=t("vAyL"),J=t("XlPw"),nn=t("gI3B"),en=t("7Qw6"),tn=t("909l"),ln=t("i4X3"),on=t("iLxQ");t.d(e,"Observable",(function(){return l.a})),t.d(e,"ConnectableObservable",(function(){return o.a})),t.d(e,"GroupedObservable",(function(){return i.a})),t.d(e,"observable",(function(){return r.a})),t.d(e,"Subject",(function(){return a.b})),t.d(e,"BehaviorSubject",(function(){return u.a})),t.d(e,"ReplaySubject",(function(){return s.a})),t.d(e,"AsyncSubject",(function(){return d.a})),t.d(e,"asapScheduler",(function(){return c.a})),t.d(e,"asyncScheduler",(function(){return p.a})),t.d(e,"queueScheduler",(function(){return f.a})),t.d(e,"animationFrameScheduler",(function(){return h.a})),t.d(e,"VirtualTimeScheduler",(function(){return m.b})),t.d(e,"VirtualAction",(function(){return m.a})),t.d(e,"Scheduler",(function(){return v.a})),t.d(e,"Subscription",(function(){return g.a})),t.d(e,"Subscriber",(function(){return b.a})),t.d(e,"Notification",(function(){return _.a})),t.d(e,"NotificationKind",(function(){return _.b})),t.d(e,"pipe",(function(){return y.a})),t.d(e,"noop",(function(){return C.a})),t.d(e,"identity",(function(){return w.a})),t.d(e,"isObservable",(function(){return S})),t.d(e,"ArgumentOutOfRangeError",(function(){return x.a})),t.d(e,"EmptyError",(function(){return k.a})),t.d(e,"ObjectUnsubscribedError",(function(){return E.a})),t.d(e,"UnsubscriptionError",(function(){return T.a})),t.d(e,"TimeoutError",(function(){return R.a})),t.d(e,"bindCallback",(function(){return I.a})),t.d(e,"bindNodeCallback",(function(){return D.a})),t.d(e,"combineLatest",(function(){return F.b})),t.d(e,"concat",(function(){return O.a})),t.d(e,"defer",(function(){return M.a})),t.d(e,"empty",(function(){return N.b})),t.d(e,"forkJoin",(function(){return A.a})),t.d(e,"from",(function(){return P.a})),t.d(e,"fromEvent",(function(){return q.a})),t.d(e,"fromEventPattern",(function(){return L.a})),t.d(e,"generate",(function(){return j.a})),t.d(e,"iif",(function(){return V.a})),t.d(e,"interval",(function(){return B.a})),t.d(e,"merge",(function(){return H.a})),t.d(e,"never",(function(){return U.b})),t.d(e,"of",(function(){return z.a})),t.d(e,"onErrorResumeNext",(function(){return G.a})),t.d(e,"pairs",(function(){return W.a})),t.d(e,"partition",(function(){return Y})),t.d(e,"race",(function(){return $.a})),t.d(e,"range",(function(){return Q.a})),t.d(e,"throwError",(function(){return J.a})),t.d(e,"timer",(function(){return nn.a})),t.d(e,"using",(function(){return en.a})),t.d(e,"zip",(function(){return tn.b})),t.d(e,"scheduled",(function(){return ln.a})),t.d(e,"EMPTY",(function(){return N.a})),t.d(e,"NEVER",(function(){return U.a})),t.d(e,"config",(function(){return on.a}))},Du80:function(n,e,t){var l=t("vd7W"),o=new(t("8wsT")),i={decorator:function(n){var e=null,t={len:0,node:null},l=[t],o="";return{children:n.children,node:function(t){var l=e;e=t,n.node.call(this,t),e=l},chunk:function(n){o+=n,t.node!==e?l.push({len:n.length,node:e}):t.len+=n.length},result:function(){return r(o,l)}}}};function r(n,e){var t=[],i=0,r=0,a=e?e[r].node:null;for(l(n,o);!o.eof;){if(e)for(;r<e.length&&i+e[r].len<=o.tokenStart;)i+=e[r++].len,a=e[r].node;t.push({type:o.tokenType,value:o.getTokenValue(),index:o.tokenIndex,balance:o.balance[o.tokenIndex],node:a}),o.next()}return t}n.exports=function(n,e){return"string"==typeof n?r(n,null):e.generate(n,i)}},ELzr:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("6blF"),o=t("0/uQ"),i=t("isby"),r=t("G5J1");function a(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(0===n.length)return r.a;var t=n[0],u=n.slice(1);return 1===n.length&&Object(i.a)(t)?a.apply(void 0,t):new l.a((function(n){var e=function(){return n.add(a.apply(void 0,u).subscribe(n))};return Object(o.a)(t).subscribe({next:function(e){n.next(e)},error:e,complete:e})}))}},EWOM:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("6blF"),o=t("pugT");function i(n,e){return new l.a(e?function(t){var l=Object.keys(n),i=new o.a;return i.add(e.schedule(r,0,{keys:l,index:0,subscriber:t,subscription:i,obj:n})),i}:function(e){for(var t=Object.keys(n),l=0;l<t.length&&!e.closed;l++){var o=t[l];n.hasOwnProperty(o)&&e.next([o,n[o]])}e.complete()})}function r(n){var e=n.keys,t=n.index,l=n.subscriber,o=n.subscription,i=n.obj;if(!l.closed)if(t<e.length){var r=e[t];l.next([r,i[r]]),o.add(this.schedule({keys:e,index:t+1,subscriber:l,subscription:o,obj:i}))}else l.complete()}},EaiB:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,i=l.Comment,r=l.Ident,a=l.Function,u=l.Colon,s=l.LeftParenthesis;function d(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function c(){return this.scanner.skipSC(),this.scanner.tokenType===r&&this.lookupNonWSType(1)===u?this.createSingleNodeList(this.Declaration()):p.call(this)}function p(){var n,e=this.createList(),t=null;this.scanner.skipSC();n:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case o:t=this.WhiteSpace();continue;case i:this.scanner.next();continue;case a:n=this.Function(d,this.scope.AtrulePrelude);break;case r:n=this.Identifier();break;case s:n=this.Parentheses(c,this.scope.AtrulePrelude);break;default:break n}null!==t&&(e.push(t),t=null),e.push(n)}return e}n.exports={parse:{prelude:function(){var n=p.call(this);return null===this.getFirstListNode(n)&&this.error("Condition is expected"),n},block:function(){return this.Block(!1)}}}},EcEN:function(n,e,t){var l=t("xDdU"),o=t("xk4V"),i=o;i.v1=l,i.v4=o,n.exports=i},EiPP:function(n,e,t){var l=t("O36p"),o=t("1aLD"),i=t("8wsT"),r=t("mK1g"),a=t("fmF7"),u=t("vd7W"),s=t("u5kB"),d=t("jpu9"),c=t("QtvL"),p=t("4HHr"),f=t("bgAe"),h=t("t1UP"),m=t("8XFM");e.create=function(n){return function n(e){var t=s(e),v=p(e),g=d(e),b=c(v),_={List:l,SyntaxError:o,TokenStream:i,Lexer:r,vendorPrefix:h.vendorPrefix,keyword:h.keyword,property:h.property,isCustomProperty:h.isCustomProperty,definitionSyntax:a,lexer:null,createLexer:function(n){return new r(n,_,_.lexer.structure)},tokenize:u,parse:t,walk:v,generate:g,find:v.find,findLast:v.findLast,findAll:v.findAll,clone:f,fromPlainObject:b.fromPlainObject,toPlainObject:b.toPlainObject,createSyntax:function(e){return n(m({},e))},fork:function(t){var l=m({},e);return n("function"==typeof t?t(l,Object.assign):m(l,t))}};return _.lexer=new r({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},_),_}(m({},n))}},"En8+":function(n,e,t){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}t.d(e,"a",(function(){return o}));var o=l()},"F/XL":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("nkY7"),o=t("IUTb"),i=t("JF+6");function r(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return Object(l.a)(t)?(n.pop(),Object(i.a)(n,t)):Object(o.a)(n)}},F1hP:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("dzgT");function o(n){return function(e){return e.lift(new l.a(n))}}},F977:function(n,e,t){var l=t("vd7W").isDigit,o=t("vd7W").TYPE,i=o.Number,r=o.Delim,a=46;function u(){this.scanner.skipWS();for(var n=this.consume(i),e=0;e<n.length;e++){var t=n.charCodeAt(e);l(t)||t===a||this.error("Unsigned number is expected",this.scanner.tokenStart-n.length+e)}return 0===Number(n)&&this.error("Zero number is not allowed",this.scanner.tokenStart-n.length),n}n.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var n,e=this.scanner.tokenStart,t=u.call(this);return this.scanner.skipWS(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.eat(r),n=u.call(this),{type:"Ratio",loc:this.getLocation(e,this.scanner.tokenStart),left:t,right:n}},generate:function(n){this.chunk(n.left),this.chunk("/"),this.chunk(n.right)}}},FEnK:function(n,e,t){var l=t("vd7W").TYPE,o=l.Semicolon,i=l.LeftCurlyBracket;n.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(n){var e=null;return null!==n&&(n=n.toLowerCase()),this.scanner.skipSC(),e=this.atrule.hasOwnProperty(n)&&"function"==typeof this.atrule[n].prelude?this.atrule[n].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==i&&this.scanner.tokenType!==o&&this.error("Semicolon or block is expected"),null===e&&(e=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(e),children:e}},generate:function(n){this.children(n)},walkContext:"atrulePrelude"}},FFOo:function(n,e,t){"use strict";t.d(e,"a",(function(){return d}));var l=t("mrSG"),o=t("2Bdj"),i=t("6ahw"),r=t("pugT"),a=t("L/V9"),u=t("iLxQ"),s=t("DKTb"),d=function(n){function e(t,l,o){var r=n.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=i.a;break;case 1:if(!t){r.destination=i.a;break}if("object"==typeof t){t instanceof e?(r.syncErrorThrowable=t.syncErrorThrowable,r.destination=t,t.add(r)):(r.syncErrorThrowable=!0,r.destination=new c(r,t));break}default:r.syncErrorThrowable=!0,r.destination=new c(r,t,l,o)}return r}return l.c(e,n),e.prototype[a.a]=function(){return this},e.create=function(n,t,l){var o=new e(n,t,l);return o.syncErrorThrowable=!1,o},e.prototype.next=function(n){this.isStopped||this._next(n)},e.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){this.destination.error(n),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var n=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this},e}(r.a),c=function(n){function e(e,t,l,r){var a,u=n.call(this)||this;u._parentSubscriber=e;var s=u;return Object(o.a)(t)?a=t:t&&(a=t.next,l=t.error,r=t.complete,t!==i.a&&(s=Object.create(t),Object(o.a)(s.unsubscribe)&&u.add(s.unsubscribe.bind(s)),s.unsubscribe=u.unsubscribe.bind(u))),u._context=s,u._next=a,u._error=l,u._complete=r,u}return l.c(e,n),e.prototype.next=function(n){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}},e.prototype.error=function(n){if(!this.isStopped){var e=this._parentSubscriber,t=u.a.useDeprecatedSynchronousErrorHandling;if(this._error)t&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)t?(e.syncErrorValue=n,e.syncErrorThrown=!0):Object(s.a)(n),this.unsubscribe();else{if(this.unsubscribe(),t)throw n;Object(s.a)(n)}}},e.prototype.complete=function(){var n=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var t=function(){return n._complete.call(n._context)};u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(n,e){try{n.call(this._context,e)}catch(t){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)}},e.prototype.__tryOrSetError=function(n,e,t){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,t)}catch(l){return u.a.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=l,n.syncErrorThrown=!0,!0):(Object(s.a)(l),!0)}return!1},e.prototype._unsubscribe=function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()},e}(d)},FYXD:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("67Y/");function o(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.length;if(0===t)throw new Error("list of properties cannot be empty.");return function(e){return Object(l.a)(function(n,e){return function(t){for(var l=t,o=0;o<e;o++){var i=l[n[o]];if(void 0===i)return;l=i}return l}}(n,t))(e)}}},Fm6d:function(n,e){var t=function(){};function l(n){return"function"==typeof n?n:t}n.exports=function(n,e,o){var i=t,r=t;if("function"==typeof e?i=e:e&&(i=l(e.enter),r=l(e.leave)),i===t&&r===t)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function n(e){switch(i.call(o,e),e.type){case"Group":e.terms.forEach(n);break;case"Multiplier":n(e.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+e.type)}r.call(o,e)}(n)}},Fxb1:function(n,e,t){"use strict";var l=t("+tJ4"),o=t("DKTb"),i=t("En8+"),r=t("xTla"),a=t("2ePl"),u=t("/WYv"),s=t("McSo");t.d(e,"a",(function(){return d}));var d=function(n){if(n&&"function"==typeof n[r.a])return d=n,function(n){var e=d[r.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)};if(Object(a.a)(n))return Object(l.a)(n);if(Object(u.a)(n))return t=n,function(n){return t.then((function(e){n.closed||(n.next(e),n.complete())}),(function(e){return n.error(e)})).then(null,o.a),n};if(n&&"function"==typeof n[i.a])return e=n,function(n){for(var t=e[i.a]();;){var l=t.next();if(l.done){n.complete();break}if(n.next(l.value),n.closed)break}return"function"==typeof t.return&&n.add((function(){t.return&&t.return()})),n};var e,t,d,c=Object(s.a)(n)?"an invalid object":"'"+n+"'";throw new TypeError("You provided "+c+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},Fzww:function(n,e,t){window,n.exports=function(n){var e={};function t(l){if(e[l])return e[l].exports;var o=e[l]={i:l,l:!1,exports:{}};return n[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,l){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:l})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(t.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(l,o,(function(e){return n[e]}).bind(null,o));return l},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n,e){this._disposables=[],this._socket=n,this._socket.binaryType="arraybuffer",this._bidirectional=!e||!1!==e.bidirectional}return n.prototype.activate=function(n){var e=this;this._disposables.push(o(this._socket,"message",(function(e){var t=e.data;n.write("string"==typeof t?t:new Uint8Array(t))}))),this._bidirectional&&(this._disposables.push(n.onData((function(n){return e._sendData(n)}))),this._disposables.push(n.onBinary((function(n){return e._sendBinary(n)})))),this._disposables.push(o(this._socket,"close",(function(){return e.dispose()}))),this._disposables.push(o(this._socket,"error",(function(){return e.dispose()})))},n.prototype.dispose=function(){this._disposables.forEach((function(n){return n.dispose()}))},n.prototype._sendData=function(n){1===this._socket.readyState&&this._socket.send(n)},n.prototype._sendBinary=function(n){if(1===this._socket.readyState){for(var e=new Uint8Array(n.length),t=0;t<n.length;++t)e[t]=255&n.charCodeAt(t);this._socket.send(e)}},n}();function o(n,e,t){return n.addEventListener(e,t),{dispose:function(){t&&n.removeEventListener(e,t)}}}e.AttachAddon=l}])},G5J1:function(n,e,t){"use strict";t.d(e,"a",(function(){return o})),t.d(e,"b",(function(){return i}));var l=t("6blF"),o=new l.a((function(n){return n.complete()}));function i(n){return n?function(n){return new l.a((function(e){return n.schedule((function(){return e.complete()}))}))}(n):o}},"G9/t":function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,i=l.AtKeyword,r=l.Semicolon,a=l.LeftCurlyBracket,u=l.RightCurlyBracket;function s(n){return this.Raw(n,o.leftCurlyBracketOrSemicolon,!0)}function d(){for(var n,e=1;n=this.scanner.lookupType(e);e++){if(n===u)return!0;if(n===a||n===i)return!1}return!1}n.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null,o=null;switch(this.eat(i),e=(n=this.scanner.substrToCursor(t+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==a&&this.scanner.tokenType!==r&&(this.parseAtrulePrelude?"AtrulePrelude"===(l=this.parseWithFallback(this.AtrulePrelude.bind(this,n),s)).type&&null===l.children.head&&(l=null):l=s.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case r:this.scanner.next();break;case a:o=this.atrule.hasOwnProperty(e)&&"function"==typeof this.atrule[e].block?this.atrule[e].block.call(this):this.Block(d.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.scanner.tokenStart),name:n,prelude:l,block:o}},generate:function(n){this.chunk("@"),this.chunk(n.name),null!==n.prelude&&(this.chunk(" "),this.node(n.prelude)),n.block?this.node(n.block):this.chunk(";")},walkContext:"atrule"}},GDxn:function(n,e,t){"use strict";t.d(e,"a",(function(){return i})),t.d(e,"b",(function(){return r}));var l=t("6blF"),o=t("+umK"),i=new l.a(o.a);function r(){return i}},GFlT:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("mChF"),i=t("nkY7");function r(n,e,t,r,u){var s,d;return 1==arguments.length?(d=n.initialState,e=n.condition,t=n.iterate,s=n.resultSelector||o.a,u=n.scheduler):void 0===r||Object(i.a)(r)?(d=n,s=o.a,u=r):(d=n,s=r),new l.a((function(n){var l=d;if(u)return u.schedule(a,0,{subscriber:n,iterate:t,condition:e,resultSelector:s,state:l});for(;;){if(e){var o=void 0;try{o=e(l)}catch(r){return void n.error(r)}if(!o){n.complete();break}}var i=void 0;try{i=s(l)}catch(r){return void n.error(r)}if(n.next(i),n.closed)break;try{l=t(l)}catch(r){return void n.error(r)}}}))}function a(n){var e=n.subscriber,t=n.condition;if(!e.closed){if(n.needIterate)try{n.state=n.iterate(n.state)}catch(i){return void e.error(i)}else n.needIterate=!0;if(t){var l=void 0;try{l=t(n.state)}catch(i){return void e.error(i)}if(!l)return void e.complete();if(e.closed)return}var o;try{o=n.resultSelector(n.state)}catch(i){return void e.error(i)}if(!e.closed&&(e.next(o),!e.closed))return this.schedule(n)}}},Gi3i:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("T1DM");function r(n,e){return void 0===e&&(e=i.a),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.dueTime=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.dueTime,this.scheduler))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.dueTime=t,o.scheduler=l,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return l.c(e,n),e.prototype._next=function(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var n=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}},e.prototype.clearDebounce=function(){var n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)},e}(o.a);function s(n){n.debouncedNext()}},HHXC:function(n,e){n.exports={name:"Operator",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.value)}}},HJBe:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return void 0===n&&(n=null),function(e){return e.lift(new r(n))}}var r=function(){function n(n){this.defaultValue=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.defaultValue))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.defaultValue=t,l.isEmpty=!0,l}return l.c(e,n),e.prototype._next=function(n){this.isEmpty=!1,this.destination.next(n)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.a)},HOgr:function(n,e,t){var l=t("vd7W").TYPE.CDO;n.exports={name:"CDO",structure:[],parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"CDO",loc:this.getLocation(n,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},HvLG:function(n,e,t){var l=t("vd7W").TYPE,o=l.Delim,i=l.Ident,r=l.Dimension,a=l.Percentage,u=l.Number,s=l.Hash,d=l.Colon,c=l.LeftSquareBracket;n.exports={getNode:function(n){switch(this.scanner.tokenType){case c:return this.AttributeSelector();case s:return this.IdSelector();case d:return this.scanner.lookupType(1)===d?this.PseudoElementSelector():this.PseudoClassSelector();case i:return this.TypeSelector();case u:case a:return this.Percentage();case r:46===this.scanner.source.charCodeAt(this.scanner.tokenStart)&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case o:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 43:case 62:case 126:return n.space=null,n.ignoreWSAfter=!0,this.Combinator();case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}}},I2ZF:function(n,e){for(var t=[],l=0;l<256;++l)t[l]=(l+256).toString(16).substr(1);n.exports=function(n,e){var l=e||0;return[t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]]].join("")}},IUTb:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("+tJ4"),i=t("JF+6");function r(n,e){return e?Object(i.a)(n,e):new l.a(Object(o.a)(n))}},Ip0R:function(n,e,t){"use strict";t.r(e),t.d(e,"ɵangular_packages_common_common_c",(function(){return ve})),t.d(e,"ɵangular_packages_common_common_h",(function(){return Un})),t.d(e,"ɵangular_packages_common_common_g",(function(){return Bn})),t.d(e,"ɵangular_packages_common_common_f",(function(){return Vn})),t.d(e,"ɵangular_packages_common_common_k",(function(){return ce})),t.d(e,"ɵangular_packages_common_common_j",(function(){return se})),t.d(e,"ɵangular_packages_common_common_i",(function(){return ue})),t.d(e,"ɵangular_packages_common_common_a",(function(){return kn})),t.d(e,"ɵangular_packages_common_common_b",(function(){return In})),t.d(e,"ɵangular_packages_common_common_e",(function(){return Ve})),t.d(e,"ɵangular_packages_common_common_d",(function(){return ut})),t.d(e,"ɵregisterLocaleData",(function(){return Dn})),t.d(e,"registerLocaleData",(function(){return Dn})),t.d(e,"formatDate",(function(){return Y})),t.d(e,"formatCurrency",(function(){return yn})),t.d(e,"formatNumber",(function(){return wn})),t.d(e,"formatPercent",(function(){return Cn})),t.d(e,"NgLocaleLocalization",(function(){return Rn})),t.d(e,"NgLocalization",(function(){return En})),t.d(e,"Plural",(function(){return m})),t.d(e,"NumberFormatStyle",(function(){return h})),t.d(e,"FormStyle",(function(){return v})),t.d(e,"TranslationWidth",(function(){return g})),t.d(e,"FormatWidth",(function(){return b})),t.d(e,"NumberSymbol",(function(){return _})),t.d(e,"WeekDay",(function(){return y})),t.d(e,"getNumberOfCurrencyDigits",(function(){return U})),t.d(e,"getCurrencySymbol",(function(){return B})),t.d(e,"getLocaleDayPeriods",(function(){return w})),t.d(e,"getLocaleDayNames",(function(){return S})),t.d(e,"getLocaleMonthNames",(function(){return x})),t.d(e,"getLocaleId",(function(){return C})),t.d(e,"getLocaleEraNames",(function(){return k})),t.d(e,"getLocaleWeekEndRange",(function(){return T})),t.d(e,"getLocaleFirstDayOfWeek",(function(){return E})),t.d(e,"getLocaleDateFormat",(function(){return R})),t.d(e,"getLocaleDateTimeFormat",(function(){return D})),t.d(e,"getLocaleExtraDayPeriodRules",(function(){return q})),t.d(e,"getLocaleExtraDayPeriods",(function(){return L})),t.d(e,"getLocalePluralCase",(function(){return A})),t.d(e,"getLocaleTimeFormat",(function(){return I})),t.d(e,"getLocaleNumberSymbol",(function(){return F})),t.d(e,"getLocaleNumberFormat",(function(){return O})),t.d(e,"getLocaleCurrencyName",(function(){return N})),t.d(e,"getLocaleCurrencySymbol",(function(){return M})),t.d(e,"ɵparseCookieValue",(function(){return Fn})),t.d(e,"CommonModule",(function(){return st})),t.d(e,"DeprecatedI18NPipesModule",(function(){return dt})),t.d(e,"NgClass",(function(){return Wn})),t.d(e,"NgClassBase",(function(){return Gn})),t.d(e,"NgForOf",(function(){return Xn})),t.d(e,"NgForOfContext",(function(){return Kn})),t.d(e,"NgIf",(function(){return $n})),t.d(e,"NgIfContext",(function(){return Qn})),t.d(e,"NgPlural",(function(){return oe})),t.d(e,"NgPluralCase",(function(){return ie})),t.d(e,"NgStyle",(function(){return he})),t.d(e,"NgStyleBase",(function(){return fe})),t.d(e,"NgSwitch",(function(){return ee})),t.d(e,"NgSwitchCase",(function(){return te})),t.d(e,"NgSwitchDefault",(function(){return le})),t.d(e,"NgTemplateOutlet",(function(){return me})),t.d(e,"NgComponentOutlet",(function(){return Zn})),t.d(e,"DOCUMENT",(function(){return ct})),t.d(e,"AsyncPipe",(function(){return ze})),t.d(e,"DatePipe",(function(){return Xe})),t.d(e,"I18nPluralPipe",(function(){return $e})),t.d(e,"I18nSelectPipe",(function(){return Qe})),t.d(e,"JsonPipe",(function(){return Je})),t.d(e,"LowerCasePipe",(function(){return Ge})),t.d(e,"CurrencyPipe",(function(){return ot})),t.d(e,"DecimalPipe",(function(){return tt})),t.d(e,"PercentPipe",(function(){return lt})),t.d(e,"SlicePipe",(function(){return at})),t.d(e,"UpperCasePipe",(function(){return Ke})),t.d(e,"TitleCasePipe",(function(){return Ze})),t.d(e,"KeyValuePipe",(function(){return nt})),t.d(e,"DeprecatedDatePipe",(function(){return Ne})),t.d(e,"DeprecatedCurrencyPipe",(function(){return je})),t.d(e,"DeprecatedDecimalPipe",(function(){return qe})),t.d(e,"DeprecatedPercentPipe",(function(){return Le})),t.d(e,"ɵPLATFORM_BROWSER_ID",(function(){return pt})),t.d(e,"ɵPLATFORM_SERVER_ID",(function(){return ft})),t.d(e,"ɵPLATFORM_WORKER_APP_ID",(function(){return ht})),t.d(e,"ɵPLATFORM_WORKER_UI_ID",(function(){return mt})),t.d(e,"isPlatformBrowser",(function(){return vt})),t.d(e,"isPlatformServer",(function(){return gt})),t.d(e,"isPlatformWorkerApp",(function(){return bt})),t.d(e,"isPlatformWorkerUi",(function(){return _t})),t.d(e,"VERSION",(function(){return yt})),t.d(e,"ViewportScroller",(function(){return Ct})),t.d(e,"ɵNullViewportScroller",(function(){return St})),t.d(e,"ɵNgClassImplProvider__POST_R3__",(function(){return Hn})),t.d(e,"ɵNgClassR2Impl",(function(){return jn})),t.d(e,"ɵNgClassImpl",(function(){return Ln})),t.d(e,"ɵNgStyleImplProvider__POST_R3__",(function(){return de})),t.d(e,"ɵNgStyleR2Impl",(function(){return ae})),t.d(e,"ɵNgStyleImpl",(function(){return re})),t.d(e,"ɵngStyleDirectiveDef__POST_R3__",(function(){return pe})),t.d(e,"ɵngClassDirectiveDef__POST_R3__",(function(){return zn})),t.d(e,"PlatformLocation",(function(){return i})),t.d(e,"LOCATION_INITIALIZED",(function(){return r})),t.d(e,"LocationStrategy",(function(){return a})),t.d(e,"APP_BASE_HREF",(function(){return u})),t.d(e,"HashLocationStrategy",(function(){return c})),t.d(e,"PathLocationStrategy",(function(){return p})),t.d(e,"Location",(function(){return s}));var l=t("CcnG"),o=t("mrSG"),i=function(){return function(){}}(),r=new l.InjectionToken("Location Initialized"),a=function(){return function(){}}(),u=new l.InjectionToken("appBaseHref"),s=function(){function n(n,t){var o=this;this._subject=new l.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=n;var i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=e.stripTrailingSlash(d(i)),this._platformStrategy.onPopState((function(n){o._subject.emit({url:o.path(!0),pop:!0,state:n.state,type:n.type})}))}var e;return e=n,n.prototype.path=function(n){return void 0===n&&(n=!1),this.normalize(this._platformStrategy.path(n))},n.prototype.getState=function(){return this._platformLocation.getState()},n.prototype.isCurrentPathEqualTo=function(n,t){return void 0===t&&(t=""),this.path()==this.normalize(n+e.normalizeQueryParams(t))},n.prototype.normalize=function(n){return e.stripTrailingSlash(function(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,d(n)))},n.prototype.prepareExternalUrl=function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)},n.prototype.go=function(n,t,l){void 0===t&&(t=""),void 0===l&&(l=null),this._platformStrategy.pushState(l,"",n,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+e.normalizeQueryParams(t)),l)},n.prototype.replaceState=function(n,t,l){void 0===t&&(t=""),void 0===l&&(l=null),this._platformStrategy.replaceState(l,"",n,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+e.normalizeQueryParams(t)),l)},n.prototype.forward=function(){this._platformStrategy.forward()},n.prototype.back=function(){this._platformStrategy.back()},n.prototype.onUrlChange=function(n){var e=this;this._urlChangeListeners.push(n),this.subscribe((function(n){e._notifyUrlChangeListeners(n.url,n.state)}))},n.prototype._notifyUrlChangeListeners=function(n,e){void 0===n&&(n=""),this._urlChangeListeners.forEach((function(t){return t(n,e)}))},n.prototype.subscribe=function(n,e,t){return this._subject.subscribe({next:n,error:e,complete:t})},n.normalizeQueryParams=function(n){return n&&"?"!==n[0]?"?"+n:n},n.joinWithSlash=function(n,e){if(0==n.length)return e;if(0==e.length)return n;var t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e},n.stripTrailingSlash=function(n){var e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)},n}();function d(n){return n.replace(/\/index.html$/,"")}var c=function(n){function e(e,t){var l=n.call(this)||this;return l._platformLocation=e,l._baseHref="",null!=t&&(l._baseHref=t),l}return Object(o.c)(e,n),e.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(n){void 0===n&&(n=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(n){var e=s.joinWithSlash(this._baseHref,n);return e.length>0?"#"+e:e},e.prototype.pushState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,e,o)},e.prototype.replaceState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=function(n){function e(e,t){var l=n.call(this)||this;if(l._platformLocation=e,null==t&&(t=l._platformLocation.getBaseHrefFromDOM()),null==t)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 l._baseHref=t,l}return Object(o.c)(e,n),e.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(n){return s.joinWithSlash(this._baseHref,n)},e.prototype.path=function(n){void 0===n&&(n=!1);var e=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),t=this._platformLocation.hash;return t&&n?""+e+t:e},e.prototype.pushState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.pushState(n,e,o)},e.prototype.replaceState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.replaceState(n,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),f={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},h=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}({}),m=function(n){return n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other",n}({}),v=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}({}),g=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}({}),b=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}({}),_=function(n){return n[n.Decimal=0]="Decimal",n[n.Group=1]="Group",n[n.List=2]="List",n[n.PercentSign=3]="PercentSign",n[n.PlusSign=4]="PlusSign",n[n.MinusSign=5]="MinusSign",n[n.Exponential=6]="Exponential",n[n.SuperscriptingExponent=7]="SuperscriptingExponent",n[n.PerMille=8]="PerMille",n[n[1/0]=9]="Infinity",n[n.NaN=10]="NaN",n[n.TimeSeparator=11]="TimeSeparator",n[n.CurrencyDecimal=12]="CurrencyDecimal",n[n.CurrencyGroup=13]="CurrencyGroup",n}({}),y=function(n){return n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday",n}({});function C(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].LocaleId]}function w(n,e,t){var o=Object(l["ɵfindLocaleData"])(n),i=j([o[l["ɵLocaleDataIndex"].DayPeriodsFormat],o[l["ɵLocaleDataIndex"].DayPeriodsStandalone]],e);return j(i,t)}function S(n,e,t){var o=Object(l["ɵfindLocaleData"])(n),i=j([o[l["ɵLocaleDataIndex"].DaysFormat],o[l["ɵLocaleDataIndex"].DaysStandalone]],e);return j(i,t)}function x(n,e,t){var o=Object(l["ɵfindLocaleData"])(n),i=j([o[l["ɵLocaleDataIndex"].MonthsFormat],o[l["ɵLocaleDataIndex"].MonthsStandalone]],e);return j(i,t)}function k(n,e){return j(Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].Eras],e)}function E(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].FirstDayOfWeek]}function T(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].WeekendRange]}function R(n,e){return j(Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].DateFormat],e)}function I(n,e){return j(Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].TimeFormat],e)}function D(n,e){return j(Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].DateTimeFormat],e)}function F(n,e){var t=Object(l["ɵfindLocaleData"])(n),o=t[l["ɵLocaleDataIndex"].NumberSymbols][e];if(void 0===o){if(e===_.CurrencyDecimal)return t[l["ɵLocaleDataIndex"].NumberSymbols][_.Decimal];if(e===_.CurrencyGroup)return t[l["ɵLocaleDataIndex"].NumberSymbols][_.Group]}return o}function O(n,e){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].NumberFormats][e]}function M(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].CurrencySymbol]||null}function N(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].CurrencyName]||null}var A=l["ɵgetLocalePluralCase"];function P(n){if(!n[l["ɵLocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'+n[l["ɵLocaleDataIndex"].LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function q(n){var e=Object(l["ɵfindLocaleData"])(n);return P(e),(e[l["ɵLocaleDataIndex"].ExtraData][2]||[]).map((function(n){return"string"==typeof n?V(n):[V(n[0]),V(n[1])]}))}function L(n,e,t){var o=Object(l["ɵfindLocaleData"])(n);P(o);var i=j([o[l["ɵLocaleDataIndex"].ExtraData][0],o[l["ɵLocaleDataIndex"].ExtraData][1]],e)||[];return j(i,t)||[]}function j(n,e){for(var t=e;t>-1;t--)if(void 0!==n[t])return n[t];throw new Error("Locale data API: locale data undefined")}function V(n){var e=Object(o.e)(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function B(n,e,t){void 0===t&&(t="en");var o=function(n){return Object(l["ɵfindLocaleData"])(n)[l["ɵLocaleDataIndex"].Currencies]}(t)[n]||f[n]||[],i=o[1];return"narrow"===e&&"string"==typeof i?i:o[0]||n}var H=2;function U(n){var e,t=f[n];return t&&(e=t[2]),"number"==typeof e?e:H}var z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,G={},W=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Z=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}({}),K=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}({}),X=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}({});function Y(n,e,t,l){var i=function(n){if(sn(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){n=n.trim();var e,t=parseFloat(n);if(!isNaN(n-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var l=Object(o.e)(n.split("-").map((function(n){return+n})),3);return new Date(l[0],l[1]-1,l[2])}if(e=n.match(z))return un(e)}var i=new Date(n);if(!sn(i))throw new Error('Unable to convert "'+n+'" into a date');return i}(n);e=function n(e,t){var l=C(e);if(G[l]=G[l]||{},G[l][t])return G[l][t];var o="";switch(t){case"shortDate":o=R(e,b.Short);break;case"mediumDate":o=R(e,b.Medium);break;case"longDate":o=R(e,b.Long);break;case"fullDate":o=R(e,b.Full);break;case"shortTime":o=I(e,b.Short);break;case"mediumTime":o=I(e,b.Medium);break;case"longTime":o=I(e,b.Long);break;case"fullTime":o=I(e,b.Full);break;case"short":var i=n(e,"shortTime"),r=n(e,"shortDate");o=$(D(e,b.Short),[i,r]);break;case"medium":var a=n(e,"mediumTime"),u=n(e,"mediumDate");o=$(D(e,b.Medium),[a,u]);break;case"long":var s=n(e,"longTime"),d=n(e,"longDate");o=$(D(e,b.Long),[s,d]);break;case"full":var c=n(e,"fullTime"),p=n(e,"fullDate");o=$(D(e,b.Full),[c,p])}return o&&(G[l][t]=o),o}(t,e)||e;for(var r,a=[];e;){if(!(r=W.exec(e))){a.push(e);break}var u=(a=a.concat(r.slice(1))).pop();if(!u)break;e=u}var s=i.getTimezoneOffset();l&&(s=an(l,s),i=function(n,e,t){var l=n.getTimezoneOffset();return function(n,e){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+e),n}(n,-1*(an(e,l)-l))}(i,l));var d="";return a.forEach((function(n){var e=function(n){if(rn[n])return rn[n];var e;switch(n){case"G":case"GG":case"GGG":e=nn(X.Eras,g.Abbreviated);break;case"GGGG":e=nn(X.Eras,g.Wide);break;case"GGGGG":e=nn(X.Eras,g.Narrow);break;case"y":e=J(K.FullYear,1,0,!1,!0);break;case"yy":e=J(K.FullYear,2,0,!0,!0);break;case"yyy":e=J(K.FullYear,3,0,!1,!0);break;case"yyyy":e=J(K.FullYear,4,0,!1,!0);break;case"M":case"L":e=J(K.Month,1,1);break;case"MM":case"LL":e=J(K.Month,2,1);break;case"MMM":e=nn(X.Months,g.Abbreviated);break;case"MMMM":e=nn(X.Months,g.Wide);break;case"MMMMM":e=nn(X.Months,g.Narrow);break;case"LLL":e=nn(X.Months,g.Abbreviated,v.Standalone);break;case"LLLL":e=nn(X.Months,g.Wide,v.Standalone);break;case"LLLLL":e=nn(X.Months,g.Narrow,v.Standalone);break;case"w":e=on(1);break;case"ww":e=on(2);break;case"W":e=on(1,!0);break;case"d":e=J(K.Date,1);break;case"dd":e=J(K.Date,2);break;case"E":case"EE":case"EEE":e=nn(X.Days,g.Abbreviated);break;case"EEEE":e=nn(X.Days,g.Wide);break;case"EEEEE":e=nn(X.Days,g.Narrow);break;case"EEEEEE":e=nn(X.Days,g.Short);break;case"a":case"aa":case"aaa":e=nn(X.DayPeriods,g.Abbreviated);break;case"aaaa":e=nn(X.DayPeriods,g.Wide);break;case"aaaaa":e=nn(X.DayPeriods,g.Narrow);break;case"b":case"bb":case"bbb":e=nn(X.DayPeriods,g.Abbreviated,v.Standalone,!0);break;case"bbbb":e=nn(X.DayPeriods,g.Wide,v.Standalone,!0);break;case"bbbbb":e=nn(X.DayPeriods,g.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":e=nn(X.DayPeriods,g.Abbreviated,v.Format,!0);break;case"BBBB":e=nn(X.DayPeriods,g.Wide,v.Format,!0);break;case"BBBBB":e=nn(X.DayPeriods,g.Narrow,v.Format,!0);break;case"h":e=J(K.Hours,1,-12);break;case"hh":e=J(K.Hours,2,-12);break;case"H":e=J(K.Hours,1);break;case"HH":e=J(K.Hours,2);break;case"m":e=J(K.Minutes,1);break;case"mm":e=J(K.Minutes,2);break;case"s":e=J(K.Seconds,1);break;case"ss":e=J(K.Seconds,2);break;case"S":e=J(K.FractionalSeconds,1);break;case"SS":e=J(K.FractionalSeconds,2);break;case"SSS":e=J(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=en(Z.Short);break;case"ZZZZZ":e=en(Z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=en(Z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=en(Z.Long);break;default:return null}return rn[n]=e,e}(n);d+=e?e(i,t,s):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),d}function $(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,(function(n,t){return null!=e&&t in e?e[t]:n}))),n}function Q(n,e,t,l,o){void 0===t&&(t="-");var i="";(n<0||o&&n<=0)&&(o?n=1-n:(n=-n,i=t));for(var r=String(n);r.length<e;)r="0"+r;return l&&(r=r.substr(r.length-e)),i+r}function J(n,e,t,l,o){return void 0===t&&(t=0),void 0===l&&(l=!1),void 0===o&&(o=!1),function(i,r){var a,u=function(n,e){switch(n){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+n+'".')}}(n,i);if((t>0||u>-t)&&(u+=t),n===K.Hours)0===u&&-12===t&&(u=12);else if(n===K.FractionalSeconds)return a=e,Q(u,3).substr(0,a);var s=F(r,_.MinusSign);return Q(u,e,s,l,o)}}function nn(n,e,t,l){return void 0===t&&(t=v.Format),void 0===l&&(l=!1),function(o,i){return function(n,e,t,l,o,i){switch(t){case X.Months:return x(e,o,l)[n.getMonth()];case X.Days:return S(e,o,l)[n.getDay()];case X.DayPeriods:var r=n.getHours(),a=n.getMinutes();if(i){var u,s=q(e),d=L(e,o,l);if(s.forEach((function(n,e){if(Array.isArray(n)){var t=n[0],l=n[1],o=l.hours;r>=t.hours&&a>=t.minutes&&(r<o||r===o&&a<l.minutes)&&(u=d[e])}else n.hours===r&&n.minutes===a&&(u=d[e])})),u)return u}return w(e,o,l)[r<12?0:1];case X.Eras:return k(e,l)[n.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+t)}}(o,i,n,e,t,l)}}function en(n){return function(e,t,l){var o=-1*l,i=F(t,_.MinusSign),r=o>0?Math.floor(o/60):Math.ceil(o/60);switch(n){case Z.Short:return(o>=0?"+":"")+Q(r,2,i)+Q(Math.abs(o%60),2,i);case Z.ShortGMT:return"GMT"+(o>=0?"+":"")+Q(r,1,i);case Z.Long:return"GMT"+(o>=0?"+":"")+Q(r,2,i)+":"+Q(Math.abs(o%60),2,i);case Z.Extended:return 0===l?"Z":(o>=0?"+":"")+Q(r,2,i)+":"+Q(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+n+'"')}}}var tn=0,ln=4;function on(n,e){return void 0===e&&(e=!1),function(t,l){var o,i,r,a;if(e){var u=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+u)/7)}else{var d=(r=t.getFullYear(),a=new Date(r,tn,1).getDay(),new Date(r,0,1+(a<=ln?ln:ln+7)-a)),c=(i=t,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(ln-i.getDay()))).getTime()-d.getTime();o=1+Math.round(c/6048e5)}return Q(o,n,F(l,_.MinusSign))}}var rn={};function an(n,e){n=n.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function un(n){var e=new Date(0),t=0,l=0,o=n[8]?e.setUTCFullYear:e.setFullYear,i=n[8]?e.setUTCHours:e.setHours;n[9]&&(t=Number(n[9]+n[10]),l=Number(n[9]+n[11])),o.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));var r=Number(n[4]||0)-t,a=Number(n[5]||0)-l,u=Number(n[6]||0),s=Math.round(1e3*parseFloat("0."+(n[7]||0)));return i.call(e,r,a,u,s),e}function sn(n){return n instanceof Date&&!isNaN(n.valueOf())}var dn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cn=22,pn=".",fn="0",hn=";",mn=",",vn="#",gn="¤",bn="%";function _n(n,e,t,l,o,i,r){void 0===r&&(r=!1);var a="",u=!1;if(isFinite(n)){var s=function(n){var e,t,l,o,i,r=Math.abs(n)+"",a=0;for((t=r.indexOf(pn))>-1&&(r=r.replace(pn,"")),(l=r.search(/e/i))>0?(t<0&&(t=l),t+=+r.slice(l+1),r=r.substring(0,l)):t<0&&(t=r.length),l=0;r.charAt(l)===fn;l++);if(l===(i=r.length))e=[0],t=1;else{for(i--;r.charAt(i)===fn;)i--;for(t-=l,e=[],o=0;l<=i;l++,o++)e[o]=Number(r.charAt(l))}return t>cn&&(e=e.splice(0,cn-1),a=t-1,t=1),{digits:e,exponent:a,integerLen:t}}(n);r&&(s=function(n){if(0===n.digits[0])return n;var e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===e?n.digits.push(0,0):1===e&&n.digits.push(0),n.integerLen+=2),n}(s));var d=e.minInt,c=e.minFrac,p=e.maxFrac;if(i){var f=i.match(dn);if(null===f)throw new Error(i+" is not a valid digit info");var h=f[1],m=f[3],v=f[5];null!=h&&(d=xn(h)),null!=m&&(c=xn(m)),null!=v?p=xn(v):null!=m&&c>p&&(p=c)}!function(n,e,t){if(e>t)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+t+").");var l=n.digits,o=l.length-n.integerLen,i=Math.min(Math.max(e,o),t),r=i+n.integerLen,a=l[r];if(r>0){l.splice(Math.max(n.integerLen,r));for(var u=r;u<l.length;u++)l[u]=0}else{o=Math.max(0,o),n.integerLen=1,l.length=Math.max(1,r=i+1),l[0]=0;for(var s=1;s<r;s++)l[s]=0}if(a>=5)if(r-1<0){for(var d=0;d>r;d--)l.unshift(0),n.integerLen++;l.unshift(1),n.integerLen++}else l[r-1]++;for(;o<Math.max(0,i);o++)l.push(0);var c=0!==i,p=e+n.integerLen,f=l.reduceRight((function(n,e,t,l){return l[t]=(e+=n)<10?e:e-10,c&&(0===l[t]&&t>=p?l.pop():c=!1),e>=10?1:0}),0);f&&(l.unshift(f),n.integerLen++)}(s,c,p);var g=s.digits,b=s.integerLen,y=s.exponent,C=[];for(u=g.every((function(n){return!n}));b<d;b++)g.unshift(0);for(;b<0;b++)g.unshift(0);b>0?C=g.splice(b,g.length):(C=g,g=[0]);var w=[];for(g.length>=e.lgSize&&w.unshift(g.splice(-e.lgSize,g.length).join(""));g.length>e.gSize;)w.unshift(g.splice(-e.gSize,g.length).join(""));g.length&&w.unshift(g.join("")),a=w.join(F(t,l)),C.length&&(a+=F(t,o)+C.join("")),y&&(a+=F(t,_.Exponential)+"+"+y)}else a=F(t,_.Infinity);return n<0&&!u?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf}function yn(n,e,t,l,o){var i=Sn(O(e,h.Currency),F(e,_.MinusSign));return i.minFrac=U(l),i.maxFrac=i.minFrac,_n(n,i,e,_.CurrencyGroup,_.CurrencyDecimal,o).replace(gn,t).replace(gn,"")}function Cn(n,e,t){return _n(n,Sn(O(e,h.Percent),F(e,_.MinusSign)),e,_.Group,_.Decimal,t,!0).replace(new RegExp(bn,"g"),F(e,_.PercentSign))}function wn(n,e,t){return _n(n,Sn(O(e,h.Decimal),F(e,_.MinusSign)),e,_.Group,_.Decimal,t)}function Sn(n,e){void 0===e&&(e="-");var t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=n.split(hn),o=l[0],i=l[1],r=-1!==o.indexOf(pn)?o.split(pn):[o.substring(0,o.lastIndexOf(fn)+1),o.substring(o.lastIndexOf(fn)+1)],a=r[0],u=r[1]||"";t.posPre=a.substr(0,a.indexOf(vn));for(var s=0;s<u.length;s++){var d=u.charAt(s);d===fn?t.minFrac=t.maxFrac=s+1:d===vn?t.maxFrac=s+1:t.posSuf+=d}var c=a.split(mn);if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){var p=o.length-t.posPre.length-t.posSuf.length,f=i.indexOf(vn);t.negPre=i.substr(0,f).replace(/'/g,""),t.negSuf=i.substr(f+p).replace(/'/g,"")}else t.negPre=e+t.posPre,t.negSuf=t.posSuf;return t}function xn(n){var e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}var kn=new l.InjectionToken("UseV4Plurals"),En=function(){return function(){}}();function Tn(n,e,t,l){var o="="+n;if(e.indexOf(o)>-1)return o;if(o=t.getPluralCategory(n,l),e.indexOf(o)>-1)return o;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+n+'"')}var Rn=function(n){function e(e,t){var l=n.call(this)||this;return l.locale=e,l.deprecatedPluralFn=t,l}return Object(o.c)(e,n),e.prototype.getPluralCategory=function(n,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,n):A(e||this.locale)(n)){case m.Zero:return"zero";case m.One:return"one";case m.Two:return"two";case m.Few:return"few";case m.Many:return"many";default:return"other"}},e}(En);function In(n,e){"string"==typeof e&&(e=parseInt(e,10));var t=e,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),i=l.length,r=parseInt(l,10),a=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(n.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===t?m.One:m.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?m.One:m.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?m.One:m.Other;case"ar":return 0===t?m.Zero:1===t?m.One:2===t?m.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?m.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?m.Many:m.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?m.One:m.Other;case"be":return t%10==1&&t%100!=11?m.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?m.Few:t%10==0||t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?m.Many:m.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?m.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?m.Two:t%10===Math.floor(t%10)&&(t%10>=3&&t%10<=4||t%10==9)&&!(t%100>=10&&t%100<=19||t%100>=70&&t%100<=79||t%100>=90&&t%100<=99)?m.Few:0!==t&&t%1e6==0?m.Many:m.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||r%10==1&&r%100!=11?m.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?m.Few:m.Other;case"cs":case"sk":return 1===o&&0===i?m.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?m.Few:0!==i?m.Many:m.Other;case"cy":return 0===t?m.Zero:1===t?m.One:2===t?m.Two:3===t?m.Few:6===t?m.Many:m.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?m.One:m.Other;case"dsb":case"hsb":return 0===i&&o%100==1||r%100==1?m.One:0===i&&o%100==2||r%100==2?m.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4?m.Few:m.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?m.One:m.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&&r%10!=4&&r%10!=6&&r%10!=9?m.One:m.Other;case"ga":return 1===t?m.One:2===t?m.Two:t===Math.floor(t)&&t>=3&&t<=6?m.Few:t===Math.floor(t)&&t>=7&&t<=10?m.Many:m.Other;case"gd":return 1===t||11===t?m.One:2===t||12===t?m.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?m.Few:m.Other;case"gv":return 0===i&&o%10==1?m.One:0===i&&o%10==2?m.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?m.Many:m.Other:m.Few;case"he":return 1===o&&0===i?m.One:2===o&&0===i?m.Two:0!==i||t>=0&&t<=10||t%10!=0?m.Other:m.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?m.One:m.Other;case"ksh":return 0===t?m.Zero:1===t?m.One:m.Other;case"kw":case"naq":case"se":case"smn":return 1===t?m.One:2===t?m.Two:m.Other;case"lag":return 0===t?m.Zero:0!==o&&1!==o||0===t?m.Other:m.One;case"lt":return t%10!=1||t%100>=11&&t%100<=19?t%10===Math.floor(t%10)&&t%10>=2&&t%10<=9&&!(t%100>=11&&t%100<=19)?m.Few:0!==r?m.Many:m.Other:m.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===i&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=19?m.Zero:t%10==1&&t%100!=11||2===i&&r%10==1&&r%100!=11||2!==i&&r%10==1?m.One:m.Other;case"mk":return 0===i&&o%10==1||r%10==1?m.One:m.Other;case"mt":return 1===t?m.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?m.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?m.Many:m.Other;case"pl":return 1===o&&0===i?m.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?m.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?m.Many:m.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?m.One:m.Other;case"ro":return 1===o&&0===i?m.One:0!==i||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?m.Few:m.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?m.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?m.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?m.Many:m.Other;case"shi":return 0===o||1===t?m.One:t===Math.floor(t)&&t>=2&&t<=10?m.Few:m.Other;case"si":return 0===t||1===t||0===o&&1===r?m.One:m.Other;case"sl":return 0===i&&o%100==1?m.One:0===i&&o%100==2?m.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?m.Few:m.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?m.One:m.Other;default:return m.Other}}function Dn(n,e,t){"string"!=typeof e&&(t=e,e=n[l["ɵLocaleDataIndex"].LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),l["ɵLOCALE_DATA"][e]=n,t&&(l["ɵLOCALE_DATA"][e][l["ɵLocaleDataIndex"].ExtraData]=t)}function Fn(n,e){var t,l;e=encodeURIComponent(e);try{for(var i=Object(o.g)(n.split(";")),r=i.next();!r.done;r=i.next()){var a=r.value,u=a.indexOf("="),s=Object(o.e)(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),d=s[1];if(s[0].trim()===e)return decodeURIComponent(d)}}catch(c){t={error:c}}finally{try{r&&!r.done&&(l=i.return)&&l.call(i)}finally{if(t)throw t.error}}return null}var On=function(){function n(n,e){this._name=n,this._options=e,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}return n.prototype.setValue=function(n){if(Array.isArray(n))this._lastSetValueType=4;else if(n instanceof Set)this._lastSetValueType=8;else if(n&&"string"==typeof n){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=n?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=n||null},n.prototype.hasValueChanged=function(){var n=this._lastSetValueIdentityChange;if(!(n||14&this._lastSetValueType))return!1;var e=null,t=!!(1&this._options),l=!!(8&this._options),o=!!(2&this._options);switch(this._lastSetValueType){case 1:var i=this._lastSetValue.split(/\s+/g);16&this._options?(e={},i.forEach((function(n,t){return e[n]=!0}))):e=i.reduce((function(n,e,t){return n+(t?" ":"")+e}));break;case 2:var r=this._lastSetValue,a=Object.keys(r);n||(n=!this.value||function(n,e,t){var l=n;if(!qn(Object.keys(e),l))return!0;for(var o=0;o<l.length;o++){var i=l[o];if(e[i]!==t[i])return!0}return!1}(a,this.value,r)),n&&(e=Mn(this._name,t,l,o,r,a));break;case 4:case 8:var u=Array.from(this._lastSetValue);n||(n=!qn(Object.keys(this.value),u)),n&&(e=Mn(this._name,t,l,o,u));break;default:e=null}return n&&(this.value=e),n},n}();function Mn(n,e,t,l,o,i){var r={};if(i)for(var a=0;a<i.length;a++){var u=i[a];An(r,u=e?u.trim():u,s=o[u],t,l)}else for(a=0;a<o.length;a++){var s;Nn(n,s=o[a]),An(r,s=e?s.trim():s,!0,!1,l)}return r}function Nn(n,e){if("string"!=typeof e)throw new Error(n+" can only toggle CSS classes expressed as strings, got "+e)}function An(n,e,t,l,o){if(o&&e.indexOf(" ")>0)for(var i=e.split(/\s+/g),r=0;r<i.length;r++)Pn(n,i[r],t,l);else Pn(n,e,t,l)}function Pn(n,e,t,l){if(l){var o=function(n,e){var t=n.indexOf(".");if(t>0){var l=n.substr(t+1);n=n.substring(0,t),null!=e&&(e+=l)}return{key:n,value:e}}(e,t);t=o.value,e=o.key}n[e]=t}function qn(n,e){if(n&&e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(-1===e.indexOf(n[t]))return!1;return!0}return!1}var Ln=function(){return function(){}}(),jn=function(){function n(n,e,t,l){this._iterableDiffers=n,this._keyValueDiffers=e,this._ngEl=t,this._renderer=l,this._initialClasses=[]}return n.prototype.getValue=function(){return null},n.prototype.setClass=function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},n.prototype.setNgClass=function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Object(l["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},n.prototype.applyChanges=function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},n.prototype._applyKeyValueChanges=function(n){var e=this;n.forEachAddedItem((function(n){return e._toggleClass(n.key,n.currentValue)})),n.forEachChangedItem((function(n){return e._toggleClass(n.key,n.currentValue)})),n.forEachRemovedItem((function(n){n.previousValue&&e._toggleClass(n.key,!1)}))},n.prototype._applyIterableChanges=function(n){var e=this;n.forEachAddedItem((function(n){if("string"!=typeof n.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l["ɵstringify"])(n.item));e._toggleClass(n.item,!0)})),n.forEachRemovedItem((function(n){return e._toggleClass(n.item,!1)}))},n.prototype._applyClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach((function(n){return e._toggleClass(n,!0)})):Object.keys(n).forEach((function(t){return e._toggleClass(t,!!n[t])})))},n.prototype._removeClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach((function(n){return e._toggleClass(n,!1)})):Object.keys(n).forEach((function(n){return e._toggleClass(n,!1)})))},n.prototype._toggleClass=function(n,e){var t=this;(n=n.trim())&&n.split(/\s+/g).forEach((function(n){e?t._renderer.addClass(t._ngEl.nativeElement,n):t._renderer.removeClass(t._ngEl.nativeElement,n)}))},n}(),Vn=function(){function n(){this._value=null,this._ngClassDiffer=new On("NgClass",23),this._classStringDiffer=null}return n.prototype.getValue=function(){return this._value},n.prototype.setClass=function(n){(n||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new On("class",20),this._classStringDiffer.setValue(n))},n.prototype.setNgClass=function(n){this._ngClassDiffer.setValue(n)},n.prototype.applyChanges=function(){var n=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),e=this._ngClassDiffer.hasValueChanged();if(n||e){var t=this._ngClassDiffer.value;if(this._classStringDiffer){var l=this._classStringDiffer.value;l&&(t=t?Object(o.a)({},l,t):l)}this._value=t}},n}(),Bn={provide:Ln,useClass:jn},Hn={provide:Ln,useClass:Vn},Un=Bn,zn=Object(l["ɵɵdefineDirective"])({type:function(){},selectors:null,factory:function(){},hostBindings:function(n,e,t){1&n&&(Object(l["ɵɵallocHostVars"])(1),Object(l["ɵɵstyling"])()),2&n&&(Object(l["ɵɵclassMap"])(e.getValue()),Object(l["ɵɵstylingApply"])())}}),Gn=function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}(),Wn=function(n){function e(e){return n.call(this,e)||this}return Object(o.c)(e,n),Object.defineProperty(e.prototype,"klass",{set:function(n){this._delegate.setClass(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(n){this._delegate.setNgClass(n)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(Gn),Zn=function(){function n(n){this._viewContainerRef=n,this._componentRef=null,this._moduleRef=null}return n.prototype.ngOnChanges=function(n){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(n.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var t=e.get(l.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;var o=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(l.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},n.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},n}(),Kn=function(){function n(n,e,t,l){this.$implicit=n,this.ngForOf=e,this.index=t,this.count=l}return Object.defineProperty(n.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),n}(),Xn=function(){function n(n,e,t){this._viewContainer=n,this._template=e,this._differs=t,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(n.prototype,"ngForOf",{set:function(n){this._ngForOf=n,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(n){Object(l.isDevMode)()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTemplate",{set:function(n){n&&(this._template=n)},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(l){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}},n.prototype._applyChanges=function(n){var e=this,t=[];n.forEachOperation((function(n,l,o){if(null==n.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Kn(null,e._ngForOf,-1,-1),null===o?void 0:o),r=new Yn(n,i);t.push(r)}else null==o?e._viewContainer.remove(null===l?void 0:l):null!==l&&(i=e._viewContainer.get(l),e._viewContainer.move(i,o),r=new Yn(n,i),t.push(r))}));for(var l=0;l<t.length;l++)this._perViewChange(t[l].view,t[l].record);l=0;for(var o=this._viewContainer.length;l<o;l++){var i=this._viewContainer.get(l);i.context.index=l,i.context.count=o,i.context.ngForOf=this._ngForOf}n.forEachIdentityChange((function(n){e._viewContainer.get(n.currentIndex).context.$implicit=n.item}))},n.prototype._perViewChange=function(n,e){n.context.$implicit=e.item},n.ngTemplateContextGuard=function(n,e){return!0},n}(),Yn=function(){return function(n,e){this.record=n,this.view=e}}(),$n=function(){function n(n,e){this._viewContainer=n,this._context=new Qn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(n.prototype,"ngIf",{set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfThen",{set:function(n){Jn("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfElse",{set:function(n){Jn("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),n.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)))},n}(),Qn=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Jn(n,e){if(e&&!e.createEmbeddedView)throw new Error(n+" must be a TemplateRef, but received '"+Object(l["ɵstringify"])(e)+"'.")}var ne=function(){function n(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}return n.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},n.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},n.prototype.enforceState=function(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()},n}(),ee=function(){function n(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(n.prototype,"ngSwitch",{set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),n.prototype._addCase=function(){return this._caseCount++},n.prototype._addDefault=function(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)},n.prototype._matchCase=function(n){var e=n==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},n.prototype._updateDefaultCases=function(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(n)}},n}(),te=function(){function n(n,e,t){this.ngSwitch=t,t._addCase(),this._view=new ne(n,e)}return n.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},n}(),le=function(){return function(n,e,t){t._addDefault(new ne(n,e))}}(),oe=function(){function n(n){this._localization=n,this._caseViews={}}return Object.defineProperty(n.prototype,"ngPlural",{set:function(n){this._switchValue=n,this._updateView()},enumerable:!0,configurable:!0}),n.prototype.addCase=function(n,e){this._caseViews[n]=e},n.prototype._updateView=function(){this._clearViews();var n=Object.keys(this._caseViews),e=Tn(this._switchValue,n,this._localization);this._activateView(this._caseViews[e])},n.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},n.prototype._activateView=function(n){n&&(this._activeView=n,this._activeView.create())},n}(),ie=function(){return function(n,e,t,l){this.value=n;var o=!isNaN(Number(n));l.addCase(o?"="+n:n,new ne(t,e))}}(),re=function(){return function(){}}(),ae=function(){function n(n,e,t){this._ngEl=n,this._differs=e,this._renderer=t}return n.prototype.getValue=function(){return null},n.prototype.setNgStyle=function(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())},n.prototype.applyChanges=function(){if(this._differ){var n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}},n.prototype._applyChanges=function(n){var e=this;n.forEachRemovedItem((function(n){return e._setStyle(n.key,null)})),n.forEachAddedItem((function(n){return e._setStyle(n.key,n.currentValue)})),n.forEachChangedItem((function(n){return e._setStyle(n.key,n.currentValue)}))},n.prototype._setStyle=function(n,e){var t=Object(o.e)(n.split("."),2),l=t[0],i=t[1];null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,l,e):this._renderer.removeStyle(this._ngEl.nativeElement,l)},n}(),ue=function(){function n(){this._differ=new On("NgStyle",8),this._value=null}return n.prototype.getValue=function(){return this._value},n.prototype.setNgStyle=function(n){this._differ.setValue(n)},n.prototype.applyChanges=function(){this._differ.hasValueChanged()&&(this._value=this._differ.value)},n}(),se={provide:re,useClass:ae},de={provide:re,useClass:ue},ce=se,pe=Object(l["ɵɵdefineDirective"])({type:function(){},selectors:null,factory:function(){},hostBindings:function(n,e,t){1&n&&Object(l["ɵɵstyling"])(),2&n&&(Object(l["ɵɵstyleMap"])(e.getValue()),Object(l["ɵɵstylingApply"])())}}),fe=function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}(),he=function(n){function e(e){return n.call(this,e)||this}return Object(o.c)(e,n),Object.defineProperty(e.prototype,"ngStyle",{set:function(n){this._delegate.setNgStyle(n)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(fe),me=function(){function n(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return n.prototype.ngOnChanges=function(n){this._shouldRecreateView(n)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},n.prototype._shouldRecreateView=function(n){var e=n.ngTemplateOutletContext;return!!n.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)},n.prototype._hasContextShapeChanged=function(n){var e,t,l=Object.keys(n.previousValue||{}),i=Object.keys(n.currentValue||{});if(l.length===i.length){try{for(var r=Object(o.g)(i),a=r.next();!a.done;a=r.next())if(-1===l.indexOf(a.value))return!0}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1}return!0},n.prototype._updateExistingContext=function(n){var e,t;try{for(var l=Object(o.g)(Object.keys(n)),i=l.next();!i.done;i=l.next()){var r=i.value;this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},n}(),ve=[Wn,Zn,Xn,$n,me,he,ee,te,le,oe,ie];function ge(n,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(l["ɵstringify"])(n)+"'")}var be=function(){function n(){}return n.format=function(n,e,t,l){void 0===l&&(l={});var o=l.currency,i=l.currencyAsSymbol,r=void 0!==i&&i,a={minimumIntegerDigits:l.minimumIntegerDigits,minimumFractionDigits:l.minimumFractionDigits,maximumFractionDigits:l.maximumFractionDigits,style:h[t].toLowerCase()};return t==h.Currency&&(a.currency="string"==typeof o?o:void 0,a.currencyDisplay=r?"symbol":"code"),new Intl.NumberFormat(e,a).format(n)},n}(),_e=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,ye={yMMMdjms:Fe(De([Re("year",1),Ie("month",3),Re("day",1),Re("hour",1),Re("minute",1),Re("second",1)])),yMdjm:Fe(De([Re("year",1),Re("month",1),Re("day",1),Re("hour",1),Re("minute",1)])),yMMMMEEEEd:Fe(De([Re("year",1),Ie("month",4),Ie("weekday",4),Re("day",1)])),yMMMMd:Fe(De([Re("year",1),Ie("month",4),Re("day",1)])),yMMMd:Fe(De([Re("year",1),Ie("month",3),Re("day",1)])),yMd:Fe(De([Re("year",1),Re("month",1),Re("day",1)])),jms:Fe(De([Re("hour",1),Re("second",1),Re("minute",1)])),jm:Fe(De([Re("hour",1),Re("minute",1)]))},Ce={yyyy:Fe(Re("year",4)),yy:Fe(Re("year",2)),y:Fe(Re("year",1)),MMMM:Fe(Ie("month",4)),MMM:Fe(Ie("month",3)),MM:Fe(Re("month",2)),M:Fe(Re("month",1)),LLLL:Fe(Ie("month",4)),L:Fe(Ie("month",1)),dd:Fe(Re("day",2)),d:Fe(Re("day",1)),HH:we(xe(Fe(Te(Re("hour",2),!1)))),H:xe(Fe(Te(Re("hour",1),!1))),hh:we(xe(Fe(Te(Re("hour",2),!0)))),h:xe(Fe(Te(Re("hour",1),!0))),jj:Fe(Re("hour",2)),j:Fe(Re("hour",1)),mm:we(Fe(Re("minute",2))),m:Fe(Re("minute",1)),ss:we(Fe(Re("second",2))),s:Fe(Re("second",1)),sss:Fe(Re("second",3)),EEEE:Fe(Ie("weekday",4)),EEE:Fe(Ie("weekday",3)),EE:Fe(Ie("weekday",2)),E:Fe(Ie("weekday",1)),a:Se(Fe(Te(Re("hour",1),!0))),Z:Ee("short"),z:Ee("long"),ww:Fe({}),w:Fe({}),G:Fe(Ie("era",1)),GG:Fe(Ie("era",2)),GGG:Fe(Ie("era",3)),GGGG:Fe(Ie("era",4))};function we(n){return function(e,t){var l=n(e,t);return 1==l.length?"0"+l:l}}function Se(n){return function(e,t){return n(e,t).split(" ")[1]}}function xe(n){return function(e,t){return n(e,t).split(" ")[0]}}function ke(n,e,t){return new Intl.DateTimeFormat(e,t).format(n).replace(/[\u200e\u200f]/g,"")}function Ee(n){var e={hour:"2-digit",hour12:!1,timeZoneName:n};return function(n,t){var l=ke(n,t,e);return l?l.substring(3):""}}function Te(n,e){return n.hour12=e,n}function Re(n,e){var t={};return t[n]=2===e?"2-digit":"numeric",t}function Ie(n,e){var t={};return t[n]=e<4?e>1?"short":"narrow":"long",t}function De(n){return n.reduce((function(n,e){return Object(o.a)({},n,e)}),{})}function Fe(n){return function(e,t){return ke(e,t,n)}}var Oe=new Map,Me=function(){function n(){}return n.format=function(n,e,t){return function(n,e,t){var l=ye[n];if(l)return l(e,t);var o=n,i=Oe.get(o);if(!i){i=[];var r=void 0;_e.exec(n);for(var a=n;a;)(r=_e.exec(a))?a=(i=i.concat(r.slice(1))).pop():(i.push(a),a=null);Oe.set(o,i)}return i.reduce((function(n,l){var o=Ce[l];return n+(o?o(e,t):function(n){return"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(l))}),"")}(t,n,e)},n}(),Ne=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){if(void 0===t&&(t="mediumDate"),null==n||""===n||n!=n)return null;var l;if("string"==typeof n&&(n=n.trim()),Ae(n))l=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var i=Object(o.e)(n.split("-").map((function(n){return parseInt(n,10)})),3);l=new Date(i[0],i[1]-1,i[2])}else l=new Date(n);else l=new Date(parseFloat(n));if(!Ae(l)){var r=void 0;if("string"!=typeof n||!(r=n.match(z)))throw ge(e,n);l=un(r)}return Me.format(l,this._locale,e._ALIASES[t]||t)},n._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},n}();function Ae(n){return n instanceof Date&&!isNaN(n.valueOf())}function Pe(n,e,t,l,o,i,r){if(void 0===i&&(i=null),void 0===r&&(r=!1),null==t)return null;if("number"!=typeof(t="string"!=typeof t||isNaN(+t-parseFloat(t))?t:+t))throw ge(n,t);var a,u,s;if(l!==h.Currency&&(a=1,u=0,s=3),o){var d=o.match(dn);if(null===d)throw new Error(o+" is not a valid digit info for number pipes");null!=d[1]&&(a=xn(d[1])),null!=d[3]&&(u=xn(d[3])),null!=d[5]&&(s=xn(d[5]))}return be.format(t,e,l,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:s,currency:i,currencyAsSymbol:r})}var qe=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return Pe(e,this._locale,n,h.Decimal,t)},n}(),Le=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return Pe(e,this._locale,n,h.Percent,t)},n}(),je=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o){return void 0===t&&(t="USD"),void 0===l&&(l=!1),Pe(e,this._locale,n,h.Currency,o,t,l)},n}(),Ve=[qe,Le,je,Ne],Be=function(){function n(){}return n.prototype.createSubscription=function(n,e){return n.subscribe({next:e,error:function(n){throw n}})},n.prototype.dispose=function(n){n.unsubscribe()},n.prototype.onDestroy=function(n){n.unsubscribe()},n}(),He=new(function(){function n(){}return n.prototype.createSubscription=function(n,e){return n.then(e,(function(n){throw n}))},n.prototype.dispose=function(n){},n.prototype.onDestroy=function(n){},n}()),Ue=new Be,ze=function(){function n(n){this._ref=n,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=n,n.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},n.prototype.transform=function(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):Object(l["ɵlooseIdentical"])(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.WrappedValue.wrap(this._latestValue)):(n&&this._subscribe(n),this._latestReturnedValue=this._latestValue,this._latestValue)},n.prototype._subscribe=function(n){var e=this;this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,(function(t){return e._updateLatestValue(n,t)}))},n.prototype._selectStrategy=function(n){if(Object(l["ɵisPromise"])(n))return He;if(Object(l["ɵisObservable"])(n))return Ue;throw ge(e,n)},n.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},n.prototype._updateLatestValue=function(n,e){n===this._obj&&(this._latestValue=e,this._ref.markForCheck())},n}(),Ge=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.toLowerCase()},n}(),We=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Ze=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.replace(We,(function(n){return n[0].toUpperCase()+n.substr(1).toLowerCase()}))},n}(),Ke=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.toUpperCase()},n}(),Xe=function(){function n(n){this.locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o){if(void 0===t&&(t="mediumDate"),null==n||""===n||n!=n)return null;try{return Y(n,t,o||this.locale,l)}catch(i){throw ge(e,i.message)}},n}(),Ye=/#/g,$e=function(){function n(n){this._localization=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(null==n)return"";if("object"!=typeof t||null===t)throw ge(e,t);return t[Tn(n,Object.keys(t),this._localization,l)].replace(Ye,n.toString())},n}(),Qe=function(){function n(){}var e;return e=n,n.prototype.transform=function(n,t){if(null==n)return"";if("object"!=typeof t||"string"!=typeof n)throw ge(e,t);return t.hasOwnProperty(n)?t[n]:t.hasOwnProperty("other")?t.other:""},n}(),Je=function(){function n(){}return n.prototype.transform=function(n){return JSON.stringify(n,null,2)},n}(),nt=function(){function n(n){this.differs=n,this.keyValues=[]}return n.prototype.transform=function(n,e){var t=this;if(void 0===e&&(e=et),!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var l=this.differ.diff(n);return l&&(this.keyValues=[],l.forEachItem((function(n){t.keyValues.push({key:n.key,value:n.currentValue})})),this.keyValues.sort(e)),this.keyValues},n}();function et(n,e){var t=n.key,l=e.key;if(t===l)return 0;if(void 0===t)return 1;if(void 0===l)return-1;if(null===t)return 1;if(null===l)return-1;if("string"==typeof t&&"string"==typeof l)return t<l?-1:1;if("number"==typeof t&&"number"==typeof l)return t-l;if("boolean"==typeof t&&"boolean"==typeof l)return t<l?-1:1;var o=String(t),i=String(l);return o==i?0:o<i?-1:1}var tt=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(it(n))return null;l=l||this._locale;try{return wn(rt(n),l,t)}catch(o){throw ge(e,o.message)}},n}(),lt=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(it(n))return null;l=l||this._locale;try{return Cn(rt(n),l,t)}catch(o){throw ge(e,o.message)}},n}(),ot=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o,i){if(void 0===l&&(l="symbol"),it(n))return null;i=i||this._locale,"boolean"==typeof l&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),l=l?"symbol":"code");var r=t||"USD";"code"!==l&&(r="symbol"===l||"symbol-narrow"===l?B(r,"symbol"===l?"wide":"narrow",i):l);try{return yn(rt(n),i,r,t,o)}catch(a){throw ge(e,a.message)}},n}();function it(n){return null==n||""===n||n!=n}function rt(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(n+" is not a number");return n}var at=function(){function n(){}var e;return e=n,n.prototype.transform=function(n,t,l){if(null==n)return n;if(!this.supports(n))throw ge(e,n);return n.slice(t,l)},n.prototype.supports=function(n){return"string"==typeof n||Array.isArray(n)},n}(),ut=[ze,Ke,Ge,Je,at,tt,lt,Ze,ot,Xe,$e,Qe,nt],st=function(){return function(){}}(),dt=function(){return function(){}}(),ct=new l.InjectionToken("DocumentToken"),pt="browser",ft="server",ht="browserWorkerApp",mt="browserWorkerUi";function vt(n){return n===pt}function gt(n){return n===ft}function bt(n){return n===ht}function _t(n){return n===mt}var yt=new l.Version("8.2.14"),Ct=function(){function n(){}return n.ngInjectableDef=Object(l["ɵɵdefineInjectable"])({token:n,providedIn:"root",factory:function(){return new wt(Object(l["ɵɵinject"])(ct),window,Object(l["ɵɵinject"])(l.ErrorHandler))}}),n}(),wt=function(){function n(n,e,t){this.document=n,this.window=e,this.errorHandler=t,this.offset=function(){return[0,0]}}return n.prototype.setOffset=function(n){this.offset=Array.isArray(n)?function(){return n}:n},n.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},n.prototype.scrollToPosition=function(n){this.supportScrollRestoration()&&this.window.scrollTo(n[0],n[1])},n.prototype.scrollToAnchor=function(n){if(this.supportScrollRestoration()){n=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(n):n.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+n);if(e)return void this.scrollToElement(e);var t=this.document.querySelector("[name='"+n+"']");if(t)return void this.scrollToElement(t)}catch(l){this.errorHandler.handleError(l)}}},n.prototype.setHistoryScrollRestoration=function(n){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}},n.prototype.scrollToElement=function(n){var e=n.getBoundingClientRect(),t=e.left+this.window.pageXOffset,l=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(t-o[0],l-o[1])},n.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(n){return!1}},n}(),St=function(){function n(){}return n.prototype.setOffset=function(n){},n.prototype.getScrollPosition=function(){return[0,0]},n.prototype.scrollToPosition=function(n){},n.prototype.scrollToAnchor=function(n){},n.prototype.setHistoryScrollRestoration=function(n){},n}()},IxPp:function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"a",(function(){return p}));var l=t("mrSG"),o=t("FFOo"),i=t("pugT"),r=t("6blF"),a=t("K9Ia");function u(n,e,t,l){return function(o){return o.lift(new s(n,e,t,l))}}var s=function(){function n(n,e,t,l){this.keySelector=n,this.elementSelector=e,this.durationSelector=t,this.subjectSelector=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},n}(),d=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;return r.keySelector=t,r.elementSelector=l,r.durationSelector=o,r.subjectSelector=i,r.groups=null,r.attemptedToUnsubscribe=!1,r.count=0,r}return l.c(e,n),e.prototype._next=function(n){var e;try{e=this.keySelector(n)}catch(t){return void this.error(t)}this._group(n,e)},e.prototype._group=function(n,e){var t=this.groups;t||(t=this.groups=new Map);var l,o=t.get(e);if(this.elementSelector)try{l=this.elementSelector(n)}catch(u){this.error(u)}else l=n;if(!o){o=this.subjectSelector?this.subjectSelector():new a.b,t.set(e,o);var i=new p(e,o,this);if(this.destination.next(i),this.durationSelector){var r=void 0;try{r=this.durationSelector(new p(e,o))}catch(u){return void this.error(u)}this.add(r.subscribe(new c(e,o,this)))}}o.closed||o.next(l)},e.prototype._error=function(n){var e=this.groups;e&&(e.forEach((function(e,t){e.error(n)})),e.clear()),this.destination.error(n)},e.prototype._complete=function(){var n=this.groups;n&&(n.forEach((function(n,e){n.complete()})),n.clear()),this.destination.complete()},e.prototype.removeGroup=function(n){this.groups.delete(n)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&n.prototype.unsubscribe.call(this))},e}(o.a),c=function(n){function e(e,t,l){var o=n.call(this,t)||this;return o.key=e,o.group=t,o.parent=l,o}return l.c(e,n),e.prototype._next=function(n){this.complete()},e.prototype._unsubscribe=function(){var n=this.parent,e=this.key;this.key=this.parent=null,n&&n.removeGroup(e)},e}(o.a),p=function(n){function e(e,t,l){var o=n.call(this)||this;return o.key=e,o.groupSubject=t,o.refCountSubscription=l,o}return l.c(e,n),e.prototype._subscribe=function(n){var e=new i.a,t=this.refCountSubscription,l=this.groupSubject;return t&&!t.closed&&e.add(new f(t)),e.add(l.subscribe(n)),e},e}(r.a),f=function(n){function e(e){var t=n.call(this)||this;return t.parent=e,e.count++,t}return l.c(e,n),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(n.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(i.a)},Iyun:function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").isDigit,i=t("vd7W").TYPE,r=i.WhiteSpace,a=i.Comment,u=i.Ident,s=i.Number,d=i.Dimension,c=43,p=45,f=110,h=!0;function m(n,e){var t=this.scanner.tokenStart+n,l=this.scanner.source.charCodeAt(t);for(l!==c&&l!==p||(e&&this.error("Number sign is not allowed"),t++);t<this.scanner.tokenEnd;t++)o(this.scanner.source.charCodeAt(t))||this.error("Integer is expected",t)}function v(n){return m.call(this,0,n)}function g(n,e){if(!l(this.scanner.source,this.scanner.tokenStart+n,e)){var t="";switch(e){case f:t="N is expected";break;case p:t="HyphenMinus is expected"}this.error(t,this.scanner.tokenStart+n)}}function b(){for(var n=0,e=0,t=this.scanner.tokenType;t===r||t===a;)t=this.scanner.lookupType(++n);if(t!==s){if(!this.scanner.isDelim(c,n)&&!this.scanner.isDelim(p,n))return null;e=this.scanner.isDelim(c,n)?c:p;do{t=this.scanner.lookupType(++n)}while(t===r||t===a);t!==s&&(this.scanner.skip(n),v.call(this,h))}return n>0&&this.scanner.skip(n),0===e&&(t=this.scanner.source.charCodeAt(this.scanner.tokenStart))!==c&&t!==p&&this.error("Number sign is expected"),v.call(this,0!==e),e===p?"-"+this.consume(s):this.consume(s)}n.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var n=this.scanner.tokenStart,e=null,t=null;if(this.scanner.tokenType===s)v.call(this,!1),t=this.consume(s);else if(this.scanner.tokenType===u&&l(this.scanner.source,this.scanner.tokenStart,p))switch(e="-1",g.call(this,1,f),this.scanner.getTokenLength()){case 2:this.scanner.next(),t=b.call(this);break;case 3:g.call(this,2,p),this.scanner.next(),this.scanner.skipSC(),v.call(this,h),t="-"+this.consume(s);break;default:g.call(this,2,p),m.call(this,3,h),this.scanner.next(),t=this.scanner.substrToCursor(n+2)}else if(this.scanner.tokenType===u||this.scanner.isDelim(c)&&this.scanner.lookupType(1)===u){var i=0;switch(e="1",this.scanner.isDelim(c)&&(i=1,this.scanner.next()),g.call(this,0,f),this.scanner.getTokenLength()){case 1:this.scanner.next(),t=b.call(this);break;case 2:g.call(this,1,p),this.scanner.next(),this.scanner.skipSC(),v.call(this,h),t="-"+this.consume(s);break;default:g.call(this,1,p),m.call(this,2,h),this.scanner.next(),t=this.scanner.substrToCursor(n+i+1)}}else if(this.scanner.tokenType===d){for(var r=this.scanner.source.charCodeAt(this.scanner.tokenStart),a=this.scanner.tokenStart+(i=r===c||r===p);a<this.scanner.tokenEnd&&o(this.scanner.source.charCodeAt(a));a++);a===this.scanner.tokenStart+i&&this.error("Integer is expected",this.scanner.tokenStart+i),g.call(this,a-this.scanner.tokenStart,f),e=this.scanner.source.substring(n,a),a+1===this.scanner.tokenEnd?(this.scanner.next(),t=b.call(this)):(g.call(this,a-this.scanner.tokenStart+1,p),a+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),v.call(this,h),t="-"+this.consume(s)):(m.call(this,a-this.scanner.tokenStart+2,h),this.scanner.next(),t=this.scanner.substrToCursor(a+1)))}else this.error();return null!==e&&e.charCodeAt(0)===c&&(e=e.substr(1)),null!==t&&t.charCodeAt(0)===c&&(t=t.substr(1)),{type:"AnPlusB",loc:this.getLocation(n,this.scanner.tokenStart),a:e,b:t}},generate:function(n){var e=null!=n.b;null!=n.a?(this.chunk("+1"===n.a?"+n":"1"===n.a?"n":"-1"===n.a?"-n":n.a+"n"),e&&("-"===(e=String(n.b)).charAt(0)||"+"===e.charAt(0)?(this.chunk(e.charAt(0)),this.chunk(e.substr(1))):(this.chunk("+"),this.chunk(e)))):this.chunk(String(n.b))}}},"JF+6":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("6blF"),o=t("pugT");function i(n,e){return new l.a((function(t){var l=new o.a,i=0;return l.add(e.schedule((function(){i!==n.length?(t.next(n[i++]),t.closed||l.add(this.schedule())):t.complete()}))),l}))}},Jcck:function(n,e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<t.length)return t[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){return 65<=n&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:43==n?62:47==n?63:-1}},K3ba:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("K9Ia"),i=t("pugT"),r=t("MGBS"),a=t("zotm");function u(n,e){return function(t){return t.lift(new s(n,e))}}var s=function(){function n(n,e){this.openings=n,this.closingSelector=e}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.openings,this.closingSelector))},n}(),d=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(o.openSubscription=Object(a.a)(o,t,t)),o}return l.c(e,n),e.prototype._next=function(n){var e=this.contexts;if(e)for(var t=e.length,l=0;l<t;l++)e[l].window.next(n)},e.prototype._error=function(e){var t=this.contexts;if(this.contexts=null,t)for(var l=t.length,o=-1;++o<l;){var i=t[o];i.window.error(e),i.subscription.unsubscribe()}n.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,l=-1;++l<t;){var o=e[l];o.window.complete(),o.subscription.unsubscribe()}n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var n=this.contexts;if(this.contexts=null,n)for(var e=n.length,t=-1;++t<e;){var l=n[t];l.window.unsubscribe(),l.subscription.unsubscribe()}},e.prototype.notifyNext=function(n,e,t,l,r){if(n===this.openings){var u=void 0;try{u=(0,this.closingSelector)(e)}catch(f){return this.error(f)}var s=new o.b,d=new i.a,c={window:s,subscription:d};this.contexts.push(c);var p=Object(a.a)(this,u,c);p.closed?this.closeWindow(this.contexts.length-1):(p.context=c,d.add(p)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(n))},e.prototype.notifyError=function(n){this.error(n)},e.prototype.notifyComplete=function(n){n!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(n.context))},e.prototype.closeWindow=function(n){if(-1!==n){var e=this.contexts,t=e[n],l=t.window,o=t.subscription;e.splice(n,1),l.complete(),o.unsubscribe()}},e}(r.a)},K9Ia:function(n,e,t){"use strict";t.d(e,"c",(function(){return d})),t.d(e,"b",(function(){return c})),t.d(e,"a",(function(){return p}));var l=t("mrSG"),o=t("6blF"),i=t("FFOo"),r=t("pugT"),a=t("8g8A"),u=t("uMaO"),s=t("L/V9"),d=function(n){function e(e){var t=n.call(this,e)||this;return t.destination=e,t}return l.c(e,n),e}(i.a),c=function(n){function e(){var e=n.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return l.c(e,n),e.prototype[s.a]=function(){return new d(this)},e.prototype.lift=function(n){var e=new p(this,this);return e.operator=n,e},e.prototype.next=function(n){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,t=e.length,l=e.slice(),o=0;o<t;o++)l[o].next(n)},e.prototype.error=function(n){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=n,this.isStopped=!0;for(var e=this.observers,t=e.length,l=e.slice(),o=0;o<t;o++)l[o].error(n);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var n=this.observers,e=n.length,t=n.slice(),l=0;l<e;l++)t[l].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 a.a;return n.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(n){if(this.closed)throw new a.a;return this.hasError?(n.error(this.thrownError),r.a.EMPTY):this.isStopped?(n.complete(),r.a.EMPTY):(this.observers.push(n),new u.a(this,n))},e.prototype.asObservable=function(){var n=new o.a;return n.source=this,n},e.create=function(n,e){return new p(n,e)},e}(o.a),p=function(n){function e(e,t){var l=n.call(this)||this;return l.destination=e,l.source=t,l}return l.c(e,n),e.prototype.next=function(n){var e=this.destination;e&&e.next&&e.next(n)},e.prototype.error=function(n){var e=this.destination;e&&e.error&&this.destination.error(n)},e.prototype.complete=function(){var n=this.destination;n&&n.complete&&this.destination.complete()},e.prototype._subscribe=function(n){return this.source?this.source.subscribe(n):r.a.EMPTY},e}(c)},KAzf:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("15JJ"),o=t("mChF");function i(){return Object(l.a)(o.a)}},KD6q:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return void 0===e&&(e=null),function(t){return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.bufferSize=n,this.startBufferEvery=e,this.subscriberClass=e&&n!==e?u:a}return n.prototype.call=function(n,e){return e.subscribe(new this.subscriberClass(n,this.bufferSize,this.startBufferEvery))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.bufferSize=t,l.buffer=[],l}return l.c(e,n),e.prototype._next=function(n){var e=this.buffer;e.push(n),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),n.prototype._complete.call(this)},e}(o.a),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.bufferSize=t,o.startBufferEvery=l,o.buffers=[],o.count=0,o}return l.c(e,n),e.prototype._next=function(n){var e=this.bufferSize,t=this.startBufferEvery,l=this.buffers,o=this.count;this.count++,o%t==0&&l.push([]);for(var i=l.length;i--;){var r=l[i];r.push(n),r.length===e&&(l.splice(i,1),this.destination.next(r))}},e.prototype._complete=function(){for(var e=this.buffers,t=this.destination;e.length>0;){var l=e.shift();l.length>0&&t.next(l)}n.prototype._complete.call(this)},e}(o.a)},KQya:function(n,e,t){"use strict";var l=t("mrSG"),o=1,i=function(){return Promise.resolve()}(),r={};function a(n){return n in r&&(delete r[n],!0)}var u=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.c(e,n),e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0?n.prototype.requestAsyncId.call(this,e,t,l):(e.actions.push(this),e.scheduled||(e.scheduled=(u=e.flush.bind(e,null),s=o++,r[s]=!0,i.then((function(){return a(s)&&u()})),s)));var u,s},e.prototype.recycleAsyncId=function(e,t,l){if(void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,l);0===e.actions.length&&(a(t),e.scheduled=void 0)},e}(t("h9Dq").a),s=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.c(e,n),e.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var e,t=this.actions,l=-1,o=t.length;n=n||t.shift();do{if(e=n.execute(n.state,n.delay))break}while(++l<o&&(n=t.shift()));if(this.active=!1,e){for(;++l<o&&(n=t.shift());)n.unsubscribe();throw e}},e}(t("CS9Q").a);t.d(e,"a",(function(){return d}));var d=new s(u)},KW4y:function(n,e,t){var l=t("4vYp");n.exports={generic:!0,types:l.types,atrules:l.atrules,properties:l.properties,node:t("585i")}},KavO:function(n,e,t){var l=t("Cbry"),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function r(){this._array=[],this._set=i?new Map:Object.create(null)}r.fromArray=function(n,e){for(var t=new r,l=0,o=n.length;l<o;l++)t.add(n[l],e);return t},r.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(n,e){var t=i?n:l.toSetString(n),r=i?this.has(n):o.call(this._set,t),a=this._array.length;r&&!e||this._array.push(n),r||(i?this._set.set(n,a):this._set[t]=a)},r.prototype.has=function(n){if(i)return this._set.has(n);var e=l.toSetString(n);return o.call(this._set,e)},r.prototype.indexOf=function(n){if(i){var e=this._set.get(n);if(e>=0)return e}else{var t=l.toSetString(n);if(o.call(this._set,t))return this._set[t]}throw new Error('"'+n+'" is not in the set.')},r.prototype.at=function(n){if(n>=0&&n<this._array.length)return this._array[n];throw new Error("No element indexed by "+n)},r.prototype.toArray=function(){return this._array.slice()},e.ArraySet=r},KcB0:function(n,e,t){var l=t("tZmI"),o={type:"Match"},i={type:"Mismatch"},r={type:"DisallowEmpty"},a=40,u=41;function s(n,e,t){return e===o&&t===i?n:n===o&&e===o&&t===o?n:("If"===n.type&&n.else===i&&e===o&&(e=n.then,n=n.match),{type:"If",match:n,then:e,else:t})}function d(n){return n.length>2&&n.charCodeAt(n.length-2)===a&&n.charCodeAt(n.length-1)===u}function c(n){return"Keyword"===n.type||"AtKeyword"===n.type||"Function"===n.type||"Type"===n.type&&d(n.name)}function p(n){if("function"==typeof n)return{type:"Generic",fn:n};switch(n.type){case"Group":var e=function n(e,t,l){switch(e){case" ":for(var r=o,a=t.length-1;a>=0;a--)r=s(f=t[a],r,i);return r;case"|":r=i;var u=null;for(a=t.length-1;a>=0;a--){if(c(f=t[a])&&(null===u&&a>0&&c(t[a-1])&&(r=s({type:"Enum",map:u=Object.create(null)},o,r)),null!==u)){var p=(d(f.name)?f.name.slice(0,-1):f.name).toLowerCase();if(p in u==0){u[p]=f;continue}}u=null,r=s(f,o,r)}return r;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(r=i,a=t.length-1;a>=0;a--){var f=t[a];h=t.length>1?n(e,t.filter((function(n){return n!==f})),!1):o,r=s(f,h,r)}return r;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(r=l?o:i,a=t.length-1;a>=0;a--){var h;f=t[a],h=t.length>1?n(e,t.filter((function(n){return n!==f})),!0):o,r=s(f,h,r)}return r}}(n.combinator,n.terms.map(p),!1);return n.disallowEmpty&&(e=s(e,r,i)),e;case"Multiplier":return function(n){var e=o,t=p(n.term);if(0===n.max)t=s(t,r,i),(e=s(t,null,i)).then=s(o,o,e),n.comma&&(e.then.else=s({type:"Comma",syntax:n},e,i));else for(var l=n.min||1;l<=n.max;l++)n.comma&&e!==o&&(e=s({type:"Comma",syntax:n},e,i)),e=s(t,s(o,o,e),i);if(0===n.min)e=s(o,o,e);else for(l=0;l<n.min-1;l++)n.comma&&e!==o&&(e=s({type:"Comma",syntax:n},e,i)),e=s(t,e,i);return e}(n);case"Type":case"Property":return{type:n.type,name:n.name,syntax:n};case"Keyword":return{type:n.type,name:n.name.toLowerCase(),syntax:n};case"AtKeyword":return{type:n.type,name:"@"+n.name.toLowerCase(),syntax:n};case"Function":return{type:n.type,name:n.name.toLowerCase()+"(",syntax:n};case"String":return 3===n.value.length?{type:"Token",value:n.value.charAt(1),syntax:n}:{type:n.type,value:n.value.substr(1,n.value.length-2).replace(/\\'/g,"'"),syntax:n};case"Token":return{type:n.type,value:n.value,syntax:n};case"Comma":return{type:n.type,syntax:n};default:throw new Error("Unknown node type:",n.type)}}n.exports={MATCH:o,MISMATCH:i,DISALLOW_EMPTY:r,buildMatchGraph:function(n,e){return"string"==typeof n&&(n=l(n)),{type:"MatchGraph",match:p(n),syntax:e||null,source:n}}}},KhEm:function(n,e,t){"use strict";t.d(e,"a",(function(){return u})),t.d(e,"b",(function(){return s}));var l=t("mrSG"),o=t("K9Ia"),i=t("6blF"),r=(t("FFOo"),t("pugT")),a=t("yGWI"),u=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subjectFactory=t,l._refCount=0,l._isComplete=!1,l}return l.c(e,n),e.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},e.prototype.getSubject=function(){var n=this._subject;return n&&!n.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var n=this._connection;return n||(this._isComplete=!1,(n=this._connection=new r.a).add(this.source.subscribe(new d(this.getSubject(),this))),n.closed&&(this._connection=null,n=r.a.EMPTY)),n},e.prototype.refCount=function(){return Object(a.a)()(this)},e}(i.a),s=function(){var n=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return l.c(e,n),e.prototype._error=function(e){this._unsubscribe(),n.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}},e}(o.c)},KjDf:function(n,e,t){var l=t("Sean"),o=t("vd7W").isBOM,i=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};i.prototype={setSource:function(n,e,t,l){this.source=n,this.startOffset=void 0===e?0:e,this.startLine=void 0===t?1:t,this.startColumn=void 0===l?1:l,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(function(n,e){for(var t=e.length,i=l(n.lines,t),r=n.startLine,a=l(n.columns,t),u=n.startColumn,s=e.length>0?o(e.charCodeAt(0)):0;s<t;s++){var d=e.charCodeAt(s);i[s]=r,a[s]=u++,10!==d&&13!==d&&12!==d||(13===d&&s+1<t&&10===e.charCodeAt(s+1)&&(i[++s]=r,a[s]=u),r++,u=1)}i[s]=r,a[s]=u,n.lines=i,n.columns=a}(this,this.source),this.linesAndColumnsComputed=!0)},getLocation:function(n,e){return this.ensureLinesAndColumnsComputed(),{source:e,offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}},getLocationRange:function(n,e,t){return this.ensureLinesAndColumnsComputed(),{source:t,start:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]},end:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}}},n.exports=i},"L/V9":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},"Lw+5":function(n,e,t){var l=t("vd7W").TYPE.Comma;n.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var n=this.createList();!this.scanner.eof&&(n.push(this.Selector()),this.scanner.tokenType===l);)this.scanner.next();return{type:"SelectorList",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n,(function(){this.chunk(",")}))},walkContext:"selector"}},"M+vq":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function n(n,e,t,l,o,i){this.combo=n,this.callback=e,this.allowIn=t,this.description=l,this.action=o,this.persistent=i,this.combo=Array.isArray(n)?n:[n],this.allowIn=t||[],this.description=l||""}return n.symbolize=function(n){for(var e={command:"⌘",shift:"⇧",left:"←",right:"→",up:"↑",down:"↓",return:"⏎",backspace:"⌫"},t=n.split("+"),l=0;l<t.length;l++)"mod"===t[l]&&(t[l]=window.navigator&&window.navigator.platform.indexOf("Mac")>=0?"command":"ctrl"),t[l]=e[t[l]]||t[l];return t.join(" + ")},Object.defineProperty(n.prototype,"formatted",{get:function(){if(!this._formatted){for(var e=this.combo,t=0;t<e.length;t++)e[t]=n.symbolize(e[t]);this._formatted=e}return this._formatted},enumerable:!0,configurable:!0}),n}();e.Hotkey=l},MGBS:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("mrSG"),o=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyError=function(n,e){this.destination.error(n)},e.prototype.notifyComplete=function(n){this.destination.complete()},e}(t("FFOo").a)},MPaf:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("b7mW"),o=t("VnD/"),i=t("tNVB"),r=t("HJBe"),a=t("t9fZ");function u(n,e){if(n<0)throw new l.a;var t=arguments.length>=2;return function(u){return u.pipe(Object(o.a)((function(e,t){return t===n})),Object(a.a)(1),t?Object(r.a)(e):Object(i.a)((function(){return new l.a})))}}},McSo:function(n,e,t){"use strict";function l(n){return null!==n&&"object"==typeof n}t.d(e,"a",(function(){return l}))},MpAI:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.durationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.durationSelector))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.durationSelector=t,l.hasValue=!1,l}return l.c(e,n),e.prototype._next=function(n){if(this.value=n,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(n)}catch(l){return this.destination.error(l)}var t=Object(i.a)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}},e.prototype.clearThrottle=function(){var n=this.value,e=this.hasValue,t=this.throttled;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))},e.prototype.notifyNext=function(n,e,t,l){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(o.a)},MysU:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("K9Ia"),i=t("MGBS"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.closingSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.closingSelector))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.destination=e,l.closingSelector=t,l.openWindow(),l}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.openWindow(o)},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){this.openWindow(n)},e.prototype._next=function(n){this.window.next(n)},e.prototype._error=function(n){this.window.error(n),this.destination.error(n),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(n){void 0===n&&(n=null),n&&(this.remove(n),n.unsubscribe());var e=this.window;e&&e.complete();var t,l=this.window=new o.b;this.destination.next(l);try{t=(0,this.closingSelector)()}catch(i){return this.destination.error(i),void this.window.error(i)}this.add(this.closingNotification=Object(r.a)(this,t))},e}(i.a)},NKZO:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo");function i(n,e){if("function"!=typeof n)throw new TypeError("predicate is not a function");return function(t){return t.lift(new r(n,t,!1,e))}}var r=function(){function n(n,e,t,l){this.predicate=n,this.source=e,this.yieldIndex=t,this.thisArg=l}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.source,this.yieldIndex,this.thisArg))},n}(),a=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;return r.predicate=t,r.source=l,r.yieldIndex=o,r.thisArg=i,r.index=0,r}return l.c(e,n),e.prototype.notifyComplete=function(n){var e=this.destination;e.next(n),e.complete(),this.unsubscribe()},e.prototype._next=function(n){var e=this.predicate,t=this.thisArg,l=this.index++;try{e.call(t||this,n,l,this.source)&&this.notifyComplete(this.yieldIndex?l:n)}catch(o){this.destination.error(o)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.a)},NlKi:function(n,e,t){var l=t("jT1Q"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=o.Raven,r=new l;r.noConflict=function(){return o.Raven=i,r},r.afterLoad(),n.exports=r,n.exports.Client=l},Nzu2:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("G5J1");function r(n){return void 0===n&&(n=-1),function(e){return 0===n?Object(i.b)():e.lift(new a(n<0?-1:n-1,e))}}var a=function(){function n(n,e){this.count=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.count,this.source))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.count=t,o.source=l,o}return l.c(e,n),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,t=this.count;if(0===t)return n.prototype.complete.call(this);t>-1&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(o.a)},O36p:function(n,e){function t(n){return{prev:null,next:null,data:n}}function l(n,e,t){var l;return null!==i?(l=i,i=i.cursor,l.prev=e,l.next=t,l.cursor=n.cursor):l={prev:e,next:t,cursor:n.cursor},n.cursor=l,l}function o(n){var e=n.cursor;n.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=i,i=e}var i=null,r=function(){this.cursor=null,this.head=null,this.tail=null};r.createItem=t,r.prototype.createItem=t,r.prototype.updateCursors=function(n,e,t,l){for(var o=this.cursor;null!==o;)o.prev===n&&(o.prev=e),o.next===t&&(o.next=l),o=o.cursor},r.prototype.getSize=function(){for(var n=0,e=this.head;e;)n++,e=e.next;return n},r.prototype.fromArray=function(n){var e=null;this.head=null;for(var l=0;l<n.length;l++){var o=t(n[l]);null!==e?e.next=o:this.head=o,o.prev=e,e=o}return this.tail=e,this},r.prototype.toJSON=r.prototype.toArray=function(){for(var n=this.head,e=[];n;)e.push(n.data),n=n.next;return e},r.prototype.isEmpty=function(){return null===this.head},r.prototype.first=function(){return this.head&&this.head.data},r.prototype.last=function(){return this.tail&&this.tail.data},r.prototype.forEach=r.prototype.each=function(n,e){var t;void 0===e&&(e=this);for(var i=l(this,null,this.head);null!==i.next;)i.next=(t=i.next).next,n.call(e,t.data,t,this);o(this)},r.prototype.forEachRight=r.prototype.eachRight=function(n,e){var t;void 0===e&&(e=this);for(var i=l(this,this.tail,null);null!==i.prev;)i.prev=(t=i.prev).prev,n.call(e,t.data,t,this);o(this)},r.prototype.nextUntil=function(n,e,t){if(null!==n){var i;void 0===t&&(t=this);for(var r=l(this,null,n);null!==r.next&&(r.next=(i=r.next).next,!e.call(t,i.data,i,this)););o(this)}},r.prototype.prevUntil=function(n,e,t){if(null!==n){var i;void 0===t&&(t=this);for(var r=l(this,n,null);null!==r.prev&&(r.prev=(i=r.prev).prev,!e.call(t,i.data,i,this)););o(this)}},r.prototype.some=function(n,e){var t=this.head;for(void 0===e&&(e=this);null!==t;){if(n.call(e,t.data,t,this))return!0;t=t.next}return!1},r.prototype.map=function(n,e){var t=new r,l=this.head;for(void 0===e&&(e=this);null!==l;)t.appendData(n.call(e,l.data,l,this)),l=l.next;return t},r.prototype.filter=function(n,e){var t=new r,l=this.head;for(void 0===e&&(e=this);null!==l;)n.call(e,l.data,l,this)&&t.appendData(l.data),l=l.next;return t},r.prototype.clear=function(){this.head=null,this.tail=null},r.prototype.copy=function(){for(var n=new r,e=this.head;null!==e;)n.insert(t(e.data)),e=e.next;return n},r.prototype.prepend=function(n){return this.updateCursors(null,n,this.head,n),null!==this.head?(this.head.prev=n,n.next=this.head):this.tail=n,this.head=n,this},r.prototype.prependData=function(n){return this.prepend(t(n))},r.prototype.append=function(n){return this.insert(n)},r.prototype.appendData=function(n){return this.insert(t(n))},r.prototype.insert=function(n,e){if(null!=e)if(this.updateCursors(e.prev,n,e,n),null===e.prev){if(this.head!==e)throw new Error("before doesn't belong to list");this.head=n,e.prev=n,n.next=e,this.updateCursors(null,n)}else e.prev.next=n,n.prev=e.prev,e.prev=n,n.next=e;else this.updateCursors(this.tail,n,null,n),null!==this.tail?(this.tail.next=n,n.prev=this.tail):this.head=n,this.tail=n;return this},r.prototype.insertData=function(n,e){return this.insert(t(n),e)},r.prototype.remove=function(n){if(this.updateCursors(n,n.prev,n,n.next),null!==n.prev)n.prev.next=n.next;else{if(this.head!==n)throw new Error("item doesn't belong to list");this.head=n.next}if(null!==n.next)n.next.prev=n.prev;else{if(this.tail!==n)throw new Error("item doesn't belong to list");this.tail=n.prev}return n.prev=null,n.next=null,n},r.prototype.push=function(n){this.insert(t(n))},r.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},r.prototype.unshift=function(n){this.prepend(t(n))},r.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},r.prototype.prependList=function(n){return this.insertList(n,this.head)},r.prototype.appendList=function(n){return this.insertList(n)},r.prototype.insertList=function(n,e){return null===n.head?this:(null!=e?(this.updateCursors(e.prev,n.tail,e,n.head),null!==e.prev?(e.prev.next=n.head,n.head.prev=e.prev):this.head=n.head,e.prev=n.tail,n.tail.next=e):(this.updateCursors(this.tail,n.tail,null,n.head),null!==this.tail?(this.tail.next=n.head,n.head.prev=this.tail):this.head=n.head,this.tail=n.tail),n.head=null,n.tail=null,this)},r.prototype.replace=function(n,e){"head"in e?this.insertList(e,n):this.insert(e,n),this.remove(n)},n.exports=r},OJSY:function(n,e,t){"use strict";function l(n,e){return void 0===n?void 0===e?n:e:n}Object.defineProperty(e,"__esModule",{value:!0}),e.boolean=function(n,e){return"function"==typeof(n=l(n,e))?function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return!!n.apply(this,t)}:n?function(){return!0}:function(){return!1}},e.integer=function(n,e){return"function"==typeof(n=l(n,e))?function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];var o=parseInt(n.apply(this,t),10);return o!=o?0:o}:(n=parseInt(n,10))!=n?function(){return 0}:function(){return n}},e.string=function(n,e){return"function"==typeof(n=l(n,e))?function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return""+n.apply(this,t)}:(n=""+n,function(){return n})}},OohF:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,i=l.Comment;n.exports=function(n){var e=this.createList(),t=null,l={recognizer:n,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:l.ignoreWS?this.scanner.next():l.space=this.WhiteSpace();continue}if(void 0===(t=n.getNode.call(this,l)))break;null!==l.space&&(e.push(l.space),l.space=null),e.push(t),l.ignoreWSAfter?(l.ignoreWSAfter=!1,l.ignoreWS=!0):l.ignoreWS=!1}return e}},OyBZ:function(n,e,t){var l=t("vd7W").TYPE.Ident;n.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(l)}},generate:function(n){this.chunk(n.name)}}},P2RB:function(n,e){n.exports=function(){this.scanner.skipSC();var n=this.createSingleNodeList(this.IdSelector());return this.scanner.skipSC(),n}},P3uw:function(n,e,t){var l=t("3XNy"),o=l.isDigit,i=l.isHexDigit,r=l.isUppercaseLetter,a=l.isName,u=l.isWhiteSpace,s=l.isValidEscape;function d(n,e){return e<n.length?n.charCodeAt(e):0}function c(n,e,t){return 13===t&&10===d(n,e+1)?2:1}function p(n,e,t){var l=n.charCodeAt(e);return r(l)&&(l|=32),l===t}function f(n,e){for(;e<n.length&&o(n.charCodeAt(e));e++);return e}function h(n,e){if(i(d(n,(e+=2)-1))){for(var t=Math.min(n.length,e+5);e<t&&i(d(n,e));e++);var l=d(n,e);u(l)&&(e+=c(n,e,l))}return e}n.exports={consumeEscaped:h,consumeName:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(!a(t)){if(!s(t,d(n,e+1)))break;e=h(n,e)-1}}return e},consumeNumber:function(n,e){var t=n.charCodeAt(e);if(43!==t&&45!==t||(t=n.charCodeAt(e+=1)),o(t)&&(e=f(n,e+1),t=n.charCodeAt(e)),46===t&&o(n.charCodeAt(e+1))&&(t=n.charCodeAt(e+=2),e=f(n,e)),p(n,e,101)){var l=0;45!==(t=n.charCodeAt(e+1))&&43!==t||(l=1,t=n.charCodeAt(e+2)),o(t)&&(e=f(n,e+1+l+1))}return e},consumeBadUrlRemnants:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(41===t){e++;break}s(t,d(n,e+1))&&(e=h(n,e))}return e},cmpChar:p,cmpStr:function(n,e,t,l){if(t-e!==l.length)return!1;if(e<0||t>n.length)return!1;for(var o=e;o<t;o++){var i=n.charCodeAt(o),a=l.charCodeAt(o-e);if(r(i)&&(i|=32),i!==a)return!1}return!0},getNewlineLength:c,findWhiteSpaceStart:function(n,e){for(;e>=0&&u(n.charCodeAt(e));e--);return e+1},findWhiteSpaceEnd:function(n,e){for(;e<n.length&&u(n.charCodeAt(e));e++);return e}}},P6uZ:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("3fWJ"),o=t("VnD/"),i=t("t9fZ"),r=t("HJBe"),a=t("tNVB"),u=t("mChF");function s(n,e){var t=arguments.length>=2;return function(s){return s.pipe(n?Object(o.a)((function(e,t){return n(e,t,s)})):u.a,Object(i.a)(1),t?Object(r.a)(e):Object(a.a)((function(){return new l.a})))}}},PTRy:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l,o=(l=t("6yRa"))&&"object"==typeof l&&"default"in l?l.default:l;function i(n){if(n===window)return function(){var n={top:{value:0,enumerable:!0},left:{value:0,enumerable:!0},right:{value:window.innerWidth,enumerable:!0},bottom:{value:window.innerHeight,enumerable:!0},width:{value:window.innerWidth,enumerable:!0},height:{value:window.innerHeight,enumerable:!0},x:{value:0,enumerable:!0},y:{value:0,enumerable:!0}};if(Object.create)return Object.create({},n);var e={};return Object.defineProperties(e,n),e}();try{var e=n.getBoundingClientRect();return void 0===e.x&&(e.x=e.left,e.y=e.top),e}catch(t){throw new TypeError("Can't call getBoundingClientRect on "+n)}}e.createPointCB=o,e.getClientRect=i,e.pointInside=function(n,e){var t=i(e);return n.y>t.top&&n.y<t.bottom&&n.x>t.left&&n.x<t.right}},Pd0I:function(n,e,t){var l=t("vd7W").TYPE.Comma;n.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(n){var e=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(e.push(this.MediaQuery(n)),this.scanner.tokenType===l);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}},generate:function(n){this.children(n,(function(){this.chunk(",")}))}}},Phjn:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("psW0");function o(n,e){return Object(l.a)(n,e,1)}},PzWj:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,i=l.Function,r=l.Colon,a=l.RightParenthesis;n.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null;return this.eat(r),this.scanner.tokenType===i?(e=(n=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(e)?(this.scanner.skipSC(),l=this.pseudo[e].call(this),this.scanner.skipSC()):(l=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(a)):n=this.consume(o),{type:"PseudoClassSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:n,children:l}},generate:function(n){this.chunk(":"),this.chunk(n.name),null!==n.children&&(this.chunk("("),this.children(n),this.chunk(")"))},walkContext:"function"}},QBsF:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,i=l.Number,r=l.Dimension,a=l.LeftParenthesis,u=l.RightParenthesis,s=l.Colon,d=l.Delim;n.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var n,e=this.scanner.tokenStart,t=null;if(this.eat(a),this.scanner.skipSC(),n=this.consume(o),this.scanner.skipSC(),this.scanner.tokenType!==u){switch(this.eat(s),this.scanner.skipSC(),this.scanner.tokenType){case i:t=this.lookupNonWSType(1)===d?this.Ratio():this.Number();break;case r:t=this.Dimension();break;case o:t=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.eat(u),{type:"MediaFeature",loc:this.getLocation(e,this.scanner.tokenStart),name:n,value:t}},generate:function(n){this.chunk("("),this.chunk(n.name),null!==n.value&&(this.chunk(":"),this.node(n.value)),this.chunk(")")}}},QKsE:function(n,e,t){var l=Object.prototype.hasOwnProperty,o=t("KcB0"),i=o.MATCH,r=o.MISMATCH,a=o.DISALLOW_EMPTY,u=t("twQA").TYPE,s=0,d=1,c=2,p=3,f="Match",h="Mismatch",m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",v=15e3,g=0;function b(n){for(var e=null,t=null,l=n;null!==l;)t=l.prev,l.prev=e,e=l,l=t;return e}function _(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++){var l=n.charCodeAt(t);if(l>=65&&l<=90&&(l|=32),l!==e.charCodeAt(t))return!1}return!0}function y(n){return null===n||n.type===u.Comma||n.type===u.Function||n.type===u.LeftParenthesis||n.type===u.LeftSquareBracket||n.type===u.LeftCurlyBracket||n.type===u.Delim}function C(n){return null===n||n.type===u.RightParenthesis||n.type===u.RightSquareBracket||n.type===u.RightCurlyBracket||n.type===u.Delim}function w(n,e,t){function o(){do{M=++N<n.length?n[N]:null}while(null!==M&&(M.type===u.WhiteSpace||M.type===u.Comment))}function b(e){var t=N+e;return t<n.length?n[t]:null}function w(n,e){return{nextState:n,matchStack:P,syntaxStack:T,thenStack:R,tokenIndex:N,prev:e}}function S(n){R={nextState:n,matchStack:P,syntaxStack:T,prev:R}}function x(n){I=w(n,I)}function k(){P={type:d,syntax:e.syntax,token:M,prev:P},o(),D=null,N>A&&(A=N)}function E(){P=P.type===c?P.prev:{type:p,syntax:T.syntax,token:P.token,prev:P},T=T.prev}var T=null,R=null,I=null,D=null,F=0,O=null,M=null,N=-1,A=0,P={type:s,syntax:null,token:null,prev:null};for(o();null===O&&++F<v;)switch(e.type){case"Match":if(null===R){if(null!==M&&(N!==n.length-1||"\\0"!==M.value&&"\\9"!==M.value)){e=r;break}O=f;break}if((e=R.nextState)===a){if(R.matchStack===P){e=r;break}e=i}for(;R.syntaxStack!==T;)E();R=R.prev;break;case"Mismatch":if(null!==D&&!1!==D)(null===I||N>I.tokenIndex)&&(I=D,D=!1);else if(null===I){O=h;break}e=I.nextState,R=I.thenStack,T=I.syntaxStack,P=I.matchStack,M=(N=I.tokenIndex)<n.length?n[N]:null,I=I.prev;break;case"MatchGraph":e=e.match;break;case"If":e.else!==r&&x(e.else),e.then!==i&&S(e.then),e=e.match;break;case"MatchOnce":e={type:"MatchOnceBuffer",syntax:e,index:0,mask:0};break;case"MatchOnceBuffer":var q=e.syntax.terms;if(e.index===q.length){if(0===e.mask||e.syntax.all){e=r;break}e=i;break}if(e.mask===(1<<q.length)-1){e=i;break}for(;e.index<q.length;e.index++){var L=1<<e.index;if(0==(e.mask&L)){x(e),S({type:"AddMatchOnce",syntax:e.syntax,mask:e.mask|L}),e=q[e.index++];break}}break;case"AddMatchOnce":e={type:"MatchOnceBuffer",syntax:e.syntax,index:0,mask:e.mask};break;case"Enum":if(null!==M&&(-1!==(H=M.value.toLowerCase()).indexOf("\\")&&(H=H.replace(/\\[09].*$/,"")),l.call(e.map,H))){e=e.map[H];break}e=r;break;case"Generic":var j=N+Math.floor(e.fn(M,b,null!==T?T.opts:null));if(!isNaN(j)&&j>N){for(;N<j;)k();e=i}else e=r;break;case"Type":case"Property":var V="Type"===e.type?"types":"properties",B=l.call(t,V)?t[V][e.name]:null;if(!B||!B.match)throw new Error("Bad syntax reference: "+("Type"===e.type?"<"+e.name+">":"<'"+e.name+"'>"));if(!1!==D&&null!==M&&"Type"===e.type&&("custom-ident"===e.name&&M.type===u.Ident||"length"===e.name&&"0"===M.value)){null===D&&(D=w(e,I)),e=r;break}T={syntax:e.syntax,opts:e.syntax.opts||null!==T&&T.opts||null,prev:T},P={type:c,syntax:e.syntax,token:P.token,prev:P},e=B.match;break;case"Keyword":var H=e.name;if(null!==M){var U=M.value;if(-1!==U.indexOf("\\")&&(U=U.replace(/\\[09].*$/,"")),_(U,H)){k(),e=i;break}}e=r;break;case"AtKeyword":case"Function":if(null!==M&&_(M.value,e.name)){k(),e=i;break}e=r;break;case"Token":if(null!==M&&M.value===e.value){k(),e=i;break}e=r;break;case"Comma":null!==M&&M.type===u.Comma?y(P.token)?e=r:(k(),e=C(M)?r:i):e=y(P.token)||C(M)?i:r;break;case"String":var z="";for(j=N;j<n.length&&z.length<e.value.length;j++)z+=n[j].value;if(_(z,e.value)){for(;N<j;)k();e=i}else e=r;break;default:throw new Error("Unknown node type: "+e.type)}switch(g+=F,O){case null:console.warn("[csstree-match] BREAK after "+v+" iterations"),O=m,P=null;break;case f:for(;null!==T;)E();break;default:P=null}return{tokens:n,reason:O,iterations:F,match:P,longestMatch:A}}n.exports={matchAsList:function(n,e,t){var l=w(n,e,t||{});if(null!==l.match){var o=b(l.match).prev;for(l.match=[];null!==o;){switch(o.type){case s:break;case c:case p:l.match.push({type:o.type,syntax:o.syntax});break;default:l.match.push({token:o.token.value,node:o.token.node})}o=o.prev}}return l},matchAsTree:function(n,e,t){var l=w(n,e,t||{});if(null===l.match)return l;var o=l.match,i=l.match={syntax:e.syntax||null,match:[]},r=[i];for(o=b(o).prev;null!==o;){switch(o.type){case c:i.match.push(i={syntax:o.syntax,match:[]}),r.push(i);break;case p:r.pop(),i=r[r.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return l},getTotalIterationCount:function(){return g}}},Qgas:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("dC0D"),o=t("AxiF"),i=t("HJBe"),r=t("y3By");function a(n,e){return arguments.length>=2?function(t){return Object(r.a)(Object(l.a)(n,e),Object(o.a)(1),Object(i.a)(e))(t)}:function(e){return Object(r.a)(Object(l.a)((function(e,t,l){return n(e,t,l+1)})),Object(o.a)(1))(e)}}},Qkom:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("pugT"),i=t("zotm"),r=t("MGBS");function a(n,e){return function(t){return t.lift(new u(n,e))}}var u=function(){function n(n,e){this.openings=n,this.closingSelector=e}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.openings,this.closingSelector))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(Object(i.a)(o,t)),o}return l.c(e,n),e.prototype._next=function(n){for(var e=this.contexts,t=e.length,l=0;l<t;l++)e[l].buffer.push(n)},e.prototype._error=function(e){for(var t=this.contexts;t.length>0;){var l=t.shift();l.subscription.unsubscribe(),l.buffer=null,l.subscription=null}this.contexts=null,n.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var t=e.shift();this.destination.next(t.buffer),t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,n.prototype._complete.call(this)},e.prototype.notifyNext=function(n,e,t,l,o){n?this.closeBuffer(n):this.openBuffer(e)},e.prototype.notifyComplete=function(n){this.closeBuffer(n.context)},e.prototype.openBuffer=function(n){try{var e=this.closingSelector.call(this,n);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(n){var e=this.contexts;if(e&&n){var t=n.subscription;this.destination.next(n.buffer),e.splice(e.indexOf(n),1),this.remove(t),t.unsubscribe()}},e.prototype.trySubscribe=function(n){var e=this.contexts,t=new o.a,l={buffer:[],subscription:t};e.push(l);var r=Object(i.a)(this,n,l);!r||r.closed?this.closeBuffer(l):(r.context=l,this.add(r),t.add(r))},e}(r.a)},QtvL:function(n,e,t){var l=t("O36p");n.exports=function(n){return{fromPlainObject:function(e){return n(e,{enter:function(n){n.children&&n.children instanceof l==0&&(n.children=(new l).fromArray(n.children))}}),e},toPlainObject:function(e){return n(e,{leave:function(n){n.children&&n.children instanceof l&&(n.children=n.children.toArray())}}),e}}}},"R+r5":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("Qgas");function o(n,e,t){return 0===t?[e]:(n.push(e),n)}function i(){return Object(l.a)(o,[])}},RApX:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},RX3l:function(n,e){var t=Array.isArray,l=Object.prototype.toString;n.exports=t||function(n){return!!n&&"[object Array]"==l.call(n)}},Rney:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("T1DM"),o=t("MpAI"),i=t("gI3B");function r(n,e){return void 0===e&&(e=l.a),Object(o.a)((function(){return Object(i.a)(n,e)}))}},S1nX:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("xlPZ"),o=t("yGWI"),i=t("K9Ia");function r(){return new i.b}function a(){return function(n){return Object(o.a)()(Object(l.a)(r)(n))}}},S5bw:function(n,e,t){"use strict";t.d(e,"a",(function(){return d}));var l=t("mrSG"),o=t("K9Ia"),i=t("zo3G"),r=t("pugT"),a=t("mZXl"),u=t("8g8A"),s=t("uMaO"),d=function(n){function e(e,t,l){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.POSITIVE_INFINITY);var o=n.call(this)||this;return o.scheduler=l,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=e<1?1:e,o._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return l.c(e,n),e.prototype.nextInfiniteTimeWindow=function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),n.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new c(this._getNow(),e)),this._trimBufferThenGetEvents(),n.prototype.next.call(this,e)},e.prototype._subscribe=function(n){var e,t=this._infiniteTimeWindow,l=t?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=l.length;if(this.closed)throw new u.a;if(this.isStopped||this.hasError?e=r.a.EMPTY:(this.observers.push(n),e=new s.a(this,n)),o&&n.add(n=new a.a(n,o)),t)for(var d=0;d<i&&!n.closed;d++)n.next(l[d]);else for(d=0;d<i&&!n.closed;d++)n.next(l[d].value);return this.hasError?n.error(this.thrownError):this.isStopped&&n.complete(),e},e.prototype._getNow=function(){return(this.scheduler||i.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var n=this._getNow(),e=this._bufferSize,t=this._windowTime,l=this._events,o=l.length,i=0;i<o&&!(n-l[i].time<t);)i++;return o>e&&(i=Math.max(i,o-e)),i>0&&l.splice(0,i),l},e}(o.b),c=function(){return function(n,e){this.time=n,this.value=e}}()},STE7:function(n,e,t){var l=t("vd7W").TYPE.Ident,o=42;function i(){this.scanner.tokenType!==l&&!1===this.scanner.isDelim(o)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}n.exports={name:"TypeSelector",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;return this.scanner.isDelim(124)?(this.scanner.next(),i.call(this)):(i.call(this),this.scanner.isDelim(124)&&(this.scanner.next(),i.call(this))),{type:"TypeSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.name)}}},Sean:function(n,e){var t="undefined"!=typeof Uint32Array?Uint32Array:Array;n.exports=function(n,e){return null===n||n.length<e?new t(Math.max(e+1024,16384)):n}},T1DM:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("h9Dq"),o=new(t("CS9Q").a)(l.a)},T8ZO:function(n,e,t){n.exports=t("EiPP").create(function(){for(var n={},e=0;e<arguments.length;e++){var t=arguments[e];for(var l in t)n[l]=t[l]}return n}(t("KW4y"),t("oYUb"),t("acmg")))},TJrj:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=(t("0/uQ"),t("isby")),i=t("MGBS"),r=t("rPjj"),a=t("zotm");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 1===n.length&&Object(o.a)(n[0])&&(n=n[0]),function(e){return e.lift(new s(n))}}var s=function(){function n(n){this.nextSources=n}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.nextSources))},n}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.destination=e,l.nextSources=t,l}return l.c(e,n),e.prototype.notifyError=function(n,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(n){this.subscribeToNextSource()},e.prototype._error=function(n){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var n=this.nextSources.shift();if(n){var e=new r.a(this,void 0,void 0),t=this.destination;t.add(e);var l=Object(a.a)(this,n,void 0,void 0,e);l!==e&&t.add(l)}else this.destination.complete()},e}(i.a)},TefO:function(n,e,t){n.exports={getNode:t("7GzS")}},Tnl3:function(n,e,t){var l=t("vd7W").isHexDigit,o=t("vd7W").cmpChar,i=t("vd7W").TYPE,r=t("vd7W").NAME,a=i.Ident,u=i.Number,s=i.Dimension,d=43,c=45,p=63;function f(n,e){for(var t=this.scanner.tokenStart+n,o=0;t<this.scanner.tokenEnd;t++){var i=this.scanner.source.charCodeAt(t);if(i===c&&e&&0!==o)return 0===f.call(this,n+o+1,!1)&&this.error(),-1;l(i)||this.error(e&&0!==o?"HyphenMinus"+(o<6?" or hex digit":"")+" is expected":o<6?"Hex digit is expected":"Unexpected input",t),++o>6&&this.error("Too many hex digits",t)}return this.scanner.next(),o}function h(n){for(var e=0;this.scanner.isDelim(p);)++e>n&&this.error("Too many question marks"),this.scanner.next()}function m(n){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==n&&this.error(r[n]+" is expected")}function v(){var n=0;return this.scanner.isDelim(d)?(this.scanner.next(),this.scanner.tokenType===a?void((n=f.call(this,0,!0))>0&&h.call(this,6-n)):this.scanner.isDelim(p)?(this.scanner.next(),void h.call(this,5)):void this.error("Hex digit or question mark is expected")):this.scanner.tokenType===u?(m.call(this,d),n=f.call(this,1,!0),this.scanner.isDelim(p)?void h.call(this,6-n):this.scanner.tokenType===s||this.scanner.tokenType===u?(m.call(this,c),void f.call(this,1,!1)):void 0):this.scanner.tokenType===s?(m.call(this,d),void((n=f.call(this,1,!0))>0&&h.call(this,6-n))):void this.error()}n.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return o(this.scanner.source,n,117)||this.error("U is expected"),o(this.scanner.source,n+1,d)||this.error("Plus sign is expected"),this.scanner.next(),v.call(this),{type:"UnicodeRange",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.value)}}},Tpyv:function(n,e,t){var l=t("vd7W").TYPE.WhiteSpace,o=Object.freeze({type:"WhiteSpace",loc:null,value:" "});n.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(l),o},generate:function(n){this.chunk(n.value)}}},Txjg:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("Zn8D");function o(){return Object(l.a)(1)}},UCR5:function(n,e,t){var l=t("Vywy"),o=t("Cbry"),i=t("KavO").ArraySet,r=t("sQiz").MappingList;function a(n){n||(n={}),this._file=o.getArg(n,"file",null),this._sourceRoot=o.getArg(n,"sourceRoot",null),this._skipValidation=o.getArg(n,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new r,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(n){var e=n.sourceRoot,t=new a({file:n.file,sourceRoot:e});return n.eachMapping((function(n){var l={generated:{line:n.generatedLine,column:n.generatedColumn}};null!=n.source&&(l.source=n.source,null!=e&&(l.source=o.relative(e,l.source)),l.original={line:n.originalLine,column:n.originalColumn},null!=n.name&&(l.name=n.name)),t.addMapping(l)})),n.sources.forEach((function(l){var i=l;null!==e&&(i=o.relative(e,l)),t._sources.has(i)||t._sources.add(i);var r=n.sourceContentFor(l);null!=r&&t.setSourceContent(l,r)})),t},a.prototype.addMapping=function(n){var e=o.getArg(n,"generated"),t=o.getArg(n,"original",null),l=o.getArg(n,"source",null),i=o.getArg(n,"name",null);this._skipValidation||this._validateMapping(e,t,l,i),null!=l&&(l=String(l),this._sources.has(l)||this._sources.add(l)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:null!=t&&t.line,originalColumn:null!=t&&t.column,source:l,name:i})},a.prototype.setSourceContent=function(n,e){var t=n;null!=this._sourceRoot&&(t=o.relative(this._sourceRoot,t)),null!=e?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(t)]=e):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(t)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(n,e,t){var l=e;if(null==e){if(null==n.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');l=n.file}var r=this._sourceRoot;null!=r&&(l=o.relative(r,l));var a=new i,u=new i;this._mappings.unsortedForEach((function(e){if(e.source===l&&null!=e.originalLine){var i=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=i.source&&(e.source=i.source,null!=t&&(e.source=o.join(t,e.source)),null!=r&&(e.source=o.relative(r,e.source)),e.originalLine=i.line,e.originalColumn=i.column,null!=i.name&&(e.name=i.name))}var s=e.source;null==s||a.has(s)||a.add(s);var d=e.name;null==d||u.has(d)||u.add(d)}),this),this._sources=a,this._names=u,n.sources.forEach((function(e){var l=n.sourceContentFor(e);null!=l&&(null!=t&&(e=o.join(t,e)),null!=r&&(e=o.relative(r,e)),this.setSourceContent(e,l))}),this)},a.prototype._validateMapping=function(n,e,t,l){if(e&&"number"!=typeof e.line&&"number"!=typeof e.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(n&&"line"in n&&"column"in n&&n.line>0&&n.column>=0)||e||t||l)&&!(n&&"line"in n&&"column"in n&&e&&"line"in e&&"column"in e&&n.line>0&&n.column>=0&&e.line>0&&e.column>=0&&t))throw new Error("Invalid mapping: "+JSON.stringify({generated:n,source:t,original:e,name:l}))},a.prototype._serializeMappings=function(){for(var n,e,t,i,r=0,a=1,u=0,s=0,d=0,c=0,p="",f=this._mappings.toArray(),h=0,m=f.length;h<m;h++){if(n="",(e=f[h]).generatedLine!==a)for(r=0;e.generatedLine!==a;)n+=";",a++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(e,f[h-1]))continue;n+=","}n+=l.encode(e.generatedColumn-r),r=e.generatedColumn,null!=e.source&&(i=this._sources.indexOf(e.source),n+=l.encode(i-c),c=i,n+=l.encode(e.originalLine-1-s),s=e.originalLine-1,n+=l.encode(e.originalColumn-u),u=e.originalColumn,null!=e.name&&(t=this._names.indexOf(e.name),n+=l.encode(t-d),d=t)),p+=n}return p},a.prototype._generateSourcesContent=function(n,e){return n.map((function(n){if(!this._sourcesContents)return null;null!=e&&(n=o.relative(e,n));var t=o.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)},a.prototype.toJSON=function(){var n={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(n.file=this._file),null!=this._sourceRoot&&(n.sourceRoot=this._sourceRoot),this._sourcesContents&&(n.sourcesContent=this._generateSourcesContent(n.sources,n.sourceRoot)),n},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a},UGdY:function(n,e,t){var l=t("UCR5").SourceMapGenerator,o={Atrule:!0,Selector:!0,Declaration:!0};n.exports=function(n){var e=new l,t=1,i=0,r={line:1,column:0},a={line:0,column:0},u=!1,s={line:1,column:0},d={generated:s},c=n.node;n.node=function(n){if(n.loc&&n.loc.start&&o.hasOwnProperty(n.type)){var l=n.loc.start.line,p=n.loc.start.column-1;a.line===l&&a.column===p||(a.line=l,a.column=p,r.line=t,r.column=i,u&&(u=!1,r.line===s.line&&r.column===s.column||e.addMapping(d)),u=!0,e.addMapping({source:n.loc.source,original:a,generated:r}))}c.call(this,n),u&&o.hasOwnProperty(n.type)&&(s.line=t,s.column=i)};var p=n.chunk;n.chunk=function(n){for(var e=0;e<n.length;e++)10===n.charCodeAt(e)?(t++,i=0):i++;p(n)};var f=n.result;return n.result=function(){return u&&e.addMapping(d),{css:f(),map:e}},n}},UR0p:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("h9Dq"),i=function(n){function e(e,t){void 0===e&&(e=r),void 0===t&&(t=Number.POSITIVE_INFINITY);var l=n.call(this,e,(function(){return l.frame}))||this;return l.maxFrames=t,l.frame=0,l.index=-1,l}return l.c(e,n),e.prototype.flush=function(){for(var n,e,t=this.actions,l=this.maxFrames;(e=t[0])&&e.delay<=l&&(t.shift(),this.frame=e.delay,!(n=e.execute(e.state,e.delay))););if(n){for(;e=t.shift();)e.unsubscribe();throw n}},e.frameTimeFactor=10,e}(t("CS9Q").a),r=function(n){function e(e,t,l){void 0===l&&(l=e.index+=1);var o=n.call(this,e,t)||this;return o.scheduler=e,o.work=t,o.index=l,o.active=!0,o.index=e.index=l,o}return l.c(e,n),e.prototype.schedule=function(t,l){if(void 0===l&&(l=0),!this.id)return n.prototype.schedule.call(this,t,l);this.active=!1;var o=new e(this.scheduler,this.work);return this.add(o),o.schedule(t,l)},e.prototype.requestAsyncId=function(n,t,l){void 0===l&&(l=0),this.delay=n.frame+l;var o=n.actions;return o.push(this),o.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(n,e,t){void 0===t&&(t=0)},e.prototype._execute=function(e,t){if(!0===this.active)return n.prototype._execute.call(this,e,t)},e.sortActions=function(n,e){return n.delay===e.delay?n.index===e.index?0:n.index>e.index?1:-1:n.delay>e.delay?1:-1},e}(o.a)},UwDK:function(n,e,t){var l=t("vd7W").TYPE.RightParenthesis;n.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(n,e){var t,o=this.scanner.tokenStart,i=this.consumeFunctionName(),r=i.toLowerCase();return t=e.hasOwnProperty(r)?e[r].call(this,e):n.call(this,e),this.scanner.eof||this.eat(l),{type:"Function",loc:this.getLocation(o,this.scanner.tokenStart),name:i,children:t}},generate:function(n){this.chunk(n.name),this.chunk("("),this.children(n),this.chunk(")")},walkContext:"function"}},VGuC:function(n,e,t){"use strict";function l(n){return n instanceof Date&&!isNaN(+n)}t.d(e,"a",(function(){return l}))},VJNc:function(n,e,t){"use strict";function l(n){return n&&"object"==typeof n&&"default"in n?n.default:n}Object.defineProperty(e,"__esModule",{value:!0});var o=l(t("uMIJ")),i=l(t("RX3l")),r=l(t("xijO")),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol?"symbol":typeof n},u=function(n){return null!=n&&"object"===(void 0===n?"undefined":a(n))&&1===n.nodeType&&"object"===a(n.style)&&"object"===a(n.ownerDocument)};function s(n){if("string"==typeof n)try{return document.querySelector(n)}catch(e){throw e}else if(r(n))return n}function d(n,e){if(e=f(e,!0),!u(e))return-1;for(var t=0;t<n.length;t++)if(n[t]===e)return t;return-1}function c(n,e){return-1!==d(n,e)}function p(n){if(!n)return[];try{return"string"==typeof n?o(document.querySelectorAll(n)):i(n)?n.map(f):void 0===n.length?[f(n)]:o(n,f)}catch(e){throw new Error(e)}}function f(n,e){if("string"==typeof n)try{return document.querySelector(n)}catch(t){throw t}if(!u(n)&&!e)throw new TypeError(n+" is not a DOM element.");return n}e.indexOfElement=d,e.hasElement=c,e.domListOf=p,e.concatElementLists=function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return n.reduce((function(n,e){return e.length?n:n.concat(p(e))}),[])},e.addElements=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];return function(n,e){for(var t=0;t<e.length;t++)c(n,e[t])||n.push(e[t]);return e}(n,e=e.map(f))},e.removeElements=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];return e.map(f).reduce((function(e,t){var l=d(n,t);return-1!==l?e.concat(n.splice(l,1)):e}),[])},e.resolveElement=f,e.select=s,e.selectAll=function(n){return"string"==typeof n?Array.prototype.slice.apply(document.querySelectorAll(n)):i(n)?n.map(s):"length"in n?o(n).map(s):void 0}},VNr4:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("6blF"),o=t("isby"),i=t("67Y/"),r=t("McSo"),a=t("0/uQ");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(1===n.length){var t=n[0];if(Object(o.a)(t))return s(t,null);if(Object(r.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){var l=Object.keys(t);return s(l.map((function(n){return t[n]})),l)}}if("function"==typeof n[n.length-1]){var a=n.pop();return s(n=1===n.length&&Object(o.a)(n[0])?n[0]:n,null).pipe(Object(i.a)((function(n){return a.apply(void 0,n)})))}return s(n,null)}function s(n,e){return new l.a((function(t){var l=n.length;if(0!==l)for(var o=new Array(l),i=0,r=0,u=function(u){var s=Object(a.a)(n[u]),d=!1;t.add(s.subscribe({next:function(n){d||(d=!0,r++),o[u]=n},error:function(n){return t.error(n)},complete:function(){++i!==l&&d||(r===l&&t.next(e?e.reduce((function(n,e,t){return n[e]=o[t],n}),{}):o),t.complete())}}))},s=0;s<l;s++)u(s);else t.complete()}))}},VQ2P:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return function(e){return e.lift(new r(n))}}var r=function(){function n(n){this.predicate=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.predicate=t,l.skipping=!0,l.index=0,l}return l.c(e,n),e.prototype._next=function(n){var e=this.destination;this.skipping&&this.tryCallPredicate(n),this.skipping||e.next(n)},e.prototype.tryCallPredicate=function(n){try{var e=this.predicate(n,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.a)},VRG1:function(n,e,t){n.exports=t("2pxp")},VYim:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("NKZO");function o(n,e){return function(t){return t.lift(new l.a(n,t,!0,e))}}},Vj1t:function(n,e,t){var l=t("vd7W").TYPE,o=l.LeftParenthesis,i=l.RightParenthesis;n.exports={name:"Parentheses",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.eat(o),t=n.call(this,e),this.scanner.eof||this.eat(i),{type:"Parentheses",loc:this.getLocation(l,this.scanner.tokenStart),children:t}},generate:function(n){this.chunk("("),this.children(n),this.chunk(")")}}},"VnD/":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return function(t){return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.predicate=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.thisArg))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.thisArg=l,o.count=0,o}return l.c(e,n),e.prototype._next=function(n){var e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(n)},e}(o.a)},Vywy:function(n,e,t){var l=t("Jcck");e.encode=function(n){var e,t="",o=function(n){return n<0?1+(-n<<1):0+(n<<1)}(n);do{e=31&o,(o>>>=5)>0&&(e|=32),t+=l.encode(e)}while(o>0);return t},e.decode=function(n,e,t){var o,i,r,a,u=n.length,s=0,d=0;do{if(e>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=l.decode(n.charCodeAt(e++))))throw new Error("Invalid base64 digit: "+n.charAt(e-1));o=!!(32&i),s+=(i&=31)<<d,d+=5}while(o);t.value=(a=(r=s)>>1,1==(1&r)?-a:a),t.rest=e}},W0Ae:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("isby"),i=t("IUTb"),r=t("MGBS"),a=t("zotm");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(1===n.length){if(!Object(o.a)(n[0]))return n[0];n=n[0]}return Object(i.a)(n,void 0).lift(new s)}var s=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new d(n))},n}(),d=function(n){function e(e){var t=n.call(this,e)||this;return t.hasFirst=!1,t.observables=[],t.subscriptions=[],t}return l.c(e,n),e.prototype._next=function(n){this.observables.push(n)},e.prototype._complete=function(){var n=this.observables,e=n.length;if(0===e)this.destination.complete();else{for(var t=0;t<e&&!this.hasFirst;t++){var l=n[t],o=Object(a.a)(this,l,l,t);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}},e.prototype.notifyNext=function(n,e,t,l,o){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==t){var r=this.subscriptions[i];r.unsubscribe(),this.remove(r)}this.subscriptions=null}this.destination.next(e)},e}(r.a)},"W1+X":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("K9Ia"),o=t("xlPZ");function i(n){return n?Object(o.a)((function(){return new l.b}),n):Object(o.a)(new l.b)}},WbdR:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("FFOo"),i=t("6blF"),r=t("MGBS"),a=t("zotm");function u(n,e){return e?function(t){return new c(t,e).lift(new s(n))}:function(e){return e.lift(new s(n))}}var s=function(){function n(n){this.delayDurationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.delayDurationSelector))},n}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.delayDurationSelector=t,l.completed=!1,l.delayNotifierSubscriptions=[],l.index=0,l}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(n),this.removeSubscription(o),this.tryComplete()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){var e=this.removeSubscription(n);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(n){var e=this.index++;try{var t=this.delayDurationSelector(n,e);t&&this.tryDelay(t,n)}catch(l){this.destination.error(l)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(n){n.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(n);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),n.outerValue},e.prototype.tryDelay=function(n,e){var t=Object(a.a)(this,n,e);t&&!t.closed&&(this.destination.add(t),this.delayNotifierSubscriptions.push(t))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(r.a),c=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subscriptionDelay=t,l}return l.c(e,n),e.prototype._subscribe=function(n){this.subscriptionDelay.subscribe(new p(n,this.source))},e}(i.a),p=function(n){function e(e,t){var l=n.call(this)||this;return l.parent=e,l.source=t,l.sourceSubscribed=!1,l}return l.c(e,n),e.prototype._next=function(n){this.subscribeToSource()},e.prototype._error=function(n){this.unsubscribe(),this.parent.error(n)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.a)},Wnek:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("K9Ia"),i=t("MGBS"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.windowBoundaries=n}return n.prototype.call=function(n,e){var t=new s(n),l=e.subscribe(t);return l.closed||t.add(Object(r.a)(t,this.windowBoundaries)),l},n}(),s=function(n){function e(e){var t=n.call(this,e)||this;return t.window=new o.b,e.next(t.window),t}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.openWindow()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){this._complete()},e.prototype._next=function(n){this.window.next(n)},e.prototype._error=function(n){this.window.error(n),this.destination.error(n)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var n=this.window;n&&n.complete();var e=this.destination,t=this.window=new o.b;e.next(t)},e}(i.a)},XDwu:function(n,e){n.exports=function(n,e){var t=Object.create(SyntaxError.prototype),l=new Error;return t.name=n,t.message=e,Object.defineProperty(t,"stack",{get:function(){return(l.stack||"").replace(/^(.+\n){1,3}/,n+": "+e+"\n")}}),t}},XlPw:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("6blF");function o(n,e){return new l.a(e?function(t){return e.schedule(i,0,{error:n,subscriber:t})}:function(e){return e.error(n)})}function i(n){n.subscriber.error(n.error)}},XtUT:function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__metadata||function(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)};Object.defineProperty(e,"__esModule",{value:!0});var i=t("CcnG"),r=t("oVTH"),a=function(){function n(n){this.hotkeysService=n,this.helpVisible=!1,this.title="Keyboard Shortcuts:"}return n.prototype.ngOnInit=function(){var n=this;this.subscription=this.hotkeysService.cheatSheetToggle.subscribe((function(e){!1!==e&&(n.hotkeys=n.hotkeysService.hotkeys.filter((function(n){return n.description}))),!1===e?n.helpVisible=!1:n.toggleCheatSheet()}))},n.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},n.prototype.toggleCheatSheet=function(){this.helpVisible=!this.helpVisible},l([i.Input(),o("design:type",String)],n.prototype,"title",void 0),l([i.Component({selector:"hotkeys-cheatsheet",styles:["\n.cfp-hotkeys-container {\n display: table !important;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n color: #333;\n font-size: 1em;\n background-color: rgba(255,255,255,0.9);\n}\n\n.cfp-hotkeys-container.fade {\n z-index: -1024;\n visibility: hidden;\n opacity: 0;\n -webkit-transition: opacity 0.15s linear;\n -moz-transition: opacity 0.15s linear;\n -o-transition: opacity 0.15s linear;\n transition: opacity 0.15s linear;\n}\n\n.cfp-hotkeys-container.fade.in {\n z-index: 10002;\n visibility: visible;\n opacity: 1;\n}\n\n.cfp-hotkeys-title {\n font-weight: bold;\n text-align: center;\n font-size: 1.2em;\n}\n\n.cfp-hotkeys {\n width: 100%;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n\n.cfp-hotkeys table {\n margin: auto;\n color: #333;\n}\n\n.cfp-content {\n display: table-cell;\n vertical-align: middle;\n}\n\n.cfp-hotkeys-keys {\n padding: 5px;\n text-align: right;\n}\n\n.cfp-hotkeys-key {\n display: inline-block;\n color: #fff;\n background-color: #333;\n border: 1px solid #333;\n border-radius: 5px;\n text-align: center;\n margin-right: 5px;\n box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;\n padding: 5px 9px;\n font-size: 1em;\n}\n\n.cfp-hotkeys-text {\n padding-left: 10px;\n font-size: 1em;\n}\n\n.cfp-hotkeys-close {\n position: fixed;\n top: 20px;\n right: 20px;\n font-size: 2em;\n font-weight: bold;\n padding: 5px 10px;\n border: 1px solid #ddd;\n border-radius: 5px;\n min-height: 45px;\n min-width: 45px;\n text-align: center;\n}\n\n.cfp-hotkeys-close:hover {\n background-color: #fff;\n cursor: pointer;\n}\n\n@media all and (max-width: 500px) {\n .cfp-hotkeys {\n font-size: 0.8em;\n }\n}\n\n@media all and (min-width: 750px) {\n .cfp-hotkeys {\n font-size: 1.2em;\n }\n} "],template:'<div class="cfp-hotkeys-container fade" [ngClass]="{\'in\': helpVisible}" style="display:none"><div class="cfp-hotkeys">\n <h4 class="cfp-hotkeys-title">{{ title }}</h4>\n <table><tbody>\n <tr *ngFor="let hotkey of hotkeys">\n <td class="cfp-hotkeys-keys">\n <span *ngFor="let key of hotkey.formatted" class="cfp-hotkeys-key">{{ key }}</span>\n </td>\n <td class="cfp-hotkeys-text">{{ hotkey.description }}</td>\n </tr>\n </tbody></table>\n <div class="cfp-hotkeys-close" (click)="toggleCheatSheet()">×</div>\n</div></div>'}),o("design:paramtypes",[r.HotkeysService])],n)}();e.CheatSheetComponent=a},"Y+H1":function(n,e,t){var l=t("vd7W").TYPE.Comment;n.exports={name:"Comment",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=this.scanner.tokenEnd;return this.eat(l),e-n+2>=2&&42===this.scanner.source.charCodeAt(e-2)&&47===this.scanner.source.charCodeAt(e-1)&&(e-=2),{type:"Comment",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n+2,e)}},generate:function(n){this.chunk("/*"),this.chunk(n.value),this.chunk("*/")}}},Y0sX:function(n,e,t){var l=t("O36p"),o=Object.prototype.hasOwnProperty;function i(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n&&n>=0}function r(n){return Boolean(n)&&i(n.offset)&&i(n.line)&&i(n.column)}function a(n,e){return function(t,i){if(!t||t.constructor!==Object)return i(t,"Type of node should be an Object");for(var a in t){var u=!0;if(!1!==o.call(t,a)){if("type"===a)t.type!==n&&i(t,"Wrong node type `"+t.type+"`, expected `"+n+"`");else if("loc"===a){if(null===t.loc)continue;if(t.loc&&t.loc.constructor===Object)if("string"!=typeof t.loc.source)a+=".source";else if(r(t.loc.start)){if(r(t.loc.end))continue;a+=".end"}else a+=".start";u=!1}else if(e.hasOwnProperty(a)){var s=0;for(u=!1;!u&&s<e[a].length;s++){var d=e[a][s];switch(d){case String:u="string"==typeof t[a];break;case Boolean:u="boolean"==typeof t[a];break;case null:u=null===t[a];break;default:"string"==typeof d?u=t[a]&&t[a].type===d:Array.isArray(d)&&(u=t[a]instanceof l)}}}else i(t,"Unknown field `"+a+"` for "+n+" node type");u||i(t,"Bad value for `"+n+"."+a+"`")}}for(var a in e)o.call(e,a)&&!1===o.call(t,a)&&i(t,"Field `"+n+"."+a+"` is missed")}}function u(n,e){var t=e.structure,l={type:String,loc:!0},i={type:'"'+n+'"'};for(var r in t)if(!1!==o.call(t,r)){for(var u=[],s=l[r]=Array.isArray(t[r])?t[r].slice():[t[r]],d=0;d<s.length;d++){var c=s[d];if(c===String||c===Boolean)u.push(c.name);else if(null===c)u.push("null");else if("string"==typeof c)u.push("<"+c+">");else{if(!Array.isArray(c))throw new Error("Wrong value `"+c+"` in `"+n+"."+r+"` structure definition");u.push("List")}}i[r]=u.join(" | ")}return{docs:i,check:a(n,l)}}n.exports={getStructureFromConfig:function(n){var e={};if(n.node)for(var t in n.node)if(o.call(n.node,t)){var l=n.node[t];if(!l.structure)throw new Error("Missed `structure` field in `"+t+"` node type definition");e[t]=u(t,l)}return e}}},ZVk9:function(n,e,t){var l=t("vd7W").isWhiteSpace,o=t("vd7W").cmpStr,i=t("vd7W").TYPE,r=i.Function,a=i.Url,u=i.RightParenthesis;n.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var n,e=this.scanner.tokenStart;switch(this.scanner.tokenType){case a:for(var t=e+4,i=this.scanner.tokenEnd-1;t<i&&l(this.scanner.source.charCodeAt(t));)t++;for(;t<i&&l(this.scanner.source.charCodeAt(i-1));)i--;n={type:"Raw",loc:this.getLocation(t,i),value:this.scanner.source.substring(t,i)},this.eat(a);break;case r:o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(r),this.scanner.skipSC(),n=this.String(),this.scanner.skipSC(),this.eat(u);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.scanner.tokenStart),value:n}},generate:function(n){this.chunk("url"),this.chunk("("),this.node(n.value),this.chunk(")")}}},Zn8D:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("psW0"),o=t("mChF");function i(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object(l.a)(o.a,n)}},ZqrO:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("K9Ia"),i=t("MGBS"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n,e))}}var u=function(){function n(n,e){this.notifier=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier,this.source))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.notifier=t,o.source=l,o}return l.c(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=this.errors,l=this.retries,i=this.retriesSubscription;if(l)this.errors=null,this.retriesSubscription=null;else{t=new o.b;try{l=(0,this.notifier)(t)}catch(a){return n.prototype.error.call(this,a)}i=Object(r.a)(this,l)}this._unsubscribeAndRecycle(),this.errors=t,this.retries=l,this.retriesSubscription=i,t.next(e)}},e.prototype._unsubscribe=function(){var n=this.errors,e=this.retriesSubscription;n&&(n.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(n,e,t,l,o){var i=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=i,this.source.subscribe(this)},e}(i.a)},a3y9:function(n,e){n.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},aGNc:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n){return function(e){return e.lift(new r(n))}}var r=function(){function n(n){this.value=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.value))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.value=t,l}return l.c(e,n),e.prototype._next=function(n){this.destination.next(this.value)},e}(o.a)},aUQo:function(n,e,t){var l=t("vd7W").TYPE.CDC;n.exports={name:"CDC",structure:[],parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"CDC",loc:this.getLocation(n,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},acmg:function(n,e,t){n.exports={node:t("585i")}},ad02:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return function(t){return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.compare=n,this.keySelector=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.compare,this.keySelector))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.keySelector=l,o.hasKey=!1,"function"==typeof t&&(o.compare=t),o}return l.c(e,n),e.prototype.compare=function(n,e){return n===e},e.prototype._next=function(n){var e;try{var t=this.keySelector;e=t?t(n):n}catch(o){return this.destination.error(o)}var l=!1;if(this.hasKey)try{l=(0,this.compare)(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;l||(this.key=e,this.destination.next(n))},e}(o.a)},ahDk:function(n,e,t){"use strict";t.r(e);var l=t("MpAI"),o=t("Rney"),i=t("DaYz"),r=t("KD6q"),a=t("b7Yd"),u=t("Qkom"),s=t("xsCy"),d=t("9Z1F"),c=t("F1hP"),p=t("isby"),f=t("dzgT"),h=t("0/uQ");function m(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null;return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(p.a)(n[0])&&(n=n[0].slice()),function(e){return e.lift.call(Object(h.a)([e].concat(n)),new f.a(t))}}var v=t("dEwP");function g(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(v.a.apply(void 0,[e].concat(n)))}}var b=t("Txjg"),_=t("Phjn"),y=t("dDXr"),C=t("6Dj2"),w=t("bWpG"),S=t("Gi3i"),x=t("HJBe"),k=t("vubp"),E=t("WbdR"),T=t("41IB"),R=t("ou9H"),I=t("ad02"),D=t("Cr8c"),F=t("MPaf"),O=t("F/XL");function M(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return Object(v.a)(e,O.a.apply(void 0,n))}}var N=t("zAZS"),A=t("31qQ"),P=t("6V3w"),q=t("sLa7"),L=t("VnD/"),j=t("2WpN"),V=t("NKZO"),B=t("VYim"),H=t("P6uZ"),U=t("IxPp"),z=t("DKLv"),G=t("igQg"),W=t("w1EH"),Z=t("67Y/"),K=t("aGNc"),X=t("uW6F"),Y=t("mcCJ"),$=t("p0ib");function Q(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call($.a.apply(void 0,[e].concat(n)))}}var J=t("Zn8D"),nn=t("psW0"),en=t("j0HV"),tn=t("lA9V"),ln=t("gAJb"),on=t("xlPZ"),rn=t("mZXl"),an=t("TJrj"),un=t("qyHS"),sn=t("h+56"),dn=t("FYXD"),cn=t("W1+X"),pn=t("3J/R"),fn=t("kR3u"),hn=t("s4kO"),mn=t("p33S"),vn=t("Qgas"),gn=t("Nzu2"),bn=t("tMwf"),_n=t("5tAl"),yn=t("ZqrO"),Cn=t("yGWI"),wn=t("wDBO"),Sn=t("/ojb"),xn=t("dC0D"),kn=t("wjTF"),En=t("S1nX"),Tn=t("klSw"),Rn=t("ujTQ"),In=t("0mNj"),Dn=t("14Nl"),Fn=t("0GsU"),On=t("VQ2P"),Mn=t("p0Sj"),Nn=t("9dfq"),An=t("KAzf"),Pn=t("15JJ"),qn=t("zQHH"),Ln=t("t9fZ"),jn=t("AxiF"),Vn=t("ny24"),Bn=t("jvbL"),Hn=t("xMyE"),Un=t("+gEr"),zn=t("AJqF"),Gn=t("tNVB"),Wn=t("6wkY"),Zn=t("0zd0"),Kn=t("ceCD"),Xn=t("5IO1"),Yn=t("R+r5"),$n=t("Wnek"),Qn=t("e5mD"),Jn=t("lxKu"),ne=t("K3ba"),ee=t("MysU"),te=t("/PH2"),le=t("909l");function oe(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(le.b.apply(void 0,[e].concat(n)))}}var ie=t("br6f");t.d(e,"audit",(function(){return l.a})),t.d(e,"auditTime",(function(){return o.a})),t.d(e,"buffer",(function(){return i.a})),t.d(e,"bufferCount",(function(){return r.a})),t.d(e,"bufferTime",(function(){return a.a})),t.d(e,"bufferToggle",(function(){return u.a})),t.d(e,"bufferWhen",(function(){return s.a})),t.d(e,"catchError",(function(){return d.a})),t.d(e,"combineAll",(function(){return c.a})),t.d(e,"combineLatest",(function(){return m})),t.d(e,"concat",(function(){return g})),t.d(e,"concatAll",(function(){return b.a})),t.d(e,"concatMap",(function(){return _.a})),t.d(e,"concatMapTo",(function(){return y.a})),t.d(e,"count",(function(){return C.a})),t.d(e,"debounce",(function(){return w.a})),t.d(e,"debounceTime",(function(){return S.a})),t.d(e,"defaultIfEmpty",(function(){return x.a})),t.d(e,"delay",(function(){return k.a})),t.d(e,"delayWhen",(function(){return E.a})),t.d(e,"dematerialize",(function(){return T.a})),t.d(e,"distinct",(function(){return R.a})),t.d(e,"distinctUntilChanged",(function(){return I.a})),t.d(e,"distinctUntilKeyChanged",(function(){return D.a})),t.d(e,"elementAt",(function(){return F.a})),t.d(e,"endWith",(function(){return M})),t.d(e,"every",(function(){return N.a})),t.d(e,"exhaust",(function(){return A.a})),t.d(e,"exhaustMap",(function(){return P.a})),t.d(e,"expand",(function(){return q.a})),t.d(e,"filter",(function(){return L.a})),t.d(e,"finalize",(function(){return j.a})),t.d(e,"find",(function(){return V.b})),t.d(e,"findIndex",(function(){return B.a})),t.d(e,"first",(function(){return H.a})),t.d(e,"groupBy",(function(){return U.b})),t.d(e,"ignoreElements",(function(){return z.a})),t.d(e,"isEmpty",(function(){return G.a})),t.d(e,"last",(function(){return W.a})),t.d(e,"map",(function(){return Z.a})),t.d(e,"mapTo",(function(){return K.a})),t.d(e,"materialize",(function(){return X.a})),t.d(e,"max",(function(){return Y.a})),t.d(e,"merge",(function(){return Q})),t.d(e,"mergeAll",(function(){return J.a})),t.d(e,"mergeMap",(function(){return nn.a})),t.d(e,"flatMap",(function(){return nn.a})),t.d(e,"mergeMapTo",(function(){return en.a})),t.d(e,"mergeScan",(function(){return tn.a})),t.d(e,"min",(function(){return ln.a})),t.d(e,"multicast",(function(){return on.a})),t.d(e,"observeOn",(function(){return rn.b})),t.d(e,"onErrorResumeNext",(function(){return an.a})),t.d(e,"pairwise",(function(){return un.a})),t.d(e,"partition",(function(){return sn.a})),t.d(e,"pluck",(function(){return dn.a})),t.d(e,"publish",(function(){return cn.a})),t.d(e,"publishBehavior",(function(){return pn.a})),t.d(e,"publishLast",(function(){return fn.a})),t.d(e,"publishReplay",(function(){return hn.a})),t.d(e,"race",(function(){return mn.a})),t.d(e,"reduce",(function(){return vn.a})),t.d(e,"repeat",(function(){return gn.a})),t.d(e,"repeatWhen",(function(){return bn.a})),t.d(e,"retry",(function(){return _n.a})),t.d(e,"retryWhen",(function(){return yn.a})),t.d(e,"refCount",(function(){return Cn.a})),t.d(e,"sample",(function(){return wn.a})),t.d(e,"sampleTime",(function(){return Sn.a})),t.d(e,"scan",(function(){return xn.a})),t.d(e,"sequenceEqual",(function(){return kn.a})),t.d(e,"share",(function(){return En.a})),t.d(e,"shareReplay",(function(){return Tn.a})),t.d(e,"single",(function(){return Rn.a})),t.d(e,"skip",(function(){return In.a})),t.d(e,"skipLast",(function(){return Dn.a})),t.d(e,"skipUntil",(function(){return Fn.a})),t.d(e,"skipWhile",(function(){return On.a})),t.d(e,"startWith",(function(){return Mn.a})),t.d(e,"subscribeOn",(function(){return Nn.a})),t.d(e,"switchAll",(function(){return An.a})),t.d(e,"switchMap",(function(){return Pn.a})),t.d(e,"switchMapTo",(function(){return qn.a})),t.d(e,"take",(function(){return Ln.a})),t.d(e,"takeLast",(function(){return jn.a})),t.d(e,"takeUntil",(function(){return Vn.a})),t.d(e,"takeWhile",(function(){return Bn.a})),t.d(e,"tap",(function(){return Hn.a})),t.d(e,"throttle",(function(){return Un.b})),t.d(e,"throttleTime",(function(){return zn.a})),t.d(e,"throwIfEmpty",(function(){return Gn.a})),t.d(e,"timeInterval",(function(){return Wn.a})),t.d(e,"timeout",(function(){return Zn.a})),t.d(e,"timeoutWith",(function(){return Kn.a})),t.d(e,"timestamp",(function(){return Xn.a})),t.d(e,"toArray",(function(){return Yn.a})),t.d(e,"window",(function(){return $n.a})),t.d(e,"windowCount",(function(){return Qn.a})),t.d(e,"windowTime",(function(){return Jn.a})),t.d(e,"windowToggle",(function(){return ne.a})),t.d(e,"windowWhen",(function(){return ee.a})),t.d(e,"withLatestFrom",(function(){return te.a})),t.d(e,"zip",(function(){return oe})),t.d(e,"zipAll",(function(){return ie.a}))},avj0:function(n,e,t){n.exports={dir:t("RApX"),has:t("te+T"),lang:t("zuyY"),matches:t("VRG1"),not:t("wDXs"),"nth-child":t("twrC"),"nth-last-child":t("yJif"),"nth-last-of-type":t("dsX3"),"nth-of-type":t("B3CK"),slotted:t("d/Fg")}},awvh:function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(n){return Error.call(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(n,e){return e+1+") "+n.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n,this}return n.prototype=Object.create(Error.prototype),n}()},b7Yd:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("T1DM"),i=t("FFOo"),r=t("nkY7");function a(n){var e=arguments.length,t=o.a;Object(r.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],e--);var l=null;e>=2&&(l=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new u(n,l,i,t))}}var u=function(){function n(n,e,t,l){this.bufferTimeSpan=n,this.bufferCreationInterval=e,this.maxBufferSize=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},n}(),s=function(){return function(){this.buffer=[]}}(),d=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;r.bufferTimeSpan=t,r.bufferCreationInterval=l,r.maxBufferSize=o,r.scheduler=i,r.contexts=[];var a=r.openContext();if(r.timespanOnly=null==l||l<0,r.timespanOnly)r.add(a.closeAction=i.schedule(c,t,{subscriber:r,context:a,bufferTimeSpan:t}));else{var u={bufferTimeSpan:t,bufferCreationInterval:l,subscriber:r,scheduler:i};r.add(a.closeAction=i.schedule(f,t,{subscriber:r,context:a})),r.add(i.schedule(p,l,u))}return r}return l.c(e,n),e.prototype._next=function(n){for(var e,t=this.contexts,l=t.length,o=0;o<l;o++){var i=t[o],r=i.buffer;r.push(n),r.length==this.maxBufferSize&&(e=i)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,n.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,t=this.destination;e.length>0;){var l=e.shift();t.next(l.buffer)}n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(n){this.closeContext(n);var e=n.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){n=this.openContext();var t=this.bufferTimeSpan;this.add(n.closeAction=this.scheduler.schedule(c,t,{subscriber:this,context:n,bufferTimeSpan:t}))}},e.prototype.openContext=function(){var n=new s;return this.contexts.push(n),n},e.prototype.closeContext=function(n){this.destination.next(n.buffer);var e=this.contexts;(e?e.indexOf(n):-1)>=0&&e.splice(e.indexOf(n),1)},e}(i.a);function c(n){var e=n.subscriber,t=n.context;t&&e.closeContext(t),e.closed||(n.context=e.openContext(),n.context.closeAction=this.schedule(n,n.bufferTimeSpan))}function p(n){var e=n.bufferCreationInterval,t=n.bufferTimeSpan,l=n.subscriber,o=n.scheduler,i=l.openContext();l.closed||(l.add(i.closeAction=o.schedule(f,t,{subscriber:l,context:i})),this.schedule(n,e))}function f(n){n.subscriber.closeContext(n.context)}},b7mW:function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n}()},bWpG:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.durationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.durationSelector))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.durationSelector=t,l.hasValue=!1,l.durationSubscription=null,l}return l.c(e,n),e.prototype._next=function(n){try{var e=this.durationSelector.call(this,n);e&&this._tryNext(n,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(n,e){var t=this.durationSubscription;this.value=n,this.hasValue=!0,t&&(t.unsubscribe(),this.remove(t)),(t=Object(i.a)(this,e))&&!t.closed&&this.add(this.durationSubscription=t)},e.prototype.notifyNext=function(n,e,t,l,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=null,t.unsubscribe(),this.remove(t)),this.value=null,this.hasValue=!1,n.prototype._next.call(this,e)}},e}(o.a)},bgAe:function(n,e,t){var l=t("O36p");n.exports=function n(e){var t={};for(var o in e){var i=e[o];i&&(Array.isArray(i)||i instanceof l?i=i.map(n):i.constructor===Object&&(i=n(i))),t[o]=i}return t}},bne5:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("6blF"),o=t("isby"),i=t("2Bdj"),r=t("67Y/");function a(n,e,t,u){return Object(i.a)(t)&&(u=t,t=void 0),u?a(n,e,t).pipe(Object(r.a)((function(n){return Object(o.a)(n)?u.apply(void 0,n):u(n)}))):new l.a((function(l){!function n(e,t,l,o,i){var r;if(function(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(e)){var a=e;e.addEventListener(t,l,i),r=function(){return a.removeEventListener(t,l,i)}}else if(function(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(e)){var u=e;e.on(t,l),r=function(){return u.off(t,l)}}else if(function(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(e)){var s=e;e.addListener(t,l),r=function(){return s.removeListener(t,l)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,c=e.length;d<c;d++)n(e[d],t,l,o,i)}o.add(r)}(n,e,(function(n){l.next(arguments.length>1?Array.prototype.slice.call(arguments):n)}),l,t)}))}},br6f:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("909l");function o(n){return function(e){return e.lift(new l.a(n))}}},bxbb:function(n,e,t){var l=t("vd7W").TYPE,o=l.String,i=l.Ident,r=l.Url,a=l.Function,u=l.LeftParenthesis;n.exports={parse:{prelude:function(){var n=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case o:n.push(this.String());break;case r:case a:n.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==i&&this.lookupNonWSType(0)!==u||(n.push(this.WhiteSpace()),n.push(this.MediaQueryList())),n},block:null}}},"c/fO":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=["webkit","moz","ms","o"];e.requestAnimationFrame=function(){for(var n=0,e=l.length;n<e&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[l[n]+"RequestAnimationFrame"];var t;return window.requestAnimationFrame||(t=0,window.requestAnimationFrame=function(n){var e=(new Date).getTime(),l=Math.max(0,16-e-t),o=window.setTimeout((function(){return n(e+l)}),l);return t=e+l,o}),window.requestAnimationFrame.bind(window)}(),e.cancelAnimationFrame=function(){for(var n=0,e=l.length;n<e&&!window.cancelAnimationFrame;++n)window.cancelAnimationFrame=window[l[n]+"CancelAnimationFrame"]||window[l[n]+"CancelRequestAnimationFrame"];return window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){window.clearTimeout(n)}),window.cancelAnimationFrame.bind(window)}()},ceCD:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("T1DM"),i=t("VGuC"),r=t("MGBS"),a=t("zotm");function u(n,e,t){return void 0===t&&(t=o.a),function(l){var o=Object(i.a)(n),r=o?+n-t.now():Math.abs(n);return l.lift(new s(r,o,e,t))}}var s=function(){function n(n,e,t,l){this.waitFor=n,this.absoluteTimeout=e,this.withObservable=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},n}(),d=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;return r.absoluteTimeout=t,r.waitFor=l,r.withObservable=o,r.scheduler=i,r.action=null,r.scheduleTimeout(),r}return l.c(e,n),e.dispatchTimeout=function(n){var e=n.withObservable;n._unsubscribeAndRecycle(),n.add(Object(a.a)(n,e))},e.prototype.scheduleTimeout=function(){var n=this.action;n?this.action=n.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(),n.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(r.a)},crnd:function(n,e){function t(n){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}))}t.keys=function(){return[]},t.resolve=t,n.exports=t,t.id="crnd"},"d/Fg":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},dB5I:function(n,e,t){var l=t("vd7W").TYPE.Hash;n.exports={name:"IdSelector",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"IdSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n+1)}},generate:function(n){this.chunk("#"),this.chunk(n.name)}}},dC0D:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){var t=!1;return arguments.length>=2&&(t=!0),function(l){return l.lift(new r(n,e,t))}}var r=function(){function n(n,e,t){void 0===t&&(t=!1),this.accumulator=n,this.seed=e,this.hasSeed=t}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.accumulator,this.seed,this.hasSeed))},n}(),a=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i.accumulator=t,i._seed=l,i.hasSeed=o,i.index=0,i}return l.c(e,n),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(n){this.hasSeed=!0,this._seed=n},enumerable:!0,configurable:!0}),e.prototype._next=function(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)},e.prototype._tryNext=function(n){var e,t=this.index++;try{e=this.accumulator(this.seed,n,t)}catch(l){this.destination.error(l)}this.seed=e,this.destination.next(e)},e}(o.a)},dDXr:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("Phjn");function o(n,e){return Object(l.a)((function(){return n}),e)}},dEwP:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("F/XL"),o=t("Txjg");function i(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Object(o.a)()(l.a.apply(void 0,n))}},dsX3:function(n,e,t){n.exports=t("lXnc")},dv2O:function(n,e){n.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},dzgT:function(n,e,t){"use strict";t.d(e,"b",(function(){return d})),t.d(e,"a",(function(){return c}));var l=t("mrSG"),o=t("nkY7"),i=t("isby"),r=t("MGBS"),a=t("zotm"),u=t("IUTb"),s={};function d(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null,l=null;return Object(o.a)(n[n.length-1])&&(l=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(i.a)(n[0])&&(n=n[0]),Object(u.a)(n,l).lift(new c(t))}var c=function(){function n(n){this.resultSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.resultSelector))},n}(),p=function(n){function e(e,t){var l=n.call(this,e)||this;return l.resultSelector=t,l.active=0,l.values=[],l.observables=[],l}return l.c(e,n),e.prototype._next=function(n){this.values.push(s),this.observables.push(n)},e.prototype._complete=function(){var n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var t=0;t<e;t++){var l=n[t];this.add(Object(a.a)(this,l,l,t))}}},e.prototype.notifyComplete=function(n){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(n,e,t,l,o){var i=this.values,r=this.toRespond?i[t]===s?--this.toRespond:this.toRespond:0;i[t]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(n){var e;try{e=this.resultSelector.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(r.a)},e1rG:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,i=l.WhiteSpace,r=l.Comment,a=l.Semicolon;function u(n){return this.Raw(n,o.semicolonIncluded,!0)}n.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var n=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case i:case r:case a:this.scanner.next();break;default:n.push(this.parseWithFallback(this.Declaration,u))}return{type:"DeclarationList",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n,(function(n){"Declaration"===n.type&&this.chunk(";")}))}}},e5mD:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("K9Ia");function r(n,e){return void 0===e&&(e=0),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.windowSize=n,this.startWindowEvery=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.windowSize,this.startWindowEvery))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.destination=e,o.windowSize=t,o.startWindowEvery=l,o.windows=[new i.b],o.count=0,e.next(o.windows[0]),o}return l.c(e,n),e.prototype._next=function(n){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,t=this.destination,l=this.windowSize,o=this.windows,r=o.length,a=0;a<r&&!this.closed;a++)o[a].next(n);var u=this.count-l+1;if(u>=0&&u%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var s=new i.b;o.push(s),t.next(s)}},e.prototype._error=function(n){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(n);this.destination.error(n)},e.prototype._complete=function(){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.a)},eAxx:function(n,e){n.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},eWth:function(n,e,t){var l=t("q8iP"),o=function(n){this.str=n,this.pos=0};o.prototype={charCodeAt:function(n){return n<this.str.length?this.str.charCodeAt(n):0},charCode:function(){return this.charCodeAt(this.pos)},nextCharCode:function(){return this.charCodeAt(this.pos+1)},nextNonWsCode:function(n){return this.charCodeAt(this.findWsEnd(n))},findWsEnd:function(n){for(;n<this.str.length;n++){var e=this.str.charCodeAt(n);if(13!==e&&10!==e&&12!==e&&32!==e&&9!==e)break}return n},substringToPos:function(n){return this.str.substring(this.pos,this.pos=n)},eat:function(n){this.charCode()!==n&&this.error("Expect `"+String.fromCharCode(n)+"`"),this.pos++},peek:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""},error:function(n){throw new l(n,this.str,this.pos)}},n.exports=o},emHa:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("6blF"),o=t("svcd"),i=t("67Y/"),r=t("1fDf"),a=t("nkY7"),u=t("isby");function s(n,e,t){if(e){if(!Object(a.a)(e))return function(){for(var l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return s(n,t).apply(void 0,l).pipe(Object(i.a)((function(n){return Object(u.a)(n)?e.apply(void 0,n):e(n)})))};t=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var a={subject:void 0,args:e,callbackFunc:n,scheduler:t,context:this};return new l.a((function(l){var i=a.context,u=a.subject;if(t)return t.schedule(d,0,{params:a,subscriber:l,context:i});if(!u){u=a.subject=new o.a;try{n.apply(i,e.concat([function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.shift();t?u.error(t):(u.next(n.length<=1?n[0]:n),u.complete())}]))}catch(s){Object(r.a)(u)?u.error(s):console.warn(s)}}return u.subscribe(l)}))}}function d(n){var e=this,t=n.params,l=n.subscriber,i=n.context,r=t.callbackFunc,a=t.args,u=t.scheduler,s=t.subject;if(!s){s=t.subject=new o.a;try{r.apply(i,a.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var l=n.shift();if(l)e.add(u.schedule(p,0,{err:l,subject:s}));else{var o=n.length<=1?n[0]:n;e.add(u.schedule(c,0,{value:o,subject:s}))}}]))}catch(d){this.add(u.schedule(p,0,{err:d,subject:s}))}}this.add(s.subscribe(l))}function c(n){var e=n.subject;e.next(n.value),e.complete()}function p(n){n.subject.error(n.err)}},errG:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},fmF7:function(n,e,t){n.exports={SyntaxError:t("q8iP"),parse:t("tZmI"),generate:t("vI5D"),walk:t("Fm6d")}},gAJb:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("Qgas");function o(n){var e="function"==typeof n?function(e,t){return n(e,t)<0?e:t}:function(n,e){return n<e?n:e};return Object(l.a)(e)}},gCdt:function(n,e,t){var l=t("vd7W").TYPE,o=l.LeftSquareBracket,i=l.RightSquareBracket;n.exports={name:"Brackets",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.eat(o),t=n.call(this,e),this.scanner.eof||this.eat(i),{type:"Brackets",loc:this.getLocation(l,this.scanner.tokenStart),children:t}},generate:function(n){this.chunk("["),this.children(n),this.chunk("]")}}},gI3B:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("6blF"),o=t("T1DM"),i=t("/21U"),r=t("nkY7");function a(n,e,t){void 0===n&&(n=0);var a=-1;return Object(i.a)(e)?a=Number(e)<1?1:Number(e):Object(r.a)(e)&&(t=e),Object(r.a)(t)||(t=o.a),new l.a((function(e){var l=Object(i.a)(n)?n:+n-t.now();return t.schedule(u,l,{index:0,period:a,subscriber:e})}))}function u(n){var e=n.index,t=n.period,l=n.subscriber;if(l.next(e),!l.closed){if(-1===t)return l.complete();n.index=e+1,this.schedule(n,t)}}},gTGj:function(n,e,t){var l=t("vd7W").TYPE.Ident;n.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(46)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(l)}},generate:function(n){this.chunk("."),this.chunk(n.name)}}},"h+56":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("jFaF"),o=t("VnD/");function i(n,e){return function(t){return[Object(o.a)(n,e)(t),Object(o.a)(Object(l.a)(n,e))(t)]}}},h9Dq:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){return n.call(this)||this}return l.c(e,n),e.prototype.schedule=function(n,e){return void 0===e&&(e=0),this},e}(t("pugT").a);t.d(e,"a",(function(){return i}));var i=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l.pending=!1,l}return l.c(e,n),e.prototype.schedule=function(n,e){if(void 0===e&&(e=0),this.closed)return this;this.state=n;var t=this.id,l=this.scheduler;return null!=t&&(this.id=this.recycleAsyncId(l,t,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(l,this.id,e),this},e.prototype.requestAsyncId=function(n,e,t){return void 0===t&&(t=0),setInterval(n.flush.bind(n,this),t)},e.prototype.recycleAsyncId=function(n,e,t){if(void 0===t&&(t=0),null!==t&&this.delay===t&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(n,e);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(n,e){var t=!1,l=void 0;try{this.work(n)}catch(o){t=!0,l=!!o&&o||new Error(o)}if(t)return this.unsubscribe(),l},e.prototype._unsubscribe=function(){var n=this.id,e=this.scheduler,t=e.actions,l=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&t.splice(l,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null},e}(o)},i4X3:function(n,e,t){"use strict";var l=t("6blF"),o=t("pugT"),i=t("xTla"),r=t("JF+6"),a=t("En8+"),u=t("/WYv"),s=t("2ePl");function d(n,e){if(null!=n){if(function(n){return n&&"function"==typeof n[i.a]}(n))return function(n,e){return new l.a((function(t){var l=new o.a;return l.add(e.schedule((function(){var o=n[i.a]();l.add(o.subscribe({next:function(n){l.add(e.schedule((function(){return t.next(n)})))},error:function(n){l.add(e.schedule((function(){return t.error(n)})))},complete:function(){l.add(e.schedule((function(){return t.complete()})))}}))}))),l}))}(n,e);if(Object(u.a)(n))return function(n,e){return new l.a((function(t){var l=new o.a;return l.add(e.schedule((function(){return n.then((function(n){l.add(e.schedule((function(){t.next(n),l.add(e.schedule((function(){return t.complete()})))})))}),(function(n){l.add(e.schedule((function(){return t.error(n)})))}))}))),l}))}(n,e);if(Object(s.a)(n))return Object(r.a)(n,e);if(function(n){return n&&"function"==typeof n[a.a]}(n)||"string"==typeof n)return function(n,e){if(!n)throw new Error("Iterable cannot be null");return new l.a((function(t){var l,i=new o.a;return i.add((function(){l&&"function"==typeof l.return&&l.return()})),i.add(e.schedule((function(){l=n[a.a](),i.add(e.schedule((function(){if(!t.closed){var n,e;try{var o=l.next();n=o.value,e=o.done}catch(i){return void t.error(i)}e?t.complete():(t.next(n),this.schedule())}})))}))),i}))}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}t.d(e,"a",(function(){return d}))},iLxQ:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){l=n},get useDeprecatedSynchronousErrorHandling(){return l}}},igQg:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(){return function(n){return n.lift(new r)}}var r=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){return n.call(this,e)||this}return l.c(e,n),e.prototype.notifyComplete=function(n){var e=this.destination;e.next(n),e.complete()},e.prototype._next=function(n){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.a)},imBb:function(n,e,t){var l;!function(o,i,r){if(o){for(var a,u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},s={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},d={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},c={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)u[111+p]="f"+p;for(p=0;p<=9;++p)u[p+96]=p.toString();b.prototype.bind=function(n,e,t){return n=n instanceof Array?n:[n],this._bindMultiple.call(this,n,e,t),this},b.prototype.unbind=function(n,e){return this.bind.call(this,n,(function(){}),e)},b.prototype.trigger=function(n,e){return this._directMap[n+":"+e]&&this._directMap[n+":"+e]({},n),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(n,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function n(e,t){return null!==e&&e!==i&&(e===t||n(e.parentNode,t))}(e,this.target))return!1;if("composedPath"in n&&"function"==typeof n.composedPath){var t=n.composedPath()[0];t!==n.target&&(e=t)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},b.prototype.handleKey=function(){var n=this;return n._handleKey.apply(n,arguments)},b.addKeycodes=function(n){for(var e in n)n.hasOwnProperty(e)&&(u[e]=n[e]);a=null},b.init=function(){var n=b(i);for(var e in n)"_"!==e.charAt(0)&&(b[e]=function(e){return function(){return n[e].apply(n,arguments)}}(e))},b.init(),o.Mousetrap=b,n.exports&&(n.exports=b),void 0===(l=(function(){return b}).call(e,t,e,n))||(n.exports=l)}function f(n,e,t){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent("on"+e,t)}function h(n){if("keypress"==n.type){var e=String.fromCharCode(n.which);return n.shiftKey||(e=e.toLowerCase()),e}return u[n.which]?u[n.which]:s[n.which]?s[n.which]:String.fromCharCode(n.which).toLowerCase()}function m(n){return"shift"==n||"ctrl"==n||"alt"==n||"meta"==n}function v(n,e,t){return t||(t=function(){if(!a)for(var n in a={},u)n>95&&n<112||u.hasOwnProperty(n)&&(a[u[n]]=n);return a}()[n]?"keydown":"keypress"),"keypress"==t&&e.length&&(t="keydown"),t}function g(n,e){var t,l,o,i=[];for(t=function(n){return"+"===n?["+"]:(n=n.replace(/\+{2}/g,"+plus")).split("+")}(n),o=0;o<t.length;++o)c[l=t[o]]&&(l=c[l]),e&&"keypress"!=e&&d[l]&&(l=d[l],i.push("shift")),m(l)&&i.push(l);return{key:l,modifiers:i,action:e=v(l,i,e)}}function b(n){var e=this;if(n=n||i,!(e instanceof b))return new b(n);e.target=n,e._callbacks={},e._directMap={};var t,l={},o=!1,r=!1,a=!1;function u(n){n=n||{};var e,t=!1;for(e in l)n[e]?t=!0:l[e]=0;t||(a=!1)}function s(n,t,o,i,r,a){var u,s,d,c=[],p=o.type;if(!e._callbacks[n])return[];for("keyup"==p&&m(n)&&(t=[n]),u=0;u<e._callbacks[n].length;++u)s=e._callbacks[n][u],(i||!s.seq||l[s.seq]==s.level)&&p==s.action&&(("keypress"!=p||o.metaKey||o.ctrlKey)&&(d=s.modifiers,t.sort().join(",")!==d.sort().join(","))||((!i&&s.combo==r||i&&s.seq==i&&s.level==a)&&e._callbacks[n].splice(u,1),c.push(s)));return c}function d(n,t,l,o){e.stopCallback(t,t.target||t.srcElement,l,o)||!1===n(t,l)&&(function(n){n.preventDefault?n.preventDefault():n.returnValue=!1}(t),function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0}(t))}function c(n){"number"!=typeof n.which&&(n.which=n.keyCode);var t=h(n);t&&("keyup"!=n.type||o!==t?e.handleKey(t,function(n){var e=[];return n.shiftKey&&e.push("shift"),n.altKey&&e.push("alt"),n.ctrlKey&&e.push("ctrl"),n.metaKey&&e.push("meta"),e}(n),n):o=!1)}function p(n,i,r,c,f){e._directMap[n+":"+r]=i;var m,v=(n=n.replace(/\s+/g," ")).split(" ");v.length>1?function(n,e,i,r){function s(e){return function(){a=e,++l[n],clearTimeout(t),t=setTimeout(u,1e3)}}function c(e){d(i,e,n),"keyup"!==r&&(o=h(e)),setTimeout(u,10)}l[n]=0;for(var f=0;f<e.length;++f){var m=f+1===e.length?c:s(r||g(e[f+1]).action);p(e[f],m,r,n,f)}}(n,v,i,r):(m=g(n,r),e._callbacks[m.key]=e._callbacks[m.key]||[],s(m.key,m.modifiers,{type:m.action},c,n,f),e._callbacks[m.key][c?"unshift":"push"]({callback:i,modifiers:m.modifiers,action:m.action,seq:c,level:f,combo:n}))}e._handleKey=function(n,e,t){var l,o=s(n,e,t),i={},c=0,p=!1;for(l=0;l<o.length;++l)o[l].seq&&(c=Math.max(c,o[l].level));for(l=0;l<o.length;++l)if(o[l].seq){if(o[l].level!=c)continue;p=!0,i[o[l].seq]=1,d(o[l].callback,t,o[l].combo,o[l].seq)}else p||d(o[l].callback,t,o[l].combo);var f="keypress"==t.type&&r;t.type!=a||m(n)||f||u(i),r=p&&"keydown"==t.type},e._bindMultiple=function(n,e,t){for(var l=0;l<n.length;++l)p(n[l],e,t)},f(n,"keypress",c),f(n,"keydown",c),f(n,"keyup",c)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},isby:function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){return Array.isArray||function(n){return n&&"number"==typeof n.length}}()},j0HV:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("psW0");function o(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?Object(l.a)((function(){return n}),e,t):("number"==typeof e&&(t=e),Object(l.a)((function(){return n}),t))}},jFaF:function(n,e,t){"use strict";function l(n,e){function t(){return!t.pred.apply(t.thisArg,arguments)}return t.pred=n,t.thisArg=e,t}t.d(e,"a",(function(){return l}))},jT1Q:function(n,e,t){var l=t("4af/"),o=t("BjAV"),i=t("2yAJ"),r=t("v9aN"),a=t("vYjF"),u=a.isErrorEvent,s=a.isDOMError,d=a.isDOMException,c=a.isError,p=a.isObject,f=a.isPlainObject,h=a.isUndefined,m=a.isFunction,v=a.isString,g=a.isArray,b=a.isEmptyObject,_=a.each,y=a.objectMerge,C=a.truncate,w=a.objectFrozen,S=a.hasKey,x=a.joinRegExp,k=a.urlencode,E=a.uuid4,T=a.htmlTreeAsString,R=a.isSameException,I=a.isSameStacktrace,D=a.parseUrl,F=a.fill,O=a.supportsFetch,M=a.supportsReferrerPolicy,N=a.serializeKeysForMessage,A=a.serializeException,P=a.sanitize,q=t("AKyF").wrapMethod,L="source protocol user pass host port path".split(" "),j=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function V(){return+new Date}var B="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},H=B.document,U=B.navigator;function z(n,e){return m(e)?function(t){return e(t,n)}:e}function G(){for(var n in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!h(H),this._hasNavigator=!h(U),this._lastCapturedException=null,this._lastData=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={release:B.SENTRY_RELEASE&&B.SENTRY_RELEASE.id,logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this._fetchDefaults={method:"POST",referrerPolicy:M()?"origin":""},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=B.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=V(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=B.location,this._lastHref=this._location&&this._location.href,this._resetBackoff(),this._originalConsole)this._originalConsoleMethods[n]=this._originalConsole[n]}(G.prototype={VERSION:"3.27.2",debug:!1,TraceKit:l,config:function(n,e){var t=this;if(t._globalServer)return this._logDebug("error","Error: Raven has already been configured"),t;if(!n)return t;var o=t._globalOptions;e&&_(e,(function(n,e){"tags"===n||"extra"===n||"user"===n?t._globalContext[n]=e:o[n]=e})),t.setDSN(n),o.ignoreErrors.push(/^Script error\.?$/),o.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),o.ignoreErrors=x(o.ignoreErrors),o.ignoreUrls=!!o.ignoreUrls.length&&x(o.ignoreUrls),o.whitelistUrls=!!o.whitelistUrls.length&&x(o.whitelistUrls),o.includePaths=x(o.includePaths),o.maxBreadcrumbs=Math.max(0,Math.min(o.maxBreadcrumbs||100,100));var i={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},r=o.autoBreadcrumbs;"[object Object]"==={}.toString.call(r)?r=y(i,r):!1!==r&&(r=i),o.autoBreadcrumbs=r;var a={tryCatch:!0},u=o.instrument;return"[object Object]"==={}.toString.call(u)?u=y(a,u):!1!==u&&(u=a),o.instrument=u,l.collectWindowErrors=!!o.collectWindowErrors,t},install:function(){var n=this;return n.isSetup()&&!n._isRavenInstalled&&(l.report.subscribe((function(){n._handleOnErrorStackInfo.apply(n,arguments)})),n._globalOptions.captureUnhandledRejections&&n._attachPromiseRejectionHandler(),n._patchFunctionToString(),n._globalOptions.instrument&&n._globalOptions.instrument.tryCatch&&n._instrumentTryCatch(),n._globalOptions.autoBreadcrumbs&&n._instrumentBreadcrumbs(),n._drainPlugins(),n._isRavenInstalled=!0),Error.stackTraceLimit=n._globalOptions.stackTraceLimit,this},setDSN:function(n){var e=this._parseDSN(n),t=e.path.lastIndexOf("/"),l=e.path.substr(1,t);this._dsn=n,this._globalKey=e.user,this._globalSecret=e.pass&&e.pass.substr(1),this._globalProject=e.path.substr(t+1),this._globalServer=this._getGlobalServer(e),this._globalEndpoint=this._globalServer+"/"+l+"api/"+this._globalProject+"/store/",this._resetBackoff()},context:function(n,e,t){return m(n)&&(t=e||[],e=n,n={}),this.wrap(n,e).apply(this,t)},wrap:function(n,e,t){var l=this;if(h(e)&&!m(n))return n;if(m(n)&&(e=n,n=void 0),!m(e))return e;try{if(e.__raven__)return e;if(e.__raven_wrapper__)return e.__raven_wrapper__}catch(r){return e}function o(){var o=[],i=arguments.length,a=!n||n&&!1!==n.deep;for(t&&m(t)&&t.apply(this,arguments);i--;)o[i]=a?l.wrap(n,arguments[i]):arguments[i];try{return e.apply(this,o)}catch(r){throw l._ignoreNextOnError(),l.captureException(r,n),r}}for(var i in e)S(e,i)&&(o[i]=e[i]);return o.prototype=e.prototype,e.__raven_wrapper__=o,o.__raven__=!0,o.__orig__=e,o},uninstall:function(){return l.report.uninstall(),this._detachPromiseRejectionHandler(),this._unpatchFunctionToString(),this._restoreBuiltIns(),this._restoreConsole(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},_promiseRejectionHandler:function(n){this._logDebug("debug","Raven caught unhandled promise rejection:",n),this.captureException(n.reason,{mechanism:{type:"onunhandledrejection",handled:!1}})},_attachPromiseRejectionHandler:function(){return this._promiseRejectionHandler=this._promiseRejectionHandler.bind(this),B.addEventListener&&B.addEventListener("unhandledrejection",this._promiseRejectionHandler),this},_detachPromiseRejectionHandler:function(){return B.removeEventListener&&B.removeEventListener("unhandledrejection",this._promiseRejectionHandler),this},captureException:function(n,e){if(e=y({trimHeadFrames:0},e||{}),u(n)&&n.error)n=n.error;else{if(s(n)||d(n)){var t=n.name||(s(n)?"DOMError":"DOMException");return this.captureMessage(n.message?t+": "+n.message:t,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}if(c(n))n=n;else{if(!f(n))return this.captureMessage(n,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}));e=this._getCaptureExceptionOptionsFromPlainObject(e,n),n=new Error(e.message)}}this._lastCapturedException=n;try{var o=l.computeStackTrace(n);this._handleStackInfo(o,e)}catch(i){if(n!==i)throw i}return this},_getCaptureExceptionOptionsFromPlainObject:function(n,e){var t=Object.keys(e).sort(),l=y(n,{message:"Non-Error exception captured with keys: "+N(t),fingerprint:[i(t)],extra:n.extra||{}});return l.extra.__serialized__=A(e),l},captureMessage:function(n,e){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(n)){var t,o=y({message:n+=""},e=e||{});try{throw new Error(n)}catch(s){t=s}t.name=null;var i=l.computeStackTrace(t),r=g(i.stack)&&i.stack[1];r&&"Raven.captureException"===r.func&&(r=i.stack[2]);var a=r&&r.url||"";if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(a))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(a))){if(this._globalOptions.stacktrace||e.stacktrace||""===o.message){o.fingerprint=null==o.fingerprint?n:o.fingerprint,(e=y({trimHeadFrames:0},e)).trimHeadFrames+=1;var u=this._prepareFrames(i,e);o.stacktrace={frames:u.reverse()}}return o.fingerprint&&(o.fingerprint=g(o.fingerprint)?o.fingerprint:[o.fingerprint]),this._send(o),this}}},captureBreadcrumb:function(n){var e=y({timestamp:V()/1e3},n);if(m(this._globalOptions.breadcrumbCallback)){var t=this._globalOptions.breadcrumbCallback(e);if(p(t)&&!b(t))e=t;else if(!1===t)return this}return this._breadcrumbs.push(e),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(n){var e=[].slice.call(arguments,1);return this._plugins.push([n,e]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(n){return this._globalContext.user=n,this},setExtraContext:function(n){return this._mergeContext("extra",n),this},setTagsContext:function(n){return this._mergeContext("tags",n),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(o(this._globalContext))},setEnvironment:function(n){return this._globalOptions.environment=n,this},setRelease:function(n){return this._globalOptions.release=n,this},setDataCallback:function(n){return this._globalOptions.dataCallback=z(this._globalOptions.dataCallback,n),this},setBreadcrumbCallback:function(n){return this._globalOptions.breadcrumbCallback=z(this._globalOptions.breadcrumbCallback,n),this},setShouldSendCallback:function(n){return this._globalOptions.shouldSendCallback=z(this._globalOptions.shouldSendCallback,n),this},setTransport:function(n){return this._globalOptions.transport=n,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var n=B.RavenConfig;n&&this.config(n.dsn,n.config).install()},showReportDialog:function(n){if(H){if(!(n=y({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},n)).eventId)throw new r("Missing eventId");if(!n.dsn)throw new r("Missing DSN");var e=encodeURIComponent,t=[];for(var l in n)if("user"===l){var o=n.user;o.name&&t.push("name="+e(o.name)),o.email&&t.push("email="+e(o.email))}else t.push(e(l)+"="+e(n[l]));var i=this._getGlobalServer(this._parseDSN(n.dsn)),a=H.createElement("script");a.async=!0,a.src=i+"/api/embed/error-page/?"+t.join("&"),(H.head||H.body).appendChild(a)}},_ignoreNextOnError:function(){var n=this;this._ignoreOnError+=1,setTimeout((function(){n._ignoreOnError-=1}))},_triggerEvent:function(n,e){var t,l;if(this._hasDocument){for(l in e=e||{},n="raven"+n.substr(0,1).toUpperCase()+n.substr(1),H.createEvent?(t=H.createEvent("HTMLEvents")).initEvent(n,!0,!0):(t=H.createEventObject()).eventType=n,e)S(e,l)&&(t[l]=e[l]);if(H.createEvent)H.dispatchEvent(t);else try{H.fireEvent("on"+t.eventType.toLowerCase(),t)}catch(o){}}},_breadcrumbEventHandler:function(n){var e=this;return function(t){if(e._keypressTimeout=null,e._lastCapturedEvent!==t){var l;e._lastCapturedEvent=t;try{l=T(t.target)}catch(o){l="<unknown>"}e.captureBreadcrumb({category:"ui."+n,message:l})}}},_keypressEventHandler:function(){var n=this;return function(e){var t;try{t=e.target}catch(i){return}var l=t&&t.tagName;if(l&&("INPUT"===l||"TEXTAREA"===l||t.isContentEditable)){var o=n._keypressTimeout;o||n._breadcrumbEventHandler("input")(e),clearTimeout(o),n._keypressTimeout=setTimeout((function(){n._keypressTimeout=null}),1e3)}}},_captureUrlChange:function(n,e){var t=D(this._location.href),l=D(e),o=D(n);this._lastHref=e,t.protocol===l.protocol&&t.host===l.host&&(e=l.relative),t.protocol===o.protocol&&t.host===o.host&&(n=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:e,from:n}})},_patchFunctionToString:function(){var n=this;n._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return n._originalFunctionToString.apply("function"==typeof this&&this.__raven__?this.__orig__:this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var n=this,e=n._wrappedBuiltIns;function t(e){return function(t,l){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var r=o[0];return m(r)&&(o[0]=n.wrap({mechanism:{type:"instrument",data:{function:e.name||"<anonymous>"}}},r)),e.apply?e.apply(this,o):e(o[0],o[1])}}var l=this._globalOptions.autoBreadcrumbs;function o(t){var o=B[t]&&B[t].prototype;o&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(F(o,"addEventListener",(function(e){return function(o,i,r,a){try{i&&i.handleEvent&&(i.handleEvent=n.wrap({mechanism:{type:"instrument",data:{target:t,function:"handleEvent",handler:i&&i.name||"<anonymous>"}}},i.handleEvent))}catch(c){}var u,s,d;return l&&l.dom&&("EventTarget"===t||"Node"===t)&&(s=n._breadcrumbEventHandler("click"),d=n._keypressEventHandler(),u=function(n){if(n){var e;try{e=n.type}catch(t){return}return"click"===e?s(n):"keypress"===e?d(n):void 0}}),e.call(this,o,n.wrap({mechanism:{type:"instrument",data:{target:t,function:"addEventListener",handler:i&&i.name||"<anonymous>"}}},i,u),r,a)}}),e),F(o,"removeEventListener",(function(n){return function(e,t,l,o){try{t=t&&(t.__raven_wrapper__?t.__raven_wrapper__:t)}catch(i){}return n.call(this,e,t,l,o)}}),e))}F(B,"setTimeout",t,e),F(B,"setInterval",t,e),B.requestAnimationFrame&&F(B,"requestAnimationFrame",(function(e){return function(t){return e(n.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:e&&e.name||"<anonymous>"}}},t))}}),e);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],r=0;r<i.length;r++)o(i[r])},_instrumentBreadcrumbs:function(){var n=this,e=this._globalOptions.autoBreadcrumbs,t=n._wrappedBuiltIns;function l(e,t){e in t&&m(t[e])&&F(t,e,(function(t){return n.wrap({mechanism:{type:"instrument",data:{function:e,handler:t&&t.name||"<anonymous>"}}},t)}))}if(e.xhr&&"XMLHttpRequest"in B){var o=B.XMLHttpRequest&&B.XMLHttpRequest.prototype;F(o,"open",(function(e){return function(t,l){return v(l)&&-1===l.indexOf(n._globalKey)&&(this.__raven_xhr={method:t,url:l,status_code:null}),e.apply(this,arguments)}}),t),F(o,"send",(function(e){return function(){var t=this;function o(){if(t.__raven_xhr&&4===t.readyState){try{t.__raven_xhr.status_code=t.status}catch(e){}n.captureBreadcrumb({type:"http",category:"xhr",data:t.__raven_xhr})}}for(var i=["onload","onerror","onprogress"],r=0;r<i.length;r++)l(i[r],t);return"onreadystatechange"in t&&m(t.onreadystatechange)?F(t,"onreadystatechange",(function(e){return n.wrap({mechanism:{type:"instrument",data:{function:"onreadystatechange",handler:e&&e.name||"<anonymous>"}}},e,o)})):t.onreadystatechange=o,e.apply(this,arguments)}}),t)}e.xhr&&O()&&F(B,"fetch",(function(e){return function(){for(var t=new Array(arguments.length),l=0;l<t.length;++l)t[l]=arguments[l];var o,i=t[0],r="GET";if("string"==typeof i?o=i:"Request"in B&&i instanceof B.Request?(o=i.url,i.method&&(r=i.method)):o=""+i,-1!==o.indexOf(n._globalKey))return e.apply(this,t);t[1]&&t[1].method&&(r=t[1].method);var a={method:r,url:o,status_code:null};return e.apply(this,t).then((function(e){return a.status_code=e.status,n.captureBreadcrumb({type:"http",category:"fetch",data:a}),e})).catch((function(e){throw n.captureBreadcrumb({type:"http",category:"fetch",data:a,level:"error"}),e}))}}),t),e.dom&&this._hasDocument&&(H.addEventListener?(H.addEventListener("click",n._breadcrumbEventHandler("click"),!1),H.addEventListener("keypress",n._keypressEventHandler(),!1)):H.attachEvent&&(H.attachEvent("onclick",n._breadcrumbEventHandler("click")),H.attachEvent("onkeypress",n._keypressEventHandler())));var i=B.chrome;if(e.location&&!(i&&i.app&&i.app.runtime)&&B.history&&B.history.pushState&&B.history.replaceState){var r=B.onpopstate;B.onpopstate=function(){var e=n._location.href;if(n._captureUrlChange(n._lastHref,e),r)return r.apply(this,arguments)};var a=function(e){return function(){var t=arguments.length>2?arguments[2]:void 0;return t&&n._captureUrlChange(n._lastHref,t+""),e.apply(this,arguments)}};F(B.history,"pushState",a,t),F(B.history,"replaceState",a,t)}if(e.console&&"console"in B&&console.log){var u=function(e,t){n.captureBreadcrumb({message:e,level:t.level,category:"console"})};_(["debug","info","warn","error","log"],(function(n,e){q(console,e,u)}))}},_restoreBuiltIns:function(){for(var n;this._wrappedBuiltIns.length;)(n=this._wrappedBuiltIns.shift())[0][n[1]]=n[2]},_restoreConsole:function(){for(var n in this._originalConsoleMethods)this._originalConsole[n]=this._originalConsoleMethods[n]},_drainPlugins:function(){var n=this;_(this._plugins,(function(e,t){t[0].apply(n,[n].concat(t[1]))}))},_parseDSN:function(n){var e=j.exec(n),t={},l=7;try{for(;l--;)t[L[l]]=e[l]||""}catch(o){throw new r("Invalid DSN: "+n)}if(t.pass&&!this._globalOptions.allowSecretKey)throw new r("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return t},_getGlobalServer:function(n){var e="//"+n.host+(n.port?":"+n.port:"");return n.protocol&&(e=n.protocol+":"+e),e},_handleOnErrorStackInfo:function(n,e){(e=e||{}).mechanism=e.mechanism||{type:"onerror",handled:!1},this._ignoreOnError||this._handleStackInfo(n,e)},_handleStackInfo:function(n,e){var t=this._prepareFrames(n,e);this._triggerEvent("handle",{stackInfo:n,options:e}),this._processException(n.name,n.message,n.url,n.lineno,t,e)},_prepareFrames:function(n,e){var t=this,l=[];if(n.stack&&n.stack.length&&(_(n.stack,(function(e,o){var i=t._normalizeFrame(o,n.url);i&&l.push(i)})),e&&e.trimHeadFrames))for(var o=0;o<e.trimHeadFrames&&o<l.length;o++)l[o].in_app=!1;return l=l.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(n,e){var t={filename:n.url,lineno:n.line,colno:n.column,function:n.func||"?"};return n.url||(t.filename=e),t.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(t.filename)||/(Raven|TraceKit)\./.test(t.function)||/raven\.(min\.)?js$/.test(t.filename)),t},_processException:function(n,e,t,l,o,i){var r,a=(n?n+": ":"")+(e||"");if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)&&!this._globalOptions.ignoreErrors.test(a))&&(o&&o.length?(t=o[0].filename||t,o.reverse(),r={frames:o}):t&&(r={frames:[{filename:t,lineno:l,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(t))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(t)))){var u=y({exception:{values:[{type:n,value:e,stacktrace:r}]},transaction:t},i),s=u.exception.values[0];null==s.type&&""===s.value&&(s.value="Unrecoverable error caught"),!u.exception.mechanism&&u.mechanism&&(u.exception.mechanism=u.mechanism,delete u.mechanism),u.exception.mechanism=y({type:"generic",handled:!0},u.exception.mechanism||{}),this._send(u)}},_trimPacket:function(n){var e=this._globalOptions.maxMessageLength;if(n.message&&(n.message=C(n.message,e)),n.exception){var t=n.exception.values[0];t.value=C(t.value,e)}var l=n.request;return l&&(l.url&&(l.url=C(l.url,this._globalOptions.maxUrlLength)),l.Referer&&(l.Referer=C(l.Referer,this._globalOptions.maxUrlLength))),n.breadcrumbs&&n.breadcrumbs.values&&this._trimBreadcrumbs(n.breadcrumbs),n},_trimBreadcrumbs:function(n){for(var e,t,l,o=["to","from","url"],i=0;i<n.values.length;++i)if((t=n.values[i]).hasOwnProperty("data")&&p(t.data)&&!w(t.data)){l=y({},t.data);for(var r=0;r<o.length;++r)l.hasOwnProperty(e=o[r])&&l[e]&&(l[e]=C(l[e],this._globalOptions.maxUrlLength));n.values[i].data=l}},_getHttpData:function(){if(this._hasNavigator||this._hasDocument){var n={};return this._hasNavigator&&U.userAgent&&(n.headers={"User-Agent":U.userAgent}),B.location&&B.location.href&&(n.url=B.location.href),this._hasDocument&&H.referrer&&(n.headers||(n.headers={}),n.headers.Referer=H.referrer),n}},_resetBackoff:function(){this._backoffDuration=0,this._backoffStart=null},_shouldBackoff:function(){return this._backoffDuration&&V()-this._backoffStart<this._backoffDuration},_isRepeatData:function(n){var e=this._lastData;return!(!e||n.message!==e.message||n.transaction!==e.transaction)&&(n.stacktrace||e.stacktrace?I(n.stacktrace,e.stacktrace):n.exception||e.exception?R(n.exception,e.exception):!n.fingerprint&&!e.fingerprint||Boolean(n.fingerprint&&e.fingerprint)&&JSON.stringify(n.fingerprint)===JSON.stringify(e.fingerprint))},_setBackoffState:function(n){if(!this._shouldBackoff()){var e=n.status;if(400===e||401===e||429===e){var t;try{t=O()?n.headers.get("Retry-After"):n.getResponseHeader("Retry-After"),t=1e3*parseInt(t,10)}catch(l){}this._backoffDuration=t||2*this._backoffDuration||1e3,this._backoffStart=V()}}},_send:function(n){var e=this._globalOptions,t={project:this._globalProject,logger:e.logger,platform:"javascript"},l=this._getHttpData();l&&(t.request=l),n.trimHeadFrames&&delete n.trimHeadFrames,(n=y(t,n)).tags=y(y({},this._globalContext.tags),n.tags),n.extra=y(y({},this._globalContext.extra),n.extra),n.extra["session:duration"]=V()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(n.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(n.user=this._globalContext.user),e.environment&&(n.environment=e.environment),e.release&&(n.release=e.release),e.serverName&&(n.server_name=e.serverName),n=this._sanitizeData(n),Object.keys(n).forEach((function(e){(null==n[e]||""===n[e]||b(n[e]))&&delete n[e]})),m(e.dataCallback)&&(n=e.dataCallback(n)||n),n&&!b(n)&&(m(e.shouldSendCallback)&&!e.shouldSendCallback(n)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",n):"number"==typeof e.sampleRate?Math.random()<e.sampleRate&&this._sendProcessedPayload(n):this._sendProcessedPayload(n)))},_sanitizeData:function(n){return P(n,this._globalOptions.sanitizeKeys)},_getUuid:function(){return E()},_sendProcessedPayload:function(n,e){var t=this,l=this._globalOptions;if(this.isSetup())if(n=this._trimPacket(n),this._globalOptions.allowDuplicates||!this._isRepeatData(n)){this._lastEventId=n.event_id||(n.event_id=this._getUuid()),this._lastData=n,this._logDebug("debug","Raven about to send:",n);var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var i=n.exception&&n.exception.values[0];this._globalOptions.autoBreadcrumbs&&this._globalOptions.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:i?(i.type?i.type+": ":"")+i.value:n.message,event_id:n.event_id,level:n.level||"error"});var r=this._globalEndpoint;(l.transport||this._makeRequest).call(this,{url:r,auth:o,data:n,options:l,onSuccess:function(){t._resetBackoff(),t._triggerEvent("success",{data:n,src:r}),e&&e()},onError:function(l){t._logDebug("error","Raven transport failed to send: ",l),l.request&&t._setBackoffState(l.request),t._triggerEvent("failure",{data:n,src:r}),l=l||new Error("Raven send failed (no additional details provided)"),e&&e(l)}})}else this._logDebug("warn","Raven dropped repeat event: ",n)},_makeRequest:function(n){var e=n.url+"?"+k(n.auth),t=null,l={};if(n.options.headers&&(t=this._evaluateHash(n.options.headers)),n.options.fetchParameters&&(l=this._evaluateHash(n.options.fetchParameters)),O()){l.body=o(n.data);var i=y({},this._fetchDefaults),r=y(i,l);return t&&(r.headers=t),B.fetch(e,r).then((function(e){if(e.ok)n.onSuccess&&n.onSuccess();else{var t=new Error("Sentry error code: "+e.status);t.request=e,n.onError&&n.onError(t)}})).catch((function(){n.onError&&n.onError(new Error("Sentry error code: network unavailable"))}))}var a=B.XMLHttpRequest&&new B.XMLHttpRequest;a&&("withCredentials"in a||"undefined"!=typeof XDomainRequest)&&("withCredentials"in a?a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)n.onSuccess&&n.onSuccess();else if(n.onError){var e=new Error("Sentry error code: "+a.status);e.request=a,n.onError(e)}}:(a=new XDomainRequest,e=e.replace(/^https?:/,""),n.onSuccess&&(a.onload=n.onSuccess),n.onError&&(a.onerror=function(){var e=new Error("Sentry error code: XDomainRequest");e.request=a,n.onError(e)})),a.open("POST",e),t&&_(t,(function(n,e){a.setRequestHeader(n,e)})),a.send(o(n.data)))},_evaluateHash:function(n){var e={};for(var t in n)if(n.hasOwnProperty(t)){var l=n[t];e[t]="function"==typeof l?l():l}return e},_logDebug:function(n){this._originalConsoleMethods[n]&&(this.debug||this._globalOptions.debug)&&Function.prototype.apply.call(this._originalConsoleMethods[n],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(n,e){h(e)?delete this._globalContext[n]:this._globalContext[n]=y(this._globalContext[n]||{},e)}}).setUser=G.prototype.setUserContext,G.prototype.setReleaseContext=G.prototype.setRelease,n.exports=G},jpu9:function(n,e,t){var l=t("UGdY"),o=Object.prototype.hasOwnProperty;function i(n,e){var t=null;n.children.forEach("function"!=typeof e?this.node:function(n){null!==t&&e.call(this,t),this.node(n),t=n},this)}n.exports=function(n){function e(n){if(!o.call(t,n.type))throw new Error("Unknown node type: "+n.type);t[n.type].call(this,n)}var t={};if(n.node)for(var r in n.node)t[r]=n.node[r].generate;return function(n,t){var o="",r={children:i,node:e,chunk:function(n){o+=n},result:function(){return o}};return t&&("function"==typeof t.decorator&&(r=t.decorator(r)),t.sourceMap&&(r=l(r))),r.node(n),r.result()}}},jvbL:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return void 0===e&&(e=!1),function(t){return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.predicate=n,this.inclusive=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.inclusive))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.inclusive=l,o.index=0,o}return l.c(e,n),e.prototype._next=function(n){var e,t=this.destination;try{e=this.predicate(n,this.index++)}catch(l){return void t.error(l)}this.nextOrComplete(n,e)},e.prototype.nextOrComplete=function(n,e){var t=this.destination;Boolean(e)?t.next(n):(this.inclusive&&t.next(n),t.complete())},e}(o.a)},kERW:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("6blF"),o=t("isby"),i=t("2Bdj"),r=t("67Y/");function a(n,e,t){return t?a(n,e).pipe(Object(r.a)((function(n){return Object(o.a)(n)?t.apply(void 0,n):t(n)}))):new l.a((function(t){var l,o=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1===n.length?n[0]:n)};try{l=n(o)}catch(r){return void t.error(r)}if(Object(i.a)(e))return function(){return e(o,l)}}))}},kPWa:function(n,e,t){var l=t("P3uw").consumeNumber,o=t("vd7W").TYPE.Percentage;n.exports={name:"Percentage",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=l(this.scanner.source,n);return this.eat(o),{type:"Percentage",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n,e)}},generate:function(n){this.chunk(n.value),this.chunk("%")}}},kR3u:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("svcd"),o=t("xlPZ");function i(){return function(n){return Object(o.a)(new l.a)(n)}}},kiQV:function(n){n.exports=JSON.parse('{"name":"gns3-web-ui","version":"2020.2.0-beta.4","author":{"name":"GNS3 Technology Inc.","email":"developers@gns3.com"},"description":"Graphical Network Simulator-3 is a network software emulator.","license":"GPLv3","main":"main.js","repository":{"type":"git","url":"https://github.com/GNS3/gns3-web-ui.git"},"scripts":{"ng":"ng","start":"ng serve","startforelectron":"ng serve --configuration=electronDev","build":"ng build","buildforelectron":"ng build --configuration=electronProd","buildforgithub":"ng build --configuration=githubProd","test":"ng test","lint":"ng lint","e2e":"ng e2e","electron":"electron .","electrondev":"concurrently -k \\"yarn startforelectron\\" \\"electron . -e dev\\"","distlinux":"yarn buildforelectron && electron-builder --linux --x64","distwin":"yarn buildforelectron && electron-builder --win --x64","distmac":"yarn buildforelectron && electron-builder --mac --x64","release":"build","coverage":"ng test --watch=false --code-coverage","prettier:base":"prettier","prettier:check":"yarn prettier:base -- --list-different \\"src/**/*.{ts,js,html,scss}\\"","prettier:write":"yarn prettier:base -- --write \\"src/**/*.{ts,js,html,scss}\\"","generate-licenses-file":"yarn license-checker --production --csv --out licenses.csv","prebuildforelectron":"node set-variables-in-env.js --set src/environments/environment.electron.prod.ts","postbuildforelectron":"node set-variables-in-env.js --unset src/environments/environment.electron.prod.ts"},"private":true,"dependencies":{"@angular/animations":"^8.2.11","@angular/cdk":"^8.2.3","@angular/common":"^8.2.11","@angular/compiler":"^8.2.11","@angular/core":"^8.2.11","@angular/forms":"^8.2.11","@angular/http":"^7.2.15","@angular/material":"^8.2.3","@angular/platform-browser":"^8.2.11","@angular/platform-browser-dynamic":"^8.2.11","@angular/router":"^8.2.11","angular-draggable-droppable":"^4.3.8","angular-persistence":"^1.0.1","angular-resizable-element":"^3.2.6","angular2-draggable":"^2.3.2","angular2-hotkeys":"^2.1.5","angular2-indexeddb":"^1.2.3","bootstrap":"4.3.1","command-exists":"^1.2.8","core-js":"^3.3.2","css-tree":"^1.0.0-alpha.36","d3-ng2-service":"^2.1.0","file-saver":"^2.0.2","hammerjs":"^2.0.8","ini":"^1.3.5","material-design-icons":"^3.0.1","ng-circle-progress":"^1.5.1","ng2-file-upload":"^1.3.0","ngx-childprocess":"^0.0.6","ngx-device-detector":"^1.3.18","ngx-electron":"^2.1.1","node-fetch":"^2.6.0","notosans-fontface":"^1.1.0","raven-js":"^3.27.2","rxjs":"^6.5.3","rxjs-compat":"^6.5.3","save-html-as-image":"^1.2.0","save-svg-as-png":"^1.4.14","svg-crowbar":"^0.2.4","tree-kill":"^1.2.1","typeface-roboto":"^0.0.75","xterm":"^4.1.0","xterm-addon-attach":"^0.5.0","xterm-addon-fit":"^0.3.0","yargs":"^15.0.2","zone.js":"^0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"^0.803.10","@angular/cli":"^8.3.10","@angular/compiler-cli":"^8.2.11","@angular/language-service":"^8.2.11","@sentry/cli":"^1.53.0","@sentry/electron":"^0.17.4","@types/jasmine":"^3.4.4","@types/jasminewd2":"^2.0.8","@types/node":"^12.12.10","codelyzer":"^5.1.2","electron":"7.1.2","electron-builder":"21.2.0","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","jquery":"^3.4.1","karma":"~4.4.0","karma-chrome-launcher":"~3.1.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"^2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","license-checker":"^25.0.1","node-sass":"^4.12.0","popper.js":"^1.16.0","prettier":"^1.18.2","protractor":"~5.4.2","replace":"^1.1.1","ts-mockito":"^2.5.0","ts-node":"~8.4.1","tslint":"~5.20.0","tslint-config-prettier":"^1.18.0","typescript":">=3.4.0 <3.6.0"},"greenkeeper":{"ignore":["typescript"]}}')},klIg:function(n,e,t){var l=t("P3uw").consumeNumber,o=t("vd7W").TYPE.Dimension;n.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var n=this.scanner.tokenStart,e=l(this.scanner.source,n);return this.eat(o),{type:"Dimension",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n,e),unit:this.scanner.source.substring(e,this.scanner.tokenStart)}},generate:function(n){this.chunk(n.value),this.chunk(n.unit)}}},klSw:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("S5bw");function o(n,e,t){var o;return o=n&&"object"==typeof n?n:{bufferSize:n,windowTime:e,refCount:!1,scheduler:t},function(n){return n.lift(function(n){var e,t,o=n.bufferSize,i=void 0===o?Number.POSITIVE_INFINITY:o,r=n.windowTime,a=void 0===r?Number.POSITIVE_INFINITY:r,u=n.refCount,s=n.scheduler,d=0,c=!1,p=!1;return function(n){d++,e&&!c||(c=!1,e=new l.a(i,a,s),t=n.subscribe({next:function(n){e.next(n)},error:function(n){c=!0,e.error(n)},complete:function(){p=!0,t=void 0,e.complete()}}));var o=e.subscribe(this);this.add((function(){d--,o.unsubscribe(),t&&!p&&u&&0===d&&(t.unsubscribe(),t=void 0,e=void 0)}))}}(o))}}},lA9V:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("zotm"),i=t("MGBS"),r=t("rPjj");function a(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(l){return l.lift(new u(n,e,t))}}var u=function(){function n(n,e,t){this.accumulator=n,this.seed=e,this.concurrent=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.accumulator,this.seed,this.concurrent))},n}(),s=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i.accumulator=t,i.acc=l,i.concurrent=o,i.hasValue=!1,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return l.c(e,n),e.prototype._next=function(n){if(this.active<this.concurrent){var e=this.index++,t=this.destination,l=void 0;try{l=(0,this.accumulator)(this.acc,n,e)}catch(o){return t.error(o)}this.active++,this._innerSub(l,n,e)}else this.buffer.push(n)},e.prototype._innerSub=function(n,e,t){var l=new r.a(this,e,t),i=this.destination;i.add(l);var a=Object(o.a)(this,n,void 0,void 0,l);a!==l&&i.add(a)},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()),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){var i=this.destination;this.acc=e,this.hasValue=!0,i.next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.destination.remove(n),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}(i.a)},lXnc:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},lYZG:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("0/uQ"),i=t("G5J1");function r(n){return new l.a((function(e){var t;try{t=n()}catch(l){return void e.error(l)}return(t?Object(o.a)(t):Object(i.b)()).subscribe(e)}))}},lipz:function(n,e){var t,l,o,i,r,a;n.exports=(t=function(n){return"function"==typeof n},l=Math.pow(2,53)-1,o=function(n){var e=function(n){var e=Number(n);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(n);return Math.min(Math.max(e,0),l)},i=function(n){if(null!=n){if(["string","number","boolean","symbol"].indexOf(typeof n)>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in n)return Symbol.iterator;if("@@iterator"in n)return"@@iterator"}},r=function(n,e){if(null!=n&&null!=e){var l=n[e];if(null==l)return;if(!t(l))throw new TypeError(l+" is not a function");return l}},a=function(n){var e=n.next();return!Boolean(e.done)&&e},function(n){"use strict";var e,l,u,s=this,d=arguments.length>1?arguments[1]:void 0;if(void 0!==d){if(!t(d))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(e=arguments[2])}var c=r(n,i(n));if(void 0!==c){l=t(s)?Object(new s):[];var p,f,h=c.call(n);if(null==h)throw new TypeError("Array.from requires an array-like or iterable object");for(u=0;;){if(!(p=a(h)))return l.length=u,l;f=p.value,l[u]=d?d.call(e,f,u):f,u++}}else{var m=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var v,g=o(m.length);for(l=t(s)?Object(new s(g)):new Array(g),u=0;u<g;)v=m[u],l[u]=d?d.call(e,v,u):v,u++;l.length=g}return l})},lxKu:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("mrSG"),o=t("K9Ia"),i=t("T1DM"),r=t("FFOo"),a=t("/21U"),u=t("nkY7");function s(n){var e=i.a,t=null,l=Number.POSITIVE_INFINITY;return Object(u.a)(arguments[3])&&(e=arguments[3]),Object(u.a)(arguments[2])?e=arguments[2]:Object(a.a)(arguments[2])&&(l=arguments[2]),Object(u.a)(arguments[1])?e=arguments[1]:Object(a.a)(arguments[1])&&(t=arguments[1]),function(o){return o.lift(new d(n,t,l,e))}}var d=function(){function n(n,e,t,l){this.windowTimeSpan=n,this.windowCreationInterval=e,this.maxWindowSize=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},n}(),c=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return l.c(e,n),e.prototype.next=function(e){this._numberOfNextedValues++,n.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(o.b),p=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;r.destination=e,r.windowTimeSpan=t,r.windowCreationInterval=l,r.maxWindowSize=o,r.scheduler=i,r.windows=[];var a=r.openWindow();if(null!==l&&l>=0){var u={windowTimeSpan:t,windowCreationInterval:l,subscriber:r,scheduler:i};r.add(i.schedule(m,t,{subscriber:r,window:a,context:null})),r.add(i.schedule(h,l,u))}else r.add(i.schedule(f,t,{subscriber:r,window:a,windowTimeSpan:t}));return r}return l.c(e,n),e.prototype._next=function(n){for(var e=this.windows,t=e.length,l=0;l<t;l++){var o=e[l];o.closed||(o.next(n),o.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(o))}},e.prototype._error=function(n){for(var e=this.windows;e.length>0;)e.shift().error(n);this.destination.error(n)},e.prototype._complete=function(){for(var n=this.windows;n.length>0;){var e=n.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var n=new c;return this.windows.push(n),this.destination.next(n),n},e.prototype.closeWindow=function(n){n.complete();var e=this.windows;e.splice(e.indexOf(n),1)},e}(r.a);function f(n){var e=n.subscriber,t=n.windowTimeSpan,l=n.window;l&&e.closeWindow(l),n.window=e.openWindow(),this.schedule(n,t)}function h(n){var e=n.windowTimeSpan,t=n.subscriber,l=n.scheduler,o=n.windowCreationInterval,i=t.openWindow(),r={action:this,subscription:null};r.subscription=l.schedule(m,e,{subscriber:t,window:i,context:r}),this.add(r.subscription),this.schedule(n,o)}function m(n){var e=n.subscriber,t=n.window,l=n.context;l&&l.action&&l.subscription&&l.action.remove(l.subscription),e.closeWindow(t)}},mChF:function(n,e,t){"use strict";function l(n){return n}t.d(e,"a",(function(){return l}))},mEZQ:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("lYZG"),o=t("G5J1");function i(n,e,t){return void 0===e&&(e=o.a),void 0===t&&(t=o.a),Object(l.a)((function(){return n()?e:t}))}},mK1g:function(n,e,t){var l=t("CwTu").SyntaxReferenceError,o=t("CwTu").MatchError,i=t("t1UP"),r=t("CJ5M"),a=t("tZmI"),u=t("vI5D"),s=t("Fm6d"),d=t("Du80"),c=t("KcB0").buildMatchGraph,p=t("QKsE").matchAsTree,f=t("/+5V"),h=t("ofj6"),m=t("Y0sX").getStructureFromConfig,v=c("inherit | initial | unset"),g=c("inherit | initial | unset | <-ms-legacy-expression>");function b(n,e,t){var l={};for(var o in n)n[o].syntax&&(l[o]=t?n[o].syntax:u(n[o].syntax,{compact:e}));return l}function _(n,e,t){return{matched:n,iterations:t,error:e,getTrace:f.getTrace,isType:f.isType,isProperty:f.isProperty,isKeyword:f.isKeyword}}function y(n,e,t,l){var i,r=d(t,n.syntax);return function(n){for(var e=0;e<n.length;e++)if("var("===n[e].value.toLowerCase())return!0;return!1}(r)?_(null,new Error("Matching for a tree with var() is not supported")):(l&&(i=p(r,n.valueCommonSyntax,n)),l&&i.match||(i=p(r,e.match,n)).match?_(i.match,null,i.iterations):_(null,new o(i.reason,e.syntax,t,i),i.iterations))}var C=function(n,e,t){if(this.valueCommonSyntax=v,this.syntax=e,this.generic=!1,this.atrules={},this.properties={},this.types={},this.structure=t||m(n),n){if(n.types)for(var l in n.types)this.addType_(l,n.types[l]);if(n.generic)for(var l in this.generic=!0,r)this.addType_(l,r[l]);if(n.atrules)for(var l in n.atrules)this.addAtrule_(l,n.atrules[l]);if(n.properties)for(var l in n.properties)this.addProperty_(l,n.properties[l])}};C.prototype={structure:{},checkStructure:function(n){function e(n,e){l.push({node:n,message:e})}var t=this.structure,l=[];return this.syntax.walk(n,(function(n){t.hasOwnProperty(n.type)?t[n.type].check(n,e):e(n,"Unknown node type `"+n.type+"`")})),!!l.length&&l},createDescriptor:function(n,e,t){var l={type:e,name:t},o={type:e,name:t,syntax:null,match:null};return"function"==typeof n?o.match=c(n,l):("string"==typeof n?Object.defineProperty(o,"syntax",{get:function(){return Object.defineProperty(o,"syntax",{value:a(n)}),o.syntax}}):o.syntax=n,Object.defineProperty(o,"match",{get:function(){return Object.defineProperty(o,"match",{value:c(o.syntax,l)}),o.match}})),o},addAtrule_:function(n,e){this.atrules[n]={prelude:e.prelude?this.createDescriptor(e.prelude,"AtrulePrelude",n):null,descriptors:e.descriptors?Object.keys(e.descriptors).reduce((n,t)=>(n[t]=this.createDescriptor(e.descriptors[t],"AtruleDescriptor",t),n),{}):null}},addProperty_:function(n,e){this.properties[n]=this.createDescriptor(e,"Property",n)},addType_:function(n,e){this.types[n]=this.createDescriptor(e,"Type",n),e===r["-ms-legacy-expression"]&&(this.valueCommonSyntax=g)},matchAtrulePrelude:function(n,e){var t=i.keyword(n),o=t.vendor?this.getAtrulePrelude(t.name)||this.getAtrulePrelude(t.basename):this.getAtrulePrelude(t.name);return o?y(this,o,e,!0):_(null,t.basename in this.atrules?new Error("At-rule `"+n+"` should not contain a prelude"):new l("Unknown at-rule",n))},matchAtruleDescriptor:function(n,e,t){var o=i.keyword(n),r=i.keyword(e),a=o.vendor?this.atrules[o.name]||this.atrules[o.basename]:this.atrules[o.name];if(!a)return _(null,new l("Unknown at-rule",n));if(!a.descriptors)return _(null,new Error("At-rule `"+n+"` has no known descriptors"));var u=r.vendor?a.descriptors[r.name]||a.descriptors[r.basename]:a.descriptors[r.name];return u?y(this,u,t,!0):_(null,new l("Unknown at-rule descriptor",e))},matchDeclaration:function(n){return"Declaration"!==n.type?_(null,new Error("Not a Declaration node")):this.matchProperty(n.property,n.value)},matchProperty:function(n,e){var t=i.property(n);if(t.custom)return _(null,new Error("Lexer matching doesn't applicable for custom properties"));var o=t.vendor?this.getProperty(t.name)||this.getProperty(t.basename):this.getProperty(t.name);return o?y(this,o,e,!0):_(null,new l("Unknown property",n))},matchType:function(n,e){var t=this.getType(n);return t?y(this,t,e,!1):_(null,new l("Unknown type",n))},match:function(n,e){return"string"==typeof n||n&&n.type?("string"!=typeof n&&n.match||(n=this.createDescriptor(n,"Type","anonymous")),y(this,n,e,!1)):_(null,new l("Bad syntax"))},findValueFragments:function(n,e,t,l){return h.matchFragments(this,e,this.matchProperty(n,e),t,l)},findDeclarationValueFragments:function(n,e,t){return h.matchFragments(this,n.value,this.matchDeclaration(n),e,t)},findAllFragments:function(n,e,t){var l=[];return this.syntax.walk(n,{visit:"Declaration",enter:(function(n){l.push.apply(l,this.findDeclarationValueFragments(n,e,t))}).bind(this)}),l},getAtrulePrelude:function(n){return this.atrules.hasOwnProperty(n)?this.atrules[n].prelude:null},getAtruleDescriptor:function(n,e){return this.atrules.hasOwnProperty(n)&&this.atrules.declarators&&this.atrules[n].declarators[e]||null},getProperty:function(n){return this.properties.hasOwnProperty(n)?this.properties[n]:null},getType:function(n){return this.types.hasOwnProperty(n)?this.types[n]:null},validate:function(){function n(l,o,i,r){if(i.hasOwnProperty(o))return i[o];i[o]=!1,null!==r.syntax&&s(r.syntax,(function(r){if("Type"===r.type||"Property"===r.type){var a="Type"===r.type?l.types:l.properties,u="Type"===r.type?e:t;a.hasOwnProperty(r.name)&&!n(l,r.name,u,a[r.name])||(i[o]=!0)}}),this)}var e={},t={};for(var l in this.types)n(this,l,e,this.types[l]);for(var l in this.properties)n(this,l,t,this.properties[l]);return e=Object.keys(e).filter((function(n){return e[n]})),t=Object.keys(t).filter((function(n){return t[n]})),e.length||t.length?{types:e,properties:t}:null},dump:function(n,e){return{generic:this.generic,types:b(this.types,!e,n),properties:b(this.properties,!e,n)}},toString:function(){return JSON.stringify(this.dump())}},n.exports=C},mZXl:function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("FFOo"),i=t("60iU");function r(n,e){return void 0===e&&(e=0),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){void 0===e&&(e=0),this.scheduler=n,this.delay=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.scheduler,this.delay))},n}(),u=function(n){function e(e,t,l){void 0===l&&(l=0);var o=n.call(this,e)||this;return o.scheduler=t,o.delay=l,o}return l.c(e,n),e.dispatch=function(n){n.notification.observe(n.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(n){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new s(n,this.destination)))},e.prototype._next=function(n){this.scheduleMessage(i.a.createNext(n))},e.prototype._error=function(n){this.scheduleMessage(i.a.createError(n)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(i.a.createComplete()),this.unsubscribe()},e}(o.a),s=function(){return function(n,e){this.notification=n,this.destination=e}}()},mb2m:function(n,e,t){var l=t("vd7W").TYPE.Number;n.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(l)}},generate:function(n){this.chunk(n.value)}}},mcCJ:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("Qgas");function o(n){var e="function"==typeof n?function(e,t){return n(e,t)>0?e:t}:function(n,e){return n>e?n:e};return Object(l.a)(e)}},mrSG:function(n,e,t){"use strict";t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return i})),t.d(e,"b",(function(){return r})),t.d(e,"d",(function(){return a})),t.d(e,"g",(function(){return u})),t.d(e,"e",(function(){return s})),t.d(e,"f",(function(){return d}));var l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)};function o(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var i=function(){return(i=Object.assign||function(n){for(var e,t=1,l=arguments.length;t<l;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)};function r(n,e,t,l){return new(t||(t=Promise))((function(o,i){function r(n){try{u(l.next(n))}catch(e){i(e)}}function a(n){try{u(l.throw(n))}catch(e){i(e)}}function u(n){n.done?o(n.value):new t((function(e){e(n.value)})).then(r,a)}u((l=l.apply(n,e||[])).next())}))}function a(n,e){var t,l,o,i,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,l&&(o=2&i[0]?l.return:i[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,i[1])).done)return o;switch(l=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,l=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){r=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){r.label=i[1];break}if(6===i[0]&&r.label<o[1]){r.label=o[1],o=i;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(i);break}o[2]&&r.ops.pop(),r.trys.pop();continue}i=e.call(n,r)}catch(a){i=[6,a],l=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function u(n){var e="function"==typeof Symbol&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function s(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var l,o,i=t.call(n),r=[];try{for(;(void 0===e||e-- >0)&&!(l=i.next()).done;)r.push(l.value)}catch(a){o={error:a}}finally{try{l&&!l.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return r}function d(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(s(arguments[e]));return n}},"n/gj":function(n,e,t){n.exports={getNode:t("7GzS"),"-moz-element":t("P2RB"),element:t("P2RB"),expression:t("a3y9"),var:t("+Kd2")}},n6Bp:function(n,e){n.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(n){this.scanner.skipSC();var e,t=this.scanner.tokenStart,l=t,o=null;return e=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),n&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),o=this.SelectorList(),this.needPositions&&(l=this.getLastListNode(o.children).loc.end.offset)):this.needPositions&&(l=e.loc.end.offset),{type:"Nth",loc:this.getLocation(t,l),nth:e,selector:o}},generate:function(n){this.node(n.nth),null!==n.selector&&(this.chunk(" of "),this.node(n.selector))}}},nkY7:function(n,e,t){"use strict";function l(n){return n&&"function"==typeof n.schedule}t.d(e,"a",(function(){return l}))},ny24:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){var t=new u(n),l=Object(i.a)(t,this.notifier);return l&&!t.seenValue?(t.add(l),e.subscribe(t)):t},n}(),u=function(n){function e(e){var t=n.call(this,e)||this;return t.seenValue=!1,t}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},oVTH:function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r},o=this&&this.__metadata||function(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)},i=this&&this.__param||function(n,e){return function(t,l){e(t,l,n)}};Object.defineProperty(e,"__esModule",{value:!0});var r=t("+ryv"),a=t("DtyJ"),u=t("CcnG"),s=t("M+vq");t("imBb");var d=function(){function n(n){this.options=n,this.hotkeys=[],this.pausedHotkeys=[],this.cheatSheetToggle=new a.Subject,this._preventIn=["INPUT","SELECT","TEXTAREA"],Mousetrap.prototype.stopCallback=function(n,e,t,l){return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&e.contentEditable&&"true"===e.contentEditable},this.mousetrap=new Mousetrap,this.options.disableCheatSheet||this.add(new s.Hotkey(this.options.cheatSheetHotkey||"?",(function(n){this.cheatSheetToggle.next()}).bind(this),[],this.options.cheatSheetDescription||"Show / hide this help menu")),this.options.cheatSheetCloseEsc&&this.add(new s.Hotkey("esc",(function(n){this.cheatSheetToggle.next(!1)}).bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))}return n.prototype.add=function(n,e){var t=this;if(Array.isArray(n)){for(var l=[],o=0,i=n;o<i.length;o++)l.push(this.add(i[o],e));return l}return this.remove(n),this.hotkeys.push(n),this.mousetrap.bind(n.combo,(function(e,l){var o=!0;if(e){var i=e.target||e.srcElement,r=i.nodeName.toUpperCase();(" "+i.className+" ").indexOf(" mousetrap ")>-1?o=!0:t._preventIn.indexOf(r)>-1&&-1===n.allowIn.map((function(n){return n.toUpperCase()})).indexOf(r)&&(o=!1)}if(o)return n.callback.apply(t,[e,l])}),e),n},n.prototype.remove=function(n){var e=[];if(!n){for(var t=0,l=this.hotkeys;t<l.length;t++)e.push(this.remove(l[t]));return e}if(Array.isArray(n)){for(var o=0,i=n;o<i.length;o++)e.push(this.remove(i[o]));return e}var r=this.findHotkey(n);return r>-1?(this.hotkeys.splice(r,1),this.mousetrap.unbind(n.combo),n):null},n.prototype.get=function(n){if(!n)return this.hotkeys;if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.get(l[t]));return e}for(var o=0;o<this.hotkeys.length;o++)if(this.hotkeys[o].combo.indexOf(n)>-1)return this.hotkeys[o];return null},n.prototype.pause=function(n){if(!n)return this.pause(this.hotkeys);if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.pause(l[t]));return e}return this.remove(n),this.pausedHotkeys.push(n),n},n.prototype.unpause=function(n){if(!n)return this.unpause(this.pausedHotkeys);if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.unpause(l[t]));return e}var o=this.pausedHotkeys.indexOf(n);return o>-1?(this.add(n),this.pausedHotkeys.splice(o,1)):null},n.prototype.reset=function(){this.mousetrap.reset()},n.prototype.findHotkey=function(n){return this.hotkeys.indexOf(n)},l([u.Injectable(),i(0,u.Inject(r.HotkeyOptions)),o("design:paramtypes",[Object])],n)}();e.HotkeysService=d},oYUb:function(n,e,t){n.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(n){return this.AtrulePrelude(n.atrule?String(n.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:t("82qP"),atrule:t("6dTv"),pseudo:t("avj0"),node:t("585i")}},ofj6:function(n,e,t){var l=t("O36p");n.exports={matchFragments:function(n,e,t,o,i){var r=[];return null!==t.matched&&function t(a){if(null!==a.syntax&&a.syntax.type===o&&a.syntax.name===i){var u=function n(e){return"node"in e?e.node:n(e.match[0])}(a),s=function n(e){return"node"in e?e.node:n(e.match[e.match.length-1])}(a);n.syntax.walk(e,(function(n,e,t){if(n===u){var o=new l;do{if(o.appendData(e.data),e.data===s)break;e=e.next}while(null!==e);r.push({parent:t,nodes:o})}}))}Array.isArray(a.match)&&a.match.forEach(t)}(t.matched),r}}},ou9H:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n,e){return function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.keySelector=n,this.flushes=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.keySelector,this.flushes))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.keySelector=t,o.values=new Set,l&&o.add(Object(i.a)(o,l)),o}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.values.clear()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype._next=function(n){this.keySelector?this._useKeySelector(n):this._finalizeNext(n,n)},e.prototype._useKeySelector=function(n){var e,t=this.destination;try{e=this.keySelector(n)}catch(l){return void t.error(l)}this._finalizeNext(e,n)},e.prototype._finalizeNext=function(n,e){var t=this.values;t.has(n)||(t.add(n),this.destination.next(e))},e}(o.a)},p0Sj:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("dEwP"),o=t("nkY7");function i(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return Object(o.a)(t)?(n.pop(),function(e){return Object(l.a)(n,e,t)}):function(e){return Object(l.a)(n,e)}}},p0ib:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("6blF"),o=t("nkY7"),i=t("Zn8D"),r=t("IUTb");function a(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=Number.POSITIVE_INFINITY,a=null,u=n[n.length-1];return Object(o.a)(u)?(a=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof u&&(t=n.pop()),null===a&&1===n.length&&n[0]instanceof l.a?n[0]:Object(i.a)(t)(Object(r.a)(n,a))}},p33S:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("isby"),o=t("W0Ae");function i(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return 1===n.length&&Object(l.a)(n[0])&&(n=n[0]),e.lift.call(o.a.apply(void 0,[e].concat(n)))}}},pbg4:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("6blF"),o=t("svcd"),i=t("67Y/"),r=t("1fDf"),a=t("isby"),u=t("nkY7");function s(n,e,t){if(e){if(!Object(u.a)(e))return function(){for(var l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return s(n,t).apply(void 0,l).pipe(Object(i.a)((function(n){return Object(a.a)(n)?e.apply(void 0,n):e(n)})))};t=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var a,u=this,s={context:u,subject:a,callbackFunc:n,scheduler:t};return new l.a((function(l){if(t)return t.schedule(d,0,{args:e,subscriber:l,params:s});if(!a){a=new o.a;try{n.apply(u,e.concat([function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];a.next(n.length<=1?n[0]:n),a.complete()}]))}catch(i){Object(r.a)(a)?a.error(i):console.warn(i)}}return a.subscribe(l)}))}}function d(n){var e=this,t=n.args,l=n.subscriber,i=n.params,r=i.callbackFunc,a=i.context,u=i.scheduler,s=i.subject;if(!s){s=i.subject=new o.a;try{r.apply(a,t.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var l=n.length<=1?n[0]:n;e.add(u.schedule(c,0,{value:l,subject:s}))}]))}catch(d){s.error(d)}}this.add(s.subscribe(l))}function c(n){var e=n.subject;e.next(n.value),e.complete()}},psW0:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("mrSG"),o=t("zotm"),i=t("MGBS"),r=t("rPjj"),a=t("67Y/"),u=t("0/uQ");function s(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?function(l){return l.pipe(s((function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)((function(n,o){return e(t,n,l,o)})))}),t))}:("number"==typeof e&&(t=e),function(e){return e.lift(new d(n,t))})}var d=function(){function n(n,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=n,this.concurrent=e}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project,this.concurrent))},n}(),c=function(n){function e(e,t,l){void 0===l&&(l=Number.POSITIVE_INFINITY);var o=n.call(this,e)||this;return o.project=t,o.concurrent=l,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return l.c(e,n),e.prototype._next=function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)},e.prototype._tryNext=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=new r.a(this,e,t),i=this.destination;i.add(l);var a=Object(o.a)(this,n,void 0,void 0,l);a!==l&&i.add(a)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.remove(n),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},pugT:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("isby"),o=t("McSo"),i=t("2Bdj"),r=t("awvh"),a=function(){function n(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}var e;return n.prototype.unsubscribe=function(){var e;if(!this.closed){var t=this._parentOrParents,a=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof n)t.remove(this);else if(null!==t)for(var d=0;d<t.length;++d)t[d].remove(this);if(Object(i.a)(a))try{a.call(this)}catch(f){e=f instanceof r.a?u(f.errors):[f]}if(Object(l.a)(s)){d=-1;for(var c=s.length;++d<c;){var p=s[d];if(Object(o.a)(p))try{p.unsubscribe()}catch(f){e=e||[],f instanceof r.a?e=e.concat(u(f.errors)):e.push(f)}}}if(e)throw new r.a(e)}},n.prototype.add=function(e){var t=e;if(!e)return n.EMPTY;switch(typeof e){case"function":t=new n(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof n)){var l=t;(t=new n)._subscriptions=[l]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var o=t._parentOrParents;if(null===o)t._parentOrParents=this;else if(o instanceof n){if(o===this)return t;t._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return t;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t},n.prototype.remove=function(n){var e=this._subscriptions;if(e){var t=e.indexOf(n);-1!==t&&e.splice(t,1)}},n.EMPTY=((e=new n).closed=!0,e),n}();function u(n){return n.reduce((function(n,e){return n.concat(e instanceof r.a?e.errors:e)}),[])}},q8iK:function(n,e){},q8iP:function(n,e,t){var l=t("XDwu");n.exports=function(n,e,t){var o=l("SyntaxError",n);return o.input=e,o.offset=t,o.rawMessage=n,o.message=o.rawMessage+"\n "+o.input+"\n--"+new Array((o.offset||o.input.length)+1).join("-")+"^",o}},qyHS:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(){return function(n){return n.lift(new r)}}var r=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){var t=n.call(this,e)||this;return t.hasPrev=!1,t}return l.c(e,n),e.prototype._next=function(n){var e;this.hasPrev?e=[this.prev,n]:this.hasPrev=!0,this.prev=n,e&&this.destination.next(e)},e}(o.a)},r1XK:function(n,e,t){var l=t("vd7W").TYPE.String;n.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(l)}},generate:function(n){this.chunk(n.value)}}},rJ3z:function(n,e,t){"use strict";var l,o=t("OJSY"),i=t("c/fO"),r=t("VJNc"),a=t("PTRy"),u=(l=t("uzHG"))&&"object"==typeof l&&"default"in l?l.default:l;function s(n,e){void 0===e&&(e={});var t=this,l=4,s=!1;this.margin=e.margin||-1,this.scrollWhenOutside=e.scrollWhenOutside||!1;var c={},p=a.createPointCB(c),f=u(),h=!1;window.addEventListener("mousemove",p,!1),window.addEventListener("touchmove",p,!1),isNaN(e.maxSpeed)||(l=e.maxSpeed),this.autoScroll=o.boolean(e.autoScroll),this.syncMove=o.boolean(e.syncMove,!1),this.destroy=function(e){window.removeEventListener("mousemove",p,!1),window.removeEventListener("touchmove",p,!1),window.removeEventListener("mousedown",C,!1),window.removeEventListener("touchstart",C,!1),window.removeEventListener("mouseup",w,!1),window.removeEventListener("touchend",w,!1),window.removeEventListener("pointerup",w,!1),window.removeEventListener("mouseleave",x,!1),window.removeEventListener("mousemove",E,!1),window.removeEventListener("touchmove",E,!1),window.removeEventListener("scroll",y,!0),n=[],e&&S()},this.add=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r.addElements.apply(void 0,[n].concat(e)),this},this.remove=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r.removeElements.apply(void 0,[n].concat(e))};var m,v,g=null;"[object Array]"!==Object.prototype.toString.call(n)&&(n=[n]),v=n,n=[],v.forEach((function(n){n===window?g=window:t.add(n)})),Object.defineProperties(this,{down:{get:function(){return h}},maxSpeed:{get:function(){return l}},point:{get:function(){return c}},scrolling:{get:function(){return s}}});var b,_=null;function y(e){for(var t=0;t<n.length;t++)if(n[t]===e.target){s=!0;break}s&&i.requestAnimationFrame((function(){return s=!1}))}function C(){h=!0}function w(){h=!1,S()}function S(){i.cancelAnimationFrame(b),i.cancelAnimationFrame(m)}function x(){h=!1}function k(){for(var e=null,t=0;t<n.length;t++)d(c,n[t])&&(e=n[t]);return e}function E(e){if(t.autoScroll()&&!e.dispatched){var l=e.target,o=document.body;_&&!d(c,_)&&(t.scrollWhenOutside||(_=null)),l&&l.parentNode===o?l=k():(l=function(e){if(!e)return null;if(_===e)return e;if(r.hasElement(n,e))return e;for(;e=e.parentNode;)if(r.hasElement(n,e))return e;return null}(l))||(l=k()),l&&l!==_&&(_=l),g&&(i.cancelAnimationFrame(m),m=i.requestAnimationFrame(T)),_&&(i.cancelAnimationFrame(b),b=i.requestAnimationFrame(R))}}function T(){I(g),i.cancelAnimationFrame(m),m=i.requestAnimationFrame(T)}function R(){_&&(I(_),i.cancelAnimationFrame(b),b=i.requestAnimationFrame(R))}function I(n){var e,l,o=a.getClientRect(n);e=c.x<o.left+t.margin?Math.floor(Math.max(-1,(c.x-o.left)/t.margin-1)*t.maxSpeed):c.x>o.right-t.margin?Math.ceil(Math.min(1,(c.x-o.right)/t.margin+1)*t.maxSpeed):0,l=c.y<o.top+t.margin?Math.floor(Math.max(-1,(c.y-o.top)/t.margin-1)*t.maxSpeed):c.y>o.bottom-t.margin?Math.ceil(Math.min(1,(c.y-o.bottom)/t.margin+1)*t.maxSpeed):0,t.syncMove()&&f.dispatch(n,{pageX:c.pageX+e,pageY:c.pageY+l,clientX:c.x+e,clientY:c.y+l}),setTimeout((function(){l&&function(n,e){n===window?window.scrollTo(n.pageXOffset,n.pageYOffset+e):n.scrollTop+=e}(n,l),e&&function(n,e){n===window?window.scrollTo(n.pageXOffset+e,n.pageYOffset):n.scrollLeft+=e}(n,e)}))}window.addEventListener("mousedown",C,!1),window.addEventListener("touchstart",C,!1),window.addEventListener("mouseup",w,!1),window.addEventListener("touchend",w,!1),window.addEventListener("pointerup",w,!1),window.addEventListener("mousemove",E,!1),window.addEventListener("touchmove",E,!1),window.addEventListener("mouseleave",x,!1),window.addEventListener("scroll",y,!0)}function d(n,e,t){return t?n.y>t.top&&n.y<t.bottom&&n.x>t.left&&n.x<t.right:a.pointInside(n,e)}n.exports=function(n,e){return new s(n,e)}},rPjj:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("mrSG"),o=function(n){function e(e,t,l){var o=n.call(this)||this;return o.parent=e,o.outerValue=t,o.outerIndex=l,o.index=0,o}return l.c(e,n),e.prototype._next=function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)},e.prototype._error=function(n){this.parent.notifyError(n,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(t("FFOo").a)},s4kO:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("S5bw"),o=t("xlPZ");function i(n,e,t,i){t&&"function"!=typeof t&&(i=t);var r="function"==typeof t?t:void 0,a=new l.a(n,e,i);return function(n){return Object(o.a)((function(){return a}),r)(n)}}},sLa7:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n,e,t){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(l){return l.lift(new a(n,e,t))}}var a=function(){function n(n,e,t){this.project=n,this.concurrent=e,this.scheduler=t}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.project,this.concurrent,this.scheduler))},n}(),u=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i.project=t,i.concurrent=l,i.scheduler=o,i.index=0,i.active=0,i.hasCompleted=!1,l<Number.POSITIVE_INFINITY&&(i.buffer=[]),i}return l.c(e,n),e.dispatch=function(n){n.subscriber.subscribeToProjection(n.result,n.value,n.index)},e.prototype._next=function(n){var t=this.destination;if(t.closed)this._complete();else{var l=this.index++;if(this.active<this.concurrent){t.next(n);try{var o=(0,this.project)(n,l);this.scheduler?this.destination.add(this.scheduler.schedule(e.dispatch,0,{subscriber:this,result:o,value:n,index:l})):this.subscribeToProjection(o,n,l)}catch(i){t.error(i)}}else this.buffer.push(n)}},e.prototype.subscribeToProjection=function(n,e,t){this.active++,this.destination.add(Object(i.a)(this,n,e,t))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this._next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.destination.remove(n),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.a)},sQiz:function(n,e,t){var l=t("Cbry");function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(n,e){this._array.forEach(n,e)},o.prototype.add=function(n){var e,t,o,i;(i=(t=n).generatedLine)>(o=(e=this._last).generatedLine)||i==o&&t.generatedColumn>=e.generatedColumn||l.compareByGeneratedPositionsInflated(e,t)<=0?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(l.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=o},siIJ:function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){function n(e,t){void 0===t&&(t=n.now),this.SchedulerAction=e,this.now=t}return n.prototype.schedule=function(n,e,t){return void 0===e&&(e=0),new this.SchedulerAction(this,n).schedule(t,e)},n.now=function(){return Date.now()},n}()},svcd:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("K9Ia"),i=t("pugT"),r=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return l.c(e,n),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),i.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),i.a.EMPTY):n.prototype._subscribe.call(this,e)},e.prototype.next=function(n){this.hasCompleted||(this.value=n,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||n.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&n.prototype.next.call(this,this.value),n.prototype.complete.call(this)},e}(o.b)},t1UP:function(n,e){var t=Object.prototype.hasOwnProperty,l=Object.create(null),o=Object.create(null),i=45;function r(n,e){return n.length-(e=e||0)>=2&&n.charCodeAt(e)===i&&n.charCodeAt(e+1)===i}function a(n,e){if(n.length-(e=e||0)>=3&&n.charCodeAt(e)===i&&n.charCodeAt(e+1)!==i){var t=n.indexOf("-",e+2);if(-1!==t)return n.substring(e,t+1)}return""}n.exports={keyword:function(n){if(t.call(l,n))return l[n];var e=n.toLowerCase();if(t.call(l,e))return l[n]=l[e];var o=r(e,0),i=o?"":a(e,0);return l[n]=Object.freeze({basename:e.substr(i.length),name:e,vendor:i,prefix:i,custom:o})},property:function(n){if(t.call(o,n))return o[n];var e=n,l=n[0];"/"===l?l="/"===n[1]?"//":"/":"_"!==l&&"*"!==l&&"$"!==l&&"#"!==l&&"+"!==l&&"&"!==l&&(l="");var i=r(e,l.length);if(!i&&(e=e.toLowerCase(),t.call(o,e)))return o[n]=o[e];var u=i?"":a(e,l.length),s=e.substr(0,l.length+u.length);return o[n]=Object.freeze({basename:e.substr(s.length),name:e.substr(l.length),hack:l,vendor:u,prefix:s,custom:i})},isCustomProperty:r,vendorPrefix:a}},t9fZ:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("FFOo"),i=t("b7mW"),r=t("G5J1");function a(n){return function(e){return 0===n?Object(r.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new i.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.count=0,l}return l.c(e,n),e.prototype._next=function(n){var e=this.total,t=++this.count;t<=e&&(this.destination.next(n),t===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)},tHPV:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.c(e,n),e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0?n.prototype.requestAsyncId.call(this,e,t,l):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,t,l){if(void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,l);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)},e}(t("h9Dq").a),i=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.c(e,n),e.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var e,t=this.actions,l=-1,o=t.length;n=n||t.shift();do{if(e=n.execute(n.state,n.delay))break}while(++l<o&&(n=t.shift()));if(this.active=!1,e){for(;++l<o&&(n=t.shift());)n.unsubscribe();throw e}},e}(t("CS9Q").a);t.d(e,"a",(function(){return r}));var r=new i(o)},tMwf:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("K9Ia"),i=t("MGBS"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier,e))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.notifier=t,o.source=l,o.sourceIsBeingSubscribedTo=!0,o}return l.c(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return n.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return n.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var n=this.notifications,e=this.retriesSubscription;n&&(n.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,n.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new o.b;try{e=(0,this.notifier)(this.notifications)}catch(t){return n.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(r.a)(this,e)},e}(i.a)},tNVB:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("3fWJ"),i=t("FFOo");function r(n){return void 0===n&&(n=s),function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.errorFactory=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.errorFactory))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.errorFactory=t,l.hasValue=!1,l}return l.c(e,n),e.prototype._next=function(n){this.hasValue=!0,this.destination.next(n)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var n=void 0;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)},e}(i.a);function s(){return new o.a}},tZmI:function(n,e,t){var l=t("eWth"),o=9,i=10,r=12,a=13,u=32,s=33,d=35,c=38,p=39,f=40,h=41,m=42,v=43,g=44,b=45,_=60,y=62,C=63,w=64,S=91,x=93,k=123,E=124,T=125,R=8734,I=function(n){for(var e="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),t=0;t<128;t++)e[t]=(l=String.fromCharCode(t),/[a-zA-Z0-9\-]/.test(l)?1:0);var l;return e}(),D={" ":1,"&&":2,"||":3,"|":4};function F(n){return n.substringToPos(n.findWsEnd(n.pos))}function O(n){for(var e=n.pos;e<n.str.length;e++){var t=n.str.charCodeAt(e);if(t>=128||0===I[t])break}return n.pos===e&&n.error("Expect a keyword"),n.substringToPos(e)}function M(n){for(var e=n.pos;e<n.str.length;e++){var t=n.str.charCodeAt(e);if(t<48||t>57)break}return n.pos===e&&n.error("Expect a number"),n.substringToPos(e)}function N(n){var e=n.str.indexOf("'",n.pos+1);return-1===e&&(n.pos=n.str.length,n.error("Expect an apostrophe")),n.substringToPos(e+1)}function A(n){var e,t=null;return n.eat(k),e=M(n),n.charCode()===g?(n.pos++,n.charCode()!==T&&(t=M(n))):t=e,n.eat(T),{min:Number(e),max:t?Number(t):0}}function P(n,e){var t=function(n){var e=null,t=!1;switch(n.charCode()){case m:n.pos++,e={min:0,max:0};break;case v:n.pos++,e={min:1,max:0};break;case C:n.pos++,e={min:0,max:1};break;case d:n.pos++,t=!0,e=n.charCode()===k?A(n):{min:1,max:0};break;case k:e=A(n);break;default:return null}return{type:"Multiplier",comma:t,min:e.min,max:e.max,term:null}}(n);return null!==t?(t.term=e,t):e}function q(n){var e=n.peek();return""===e?null:{type:"Token",value:e}}function L(n,e){function t(n,e){return{type:"Group",terms:n,combinator:e,disallowEmpty:!1,explicit:!1}}for(e=Object.keys(e).sort((function(n,e){return D[n]-D[e]}));e.length>0;){for(var l=e.shift(),o=0,i=0;o<n.length;o++){var r=n[o];"Combinator"===r.type&&(r.value===l?(-1===i&&(i=o-1),n.splice(o,1),o--):(-1!==i&&o-i>1&&(n.splice(i,o-i,t(n.slice(i,o),l)),o=i+1),i=-1))}-1!==i&&e.length&&n.splice(i,o-i,t(n.slice(i,o),l))}return l}function j(n){for(var e,t=[],l={},o=null,i=n.pos;e=V(n);)"Spaces"!==e.type&&("Combinator"===e.type?(null!==o&&"Combinator"!==o.type||(n.pos=i,n.error("Unexpected combinator")),l[e.value]=!0):null!==o&&"Combinator"!==o.type&&(l[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(e),o=e,i=n.pos);return null!==o&&"Combinator"===o.type&&(n.pos-=i,n.error("Unexpected combinator")),{type:"Group",terms:t,combinator:L(t,l)||" ",disallowEmpty:!1,explicit:!1}}function V(n){var e=n.charCode();if(e<128&&1===I[e])return function(n){var e;return e=O(n),n.charCode()===f?(n.pos++,{type:"Function",name:e}):P(n,{type:"Keyword",name:e})}(n);switch(e){case x:break;case S:return P(n,function(n){var e;return n.eat(S),e=j(n),n.eat(x),e.explicit=!0,n.charCode()===s&&(n.pos++,e.disallowEmpty=!0),e}(n));case _:return n.nextCharCode()===p?function(n){var e;return n.eat(_),n.eat(p),e=O(n),n.eat(p),n.eat(y),P(n,{type:"Property",name:e})}(n):function(n){var e,t=null;return n.eat(_),e=O(n),n.charCode()===f&&n.nextCharCode()===h&&(n.pos+=2,e+="()"),n.charCodeAt(n.findWsEnd(n.pos))===S&&(F(n),t=function(n){var e=null,t=null,l=1;return n.eat(S),n.charCode()===b&&(n.peek(),l=-1),-1==l&&n.charCode()===R?n.peek():e=l*Number(M(n)),F(n),n.eat(g),F(n),n.charCode()===R?n.peek():(l=1,n.charCode()===b&&(n.peek(),l=-1),t=l*Number(M(n))),n.eat(x),null===e&&null===t?null:{type:"Range",min:e,max:t}}(n)),n.eat(y),P(n,{type:"Type",name:e,opts:t})}(n);case E:return{type:"Combinator",value:n.substringToPos(n.nextCharCode()===E?n.pos+2:n.pos+1)};case c:return n.pos++,n.eat(c),{type:"Combinator",value:"&&"};case g:return n.pos++,{type:"Comma"};case p:return P(n,{type:"String",value:N(n)});case u:case o:case i:case a:case r:return{type:"Spaces",value:F(n)};case w:return(e=n.nextCharCode())<128&&1===I[e]?(n.pos++,{type:"AtKeyword",name:O(n)}):q(n);case m:case v:case C:case d:case s:break;case k:if((e=n.nextCharCode())<48||e>57)return q(n);break;default:return q(n)}}function B(n){var e=new l(n),t=j(e);return e.pos!==n.length&&e.error("Unexpected input"),1===t.terms.length&&"Group"===t.terms[0].type&&(t=t.terms[0]),t}B("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),n.exports=B},"te+T":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},twQA:function(n,e){var t={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},l=Object.keys(t).reduce((function(n,e){return n[t[e]]=e,n}),{});n.exports={TYPE:t,NAME:l}},twrC:function(n,e,t){n.exports=t("errG")},u5kB:function(n,e,t){var l=t("KjDf"),o=t("1aLD"),i=t("8wsT"),r=t("O36p"),a=t("vd7W"),u=t("twQA"),s=t("P3uw").findWhiteSpaceStart,d=t("OohF"),c=function(){},p=u.TYPE,f=u.NAME,h=p.WhiteSpace,m=p.Ident,v=p.Function,g=p.Url,b=p.Hash,_=p.Percentage,y=p.Number;function C(n){return function(){return this[n]()}}n.exports=function(n){var e={scanner:new i,locationMap:new l,filename:"<unknown>",needPositions:!1,onParseError:c,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:d,createList:function(){return new r},createSingleNodeList:function(n){return(new r).appendData(n)},getFirstListNode:function(n){return n&&n.first()},getLastListNode:function(n){return n.last()},parseWithFallback:function(n,e){var t=this.scanner.tokenIndex;try{return n.call(this)}catch(o){if(this.onParseErrorThrow)throw o;var l=e.call(this,t);return this.onParseErrorThrow=!0,this.onParseError(o,l),this.onParseErrorThrow=!1,l}},lookupNonWSType:function(n){do{var e=this.scanner.lookupType(n++);if(e!==h)return e}while(0!==e);return 0},eat:function(n){if(this.scanner.tokenType!==n){var e=this.scanner.tokenStart,t=f[n]+" is expected";switch(n){case m:this.scanner.tokenType===v||this.scanner.tokenType===g?(e=this.scanner.tokenEnd-1,t="Identifier is expected but function found"):t="Identifier is expected";break;case b:this.scanner.isDelim(35)&&(this.scanner.next(),e++,t="Name is expected");break;case _:this.scanner.tokenType===y&&(e=this.scanner.tokenEnd,t="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===n&&(e+=1)}this.error(t,e)}this.scanner.next()},consume:function(n){var e=this.scanner.getTokenValue();return this.eat(n),e},consumeFunctionName:function(){var n=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(v),n},getLocation:function(n,e){return this.needPositions?this.locationMap.getLocationRange(n,e,this.filename):null},getLocationFromList:function(n){if(this.needPositions){var e=this.getFirstListNode(n),t=this.getLastListNode(n);return this.locationMap.getLocationRange(null!==e?e.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==t?t.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(n,e){var t=this.locationMap.getLocation(void 0!==e&&e<this.scanner.source.length?e:this.scanner.eof?s(this.scanner.source,this.scanner.source.length-1):this.scanner.tokenStart);throw new o(n||"Unexpected input",this.scanner.source,t.offset,t.line,t.column)}};for(var t in n=function(n){var e={context:{},scope:{},atrule:{},pseudo:{}};if(n.parseContext)for(var t in n.parseContext)switch(typeof n.parseContext[t]){case"function":e.context[t]=n.parseContext[t];break;case"string":e.context[t]=C(n.parseContext[t])}if(n.scope)for(var t in n.scope)e.scope[t]=n.scope[t];if(n.atrule)for(var t in n.atrule){var l=n.atrule[t];l.parse&&(e.atrule[t]=l.parse)}if(n.pseudo)for(var t in n.pseudo){var o=n.pseudo[t];o.parse&&(e.pseudo[t]=o.parse)}if(n.node)for(var t in n.node)e[t]=n.node[t].parse;return e}(n||{}))e[t]=n[t];return function(n,t){var l,o=(t=t||{}).context||"default";if(a(n,e.scanner),e.locationMap.setSource(n,t.offset,t.line,t.column),e.filename=t.filename||"<unknown>",e.needPositions=Boolean(t.positions),e.onParseError="function"==typeof t.onParseError?t.onParseError:c,e.onParseErrorThrow=!1,e.parseAtrulePrelude=!("parseAtrulePrelude"in t)||Boolean(t.parseAtrulePrelude),e.parseRulePrelude=!("parseRulePrelude"in t)||Boolean(t.parseRulePrelude),e.parseValue=!("parseValue"in t)||Boolean(t.parseValue),e.parseCustomProperty="parseCustomProperty"in t&&Boolean(t.parseCustomProperty),!e.context.hasOwnProperty(o))throw new Error("Unknown context `"+o+"`");return l=e.context[o].call(e,t),e.scanner.eof||e.error(),l}}},uMIJ:function(n,e,t){n.exports="function"==typeof Array.from?Array.from:t("lipz")},uMaO:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this)||this;return l.subject=e,l.subscriber=t,l.closed=!1,l}return l.c(e,n),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var n=this.subject,e=n.observers;if(this.subject=null,e&&0!==e.length&&!n.isStopped&&!n.closed){var t=e.indexOf(this.subscriber);-1!==t&&e.splice(t,1)}}},e}(t("pugT").a)},uW6F:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("60iU");function r(){return function(n){return n.lift(new a)}}var a=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new u(n))},n}(),u=function(n){function e(e){return n.call(this,e)||this}return l.c(e,n),e.prototype._next=function(n){this.destination.next(i.a.createNext(n))},e.prototype._error=function(n){var e=this.destination;e.next(i.a.createError(n)),e.complete()},e.prototype._complete=function(){var n=this.destination;n.next(i.a.createComplete()),n.complete()},e}(o.a)},ujTQ:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("FFOo"),i=t("3fWJ");function r(n){return function(e){return e.lift(new a(n,e))}}var a=function(){function n(n,e){this.predicate=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.predicate,this.source))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.source=l,o.seenValue=!1,o.index=0,o}return l.c(e,n),e.prototype.applySingleValue=function(n){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=n)},e.prototype._next=function(n){var e=this.index++;this.predicate?this.tryNext(n,e):this.applySingleValue(n)},e.prototype.tryNext=function(n,e){try{this.predicate(n,e,this.source)&&this.applySingleValue(n)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var n=this.destination;this.index>0?(n.next(this.seenValue?this.singleValue:void 0),n.complete()):n.error(new i.a)},e}(o.a)},uzHG:function(n,e,t){"use strict";var l,o=void 0;"function"!=typeof Object.create?(l=function(){},o=function(n,e){if(n!==Object(n)&&null!==n)throw TypeError("Argument must be an object, or null");l.prototype=n||{};var t=new l;return l.prototype=null,void 0!==e&&Object.defineProperties(t,e),null===n&&(t.__proto__=null),t}):o=Object.create;var i=o,r=["altKey","button","buttons","clientX","clientY","ctrlKey","metaKey","movementX","movementY","offsetX","offsetY","pageX","pageY","region","relatedTarget","screenX","screenY","shiftKey","which","x","y"];function a(n,e){e=e||{};for(var t=i(n),l=0;l<r.length;l++)void 0!==e[r[l]]&&(t[r[l]]=e[r[l]]);return t}function u(n,e){console.log("data ",e),n.data=e||{},n.dispatched="mousemove"}n.exports=function(n){var e={screenX:0,screenY:0,clientX:0,clientY:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,button:0,buttons:1,relatedTarget:null,region:null};function t(n){for(var t=0;t<r.length;t++)e[r[t]]=n[r[t]]}return void 0!==n&&n.addEventListener("mousemove",t),{destroy:function(){n&&n.removeEventListener("mousemove",t,!1),e=null},dispatch:MouseEvent?function(n,t,l){var o=new MouseEvent("mousemove",a(e,t));return u(o,l),n.dispatchEvent(o)}:"function"==typeof document.createEvent?function(n,t,l){var o=a(e,t),i=document.createEvent("MouseEvents");return i.initMouseEvent("mousemove",!0,!0,window,0,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget),u(i,l),n.dispatchEvent(i)}:"function"==typeof document.createEventObject?function(n,t,l){var o=document.createEventObject(),i=a(e,t);for(var r in i)o[r]=i[r];return u(o,l),n.dispatchEvent(o)}:void 0}}},v9aN:function(n,e){function t(n){this.name="RavenConfigError",this.message=n}(t.prototype=new Error).constructor=t,n.exports=t},vAVA:function(n,e,t){"use strict";var l;!function(){var t=e||{}||this||window;void 0===(l=(function(){return t}).apply(e,[]))||(n.exports=l),t.default=t;var o="http://www.w3.org/2000/xmlns/",i="http://www.w3.org/2000/svg",r=/url\(["']?(.+?)["']?\)/,a={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},u=function(n){return n instanceof HTMLElement||n instanceof SVGElement},s=function(n){if(!u(n))throw new Error("an HTMLElement or SVGElement is required; got "+n)},d=function(n){return new Promise((function(e,t){u(n)?e(n):t(new Error("an HTMLElement or SVGElement is required; got "+n))}))},c=function(n,e,t){var l=n.viewBox&&n.viewBox.baseVal&&n.viewBox.baseVal[t]||null!==e.getAttribute(t)&&!e.getAttribute(t).match(/%$/)&&parseInt(e.getAttribute(t))||n.getBoundingClientRect()[t]||parseInt(e.style[t])||parseInt(window.getComputedStyle(n).getPropertyValue(t));return null==l||isNaN(parseFloat(l))?0:l},p=function(n){for(var e=window.atob(n.split(",")[1]),t=n.split(",")[0].split(":")[1].split(";")[0],l=new ArrayBuffer(e.length),o=new Uint8Array(l),i=0;i<e.length;i++)o[i]=e.charCodeAt(i);return new Blob([l],{type:t})},f={},h=null,m=function(){if(!(navigator.msSaveOrOpenBlob||"download"in document.createElement("a")))return{popup:window.open()}};t.prepareSvg=function(n,e,t){s(n);var l=e||{},u=l.left,d=void 0===u?0:u,p=l.top,m=void 0===p?0:p,v=l.width,g=l.height,b=l.scale,_=void 0===b?1:b,y=l.responsive,C=void 0!==y&&y,w=l.excludeCss,S=void 0!==w&&w;return function(n){return Promise.all(Array.from(n.querySelectorAll("image")).map((function(n){var e,t=n.getAttributeNS("http://www.w3.org/1999/xlink","href")||n.getAttribute("href");return t?((e=t)&&0===e.lastIndexOf("http",0)&&-1===e.lastIndexOf(window.location.host)&&(t+=(-1===t.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise((function(e,l){var o=document.createElement("canvas"),i=new Image;i.crossOrigin="anonymous",i.src=t,i.onerror=function(){return l(new Error("Could not load "+t))},i.onload=function(){o.width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),n.setAttributeNS("http://www.w3.org/1999/xlink","href",o.toDataURL("image/png")),e(!0)}}))):Promise.resolve(null)})))}(n).then((function(){var l=n.cloneNode(!0);l.style.backgroundColor=(e||{}).backgroundColor||n.style.backgroundColor;var u=function(n,e,t,l){if("svg"===n.tagName)return{width:t||c(n,e,"width"),height:l||c(n,e,"height")};if(n.getBBox){var o=n.getBBox();return{width:o.x+o.width,height:o.y+o.height}}}(n,l,v,g),s=u.width,p=u.height;if("svg"!==n.tagName){if(!n.getBBox)return void console.error("Attempted to render non-SVG element",n);null!=l.getAttribute("transform")&&l.setAttribute("transform",l.getAttribute("transform").replace(/translate\(.*?\)/,""));var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.appendChild(l),l=b}if(l.setAttribute("version","1.1"),l.setAttribute("viewBox",[d,m,s,p].join(" ")),l.getAttribute("xmlns")||l.setAttributeNS(o,"xmlns",i),l.getAttribute("xmlns:xlink")||l.setAttributeNS(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),C?(l.removeAttribute("width"),l.removeAttribute("height"),l.setAttribute("preserveAspectRatio","xMinYMin meet")):(l.setAttribute("width",s*_),l.setAttribute("height",p*_)),Array.from(l.querySelectorAll("foreignObject > *")).forEach((function(n){n.setAttributeNS(o,"xmlns","svg"===n.tagName?i:"http://www.w3.org/1999/xhtml")})),!S)return function(n,e){var t=e||{},l=t.selectorRemap,o=t.modifyStyle,i=t.fonts,u=t.excludeUnusedCss,s=t.modifyCss||function(n,e){return(l?l(n):n)+"{"+(o?o(e):e)+"}\n"},d=[],c=void 0===i,p=i||[];return(h||(h=Array.from(document.styleSheets).map((function(n){try{return{rules:n.cssRules,href:n.href}}catch(e){return console.warn("Stylesheet could not be loaded: "+n.href,e),{}}})))).forEach((function(e){var t=e.rules,l=e.href;t&&Array.from(t).forEach((function(e){if(void 0!==e.style)if(function(n,e){if(e)try{return n.querySelector(e)||n.parentNode&&n.parentNode.querySelector(e)}catch(t){console.warn('Invalid CSS selector "'+e+'"',t)}}(n,e.selectorText))d.push(s(e.selectorText,e.style.cssText));else if(c&&e.cssText.match(/^@font-face/)){var t=function(n,e){var t=n.cssText.match(r),l=t&&t[1]||"";if(l&&!l.match(/^data:/)&&"about:blank"!==l){var o,i,u=l.startsWith("../")?e+"/../"+l:l.startsWith("./")?e+"/."+l:l;return{text:n.cssText,format:(o=u,i=Object.keys(a).filter((function(n){return o.indexOf("."+n)>0})).map((function(n){return a[n]})),i?i[0]:(console.error("Unknown font format for "+o+". Fonts may not be working correctly."),"application/octet-stream")),url:u}}}(e,l);t&&p.push(t)}else u||d.push(e.cssText)}))})),function(n){return Promise.all(n.map((function(n){return new Promise((function(e,t){if(f[n.url])return e(f[n.url]);var l=new XMLHttpRequest;l.addEventListener("load",(function(){var t=function(n){for(var e="",t=new Uint8Array(n),l=0;l<t.byteLength;l++)e+=String.fromCharCode(t[l]);return window.btoa(e)}(l.response),o=n.text.replace(r,'url("data:'+n.format+";base64,"+t+'")')+"\n";f[n.url]=o,e(o)})),l.addEventListener("error",(function(t){console.warn("Failed to load font from: "+n.url,t),f[n.url]=null,e(null)})),l.addEventListener("abort",(function(t){console.warn("Aborted loading font from: "+n.url,t),e(null)})),l.open("GET",n.url),l.responseType="arraybuffer",l.send()}))}))).then((function(n){return n.filter((function(n){return n})).join("")}))}(p).then((function(n){return d.join("\n")+n}))}(n,e).then((function(n){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML="<![CDATA[\n"+n+"\n]]>";var o=document.createElement("defs");o.appendChild(e),l.insertBefore(o,l.firstChild);var i=document.createElement("div");i.appendChild(l);var r=i.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof t)return{src:r,width:s,height:p};t(r,s,p)}));var y=document.createElement("div");y.appendChild(l);var w=y.innerHTML;if("function"!=typeof t)return{src:w,width:s,height:p};t(w,s,p)}))},t.svgAsDataUri=function(n,e,l){return s(n),t.prepareSvg(n,e).then((function(n){var e=n.width,t=n.height,o="data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp " ">]>'+n.src).replace(/%([0-9A-F]{2})/g,(function(n,e){var t=String.fromCharCode("0x"+e);return"%"===t?"%25":t}))));return"function"==typeof l&&l(o,e,t),o}))},t.svgAsPngUri=function(n,e,l){s(n);var o=e||{},i=o.encoderType,r=void 0===i?"image/png":i,a=o.encoderOptions,u=void 0===a?.8:a,d=o.canvg,c=function(n){var e=n.src,t=n.width,o=n.height,i=document.createElement("canvas"),a=i.getContext("2d"),s=window.devicePixelRatio||1;i.width=t*s,i.height=o*s,i.style.width=i.width+"px",i.style.height=i.height+"px",a.setTransform(s,0,0,s,0,0),d?d(i,e):a.drawImage(e,0,0);var c=void 0;try{c=i.toDataURL(r,u)}catch(p){if("undefined"!=typeof SecurityError&&p instanceof SecurityError||"SecurityError"===p.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw p}return"function"==typeof l&&l(c,i.width,i.height),Promise.resolve(c)};return d?t.prepareSvg(n,e).then(c):t.svgAsDataUri(n,e).then((function(n){return new Promise((function(e,t){var l=new Image;l.onload=function(){return e(c({src:l,width:l.width,height:l.height}))},l.onerror=function(){t("There was an error loading the data URI as an image on the following SVG\n"+window.atob(n.slice(26))+"Open the following link to see browser's diagnosis\n"+n)},l.src=n}))}))},t.download=function(n,e,t){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(p(e),n);else{var l=document.createElement("a");if("download"in l){l.download=n,l.style.display="none",document.body.appendChild(l);try{var o=p(e),i=URL.createObjectURL(o);l.href=i,l.onclick=function(){return requestAnimationFrame((function(){return URL.revokeObjectURL(i)}))}}catch(r){console.error(r),console.warn("Error while getting object URL. Falling back to string URL."),l.href=e}l.click(),document.body.removeChild(l)}else t&&t.popup&&(t.popup.document.title=n,t.popup.location.replace(e))}},t.saveSvg=function(n,e,l){var o=m();return d(n).then((function(n){return t.svgAsDataUri(n,l||{})})).then((function(n){return t.download(e,n,o)}))},t.saveSvgAsPng=function(n,e,l){var o=m();return d(n).then((function(n){return t.svgAsPngUri(n,l||{})})).then((function(n){return t.download(e,n,o)}))}}()},vAyL:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("6blF");function o(n,e,t){return void 0===n&&(n=0),new l.a((function(l){void 0===e&&(e=n,n=0);var o=0,r=n;if(t)return t.schedule(i,0,{index:o,count:e,start:n,subscriber:l});for(;;){if(o++>=e){l.complete();break}if(l.next(r++),l.closed)break}}))}function i(n){var e=n.start,t=n.index,l=n.subscriber;t>=n.count?l.complete():(l.next(e),l.closed||(n.index=t+1,n.start=e+1,this.schedule(n)))}},vI5D:function(n,e){function t(n){return n}n.exports=function(n,e){var l=t,o=!1,i=!1;return"function"==typeof e?l=e:e&&(o=Boolean(e.forceBraces),i=Boolean(e.compact),"function"==typeof e.decorate&&(l=e.decorate)),function n(e,t,l,o){var i,r;switch(e.type){case"Group":i=function(e,t,l,o){var i=" "===e.combinator||o?e.combinator:" "+e.combinator+" ",r=e.terms.map((function(e){return n(e,t,l,o)})).join(i);return(e.explicit||l)&&(r=(o||","===r[0]?"[":"[ ")+r+(o?"]":" ]")),r}(e,t,l,o)+(e.disallowEmpty?"!":"");break;case"Multiplier":return n(e.term,t,l,o)+t(0===(r=e).min&&0===r.max?"*":0===r.min&&1===r.max?"?":1===r.min&&0===r.max?r.comma?"#":"+":1===r.min&&1===r.max?"":(r.comma?"#":"")+(r.min===r.max?"{"+r.min+"}":"{"+r.min+","+(0!==r.max?r.max:"")+"}"),e);case"Type":i="<"+e.name+(e.opts?t(function(n){switch(n.type){case"Range":return" ["+(null===n.min?"-∞":n.min)+","+(null===n.max?"∞":n.max)+"]";default:throw new Error("Unknown node type `"+n.type+"`")}}(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}(n,l,o,i)}},vYjF:function(n,e,t){var l=t("BjAV"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(n){return void 0===n}function r(n){return"[object Object]"===Object.prototype.toString.call(n)}function a(n){return"[object String]"===Object.prototype.toString.call(n)}function u(n){return"[object Array]"===Object.prototype.toString.call(n)}function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request(""),new Response,!0}catch(n){return!1}}function d(n,e){var t,l;if(i(n.length))for(t in n)p(n,t)&&e.call(null,t,n[t]);else if(l=n.length)for(t=0;t<l;t++)e.call(null,t,n[t])}function c(n,e){if("number"!=typeof e)throw new Error("2nd argument to `truncate` function should be a number");return"string"!=typeof n||0===e?n:n.length<=e?n:n.substr(0,e)+"…"}function p(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function f(n){for(var e,t=[],l=0,o=n.length;l<o;l++)a(e=n[l])?t.push(e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):e&&e.source&&t.push(e.source);return new RegExp(t.join("|"),"i")}function h(n){var e,t,l,o,i,r=[];if(!n||!n.tagName)return"";if(r.push(n.tagName.toLowerCase()),n.id&&r.push("#"+n.id),(e=n.className)&&a(e))for(t=e.split(/\s+/),i=0;i<t.length;i++)r.push("."+t[i]);var u=["type","name","title","alt"];for(i=0;i<u.length;i++)(o=n.getAttribute(l=u[i]))&&r.push("["+l+'="'+o+'"]');return r.join("")}function m(n,e){return!!(!!n^!!e)}function v(n,e){if(m(n,e))return!1;var t,l,o=n.frames,i=e.frames;if(void 0===o||void 0===i)return!1;if(o.length!==i.length)return!1;for(var r=0;r<o.length;r++)if((t=o[r]).filename!==(l=i[r]).filename||t.lineno!==l.lineno||t.colno!==l.colno||t.function!==l.function)return!1;return!0}function g(n){if("string"==typeof n)return c(n,40);if("number"==typeof n||"boolean"==typeof n||void 0===n)return n;var e=Object.prototype.toString.call(n);return"[object Object]"===e?"[Object]":"[object Array]"===e?"[Array]":"[object Function]"===e?n.name?"[Function: "+n.name+"]":"[Function]":n}n.exports={isObject:function(n){return"object"==typeof n&&null!==n},isError:function(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}},isErrorEvent:function(n){return"[object ErrorEvent]"===Object.prototype.toString.call(n)},isDOMError:function(n){return"[object DOMError]"===Object.prototype.toString.call(n)},isDOMException:function(n){return"[object DOMException]"===Object.prototype.toString.call(n)},isUndefined:i,isFunction:function(n){return"function"==typeof n},isPlainObject:r,isString:a,isArray:u,isEmptyObject:function(n){if(!r(n))return!1;for(var e in n)if(n.hasOwnProperty(e))return!1;return!0},supportsErrorEvent:function(){try{return new ErrorEvent(""),!0}catch(n){return!1}},supportsDOMError:function(){try{return new DOMError(""),!0}catch(n){return!1}},supportsDOMException:function(){try{return new DOMException(""),!0}catch(n){return!1}},supportsFetch:s,supportsReferrerPolicy:function(){if(!s())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(n){return!1}},supportsPromiseRejectionEvent:function(){return"function"==typeof PromiseRejectionEvent},wrappedCallback:function(n){return function(e,t){var l=n(e)||e;return t&&t(l)||l}},each:d,objectMerge:function(n,e){return e?(d(e,(function(e,t){n[e]=t})),n):n},truncate:c,objectFrozen:function(n){return!!Object.isFrozen&&Object.isFrozen(n)},hasKey:p,joinRegExp:f,urlencode:function(n){var e=[];return d(n,(function(n,t){e.push(encodeURIComponent(n)+"="+encodeURIComponent(t))})),e.join("&")},uuid4:function(){var n=o.crypto||o.msCrypto;if(!i(n)&&n.getRandomValues){var e=new Uint16Array(8);n.getRandomValues(e),e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;var t=function(n){for(var e=n.toString(16);e.length<4;)e="0"+e;return e};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(n){var e=16*Math.random()|0;return("x"===n?e:3&e|8).toString(16)}))},htmlTreeAsString:function(n){for(var e,t=[],l=0,o=0,i=" > ".length;n&&l++<5&&!("html"===(e=h(n))||l>1&&o+t.length*i+e.length>=80);)t.push(e),o+=e.length,n=n.parentNode;return t.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(n,e){return!m(n,e)&&(n=n.values[0]).type===(e=e.values[0]).type&&n.value===e.value&&(t=e.stacktrace,(!i(n.stacktrace)||!i(t))&&v(n.stacktrace,e.stacktrace));var t},isSameStacktrace:v,parseUrl:function(n){if("string"!=typeof n)return{};var e=n.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return{protocol:e[2],host:e[4],path:e[5],relative:e[5]+(e[6]||"")+(e[8]||"")}},fill:function(n,e,t,l){if(null!=n){var o=n[e];n[e]=t(o),n[e].__raven__=!0,n[e].__orig__=o,l&&l.push([n,e,o])}},safeJoin:function(n,e){if(!u(n))return"";for(var t=[],l=0;l<n.length;l++)try{t.push(String(n[l]))}catch(o){t.push("[value cannot be serialized]")}return t.join(e)},serializeException:function n(e,t,o){if(!r(e))return e;o="number"!=typeof(t="number"!=typeof t?3:t)?51200:o;var i,a=function n(e,t){return 0===t?g(e):r(e)?Object.keys(e).reduce((function(l,o){return l[o]=n(e[o],t-1),l}),{}):Array.isArray(e)?e.map((function(e){return n(e,t-1)})):g(e)}(e,t);return i=l(a),function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(i))>o?n(e,t-1):a},serializeKeysForMessage:function(n,e){if("number"==typeof n||"string"==typeof n)return n.toString();if(!Array.isArray(n))return"";if(0===(n=n.filter((function(n){return"string"==typeof n}))).length)return"[object has no keys]";if(n[0].length>=(e="number"!=typeof e?40:e))return n[0];for(var t=n.length;t>0;t--){var l=n.slice(0,t).join(", ");if(!(l.length>e))return t===n.length?l:l+"…"}return""},sanitize:function(n,e){if(!u(e)||u(e)&&0===e.length)return n;var t,o=f(e);try{t=JSON.parse(l(n))}catch(i){return n}return function n(e){return u(e)?e.map((function(e){return n(e)})):r(e)?Object.keys(e).reduce((function(t,l){return t[l]=o.test(l)?"********":n(e[l]),t}),{}):e}(t)}}},vd7W:function(n,e,t){var l=t("8wsT"),o=t("Sean"),i=t("twQA"),r=i.TYPE,a=t("3XNy"),u=a.isNewline,s=a.isName,d=a.isValidEscape,c=a.isNumberStart,p=a.isIdentifierStart,f=a.charCodeCategory,h=a.isBOM,m=t("P3uw"),v=m.cmpStr,g=m.getNewlineLength,b=m.findWhiteSpaceEnd,_=m.consumeEscaped,y=m.consumeName,C=m.consumeNumber,w=m.consumeBadUrlRemnants,S=16777215,x=24;function k(n,e){function t(e){return e<k?n.charCodeAt(e):0}function i(){return D=C(n,D),p(t(D),t(D+1),t(D+2))?(A=r.Dimension,void(D=y(n,D))):37===t(D)?(A=r.Percentage,void D++):void(A=r.Number)}function a(){const e=D;return D=y(n,D),v(n,e,D,"url")&&40===t(D)?34===t(D=b(n,D+1))||39===t(D)?(A=r.Function,void(D=e+4)):void function(){for(A=r.Url,D=b(n,D);D<n.length;D++){var e=n.charCodeAt(D);switch(f(e)){case 41:return void D++;case f.Eof:return;case f.WhiteSpace:return 41===t(D=b(n,D))||D>=n.length?void(D<n.length&&D++):(D=w(n,D),void(A=r.BadUrl));case 34:case 39:case 40:case f.NonPrintable:return D=w(n,D),void(A=r.BadUrl);case 92:if(d(e,t(D+1))){D=_(n,D)-1;break}return D=w(n,D),void(A=r.BadUrl)}}}():40===t(D)?(A=r.Function,void D++):void(A=r.Ident)}function m(e){for(e||(e=t(D++)),A=r.String;D<n.length;D++){var l=n.charCodeAt(D);switch(f(l)){case e:return void D++;case f.Eof:return;case f.WhiteSpace:if(u(l))return D+=g(n,D,l),void(A=r.BadString);break;case 92:if(D===n.length-1)break;var o=t(D+1);u(o)?D+=g(n,D+1,o):d(l,o)&&(D=_(n,D)-1)}}}e||(e=new l);for(var k=(n=String(n||"")).length,E=o(e.offsetAndType,k+1),T=o(e.balance,k+1),R=0,I=h(t(0)),D=I,F=0,O=0,M=0;D<k;){var N=n.charCodeAt(D),A=0;switch(T[R]=k,f(N)){case f.WhiteSpace:A=r.WhiteSpace,D=b(n,D+1);break;case 34:m();break;case 35:s(t(D+1))||d(t(D+1),t(D+2))?(A=r.Hash,D=y(n,D+1)):(A=r.Delim,D++);break;case 39:m();break;case 40:A=r.LeftParenthesis,D++;break;case 41:A=r.RightParenthesis,D++;break;case 43:c(N,t(D+1),t(D+2))?i():(A=r.Delim,D++);break;case 44:A=r.Comma,D++;break;case 45:c(N,t(D+1),t(D+2))?i():45===t(D+1)&&62===t(D+2)?(A=r.CDC,D+=3):p(N,t(D+1),t(D+2))?a():(A=r.Delim,D++);break;case 46:c(N,t(D+1),t(D+2))?i():(A=r.Delim,D++);break;case 47:42===t(D+1)?(A=r.Comment,1===(D=n.indexOf("*/",D+2)+2)&&(D=n.length)):(A=r.Delim,D++);break;case 58:A=r.Colon,D++;break;case 59:A=r.Semicolon,D++;break;case 60:33===t(D+1)&&45===t(D+2)&&45===t(D+3)?(A=r.CDO,D+=4):(A=r.Delim,D++);break;case 64:p(t(D+1),t(D+2),t(D+3))?(A=r.AtKeyword,D=y(n,D+1)):(A=r.Delim,D++);break;case 91:A=r.LeftSquareBracket,D++;break;case 92:d(N,t(D+1))?a():(A=r.Delim,D++);break;case 93:A=r.RightSquareBracket,D++;break;case 123:A=r.LeftCurlyBracket,D++;break;case 125:A=r.RightCurlyBracket,D++;break;case f.Digit:i();break;case f.NameStart:a();break;case f.Eof:break;default:A=r.Delim,D++}switch(A){case F:for(F=(O=T[M=O&S])>>x,T[R]=M,T[M++]=R;M<R;M++)T[M]===k&&(T[M]=R);break;case r.LeftParenthesis:case r.Function:T[R]=O,O=(F=r.RightParenthesis)<<x|R;break;case r.LeftSquareBracket:T[R]=O,O=(F=r.RightSquareBracket)<<x|R;break;case r.LeftCurlyBracket:T[R]=O,O=(F=r.RightCurlyBracket)<<x|R}E[R++]=A<<x|D}for(E[R]=r.EOF<<x|D,T[R]=k,T[k]=k;0!==O;)O=T[M=O&S],T[M]=k;return e.source=n,e.firstCharOffset=I,e.offsetAndType=E,e.tokenCount=R,e.balance=T,e.reset(),e.next(),e}Object.keys(i).forEach((function(n){k[n]=i[n]})),Object.keys(a).forEach((function(n){k[n]=a[n]})),Object.keys(m).forEach((function(n){k[n]=m[n]})),n.exports=k},vubp:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),o=t("T1DM"),i=t("VGuC"),r=t("FFOo"),a=t("60iU");function u(n,e){void 0===e&&(e=o.a);var t=Object(i.a)(n)?+n-e.now():Math.abs(n);return function(n){return n.lift(new s(t,e))}}var s=function(){function n(n,e){this.delay=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.delay,this.scheduler))},n}(),d=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.delay=t,o.scheduler=l,o.queue=[],o.active=!1,o.errored=!1,o}return l.c(e,n),e.dispatch=function(n){for(var e=n.source,t=e.queue,l=n.scheduler,o=n.destination;t.length>0&&t[0].time-l.now()<=0;)t.shift().notification.observe(o);if(t.length>0){var i=Math.max(0,t[0].time-l.now());this.schedule(n,i)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(n){this.active=!0,this.destination.add(n.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))},e.prototype.scheduleNotification=function(n){if(!0!==this.errored){var e=this.scheduler,t=new c(e.now()+this.delay,n);this.queue.push(t),!1===this.active&&this._schedule(e)}},e.prototype._next=function(n){this.scheduleNotification(a.a.createNext(n))},e.prototype._error=function(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()},e}(r.a),c=function(){return function(n,e){this.time=n,this.notification=e}}()},w1EH:function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("3fWJ"),o=t("VnD/"),i=t("AxiF"),r=t("tNVB"),a=t("HJBe"),u=t("mChF");function s(n,e){var t=arguments.length>=2;return function(s){return s.pipe(n?Object(o.a)((function(e,t){return n(e,t,s)})):u.a,Object(i.a)(1),t?Object(a.a)(e):Object(r.a)((function(){return new l.a})))}}},wDBO:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),o=t("MGBS"),i=t("zotm");function r(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){var t=new u(n),l=e.subscribe(t);return l.add(Object(i.a)(t,this.notifier)),l},n}(),u=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.hasValue=!1,e}return l.c(e,n),e.prototype._next=function(n){this.value=n,this.hasValue=!0},e.prototype.notifyNext=function(n,e,t,l,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.a)},wDXs:function(n,e,t){n.exports=t("2pxp")},wjTF:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return function(t){return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.compareTo=n,this.comparator=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.compareTo,this.comparator))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.compareTo=t,o.comparator=l,o._a=[],o._b=[],o._oneComplete=!1,o.destination.add(t.subscribe(new u(e,o))),o}return l.c(e,n),e.prototype._next=function(n){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(n),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var n=this._a,e=this._b,t=this.comparator;n.length>0&&e.length>0;){var l=n.shift(),o=e.shift(),i=!1;try{i=t?t(l,o):l===o}catch(r){this.destination.error(r)}i||this.emit(!1)}},e.prototype.emit=function(n){var e=this.destination;e.next(n),e.complete()},e.prototype.nextB=function(n){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(n),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(o.a),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.parent=t,l}return l.c(e,n),e.prototype._next=function(n){this.parent.nextB(n)},e.prototype._error=function(n){this.parent.error(n),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(o.a)},xDdU:function(n,e,t){var l,o,i=t("4fRq"),r=t("I2ZF"),a=0,u=0;n.exports=function(n,e,t){var s=e&&t||0,d=e||[],c=(n=n||{}).node||l,p=void 0!==n.clockseq?n.clockseq:o;if(null==c||null==p){var f=i();null==c&&(c=l=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=o=16383&(f[6]<<8|f[7]))}var h=void 0!==n.msecs?n.msecs:(new Date).getTime(),m=void 0!==n.nsecs?n.nsecs:u+1,v=h-a+(m-u)/1e4;if(v<0&&void 0===n.clockseq&&(p=p+1&16383),(v<0||h>a)&&void 0===n.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,u=m,o=p;var g=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;d[s++]=g>>>24&255,d[s++]=g>>>16&255,d[s++]=g>>>8&255,d[s++]=255&g;var b=h/4294967296*1e4&268435455;d[s++]=b>>>8&255,d[s++]=255&b,d[s++]=b>>>24&15|16,d[s++]=b>>>16&255,d[s++]=p>>>8|128,d[s++]=255&p;for(var _=0;_<6;++_)d[s+_]=c[_];return e||r(d)}},xMyE:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("FFOo"),i=t("+umK"),r=t("2Bdj");function a(n,e,t){return function(l){return l.lift(new u(n,e,t))}}var u=function(){function n(n,e,t){this.nextOrObserver=n,this.error=e,this.complete=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.nextOrObserver,this.error,this.complete))},n}(),s=function(n){function e(e,t,l,o){var a=n.call(this,e)||this;return a._tapNext=i.a,a._tapError=i.a,a._tapComplete=i.a,a._tapError=l||i.a,a._tapComplete=o||i.a,Object(r.a)(t)?(a._context=a,a._tapNext=t):t&&(a._context=t,a._tapNext=t.next||i.a,a._tapError=t.error||i.a,a._tapComplete=t.complete||i.a),a}return l.c(e,n),e.prototype._next=function(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)},e.prototype._error=function(n){try{this._tapError.call(this._context,n)}catch(n){return void this.destination.error(n)}this.destination.error(n)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()},e}(o.a)},xODi:function(n,e){n.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},xTla:function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},xXU7:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("6blF"),o=t("T1DM"),i=t("/21U");function r(n,e){return void 0===n&&(n=0),void 0===e&&(e=o.a),(!Object(i.a)(n)||n<0)&&(n=0),e&&"function"==typeof e.schedule||(e=o.a),new l.a((function(t){return t.add(e.schedule(a,n,{subscriber:t,counter:0,period:n})),t}))}function a(n){var e=n.subscriber,t=n.counter,l=n.period;e.next(t),this.schedule({subscriber:e,counter:t+1,period:l},l)}},xijO:function(n,e,t){"use strict";t.r(e);var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol?"symbol":typeof n};e.default=function(n){return null!=n&&"object"===(void 0===n?"undefined":l(n))&&1===n.nodeType&&"object"===l(n.style)&&"object"===l(n.ownerDocument)}},xk4V:function(n,e,t){var l=t("4fRq"),o=t("I2ZF");n.exports=function(n,e,t){var i=e&&t||0;"string"==typeof n&&(e="binary"===n?new Array(16):null,n=null);var r=(n=n||{}).random||(n.rng||l)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e)for(var a=0;a<16;++a)e[i+a]=r[a];return e||o(r)}},xlPZ:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("KhEm");function o(n,e){return function(t){var o;if(o="function"==typeof n?n:function(){return n},"function"==typeof e)return t.lift(new i(o,e));var r=Object.create(t,l.b);return r.source=t,r.subjectFactory=o,r}}var i=function(){function n(n,e){this.subjectFactory=n,this.selector=e}return n.prototype.call=function(n,e){var t=this.selector,l=this.subjectFactory(),o=t(l).subscribe(n);return o.add(e.subscribe(l)),o},n}()},xsCy:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var l=t("mrSG"),o=t("pugT"),i=t("MGBS"),r=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.closingSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.closingSelector))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.closingSelector=t,l.subscribing=!1,l.openBuffer(),l}return l.c(e,n),e.prototype._next=function(n){this.buffer.push(n)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(n,e,t,l,o){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var n,e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{n=(0,this.closingSelector)()}catch(t){return this.error(t)}e=new o.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(r.a)(this,n)),this.subscribing=!1},e}(i.a)},y3By:function(n,e,t){"use strict";t.d(e,"a",(function(){return o})),t.d(e,"b",(function(){return i}));var l=t("+umK");function o(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return i(n)}function i(n){return n?1===n.length?n[0]:function(e){return n.reduce((function(n,e){return e(n)}),e)}:l.a}},yGWI:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(){return function(n){return n.lift(new r(n))}}var r=function(){function n(n){this.connectable=n}return n.prototype.call=function(n,e){var t=this.connectable;t._refCount++;var l=new a(n,t),o=e.subscribe(l);return l.closed||(l.connection=t.connect()),o},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return l.c(e,n),e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._refCount;if(e<=0)this.connection=null;else if(n._refCount=e-1,e>1)this.connection=null;else{var t=this.connection,l=n._connection;this.connection=null,!l||t&&l!==t||l.unsubscribe()}}else this.connection=null},e}(o.a)},yJif:function(n,e,t){n.exports=t("errG")},yLV6:function(n,e,t){var l;!function(o,i,r,a){"use strict";var u,s=["","webkit","Moz","MS","ms","o"],d=i.createElement("div"),c="function",p=Math.round,f=Math.abs,h=Date.now;function m(n,e,t){return setTimeout(w(n,t),e)}function v(n,e,t){return!!Array.isArray(n)&&(g(n,t[e],t),!0)}function g(n,e,t){var l;if(n)if(n.forEach)n.forEach(e,t);else if(n.length!==a)for(l=0;l<n.length;)e.call(t,n[l],l,n),l++;else for(l in n)n.hasOwnProperty(l)&&e.call(t,n[l],l,n)}function b(n,e,t){var l="DEPRECATED METHOD: "+e+"\n"+t+" AT \n";return function(){var e=new Error("get-stack-trace"),t=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,l,t),n.apply(this,arguments)}}u="function"!=typeof Object.assign?function(n){if(n===a||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(n),t=1;t<arguments.length;t++){var l=arguments[t];if(l!==a&&null!==l)for(var o in l)l.hasOwnProperty(o)&&(e[o]=l[o])}return e}:Object.assign;var _=b((function(n,e,t){for(var l=Object.keys(e),o=0;o<l.length;)(!t||t&&n[l[o]]===a)&&(n[l[o]]=e[l[o]]),o++;return n}),"extend","Use `assign`."),y=b((function(n,e){return _(n,e,!0)}),"merge","Use `assign`.");function C(n,e,t){var l,o=e.prototype;(l=n.prototype=Object.create(o)).constructor=n,l._super=o,t&&u(l,t)}function w(n,e){return function(){return n.apply(e,arguments)}}function S(n,e){return typeof n==c?n.apply(e&&e[0]||a,e):n}function x(n,e){return n===a?e:n}function k(n,e,t){g(I(e),(function(e){n.addEventListener(e,t,!1)}))}function E(n,e,t){g(I(e),(function(e){n.removeEventListener(e,t,!1)}))}function T(n,e){for(;n;){if(n==e)return!0;n=n.parentNode}return!1}function R(n,e){return n.indexOf(e)>-1}function I(n){return n.trim().split(/\s+/g)}function D(n,e,t){if(n.indexOf&&!t)return n.indexOf(e);for(var l=0;l<n.length;){if(t&&n[l][t]==e||!t&&n[l]===e)return l;l++}return-1}function F(n){return Array.prototype.slice.call(n,0)}function O(n,e,t){for(var l=[],o=[],i=0;i<n.length;){var r=e?n[i][e]:n[i];D(o,r)<0&&l.push(n[i]),o[i]=r,i++}return t&&(l=e?l.sort((function(n,t){return n[e]>t[e]})):l.sort()),l}function M(n,e){for(var t,l,o=e[0].toUpperCase()+e.slice(1),i=0;i<s.length;){if((l=(t=s[i])?t+o:e)in n)return l;i++}return a}var N=1;function A(n){var e=n.ownerDocument||n;return e.defaultView||e.parentWindow||o}var P="ontouchstart"in o,q=M(o,"PointerEvent")!==a,L=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),j=25,V=1,B=2,H=4,U=8,z=1,G=2,W=4,Z=8,K=16,X=G|W,Y=Z|K,$=X|Y,Q=["x","y"],J=["clientX","clientY"];function nn(n,e){var t=this;this.manager=n,this.callback=e,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(e){S(n.options.enable,[n])&&t.handler(e)},this.init()}function en(n,e,t){var l=t.pointers.length,o=t.changedPointers.length,i=e&V&&l-o==0,r=e&(H|U)&&l-o==0;t.isFirst=!!i,t.isFinal=!!r,i&&(n.session={}),t.eventType=e,function(n,e){var t=n.session,l=e.pointers,o=l.length;t.firstInput||(t.firstInput=tn(e)),o>1&&!t.firstMultiple?t.firstMultiple=tn(e):1===o&&(t.firstMultiple=!1);var i=t.firstInput,r=t.firstMultiple,u=r?r.center:i.center,s=e.center=ln(l);e.timeStamp=h(),e.deltaTime=e.timeStamp-i.timeStamp,e.angle=un(u,s),e.distance=an(u,s),function(n,e){var t=e.center,l=n.offsetDelta||{},o=n.prevDelta||{},i=n.prevInput||{};e.eventType!==V&&i.eventType!==H||(o=n.prevDelta={x:i.deltaX||0,y:i.deltaY||0},l=n.offsetDelta={x:t.x,y:t.y}),e.deltaX=o.x+(t.x-l.x),e.deltaY=o.y+(t.y-l.y)}(t,e),e.offsetDirection=rn(e.deltaX,e.deltaY);var d,c,p=on(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=f(p.x)>f(p.y)?p.x:p.y,e.scale=r?(d=r.pointers,an((c=l)[0],c[1],J)/an(d[0],d[1],J)):1,e.rotation=r?function(n,e){return un(e[1],e[0],J)+un(n[1],n[0],J)}(r.pointers,l):0,e.maxPointers=t.prevInput?e.pointers.length>t.prevInput.maxPointers?e.pointers.length:t.prevInput.maxPointers:e.pointers.length,function(n,e){var t,l,o,i,r=n.lastInterval||e,u=e.timeStamp-r.timeStamp;if(e.eventType!=U&&(u>j||r.velocity===a)){var s=e.deltaX-r.deltaX,d=e.deltaY-r.deltaY,c=on(u,s,d);l=c.x,o=c.y,t=f(c.x)>f(c.y)?c.x:c.y,i=rn(s,d),n.lastInterval=e}else t=r.velocity,l=r.velocityX,o=r.velocityY,i=r.direction;e.velocity=t,e.velocityX=l,e.velocityY=o,e.direction=i}(t,e);var m=n.element;T(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(n,t),n.emit("hammer.input",t),n.recognize(t),n.session.prevInput=t}function tn(n){for(var e=[],t=0;t<n.pointers.length;)e[t]={clientX:p(n.pointers[t].clientX),clientY:p(n.pointers[t].clientY)},t++;return{timeStamp:h(),pointers:e,center:ln(e),deltaX:n.deltaX,deltaY:n.deltaY}}function ln(n){var e=n.length;if(1===e)return{x:p(n[0].clientX),y:p(n[0].clientY)};for(var t=0,l=0,o=0;o<e;)t+=n[o].clientX,l+=n[o].clientY,o++;return{x:p(t/e),y:p(l/e)}}function on(n,e,t){return{x:e/n||0,y:t/n||0}}function rn(n,e){return n===e?z:f(n)>=f(e)?n<0?G:W:e<0?Z:K}function an(n,e,t){t||(t=Q);var l=e[t[0]]-n[t[0]],o=e[t[1]]-n[t[1]];return Math.sqrt(l*l+o*o)}function un(n,e,t){return t||(t=Q),180*Math.atan2(e[t[1]]-n[t[1]],e[t[0]]-n[t[0]])/Math.PI}nn.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(A(this.element),this.evWin,this.domHandler)}};var sn={mousedown:V,mousemove:B,mouseup:H},dn="mousedown",cn="mousemove mouseup";function pn(){this.evEl=dn,this.evWin=cn,this.pressed=!1,nn.apply(this,arguments)}C(pn,nn,{handler:function(n){var e=sn[n.type];e&V&&0===n.button&&(this.pressed=!0),e&B&&1!==n.which&&(e=H),this.pressed&&(e&H&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[n],changedPointers:[n],pointerType:"mouse",srcEvent:n}))}});var fn={pointerdown:V,pointermove:B,pointerup:H,pointercancel:U,pointerout:U},hn={2:"touch",3:"pen",4:"mouse",5:"kinect"},mn="pointerdown",vn="pointermove pointerup pointercancel";function gn(){this.evEl=mn,this.evWin=vn,nn.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(mn="MSPointerDown",vn="MSPointerMove MSPointerUp MSPointerCancel"),C(gn,nn,{handler:function(n){var e=this.store,t=!1,l=n.type.toLowerCase().replace("ms",""),o=fn[l],i=hn[n.pointerType]||n.pointerType,r="touch"==i,a=D(e,n.pointerId,"pointerId");o&V&&(0===n.button||r)?a<0&&(e.push(n),a=e.length-1):o&(H|U)&&(t=!0),a<0||(e[a]=n,this.callback(this.manager,o,{pointers:e,changedPointers:[n],pointerType:i,srcEvent:n}),t&&e.splice(a,1))}});var bn={touchstart:V,touchmove:B,touchend:H,touchcancel:U},_n="touchstart",yn="touchstart touchmove touchend touchcancel";function Cn(){this.evTarget=_n,this.evWin=yn,this.started=!1,nn.apply(this,arguments)}function wn(n,e){var t=F(n.touches),l=F(n.changedTouches);return e&(H|U)&&(t=O(t.concat(l),"identifier",!0)),[t,l]}C(Cn,nn,{handler:function(n){var e=bn[n.type];if(e===V&&(this.started=!0),this.started){var t=wn.call(this,n,e);e&(H|U)&&t[0].length-t[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:n})}}});var Sn={touchstart:V,touchmove:B,touchend:H,touchcancel:U},xn="touchstart touchmove touchend touchcancel";function kn(){this.evTarget=xn,this.targetIds={},nn.apply(this,arguments)}function En(n,e){var t=F(n.touches),l=this.targetIds;if(e&(V|B)&&1===t.length)return l[t[0].identifier]=!0,[t,t];var o,i,r=F(n.changedTouches),a=[],u=this.target;if(i=t.filter((function(n){return T(n.target,u)})),e===V)for(o=0;o<i.length;)l[i[o].identifier]=!0,o++;for(o=0;o<r.length;)l[r[o].identifier]&&a.push(r[o]),e&(H|U)&&delete l[r[o].identifier],o++;return a.length?[O(i.concat(a),"identifier",!0),a]:void 0}C(kn,nn,{handler:function(n){var e=Sn[n.type],t=En.call(this,n,e);t&&this.callback(this.manager,e,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:n})}});var Tn=2500,Rn=25;function In(){nn.apply(this,arguments);var n=w(this.handler,this);this.touch=new kn(this.manager,n),this.mouse=new pn(this.manager,n),this.primaryTouch=null,this.lastTouches=[]}function Dn(n,e){n&V?(this.primaryTouch=e.changedPointers[0].identifier,Fn.call(this,e)):n&(H|U)&&Fn.call(this,e)}function Fn(n){var e=n.changedPointers[0];if(e.identifier===this.primaryTouch){var t={x:e.clientX,y:e.clientY};this.lastTouches.push(t);var l=this.lastTouches;setTimeout((function(){var n=l.indexOf(t);n>-1&&l.splice(n,1)}),Tn)}}function On(n){for(var e=n.srcEvent.clientX,t=n.srcEvent.clientY,l=0;l<this.lastTouches.length;l++){var o=this.lastTouches[l],i=Math.abs(e-o.x),r=Math.abs(t-o.y);if(i<=Rn&&r<=Rn)return!0}return!1}C(In,nn,{handler:function(n,e,t){var l="mouse"==t.pointerType;if(!(l&&t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)){if("touch"==t.pointerType)Dn.call(this,e,t);else if(l&&On.call(this,t))return;this.callback(n,e,t)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Mn=M(d.style,"touchAction"),Nn=Mn!==a,An=function(){if(!Nn)return!1;var n={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(t){n[t]=!e||o.CSS.supports("touch-action",t)})),n}();function Pn(n,e){this.manager=n,this.set(e)}Pn.prototype={set:function(n){"compute"==n&&(n=this.compute()),Nn&&this.manager.element.style&&An[n]&&(this.manager.element.style[Mn]=n),this.actions=n.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var n=[];return g(this.manager.recognizers,(function(e){S(e.options.enable,[e])&&(n=n.concat(e.getTouchAction()))})),function(n){if(R(n,"none"))return"none";var e=R(n,"pan-x"),t=R(n,"pan-y");return e&&t?"none":e||t?e?"pan-x":"pan-y":R(n,"manipulation")?"manipulation":"auto"}(n.join(" "))},preventDefaults:function(n){var e=n.srcEvent,t=n.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var l=this.actions,o=R(l,"none")&&!An.none,i=R(l,"pan-y")&&!An["pan-y"],r=R(l,"pan-x")&&!An["pan-x"];if(o&&1===n.pointers.length&&n.distance<2&&n.deltaTime<250)return;if(!r||!i)return o||i&&t&X||r&&t&Y?this.preventSrc(e):void 0}},preventSrc:function(n){this.manager.session.prevented=!0,n.preventDefault()}};var qn=1,Ln=2,jn=4,Vn=8,Bn=Vn,Hn=16;function Un(n){this.options=u({},this.defaults,n||{}),this.id=N++,this.manager=null,this.options.enable=x(this.options.enable,!0),this.state=qn,this.simultaneous={},this.requireFail=[]}function zn(n){return n&Hn?"cancel":n&Vn?"end":n&jn?"move":n&Ln?"start":""}function Gn(n){return n==K?"down":n==Z?"up":n==G?"left":n==W?"right":""}function Wn(n,e){var t=e.manager;return t?t.get(n):n}function Zn(){Un.apply(this,arguments)}function Kn(){Zn.apply(this,arguments),this.pX=null,this.pY=null}function Xn(){Zn.apply(this,arguments)}function Yn(){Un.apply(this,arguments),this._timer=null,this._input=null}function $n(){Zn.apply(this,arguments)}function Qn(){Zn.apply(this,arguments)}function Jn(){Un.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ne(n,e){return(e=e||{}).recognizers=x(e.recognizers,ne.defaults.preset),new ee(n,e)}function ee(n,e){var t;this.options=u({},ne.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||n,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=n,this.input=new((t=this).options.inputClass||(q?gn:L?kn:P?In:pn))(t,en),this.touchAction=new Pn(this,this.options.touchAction),te(this,!0),g(this.options.recognizers,(function(n){var e=this.add(new n[0](n[1]));n[2]&&e.recognizeWith(n[2]),n[3]&&e.requireFailure(n[3])}),this)}function te(n,e){var t,l=n.element;l.style&&(g(n.options.cssProps,(function(o,i){t=M(l.style,i),e?(n.oldCssProps[t]=l.style[t],l.style[t]=o):l.style[t]=n.oldCssProps[t]||""})),e||(n.oldCssProps={}))}Un.prototype={defaults:{},set:function(n){return u(this.options,n),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(n){if(v(n,"recognizeWith",this))return this;var e=this.simultaneous;return e[(n=Wn(n,this)).id]||(e[n.id]=n,n.recognizeWith(this)),this},dropRecognizeWith:function(n){return v(n,"dropRecognizeWith",this)?this:(n=Wn(n,this),delete this.simultaneous[n.id],this)},requireFailure:function(n){if(v(n,"requireFailure",this))return this;var e=this.requireFail;return-1===D(e,n=Wn(n,this))&&(e.push(n),n.requireFailure(this)),this},dropRequireFailure:function(n){if(v(n,"dropRequireFailure",this))return this;n=Wn(n,this);var e=D(this.requireFail,n);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(n){return!!this.simultaneous[n.id]},emit:function(n){var e=this,t=this.state;function l(t){e.manager.emit(t,n)}t<Vn&&l(e.options.event+zn(t)),l(e.options.event),n.additionalEvent&&l(n.additionalEvent),t>=Vn&&l(e.options.event+zn(t))},tryEmit:function(n){if(this.canEmit())return this.emit(n);this.state=32},canEmit:function(){for(var n=0;n<this.requireFail.length;){if(!(this.requireFail[n].state&(32|qn)))return!1;n++}return!0},recognize:function(n){var e=u({},n);if(!S(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Bn|Hn|32)&&(this.state=qn),this.state=this.process(e),this.state&(Ln|jn|Vn|Hn)&&this.tryEmit(e)},process:function(n){},getTouchAction:function(){},reset:function(){}},C(Zn,Un,{defaults:{pointers:1},attrTest:function(n){var e=this.options.pointers;return 0===e||n.pointers.length===e},process:function(n){var e=this.state,t=n.eventType,l=e&(Ln|jn),o=this.attrTest(n);return l&&(t&U||!o)?e|Hn:l||o?t&H?e|Vn:e&Ln?e|jn:Ln:32}}),C(Kn,Zn,{defaults:{event:"pan",threshold:10,pointers:1,direction:$},getTouchAction:function(){var n=this.options.direction,e=[];return n&X&&e.push("pan-y"),n&Y&&e.push("pan-x"),e},directionTest:function(n){var e=this.options,t=!0,l=n.distance,o=n.direction,i=n.deltaX,r=n.deltaY;return o&e.direction||(e.direction&X?(o=0===i?z:i<0?G:W,t=i!=this.pX,l=Math.abs(n.deltaX)):(o=0===r?z:r<0?Z:K,t=r!=this.pY,l=Math.abs(n.deltaY))),n.direction=o,t&&l>e.threshold&&o&e.direction},attrTest:function(n){return Zn.prototype.attrTest.call(this,n)&&(this.state&Ln||!(this.state&Ln)&&this.directionTest(n))},emit:function(n){this.pX=n.deltaX,this.pY=n.deltaY;var e=Gn(n.direction);e&&(n.additionalEvent=this.options.event+e),this._super.emit.call(this,n)}}),C(Xn,Zn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.scale-1)>this.options.threshold||this.state&Ln)},emit:function(n){1!==n.scale&&(n.additionalEvent=this.options.event+(n.scale<1?"in":"out")),this._super.emit.call(this,n)}}),C(Yn,Un,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(n){var e=this.options,t=n.pointers.length===e.pointers,l=n.distance<e.threshold,o=n.deltaTime>e.time;if(this._input=n,!l||!t||n.eventType&(H|U)&&!o)this.reset();else if(n.eventType&V)this.reset(),this._timer=m((function(){this.state=Bn,this.tryEmit()}),e.time,this);else if(n.eventType&H)return Bn;return 32},reset:function(){clearTimeout(this._timer)},emit:function(n){this.state===Bn&&(n&&n.eventType&H?this.manager.emit(this.options.event+"up",n):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),C($n,Zn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.rotation)>this.options.threshold||this.state&Ln)}}),C(Qn,Zn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|Y,pointers:1},getTouchAction:function(){return Kn.prototype.getTouchAction.call(this)},attrTest:function(n){var e,t=this.options.direction;return t&(X|Y)?e=n.overallVelocity:t&X?e=n.overallVelocityX:t&Y&&(e=n.overallVelocityY),this._super.attrTest.call(this,n)&&t&n.offsetDirection&&n.distance>this.options.threshold&&n.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&n.eventType&H},emit:function(n){var e=Gn(n.offsetDirection);e&&this.manager.emit(this.options.event+e,n),this.manager.emit(this.options.event,n)}}),C(Jn,Un,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(n){var e=this.options,t=n.pointers.length===e.pointers,l=n.distance<e.threshold,o=n.deltaTime<e.time;if(this.reset(),n.eventType&V&&0===this.count)return this.failTimeout();if(l&&o&&t){if(n.eventType!=H)return this.failTimeout();var i=!this.pTime||n.timeStamp-this.pTime<e.interval,r=!this.pCenter||an(this.pCenter,n.center)<e.posThreshold;if(this.pTime=n.timeStamp,this.pCenter=n.center,r&&i?this.count+=1:this.count=1,this._input=n,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m((function(){this.state=Bn,this.tryEmit()}),e.interval,this),Ln):Bn}return 32},failTimeout:function(){return this._timer=m((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Bn&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ne.VERSION="2.0.7",ne.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[$n,{enable:!1}],[Xn,{enable:!1},["rotate"]],[Qn,{direction:X}],[Kn,{direction:X},["swipe"]],[Jn],[Jn,{event:"doubletap",taps:2},["tap"]],[Yn]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},ee.prototype={set:function(n){return u(this.options,n),n.touchAction&&this.touchAction.update(),n.inputTarget&&(this.input.destroy(),this.input.target=n.inputTarget,this.input.init()),this},stop:function(n){this.session.stopped=n?2:1},recognize:function(n){var e=this.session;if(!e.stopped){var t;this.touchAction.preventDefaults(n);var l=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Bn)&&(o=e.curRecognizer=null);for(var i=0;i<l.length;)t=l[i],2===e.stopped||o&&t!=o&&!t.canRecognizeWith(o)?t.reset():t.recognize(n),!o&&t.state&(Ln|jn|Vn)&&(o=e.curRecognizer=t),i++}},get:function(n){if(n instanceof Un)return n;for(var e=this.recognizers,t=0;t<e.length;t++)if(e[t].options.event==n)return e[t];return null},add:function(n){if(v(n,"add",this))return this;var e=this.get(n.options.event);return e&&this.remove(e),this.recognizers.push(n),n.manager=this,this.touchAction.update(),n},remove:function(n){if(v(n,"remove",this))return this;if(n=this.get(n)){var e=this.recognizers,t=D(e,n);-1!==t&&(e.splice(t,1),this.touchAction.update())}return this},on:function(n,e){if(n!==a&&e!==a){var t=this.handlers;return g(I(n),(function(n){t[n]=t[n]||[],t[n].push(e)})),this}},off:function(n,e){if(n!==a){var t=this.handlers;return g(I(n),(function(n){e?t[n]&&t[n].splice(D(t[n],e),1):delete t[n]})),this}},emit:function(n,e){this.options.domEvents&&function(n,e){var t=i.createEvent("Event");t.initEvent(n,!0,!0),t.gesture=e,e.target.dispatchEvent(t)}(n,e);var t=this.handlers[n]&&this.handlers[n].slice();if(t&&t.length){e.type=n,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var l=0;l<t.length;)t[l](e),l++}},destroy:function(){this.element&&te(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(ne,{INPUT_START:V,INPUT_MOVE:B,INPUT_END:H,INPUT_CANCEL:U,STATE_POSSIBLE:qn,STATE_BEGAN:Ln,STATE_CHANGED:jn,STATE_ENDED:Vn,STATE_RECOGNIZED:Bn,STATE_CANCELLED:Hn,STATE_FAILED:32,DIRECTION_NONE:z,DIRECTION_LEFT:G,DIRECTION_RIGHT:W,DIRECTION_UP:Z,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:Y,DIRECTION_ALL:$,Manager:ee,Input:nn,TouchAction:Pn,TouchInput:kn,MouseInput:pn,PointerEventInput:gn,TouchMouseInput:In,SingleTouchInput:Cn,Recognizer:Un,AttrRecognizer:Zn,Tap:Jn,Pan:Kn,Swipe:Qn,Pinch:Xn,Rotate:$n,Press:Yn,on:k,off:E,each:g,merge:y,extend:_,assign:u,inherit:C,bindFn:w,prefixed:M}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=ne,(l=(function(){return ne}).call(e,t,e,n))===a||(n.exports=l)}(window,document)},yTw5:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,i=l.LeftCurlyBracket;function r(n){return this.Raw(n,o.leftCurlyBracket,!0)}function a(){var n=this.SelectorList();return"Raw"!==n.type&&!1===this.scanner.eof&&this.scanner.tokenType!==i&&this.error(),n}n.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var n,e,t=this.scanner.tokenIndex,l=this.scanner.tokenStart;return n=this.parseRulePrelude?this.parseWithFallback(a,r):r.call(this,t),e=this.Block(!0),{type:"Rule",loc:this.getLocation(l,this.scanner.tokenStart),prelude:n,block:e}},generate:function(n){this.node(n.prelude),this.node(n.block)},walkContext:"rule"}},yccp:function(n,e,t){"use strict";var l=this&&this.__decorate||function(n,e,t,l){var o,i=arguments.length,r=i<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(r=(i<3?o(r):i>3?o(e,t,r):o(e,t))||r);return i>3&&r&&Object.defineProperty(e,t,r),r};function o(n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}Object.defineProperty(e,"__esModule",{value:!0});var i=t("CcnG"),r=t("Ip0R"),a=t("CBFY"),u=t("XtUT"),s=t("+ryv"),d=t("oVTH");o(t("XtUT")),o(t("M+vq")),o(t("+ryv")),o(t("CBFY")),o(t("oVTH"));var c=function(){function n(){}var e;return e=n,n.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[d.HotkeysService,{provide:s.HotkeyOptions,useValue:n}]}},e=l([i.NgModule({imports:[r.CommonModule],exports:[a.HotkeysDirective,u.CheatSheetComponent],declarations:[a.HotkeysDirective,u.CheatSheetComponent]})],n)}();e.HotkeyModule=c},zAZS:function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("mrSG"),o=t("FFOo");function i(n,e){return function(t){return t.lift(new r(n,e,t))}}var r=function(){function n(n,e,t){this.predicate=n,this.thisArg=e,this.source=t}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.thisArg,this.source))},n}(),a=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i.predicate=t,i.thisArg=l,i.source=o,i.index=0,i.thisArg=l||i,i}return l.c(e,n),e.prototype.notifyComplete=function(n){this.destination.next(n),this.destination.complete()},e.prototype._next=function(n){var e=!1;try{e=this.predicate.call(this.thisArg,n,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.a)},zQHH:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("15JJ");function o(n,e){return e?Object(l.a)((function(){return n}),e):Object(l.a)((function(){return n}))}},zUnb:function(n,e,t){"use strict";t.r(e);var l={};t.r(l),t.d(l,"dispatch",(function(){return $O})),t.d(l,"drag",(function(){return uM})),t.d(l,"dragDisable",(function(){return nM})),t.d(l,"dragEnable",(function(){return eM})),t.d(l,"interpolate",(function(){return SA})),t.d(l,"interpolateArray",(function(){return vA})),t.d(l,"interpolateBasis",(function(){return tA})),t.d(l,"interpolateBasisClosed",(function(){return lA})),t.d(l,"interpolateDate",(function(){return gA})),t.d(l,"interpolateNumber",(function(){return bA})),t.d(l,"interpolateObject",(function(){return _A})),t.d(l,"interpolateRound",(function(){return xA})),t.d(l,"interpolateString",(function(){return wA})),t.d(l,"interpolateTransformCss",(function(){return IA})),t.d(l,"interpolateTransformSvg",(function(){return DA})),t.d(l,"interpolateZoom",(function(){return MA})),t.d(l,"interpolateRgb",(function(){return uA})),t.d(l,"interpolateRgbBasis",(function(){return hA})),t.d(l,"interpolateRgbBasisClosed",(function(){return mA})),t.d(l,"interpolateHsl",(function(){return AA})),t.d(l,"interpolateHslLong",(function(){return PA})),t.d(l,"interpolateLab",(function(){return qA})),t.d(l,"interpolateHcl",(function(){return jA})),t.d(l,"interpolateHclLong",(function(){return VA})),t.d(l,"interpolateCubehelix",(function(){return zA})),t.d(l,"interpolateCubehelixLong",(function(){return GA})),t.d(l,"quantize",(function(){return WA})),t.d(l,"path",(function(){return Oq})),t.d(l,"create",(function(){return eO})),t.d(l,"creator",(function(){return zD})),t.d(l,"local",(function(){return lO})),t.d(l,"matcher",(function(){return QD})),t.d(l,"mouse",(function(){return aO})),t.d(l,"namespace",(function(){return BD})),t.d(l,"namespaces",(function(){return VD})),t.d(l,"clientPoint",(function(){return rO})),t.d(l,"select",(function(){return nO})),t.d(l,"selectAll",(function(){return uO})),t.d(l,"selection",(function(){return JF})),t.d(l,"selector",(function(){return WD})),t.d(l,"selectorAll",(function(){return KD})),t.d(l,"style",(function(){return mF})),t.d(l,"touch",(function(){return sO})),t.d(l,"touches",(function(){return dO})),t.d(l,"window",(function(){return cF})),t.d(l,"event",(function(){return VF})),t.d(l,"customEvent",(function(){return WF})),t.d(l,"arc",(function(){return sU})),t.d(l,"area",(function(){return mU})),t.d(l,"line",(function(){return hU})),t.d(l,"pie",(function(){return bU})),t.d(l,"areaRadial",(function(){return xU})),t.d(l,"radialArea",(function(){return xU})),t.d(l,"lineRadial",(function(){return SU})),t.d(l,"radialLine",(function(){return SU})),t.d(l,"pointRadial",(function(){return kU})),t.d(l,"linkHorizontal",(function(){return MU})),t.d(l,"linkVertical",(function(){return NU})),t.d(l,"linkRadial",(function(){return AU})),t.d(l,"symbol",(function(){return JU})),t.d(l,"symbols",(function(){return QU})),t.d(l,"symbolCircle",(function(){return PU})),t.d(l,"symbolCross",(function(){return qU})),t.d(l,"symbolDiamond",(function(){return VU})),t.d(l,"symbolSquare",(function(){return GU})),t.d(l,"symbolStar",(function(){return zU})),t.d(l,"symbolTriangle",(function(){return ZU})),t.d(l,"symbolWye",(function(){return $U})),t.d(l,"curveBasisClosed",(function(){return iz})),t.d(l,"curveBasisOpen",(function(){return az})),t.d(l,"curveBasis",(function(){return lz})),t.d(l,"curveBundle",(function(){return sz})),t.d(l,"curveCardinalClosed",(function(){return hz})),t.d(l,"curveCardinalOpen",(function(){return vz})),t.d(l,"curveCardinal",(function(){return pz})),t.d(l,"curveCatmullRomClosed",(function(){return Cz})),t.d(l,"curveCatmullRomOpen",(function(){return Sz})),t.d(l,"curveCatmullRom",(function(){return _z})),t.d(l,"curveLinearClosed",(function(){return kz})),t.d(l,"curveLinear",(function(){return cU})),t.d(l,"curveMonotoneX",(function(){return Mz})),t.d(l,"curveMonotoneY",(function(){return Nz})),t.d(l,"curveNatural",(function(){return qz})),t.d(l,"curveStep",(function(){return jz})),t.d(l,"curveStepAfter",(function(){return Bz})),t.d(l,"curveStepBefore",(function(){return Vz})),t.d(l,"stack",(function(){return Gz})),t.d(l,"stackOffsetExpand",(function(){return Wz})),t.d(l,"stackOffsetDiverging",(function(){return Zz})),t.d(l,"stackOffsetNone",(function(){return Hz})),t.d(l,"stackOffsetSilhouette",(function(){return Kz})),t.d(l,"stackOffsetWiggle",(function(){return Xz})),t.d(l,"stackOrderAscending",(function(){return Yz})),t.d(l,"stackOrderDescending",(function(){return Qz})),t.d(l,"stackOrderInsideOut",(function(){return Jz})),t.d(l,"stackOrderNone",(function(){return Uz})),t.d(l,"stackOrderReverse",(function(){return nG})),t.d(l,"transition",(function(){return WP})),t.d(l,"active",(function(){return QP})),t.d(l,"interrupt",(function(){return SP})),t.d(l,"zoom",(function(){return pq})),t.d(l,"zoomTransform",(function(){return lq})),t.d(l,"zoomIdentity",(function(){return tq})),t.d(l,"bisect",(function(){return M1})),t.d(l,"bisectRight",(function(){return F1})),t.d(l,"bisectLeft",(function(){return O1})),t.d(l,"ascending",(function(){return R1})),t.d(l,"bisector",(function(){return I1})),t.d(l,"cross",(function(){return P1})),t.d(l,"descending",(function(){return q1})),t.d(l,"deviation",(function(){return V1})),t.d(l,"extent",(function(){return B1})),t.d(l,"histogram",(function(){return e2})),t.d(l,"thresholdFreedmanDiaconis",(function(){return l2})),t.d(l,"thresholdScott",(function(){return o2})),t.d(l,"thresholdSturges",(function(){return n2})),t.d(l,"max",(function(){return i2})),t.d(l,"mean",(function(){return r2})),t.d(l,"median",(function(){return a2})),t.d(l,"merge",(function(){return u2})),t.d(l,"min",(function(){return s2})),t.d(l,"pairs",(function(){return N1})),t.d(l,"permute",(function(){return d2})),t.d(l,"quantile",(function(){return t2})),t.d(l,"range",(function(){return Z1})),t.d(l,"scan",(function(){return c2})),t.d(l,"shuffle",(function(){return p2})),t.d(l,"sum",(function(){return f2})),t.d(l,"ticks",(function(){return $1})),t.d(l,"tickIncrement",(function(){return Q1})),t.d(l,"tickStep",(function(){return J1})),t.d(l,"transpose",(function(){return h2})),t.d(l,"variance",(function(){return j1})),t.d(l,"zip",(function(){return v2})),t.d(l,"axisTop",(function(){return D2})),t.d(l,"axisRight",(function(){return F2})),t.d(l,"axisBottom",(function(){return O2})),t.d(l,"axisLeft",(function(){return M2})),t.d(l,"brush",(function(){return o7})),t.d(l,"brushX",(function(){return t7})),t.d(l,"brushY",(function(){return l7})),t.d(l,"brushSelection",(function(){return e7})),t.d(l,"chord",(function(){return f7})),t.d(l,"ribbon",(function(){return C7})),t.d(l,"nest",(function(){return k7})),t.d(l,"set",(function(){return M7})),t.d(l,"map",(function(){return x7})),t.d(l,"keys",(function(){return N7})),t.d(l,"values",(function(){return A7})),t.d(l,"entries",(function(){return P7})),t.d(l,"color",(function(){return _N})),t.d(l,"rgb",(function(){return SN})),t.d(l,"hsl",(function(){return EN})),t.d(l,"lab",(function(){return jN})),t.d(l,"hcl",(function(){return GN})),t.d(l,"cubehelix",(function(){return JN})),t.d(l,"contours",(function(){return W7})),t.d(l,"contourDensity",(function(){return $7})),t.d(l,"dsvFormat",(function(){return o6})),t.d(l,"csvParse",(function(){return r6})),t.d(l,"csvParseRows",(function(){return a6})),t.d(l,"csvFormat",(function(){return u6})),t.d(l,"csvFormatRows",(function(){return s6})),t.d(l,"tsvParse",(function(){return c6})),t.d(l,"tsvParseRows",(function(){return p6})),t.d(l,"tsvFormat",(function(){return f6})),t.d(l,"tsvFormatRows",(function(){return h6})),t.d(l,"easeLinear",(function(){return m6})),t.d(l,"easeQuad",(function(){return b6})),t.d(l,"easeQuadIn",(function(){return v6})),t.d(l,"easeQuadOut",(function(){return g6})),t.d(l,"easeQuadInOut",(function(){return b6})),t.d(l,"easeCubic",(function(){return C6})),t.d(l,"easeCubicIn",(function(){return _6})),t.d(l,"easeCubicOut",(function(){return y6})),t.d(l,"easeCubicInOut",(function(){return C6})),t.d(l,"easePoly",(function(){return x6})),t.d(l,"easePolyIn",(function(){return w6})),t.d(l,"easePolyOut",(function(){return S6})),t.d(l,"easePolyInOut",(function(){return x6})),t.d(l,"easeSin",(function(){return I6})),t.d(l,"easeSinIn",(function(){return T6})),t.d(l,"easeSinOut",(function(){return R6})),t.d(l,"easeSinInOut",(function(){return I6})),t.d(l,"easeExp",(function(){return O6})),t.d(l,"easeExpIn",(function(){return D6})),t.d(l,"easeExpOut",(function(){return F6})),t.d(l,"easeExpInOut",(function(){return O6})),t.d(l,"easeCircle",(function(){return A6})),t.d(l,"easeCircleIn",(function(){return M6})),t.d(l,"easeCircleOut",(function(){return N6})),t.d(l,"easeCircleInOut",(function(){return A6})),t.d(l,"easeBounce",(function(){return Z6})),t.d(l,"easeBounceIn",(function(){return W6})),t.d(l,"easeBounceOut",(function(){return Z6})),t.d(l,"easeBounceInOut",(function(){return K6})),t.d(l,"easeBack",(function(){return $6})),t.d(l,"easeBackIn",(function(){return X6})),t.d(l,"easeBackOut",(function(){return Y6})),t.d(l,"easeBackInOut",(function(){return $6})),t.d(l,"easeElastic",(function(){return n3})),t.d(l,"easeElasticIn",(function(){return J6})),t.d(l,"easeElasticOut",(function(){return n3})),t.d(l,"easeElasticInOut",(function(){return e3})),t.d(l,"forceCenter",(function(){return t3})),t.d(l,"forceCollide",(function(){return m3})),t.d(l,"forceLink",(function(){return b3})),t.d(l,"forceManyBody",(function(){return k3})),t.d(l,"forceRadial",(function(){return E3})),t.d(l,"forceSimulation",(function(){return x3})),t.d(l,"forceX",(function(){return T3})),t.d(l,"forceY",(function(){return R3})),t.d(l,"formatDefaultLocale",(function(){return H3})),t.d(l,"format",(function(){return q3})),t.d(l,"formatPrefix",(function(){return L3})),t.d(l,"formatLocale",(function(){return B3})),t.d(l,"formatSpecifier",(function(){return N3})),t.d(l,"precisionFixed",(function(){return U3})),t.d(l,"precisionPrefix",(function(){return z3})),t.d(l,"precisionRound",(function(){return G3})),t.d(l,"geoArea",(function(){return q4})),t.d(l,"geoBounds",(function(){return I8})),t.d(l,"geoCentroid",(function(){return B8})),t.d(l,"geoCircle",(function(){return Q8})),t.d(l,"geoClipAntimeridian",(function(){return s9})),t.d(l,"geoClipCircle",(function(){return d9})),t.d(l,"geoClipExtent",(function(){return b9})),t.d(l,"geoClipRectangle",(function(){return h9})),t.d(l,"geoContains",(function(){return P9})),t.d(l,"geoDistance",(function(){return T9})),t.d(l,"geoGraticule",(function(){return j9})),t.d(l,"geoGraticule10",(function(){return V9})),t.d(l,"geoInterpolate",(function(){return G9})),t.d(l,"geoLength",(function(){return x9})),t.d(l,"geoPath",(function(){return U5})),t.d(l,"geoAlbers",(function(){return snn})),t.d(l,"geoAlbersUsa",(function(){return dnn})),t.d(l,"geoAzimuthalEqualArea",(function(){return hnn})),t.d(l,"geoAzimuthalEqualAreaRaw",(function(){return fnn})),t.d(l,"geoAzimuthalEquidistant",(function(){return vnn})),t.d(l,"geoAzimuthalEquidistantRaw",(function(){return mnn})),t.d(l,"geoConicConformal",(function(){return wnn})),t.d(l,"geoConicConformalRaw",(function(){return Cnn})),t.d(l,"geoConicEqualArea",(function(){return unn})),t.d(l,"geoConicEqualAreaRaw",(function(){return ann})),t.d(l,"geoConicEquidistant",(function(){return Enn})),t.d(l,"geoConicEquidistantRaw",(function(){return knn})),t.d(l,"geoEquirectangular",(function(){return xnn})),t.d(l,"geoEquirectangularRaw",(function(){return Snn})),t.d(l,"geoGnomonic",(function(){return Rnn})),t.d(l,"geoGnomonicRaw",(function(){return Tnn})),t.d(l,"geoIdentity",(function(){return Dnn})),t.d(l,"geoProjection",(function(){return onn})),t.d(l,"geoProjectionMutator",(function(){return inn})),t.d(l,"geoMercator",(function(){return bnn})),t.d(l,"geoMercatorRaw",(function(){return gnn})),t.d(l,"geoNaturalEarth1",(function(){return Onn})),t.d(l,"geoNaturalEarth1Raw",(function(){return Fnn})),t.d(l,"geoOrthographic",(function(){return Nnn})),t.d(l,"geoOrthographicRaw",(function(){return Mnn})),t.d(l,"geoStereographic",(function(){return Pnn})),t.d(l,"geoStereographicRaw",(function(){return Ann})),t.d(l,"geoTransverseMercator",(function(){return Lnn})),t.d(l,"geoTransverseMercatorRaw",(function(){return qnn})),t.d(l,"geoRotation",(function(){return X8})),t.d(l,"geoStream",(function(){return I4})),t.d(l,"geoTransform",(function(){return z5})),t.d(l,"cluster",(function(){return Hnn})),t.d(l,"hierarchy",(function(){return znn})),t.d(l,"pack",(function(){return men})),t.d(l,"packSiblings",(function(){return sen})),t.d(l,"packEnclose",(function(){return Ynn})),t.d(l,"partition",(function(){return Cen})),t.d(l,"stratify",(function(){return Ten})),t.d(l,"tree",(function(){return Nen})),t.d(l,"treemap",(function(){return jen})),t.d(l,"treemapBinary",(function(){return Ven})),t.d(l,"treemapDice",(function(){return yen})),t.d(l,"treemapSlice",(function(){return Aen})),t.d(l,"treemapSliceDice",(function(){return Ben})),t.d(l,"treemapSquarify",(function(){return Len})),t.d(l,"treemapResquarify",(function(){return Hen})),t.d(l,"polygonArea",(function(){return Uen})),t.d(l,"polygonCentroid",(function(){return zen})),t.d(l,"polygonHull",(function(){return Ken})),t.d(l,"polygonContains",(function(){return Xen})),t.d(l,"polygonLength",(function(){return Yen})),t.d(l,"quadtree",(function(){return s3})),t.d(l,"randomUniform",(function(){return Qen})),t.d(l,"randomNormal",(function(){return Jen})),t.d(l,"randomLogNormal",(function(){return ntn})),t.d(l,"randomBates",(function(){return ttn})),t.d(l,"randomIrwinHall",(function(){return etn})),t.d(l,"randomExponential",(function(){return ltn})),t.d(l,"scaleBand",(function(){return stn})),t.d(l,"scalePoint",(function(){return dtn})),t.d(l,"scaleIdentity",(function(){return wtn})),t.d(l,"scaleLinear",(function(){return Ctn})),t.d(l,"scaleLog",(function(){return Dtn})),t.d(l,"scaleOrdinal",(function(){return utn})),t.d(l,"scaleImplicit",(function(){return atn})),t.d(l,"scalePow",(function(){return Otn})),t.d(l,"scaleSqrt",(function(){return Mtn})),t.d(l,"scaleQuantile",(function(){return Ntn})),t.d(l,"scaleQuantize",(function(){return Atn})),t.d(l,"scaleThreshold",(function(){return Ptn})),t.d(l,"scaleTime",(function(){return Oin})),t.d(l,"scaleUtc",(function(){return Min})),t.d(l,"scaleSequential",(function(){return Nin})),t.d(l,"schemeCategory10",(function(){return Pin})),t.d(l,"schemeAccent",(function(){return qin})),t.d(l,"schemeDark2",(function(){return Lin})),t.d(l,"schemePaired",(function(){return jin})),t.d(l,"schemePastel1",(function(){return Vin})),t.d(l,"schemePastel2",(function(){return Bin})),t.d(l,"schemeSet1",(function(){return Hin})),t.d(l,"schemeSet2",(function(){return Uin})),t.d(l,"schemeSet3",(function(){return zin})),t.d(l,"interpolateBrBG",(function(){return Zin})),t.d(l,"schemeBrBG",(function(){return Win})),t.d(l,"interpolatePRGn",(function(){return Xin})),t.d(l,"schemePRGn",(function(){return Kin})),t.d(l,"interpolatePiYG",(function(){return $in})),t.d(l,"schemePiYG",(function(){return Yin})),t.d(l,"interpolatePuOr",(function(){return Jin})),t.d(l,"schemePuOr",(function(){return Qin})),t.d(l,"interpolateRdBu",(function(){return ern})),t.d(l,"schemeRdBu",(function(){return nrn})),t.d(l,"interpolateRdGy",(function(){return lrn})),t.d(l,"schemeRdGy",(function(){return trn})),t.d(l,"interpolateRdYlBu",(function(){return irn})),t.d(l,"schemeRdYlBu",(function(){return orn})),t.d(l,"interpolateRdYlGn",(function(){return arn})),t.d(l,"schemeRdYlGn",(function(){return rrn})),t.d(l,"interpolateSpectral",(function(){return srn})),t.d(l,"schemeSpectral",(function(){return urn})),t.d(l,"interpolateBuGn",(function(){return crn})),t.d(l,"schemeBuGn",(function(){return drn})),t.d(l,"interpolateBuPu",(function(){return frn})),t.d(l,"schemeBuPu",(function(){return prn})),t.d(l,"interpolateGnBu",(function(){return mrn})),t.d(l,"schemeGnBu",(function(){return hrn})),t.d(l,"interpolateOrRd",(function(){return grn})),t.d(l,"schemeOrRd",(function(){return vrn})),t.d(l,"interpolatePuBuGn",(function(){return _rn})),t.d(l,"schemePuBuGn",(function(){return brn})),t.d(l,"interpolatePuBu",(function(){return Crn})),t.d(l,"schemePuBu",(function(){return yrn})),t.d(l,"interpolatePuRd",(function(){return Srn})),t.d(l,"schemePuRd",(function(){return wrn})),t.d(l,"interpolateRdPu",(function(){return krn})),t.d(l,"schemeRdPu",(function(){return xrn})),t.d(l,"interpolateYlGnBu",(function(){return Trn})),t.d(l,"schemeYlGnBu",(function(){return Ern})),t.d(l,"interpolateYlGn",(function(){return Irn})),t.d(l,"schemeYlGn",(function(){return Rrn})),t.d(l,"interpolateYlOrBr",(function(){return Frn})),t.d(l,"schemeYlOrBr",(function(){return Drn})),t.d(l,"interpolateYlOrRd",(function(){return Mrn})),t.d(l,"schemeYlOrRd",(function(){return Orn})),t.d(l,"interpolateBlues",(function(){return Arn})),t.d(l,"schemeBlues",(function(){return Nrn})),t.d(l,"interpolateGreens",(function(){return qrn})),t.d(l,"schemeGreens",(function(){return Prn})),t.d(l,"interpolateGreys",(function(){return jrn})),t.d(l,"schemeGreys",(function(){return Lrn})),t.d(l,"interpolatePurples",(function(){return Brn})),t.d(l,"schemePurples",(function(){return Vrn})),t.d(l,"interpolateReds",(function(){return Urn})),t.d(l,"schemeReds",(function(){return Hrn})),t.d(l,"interpolateOranges",(function(){return Grn})),t.d(l,"schemeOranges",(function(){return zrn})),t.d(l,"interpolateCubehelixDefault",(function(){return Wrn})),t.d(l,"interpolateRainbow",(function(){return Yrn})),t.d(l,"interpolateWarm",(function(){return Zrn})),t.d(l,"interpolateCool",(function(){return Krn})),t.d(l,"interpolateViridis",(function(){return Qrn})),t.d(l,"interpolateMagma",(function(){return Jrn})),t.d(l,"interpolateInferno",(function(){return nan})),t.d(l,"interpolatePlasma",(function(){return ean})),t.d(l,"timeInterval",(function(){return jtn})),t.d(l,"timeMillisecond",(function(){return Btn})),t.d(l,"timeMilliseconds",(function(){return Htn})),t.d(l,"utcMillisecond",(function(){return Btn})),t.d(l,"utcMilliseconds",(function(){return Htn})),t.d(l,"timeSecond",(function(){return Wtn})),t.d(l,"timeSeconds",(function(){return Ztn})),t.d(l,"utcSecond",(function(){return Wtn})),t.d(l,"utcSeconds",(function(){return Ztn})),t.d(l,"timeMinute",(function(){return Xtn})),t.d(l,"timeMinutes",(function(){return Ytn})),t.d(l,"timeHour",(function(){return Qtn})),t.d(l,"timeHours",(function(){return Jtn})),t.d(l,"timeDay",(function(){return eln})),t.d(l,"timeDays",(function(){return tln})),t.d(l,"timeWeek",(function(){return oln})),t.d(l,"timeWeeks",(function(){return cln})),t.d(l,"timeSunday",(function(){return oln})),t.d(l,"timeSundays",(function(){return cln})),t.d(l,"timeMonday",(function(){return iln})),t.d(l,"timeMondays",(function(){return pln})),t.d(l,"timeTuesday",(function(){return rln})),t.d(l,"timeTuesdays",(function(){return fln})),t.d(l,"timeWednesday",(function(){return aln})),t.d(l,"timeWednesdays",(function(){return hln})),t.d(l,"timeThursday",(function(){return uln})),t.d(l,"timeThursdays",(function(){return mln})),t.d(l,"timeFriday",(function(){return sln})),t.d(l,"timeFridays",(function(){return vln})),t.d(l,"timeSaturday",(function(){return dln})),t.d(l,"timeSaturdays",(function(){return gln})),t.d(l,"timeMonth",(function(){return _ln})),t.d(l,"timeMonths",(function(){return yln})),t.d(l,"timeYear",(function(){return wln})),t.d(l,"timeYears",(function(){return Sln})),t.d(l,"utcMinute",(function(){return kln})),t.d(l,"utcMinutes",(function(){return Eln})),t.d(l,"utcHour",(function(){return Rln})),t.d(l,"utcHours",(function(){return Iln})),t.d(l,"utcDay",(function(){return Fln})),t.d(l,"utcDays",(function(){return Oln})),t.d(l,"utcWeek",(function(){return Nln})),t.d(l,"utcWeeks",(function(){return Bln})),t.d(l,"utcSunday",(function(){return Nln})),t.d(l,"utcSundays",(function(){return Bln})),t.d(l,"utcMonday",(function(){return Aln})),t.d(l,"utcMondays",(function(){return Hln})),t.d(l,"utcTuesday",(function(){return Pln})),t.d(l,"utcTuesdays",(function(){return Uln})),t.d(l,"utcWednesday",(function(){return qln})),t.d(l,"utcWednesdays",(function(){return zln})),t.d(l,"utcThursday",(function(){return Lln})),t.d(l,"utcThursdays",(function(){return Gln})),t.d(l,"utcFriday",(function(){return jln})),t.d(l,"utcFridays",(function(){return Wln})),t.d(l,"utcSaturday",(function(){return Vln})),t.d(l,"utcSaturdays",(function(){return Zln})),t.d(l,"utcMonth",(function(){return Xln})),t.d(l,"utcMonths",(function(){return Yln})),t.d(l,"utcYear",(function(){return Qln})),t.d(l,"utcYears",(function(){return Jln})),t.d(l,"timeFormatDefaultLocale",(function(){return _in})),t.d(l,"timeFormat",(function(){return ion})),t.d(l,"timeParse",(function(){return ron})),t.d(l,"utcFormat",(function(){return aon})),t.d(l,"utcParse",(function(){return uon})),t.d(l,"timeFormatLocale",(function(){return lon})),t.d(l,"isoFormat",(function(){return yin})),t.d(l,"isoParse",(function(){return Cin})),t.d(l,"now",(function(){return San})),t.d(l,"timer",(function(){return Ean})),t.d(l,"timerFlush",(function(){return Tan})),t.d(l,"timeout",(function(){return Fan})),t.d(l,"interval",(function(){return Oan})),t.d(l,"voronoi",(function(){return gun})),t("yLV6");var o=t("CcnG"),i=t("mrSG"),r=t("Ip0R"),a=null;function u(){return a}var s,d=function(n){function e(){var e=n.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var t=e.createElement("div",document);if(null!=e.getStyle(t,"animationName"))e._animationPrefix="";else for(var l=["Webkit","Moz","O","ms"],o=0;o<l.length;o++)if(null!=e.getStyle(t,l[o]+"AnimationName")){e._animationPrefix="-"+l[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach((function(n){null!=e.getStyle(t,n)&&(e._transitionEnd=i[n])}))}catch(r){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(i.c)(e,n),e.prototype.getDistributedNodes=function(n){return n.getDistributedNodes()},e.prototype.resolveAndSetHref=function(n,e,t){n.href=null==t?e:e+"/../"+t},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}(function(){function n(){this.resourceLoaderType=null}return Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(n){this._attrToPropMap=n},enumerable:!0,configurable:!0}),n}()),c={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},p={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},f={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"},h=function(){if(o["ɵglobal"].Node)return o["ɵglobal"].Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))}}(),m=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.parse=function(n){throw new Error("parse not implemented")},e.makeCurrent=function(){var n;n=new e,a||(a=n)},e.prototype.hasProperty=function(n,e){return e in n},e.prototype.setProperty=function(n,e,t){n[e]=t},e.prototype.getProperty=function(n,e){return n[e]},e.prototype.invoke=function(n,e,t){var l;(l=n)[e].apply(l,Object(i.f)(t))},e.prototype.logError=function(n){window.console&&(console.error?console.error(n):console.log(n))},e.prototype.log=function(n){window.console&&window.console.log&&window.console.log(n)},e.prototype.logGroup=function(n){window.console&&window.console.group&&window.console.group(n)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return c},enumerable:!0,configurable:!0}),e.prototype.contains=function(n,e){return h.call(n,e)},e.prototype.querySelector=function(n,e){return n.querySelector(e)},e.prototype.querySelectorAll=function(n,e){return n.querySelectorAll(e)},e.prototype.on=function(n,e,t){n.addEventListener(e,t,!1)},e.prototype.onAndCancel=function(n,e,t){return n.addEventListener(e,t,!1),function(){n.removeEventListener(e,t,!1)}},e.prototype.dispatchEvent=function(n,e){n.dispatchEvent(e)},e.prototype.createMouseEvent=function(n){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(n,!0,!0),e},e.prototype.createEvent=function(n){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(n,!0,!0),e},e.prototype.preventDefault=function(n){n.preventDefault(),n.returnValue=!1},e.prototype.isPrevented=function(n){return n.defaultPrevented||null!=n.returnValue&&!n.returnValue},e.prototype.getInnerHTML=function(n){return n.innerHTML},e.prototype.getTemplateContent=function(n){return"content"in n&&this.isTemplateElement(n)?n.content:null},e.prototype.getOuterHTML=function(n){return n.outerHTML},e.prototype.nodeName=function(n){return n.nodeName},e.prototype.nodeValue=function(n){return n.nodeValue},e.prototype.type=function(n){return n.type},e.prototype.content=function(n){return this.hasProperty(n,"content")?n.content:n},e.prototype.firstChild=function(n){return n.firstChild},e.prototype.nextSibling=function(n){return n.nextSibling},e.prototype.parentElement=function(n){return n.parentNode},e.prototype.childNodes=function(n){return n.childNodes},e.prototype.childNodesAsList=function(n){for(var e=n.childNodes,t=new Array(e.length),l=0;l<e.length;l++)t[l]=e[l];return t},e.prototype.clearNodes=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)},e.prototype.appendChild=function(n,e){n.appendChild(e)},e.prototype.removeChild=function(n,e){n.removeChild(e)},e.prototype.replaceChild=function(n,e,t){n.replaceChild(e,t)},e.prototype.remove=function(n){return n.parentNode&&n.parentNode.removeChild(n),n},e.prototype.insertBefore=function(n,e,t){n.insertBefore(t,e)},e.prototype.insertAllBefore=function(n,e,t){t.forEach((function(t){return n.insertBefore(t,e)}))},e.prototype.insertAfter=function(n,e,t){n.insertBefore(t,e.nextSibling)},e.prototype.setInnerHTML=function(n,e){n.innerHTML=e},e.prototype.getText=function(n){return n.textContent},e.prototype.setText=function(n,e){n.textContent=e},e.prototype.getValue=function(n){return n.value},e.prototype.setValue=function(n,e){n.value=e},e.prototype.getChecked=function(n){return n.checked},e.prototype.setChecked=function(n,e){n.checked=e},e.prototype.createComment=function(n){return this.getDefaultDocument().createComment(n)},e.prototype.createTemplate=function(n){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=n,e},e.prototype.createElement=function(n,e){return(e=e||this.getDefaultDocument()).createElement(n)},e.prototype.createElementNS=function(n,e,t){return(t=t||this.getDefaultDocument()).createElementNS(n,e)},e.prototype.createTextNode=function(n,e){return(e=e||this.getDefaultDocument()).createTextNode(n)},e.prototype.createScriptTag=function(n,e,t){var l=(t=t||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(n,e),l},e.prototype.createStyleElement=function(n,e){var t=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(t,this.createTextNode(n,e)),t},e.prototype.createShadowRoot=function(n){return n.createShadowRoot()},e.prototype.getShadowRoot=function(n){return n.shadowRoot},e.prototype.getHost=function(n){return n.host},e.prototype.clone=function(n){return n.cloneNode(!0)},e.prototype.getElementsByClassName=function(n,e){return n.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(n,e){return n.getElementsByTagName(e)},e.prototype.classList=function(n){return Array.prototype.slice.call(n.classList,0)},e.prototype.addClass=function(n,e){n.classList.add(e)},e.prototype.removeClass=function(n,e){n.classList.remove(e)},e.prototype.hasClass=function(n,e){return n.classList.contains(e)},e.prototype.setStyle=function(n,e,t){n.style[e]=t},e.prototype.removeStyle=function(n,e){n.style[e]=""},e.prototype.getStyle=function(n,e){return n.style[e]},e.prototype.hasStyle=function(n,e,t){var l=this.getStyle(n,e)||"";return t?l==t:l.length>0},e.prototype.tagName=function(n){return n.tagName},e.prototype.attributeMap=function(n){for(var e=new Map,t=n.attributes,l=0;l<t.length;l++){var o=t.item(l);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(n,e){return n.hasAttribute(e)},e.prototype.hasAttributeNS=function(n,e,t){return n.hasAttributeNS(e,t)},e.prototype.getAttribute=function(n,e){return n.getAttribute(e)},e.prototype.getAttributeNS=function(n,e,t){return n.getAttributeNS(e,t)},e.prototype.setAttribute=function(n,e,t){n.setAttribute(e,t)},e.prototype.setAttributeNS=function(n,e,t,l){n.setAttributeNS(e,t,l)},e.prototype.removeAttribute=function(n,e){n.removeAttribute(e)},e.prototype.removeAttributeNS=function(n,e,t){n.removeAttributeNS(e,t)},e.prototype.templateAwareRoot=function(n){return this.isTemplateElement(n)?this.content(n):n},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(n){try{return n.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(n){return n.title},e.prototype.setTitle=function(n,e){n.title=e||""},e.prototype.elementMatches=function(n,e){return!!this.isElementNode(n)&&(n.matches&&n.matches(e)||n.msMatchesSelector&&n.msMatchesSelector(e)||n.webkitMatchesSelector&&n.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(n){return this.isElementNode(n)&&"TEMPLATE"===n.nodeName},e.prototype.isTextNode=function(n){return n.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(n){return n.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(n){return n.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(n){return null!=n.shadowRoot&&n instanceof HTMLElement},e.prototype.isShadowRoot=function(n){return n instanceof DocumentFragment},e.prototype.importIntoDoc=function(n){return document.importNode(this.templateAwareRoot(n),!0)},e.prototype.adoptNode=function(n){return document.adoptNode(n)},e.prototype.getHref=function(n){return n.getAttribute("href")},e.prototype.getEventKey=function(n){var e=n.key;if(null==e){if(null==(e=n.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&f.hasOwnProperty(e)&&(e=f[e]))}return p[e]||e},e.prototype.getGlobalEventTarget=function(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(n){var e,t=v||(v=document.querySelector("base"))?v.getAttribute("href"):null;return null==t?null:(e=t,s||(s=document.createElement("a")),s.setAttribute("href",e),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname)},e.prototype.resetBaseElement=function(){v=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(n,e,t){this.setAttribute(n,"data-"+e,t)},e.prototype.getData=function(n,e){return this.getAttribute(n,"data-"+e)},e.prototype.getComputedStyle=function(n){return getComputedStyle(n)},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(n){return Object(r["ɵparseCookieValue"])(document.cookie,n)},e.prototype.setCookie=function(n,e){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(e)},e}(d),v=null;function g(){return!!window.history.pushState}var b=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._init(),t}return Object(i.c)(e,n),e.prototype._init=function(){this.location=u().getLocation(),this._history=u().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return u().getBaseHref(this._doc)},e.prototype.onPopState=function(n){u().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",n,!1)},e.prototype.onHashChange=function(n){u().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",n,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(n){this.location.pathname=n},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(n,e,t){g()?this._history.pushState(n,e,t):this.location.hash=t},e.prototype.replaceState=function(n,e,t){g()?this._history.replaceState(n,e,t):this.location.hash=t},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e}(r.PlatformLocation),_=new o.InjectionToken("TRANSITION_ID"),y=[{provide:o.APP_INITIALIZER,useFactory:function(n,e,t){return function(){t.get(o.ApplicationInitStatus).donePromise.then((function(){var t=u();Array.prototype.slice.apply(t.querySelectorAll(e,"style[ng-transition]")).filter((function(e){return t.getAttribute(e,"ng-transition")===n})).forEach((function(n){return t.remove(n)}))}))}},deps:[_,r.DOCUMENT,o.Injector],multi:!0}],C=function(){function n(){}return n.init=function(){Object(o.setTestabilityGetter)(new n)},n.prototype.addToWindow=function(n){o["ɵglobal"].getAngularTestability=function(e,t){void 0===t&&(t=!0);var l=n.findTestabilityInTree(e,t);if(null==l)throw new Error("Could not find testability for element.");return l},o["ɵglobal"].getAllAngularTestabilities=function(){return n.getAllTestabilities()},o["ɵglobal"].getAllAngularRootElements=function(){return n.getAllRootElements()},o["ɵglobal"].frameworkStabilizers||(o["ɵglobal"].frameworkStabilizers=[]),o["ɵglobal"].frameworkStabilizers.push((function(n){var e=o["ɵglobal"].getAllAngularTestabilities(),t=e.length,l=!1,i=function(e){l=l||e,0==--t&&n(l)};e.forEach((function(n){n.whenStable(i)}))}))},n.prototype.findTestabilityInTree=function(n,e,t){if(null==e)return null;var l=n.getTestability(e);return null!=l?l:t?u().isShadowRoot(e)?this.findTestabilityInTree(n,u().getHost(e),!0):this.findTestabilityInTree(n,u().parentElement(e),!0):null},n}();function w(n,e){"undefined"!=typeof COMPILED&&COMPILED||((o["ɵglobal"].ng=o["ɵglobal"].ng||{})[n]=e)}var S=function(){return{ApplicationRef:o.ApplicationRef,NgZone:o.NgZone}}();function x(n){return Object(o.getDebugNode)(n)}var k=new o.InjectionToken("EventManagerPlugins"),E=function(){function n(n,e){var t=this;this._zone=e,this._eventNameToPlugin=new Map,n.forEach((function(n){return n.manager=t})),this._plugins=n.slice().reverse()}return n.prototype.addEventListener=function(n,e,t){return this._findPluginFor(e).addEventListener(n,e,t)},n.prototype.addGlobalEventListener=function(n,e,t){return this._findPluginFor(e).addGlobalEventListener(n,e,t)},n.prototype.getZone=function(){return this._zone},n.prototype._findPluginFor=function(n){var e=this._eventNameToPlugin.get(n);if(e)return e;for(var t=this._plugins,l=0;l<t.length;l++){var o=t[l];if(o.supports(n))return this._eventNameToPlugin.set(n,o),o}throw new Error("No event manager plugin found for event "+n)},n}(),T=function(){function n(n){this._doc=n}return n.prototype.addGlobalEventListener=function(n,e,t){var l=u().getGlobalEventTarget(this._doc,n);if(!l)throw new Error("Unsupported event target "+l+" for event "+e);return this.addEventListener(l,e,t)},n}(),R=function(){function n(){this._stylesSet=new Set}return n.prototype.addStyles=function(n){var e=this,t=new Set;n.forEach((function(n){e._stylesSet.has(n)||(e._stylesSet.add(n),t.add(n))})),this.onStylesAdded(t)},n.prototype.onStylesAdded=function(n){},n.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},n}(),I=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._hostNodes=new Set,t._styleNodes=new Set,t._hostNodes.add(e.head),t}return Object(i.c)(e,n),e.prototype._addStylesToHost=function(n,e){var t=this;n.forEach((function(n){var l=t._doc.createElement("style");l.textContent=n,t._styleNodes.add(e.appendChild(l))}))},e.prototype.addHost=function(n){this._addStylesToHost(this._stylesSet,n),this._hostNodes.add(n)},e.prototype.removeHost=function(n){this._hostNodes.delete(n)},e.prototype.onStylesAdded=function(n){var e=this;this._hostNodes.forEach((function(t){return e._addStylesToHost(n,t)}))},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(n){return u().remove(n)}))},e}(R),D={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/"},F=/%COMP%/g,O="_nghost-%COMP%",M="_ngcontent-%COMP%";function N(n,e,t){for(var l=0;l<e.length;l++){var o=e[l];Array.isArray(o)?N(n,o,t):(o=o.replace(F,n),t.push(o))}return t}function A(n){return function(e){!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}var P=function(){function n(n,e,t){this.eventManager=n,this.sharedStylesHost=e,this.appId=t,this.rendererByCompId=new Map,this.defaultRenderer=new q(n)}return n.prototype.createRenderer=function(n,e){if(!n||!e)return this.defaultRenderer;switch(e.encapsulation){case o.ViewEncapsulation.Emulated:var t=this.rendererByCompId.get(e.id);return t||(t=new V(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,t)),t.applyToHost(n),t;case o.ViewEncapsulation.Native:case o.ViewEncapsulation.ShadowDom:return new B(this.eventManager,this.sharedStylesHost,n,e);default:if(!this.rendererByCompId.has(e.id)){var l=N(e.id,e.styles,[]);this.sharedStylesHost.addStyles(l),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},n.prototype.begin=function(){},n.prototype.end=function(){},n}(),q=function(){function n(n){this.eventManager=n,this.data=Object.create(null)}return n.prototype.destroy=function(){},n.prototype.createElement=function(n,e){return e?document.createElementNS(D[e]||e,n):document.createElement(n)},n.prototype.createComment=function(n){return document.createComment(n)},n.prototype.createText=function(n){return document.createTextNode(n)},n.prototype.appendChild=function(n,e){n.appendChild(e)},n.prototype.insertBefore=function(n,e,t){n&&n.insertBefore(e,t)},n.prototype.removeChild=function(n,e){n&&n.removeChild(e)},n.prototype.selectRootElement=function(n,e){var t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error('The selector "'+n+'" did not match any elements');return e||(t.textContent=""),t},n.prototype.parentNode=function(n){return n.parentNode},n.prototype.nextSibling=function(n){return n.nextSibling},n.prototype.setAttribute=function(n,e,t,l){if(l){e=l+":"+e;var o=D[l];o?n.setAttributeNS(o,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)},n.prototype.removeAttribute=function(n,e,t){if(t){var l=D[t];l?n.removeAttributeNS(l,e):n.removeAttribute(t+":"+e)}else n.removeAttribute(e)},n.prototype.addClass=function(n,e){n.classList.add(e)},n.prototype.removeClass=function(n,e){n.classList.remove(e)},n.prototype.setStyle=function(n,e,t,l){l&o.RendererStyleFlags2.DashCase?n.style.setProperty(e,t,l&o.RendererStyleFlags2.Important?"important":""):n.style[e]=t},n.prototype.removeStyle=function(n,e,t){t&o.RendererStyleFlags2.DashCase?n.style.removeProperty(e):n.style[e]=""},n.prototype.setProperty=function(n,e,t){j(e,"property"),n[e]=t},n.prototype.setValue=function(n,e){n.nodeValue=e},n.prototype.listen=function(n,e,t){return j(e,"listener"),"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,A(t)):this.eventManager.addEventListener(n,e,A(t))},n}(),L=function(){return"@".charCodeAt(0)}();function j(n,e){if(n.charCodeAt(0)===L)throw new Error("Found the synthetic "+e+" "+n+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var V=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;i.component=l;var r=N(o+"-"+l.id,l.styles,[]);return t.addStyles(r),i.contentAttr=M.replace(F,o+"-"+l.id),i.hostAttr=O.replace(F,o+"-"+l.id),i}return Object(i.c)(e,n),e.prototype.applyToHost=function(e){n.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,t){var l=n.prototype.createElement.call(this,e,t);return n.prototype.setAttribute.call(this,l,this.contentAttr,""),l},e}(q),B=function(n){function e(e,t,l,i){var r=n.call(this,e)||this;r.sharedStylesHost=t,r.hostEl=l,r.component=i,r.shadowRoot=i.encapsulation===o.ViewEncapsulation.ShadowDom?l.attachShadow({mode:"open"}):l.createShadowRoot(),r.sharedStylesHost.addHost(r.shadowRoot);for(var a=N(i.id,i.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],r.shadowRoot.appendChild(s)}return r}return Object(i.c)(e,n),e.prototype.nodeOrShadowRoot=function(n){return n===this.hostEl?this.shadowRoot:n},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,t){return n.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.insertBefore=function(e,t,l){return n.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),t,l)},e.prototype.removeChild=function(e,t){return n.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(n.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(q),H=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(n){return"__zone_symbol__"+n}}(),U=H("addEventListener"),z=H("removeEventListener"),G={},W="__zone_symbol__propagationStopped",Z=function(){var n="undefined"!=typeof Zone&&Zone[H("BLACK_LISTED_EVENTS")];if(n){var e={};return n.forEach((function(n){e[n]=n})),e}}(),K=function(n){return!!Z&&Z.hasOwnProperty(n)},X=function(n){var e=G[n.type];if(e){var t=this[e];if(t){var l=[n];if(1===t.length)return(r=t[0]).zone!==Zone.current?r.zone.run(r.handler,this,l):r.handler.apply(this,l);for(var o=t.slice(),i=0;i<o.length&&!0!==n[W];i++){var r;(r=o[i]).zone!==Zone.current?r.zone.run(r.handler,this,l):r.handler.apply(this,l)}}}},Y=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.ngZone=t,l&&Object(r.isPlatformServer)(l)||o.patchEvent(),o}return Object(i.c)(e,n),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var n=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[W]=!0),n&&n.apply(this,arguments)}}},e.prototype.supports=function(n){return!0},e.prototype.addEventListener=function(n,e,t){var l=this,i=t;if(!n[U]||o.NgZone.isInAngularZone()&&!K(e))n.addEventListener(e,i,!1);else{var r=G[e];r||(r=G[e]=H("ANGULAR"+e+"FALSE"));var a=n[r],u=a&&a.length>0;a||(a=n[r]=[]);var s=K(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:i});else{for(var d=!1,c=0;c<a.length;c++)if(a[c].handler===i){d=!0;break}d||a.push({zone:s,handler:i})}u||n[U](e,X,!1)}return function(){return l.removeEventListener(n,e,i)}},e.prototype.removeEventListener=function(n,e,t){var l=n[z];if(!l)return n.removeEventListener.apply(n,[e,t,!1]);var o=G[e],i=o&&n[o];if(!i)return n.removeEventListener.apply(n,[e,t,!1]);for(var r=!1,a=0;a<i.length;a++)if(i[a].handler===t){r=!0,i.splice(a,1);break}r?0===i.length&&l.apply(n,[e,X,!1]):n.removeEventListener.apply(n,[e,t,!1])},e}(T),$={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},Q=new o.InjectionToken("HammerGestureConfig"),J=new o.InjectionToken("HammerLoader"),nn=function(){function n(){this.events=[],this.overrides={}}return n.prototype.buildHammer=function(n){var e=new Hammer(n,this.options);for(var t in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(t).set(this.overrides[t]);return e},n}(),en=function(n){function e(e,t,l,o){var i=n.call(this,e)||this;return i._config=t,i.console=l,i.loader=o,i}return Object(i.c)(e,n),e.prototype.supports=function(n){return!(!$.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+n+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(n,e,t){var l=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,r=function(){i=!0};return this.loader().then((function(){if(!window.Hammer)return l.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(r=function(){});i||(r=l.addEventListener(n,e,t))})).catch((function(){l.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),r=function(){}})),function(){r()}}return o.runOutsideAngular((function(){var i=l._config.buildHammer(n),r=function(n){o.runGuarded((function(){t(n)}))};return i.on(e,r),function(){i.off(e,r),"function"==typeof i.destroy&&i.destroy()}}))},e.prototype.isCustomEvent=function(n){return this._config.events.indexOf(n)>-1},e}(T),tn=["alt","control","meta","shift"],ln={alt:function(n){return n.altKey},control:function(n){return n.ctrlKey},meta:function(n){return n.metaKey},shift:function(n){return n.shiftKey}},on=function(n){function e(e){return n.call(this,e)||this}var t;return Object(i.c)(e,n),t=e,e.prototype.supports=function(n){return null!=t.parseEventName(n)},e.prototype.addEventListener=function(n,e,l){var o=t.parseEventName(e),i=t.eventCallback(o.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return u().onAndCancel(n,o.domEventName,i)}))},e.parseEventName=function(n){var e=n.toLowerCase().split("."),l=e.shift();if(0===e.length||"keydown"!==l&&"keyup"!==l)return null;var o=t._normalizeKey(e.pop()),i="";if(tn.forEach((function(n){var t=e.indexOf(n);t>-1&&(e.splice(t,1),i+=n+".")})),i+=o,0!=e.length||0===o.length)return null;var r={};return r.domEventName=l,r.fullKey=i,r},e.getEventFullKey=function(n){var e="",t=u().getEventKey(n);return" "===(t=t.toLowerCase())?t="space":"."===t&&(t="dot"),tn.forEach((function(l){l!=t&&(0,ln[l])(n)&&(e+=l+".")})),e+=t},e.eventCallback=function(n,e,l){return function(o){t.getEventFullKey(o)===n&&l.runGuarded((function(){return e(o)}))}},e._normalizeKey=function(n){switch(n){case"esc":return"escape";default:return n}},e}(T),rn=function(){return function(){}}(),an=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t}return Object(i.c)(e,n),e.prototype.sanitize=function(n,e){if(null==e)return null;switch(n){case o.SecurityContext.NONE:return e;case o.SecurityContext.HTML:return e instanceof sn?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(o["ɵ_sanitizeHtml"])(this._doc,String(e)));case o.SecurityContext.STYLE:return e instanceof dn?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(o["ɵ_sanitizeStyle"])(e));case o.SecurityContext.SCRIPT:if(e instanceof cn)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return e instanceof fn||e instanceof pn?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(o["ɵ_sanitizeUrl"])(String(e)));case o.SecurityContext.RESOURCE_URL:if(e instanceof fn)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 "+n+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(n,e){if(n instanceof un)throw new Error("Required a safe "+e+", got a "+n.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(n){return new sn(n)},e.prototype.bypassSecurityTrustStyle=function(n){return new dn(n)},e.prototype.bypassSecurityTrustScript=function(n){return new cn(n)},e.prototype.bypassSecurityTrustUrl=function(n){return new pn(n)},e.prototype.bypassSecurityTrustResourceUrl=function(n){return new fn(n)},e}(rn),un=function(){function n(n){this.changingThisBreaksApplicationSecurity=n}return n.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},n}(),sn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.getTypeName=function(){return"HTML"},e}(un),dn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.getTypeName=function(){return"Style"},e}(un),cn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.getTypeName=function(){return"Script"},e}(un),pn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.getTypeName=function(){return"URL"},e}(un),fn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.getTypeName=function(){return"ResourceURL"},e}(un),hn=[{provide:o.PLATFORM_ID,useValue:r["ɵPLATFORM_BROWSER_ID"]},{provide:o.PLATFORM_INITIALIZER,useValue:function(){m.makeCurrent(),C.init()},multi:!0},{provide:r.PlatformLocation,useClass:b,deps:[r.DOCUMENT]},{provide:r.DOCUMENT,useFactory:function(){return document},deps:[]}],mn=Object(o.createPlatformFactory)(o.platformCore,"browser",hn),vn=function(){function n(n){if(n)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.")}var e;return e=n,n.withServerTransition=function(n){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:n.appId},{provide:_,useExisting:o.APP_ID},y]}},n}();function gn(){return new bn(Object(o["ɵɵinject"])(r.DOCUMENT))}var bn=function(){function n(n){this._doc=n}return n.prototype.getTitle=function(){return u().getTitle(this._doc)},n.prototype.setTitle=function(n){u().setTitle(this._doc,n)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:gn,token:n,providedIn:"root"}),n}(),_n="undefined"!=typeof window&&window||{},yn=function(){return function(n,e){this.msPerTick=n,this.numTicks=e}}(),Cn=function(){function n(n){this.appRef=n.injector.get(o.ApplicationRef)}return n.prototype.timeChangeDetection=function(n){var e=n&&n.record,t=null!=_n.console.profile;e&&t&&_n.console.profile("Change Detection");for(var l=u().performanceNow(),o=0;o<5||u().performanceNow()-l<500;)this.appRef.tick(),o++;var i=u().performanceNow();e&&t&&_n.console.profileEnd("Change Detection");var r=(i-l)/o;return _n.console.log("ran "+o+" change detection cycles"),_n.console.log(r.toFixed(2)+" ms per check"),new yn(r,o)},n}(),wn=t("NlKi"),Sn=t("kiQV").version,xn=new(function(){return function(){this.shouldSend=!0}}());wn.config("https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726",{shouldSendCallback:function(){return xn.shouldSend},release:Sn}).install();var kn=function(){return function(){}}(),En=t("F/XL"),Tn=t("0/uQ"),Rn=t("26FU"),In=t("6blF"),Dn=t("3fWJ"),Fn=t("dzgT"),On=t("lYZG"),Mn=t("K9Ia"),Nn=t("G5J1"),An=t("67Y/"),Pn=t("Txjg"),qn=t("w1EH"),Ln=t("9Z1F"),jn=t("P6uZ"),Vn=t("psW0"),Bn=t("zAZS"),Hn=t("15JJ"),Un=t("t9fZ"),zn=t("p0Sj"),Gn=t("dC0D"),Wn=t("VnD/"),Zn=t("Phjn"),Kn=t("Qgas"),Xn=t("xMyE"),Yn=t("2WpN"),$n=t("Zn8D"),Qn=function(){return function(n,e){this.id=n,this.url=e}}(),Jn=function(n){function e(e,t,l,o){void 0===l&&(l="imperative"),void 0===o&&(o=null);var i=n.call(this,e,t)||this;return i.navigationTrigger=l,i.restoredState=o,i}return Object(i.c)(e,n),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Qn),ne=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.urlAfterRedirects=l,o}return Object(i.c)(e,n),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Qn),ee=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.reason=l,o}return Object(i.c)(e,n),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Qn),te=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.error=l,o}return Object(i.c)(e,n),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Qn),le=function(n){function e(e,t,l,o){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i}return Object(i.c)(e,n),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Qn),oe=function(n){function e(e,t,l,o){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i}return Object(i.c)(e,n),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Qn),ie=function(n){function e(e,t,l,o,i){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r.shouldActivate=i,r}return Object(i.c)(e,n),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Qn),re=function(n){function e(e,t,l,o){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i}return Object(i.c)(e,n),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Qn),ae=function(n){function e(e,t,l,o){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i}return Object(i.c)(e,n),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Qn),ue=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},n}(),se=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},n}(),de=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ce=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),pe=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),fe=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),he=function(){function n(n,e,t){this.routerEvent=n,this.position=e,this.anchor=t}return n.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},n}(),me=function(){return function(){}}(),ve="primary",ge=function(){function n(n){this.params=n||{}}return n.prototype.has=function(n){return this.params.hasOwnProperty(n)},n.prototype.get=function(n){if(this.has(n)){var e=this.params[n];return Array.isArray(e)?e[0]:e}return null},n.prototype.getAll=function(n){if(this.has(n)){var e=this.params[n];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(n.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),n}();function be(n){return new ge(n)}var _e="ngNavigationCancelingError";function ye(n){var e=Error("NavigationCancelingError: "+n);return e[_e]=!0,e}function Ce(n,e,t){var l=t.path.split("/");if(l.length>n.length)return null;if("full"===t.pathMatch&&(e.hasChildren()||l.length<n.length))return null;for(var o={},i=0;i<l.length;i++){var r=l[i],a=n[i];if(r.startsWith(":"))o[r.substring(1)]=a;else if(r!==a.path)return null}return{consumed:n.slice(0,l.length),posParams:o}}var we=function(){return function(n,e){this.routes=n,this.module=e}}();function Se(n,e){void 0===e&&(e="");for(var t=0;t<n.length;t++){var l=n[t];xe(l,ke(e,l))}}function xe(n,e){if(!n)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(n))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!n.component&&!n.children&&!n.loadChildren&&n.outlet&&n.outlet!==ve)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(n.redirectTo&&n.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(n.redirectTo&&n.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(n.children&&n.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(n.redirectTo&&n.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(n.path&&n.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===n.redirectTo&&!n.component&&!n.children&&!n.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===n.path&&void 0===n.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof n.path&&"/"===n.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===n.path&&void 0!==n.redirectTo&&void 0===n.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+n.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==n.pathMatch&&"full"!==n.pathMatch&&"prefix"!==n.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");n.children&&Se(n.children,e)}function ke(n,e){return e?n||e.path?n&&!e.path?n+"/":!n&&e.path?e.path:n+"/"+e.path:"":n}function Ee(n){var e=n.children&&n.children.map(Ee),t=e?Object(i.a)({},n,{children:e}):Object(i.a)({},n);return!t.component&&(e||t.loadChildren)&&t.outlet&&t.outlet!==ve&&(t.component=me),t}function Te(n,e){var t,l=Object.keys(n),o=Object.keys(e);if(!l||!o||l.length!=o.length)return!1;for(var i=0;i<l.length;i++)if(n[t=l[i]]!==e[t])return!1;return!0}function Re(n){return Array.prototype.concat.apply([],n)}function Ie(n){return n.length>0?n[n.length-1]:null}function De(n,e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)}function Fe(n){return Object(o["ɵisObservable"])(n)?n:Object(o["ɵisPromise"])(n)?Object(Tn.a)(Promise.resolve(n)):Object(En.a)(n)}function Oe(n,e,t){return t?function(n,e){return Te(n,e)}(n.queryParams,e.queryParams)&&function n(e,t){if(!Pe(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var l in t.children){if(!e.children[l])return!1;if(!n(e.children[l],t.children[l]))return!1}return!0}(n.root,e.root):function(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every((function(t){return e[t]===n[t]}))}(n.queryParams,e.queryParams)&&function n(e,t){return function e(t,l,o){if(t.segments.length>o.length)return!!Pe(r=t.segments.slice(0,o.length),o)&&!l.hasChildren();if(t.segments.length===o.length){if(!Pe(t.segments,o))return!1;for(var i in l.children){if(!t.children[i])return!1;if(!n(t.children[i],l.children[i]))return!1}return!0}var r=o.slice(0,t.segments.length),a=o.slice(t.segments.length);return!!Pe(t.segments,r)&&!!t.children[ve]&&e(t.children[ve],l,a)}(e,t,t.segments)}(n.root,e.root)}var Me=function(){function n(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}return Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Ve.serialize(this)},n}(),Ne=function(){function n(n,e){var t=this;this.segments=n,this.children=e,this.parent=null,De(e,(function(n,e){return n.parent=t}))}return n.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(n.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Be(this)},n}(),Ae=function(){function n(n,e){this.path=n,this.parameters=e}return Object.defineProperty(n.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=be(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Ze(this)},n}();function Pe(n,e){return n.length===e.length&&n.every((function(n,t){return n.path===e[t].path}))}function qe(n,e){var t=[];return De(n.children,(function(n,l){l===ve&&(t=t.concat(e(n,l)))})),De(n.children,(function(n,l){l!==ve&&(t=t.concat(e(n,l)))})),t}var Le=function(){return function(){}}(),je=function(){function n(){}return n.prototype.parse=function(n){var e=new Qe(n);return new Me(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},n.prototype.serialize=function(n){var e,t;return"/"+function n(e,t){if(!e.hasChildren())return Be(e);if(t){var l=e.children[ve]?n(e.children[ve],!1):"",o=[];return De(e.children,(function(e,t){t!==ve&&o.push(t+":"+n(e,!1))})),o.length>0?l+"("+o.join("//")+")":l}var i=qe(e,(function(t,l){return l===ve?[n(e.children[ve],!1)]:[l+":"+n(t,!1)]}));return Be(e)+"/("+i.join("//")+")"}(n.root,!0)+(e=n.queryParams,(t=Object.keys(e).map((function(n){var t=e[n];return Array.isArray(t)?t.map((function(e){return Ue(n)+"="+Ue(e)})).join("&"):Ue(n)+"="+Ue(t)}))).length?"?"+t.join("&"):"")+("string"==typeof n.fragment?"#"+encodeURI(n.fragment):"")},n}(),Ve=new je;function Be(n){return n.segments.map((function(n){return Ze(n)})).join("/")}function He(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(n){return He(n).replace(/%3B/gi,";")}function ze(n){return He(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ge(n){return decodeURIComponent(n)}function We(n){return Ge(n.replace(/\+/g,"%20"))}function Ze(n){return""+ze(n.path)+(e=n.parameters,Object.keys(e).map((function(n){return";"+ze(n)+"="+ze(e[n])})).join(""));var e}var Ke=/^[^\/()?;=#]+/;function Xe(n){var e=n.match(Ke);return e?e[0]:""}var Ye=/^[^=?&#]+/,$e=/^[^?&#]+/,Qe=function(){function n(n){this.url=n,this.remaining=n}return n.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())},n.prototype.parseQueryParams=function(){var n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n},n.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},n.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[ve]=new Ne(n,e)),t},n.prototype.parseSegment=function(){var n=Xe(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(n),new Ae(Ge(n),this.parseMatrixParams())},n.prototype.parseMatrixParams=function(){for(var n={};this.consumeOptional(";");)this.parseParam(n);return n},n.prototype.parseParam=function(n){var e=Xe(this.remaining);if(e){this.capture(e);var t="";if(this.consumeOptional("=")){var l=Xe(this.remaining);l&&this.capture(t=l)}n[Ge(e)]=Ge(t)}},n.prototype.parseQueryParam=function(n){var e,t=(e=this.remaining.match(Ye))?e[0]:"";if(t){this.capture(t);var l="";if(this.consumeOptional("=")){var o=function(n){var e=n.match($e);return e?e[0]:""}(this.remaining);o&&this.capture(l=o)}var i=We(t),r=We(l);if(n.hasOwnProperty(i)){var a=n[i];Array.isArray(a)||(n[i]=a=[a]),a.push(r)}else n[i]=r}},n.prototype.parseParens=function(n){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var t=Xe(this.remaining),l=this.remaining[t.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;t.indexOf(":")>-1?(o=t.substr(0,t.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ve);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[ve]:new Ne([],i),this.consumeOptional("//")}return e},n.prototype.peekStartsWith=function(n){return this.remaining.startsWith(n)},n.prototype.consumeOptional=function(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)},n.prototype.capture=function(n){if(!this.consumeOptional(n))throw new Error('Expected "'+n+'".')},n}(),Je=function(){function n(n){this._root=n}return Object.defineProperty(n.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),n.prototype.parent=function(n){var e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null},n.prototype.children=function(n){var e=nt(n,this._root);return e?e.children.map((function(n){return n.value})):[]},n.prototype.firstChild=function(n){var e=nt(n,this._root);return e&&e.children.length>0?e.children[0].value:null},n.prototype.siblings=function(n){var e=et(n,this._root);return e.length<2?[]:e[e.length-2].children.map((function(n){return n.value})).filter((function(e){return e!==n}))},n.prototype.pathFromRoot=function(n){return et(n,this._root).map((function(n){return n.value}))},n}();function nt(n,e){var t,l;if(n===e.value)return e;try{for(var o=Object(i.g)(e.children),r=o.next();!r.done;r=o.next()){var a=nt(n,r.value);if(a)return a}}catch(u){t={error:u}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return null}function et(n,e){var t,l;if(n===e.value)return[e];try{for(var o=Object(i.g)(e.children),r=o.next();!r.done;r=o.next()){var a=et(n,r.value);if(a.length)return a.unshift(e),a}}catch(u){t={error:u}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return[]}var tt=function(){function n(n,e){this.value=n,this.children=e}return n.prototype.toString=function(){return"TreeNode("+this.value+")"},n}();function lt(n){var e={};return n&&n.children.forEach((function(n){return e[n.value.outlet]=n})),e}var ot=function(n){function e(e,t){var l=n.call(this,e)||this;return l.snapshot=t,dt(l,e),l}return Object(i.c)(e,n),e.prototype.toString=function(){return this.snapshot.toString()},e}(Je);function it(n,e){var t=function(n,e){var t=new ut([],{},{},"",{},ve,e,null,n.root,-1,{});return new st("",new tt(t,[]))}(n,e),l=new Rn.a([new Ae("",{})]),o=new Rn.a({}),i=new Rn.a({}),r=new Rn.a({}),a=new Rn.a(""),u=new rt(l,o,r,a,i,ve,e,t.root);return u.snapshot=t.root,new ot(new tt(u,[]),t)}var rt=function(){function n(n,e,t,l,o,i,r,a){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=i,this.component=r,this._futureSnapshot=a}return Object.defineProperty(n.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(An.a)((function(n){return be(n)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(An.a)((function(n){return be(n)})))),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},n}();function at(n,e){void 0===e&&(e="emptyOnly");var t=n.pathFromRoot,l=0;if("always"!==e)for(l=t.length-1;l>=1;){var o=t[l],r=t[l-1];if(o.routeConfig&&""===o.routeConfig.path)l--;else{if(r.component)break;l--}}return function(n){return n.reduce((function(n,e){return{params:Object(i.a)({},n.params,e.params),data:Object(i.a)({},n.data,e.data),resolve:Object(i.a)({},n.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(t.slice(l))}var ut=function(){function n(n,e,t,l,o,i,r,a,u,s,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=i,this.component=r,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=s,this._resolve=d}return Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=be(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return"Route(url:'"+this.url.map((function(n){return n.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},n}(),st=function(n){function e(e,t){var l=n.call(this,t)||this;return l.url=e,dt(l,t),l}return Object(i.c)(e,n),e.prototype.toString=function(){return ct(this._root)},e}(Je);function dt(n,e){e.value._routerState=n,e.children.forEach((function(e){return dt(n,e)}))}function ct(n){var e=n.children.length>0?" { "+n.children.map(ct).join(", ")+" } ":"";return""+n.value+e}function pt(n){if(n.snapshot){var e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Te(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Te(e.params,t.params)||n.params.next(t.params),function(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;++t)if(!Te(n[t],e[t]))return!1;return!0}(e.url,t.url)||n.url.next(t.url),Te(e.data,t.data)||n.data.next(t.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function ft(n,e){var t,l;return Te(n.params,e.params)&&Pe(t=n.url,l=e.url)&&t.every((function(n,e){return Te(n.parameters,l[e].parameters)}))&&!(!n.parent!=!e.parent)&&(!n.parent||ft(n.parent,e.parent))}function ht(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function mt(n,e,t,l,o){var i={};return l&&De(l,(function(n,e){i[e]=Array.isArray(n)?n.map((function(n){return""+n})):""+n})),new Me(t.root===n?e:function n(e,t,l){var o={};return De(e.children,(function(e,i){o[i]=e===t?l:n(e,t,l)})),new Ne(e.segments,o)}(t.root,n,e),i,o)}var vt=function(){function n(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&ht(t[0]))throw new Error("Root segment cannot have matrix parameters");var l=t.find((function(n){return"object"==typeof n&&null!=n&&n.outlets}));if(l&&l!==Ie(t))throw new Error("{outlets:{}} has to be the last command")}return n.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},n}(),gt=function(){return function(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}();function bt(n){return"object"==typeof n&&null!=n&&n.outlets?n.outlets[ve]:""+n}function _t(n,e,t){if(n||(n=new Ne([],{})),0===n.segments.length&&n.hasChildren())return yt(n,e,t);var l=function(n,e,t){for(var l=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<n.segments.length;){if(l>=t.length)return i;var r=n.segments[o],a=bt(t[l]),u=l<t.length-1?t[l+1]:null;if(o>0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!xt(a,u,r))return i;l+=2}else{if(!xt(a,{},r))return i;l++}o++}return{match:!0,pathIndex:o,commandIndex:l}}(n,e,t),o=t.slice(l.commandIndex);if(l.match&&l.pathIndex<n.segments.length){var i=new Ne(n.segments.slice(0,l.pathIndex),{});return i.children[ve]=new Ne(n.segments.slice(l.pathIndex),n.children),yt(i,0,o)}return l.match&&0===o.length?new Ne(n.segments,{}):l.match&&!n.hasChildren()?Ct(n,e,t):l.match?yt(n,0,o):Ct(n,e,t)}function yt(n,e,t){if(0===t.length)return new Ne(n.segments,{});var l=function(n){var e,t;return"object"!=typeof n[0]?((e={})[ve]=n,e):void 0===n[0].outlets?((t={})[ve]=n,t):n[0].outlets}(t),o={};return De(l,(function(t,l){null!==t&&(o[l]=_t(n.children[l],e,t))})),De(n.children,(function(n,e){void 0===l[e]&&(o[e]=n)})),new Ne(n.segments,o)}function Ct(n,e,t){for(var l=n.segments.slice(0,e),o=0;o<t.length;){if("object"==typeof t[o]&&void 0!==t[o].outlets){var i=wt(t[o].outlets);return new Ne(l,i)}if(0===o&&ht(t[0]))l.push(new Ae(n.segments[e].path,t[0])),o++;else{var r=bt(t[o]),a=o<t.length-1?t[o+1]:null;r&&a&&ht(a)?(l.push(new Ae(r,St(a))),o+=2):(l.push(new Ae(r,{})),o++)}}return new Ne(l,{})}function wt(n){var e={};return De(n,(function(n,t){null!==n&&(e[t]=Ct(new Ne([],{}),0,n))})),e}function St(n){var e={};return De(n,(function(n,t){return e[t]=""+n})),e}function xt(n,e,t){return n==t.path&&Te(e,t.parameters)}var kt=function(){function n(n,e,t,l){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=l}return n.prototype.activate=function(n){var e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),pt(this.futureState.root),this.activateChildRoutes(e,t,n)},n.prototype.deactivateChildRoutes=function(n,e,t){var l=this,o=lt(e);n.children.forEach((function(n){var e=n.value.outlet;l.deactivateRoutes(n,o[e],t),delete o[e]})),De(o,(function(n,e){l.deactivateRouteAndItsChildren(n,t)}))},n.prototype.deactivateRoutes=function(n,e,t){var l=n.value,o=e?e.value:null;if(l===o)if(l.component){var i=t.getContext(l.outlet);i&&this.deactivateChildRoutes(n,e,i.children)}else this.deactivateChildRoutes(n,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)},n.prototype.deactivateRouteAndItsChildren=function(n,e){this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)},n.prototype.detachAndStoreRouteSubtree=function(n,e){var t=e.getContext(n.value.outlet);if(t&&t.outlet){var l=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:l,route:n,contexts:o})}},n.prototype.deactivateRouteAndOutlet=function(n,e){var t=this,l=e.getContext(n.value.outlet);if(l){var o=lt(n),i=n.value.component?l.children:e;De(o,(function(n,e){return t.deactivateRouteAndItsChildren(n,i)})),l.outlet&&(l.outlet.deactivate(),l.children.onOutletDeactivated())}},n.prototype.activateChildRoutes=function(n,e,t){var l=this,o=lt(e);n.children.forEach((function(n){l.activateRoutes(n,o[n.value.outlet],t),l.forwardEvent(new fe(n.value.snapshot))})),n.children.length&&this.forwardEvent(new ce(n.value.snapshot))},n.prototype.activateRoutes=function(n,e,t){var l=n.value,o=e?e.value:null;if(pt(l),l===o)if(l.component){var i=t.getOrCreateContext(l.outlet);this.activateChildRoutes(n,e,i.children)}else this.activateChildRoutes(n,e,t);else if(l.component)if(i=t.getOrCreateContext(l.outlet),this.routeReuseStrategy.shouldAttach(l.snapshot)){var r=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),i.children.onOutletReAttached(r.contexts),i.attachRef=r.componentRef,i.route=r.route.value,i.outlet&&i.outlet.attach(r.componentRef,r.route.value),Et(r.route)}else{var a=function(n){for(var e=n.parent;e;e=e.parent){var t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(l.snapshot),u=a?a.module.componentFactoryResolver:null;i.attachRef=null,i.route=l,i.resolver=u,i.outlet&&i.outlet.activateWith(l,u),this.activateChildRoutes(n,null,i.children)}else this.activateChildRoutes(n,null,t)},n}();function Et(n){pt(n.value),n.children.forEach(Et)}function Tt(n){return"function"==typeof n}function Rt(n){return n instanceof Me}var It=function(){return function(n){this.segmentGroup=n||null}}(),Dt=function(){return function(n){this.urlTree=n}}();function Ft(n){return new In.a((function(e){return e.error(new It(n))}))}function Ot(n){return new In.a((function(e){return e.error(new Dt(n))}))}function Mt(n){return new In.a((function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+n+"'"))}))}var Nt=function(){function n(n,e,t,l,i){this.configLoader=e,this.urlSerializer=t,this.urlTree=l,this.config=i,this.allowRedirects=!0,this.ngModule=n.get(o.NgModuleRef)}return n.prototype.apply=function(){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ve).pipe(Object(An.a)((function(e){return n.createUrlTree(e,n.urlTree.queryParams,n.urlTree.fragment)}))).pipe(Object(Ln.a)((function(e){if(e instanceof Dt)return n.allowRedirects=!1,n.match(e.urlTree);if(e instanceof It)throw n.noMatchError(e);throw e})))},n.prototype.match=function(n){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,n.root,ve).pipe(Object(An.a)((function(t){return e.createUrlTree(t,n.queryParams,n.fragment)}))).pipe(Object(Ln.a)((function(n){if(n instanceof It)throw e.noMatchError(n);throw n})))},n.prototype.noMatchError=function(n){return new Error("Cannot match any routes. URL Segment: '"+n.segmentGroup+"'")},n.prototype.createUrlTree=function(n,e,t){var l,o=n.segments.length>0?new Ne([],((l={})[ve]=n,l)):n;return new Me(o,e,t)},n.prototype.expandSegmentGroup=function(n,e,t,l){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe(Object(An.a)((function(n){return new Ne([],n)}))):this.expandSegment(n,t,e,t.segments,l,!0)},n.prototype.expandChildren=function(n,e,t){var l=this;return function(t,o){if(0===Object.keys(t).length)return Object(En.a)({});var i=[],r=[],a={};return De(t,(function(t,o){var u,s,d=(u=o,s=t,l.expandSegmentGroup(n,e,s,u)).pipe(Object(An.a)((function(n){return a[o]=n})));o===ve?i.push(d):r.push(d)})),En.a.apply(null,i.concat(r)).pipe(Object(Pn.a)(),Object(qn.a)(),Object(An.a)((function(){return a})))}(t.children)},n.prototype.expandSegment=function(n,e,t,l,o,r){var a=this;return En.a.apply(void 0,Object(i.f)(t)).pipe(Object(An.a)((function(i){return a.expandSegmentAgainstRoute(n,e,t,i,l,o,r).pipe(Object(Ln.a)((function(n){if(n instanceof It)return Object(En.a)(null);throw n})))})),Object(Pn.a)(),Object(jn.a)((function(n){return!!n})),Object(Ln.a)((function(n,t){if(n instanceof Dn.a||"EmptyError"===n.name){if(a.noLeftoversInUrl(e,l,o))return Object(En.a)(new Ne([],{}));throw new It(e)}throw n})))},n.prototype.noLeftoversInUrl=function(n,e,t){return 0===e.length&&!n.children[t]},n.prototype.expandSegmentAgainstRoute=function(n,e,t,l,o,i,r){return Lt(l)!==i?Ft(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(n,e,l,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,l,o,i):Ft(e)},n.prototype.expandSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,i){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,l,i):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,l,o,i)},n.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,e,t,l){var o=this,i=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Ot(i):this.lineralizeSegments(t,i).pipe(Object(Vn.a)((function(t){var i=new Ne(t,{});return o.expandSegment(n,i,e,t,l,!1)})))},n.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,i){var r=this,a=At(e,l,o),u=a.consumedSegments,s=a.lastChild,d=a.positionalParamSegments;if(!a.matched)return Ft(e);var c=this.applyRedirectCommands(u,l.redirectTo,d);return l.redirectTo.startsWith("/")?Ot(c):this.lineralizeSegments(l,c).pipe(Object(Vn.a)((function(l){return r.expandSegment(n,e,t,l.concat(o.slice(s)),i,!1)})))},n.prototype.matchSegmentAgainstRoute=function(n,e,t,l){var o=this;if("**"===t.path)return t.loadChildren?this.configLoader.load(n.injector,t).pipe(Object(An.a)((function(n){return t._loadedConfig=n,new Ne(l,{})}))):Object(En.a)(new Ne(l,{}));var r=At(e,t,l),a=r.consumedSegments,u=r.lastChild;if(!r.matched)return Ft(e);var s=l.slice(u);return this.getChildConfig(n,t,l).pipe(Object(Vn.a)((function(n){var t=n.module,l=n.routes,r=function(n,e,t,l){return t.length>0&&function(n,e,t){return t.some((function(t){return qt(n,e,t)&&Lt(t)!==ve}))}(n,t,l)?{segmentGroup:Pt(new Ne(e,function(n,e){var t,l,o={};o[ve]=e;try{for(var r=Object(i.g)(n),a=r.next();!a.done;a=r.next()){var u=a.value;""===u.path&&Lt(u)!==ve&&(o[Lt(u)]=new Ne([],{}))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return o}(l,new Ne(t,n.children)))),slicedSegments:[]}:0===t.length&&function(n,e,t){return t.some((function(t){return qt(n,e,t)}))}(n,t,l)?{segmentGroup:Pt(new Ne(n.segments,function(n,e,t,l){var o,r,a={};try{for(var u=Object(i.g)(t),s=u.next();!s.done;s=u.next()){var d=s.value;qt(n,e,d)&&!l[Lt(d)]&&(a[Lt(d)]=new Ne([],{}))}}catch(c){o={error:c}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(o)throw o.error}}return Object(i.a)({},l,a)}(n,t,l,n.children))),slicedSegments:t}:{segmentGroup:n,slicedSegments:t}}(e,a,s,l),u=r.segmentGroup,d=r.slicedSegments;return 0===d.length&&u.hasChildren()?o.expandChildren(t,l,u).pipe(Object(An.a)((function(n){return new Ne(a,n)}))):0===l.length&&0===d.length?Object(En.a)(new Ne(a,{})):o.expandSegment(t,u,l,d,ve,!0).pipe(Object(An.a)((function(n){return new Ne(a.concat(n.segments),n.children)})))})))},n.prototype.getChildConfig=function(n,e,t){var l=this;return e.children?Object(En.a)(new we(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?Object(En.a)(e._loadedConfig):function(n,e,t){var l=e.canLoad;return l&&0!==l.length?Object(Tn.a)(l).pipe(Object(An.a)((function(l){var o,i=n.get(l);if(function(n){return n&&Tt(n.canLoad)}(i))o=i.canLoad(e,t);else{if(!Tt(i))throw new Error("Invalid CanLoad guard");o=i(e,t)}return Fe(o)}))).pipe(Object(Pn.a)(),Object(Bn.a)((function(n){return!0===n}))):Object(En.a)(!0)}(n.injector,e,t).pipe(Object(Vn.a)((function(t){return t?l.configLoader.load(n.injector,e).pipe(Object(An.a)((function(n){return e._loadedConfig=n,n}))):function(n){return new In.a((function(e){return e.error(ye("Cannot load children because the guard of the route \"path: '"+n.path+"'\" returned false"))}))}(e)}))):Object(En.a)(new we([],n))},n.prototype.lineralizeSegments=function(n,e){for(var t=[],l=e.root;;){if(t=t.concat(l.segments),0===l.numberOfChildren)return Object(En.a)(t);if(l.numberOfChildren>1||!l.children[ve])return Mt(n.redirectTo);l=l.children[ve]}},n.prototype.applyRedirectCommands=function(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)},n.prototype.applyRedirectCreatreUrlTree=function(n,e,t,l){var o=this.createSegmentGroup(n,e.root,t,l);return new Me(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},n.prototype.createQueryParams=function(n,e){var t={};return De(n,(function(n,l){if("string"==typeof n&&n.startsWith(":")){var o=n.substring(1);t[l]=e[o]}else t[l]=n})),t},n.prototype.createSegmentGroup=function(n,e,t,l){var o=this,i=this.createSegments(n,e.segments,t,l),r={};return De(e.children,(function(e,i){r[i]=o.createSegmentGroup(n,e,t,l)})),new Ne(i,r)},n.prototype.createSegments=function(n,e,t,l){var o=this;return e.map((function(e){return e.path.startsWith(":")?o.findPosParam(n,e,l):o.findOrReturn(e,t)}))},n.prototype.findPosParam=function(n,e,t){var l=t[e.path.substring(1)];if(!l)throw new Error("Cannot redirect to '"+n+"'. Cannot find '"+e.path+"'.");return l},n.prototype.findOrReturn=function(n,e){var t,l,o=0;try{for(var r=Object(i.g)(e),a=r.next();!a.done;a=r.next()){var u=a.value;if(u.path===n.path)return e.splice(o),u;o++}}catch(s){t={error:s}}finally{try{a&&!a.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return n},n}();function At(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var l=(e.matcher||Ce)(t,n,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Pt(n){if(1===n.numberOfChildren&&n.children[ve]){var e=n.children[ve];return new Ne(n.segments.concat(e.segments),e.children)}return n}function qt(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0!==t.redirectTo}function Lt(n){return n.outlet||ve}var jt=function(){return function(n){this.path=n,this.route=this.path[this.path.length-1]}}(),Vt=function(){return function(n,e){this.component=n,this.route=e}}();function Bt(n,e,t){var l=function(n){if(!n)return null;for(var e=n.parent;e;e=e.parent){var t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(l?l.module.injector:t).get(n)}function Ht(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=lt(e);return n.children.forEach((function(n){!function(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=n.value,r=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(r&&i.routeConfig===r.routeConfig){var u=function(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Pe(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Pe(n.url,e.url)||!Te(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ft(n,e)||!Te(n.queryParams,e.queryParams);case"paramsChange":default:return!ft(n,e)}}(r,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new jt(l)):(i.data=r.data,i._resolvedData=r._resolvedData),Ht(n,e,i.component?a?a.children:null:t,l,o),u&&o.canDeactivateChecks.push(new Vt(a&&a.outlet&&a.outlet.component||null,r))}else r&&Ut(e,a,o),o.canActivateChecks.push(new jt(l)),Ht(n,null,i.component?a?a.children:null:t,l,o)}(n,i[n.value.outlet],t,l.concat([n.value]),o),delete i[n.value.outlet]})),De(i,(function(n,e){return Ut(n,t.getContext(e),o)})),o}function Ut(n,e,t){var l=lt(n),o=n.value;De(l,(function(n,l){Ut(n,o.component?e?e.children.getContext(l):null:e,t)})),t.canDeactivateChecks.push(new Vt(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var zt=Symbol("INITIAL_VALUE");function Gt(){return Object(Hn.a)((function(n){return Fn.b.apply(void 0,Object(i.f)(n.map((function(n){return n.pipe(Object(Un.a)(1),Object(zn.a)(zt))})))).pipe(Object(Gn.a)((function(n,e){var t=!1;return e.reduce((function(n,l,o){if(n!==zt)return n;if(l===zt&&(t=!0),!t){if(!1===l)return l;if(o===e.length-1||Rt(l))return l}return n}),n)}),zt),Object(Wn.a)((function(n){return n!==zt})),Object(An.a)((function(n){return Rt(n)?n:!0===n})),Object(Un.a)(1))}))}function Wt(n,e){return null!==n&&e&&e(new pe(n)),Object(En.a)(!0)}function Zt(n,e){return null!==n&&e&&e(new de(n)),Object(En.a)(!0)}function Kt(n,e,t){var l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(En.a)(!0);var o=l.map((function(l){return Object(On.a)((function(){var o,i=Bt(l,e,t);if(function(n){return n&&Tt(n.canActivate)}(i))o=Fe(i.canActivate(e,n));else{if(!Tt(i))throw new Error("Invalid CanActivate guard");o=Fe(i(e,n))}return o.pipe(Object(jn.a)())}))}));return Object(En.a)(o).pipe(Gt())}function Xt(n,e,t){var l=e[e.length-1],o=e.slice(0,e.length-1).reverse().map((function(n){return function(n){var e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(n)})).filter((function(n){return null!==n})).map((function(e){return Object(On.a)((function(){var o=e.guards.map((function(o){var i,r=Bt(o,e.node,t);if(function(n){return n&&Tt(n.canActivateChild)}(r))i=Fe(r.canActivateChild(l,n));else{if(!Tt(r))throw new Error("Invalid CanActivateChild guard");i=Fe(r(l,n))}return i.pipe(Object(jn.a)())}));return Object(En.a)(o).pipe(Gt())}))}));return Object(En.a)(o).pipe(Gt())}var Yt=function(){return function(){}}(),$t=function(){function n(n,e,t,l,o,i){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=l,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return n.prototype.recognize=function(){try{var n=nl(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,ve),t=new ut([],Object.freeze({}),Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},ve,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new tt(t,e),o=new st(this.url,l);return this.inheritParamsAndData(o._root),Object(En.a)(o)}catch(r){return new In.a((function(n){return n.error(r)}))}},n.prototype.inheritParamsAndData=function(n){var e=this,t=n.value,l=at(t,this.paramsInheritanceStrategy);t.params=Object.freeze(l.params),t.data=Object.freeze(l.data),n.children.forEach((function(n){return e.inheritParamsAndData(n)}))},n.prototype.processSegmentGroup=function(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)},n.prototype.processChildren=function(n,e){var t,l=this,o=qe(e,(function(e,t){return l.processSegmentGroup(n,e,t)}));return t={},o.forEach((function(n){var e=t[n.value.outlet];if(e){var l=e.url.map((function(n){return n.toString()})).join("/"),o=n.value.url.map((function(n){return n.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+l+"' and '"+o+"'.")}t[n.value.outlet]=n.value})),o.sort((function(n,e){return n.value.outlet===ve?-1:e.value.outlet===ve?1:n.value.outlet.localeCompare(e.value.outlet)})),o},n.prototype.processSegment=function(n,e,t,l){var o,r;try{for(var a=Object(i.g)(n),u=a.next();!u.done;u=a.next()){var s=u.value;try{return this.processSegmentAgainstRoute(s,e,t,l)}catch(d){if(!(d instanceof Yt))throw d}}}catch(c){o={error:c}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,t,l))return[];throw new Yt},n.prototype.noLeftoversInUrl=function(n,e,t){return 0===e.length&&!n.children[t]},n.prototype.processSegmentAgainstRoute=function(n,e,t,l){if(n.redirectTo)throw new Yt;if((n.outlet||ve)!==l)throw new Yt;var o,r=[],a=[];if("**"===n.path){var u=t.length>0?Ie(t).parameters:{};o=new ut(t,u,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,ll(n),l,n.component,n,Qt(e),Jt(e)+t.length,ol(n))}else{var s=function(n,e,t){if(""===e.path){if("full"===e.pathMatch&&(n.hasChildren()||t.length>0))throw new Yt;return{consumedSegments:[],lastChild:0,parameters:{}}}var l=(e.matcher||Ce)(t,n,e);if(!l)throw new Yt;var o={};De(l.posParams,(function(n,e){o[e]=n.path}));var r=l.consumed.length>0?Object(i.a)({},o,l.consumed[l.consumed.length-1].parameters):o;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,n,t);r=s.consumedSegments,a=t.slice(s.lastChild),o=new ut(r,s.parameters,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,ll(n),l,n.component,n,Qt(e),Jt(e)+r.length,ol(n))}var d=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(n),c=nl(e,r,a,d,this.relativeLinkResolution),p=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&p.hasChildren()){var h=this.processChildren(d,p);return[new tt(o,h)]}if(0===d.length&&0===f.length)return[new tt(o,[])];var m=this.processSegment(d,p,f,ve);return[new tt(o,m)]},n}();function Qt(n){for(var e=n;e._sourceSegment;)e=e._sourceSegment;return e}function Jt(n){for(var e=n,t=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)t+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return t-1}function nl(n,e,t,l,o){if(t.length>0&&function(n,e,t){return t.some((function(t){return el(n,e,t)&&tl(t)!==ve}))}(n,t,l)){var r=new Ne(e,function(n,e,t,l){var o,r,a={};a[ve]=l,l._sourceSegment=n,l._segmentIndexShift=e.length;try{for(var u=Object(i.g)(t),s=u.next();!s.done;s=u.next()){var d=s.value;if(""===d.path&&tl(d)!==ve){var c=new Ne([],{});c._sourceSegment=n,c._segmentIndexShift=e.length,a[tl(d)]=c}}}catch(p){o={error:p}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(o)throw o.error}}return a}(n,e,l,new Ne(t,n.children)));return r._sourceSegment=n,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===t.length&&function(n,e,t){return t.some((function(t){return el(n,e,t)}))}(n,t,l)){var a=new Ne(n.segments,function(n,e,t,l,o,r){var a,u,s={};try{for(var d=Object(i.g)(l),c=d.next();!c.done;c=d.next()){var p=c.value;if(el(n,t,p)&&!o[tl(p)]){var f=new Ne([],{});f._sourceSegment=n,f._segmentIndexShift="legacy"===r?n.segments.length:e.length,s[tl(p)]=f}}}catch(h){a={error:h}}finally{try{c&&!c.done&&(u=d.return)&&u.call(d)}finally{if(a)throw a.error}}return Object(i.a)({},o,s)}(n,e,t,l,n.children,o));return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:t}}var u=new Ne(n.segments,n.children);return u._sourceSegment=n,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:t}}function el(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0===t.redirectTo}function tl(n){return n.outlet||ve}function ll(n){return n.data||{}}function ol(n){return n.resolve||{}}function il(n,e,t,l){var o=Bt(n,e,l);return Fe(o.resolve?o.resolve(e,t):o(e,t))}function rl(n){return function(e){return e.pipe(Object(Hn.a)((function(e){var t=n(e);return t?Object(Tn.a)(t).pipe(Object(An.a)((function(){return e}))):Object(Tn.a)([e])})))}}var al=function(){return function(){}}(),ul=function(){function n(){}return n.prototype.shouldDetach=function(n){return!1},n.prototype.store=function(n,e){},n.prototype.shouldAttach=function(n){return!1},n.prototype.retrieve=function(n){return null},n.prototype.shouldReuseRoute=function(n,e){return n.routeConfig===e.routeConfig},n}(),sl=new o.InjectionToken("ROUTES"),dl=function(){function n(n,e,t,l){this.loader=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=l}return n.prototype.load=function(n,e){var t=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(An.a)((function(l){t.onLoadEndListener&&t.onLoadEndListener(e);var o=l.create(n);return new we(Re(o.injector.get(sl)).map(Ee),o)})))},n.prototype.loadModuleFactory=function(n){var e=this;return"string"==typeof n?Object(Tn.a)(this.loader.load(n)):Fe(n()).pipe(Object(Vn.a)((function(n){return n instanceof o.NgModuleFactory?Object(En.a)(n):Object(Tn.a)(e.compiler.compileModuleAsync(n))})))},n}(),cl=function(){return function(){}}(),pl=function(){function n(){}return n.prototype.shouldProcessUrl=function(n){return!0},n.prototype.extract=function(n){return n},n.prototype.merge=function(n,e){return n},n}();function fl(n){throw n}function hl(n,e,t){return e.parse("/")}function ml(n,e){return Object(En.a)(null)}var vl=function(){function n(n,e,t,l,i,r,a,u){var s=this;this.rootComponentType=n,this.urlSerializer=e,this.rootContexts=t,this.location=l,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new Mn.b,this.errorHandler=fl,this.malformedUriErrorHandler=hl,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ml,afterPreactivation:ml},this.urlHandlingStrategy=new pl,this.routeReuseStrategy=new ul,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.NgModuleRef),this.console=i.get(o["ɵConsole"]);var d=i.get(o.NgZone);this.isNgZoneEnabled=d instanceof o.NgZone,this.resetConfig(u),this.currentUrlTree=new Me(new Ne([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new dl(r,a,(function(n){return s.triggerEvent(new ue(n))}),(function(n){return s.triggerEvent(new se(n))})),this.routerState=it(this.currentUrlTree,this.rootComponentType),this.transitions=new Rn.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return n.prototype.setupNavigations=function(n){var e=this,t=this.events;return n.pipe(Object(Wn.a)((function(n){return 0!==n.id})),Object(An.a)((function(n){return Object(i.a)({},n,{extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})})),Object(Hn.a)((function(n){var l,o,r,a=!1,u=!1;return Object(En.a)(n).pipe(Object(Xn.a)((function(n){e.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:e.lastSuccessfulNavigation?Object(i.a)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(Hn.a)((function(n){var l,o,r,a,u=!e.navigated||n.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||u)&&e.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Object(En.a)(n).pipe(Object(Hn.a)((function(n){var l=e.transitions.getValue();return t.next(new Jn(n.id,e.serializeUrl(n.extractedUrl),n.source,n.restoredState)),l!==e.transitions.getValue()?Nn.a:[n]})),Object(Hn.a)((function(n){return Promise.resolve(n)})),(l=e.ngModule.injector,o=e.configLoader,r=e.urlSerializer,a=e.config,function(n){return n.pipe(Object(Hn.a)((function(n){return function(n,e,t,l,o){return new Nt(n,e,t,l,o).apply()}(l,o,r,n.extractedUrl,a).pipe(Object(An.a)((function(e){return Object(i.a)({},n,{urlAfterRedirects:e})})))})))}),Object(Xn.a)((function(n){e.currentNavigation=Object(i.a)({},e.currentNavigation,{finalUrl:n.urlAfterRedirects})})),function(n,t,l,o,r){return function(l){return l.pipe(Object(Vn.a)((function(l){return function(n,e,t,l,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new $t(n,e,t,l,o,i).recognize()}(n,t,l.urlAfterRedirects,(a=l.urlAfterRedirects,e.serializeUrl(a)),o,r).pipe(Object(An.a)((function(n){return Object(i.a)({},l,{targetSnapshot:n})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(Xn.a)((function(n){"eager"===e.urlUpdateStrategy&&(n.extras.skipLocationChange||e.setBrowserUrl(n.urlAfterRedirects,!!n.extras.replaceUrl,n.id,n.extras.state),e.browserUrlTree=n.urlAfterRedirects)})),Object(Xn.a)((function(n){var l=new le(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);t.next(l)})));if(u&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var s=n.extractedUrl,d=n.source,c=n.restoredState,p=n.extras,f=new Jn(n.id,e.serializeUrl(s),d,c);t.next(f);var h=it(s,e.rootComponentType).snapshot;return Object(En.a)(Object(i.a)({},n,{targetSnapshot:h,urlAfterRedirects:s,extras:Object(i.a)({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=n.rawUrl,e.browserUrlTree=n.urlAfterRedirects,n.resolve(null),Nn.a})),rl((function(n){var t=n.extras;return e.hooks.beforePreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})})),Object(Xn.a)((function(n){var t=new oe(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)})),Object(An.a)((function(n){return Object(i.a)({},n,{guards:(t=n.targetSnapshot,l=n.currentSnapshot,o=e.rootContexts,r=t._root,Ht(r,l?l._root:null,o,[r.value]))});var t,l,o,r})),function(n,e){return function(t){return t.pipe(Object(Vn.a)((function(t){var l=t.targetSnapshot,o=t.currentSnapshot,r=t.guards,a=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===a.length?Object(En.a)(Object(i.a)({},t,{guardsResult:!0})):function(n,e,t,l){return Object(Tn.a)(n).pipe(Object(Vn.a)((function(n){return function(n,e,t,l,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(En.a)(!0);var r=i.map((function(i){var r,a=Bt(i,e,o);if(function(n){return n&&Tt(n.canDeactivate)}(a))r=Fe(a.canDeactivate(n,e,t,l));else{if(!Tt(a))throw new Error("Invalid CanDeactivate guard");r=Fe(a(n,e,t,l))}return r.pipe(Object(jn.a)())}));return Object(En.a)(r).pipe(Gt())}(n.component,n.route,t,e,l)})),Object(jn.a)((function(n){return!0!==n}),!0))}(u,l,o,n).pipe(Object(Vn.a)((function(t){return t&&"boolean"==typeof t?function(n,e,t,l){return Object(Tn.a)(e).pipe(Object(Zn.a)((function(e){return Object(Tn.a)([Zt(e.route.parent,l),Wt(e.route,l),Xt(n,e.path,t),Kt(n,e.route,t)]).pipe(Object(Pn.a)(),Object(jn.a)((function(n){return!0!==n}),!0))})),Object(jn.a)((function(n){return!0!==n}),!0))}(l,a,n,e):Object(En.a)(t)})),Object(An.a)((function(n){return Object(i.a)({},t,{guardsResult:n})})))})))}}(e.ngModule.injector,(function(n){return e.triggerEvent(n)})),Object(Xn.a)((function(n){if(Rt(n.guardsResult)){var t=ye('Redirecting to "'+e.serializeUrl(n.guardsResult)+'"');throw t.url=n.guardsResult,t}})),Object(Xn.a)((function(n){var t=new ie(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);e.triggerEvent(t)})),Object(Wn.a)((function(n){if(!n.guardsResult){e.resetUrlToCurrentUrlTree();var l=new ee(n.id,e.serializeUrl(n.extractedUrl),"");return t.next(l),n.resolve(!1),!1}return!0})),rl((function(n){if(n.guards.canActivateChecks.length)return Object(En.a)(n).pipe(Object(Xn.a)((function(n){var t=new re(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)})),(t=e.paramsInheritanceStrategy,l=e.ngModule.injector,function(n){return n.pipe(Object(Vn.a)((function(n){var e=n.targetSnapshot,o=n.guards.canActivateChecks;return o.length?Object(Tn.a)(o).pipe(Object(Zn.a)((function(n){return function(n,e,t,l){return function(n,e,t,l){var o=Object.keys(n);if(0===o.length)return Object(En.a)({});if(1===o.length){var i=o[0];return il(n[i],e,t,l).pipe(Object(An.a)((function(n){var e;return(e={})[i]=n,e})))}var r={};return Object(Tn.a)(o).pipe(Object(Vn.a)((function(o){return il(n[o],e,t,l).pipe(Object(An.a)((function(n){return r[o]=n,n})))}))).pipe(Object(qn.a)(),Object(An.a)((function(){return r})))}(n._resolve,n,e,l).pipe(Object(An.a)((function(e){return n._resolvedData=e,n.data=Object(i.a)({},n.data,at(n,t).resolve),null})))}(n.route,e,t,l)})),Object(Kn.a)((function(n,e){return n})),Object(An.a)((function(e){return n}))):Object(En.a)(n)})))}),Object(Xn.a)((function(n){var t=new ae(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)})));var t,l})),rl((function(n){var t=n.extras;return e.hooks.afterPreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})})),Object(An.a)((function(n){var t,l,o,r=(o=function n(e,t,l){if(l&&e.shouldReuseRoute(t.value,l.value.snapshot)){(s=l.value)._futureSnapshot=t.value;var o=function(e,t,l){return t.children.map((function(t){var o,r;try{for(var a=Object(i.g)(l.children),u=a.next();!u.done;u=a.next()){var s=u.value;if(e.shouldReuseRoute(s.value.snapshot,t.value))return n(e,t,s)}}catch(d){o={error:d}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return n(e,t)}))}(e,t,l);return new tt(s,o)}var r=e.retrieve(t.value);if(r){var a=r.route;return function n(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var l=0;l<e.children.length;++l)n(e.children[l],t.children[l])}(t,a),a}var u,s=new rt(new Rn.a((u=t.value).url),new Rn.a(u.params),new Rn.a(u.queryParams),new Rn.a(u.fragment),new Rn.a(u.data),u.outlet,u.component,u);return o=t.children.map((function(t){return n(e,t)})),new tt(s,o)}(e.routeReuseStrategy,(t=n.targetSnapshot)._root,(l=n.currentRouterState)?l._root:void 0),new ot(o,t));return Object(i.a)({},n,{targetRouterState:r})})),Object(Xn.a)((function(n){e.currentUrlTree=n.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,n.rawUrl),e.routerState=n.targetRouterState,"deferred"===e.urlUpdateStrategy&&(n.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!n.extras.replaceUrl,n.id,n.extras.state),e.browserUrlTree=n.urlAfterRedirects)})),(l=e.rootContexts,o=e.routeReuseStrategy,r=function(n){return e.triggerEvent(n)},Object(An.a)((function(n){return new kt(o,n.targetRouterState,n.currentRouterState,r).activate(l),n}))),Object(Xn.a)({next:function(){a=!0},complete:function(){a=!0}}),Object(Yn.a)((function(){if(!a&&!u){e.resetUrlToCurrentUrlTree();var l=new ee(n.id,e.serializeUrl(n.extractedUrl),"Navigation ID "+n.id+" is not equal to the current navigation id "+e.navigationId);t.next(l),n.resolve(!1)}e.currentNavigation=null})),Object(Ln.a)((function(l){if(u=!0,(a=l)&&a[_e]){var o=Rt(l.url);o||(e.navigated=!0,e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl));var i=new ee(n.id,e.serializeUrl(n.extractedUrl),l.message);t.next(i),n.resolve(!1),o&&e.navigateByUrl(l.url)}else{e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl);var r=new te(n.id,e.serializeUrl(n.extractedUrl),l);t.next(r);try{n.resolve(e.errorHandler(l))}catch(s){n.reject(s)}}var a;return Nn.a})))})))},n.prototype.resetRootComponentType=function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType},n.prototype.getTransition=function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n},n.prototype.setTransition=function(n){this.transitions.next(Object(i.a)({},this.getTransition(),n))},n.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},n.prototype.setUpLocationChangeListener=function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(e){var t=n.parseUrl(e.url),l="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout((function(){n.scheduleNavigation(t,l,o,{replaceUrl:!0})}),0)})))},Object.defineProperty(n.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),n.prototype.getCurrentNavigation=function(){return this.currentNavigation},n.prototype.triggerEvent=function(n){this.events.next(n)},n.prototype.resetConfig=function(n){Se(n),this.config=n.map(Ee),this.navigated=!1,this.lastSuccessfulId=-1},n.prototype.ngOnDestroy=function(){this.dispose()},n.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},n.prototype.createUrlTree=function(n,e){void 0===e&&(e={});var t=e.relativeTo,l=e.queryParams,r=e.fragment,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;Object(o.isDevMode)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var d=t||this.routerState.root,c=s?this.currentUrlTree.fragment:r,p=null;if(u)switch(u){case"merge":p=Object(i.a)({},this.currentUrlTree.queryParams,l);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=l||null}else p=a?this.currentUrlTree.queryParams:l||null;return null!==p&&(p=this.removeEmptyProps(p)),function(n,e,t,l,o){if(0===t.length)return mt(e.root,e.root,e,l,o);var r=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new vt(!0,0,n);var e=0,t=!1,l=n.reduce((function(n,l,o){if("object"==typeof l&&null!=l){if(l.outlets){var r={};return De(l.outlets,(function(n,e){r[e]="string"==typeof n?n.split("/"):n})),Object(i.f)(n,[{outlets:r}])}if(l.segmentPath)return Object(i.f)(n,[l.segmentPath])}return"string"!=typeof l?Object(i.f)(n,[l]):0===o?(l.split("/").forEach((function(l,o){0==o&&"."===l||(0==o&&""===l?t=!0:".."===l?e++:""!=l&&n.push(l))})),n):Object(i.f)(n,[l])}),[]);return new vt(t,e,l)}(t);if(r.toRoot())return mt(e.root,new Ne([],{}),e,l,o);var a=function(n,e,t){if(n.isAbsolute)return new gt(e.root,!0,0);if(-1===t.snapshot._lastPathIndex)return new gt(t.snapshot._urlSegment,!0,0);var l=ht(n.commands[0])?0:1;return function(n,e,t){for(var l=n,o=e,i=t;i>o;){if(i-=o,!(l=l.parent))throw new Error("Invalid number of '../'");o=l.segments.length}return new gt(l,!1,o-i)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+l,n.numberOfDoubleDots)}(r,e,n),u=a.processChildren?yt(a.segmentGroup,a.index,r.commands):_t(a.segmentGroup,a.index,r.commands);return mt(a.segmentGroup,u,e,l,o)}(d,this.currentUrlTree,n,p,c)},n.prototype.navigateByUrl=function(n,e){void 0===e&&(e={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var t=Rt(n)?n:this.parseUrl(n),l=this.urlHandlingStrategy.merge(t,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,e)},n.prototype.navigate=function(n,e){return void 0===e&&(e={skipLocationChange:!1}),function(n){for(var e=0;e<n.length;e++){var t=n[e];if(null==t)throw new Error("The requested path contains "+t+" segment at index "+e)}}(n),this.navigateByUrl(this.createUrlTree(n,e),e)},n.prototype.serializeUrl=function(n){return this.urlSerializer.serialize(n)},n.prototype.parseUrl=function(n){var e;try{e=this.urlSerializer.parse(n)}catch(t){e=this.malformedUriErrorHandler(t,this.urlSerializer,n)}return e},n.prototype.isActive=function(n,e){if(Rt(n))return Oe(this.currentUrlTree,n,e);var t=this.parseUrl(n);return Oe(this.currentUrlTree,t,e)},n.prototype.removeEmptyProps=function(n){return Object.keys(n).reduce((function(e,t){var l=n[t];return null!=l&&(e[t]=l),e}),{})},n.prototype.processNavigations=function(){var n=this;this.navigations.subscribe((function(e){n.navigated=!0,n.lastSuccessfulId=e.id,n.events.next(new ne(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,n.currentNavigation=null,e.resolve(!0)}),(function(e){n.console.warn("Unhandled Navigation Error: ")}))},n.prototype.scheduleNavigation=function(n,e,t,l){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);var i=null,r=null,a=new Promise((function(n,e){i=n,r=e})),u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:l,resolve:i,reject:r,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((function(n){return Promise.reject(n)}))},n.prototype.setBrowserUrl=function(n,e,t,l){var o=this.urlSerializer.serialize(n);l=l||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object(i.a)({},l,{navigationId:t})):this.location.go(o,"",Object(i.a)({},l,{navigationId:t}))},n.prototype.resetStateAndUrl=function(n,e,t){this.routerState=n,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t),this.resetUrlToCurrentUrlTree()},n.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},n}(),gl=function(){function n(n,e,t,l,o){this.router=n,this.route=e,this.commands=[],null==t&&l.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.onClick=function(){var n={skipLocationChange:_l(this.skipLocationChange),replaceUrl:_l(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,n),!0},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:_l(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:_l(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}(),bl=function(){function n(n,e,t){var l=this;this.router=n,this.route=e,this.locationStrategy=t,this.commands=[],this.subscription=n.events.subscribe((function(n){n instanceof ne&&l.updateTargetUrlAndHref()}))}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){this.updateTargetUrlAndHref()},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.onClick=function(n,e,t,l){if(0!==n||e||t||l)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:_l(this.skipLocationChange),replaceUrl:_l(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1},n.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:_l(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:_l(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}();function _l(n){return""===n||!!n}var yl=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Cl,this.attachRef=null}}(),Cl=function(){function n(){this.contexts=new Map}return n.prototype.onChildOutletCreated=function(n,e){var t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)},n.prototype.onChildOutletDestroyed=function(n){var e=this.getContext(n);e&&(e.outlet=null)},n.prototype.onOutletDeactivated=function(){var n=this.contexts;return this.contexts=new Map,n},n.prototype.onOutletReAttached=function(n){this.contexts=n},n.prototype.getOrCreateContext=function(n){var e=this.getContext(n);return e||(e=new yl,this.contexts.set(n,e)),e},n.prototype.getContext=function(n){return this.contexts.get(n)||null},n}(),wl=function(){function n(n,e,t,l,i){this.parentContexts=n,this.location=e,this.resolver=t,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=l||ve,n.onChildOutletCreated(this.name,this)}return n.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},n.prototype.ngOnInit=function(){if(!this.activated){var n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}},Object.defineProperty(n.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),n.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var n=this.activated;return this.activated=null,this._activatedRoute=null,n},n.prototype.attach=function(n,e){this.activated=n,this._activatedRoute=e,this.location.insert(n.hostView)},n.prototype.deactivate=function(){if(this.activated){var n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},n.prototype.activateWith=function(n,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;var t=(e=e||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,o=new Sl(n,l,this.location.injector);this.activated=this.location.createComponent(t,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},n}(),Sl=function(){function n(n,e,t){this.route=n,this.childContexts=e,this.parent=t}return n.prototype.get=function(n,e){return n===rt?this.route:n===Cl?this.childContexts:this.parent.get(n,e)},n}(),xl=function(){return function(){}}(),kl=function(){function n(){}return n.prototype.preload=function(n,e){return e().pipe(Object(Ln.a)((function(){return Object(En.a)(null)})))},n}(),El=function(){function n(){}return n.prototype.preload=function(n,e){return Object(En.a)(null)},n}(),Tl=function(){function n(n,e,t,l,o){this.router=n,this.injector=l,this.preloadingStrategy=o,this.loader=new dl(e,t,(function(e){return n.triggerEvent(new ue(e))}),(function(e){return n.triggerEvent(new se(e))}))}return n.prototype.setUpPreloading=function(){var n=this;this.subscription=this.router.events.pipe(Object(Wn.a)((function(n){return n instanceof ne})),Object(Zn.a)((function(){return n.preload()}))).subscribe((function(){}))},n.prototype.preload=function(){var n=this.injector.get(o.NgModuleRef);return this.processRoutes(n,this.router.config)},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.processRoutes=function(n,e){var t,l,o=[];try{for(var r=Object(i.g)(e),a=r.next();!a.done;a=r.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var s=u._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(n,u)):u.children&&o.push(this.processRoutes(n,u.children))}}catch(d){t={error:d}}finally{try{a&&!a.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return Object(Tn.a)(o).pipe(Object($n.a)(),Object(An.a)((function(n){})))},n.prototype.preloadConfig=function(n,e){var t=this;return this.preloadingStrategy.preload(e,(function(){return t.loader.load(n.injector,e).pipe(Object(Vn.a)((function(n){return e._loadedConfig=n,t.processRoutes(n.module,n.routes)})))}))},n}(),Rl=function(){function n(n,e,t){void 0===t&&(t={}),this.router=n,this.viewportScroller=e,this.options=t,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},t.scrollPositionRestoration=t.scrollPositionRestoration||"disabled",t.anchorScrolling=t.anchorScrolling||"disabled"}return n.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},n.prototype.createScrollEvents=function(){var n=this;return this.router.events.subscribe((function(e){e instanceof Jn?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=e.navigationTrigger,n.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ne&&(n.lastId=e.id,n.scheduleScrollEvent(e,n.router.parseUrl(e.urlAfterRedirects).fragment))}))},n.prototype.consumeScrollEvents=function(){var n=this;return this.router.events.subscribe((function(e){e instanceof he&&(e.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))}))},n.prototype.scheduleScrollEvent=function(n,e){this.router.triggerEvent(new he(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},n.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},n}(),Il=new o.InjectionToken("ROUTER_CONFIGURATION"),Dl=new o.InjectionToken("ROUTER_FORROOT_GUARD"),Fl=[r.Location,{provide:Le,useClass:je},{provide:vl,useFactory:Ll,deps:[o.ApplicationRef,Le,Cl,r.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,sl,Il,[cl,new o.Optional],[al,new o.Optional]]},Cl,{provide:rt,useFactory:jl,deps:[vl]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},Tl,El,kl,{provide:Il,useValue:{enableTracing:!1}}];function Ol(){return new o.NgProbeToken("Router",vl)}var Ml=function(){function n(n,e){}var e;return e=n,n.forRoot=function(n,t){return{ngModule:e,providers:[Fl,ql(n),{provide:Dl,useFactory:Pl,deps:[[vl,new o.Optional,new o.SkipSelf]]},{provide:Il,useValue:t||{}},{provide:r.LocationStrategy,useFactory:Al,deps:[r.PlatformLocation,[new o.Inject(r.APP_BASE_HREF),new o.Optional],Il]},{provide:Rl,useFactory:Nl,deps:[vl,r.ViewportScroller,Il]},{provide:xl,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:El},{provide:o.NgProbeToken,multi:!0,useFactory:Ol},[Vl,{provide:o.APP_INITIALIZER,multi:!0,useFactory:Bl,deps:[Vl]},{provide:Ul,useFactory:Hl,deps:[Vl]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Ul}]]}},n.forChild=function(n){return{ngModule:e,providers:[ql(n)]}},n}();function Nl(n,e,t){return t.scrollOffset&&e.setOffset(t.scrollOffset),new Rl(n,e,t)}function Al(n,e,t){return void 0===t&&(t={}),t.useHash?new r.HashLocationStrategy(n,e):new r.PathLocationStrategy(n,e)}function Pl(n){if(n)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ql(n){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:n},{provide:sl,multi:!0,useValue:n}]}function Ll(n,e,t,l,o,i,r,a,s,d,c){void 0===s&&(s={});var p=new vl(null,e,t,l,o,i,r,Re(a));if(d&&(p.urlHandlingStrategy=d),c&&(p.routeReuseStrategy=c),s.errorHandler&&(p.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(p.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var f=u();p.events.subscribe((function(n){f.logGroup("Router Event: "+n.constructor.name),f.log(n.toString()),f.log(n),f.logGroupEnd()}))}return s.onSameUrlNavigation&&(p.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(p.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(p.relativeLinkResolution=s.relativeLinkResolution),p}function jl(n){return n.routerState.root}var Vl=function(){function n(n){this.injector=n,this.initNavigation=!1,this.resultOfPreactivationDone=new Mn.b}return n.prototype.appInitializer=function(){var n=this;return this.injector.get(r.LOCATION_INITIALIZED,Promise.resolve(null)).then((function(){var e=null,t=new Promise((function(n){return e=n})),l=n.injector.get(vl),o=n.injector.get(Il);if(n.isLegacyDisabled(o)||n.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)l.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");l.hooks.afterPreactivation=function(){return n.initNavigation?Object(En.a)(null):(n.initNavigation=!0,e(!0),n.resultOfPreactivationDone)},l.initialNavigation()}return t}))},n.prototype.bootstrapListener=function(n){var e=this.injector.get(Il),t=this.injector.get(Tl),l=this.injector.get(Rl),i=this.injector.get(vl),r=this.injector.get(o.ApplicationRef);n===r.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),t.setUpPreloading(),l.init(),i.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},n.prototype.isLegacyEnabled=function(n){return"legacy_enabled"===n.initialNavigation||!0===n.initialNavigation||void 0===n.initialNavigation},n.prototype.isLegacyDisabled=function(n){return"legacy_disabled"===n.initialNavigation||!1===n.initialNavigation},n}();function Bl(n){return n.appInitializer.bind(n)}function Hl(n){return n.bootstrapListener.bind(n)}var Ul=new o.InjectionToken("Router Initializer"),zl=function(){function n(n,e,t,l,o,i,r){var a=this;this.settingsService=t,this.electronService=l,this.themeService=o,this.router=i,this.progressService=r,n.addSvgIcon("gns3",e.bypassSecurityTrustResourceUrl("./assets/gns3_icon.svg")),n.addSvgIcon("gns3black",e.bypassSecurityTrustResourceUrl("./assets/gns3_icon_black.svg")),i.events.subscribe((function(n){a.checkEvent(n)}))}return n.prototype.ngOnInit=function(){var n=this;this.electronService.isElectronApp&&this.settingsService.subscribe((function(e){n.electronService.ipcRenderer.send("settings.changed",e)}));var e=localStorage.getItem("theme");this.themeService.setDarkMode("light"!==e)},n.prototype.checkEvent=function(n){n instanceof Jn?this.progressService.activate():(n instanceof ne||n instanceof ee||n instanceof te)&&this.progressService.deactivate()},n}(),Gl=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Wl(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["ɵdid"](1,212992,null,0,wl,[Cl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],(function(n,e){n(e,1,0)}),null)}function Zl(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,Wl,Gl)),o["ɵdid"](1,49152,null,0,me,[],null,null)],null,null)}var Kl,Xl=o["ɵccf"]("ng-component",me,Zl,{},{},[]),Yl=new o.Version("8.2.3");function $l(n){return null!=n&&""+n!="false"}function Ql(n,e){return void 0===e&&(e=0),function(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function Jl(n){return Array.isArray(n)?n:[n]}function no(n){return null==n?"":"string"==typeof n?n:n+"px"}function eo(n){return n instanceof o.ElementRef?n.nativeElement:n}try{Kl="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Bun){Kl=!1}var to,lo,oo,io=function(){function n(n){this._platformId=n,this.isBrowser=this._platformId?Object(r.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Kl)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(o.PLATFORM_ID,8))},token:n,providedIn:"root"}),n}(),ro=function(){return function(){}}(),ao=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function uo(){if(to)return to;if("object"!=typeof document||!document)return to=new Set(ao);var n=document.createElement("input");return to=new Set(ao.filter((function(e){return n.setAttribute("type",e),n.type===e})))}function so(n){return function(){if(null==lo&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return lo=!0}}))}finally{lo=lo||!1}return lo}()?n:!!n.capture}var co=t("pugT"),po=27;function fo(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.length?e.some((function(e){return n[e]})):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var ho=t("Gi3i");function mo(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}var vo=0,go=new Map,bo=null,_o=function(){function n(n){this._document=n}return n.prototype.describe=function(n,e){this._canBeDescribed(n,e)&&("string"!=typeof e?(this._setMessageId(e),go.set(e,{messageElement:e,referenceCount:0})):go.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(n,e)||this._addMessageReference(n,e))},n.prototype.removeDescription=function(n,e){if(this._isElementNode(n)){if(this._isElementDescribedByMessage(n,e)&&this._removeMessageReference(n,e),"string"==typeof e){var t=go.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}bo&&0===bo.childNodes.length&&this._deleteMessagesContainer()}},n.prototype.ngOnDestroy=function(){for(var n=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<n.length;e++)this._removeCdkDescribedByReferenceIds(n[e]),n[e].removeAttribute("cdk-describedby-host");bo&&this._deleteMessagesContainer(),go.clear()},n.prototype._createMessageElement=function(n){var e=this._document.createElement("div");this._setMessageId(e),e.textContent=n,this._createMessagesContainer(),bo.appendChild(e),go.set(n,{messageElement:e,referenceCount:0})},n.prototype._setMessageId=function(n){n.id||(n.id="cdk-describedby-message-"+vo++)},n.prototype._deleteMessageElement=function(n){var e=go.get(n),t=e&&e.messageElement;bo&&t&&bo.removeChild(t),go.delete(n)},n.prototype._createMessagesContainer=function(){if(!bo){var n=this._document.getElementById("cdk-describedby-message-container");n&&n.parentNode.removeChild(n),(bo=this._document.createElement("div")).id="cdk-describedby-message-container",bo.setAttribute("aria-hidden","true"),bo.style.display="none",this._document.body.appendChild(bo)}},n.prototype._deleteMessagesContainer=function(){bo&&bo.parentNode&&(bo.parentNode.removeChild(bo),bo=null)},n.prototype._removeCdkDescribedByReferenceIds=function(n){var e=mo(n,"aria-describedby").filter((function(n){return 0!=n.indexOf("cdk-describedby-message")}));n.setAttribute("aria-describedby",e.join(" "))},n.prototype._addMessageReference=function(n,e){var t,l,o,i=go.get(e);l=i.messageElement.id,(o=mo(t=n,"aria-describedby")).some((function(n){return n.trim()==l.trim()}))||(o.push(l.trim()),t.setAttribute("aria-describedby",o.join(" "))),n.setAttribute("cdk-describedby-host",""),i.referenceCount++},n.prototype._removeMessageReference=function(n,e){var t,l,o,i,r=go.get(e);r.referenceCount--,o=r.messageElement.id,(i=mo(t=n,l="aria-describedby").filter((function(n){return n!=o.trim()}))).length?t.setAttribute(l,i.join(" ")):t.removeAttribute(l),n.removeAttribute("cdk-describedby-host")},n.prototype._isElementDescribedByMessage=function(n,e){var t=mo(n,"aria-describedby"),l=go.get(e),o=l&&l.messageElement.id;return!!o&&-1!=t.indexOf(o)},n.prototype._canBeDescribed=function(n,e){if(!this._isElementNode(n))return!1;if(e&&"object"==typeof e)return!0;var t=null==e?"":(""+e).trim(),l=n.getAttribute("aria-label");return!(!t||l&&l.trim()===t)},n.prototype._isElementNode=function(n){return n.nodeType===this._document.ELEMENT_NODE},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),yo=function(){function n(n){var e=this;this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Mn.b,this._typeaheadSubscription=co.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(n){return n.disabled},this._pressedLetters=[],this.tabOut=new Mn.b,this.change=new Mn.b,n instanceof o.QueryList&&n.changes.subscribe((function(n){if(e._activeItem){var t=n.toArray().indexOf(e._activeItem);t>-1&&t!==e._activeItemIndex&&(e._activeItemIndex=t)}}))}return n.prototype.skipPredicate=function(n){return this._skipPredicateFn=n,this},n.prototype.withWrap=function(n){return void 0===n&&(n=!0),this._wrap=n,this},n.prototype.withVerticalOrientation=function(n){return void 0===n&&(n=!0),this._vertical=n,this},n.prototype.withHorizontalOrientation=function(n){return this._horizontal=n,this},n.prototype.withAllowedModifierKeys=function(n){return this._allowedModifierKeys=n,this},n.prototype.withTypeAhead=function(n){var e=this;if(void 0===n&&(n=200),this._items.length&&this._items.some((function(n){return"function"!=typeof n.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(Xn.a)((function(n){return e._pressedLetters.push(n)})),Object(ho.a)(n),Object(Wn.a)((function(){return e._pressedLetters.length>0})),Object(An.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(n){for(var t=e._getItemsArray(),l=1;l<t.length+1;l++){var o=(e._activeItemIndex+l)%t.length,i=t[o];if(!e._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(n)){e.setActiveItem(o);break}}e._pressedLetters=[]})),this},n.prototype.setActiveItem=function(n){var e=this._activeItemIndex;this.updateActiveItem(n),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)},n.prototype.onKeydown=function(n){var e=this,t=n.keyCode,l=["altKey","ctrlKey","metaKey","shiftKey"].every((function(t){return!n[t]||e._allowedModifierKeys.indexOf(t)>-1}));switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&l){this.setNextItemActive();break}return;case 38:if(this._vertical&&l){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&l){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&l){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((l||fo(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()},Object.defineProperty(n.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),n.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},n.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},n.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},n.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},n.prototype.updateActiveItem=function(n){var e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),l=e[t];this._activeItem=null==l?null:l,this._activeItemIndex=t},n.prototype.updateActiveItemIndex=function(n){this.updateActiveItem(n)},n.prototype._setActiveItemByDelta=function(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)},n.prototype._setActiveInWrapMode=function(n){for(var e=this._getItemsArray(),t=1;t<=e.length;t++){var l=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[l]))return void this.setActiveItem(l)}},n.prototype._setActiveInDefaultMode=function(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)},n.prototype._setActiveItemByIndex=function(n,e){var t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}},n.prototype._getItemsArray=function(){return this._items instanceof o.QueryList?this._items.toArray():this._items},n}(),Co=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),n.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(yo),wo=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._origin="program",e}return Object(i.c)(e,n),e.prototype.setFocusOrigin=function(n){return this._origin=n,this},e.prototype.setActiveItem=function(e){n.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(yo),So=function(){function n(n){this._platform=n}return n.prototype.isDisabled=function(n){return n.hasAttribute("disabled")},n.prototype.isVisible=function(n){return function(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility},n.prototype.isTabbable=function(n){if(!this._platform.isBrowser)return!1;var e,t=function(n){try{return n.frameElement}catch(Bun){return null}}((e=n).ownerDocument&&e.ownerDocument.defaultView||window);if(t){var l=t&&t.nodeName.toLowerCase();if(-1===ko(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===l)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var o=n.nodeName.toLowerCase(),i=ko(n);if(n.hasAttribute("contenteditable"))return-1!==i;if("iframe"===o)return!1;if("audio"===o){if(!n.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===o){if(!n.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==o||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(n){var e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(n))&&n.tabIndex>=0},n.prototype.isFocusable=function(n){return function(n){return!function(n){return function(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function(n){var e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function(n){return function(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||xo(n))}(n)&&!this.isDisabled(n)&&this.isVisible(n)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(io))},token:n,providedIn:"root"}),n}();function xo(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var e=n.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function ko(n){if(!xo(n))return null;var e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Eo=function(){function n(n,e,t,l,o){var i=this;void 0===o&&(o=!1),this._element=n,this._checker=e,this._ngZone=t,this._document=l,this._hasAttached=!1,this.startAnchorListener=function(){return i.focusLastTabbableElement()},this.endAnchorListener=function(){return i.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return Object.defineProperty(n.prototype,"enabled",{get:function(){return this._enabled},set:function(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){var n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},n.prototype.attachAnchors=function(){var n=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){n._startAnchor||(n._startAnchor=n._createAnchor(),n._startAnchor.addEventListener("focus",n.startAnchorListener)),n._endAnchor||(n._endAnchor=n._createAnchor(),n._endAnchor.addEventListener("focus",n.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},n.prototype.focusInitialElementWhenReady=function(){var n=this;return new Promise((function(e){n._executeOnStable((function(){return e(n.focusInitialElement())}))}))},n.prototype.focusFirstTabbableElementWhenReady=function(){var n=this;return new Promise((function(e){n._executeOnStable((function(){return e(n.focusFirstTabbableElement())}))}))},n.prototype.focusLastTabbableElementWhenReady=function(){var n=this;return new Promise((function(e){n._executeOnStable((function(){return e(n.focusLastTabbableElement())}))}))},n.prototype._getRegionBoundary=function(n){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+n+"], [cdkFocusRegion"+n+"], [cdk-focus-"+n+"]"),t=0;t<e.length;t++)e[t].hasAttribute("cdk-focus-"+n)?console.warn("Found use of deprecated attribute 'cdk-focus-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",e[t]):e[t].hasAttribute("cdk-focus-region-"+n)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",e[t]);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)},n.prototype.focusInitialElement=function(){var n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return n?(n.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",n),Object(o.isDevMode)()&&!this._checker.isFocusable(n)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",n),n.focus(),!0):this.focusFirstTabbableElement()},n.prototype.focusFirstTabbableElement=function(){var n=this._getRegionBoundary("start");return n&&n.focus(),!!n},n.prototype.focusLastTabbableElement=function(){var n=this._getRegionBoundary("end");return n&&n.focus(),!!n},n.prototype.hasAttached=function(){return this._hasAttached},n.prototype._getFirstTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var e=n.children||n.childNodes,t=0;t<e.length;t++){var l=e[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[t]):null;if(l)return l}return null},n.prototype._getLastTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var e=n.children||n.childNodes,t=e.length-1;t>=0;t--){var l=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(l)return l}return null},n.prototype._createAnchor=function(){var n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n},n.prototype._toggleAnchorTabIndex=function(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},n.prototype._executeOnStable=function(n){this._ngZone.isStable?n():this._ngZone.onStable.asObservable().pipe(Object(Un.a)(1)).subscribe(n)},n}(),To=function(){function n(n,e,t){this._checker=n,this._ngZone=e,this._document=t}return n.prototype.create=function(n,e){return void 0===e&&(e=!1),new Eo(n,this._checker,this._ngZone,this._document,e)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(So),Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),Ro=new o.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Io=new o.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Do=function(){function n(n,e,t,l){this._ngZone=e,this._defaultOptions=l,this._document=t,this._liveElement=n||this._createLiveElement()}return n.prototype.announce=function(n){for(var e=this,t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];var o,i,r=this._defaultOptions;return 1===t.length&&"number"==typeof t[0]?i=t[0]:(o=t[0],i=t[1]),this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==i&&r&&(i=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular((function(){return new Promise((function(t){clearTimeout(e._previousTimeout),e._previousTimeout=setTimeout((function(){e._liveElement.textContent=n,t(),"number"==typeof i&&(e._previousTimeout=setTimeout((function(){return e.clear()}),i))}),100)}))}))},n.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},n.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},n.prototype._createLiveElement=function(){for(var n=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),t=0;t<n.length;t++)n[t].parentNode.removeChild(n[t]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(Ro,8),Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(r.DOCUMENT),Object(o["ɵɵinject"])(Io,8))},token:n,providedIn:"root"}),n}(),Fo=650,Oo=so({passive:!0,capture:!0}),Mo=function(){function n(n,e){var t=this;this._ngZone=n,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(n){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=n.composedPath?n.composedPath()[0]:n.target,t._touchTimeoutId=setTimeout((function(){return t._lastTouchTarget=null}),Fo)},this._windowFocusListener=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout((function(){return t._windowFocused=!1}))}}return n.prototype.monitor=function(n,e){var t=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Object(En.a)(null);var l=eo(n);if(this._elementInfo.has(l)){var o=this._elementInfo.get(l);return o.checkChildren=e,o.subject.asObservable()}var i={unlisten:function(){},checkChildren:e,subject:new Mn.b};this._elementInfo.set(l,i),this._incrementMonitoredElementCount();var r=function(n){return t._onFocus(n,l)},a=function(n){return t._onBlur(n,l)};return this._ngZone.runOutsideAngular((function(){l.addEventListener("focus",r,!0),l.addEventListener("blur",a,!0)})),i.unlisten=function(){l.removeEventListener("focus",r,!0),l.removeEventListener("blur",a,!0)},i.subject.asObservable()},n.prototype.stopMonitoring=function(n){var e=eo(n),t=this._elementInfo.get(e);t&&(t.unlisten(),t.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},n.prototype.focusVia=function(n,e,t){var l=eo(n);this._setOriginForCurrentEventQueue(e),"function"==typeof l.focus&&l.focus(t)},n.prototype.ngOnDestroy=function(){var n=this;this._elementInfo.forEach((function(e,t){return n.stopMonitoring(t)}))},n.prototype._toggleClass=function(n,e,t){t?n.classList.add(e):n.classList.remove(e)},n.prototype._setClasses=function(n,e){this._elementInfo.get(n)&&(this._toggleClass(n,"cdk-focused",!!e),this._toggleClass(n,"cdk-touch-focused","touch"===e),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(n,"cdk-mouse-focused","mouse"===e),this._toggleClass(n,"cdk-program-focused","program"===e))},n.prototype._setOriginForCurrentEventQueue=function(n){var e=this;this._ngZone.runOutsideAngular((function(){e._origin=n,e._originTimeoutId=setTimeout((function(){return e._origin=null}),1)}))},n.prototype._wasCausedByTouch=function(n){var e=n.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},n.prototype._onFocus=function(n,e){var t=this._elementInfo.get(e);if(t&&(t.checkChildren||e===n.target)){var l=this._origin;l||(l=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(n)?"touch":"program"),this._setClasses(e,l),this._emitOrigin(t.subject,l),this._lastFocusOrigin=l}},n.prototype._onBlur=function(n,e){var t=this._elementInfo.get(e);!t||t.checkChildren&&n.relatedTarget instanceof Node&&e.contains(n.relatedTarget)||(this._setClasses(e),this._emitOrigin(t.subject,null))},n.prototype._emitOrigin=function(n,e){this._ngZone.run((function(){return n.next(e)}))},n.prototype._incrementMonitoredElementCount=function(){var n=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",n._documentKeydownListener,Oo),document.addEventListener("mousedown",n._documentMousedownListener,Oo),document.addEventListener("touchstart",n._documentTouchstartListener,Oo),window.addEventListener("focus",n._windowFocusListener)}))},n.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,Oo),document.removeEventListener("mousedown",this._documentMousedownListener,Oo),document.removeEventListener("touchstart",this._documentTouchstartListener,Oo),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(io))},token:n,providedIn:"root"}),n}(),No=function(){function n(n,e){var t=this;this._elementRef=n,this._focusMonitor=e,this.cdkFocusChange=new o.EventEmitter,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(n){return t.cdkFocusChange.emit(n)}))}return n.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},n}();function Ao(n){return 0===n.buttons}var Po=function(){return function(){}}(),qo=new o.Version("8.2.3"),Lo=new o.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),jo=function(){function n(n,e){this._sanityChecksEnabled=n,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return n.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(o.isDevMode)()&&!this._isTestEnv()},n.prototype._isTestEnv=function(){var n=this._window;return n&&(n.__karma__||n.jasmine)},n.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},n.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var e=getComputedStyle(n);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}},n.prototype._checkCdkVersionMatch=function(){qo.full!==Yl.full&&console.warn("The Angular Material version ("+qo.full+") does not match the Angular CDK version ("+Yl.full+").\nPlease ensure the versions of these two packages exactly match.")},n.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},n}();function Vo(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._disabled=!1,l}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=$l(n)},enumerable:!0,configurable:!0}),e}(n)}function Bo(n,e){return function(n){function t(){for(var t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];var o=n.apply(this,t)||this;return o.color=e,o}return Object(i.c)(t,n),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(n){var t=n||e;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)},enumerable:!0,configurable:!0}),t}(n)}function Ho(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._disableRipple=!1,l}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=$l(n)},enumerable:!0,configurable:!0}),e}(n)}function Uo(n,e){return void 0===e&&(e=0),function(n){function t(){for(var t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];var o=n.apply(this,t)||this;return o._tabIndex=e,o}return Object(i.c)(t,n),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(n){this._tabIndex=null!=n?n:e},enumerable:!0,configurable:!0}),t}(n)}function zo(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l.errorState=!1,l.stateChanges=new Mn.b,l}return Object(i.c)(e,n),e.prototype.updateErrorState=function(){var n=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==n&&(this.errorState=e,this.stateChanges.next())},e}(n)}function Go(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._isInitialized=!1,l._pendingSubscribers=[],l.initialized=new In.a((function(n){l._isInitialized?l._notifySubscriber(n):l._pendingSubscribers.push(n)})),l}return Object(i.c)(e,n),e.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},e.prototype._notifySubscriber=function(n){n.next(),n.complete()},e}(n)}var Wo=function(){function n(){}return n.prototype.isErrorState=function(n,e){return!!(n&&n.invalid&&(n.touched||e&&e.submitted))},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Zo=new o.InjectionToken("MAT_HAMMER_OPTIONS"),Ko=["longpress","slide","slidestart","slideend","slideright","slideleft"],Xo={on:function(){},off:function(){}},Yo=function(n){function e(e,t){var l=n.call(this)||this;return l._hammerOptions=e,l.events=Ko,t&&t._checkHammerIsAvailable(),l}return Object(i.c)(e,n),e.prototype.buildHammer=function(n){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return Xo;var t=new e(n,this._hammerOptions||void 0),l=new e.Pan,o=new e.Swipe,i=new e.Press,r=this._createRecognizer(l,{event:"slide",threshold:0},o),a=this._createRecognizer(i,{event:"longpress",time:500});return l.recognizeWith(o),a.recognizeWith(r),t.add([o,i,l,r,a]),t},e.prototype._createRecognizer=function(n,e){for(var t=[],l=2;l<arguments.length;l++)t[l-2]=arguments[l];var o=new n.constructor(e);return t.push(n),t.forEach((function(n){return o.recognizeWith(n)})),o},e}(nn);function $o(n,e,t){var l=n.nativeElement.classList;t?l.add(e):l.remove(e)}var Qo=function(){return function(){}}(),Jo=function(){var n={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return n[n.FADING_IN]="FADING_IN",n[n.VISIBLE]="VISIBLE",n[n.FADING_OUT]="FADING_OUT",n[n.HIDDEN]="HIDDEN",n}(),ni=function(){function n(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=Jo.HIDDEN}return n.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},n}(),ei={enterDuration:450,exitDuration:400},ti=800,li=so({passive:!0}),oi=function(){function n(n,e,t,l){var o=this;this._target=n,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(n){var e=Ao(n),t=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+ti;o._target.rippleDisabled||e||t||(o._isPointerDown=!0,o.fadeInRipple(n.clientX,n.clientY,o._target.rippleConfig))},this._onTouchStart=function(n){if(!o._target.rippleDisabled){o._lastTouchStartEvent=Date.now(),o._isPointerDown=!0;for(var e=n.changedTouches,t=0;t<e.length;t++)o.fadeInRipple(e[t].clientX,e[t].clientY,o._target.rippleConfig)}},this._onPointerUp=function(){o._isPointerDown&&(o._isPointerDown=!1,o._activeRipples.forEach((function(n){!n.config.persistent&&(n.state===Jo.VISIBLE||n.config.terminateOnPointerUp&&n.state===Jo.FADING_IN)&&n.fadeOut()})))},l.isBrowser&&(this._containerElement=eo(t),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}return n.prototype.fadeInRipple=function(n,e,t){var l=this;void 0===t&&(t={});var o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object(i.a)({},ei,t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);var a=t.radius||function(n,e,t){var l=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),o=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(l*l+o*o)}(n,e,o),u=n-o.left,s=e-o.top,d=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=u-a+"px",c.style.top=s-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",c.style.backgroundColor=t.color||null,c.style.transitionDuration=d+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var p=new ni(this,c,t);return p.state=Jo.FADING_IN,this._activeRipples.add(p),t.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone((function(){var n=p===l._mostRecentTransientRipple;p.state=Jo.VISIBLE,t.persistent||n&&l._isPointerDown||p.fadeOut()}),d),p},n.prototype.fadeOutRipple=function(n){var e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var t=n.element,l=Object(i.a)({},ei,n.config.animation);t.style.transitionDuration=l.exitDuration+"ms",t.style.opacity="0",n.state=Jo.FADING_OUT,this._runTimeoutOutsideZone((function(){n.state=Jo.HIDDEN,t.parentNode.removeChild(t)}),l.exitDuration)}},n.prototype.fadeOutAll=function(){this._activeRipples.forEach((function(n){return n.fadeOut()}))},n.prototype.setupTriggerEvents=function(n){var e=this,t=eo(n);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){e._triggerEvents.forEach((function(n,e){t.addEventListener(e,n,li)}))})),this._triggerElement=t)},n.prototype._runTimeoutOutsideZone=function(n,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular((function(){return setTimeout(n,e)}))},n.prototype._removeTriggerEvents=function(){var n=this;this._triggerElement&&this._triggerEvents.forEach((function(e,t){n._triggerElement.removeEventListener(t,e,li)}))},n}(),ii=new o.InjectionToken("mat-ripple-global-options"),ri=function(){function n(n,e,t,l,o){this._elementRef=n,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new oi(this,e,n,t),"NoopAnimations"===o&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},n.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},n.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(n.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object(i.a)({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),n.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},n.prototype.launch=function(n,e,t){return void 0===e&&(e=0),"number"==typeof n?this._rippleRenderer.fadeInRipple(n,e,Object(i.a)({},this.rippleConfig,t)):this._rippleRenderer.fadeInRipple(0,0,Object(i.a)({},this.rippleConfig,n))},n}(),ai=function(){return function(){}}(),ui=function(){return function(n){this._animationMode=n,this.state="unchecked",this.disabled=!1}}(),si=function(){return function(){}}(),di=0,ci=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+di++,e}return Object(i.c)(e,n),e}(Vo(function(){return function(){}}())),pi=0,fi=function(){return function(n,e){void 0===e&&(e=!1),this.source=n,this.isUserInput=e}}(),hi=new o.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mi=function(){function n(n,e,t,l){this._element=n,this._changeDetectorRef=e,this._parent=t,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+pi++,this.onSelectionChange=new o.EventEmitter,this._stateChanges=new Mn.b}return Object.defineProperty(n.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),n.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.focus=function(n,e){var t=this._getHostElement();"function"==typeof t.focus&&t.focus(e)},n.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},n.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},n.prototype.getLabel=function(){return this.viewValue},n.prototype._handleKeydown=function(n){13!==n.keyCode&&32!==n.keyCode||fo(n)||(this._selectViaInteraction(),n.preventDefault())},n.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},n.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},n.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},n.prototype._getHostElement=function(){return this._element.nativeElement},n.prototype.ngAfterViewChecked=function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._emitSelectionChangeEvent=function(n){void 0===n&&(n=!1),this.onSelectionChange.emit(new fi(this,n))},n}();function vi(n,e,t){if(t.length){for(var l=e.toArray(),o=t.toArray(),i=0,r=0;r<n+1;r++)l[r].group&&l[r].group===o[i]&&i++;return i}return 0}var gi=function(){return function(){}}(),bi=new o.InjectionToken("mat-label-global-options"),_i="accent",yi=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Ci=function(n){function e(e,t,l){var o=n.call(this,e)||this;o._focusMonitor=t,o._animationMode=l,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var i=0,r=yi;i<r.length;i++){var a=r[i];o._hasHostAttributes(a)&&o._getHostElement().classList.add(a)}return e.nativeElement.classList.add("mat-button-base"),o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=_i),o}return Object(i.c)(e,n),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(n,e){void 0===n&&(n="program"),this._focusMonitor.focusVia(this._getHostElement(),n,e)},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.some((function(e){return n._getHostElement().hasAttribute(e)}))},e}(Bo(Vo(Ho(function(){return function(n){this._elementRef=n}}())))),wi=function(n){function e(e,t,l){return n.call(this,t,e,l)||this}return Object(i.c)(e,n),e.prototype._haltDisabledEvents=function(n){this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())},e}(Ci),Si=function(){return function(){}}(),xi=new o.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(o.inject)(r.DOCUMENT)}}),ki=function(){function n(n){if(this.value="ltr",this.change=new o.EventEmitter,n){var e=(n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return n.prototype.ngOnDestroy=function(){this.change.complete()},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(xi,8))},token:n,providedIn:"root"}),n}(),Ei=function(){return function(){}}(),Ti=function(){return function(){}}(),Ri=function(){return function(){}}(),Ii="*";function Di(n,e){return void 0===e&&(e=null),{type:2,steps:n,options:e}}function Fi(n){return{type:6,styles:n,offset:null}}function Oi(n){Promise.resolve(null).then(n)}var Mi=function(){function n(n,e){void 0===n&&(n=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=n+e}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.init=function(){},n.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},n.prototype.triggerMicrotask=function(){var n=this;Oi((function(){return n._onFinish()}))},n.prototype._onStart=function(){this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[]},n.prototype.pause=function(){},n.prototype.restart=function(){},n.prototype.finish=function(){this._onFinish()},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.reset=function(){},n.prototype.setPosition=function(n){},n.prototype.getPosition=function(){return 0},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach((function(n){return n()})),e.length=0},n}(),Ni=function(){function n(n){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;var t=0,l=0,o=0,i=this.players.length;0==i?Oi((function(){return e._onFinish()})):this.players.forEach((function(n){n.onDone((function(){++t==i&&e._onFinish()})),n.onDestroy((function(){++l==i&&e._onDestroy()})),n.onStart((function(){++o==i&&e._onStart()}))})),this.totalTime=this.players.reduce((function(n,e){return Math.max(n,e.totalTime)}),0)}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.init=function(){this.players.forEach((function(n){return n.init()}))},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[])},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(n){return n.play()}))},n.prototype.pause=function(){this.players.forEach((function(n){return n.pause()}))},n.prototype.restart=function(){this.players.forEach((function(n){return n.restart()}))},n.prototype.finish=function(){this._onFinish(),this.players.forEach((function(n){return n.finish()}))},n.prototype.destroy=function(){this._onDestroy()},n.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(n){return n.destroy()})),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.reset=function(){this.players.forEach((function(n){return n.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype.setPosition=function(n){var e=n*this.totalTime;this.players.forEach((function(n){var t=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(t)}))},n.prototype.getPosition=function(){var n=0;return this.players.forEach((function(e){var t=e.getPosition();n=Math.min(t,n)})),n},n.prototype.beforeDestroy=function(){this.players.forEach((function(n){n.beforeDestroy&&n.beforeDestroy()}))},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach((function(n){return n()})),e.length=0},n}(),Ai="!";function Pi(){return"undefined"!=typeof process}function qi(n){switch(n.length){case 0:return new Mi;case 1:return n[0];default:return new Ni(n)}}function Li(n,e,t,l,o,i){void 0===o&&(o={}),void 0===i&&(i={});var r=[],a=[],u=-1,s=null;if(l.forEach((function(n){var t=n.offset,l=t==u,d=l&&s||{};Object.keys(n).forEach((function(t){var l=t,a=n[t];if("offset"!==t)switch(l=e.normalizePropertyName(l,r),a){case Ai:a=o[t];break;case Ii:a=i[t];break;default:a=e.normalizeStyleValue(t,l,a,r)}d[l]=a})),l||a.push(d),s=d,u=t})),r.length)throw new Error("Unable to animate due to the following errors:\n - "+r.join("\n - "));return a}function ji(n,e,t,l){switch(e){case"start":n.onStart((function(){return l(t&&Vi(t,"start",n))}));break;case"done":n.onDone((function(){return l(t&&Vi(t,"done",n))}));break;case"destroy":n.onDestroy((function(){return l(t&&Vi(t,"destroy",n))}))}}function Vi(n,e,t){var l=t.totalTime,o=Bi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==l?n.totalTime:l,!!t.disabled),i=n._data;return null!=i&&(o._data=i),o}function Bi(n,e,t,l,o,i,r){return void 0===o&&(o=""),void 0===i&&(i=0),{element:n,triggerName:e,fromState:t,toState:l,phaseName:o,totalTime:i,disabled:!!r}}function Hi(n,e,t){var l;return n instanceof Map?(l=n.get(e))||n.set(e,l=t):(l=n[e])||(l=n[e]=t),l}function Ui(n){var e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}var zi=function(n,e){return!1},Gi=function(n,e){return!1},Wi=function(n,e,t){return[]},Zi=Pi();(Zi||"undefined"!=typeof Element)&&(zi=function(n,e){return n.contains(e)},Gi=function(){if(Zi||Element.prototype.matches)return function(n,e){return n.matches(e)};var n=Element.prototype,e=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return e?function(n,t){return e.apply(n,[t])}:Gi}(),Wi=function(n,e,t){var l=[];if(t)l.push.apply(l,Object(i.f)(n.querySelectorAll(e)));else{var o=n.querySelector(e);o&&l.push(o)}return l});var Ki=null,Xi=!1;function Yi(n){Ki||(Ki=("undefined"!=typeof document?document.body:null)||{},Xi=!!Ki.style&&"WebkitAppearance"in Ki.style);var e=!0;return Ki.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&!(e=n in Ki.style)&&Xi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Ki.style),e}var $i=Gi,Qi=zi,Ji=Wi;function nr(n){var e={};return Object.keys(n).forEach((function(t){var l=t.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=n[t]})),e}var er=function(){function n(){}return n.prototype.validateStyleProperty=function(n){return Yi(n)},n.prototype.matchesElement=function(n,e){return $i(n,e)},n.prototype.containsElement=function(n,e){return Qi(n,e)},n.prototype.query=function(n,e,t){return Ji(n,e,t)},n.prototype.computeStyle=function(n,e,t){return t||""},n.prototype.animate=function(n,e,t,l,o,i,r){return void 0===i&&(i=[]),new Mi(t,l)},n}(),tr=function(){function n(){}return n.NOOP=new er,n}(),lr=1e3;function or(n){if("number"==typeof n)return n;var e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ir(parseFloat(e[1]),e[2])}function ir(n,e){switch(e){case"s":return n*lr;default:return n}}function rr(n,e,t){return n.hasOwnProperty("duration")?n:function(n,e,t){var l,o=0,i="";if("string"==typeof n){var r=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===r)return e.push('The provided timing value "'+n+'" is invalid.'),{duration:0,delay:0,easing:""};l=ir(parseFloat(r[1]),r[2]);var a=r[3];null!=a&&(o=ir(parseFloat(a),r[4]));var u=r[5];u&&(i=u)}else l=n;if(!t){var s=!1,d=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),s=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&e.splice(d,0,'The provided timing value "'+n+'" is invalid.')}return{duration:l,delay:o,easing:i}}(n,e,t)}function ar(n,e){return void 0===e&&(e={}),Object.keys(n).forEach((function(t){e[t]=n[t]})),e}function ur(n,e,t){if(void 0===t&&(t={}),e)for(var l in n)t[l]=n[l];else ar(n,t);return t}function sr(n,e,t){return t?e+":"+t+";":""}function dr(n){for(var e="",t=0;t<n.style.length;t++)e+=sr(0,l=n.style.item(t),n.style.getPropertyValue(l));for(var l in n.style)n.style.hasOwnProperty(l)&&!l.startsWith("_")&&(e+=sr(0,l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n.style[l]));n.setAttribute("style",e)}function cr(n,e,t){n.style&&(Object.keys(e).forEach((function(l){var o=_r(l);t&&!t.hasOwnProperty(l)&&(t[l]=n.style[o]),n.style[o]=e[l]})),Pi()&&dr(n))}function pr(n,e){n.style&&(Object.keys(e).forEach((function(e){var t=_r(e);n.style[t]=""})),Pi()&&dr(n))}function fr(n){return Array.isArray(n)?1==n.length?n[0]:Di(n):n}var hr=new RegExp("{{\\s*(.+?)\\s*}}","g");function mr(n){var e=[];if("string"==typeof n){for(var t=n.toString(),l=void 0;l=hr.exec(t);)e.push(l[1]);hr.lastIndex=0}return e}function vr(n,e,t){var l=n.toString(),o=l.replace(hr,(function(n,l){var o=e[l];return e.hasOwnProperty(l)||(t.push("Please provide a value for the animation param "+l),o=""),o.toString()}));return o==l?n:o}function gr(n){for(var e=[],t=n.next();!t.done;)e.push(t.value),t=n.next();return e}var br=/-+([a-z0-9])/g;function _r(n){return n.replace(br,(function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n[1].toUpperCase()}))}function yr(n,e){return 0===n||0===e}function Cr(n,e,t){var l=Object.keys(t);if(l.length&&e.length){var o=e[0],i=[];if(l.forEach((function(n){o.hasOwnProperty(n)||i.push(n),o[n]=t[n]})),i.length)for(var r=function(){var t=e[a];i.forEach((function(e){t[e]=Sr(n,e)}))},a=1;a<e.length;a++)r()}return e}function wr(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Sr(n,e){return window.getComputedStyle(n)[e]}var xr="*",kr=new Set(["true","1"]),Er=new Set(["false","0"]);function Tr(n,e){var t=kr.has(n)||Er.has(n),l=kr.has(e)||Er.has(e);return function(o,i){var r=n==xr||n==o,a=e==xr||e==i;return!r&&t&&"boolean"==typeof o&&(r=o?kr.has(n):Er.has(n)),!a&&l&&"boolean"==typeof i&&(a=i?kr.has(e):Er.has(e)),r&&a}}var Rr=new RegExp("s*:selfs*,?","g");function Ir(n,e,t){return new Dr(n).build(e,t)}var Dr=function(){function n(n){this._driver=n}return n.prototype.build=function(n,e){var t=new Fr(e);return this._resetContextStyleTimingState(t),wr(this,fr(n),t)},n.prototype._resetContextStyleTimingState=function(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0},n.prototype.visitTrigger=function(n,e){var t=this,l=e.queryCount=0,o=e.depCount=0,i=[],r=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach((function(n){if(t._resetContextStyleTimingState(e),0==n.type){var a=n,u=a.name;u.toString().split(/\s*,\s*/).forEach((function(n){a.name=n,i.push(t.visitState(a,e))})),a.name=u}else if(1==n.type){var s=t.visitTransition(n,e);l+=s.queryCount,o+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:n.name,states:i,transitions:r,queryCount:l,depCount:o,options:null}},n.prototype.visitState=function(n,e){var t=this.visitStyle(n.styles,e),l=n.options&&n.options.params||null;if(t.containsDynamicStyles){var o=new Set,i=l||{};if(t.styles.forEach((function(n){if(Or(n)){var e=n;Object.keys(e).forEach((function(n){mr(e[n]).forEach((function(n){i.hasOwnProperty(n)||o.add(n)}))}))}})),o.size){var r=gr(o.values());e.errors.push('state("'+n.name+'", ...) must define default values for all the following style substitutions: '+r.join(", "))}}return{type:0,name:n.name,style:t,options:l?{params:l}:null}},n.prototype.visitTransition=function(n,e){e.queryCount=0,e.depCount=0;var t,l,o,i=wr(this,fr(n.animation),e);return{type:1,matchers:(t=n.expr,l=e.errors,o=[],"string"==typeof t?t.split(/\s*,\s*/).forEach((function(n){return function(n,e,t){if(":"==n[0]){var l=function(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(n,e){return parseFloat(e)>parseFloat(n)};case":decrement":return function(n,e){return parseFloat(e)<parseFloat(n)};default:return e.push('The transition alias value "'+n+'" is not supported'),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}var o=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return t.push('The provided transition expression "'+n+'" is not supported'),e;var i=o[1],r=o[2],a=o[3];e.push(Tr(i,a)),"<"!=r[0]||i==xr&&a==xr||e.push(Tr(a,i))}(n,o,l)})):o.push(t),o),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Mr(n.options)}},n.prototype.visitSequence=function(n,e){var t=this;return{type:2,steps:n.steps.map((function(n){return wr(t,n,e)})),options:Mr(n.options)}},n.prototype.visitGroup=function(n,e){var t=this,l=e.currentTime,o=0,i=n.steps.map((function(n){e.currentTime=l;var i=wr(t,n,e);return o=Math.max(o,e.currentTime),i}));return e.currentTime=o,{type:3,steps:i,options:Mr(n.options)}},n.prototype.visitAnimate=function(n,e){var t,l=function(n,e){var t=null;if(n.hasOwnProperty("duration"))t=n;else if("number"==typeof n)return Nr(rr(n,e).duration,0,"");var l=n;if(l.split(/\s+/).some((function(n){return"{"==n.charAt(0)&&"{"==n.charAt(1)}))){var o=Nr(0,0,"");return o.dynamic=!0,o.strValue=l,o}return Nr((t=t||rr(l,e)).duration,t.delay,t.easing)}(n.timings,e.errors);e.currentAnimateTimings=l;var o=n.styles?n.styles:Fi({});if(5==o.type)t=this.visitKeyframes(o,e);else{var i=n.styles,r=!1;if(!i){r=!0;var a={};l.easing&&(a.easing=l.easing),i=Fi(a)}e.currentTime+=l.duration+l.delay;var u=this.visitStyle(i,e);u.isEmptyStep=r,t=u}return e.currentAnimateTimings=null,{type:4,timings:l,style:t,options:null}},n.prototype.visitStyle=function(n,e){var t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t},n.prototype._makeStyleAst=function(n,e){var t=[];Array.isArray(n.styles)?n.styles.forEach((function(n){"string"==typeof n?n==Ii?t.push(n):e.errors.push("The provided style string value "+n+" is not allowed."):t.push(n)})):t.push(n.styles);var l=!1,o=null;return t.forEach((function(n){if(Or(n)){var e=n,t=e.easing;if(t&&(o=t,delete e.easing),!l)for(var i in e)if(e[i].toString().indexOf("{{")>=0){l=!0;break}}})),{type:6,styles:t,easing:o,offset:n.offset,containsDynamicStyles:l,options:null}},n.prototype._validateStyleAst=function(n,e){var t=this,l=e.currentAnimateTimings,o=e.currentTime,i=e.currentTime;l&&i>0&&(i-=l.duration+l.delay),n.styles.forEach((function(n){"string"!=typeof n&&Object.keys(n).forEach((function(l){if(t._driver.validateStyleProperty(l)){var r,a,u,s=e.collectedStyles[e.currentQuerySelector],d=s[l],c=!0;d&&(i!=o&&i>=d.startTime&&o<=d.endTime&&(e.errors.push('The CSS property "'+l+'" that exists between the times of "'+d.startTime+'ms" and "'+d.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),c=!1),i=d.startTime),c&&(s[l]={startTime:i,endTime:o}),e.options&&(r=e.errors,a=e.options.params||{},(u=mr(n[l])).length&&u.forEach((function(n){a.hasOwnProperty(n)||r.push("Unable to resolve the local animation param "+n+" in the given list of values")})))}else e.errors.push('The provided animation property "'+l+'" is not a supported CSS property for animations')}))}))},n.prototype.visitKeyframes=function(n,e){var t=this,l={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),l;var o=0,i=[],r=!1,a=!1,u=0,s=n.steps.map((function(n){var l=t._makeStyleAst(n,e),s=null!=l.offset?l.offset:function(n){if("string"==typeof n)return null;var e=null;if(Array.isArray(n))n.forEach((function(n){if(Or(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}}));else if(Or(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}return e}(l.styles),d=0;return null!=s&&(o++,d=l.offset=s),a=a||d<0||d>1,r=r||d<u,u=d,i.push(d),l}));a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");var d=n.steps.length,c=0;o>0&&o<d?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(c=1/(d-1));var p=d-1,f=e.currentTime,h=e.currentAnimateTimings,m=h.duration;return s.forEach((function(n,o){var r=c>0?o==p?1:c*o:i[o],a=r*m;e.currentTime=f+h.delay+a,h.duration=a,t._validateStyleAst(n,e),n.offset=r,l.styles.push(n)})),l},n.prototype.visitReference=function(n,e){return{type:8,animation:wr(this,fr(n.animation),e),options:Mr(n.options)}},n.prototype.visitAnimateChild=function(n,e){return e.depCount++,{type:9,options:Mr(n.options)}},n.prototype.visitAnimateRef=function(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Mr(n.options)}},n.prototype.visitQuery=function(n,e){var t=e.currentQuerySelector,l=n.options||{};e.queryCount++,e.currentQuery=n;var o=Object(i.e)(function(n){var e=!!n.split(/\s*,\s*/).find((function(n){return":self"==n}));return e&&(n=n.replace(Rr,"")),[n=n.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(n){return".ng-trigger-"+n.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(n.selector),2),r=o[0],a=o[1];e.currentQuerySelector=t.length?t+" "+r:r,Hi(e.collectedStyles,e.currentQuerySelector,{});var u=wr(this,fr(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:r,limit:l.limit||0,optional:!!l.optional,includeSelf:a,animation:u,originalSelector:n.selector,options:Mr(n.options)}},n.prototype.visitStagger=function(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var t="full"===n.timings?{duration:0,delay:0,easing:"full"}:rr(n.timings,e.errors,!0);return{type:12,animation:wr(this,fr(n.animation),e),timings:t,options:null}},n}(),Fr=function(){return function(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Or(n){return!Array.isArray(n)&&"object"==typeof n}function Mr(n){var e;return n?(n=ar(n)).params&&(n.params=(e=n.params)?ar(e):null):n={},n}function Nr(n,e,t){return{duration:n,delay:e,easing:t}}function Ar(n,e,t,l,o,i,r,a){return void 0===r&&(r=null),void 0===a&&(a=!1),{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:l,duration:o,delay:i,totalTime:o+i,easing:r,subTimeline:a}}var Pr=function(){function n(){this._map=new Map}return n.prototype.consume=function(n){var e=this._map.get(n);return e?this._map.delete(n):e=[],e},n.prototype.append=function(n,e){var t=this._map.get(n);t||this._map.set(n,t=[]),t.push.apply(t,Object(i.f)(e))},n.prototype.has=function(n){return this._map.has(n)},n.prototype.clear=function(){this._map.clear()},n}(),qr=new RegExp(":enter","g"),Lr=new RegExp(":leave","g");function jr(n,e,t,l,o,i,r,a,u,s){return void 0===i&&(i={}),void 0===r&&(r={}),void 0===s&&(s=[]),(new Vr).buildKeyframes(n,e,t,l,o,i,r,a,u,s)}var Vr=function(){function n(){}return n.prototype.buildKeyframes=function(n,e,t,l,o,i,r,a,u,s){void 0===s&&(s=[]),u=u||new Pr;var d=new Hr(n,e,u,l,o,s,[]);d.options=a,d.currentTimeline.setStyles([i],null,d.errors,a),wr(this,t,d);var c=d.timelines.filter((function(n){return n.containsAnimation()}));if(c.length&&Object.keys(r).length){var p=c[c.length-1];p.allowOnlyTimelineStyles()||p.setStyles([r],null,d.errors,a)}return c.length?c.map((function(n){return n.buildKeyframes()})):[Ar(e,[],[],[],0,0,"",!1)]},n.prototype.visitTrigger=function(n,e){},n.prototype.visitState=function(n,e){},n.prototype.visitTransition=function(n,e){},n.prototype.visitAnimateChild=function(n,e){var t=e.subInstructions.consume(e.element);if(t){var l=e.createSubContext(n.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(t,l,l.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=n},n.prototype.visitAnimateRef=function(n,e){var t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n},n.prototype._visitSubInstructions=function(n,e,t){var l=e.currentTimeline.currentTime,o=null!=t.duration?or(t.duration):null,i=null!=t.delay?or(t.delay):null;return 0!==o&&n.forEach((function(n){var t=e.appendInstructionToTimeline(n,o,i);l=Math.max(l,t.duration+t.delay)})),l},n.prototype.visitReference=function(n,e){e.updateOptions(n.options,!0),wr(this,n.animation,e),e.previousNode=n},n.prototype.visitSequence=function(n,e){var t=this,l=e.subContextCount,o=e,i=n.options;if(i&&(i.params||i.delay)&&((o=e.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Br);var r=or(i.delay);o.delayNextStep(r)}n.steps.length&&(n.steps.forEach((function(n){return wr(t,n,o)})),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>l&&o.transformIntoNewTimeline()),e.previousNode=n},n.prototype.visitGroup=function(n,e){var t=this,l=[],o=e.currentTimeline.currentTime,i=n.options&&n.options.delay?or(n.options.delay):0;n.steps.forEach((function(r){var a=e.createSubContext(n.options);i&&a.delayNextStep(i),wr(t,r,a),o=Math.max(o,a.currentTimeline.currentTime),l.push(a.currentTimeline)})),l.forEach((function(n){return e.currentTimeline.mergeTimelineCollectedStyles(n)})),e.transformIntoNewTimeline(o),e.previousNode=n},n.prototype._visitTiming=function(n,e){if(n.dynamic){var t=n.strValue;return rr(e.params?vr(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}},n.prototype.visitAnimate=function(n,e){var t=e.currentAnimateTimings=this._visitTiming(n.timings,e),l=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),l.snapshotCurrentStyles());var o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(t.duration),this.visitStyle(o,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n},n.prototype.visitStyle=function(n,e){var t=e.currentTimeline,l=e.currentAnimateTimings;!l&&t.getCurrentStyleProperties().length&&t.forwardFrame();var o=l&&l.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(o):t.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n},n.prototype.visitKeyframes=function(n,e){var t=e.currentAnimateTimings,l=e.currentTimeline.duration,o=t.duration,i=e.createSubContext().currentTimeline;i.easing=t.easing,n.styles.forEach((function(n){i.forwardTime((n.offset||0)*o),i.setStyles(n.styles,n.easing,e.errors,e.options),i.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(l+o),e.previousNode=n},n.prototype.visitQuery=function(n,e){var t=this,l=e.currentTimeline.currentTime,o=n.options||{},i=o.delay?or(o.delay):0;i&&(6===e.previousNode.type||0==l&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Br);var r=l,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach((function(l,o){e.currentQueryIndex=o;var a=e.createSubContext(n.options,l);i&&a.delayNextStep(i),l===e.element&&(u=a.currentTimeline),wr(t,n.animation,a),a.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,a.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n},n.prototype.visitStagger=function(n,e){var t=e.parentContext,l=e.currentTimeline,o=n.timings,i=Math.abs(o.duration),r=i*(e.currentQueryTotal-1),a=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=r-a;break;case"full":a=t.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var s=u.currentTime;wr(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=l.currentTime-s+(l.startTime-t.currentTimeline.startTime)},n}(),Br={},Hr=function(){function n(n,e,t,l,o,i,r,a){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=l,this._leaveClassName=o,this.errors=i,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Br,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Ur(this._driver,e,0),r.push(this.currentTimeline)}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.updateOptions=function(n,e){var t=this;if(n){var l=n,o=this.options;null!=l.duration&&(o.duration=or(l.duration)),null!=l.delay&&(o.delay=or(l.delay));var i=l.params;if(i){var r=o.params;r||(r=this.options.params={}),Object.keys(i).forEach((function(n){e&&r.hasOwnProperty(n)||(r[n]=vr(i[n],r,t.errors))}))}}},n.prototype._copyOptions=function(){var n={};if(this.options){var e=this.options.params;if(e){var t=n.params={};Object.keys(e).forEach((function(n){t[n]=e[n]}))}}return n},n.prototype.createSubContext=function(e,t,l){void 0===e&&(e=null);var o=t||this.element,i=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,l||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},n.prototype.transformIntoNewTimeline=function(n){return this.previousNode=Br,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline},n.prototype.appendInstructionToTimeline=function(n,e,t){var l={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},o=new zr(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,l,n.stretchStartingKeyframe);return this.timelines.push(o),l},n.prototype.incrementTime=function(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)},n.prototype.delayNextStep=function(n){n>0&&this.currentTimeline.delayNextStep(n)},n.prototype.invokeQuery=function(n,e,t,l,o,r){var a=[];if(l&&a.push(this.element),n.length>0){n=(n=n.replace(qr,"."+this._enterClassName)).replace(Lr,"."+this._leaveClassName);var u=this._driver.query(this.element,n,1!=t);0!==t&&(u=t<0?u.slice(u.length+t,u.length):u.slice(0,t)),a.push.apply(a,Object(i.f)(u))}return o||0!=a.length||r.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},n}(),Ur=function(){function n(n,e,t,l){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return n.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},n.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(n.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),n.prototype.delayNextStep=function(n){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n},n.prototype.fork=function(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)},n.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},n.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},n.prototype.forwardTime=function(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()},n.prototype._updateStyle=function(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}},n.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},n.prototype.applyEmptyStep=function(n){var e=this;n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach((function(n){e._backFill[n]=e._globalTimelineStyles[n]||Ii,e._currentKeyframe[n]=Ii})),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(n,e,t,l){var o=this;e&&(this._previousKeyframe.easing=e);var i=l&&l.params||{},r=function(n,e){var t,l={};return n.forEach((function(n){"*"===n?(t=t||Object.keys(e)).forEach((function(n){l[n]=Ii})):ur(n,!1,l)})),l}(n,this._globalTimelineStyles);Object.keys(r).forEach((function(n){var e=vr(r[n],i,t);o._pendingStyles[n]=e,o._localTimelineStyles.hasOwnProperty(n)||(o._backFill[n]=o._globalTimelineStyles.hasOwnProperty(n)?o._globalTimelineStyles[n]:Ii),o._updateStyle(n,e)}))},n.prototype.applyStylesToKeyframe=function(){var n=this,e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach((function(t){n._currentKeyframe[t]=e[t]})),Object.keys(this._localTimelineStyles).forEach((function(e){n._currentKeyframe.hasOwnProperty(e)||(n._currentKeyframe[e]=n._localTimelineStyles[e])})))},n.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach((function(e){var t=n._localTimelineStyles[e];n._pendingStyles[e]=t,n._updateStyle(e,t)}))},n.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(n.prototype,"properties",{get:function(){var n=[];for(var e in this._currentKeyframe)n.push(e);return n},enumerable:!0,configurable:!0}),n.prototype.mergeTimelineCollectedStyles=function(n){var e=this;Object.keys(n._styleSummary).forEach((function(t){var l=e._styleSummary[t],o=n._styleSummary[t];(!l||o.time>l.time)&&e._updateStyle(t,o.value)}))},n.prototype.buildKeyframes=function(){var n=this;this.applyStylesToKeyframe();var e=new Set,t=new Set,l=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(i,r){var a=ur(i,!0);Object.keys(a).forEach((function(n){var l=a[n];l==Ai?e.add(n):l==Ii&&t.add(n)})),l||(a.offset=r/n.duration),o.push(a)}));var i=e.size?gr(e.values()):[],r=t.size?gr(t.values()):[];if(l){var a=o[0],u=ar(a);a.offset=0,u.offset=1,o=[a,u]}return Ar(this.element,o,i,r,this.duration,this.startTime,this.easing,!1)},n}(),zr=function(n){function e(e,t,l,o,i,r,a){void 0===a&&(a=!1);var u=n.call(this,e,t,r.delay)||this;return u.element=t,u.keyframes=l,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=a,u.timings={duration:r.duration,delay:r.delay,easing:r.easing},u}return Object(i.c)(e,n),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var n=this.keyframes,e=this.timings,t=e.delay,l=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&t){var i=[],r=l+t,a=t/r,u=ur(n[0],!1);u.offset=0,i.push(u);var s=ur(n[0],!1);s.offset=Gr(a),i.push(s);for(var d=n.length-1,c=1;c<=d;c++){var p=ur(n[c],!1);p.offset=Gr((t+p.offset*l)/r),i.push(p)}l=r,t=0,o="",n=i}return Ar(this.element,n,this.preStyleProps,this.postStyleProps,l,t,o,!0)},e}(Ur);function Gr(n,e){void 0===e&&(e=3);var t=Math.pow(10,e-1);return Math.round(n*t)/t}var Wr=function(){return function(){}}(),Zr=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e.prototype.normalizePropertyName=function(n,e){return _r(n)},e.prototype.normalizeStyleValue=function(n,e,t,l){var o="",i=t.toString().trim();if(Kr[e]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{var r=t.match(/^[+-]?[\d\.]+([a-z]*)$/);r&&0==r[1].length&&l.push("Please provide a CSS unit value for "+n+":"+t)}return i+o},e}(Wr),Kr=function(){return n="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),e={},n.forEach((function(n){return e[n]=!0})),e;var n,e}();function Xr(n,e,t,l,o,i,r,a,u,s,d,c,p){return{type:0,element:n,triggerName:e,isRemovalTransition:o,fromState:t,fromStyles:i,toState:l,toStyles:r,timelines:a,queriedElements:u,preStyleProps:s,postStyleProps:d,totalTime:c,errors:p}}var Yr={},$r=function(){function n(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}return n.prototype.match=function(n,e,t,l){return function(n,e,t,l,o){return n.some((function(n){return n(e,t,l,o)}))}(this.ast.matchers,n,e,t,l)},n.prototype.buildStyles=function(n,e,t){var l=this._stateStyles["*"],o=this._stateStyles[n],i=l?l.buildStyles(e,t):{};return o?o.buildStyles(e,t):i},n.prototype.build=function(n,e,t,l,o,r,a,u,s,d){var c=[],p=this.ast.options&&this.ast.options.params||Yr,f=this.buildStyles(t,a&&a.params||Yr,c),h=u&&u.params||Yr,m=this.buildStyles(l,h,c),v=new Set,g=new Map,b=new Map,_="void"===l,y={params:Object(i.a)({},p,h)},C=d?[]:jr(n,e,this.ast.animation,o,r,f,m,y,s,c),w=0;if(C.forEach((function(n){w=Math.max(n.duration+n.delay,w)})),c.length)return Xr(e,this._triggerName,t,l,_,f,m,[],[],g,b,w,c);C.forEach((function(n){var t=n.element,l=Hi(g,t,{});n.preStyleProps.forEach((function(n){return l[n]=!0}));var o=Hi(b,t,{});n.postStyleProps.forEach((function(n){return o[n]=!0})),t!==e&&v.add(t)}));var S=gr(v.values());return Xr(e,this._triggerName,t,l,_,f,m,C,S,g,b,w)},n}(),Qr=function(){function n(n,e){this.styles=n,this.defaultParams=e}return n.prototype.buildStyles=function(n,e){var t={},l=ar(this.defaultParams);return Object.keys(n).forEach((function(e){var t=n[e];null!=t&&(l[e]=t)})),this.styles.styles.forEach((function(n){if("string"!=typeof n){var o=n;Object.keys(o).forEach((function(n){var i=o[n];i.length>1&&(i=vr(i,l,e)),t[n]=i}))}})),t},n}(),Jr=function(){function n(n,e){var t=this;this.name=n,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(n){t.states[n.name]=new Qr(n.style,n.options&&n.options.params||{})})),na(this.states,"true","1"),na(this.states,"false","0"),e.transitions.forEach((function(e){t.transitionFactories.push(new $r(n,e,t.states))})),this.fallbackTransition=new $r(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(n,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(n.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),n.prototype.matchTransition=function(n,e,t,l){return this.transitionFactories.find((function(o){return o.match(n,e,t,l)}))||null},n.prototype.matchStyles=function(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)},n}();function na(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}var ea=new Pr,ta=function(){function n(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return n.prototype.register=function(n,e){var t=[],l=Ir(this._driver,e,t);if(t.length)throw new Error("Unable to build the animation due to the following errors: "+t.join("\n"));this._animations[n]=l},n.prototype._buildPlayer=function(n,e,t){var l=n.element,o=Li(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(l,o,n.duration,n.delay,n.easing,[],!0)},n.prototype.create=function(n,e,t){var l=this;void 0===t&&(t={});var o,i=[],r=this._animations[n],a=new Map;if(r?(o=jr(this._driver,e,r,"ng-enter","ng-leave",{},{},t,ea,i)).forEach((function(n){var e=Hi(a,n.element,{});n.postStyleProps.forEach((function(n){return e[n]=null}))})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));a.forEach((function(n,e){Object.keys(n).forEach((function(t){n[t]=l._driver.computeStyle(e,t,Ii)}))}));var u=qi(o.map((function(n){var e=a.get(n.element);return l._buildPlayer(n,{},e)})));return this._playersById[n]=u,u.onDestroy((function(){return l.destroy(n)})),this.players.push(u),u},n.prototype.destroy=function(n){var e=this._getPlayer(n);e.destroy(),delete this._playersById[n];var t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)},n.prototype._getPlayer=function(n){var e=this._playersById[n];if(!e)throw new Error("Unable to find the timeline player referenced by "+n);return e},n.prototype.listen=function(n,e,t,l){var o=Bi(e,"","","");return ji(this._getPlayer(n),t,o,l),function(){}},n.prototype.command=function(n,e,t,l){if("register"!=t)if("create"!=t){var o=this._getPlayer(n);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(n)}}else this.create(n,e,l[0]||{});else this.register(n,l[0])},n}(),la=[],oa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ia={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ra="__ng_removed",aa=function(){function n(n,e){void 0===e&&(e=""),this.namespaceId=e;var t,l=n&&n.hasOwnProperty("value");if(this.value=null!=(t=l?n.value:n)?t:null,l){var o=ar(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.absorbOptions=function(n){var e=n.params;if(e){var t=this.options.params;Object.keys(e).forEach((function(n){null==t[n]&&(t[n]=e[n])}))}},n}(),ua=new aa("void"),sa=function(){function n(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,ba(e,this._hostClassName)}return n.prototype.listen=function(n,e,t,l){var o,i=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+t+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==t||0==t.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(o=t)&&"done"!=o)throw new Error('The provided animation trigger event "'+t+'" for the animation trigger "'+e+'" is not supported!');var r=Hi(this._elementListeners,n,[]),a={name:e,phase:t,callback:l};r.push(a);var u=Hi(this._engine.statesByElement,n,{});return u.hasOwnProperty(e)||(ba(n,"ng-trigger"),ba(n,"ng-trigger-"+e),u[e]=ua),function(){i._engine.afterFlush((function(){var n=r.indexOf(a);n>=0&&r.splice(n,1),i._triggers[e]||delete u[e]}))}},n.prototype.register=function(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)},n.prototype._getTrigger=function(n){var e=this._triggers[n];if(!e)throw new Error('The provided animation trigger "'+n+'" has not been registered!');return e},n.prototype.trigger=function(n,e,t,l){var o=this;void 0===l&&(l=!0);var i=this._getTrigger(e),r=new ca(this.id,e,n),a=this._engine.statesByElement.get(n);a||(ba(n,"ng-trigger"),ba(n,"ng-trigger-"+e),this._engine.statesByElement.set(n,a={}));var u=a[e],s=new aa(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&u&&s.absorbOptions(u.options),a[e]=s,u||(u=ua),"void"===s.value||u.value!==s.value){var d=Hi(this._engine.playersByElement,n,[]);d.forEach((function(n){n.namespaceId==o.id&&n.triggerName==e&&n.queued&&n.destroy()}));var c=i.matchTransition(u.value,s.value,n,s.params),p=!1;if(!c){if(!l)return;c=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:c,fromState:u,toState:s,player:r,isFallbackTransition:p}),p||(ba(n,"ng-animate-queued"),r.onStart((function(){_a(n,"ng-animate-queued")}))),r.onDone((function(){var e=o.players.indexOf(r);e>=0&&o.players.splice(e,1);var t=o._engine.playersByElement.get(n);if(t){var l=t.indexOf(r);l>=0&&t.splice(l,1)}})),this.players.push(r),d.push(r),r}if(!function(n,e){var t=Object.keys(n),l=Object.keys(e);if(t.length!=l.length)return!1;for(var o=0;o<t.length;o++){var i=t[o];if(!e.hasOwnProperty(i)||n[i]!==e[i])return!1}return!0}(u.params,s.params)){var f=[],h=i.matchStyles(u.value,u.params,f),m=i.matchStyles(s.value,s.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush((function(){pr(n,h),cr(n,m)}))}},n.prototype.deregister=function(n){var e=this;delete this._triggers[n],this._engine.statesByElement.forEach((function(e,t){delete e[n]})),this._elementListeners.forEach((function(t,l){e._elementListeners.set(l,t.filter((function(e){return e.name!=n})))}))},n.prototype.clearElementCache=function(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);var e=this._engine.playersByElement.get(n);e&&(e.forEach((function(n){return n.destroy()})),this._engine.playersByElement.delete(n))},n.prototype._signalRemovalForInnerTriggers=function(n,e,t){var l=this;void 0===t&&(t=!1),this._engine.driver.query(n,".ng-trigger",!0).forEach((function(n){if(!n[ra]){var t=l._engine.fetchNamespacesByElement(n);t.size?t.forEach((function(t){return t.triggerLeaveAnimation(n,e,!1,!0)})):l.clearElementCache(n)}}))},n.prototype.triggerLeaveAnimation=function(n,e,t,l){var o=this,i=this._engine.statesByElement.get(n);if(i){var r=[];if(Object.keys(i).forEach((function(e){if(o._triggers[e]){var t=o.trigger(n,e,"void",l);t&&r.push(t)}})),r.length)return this._engine.markElementAsRemoved(this.id,n,!0,e),t&&qi(r).onDone((function(){return o._engine.processLeaveNode(n)})),!0}return!1},n.prototype.prepareLeaveAnimationListeners=function(n){var e=this,t=this._elementListeners.get(n);if(t){var l=new Set;t.forEach((function(t){var o=t.name;if(!l.has(o)){l.add(o);var i=e._triggers[o].fallbackTransition,r=e._engine.statesByElement.get(n)[o]||ua,a=new aa("void"),u=new ca(e.id,o,n);e._engine.totalQueuedPlayers++,e._queue.push({element:n,triggerName:o,transition:i,fromState:r,toState:a,player:u,isFallbackTransition:!0})}}))}},n.prototype.removeNode=function(n,e){var t=this,l=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e,!0),!this.triggerLeaveAnimation(n,e,!0)){var o=!1;if(l.totalAnimations){var i=l.players.length?l.playersByQueriedElement.get(n):[];if(i&&i.length)o=!0;else for(var r=n;r=r.parentNode;)if(l.statesByElement.get(r)){o=!0;break}}this.prepareLeaveAnimationListeners(n),o?l.markElementAsRemoved(this.id,n,!1,e):(l.afterFlush((function(){return t.clearElementCache(n)})),l.destroyInnerAnimations(n),l._onRemovalComplete(n,e))}},n.prototype.insertNode=function(n,e){ba(n,this._hostClassName)},n.prototype.drainQueuedTransitions=function(n){var e=this,t=[];return this._queue.forEach((function(l){var o=l.player;if(!o.destroyed){var i=l.element,r=e._elementListeners.get(i);r&&r.forEach((function(e){if(e.name==l.triggerName){var t=Bi(i,l.triggerName,l.fromState.value,l.toState.value);t._data=n,ji(l.player,e.phase,t,e.callback)}})),o.markedForDestroy?e._engine.afterFlush((function(){o.destroy()})):t.push(l)}})),this._queue=[],t.sort((function(n,t){var l=n.transition.ast.depCount,o=t.transition.ast.depCount;return 0==l||0==o?l-o:e._engine.driver.containsElement(n.element,t.element)?1:-1}))},n.prototype.destroy=function(n){this.players.forEach((function(n){return n.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,n)},n.prototype.elementContainsData=function(n){var e=!1;return this._elementListeners.has(n)&&(e=!0),!!this._queue.find((function(e){return e.element===n}))||e},n}(),da=function(){function n(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(n,e){}}return n.prototype._onRemovalComplete=function(n,e){this.onRemovalComplete(n,e)},Object.defineProperty(n.prototype,"queuedPlayers",{get:function(){var n=[];return this._namespaceList.forEach((function(e){e.players.forEach((function(e){e.queued&&n.push(e)}))})),n},enumerable:!0,configurable:!0}),n.prototype.createNamespace=function(n,e){var t=new sa(n,e,this);return e.parentNode?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t},n.prototype._balanceNamespaceList=function(n,e){var t=this._namespaceList.length-1;if(t>=0){for(var l=!1,o=t;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,n),l=!0;break}l||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n},n.prototype.register=function(n,e){var t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t},n.prototype.registerTrigger=function(n,e,t){var l=this._namespaceLookup[n];l&&l.register(e,t)&&this.totalAnimations++},n.prototype.destroy=function(n,e){var t=this;if(n){var l=this._fetchNamespace(n);this.afterFlush((function(){t.namespacesByHostElement.delete(l.hostElement),delete t._namespaceLookup[n];var e=t._namespaceList.indexOf(l);e>=0&&t._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return l.destroy(e)}))}},n.prototype._fetchNamespace=function(n){return this._namespaceLookup[n]},n.prototype.fetchNamespacesByElement=function(n){var e=new Set,t=this.statesByElement.get(n);if(t)for(var l=Object.keys(t),o=0;o<l.length;o++){var i=t[l[o]].namespaceId;if(i){var r=this._fetchNamespace(i);r&&e.add(r)}}return e},n.prototype.trigger=function(n,e,t,l){if(pa(e)){var o=this._fetchNamespace(n);if(o)return o.trigger(e,t,l),!0}return!1},n.prototype.insertNode=function(n,e,t,l){if(pa(e)){var o=e[ra];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var i=this.collectedLeaveElements.indexOf(e);i>=0&&this.collectedLeaveElements.splice(i,1)}if(n){var r=this._fetchNamespace(n);r&&r.insertNode(e,t)}l&&this.collectEnterElement(e)}},n.prototype.collectEnterElement=function(n){this.collectedEnterElements.push(n)},n.prototype.markElementAsDisabled=function(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),ba(n,"ng-animate-disabled")):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),_a(n,"ng-animate-disabled"))},n.prototype.removeNode=function(n,e,t,l){if(pa(e)){var o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,l):this.markElementAsRemoved(n,e,!1,l),t){var i=this.namespacesByHostElement.get(e);i&&i.id!==n&&i.removeNode(e,l)}}else this._onRemovalComplete(e,l)},n.prototype.markElementAsRemoved=function(n,e,t,l){this.collectedLeaveElements.push(e),e[ra]={namespaceId:n,setForRemoval:l,hasAnimation:t,removedBeforeQueried:!1}},n.prototype.listen=function(n,e,t,l,o){return pa(e)?this._fetchNamespace(n).listen(e,t,l,o):function(){}},n.prototype._buildInstruction=function(n,e,t,l,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,l,n.fromState.options,n.toState.options,e,o)},n.prototype.destroyInnerAnimations=function(n){var e=this,t=this.driver.query(n,".ng-trigger",!0);t.forEach((function(n){return e.destroyActiveAnimationsForElement(n)})),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,".ng-animating",!0)).forEach((function(n){return e.finishActiveQueriedAnimationOnElement(n)}))},n.prototype.destroyActiveAnimationsForElement=function(n){var e=this.playersByElement.get(n);e&&e.forEach((function(n){n.queued?n.markedForDestroy=!0:n.destroy()}))},n.prototype.finishActiveQueriedAnimationOnElement=function(n){var e=this.playersByQueriedElement.get(n);e&&e.forEach((function(n){return n.finish()}))},n.prototype.whenRenderingDone=function(){var n=this;return new Promise((function(e){if(n.players.length)return qi(n.players).onDone((function(){return e()}));e()}))},n.prototype.processLeaveNode=function(n){var e=this,t=n[ra];if(t&&t.setForRemoval){if(n[ra]=oa,t.namespaceId){this.destroyInnerAnimations(n);var l=this._fetchNamespace(t.namespaceId);l&&l.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}this.driver.matchesElement(n,".ng-animate-disabled")&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach((function(n){e.markElementAsDisabled(n,!1)}))},n.prototype.flush=function(n){var e=this;void 0===n&&(n=-1);var t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(n,t){return e._balanceNamespaceList(n,t)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var l=0;l<this.collectedEnterElements.length;l++)ba(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{t=this._flushAnimations(o,n)}finally{for(l=0;l<o.length;l++)o[l]()}}else for(l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(n){return n()})),this._flushFns=[],this._whenQuietFns.length){var i=this._whenQuietFns;this._whenQuietFns=[],t.length?qi(t).onDone((function(){i.forEach((function(n){return n()}))})):i.forEach((function(n){return n()}))}},n.prototype.reportError=function(n){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+n.join("\n"))},n.prototype._flushAnimations=function(n,e){var t=this,l=new Pr,o=[],r=new Map,a=[],u=new Map,s=new Map,d=new Map,c=new Set;this.disabledNodes.forEach((function(n){c.add(n);for(var e=t.driver.query(n,".ng-animate-queued",!0),l=0;l<e.length;l++)c.add(e[l])}));var p=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=ma(f,this.collectedEnterElements),m=new Map,v=0;h.forEach((function(n,e){var t="ng-enter"+v++;m.set(e,t),n.forEach((function(n){return ba(n,t)}))}));for(var g=[],b=new Set,_=new Set,y=0;y<this.collectedLeaveElements.length;y++)(q=(P=this.collectedLeaveElements[y])[ra])&&q.setForRemoval&&(g.push(P),b.add(P),q.hasAnimation?this.driver.query(P,".ng-star-inserted",!0).forEach((function(n){return b.add(n)})):_.add(P));var C=new Map,w=ma(f,Array.from(b));w.forEach((function(n,e){var t="ng-leave"+v++;C.set(e,t),n.forEach((function(n){return ba(n,t)}))})),n.push((function(){h.forEach((function(n,e){var t=m.get(e);n.forEach((function(n){return _a(n,t)}))})),w.forEach((function(n,e){var t=C.get(e);n.forEach((function(n){return _a(n,t)}))})),g.forEach((function(n){t.processLeaveNode(n)}))}));for(var S=[],x=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach((function(n){var e=n.player,i=n.element;if(S.push(e),t.collectedEnterElements.length){var r=i[ra];if(r&&r.setForMove)return void e.destroy()}var c=!p||!t.driver.containsElement(p,i),f=C.get(i),h=m.get(i),v=t._buildInstruction(n,l,h,f,c);if(v.errors&&v.errors.length)x.push(v);else{if(c)return e.onStart((function(){return pr(i,v.fromStyles)})),e.onDestroy((function(){return cr(i,v.toStyles)})),void o.push(e);if(n.isFallbackTransition)return e.onStart((function(){return pr(i,v.fromStyles)})),e.onDestroy((function(){return cr(i,v.toStyles)})),void o.push(e);v.timelines.forEach((function(n){return n.stretchStartingKeyframe=!0})),l.append(i,v.timelines),a.push({instruction:v,player:e,element:i}),v.queriedElements.forEach((function(n){return Hi(u,n,[]).push(e)})),v.preStyleProps.forEach((function(n,e){var t=Object.keys(n);if(t.length){var l=s.get(e);l||s.set(e,l=new Set),t.forEach((function(n){return l.add(n)}))}})),v.postStyleProps.forEach((function(n,e){var t=Object.keys(n),l=d.get(e);l||d.set(e,l=new Set),t.forEach((function(n){return l.add(n)}))}))}}));if(x.length){var E=[];x.forEach((function(n){E.push("@"+n.triggerName+" has failed due to:\n"),n.errors.forEach((function(n){return E.push("- "+n+"\n")}))})),S.forEach((function(n){return n.destroy()})),this.reportError(E)}var T=new Map,R=new Map;a.forEach((function(n){var e=n.element;l.has(e)&&(R.set(e,e),t._beforeAnimationBuild(n.player.namespaceId,n.instruction,T))})),o.forEach((function(n){var e=n.element;t._getPreviousPlayers(e,!1,n.namespaceId,n.triggerName,null).forEach((function(n){Hi(T,e,[]).push(n),n.destroy()}))}));var I=g.filter((function(n){return Ca(n,s,d)})),D=new Map;ha(D,this.driver,_,d,Ii).forEach((function(n){Ca(n,s,d)&&I.push(n)}));var F=new Map;h.forEach((function(n,e){ha(F,t.driver,new Set(n),s,Ai)})),I.forEach((function(n){var e=D.get(n),t=F.get(n);D.set(n,Object(i.a)({},e,t))}));var O=[],M=[],N={};a.forEach((function(n){var e=n.element,i=n.player,a=n.instruction;if(l.has(e)){if(c.has(e))return i.onDestroy((function(){return cr(e,a.toStyles)})),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=N;if(R.size>1){for(var s=e,d=[];s=s.parentNode;){var p=R.get(s);if(p){u=p;break}d.push(s)}d.forEach((function(n){return R.set(n,u)}))}var f=t._buildAnimation(i.namespaceId,a,T,r,F,D);if(i.setRealPlayer(f),u===N)O.push(i);else{var h=t.playersByElement.get(u);h&&h.length&&(i.parentPlayer=qi(h)),o.push(i)}}else pr(e,a.fromStyles),i.onDestroy((function(){return cr(e,a.toStyles)})),M.push(i),c.has(e)&&o.push(i)})),M.forEach((function(n){var e=r.get(n.element);if(e&&e.length){var t=qi(e);n.setRealPlayer(t)}})),o.forEach((function(n){n.parentPlayer?n.syncPlayerEvents(n.parentPlayer):n.destroy()}));for(var A=0;A<g.length;A++){var P,q=(P=g[A])[ra];if(_a(P,"ng-leave"),!q||!q.hasAnimation){var L=[];if(u.size){var j=u.get(P);j&&j.length&&L.push.apply(L,Object(i.f)(j));for(var V=this.driver.query(P,".ng-animating",!0),B=0;B<V.length;B++){var H=u.get(V[B]);H&&H.length&&L.push.apply(L,Object(i.f)(H))}}var U=L.filter((function(n){return!n.destroyed}));U.length?ya(this,P,U):this.processLeaveNode(P)}}return g.length=0,O.forEach((function(n){t.players.push(n),n.onDone((function(){n.destroy();var e=t.players.indexOf(n);t.players.splice(e,1)})),n.play()})),O},n.prototype.elementContainsData=function(n,e){var t=!1,l=e[ra];return l&&l.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t},n.prototype.afterFlush=function(n){this._flushFns.push(n)},n.prototype.afterFlushAnimationsDone=function(n){this._whenQuietFns.push(n)},n.prototype._getPreviousPlayers=function(n,e,t,l,o){var i=[];if(e){var r=this.playersByQueriedElement.get(n);r&&(i=r)}else{var a=this.playersByElement.get(n);if(a){var u=!o||"void"==o;a.forEach((function(n){n.queued||(u||n.triggerName==l)&&i.push(n)}))}}return(t||l)&&(i=i.filter((function(n){return!(t&&t!=n.namespaceId||l&&l!=n.triggerName)}))),i},n.prototype._beforeAnimationBuild=function(n,e,t){var l,o,r=e.element,a=e.isRemovalTransition?void 0:n,u=e.isRemovalTransition?void 0:e.triggerName,s=function(n){var l=n.element,o=l!==r,i=Hi(t,l,[]);d._getPreviousPlayers(l,o,a,u,e.toState).forEach((function(n){var e=n.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),n.destroy(),i.push(n)}))},d=this;try{for(var c=Object(i.g)(e.timelines),p=c.next();!p.done;p=c.next())s(p.value)}catch(f){l={error:f}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(l)throw l.error}}pr(r,e.fromStyles)},n.prototype._buildAnimation=function(n,e,t,l,o,i){var r=this,a=e.triggerName,u=e.element,s=[],d=new Set,c=new Set,p=e.timelines.map((function(e){var p=e.element;d.add(p);var f=p[ra];if(f&&f.removedBeforeQueried)return new Mi(e.duration,e.delay);var h,m,v=p!==u,g=(h=(t.get(p)||la).map((function(n){return n.getRealPlayer()})),m=[],function n(e,t){for(var l=0;l<e.length;l++){var o=e[l];o instanceof Ni?n(o.players,t):t.push(o)}}(h,m),m).filter((function(n){return!!n.element&&n.element===p})),b=o.get(p),_=i.get(p),y=Li(0,r._normalizer,0,e.keyframes,b,_),C=r._buildPlayer(e,y,g);if(e.subTimeline&&l&&c.add(p),v){var w=new ca(n,a,p);w.setRealPlayer(C),s.push(w)}return C}));s.forEach((function(n){Hi(r.playersByQueriedElement,n.element,[]).push(n),n.onDone((function(){return function(n,e,t){var l;if(n instanceof Map){if(l=n.get(e)){if(l.length){var o=l.indexOf(t);l.splice(o,1)}0==l.length&&n.delete(e)}}else(l=n[e])&&(l.length&&(o=l.indexOf(t),l.splice(o,1)),0==l.length&&delete n[e]);return l}(r.playersByQueriedElement,n.element,n)}))})),d.forEach((function(n){return ba(n,"ng-animating")}));var f=qi(p);return f.onDestroy((function(){d.forEach((function(n){return _a(n,"ng-animating")})),cr(u,e.toStyles)})),c.forEach((function(n){Hi(l,n,[]).push(f)})),f},n.prototype._buildPlayer=function(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Mi(n.duration,n.delay)},n}(),ca=function(){function n(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Mi,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return n.prototype.setRealPlayer=function(n){var e=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach((function(t){e._queuedCallbacks[t].forEach((function(e){return ji(n,t,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)},n.prototype.getRealPlayer=function(){return this._player},n.prototype.overrideTotalTime=function(n){this.totalTime=n},n.prototype.syncPlayerEvents=function(n){var e=this,t=this._player;t.triggerCallback&&n.onStart((function(){return t.triggerCallback("start")})),n.onDone((function(){return e.finish()})),n.onDestroy((function(){return e.destroy()}))},n.prototype._queueEvent=function(n,e){Hi(this._queuedCallbacks,n,[]).push(e)},n.prototype.onDone=function(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)},n.prototype.onStart=function(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)},n.prototype.onDestroy=function(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)},n.prototype.init=function(){this._player.init()},n.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},n.prototype.play=function(){!this.queued&&this._player.play()},n.prototype.pause=function(){!this.queued&&this._player.pause()},n.prototype.restart=function(){!this.queued&&this._player.restart()},n.prototype.finish=function(){this._player.finish()},n.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},n.prototype.reset=function(){!this.queued&&this._player.reset()},n.prototype.setPosition=function(n){this.queued||this._player.setPosition(n)},n.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},n.prototype.triggerCallback=function(n){var e=this._player;e.triggerCallback&&e.triggerCallback(n)},n}();function pa(n){return n&&1===n.nodeType}function fa(n,e){var t=n.style.display;return n.style.display=null!=e?e:"none",t}function ha(n,e,t,l,o){var i=[];t.forEach((function(n){return i.push(fa(n))}));var r=[];l.forEach((function(t,l){var i={};t.forEach((function(n){var t=i[n]=e.computeStyle(l,n,o);t&&0!=t.length||(l[ra]=ia,r.push(l))})),n.set(l,i)}));var a=0;return t.forEach((function(n){return fa(n,i[a++])})),r}function ma(n,e){var t=new Map;if(n.forEach((function(n){return t.set(n,[])})),0==e.length)return t;var l=new Set(e),o=new Map;return e.forEach((function(n){var e=function n(e){if(!e)return 1;var i=o.get(e);if(i)return i;var r=e.parentNode;return i=t.has(r)?r:l.has(r)?1:n(r),o.set(e,i),i}(n);1!==e&&t.get(e).push(n)})),t}var va="$$classes";function ba(n,e){if(n.classList)n.classList.add(e);else{var t=n[va];t||(t=n[va]={}),t[e]=!0}}function _a(n,e){if(n.classList)n.classList.remove(e);else{var t=n[va];t&&delete t[e]}}function ya(n,e,t){qi(t).onDone((function(){return n.processLeaveNode(e)}))}function Ca(n,e,t){var l=t.get(n);if(!l)return!1;var o=e.get(n);return o?l.forEach((function(n){return o.add(n)})):e.set(n,l),t.delete(n),!0}var wa=function(){function n(n,e,t){var l=this;this.bodyNode=n,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(n,e){},this._transitionEngine=new da(n,e,t),this._timelineEngine=new ta(n,e,t),this._transitionEngine.onRemovalComplete=function(n,e){return l.onRemovalComplete(n,e)}}return n.prototype.registerTrigger=function(n,e,t,l,o){var i=n+"-"+l,r=this._triggerCache[i];if(!r){var a=[],u=Ir(this._driver,o,a);if(a.length)throw new Error('The animation trigger "'+l+'" has failed to build due to the following errors:\n - '+a.join("\n - "));r=function(n,e){return new Jr(n,e)}(l,u),this._triggerCache[i]=r}this._transitionEngine.registerTrigger(e,l,r)},n.prototype.register=function(n,e){this._transitionEngine.register(n,e)},n.prototype.destroy=function(n,e){this._transitionEngine.destroy(n,e)},n.prototype.onInsert=function(n,e,t,l){this._transitionEngine.insertNode(n,e,t,l)},n.prototype.onRemove=function(n,e,t,l){this._transitionEngine.removeNode(n,e,l||!1,t)},n.prototype.disableAnimations=function(n,e){this._transitionEngine.markElementAsDisabled(n,e)},n.prototype.process=function(n,e,t,l){if("@"==t.charAt(0)){var o=Object(i.e)(Ui(t),2);this._timelineEngine.command(o[0],e,o[1],l)}else this._transitionEngine.trigger(n,e,t,l)},n.prototype.listen=function(n,e,t,l,o){if("@"==t.charAt(0)){var r=Object(i.e)(Ui(t),2);return this._timelineEngine.listen(r[0],e,r[1],o)}return this._transitionEngine.listen(n,e,t,l,o)},n.prototype.flush=function(n){void 0===n&&(n=-1),this._transitionEngine.flush(n)},Object.defineProperty(n.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),n.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},n}();function Sa(n,e){var t=null,l=null;return Array.isArray(e)&&e.length?(t=ka(e[0]),e.length>1&&(l=ka(e[e.length-1]))):e&&(t=ka(e)),t||l?new xa(n,t,l):null}var xa=function(){function n(e,t,l){this._element=e,this._startStyles=t,this._endStyles=l,this._state=0;var o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o={}),this._initialStyles=o}return n.prototype.start=function(){this._state<1&&(this._startStyles&&cr(this._element,this._startStyles,this._initialStyles),this._state=1)},n.prototype.finish=function(){this.start(),this._state<2&&(cr(this._element,this._initialStyles),this._endStyles&&(cr(this._element,this._endStyles),this._endStyles=null),this._state=1)},n.prototype.destroy=function(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(pr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pr(this._element,this._endStyles),this._endStyles=null),cr(this._element,this._initialStyles),this._state=3)},n.initialStylesByElement=new WeakMap,n}();function ka(n){for(var e=null,t=Object.keys(n),l=0;l<t.length;l++){var o=t[l];Ea(o)&&((e=e||{})[o]=n[o])}return e}function Ea(n){return"display"===n||"position"===n}var Ta="animation",Ra="animationend",Ia=function(){function n(n,e,t,l,o,i,r){var a=this;this._element=n,this._name=e,this._duration=t,this._delay=l,this._easing=o,this._fillMode=i,this._onDoneFn=r,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(n){return a._handleCallback(n)}}return n.prototype.apply=function(){var n,e,t;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(t=Aa(n=this._element,"").trim()).length&&(function(n,e){for(var t=0;t<n.length;t++)","===n.charAt(t)&&0}(t),e=t+", "+e),Na(n,"",e),Ma(this._element,this._eventFn,!1),this._startTime=Date.now()},n.prototype.pause=function(){Da(this._element,this._name,"paused")},n.prototype.resume=function(){Da(this._element,this._name,"running")},n.prototype.setPosition=function(n){var e=Fa(this._element,this._name);this._position=n*this._duration,Na(this._element,"Delay","-"+this._position+"ms",e)},n.prototype.getPosition=function(){return this._position},n.prototype._handleCallback=function(n){var e=n._ngTestManualTimestamp||Date.now(),t=1e3*parseFloat(n.elapsedTime.toFixed(3));n.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&t>=this._duration&&this.finish()},n.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ma(this._element,this._eventFn,!0))},n.prototype.destroy=function(){var n,e,t,l;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(l=Oa(t=Aa(n=this._element,"").split(","),e))>=0&&(t.splice(l,1),Na(n,"",t.join(","))))},n}();function Da(n,e,t){Na(n,"PlayState",t,Fa(n,e))}function Fa(n,e){var t=Aa(n,"");return t.indexOf(",")>0?Oa(t.split(","),e):Oa([t],e)}function Oa(n,e){for(var t=0;t<n.length;t++)if(n[t].indexOf(e)>=0)return t;return-1}function Ma(n,e,t){t?n.removeEventListener(Ra,e):n.addEventListener(Ra,e)}function Na(n,e,t,l){var o=Ta+e;if(null!=l){var i=n.style[o];if(i.length){var r=i.split(",");r[l]=t,t=r.join(",")}}n.style[o]=t}function Aa(n,e){return n.style[Ta+e]}var Pa="linear",qa=function(){function n(n,e,t,l,o,i,r,a){this.element=n,this.keyframes=e,this.animationName=t,this._duration=l,this._delay=o,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||Pa,this.totalTime=l+o,this._buildStyler()}return n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[]},n.prototype._flushStartFns=function(){this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[]},n.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},n.prototype.setPosition=function(n){this._styler.setPosition(n)},n.prototype.getPosition=function(){return this._styler.getPosition()},n.prototype.hasStarted=function(){return this._state>=2},n.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},n.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},n.prototype.pause=function(){this.init(),this._styler.pause()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},n.prototype._buildStyler=function(){var n=this;this._styler=new Ia(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return n.finish()}))},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach((function(n){return n()})),e.length=0},n.prototype.beforeDestroy=function(){var n=this;this.init();var e={};if(this.hasStarted()){var t=this._state>=3;Object.keys(this._finalStyles).forEach((function(l){"offset"!=l&&(e[l]=t?n._finalStyles[l]:Sr(n.element,l))}))}this.currentSnapshot=e},n}(),La=function(n){function e(e,t){var l=n.call(this)||this;return l.element=e,l._startingStyles={},l.__initialized=!1,l._styles=nr(t),l}return Object(i.c)(e,n),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(n){e._startingStyles[n]=e.element.style[n]})),n.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(n){return e.element.style.setProperty(n,e._styles[n])})),n.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(n){var t=e._startingStyles[n];t?e.element.style.setProperty(n,t):e.element.style.removeProperty(n)})),this._startingStyles=null,n.prototype.destroy.call(this))},e}(Mi),ja=function(){function n(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return n.prototype.validateStyleProperty=function(n){return Yi(n)},n.prototype.matchesElement=function(n,e){return $i(n,e)},n.prototype.containsElement=function(n,e){return Qi(n,e)},n.prototype.query=function(n,e,t){return Ji(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.buildKeyframeElement=function(n,e,t){t=t.map((function(n){return nr(n)}));var l="@keyframes "+e+" {\n",o="";t.forEach((function(n){o=" ";var e=parseFloat(n.offset);l+=""+o+100*e+"% {\n",o+=" ",Object.keys(n).forEach((function(e){var t=n[e];switch(e){case"offset":return;case"easing":return void(t&&(l+=o+"animation-timing-function: "+t+";\n"));default:return void(l+=""+o+e+": "+t+";\n")}})),l+=o+"}\n"})),l+="}\n";var i=document.createElement("style");return i.innerHTML=l,i},n.prototype.animate=function(n,e,t,l,o,i,r){void 0===i&&(i=[]),r&&this._notifyFaultyScrubber();var a=i.filter((function(n){return n instanceof qa})),u={};yr(t,l)&&a.forEach((function(n){var e=n.currentSnapshot;Object.keys(e).forEach((function(n){return u[n]=e[n]}))}));var s=function(n){var e={};return n&&(Array.isArray(n)?n:[n]).forEach((function(n){Object.keys(n).forEach((function(t){"offset"!=t&&"easing"!=t&&(e[t]=n[t])}))})),e}(e=Cr(n,e,u));if(0==t)return new La(n,s);var d="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(n,d,e);document.querySelector("head").appendChild(c);var p=Sa(n,e),f=new qa(n,e,d,t,l,o,s,p);return f.onDestroy((function(){var n;(n=c).parentNode.removeChild(n)})),f},n.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},n}(),Va=function(){function n(n,e,t,l){this.element=n,this.keyframes=e,this.options=t,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},n.prototype._buildPlayer=function(){var n=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return n._onFinish()}))}},n.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},n.prototype._triggerWebAnimation=function(n,e,t){return n.animate(e,t)},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},n.prototype.pause=function(){this.init(),this.domPlayer.pause()},n.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},n.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.hasStarted=function(){return this._started},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.setPosition=function(n){this.domPlayer.currentTime=n*this.time},n.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(n.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),n.prototype.beforeDestroy=function(){var n=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(t){"offset"!=t&&(e[t]=n._finished?n._finalKeyframe[t]:Sr(n.element,t))})),this.currentSnapshot=e},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach((function(n){return n()})),e.length=0},n}(),Ba=function(){function n(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ha().toString()),this._cssKeyframesDriver=new ja}return n.prototype.validateStyleProperty=function(n){return Yi(n)},n.prototype.matchesElement=function(n,e){return $i(n,e)},n.prototype.containsElement=function(n,e){return Qi(n,e)},n.prototype.query=function(n,e,t){return Ji(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.overrideWebAnimationsSupport=function(n){this._isNativeImpl=n},n.prototype.animate=function(n,e,t,l,o,i,r){if(void 0===i&&(i=[]),!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(n,e,t,l,o,i);var a={duration:t,delay:l,fill:0==l?"both":"forwards"};o&&(a.easing=o);var u={},s=i.filter((function(n){return n instanceof Va}));yr(t,l)&&s.forEach((function(n){var e=n.currentSnapshot;Object.keys(e).forEach((function(n){return u[n]=e[n]}))}));var d=Sa(n,e=Cr(n,e=e.map((function(n){return ur(n,!1)})),u));return new Va(n,e,a,d)},n}();function Ha(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Ua=function(n){function e(e,t){var l=n.call(this)||this;return l._nextAnimationId=0,l._renderer=e.createRenderer(t.body,{id:"0",encapsulation:o.ViewEncapsulation.None,styles:[],data:{animation:[]}}),l}return Object(i.c)(e,n),e.prototype.build=function(n){var e=this._nextAnimationId.toString();this._nextAnimationId++;var t=Array.isArray(n)?Di(n):n;return Wa(this._renderer,null,e,"register",[t]),new za(e,this._renderer)},e}(Ti),za=function(n){function e(e,t){var l=n.call(this)||this;return l._id=e,l._renderer=t,l}return Object(i.c)(e,n),e.prototype.create=function(n,e){return new Ga(this._id,n,e||{},this._renderer)},e}(Ri),Ga=function(){function n(n,e,t,l){this.id=n,this.element=e,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return n.prototype._listen=function(n,e){return this._renderer.listen(this.element,"@@"+this.id+":"+n,e)},n.prototype._command=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Wa(this._renderer,this.element,this.id,n,e)},n.prototype.onDone=function(n){this._listen("done",n)},n.prototype.onStart=function(n){this._listen("start",n)},n.prototype.onDestroy=function(n){this._listen("destroy",n)},n.prototype.init=function(){this._command("init")},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this._command("play"),this._started=!0},n.prototype.pause=function(){this._command("pause")},n.prototype.restart=function(){this._command("restart")},n.prototype.finish=function(){this._command("finish")},n.prototype.destroy=function(){this._command("destroy")},n.prototype.reset=function(){this._command("reset")},n.prototype.setPosition=function(n){this._command("setPosition",n)},n.prototype.getPosition=function(){return 0},n}();function Wa(n,e,t,l,o){return n.setProperty(e,"@@"+t+":"+l,o)}var Za=function(){function n(n,e,t){this.delegate=n,this.engine=e,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(n,e){e&&e.parentNode(n)&&e.removeChild(n.parentNode,n)}}return n.prototype.createRenderer=function(n,e){var t=this,l=this.delegate.createRenderer(n,e);if(!(n&&e&&e.data&&e.data.animation)){var o=this._rendererCache.get(l);return o||(o=new Ka("",l,this.engine),this._rendererCache.set(l,o)),o}var i=e.id,r=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(r,n),e.data.animation.forEach((function(e){return t.engine.registerTrigger(i,r,n,e.name,e)})),new Xa(this,r,l,this.engine)},n.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},n.prototype._scheduleCountTask=function(){var n=this;this.promise.then((function(){n._microtaskId++}))},n.prototype.scheduleListenerCallback=function(n,e,t){var l=this;n>=0&&n<this._microtaskId?this._zone.run((function(){return e(t)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){l._zone.run((function(){l._animationCallbacksBuffer.forEach((function(n){var e=Object(i.e)(n,2);(0,e[0])(e[1])})),l._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,t]))},n.prototype.end=function(){var n=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){n._scheduleCountTask(),n.engine.flush(n._microtaskId)})),this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},n}(),Ka=function(){function n(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?function(n){return e.destroyNode(n)}:null}return Object.defineProperty(n.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},n.prototype.createElement=function(n,e){return this.delegate.createElement(n,e)},n.prototype.createComment=function(n){return this.delegate.createComment(n)},n.prototype.createText=function(n){return this.delegate.createText(n)},n.prototype.appendChild=function(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)},n.prototype.insertBefore=function(n,e,t){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,!0)},n.prototype.removeChild=function(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)},n.prototype.selectRootElement=function(n,e){return this.delegate.selectRootElement(n,e)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setAttribute=function(n,e,t,l){this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)},n.prototype.setValue=function(n,e){this.delegate.setValue(n,e)},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.disableAnimations=function(n,e){this.engine.disableAnimations(n,e)},n}(),Xa=function(n){function e(e,t,l,o){var i=n.call(this,t,l,o)||this;return i.factory=e,i.namespaceId=t,i}return Object(i.c)(e,n),e.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)},e.prototype.listen=function(n,e,t){var l,o,r,a=this;if("@"==e.charAt(0)){var u=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(n),s=e.substr(1),d="";return"@"!=s.charAt(0)&&(s=(l=Object(i.e)((o=s,r=o.indexOf("."),[o.substring(0,r),o.substr(r+1)]),2))[0],d=l[1]),this.engine.listen(this.namespaceId,u,s,d,(function(n){a.factory.scheduleListenerCallback(n._data||-1,t,n)}))}return this.delegate.listen(n,e,t)},e}(Ka),Ya=function(n){function e(e,t,l){return n.call(this,e.body,t,l)||this}return Object(i.c)(e,n),e}(wa);function $a(){return"function"==typeof Ha()?new Ba:new ja}function Qa(){return new Zr}function Ja(n,e,t){return new Za(n,e,t)}var nu=new o.InjectionToken("AnimationModuleType"),eu=[{provide:Ti,useClass:Ua},{provide:Wr,useFactory:Qa},{provide:wa,useClass:Ya},{provide:o.RendererFactory2,useFactory:Ja,deps:[P,wa,o.NgZone]}],tu=(Object(i.f)([{provide:tr,useFactory:$a},{provide:nu,useValue:"BrowserAnimations"}],eu),Object(i.f)([{provide:tr,useClass:er},{provide:nu,useValue:"NoopAnimations"}],eu),function(){return function(){}}()),lu=o["ɵcrt"]({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function ou(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{ripple:0}),(n()(),o["ɵeld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["ɵncd"](null,0),(n()(),o["ɵeld"](3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](4,212992,[[1,4]],0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["ɵeld"](5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,4,0,t.isIconButton,t._isRippleDisabled(),t._getHostElement())}),(function(n,e){var t=e.component;n(e,3,0,t.isRoundButton||t.isIconButton,o["ɵnov"](e,4).unbounded)}))}var iu=o["ɵcrt"]({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function ru(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{ripple:0}),(n()(),o["ɵeld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["ɵncd"](null,0),(n()(),o["ɵeld"](3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](4,212992,[[1,4]],0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["ɵeld"](5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,4,0,t.isIconButton,t._isRippleDisabled(),t._getHostElement())}),(function(n,e){var t=e.component;n(e,3,0,t.isRoundButton||t.isIconButton,o["ɵnov"](e,4).unbounded)}))}var au=Bo(function(){return function(n){this._elementRef=n}}()),uu=function(){return function(){}}(),su=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o._platform=t,o._document=l,o}return Object(i.c)(e,n),e.prototype.ngAfterViewInit=function(){var n=this;Object(o.isDevMode)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return n._checkToolbarMixedModes()})))},e.prototype._checkToolbarMixedModes=function(){var n=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(n){return!(n.classList&&n.classList.contains("mat-toolbar-row"))})).filter((function(e){return e.nodeType!==(n._document?n._document.COMMENT_NODE:8)})).some((function(n){return!(!n.textContent||!n.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()},e}(au),du=function(){return function(){}}(),cu=o["ɵcrt"]({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function pu(n){return o["ɵvid"](2,[o["ɵncd"](null,0),o["ɵncd"](null,1)],null,null)}var fu=function(){return function(){}}(),hu=function(){return function(){}}(),mu=function(){function n(n){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?function(){e.headers=new Map,n.split("\n").forEach((function(n){var t=n.indexOf(":");if(t>0){var l=n.slice(0,t),o=l.toLowerCase(),i=n.slice(t+1).trim();e.maybeSetNormalizedName(l,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}}))}:function(){e.headers=new Map,Object.keys(n).forEach((function(t){var l=n[t],o=t.toLowerCase();"string"==typeof l&&(l=[l]),l.length>0&&(e.headers.set(o,l),e.maybeSetNormalizedName(t,o))}))}:this.headers=new Map}return n.prototype.has=function(n){return this.init(),this.headers.has(n.toLowerCase())},n.prototype.get=function(n){this.init();var e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null},n.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},n.prototype.getAll=function(n){return this.init(),this.headers.get(n.toLowerCase())||null},n.prototype.append=function(n,e){return this.clone({name:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({name:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({name:n,value:e,op:"d"})},n.prototype.maybeSetNormalizedName=function(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)},n.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(n){return e.applyUpdate(n)})),this.lazyUpdate=null))},n.prototype.copyFrom=function(n){var e=this;n.init(),Array.from(n.headers.keys()).forEach((function(t){e.headers.set(t,n.headers.get(t)),e.normalizedNames.set(t,n.normalizedNames.get(t))}))},n.prototype.clone=function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t},n.prototype.applyUpdate=function(n){var e=n.name.toLowerCase();switch(n.op){case"a":case"s":var t=n.value;if("string"==typeof t&&(t=[t]),0===t.length)return;this.maybeSetNormalizedName(n.name,e);var l=("a"===n.op?this.headers.get(e):void 0)||[];l.push.apply(l,Object(i.f)(t)),this.headers.set(e,l);break;case"d":var o=n.value;if(o){var r=this.headers.get(e);if(!r)return;0===(r=r.filter((function(n){return-1===o.indexOf(n)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,r)}else this.headers.delete(e),this.normalizedNames.delete(e)}},n.prototype.forEach=function(n){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(t){return n(e.normalizedNames.get(t),e.headers.get(t))}))},n}(),vu=function(){function n(){}return n.prototype.encodeKey=function(n){return gu(n)},n.prototype.encodeValue=function(n){return gu(n)},n.prototype.decodeKey=function(n){return decodeURIComponent(n)},n.prototype.decodeValue=function(n){return decodeURIComponent(n)},n}();function gu(n){return encodeURIComponent(n).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,"/")}var bu=function(){function n(n){var e,t,l,o=this;if(void 0===n&&(n={}),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new vu,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=n.fromString,t=this.encoder,l=new Map,e.length>0&&e.split("&").forEach((function(n){var e=n.indexOf("="),o=Object(i.e)(-1==e?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,e)),t.decodeValue(n.slice(e+1))],2),r=o[0],a=o[1],u=l.get(r)||[];u.push(a),l.set(r,u)})),l)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var t=n.fromObject[e];o.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return n.prototype.has=function(n){return this.init(),this.map.has(n)},n.prototype.get=function(n){this.init();var e=this.map.get(n);return e?e[0]:null},n.prototype.getAll=function(n){return this.init(),this.map.get(n)||null},n.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},n.prototype.append=function(n,e){return this.clone({param:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({param:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({param:n,value:e,op:"d"})},n.prototype.toString=function(){var n=this;return this.init(),this.keys().map((function(e){var t=n.encoder.encodeKey(e);return n.map.get(e).map((function(e){return t+"="+n.encoder.encodeValue(e)})).join("&")})).join("&")},n.prototype.clone=function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t},n.prototype.init=function(){var n=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return n.map.set(e,n.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var t=("a"===e.op?n.map.get(e.param):void 0)||[];t.push(e.value),n.map.set(e.param,t);break;case"d":if(void 0===e.value){n.map.delete(e.param);break}var l=n.map.get(e.param)||[],o=l.indexOf(e.value);-1!==o&&l.splice(o,1),l.length>0?n.map.set(e.param,l):n.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},n}();function _u(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function yu(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Cu(n){return"undefined"!=typeof FormData&&n instanceof FormData}var wu=function(){function n(n,e,t,l){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==t?t:null,o=l):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new mu),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var r=e.indexOf("?");this.urlWithParams=e+(-1===r?"?":r<e.length-1?"&":"")+i}}else this.params=new bu,this.urlWithParams=e}return n.prototype.serializeBody=function(){return null===this.body?null:_u(this.body)||yu(this.body)||Cu(this.body)||"string"==typeof this.body?this.body:this.body instanceof bu?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},n.prototype.detectContentTypeHeader=function(){return null===this.body?null:Cu(this.body)?null:yu(this.body)?this.body.type||null:_u(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof bu?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},n.prototype.clone=function(e){void 0===e&&(e={});var t=e.method||this.method,l=e.url||this.url,o=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,r=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,u=e.headers||this.headers,s=e.params||this.params;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce((function(n,t){return n.set(t,e.setHeaders[t])}),u)),e.setParams&&(s=Object.keys(e.setParams).reduce((function(n,t){return n.set(t,e.setParams[t])}),s)),new n(t,l,i,{params:s,headers:u,reportProgress:a,responseType:o,withCredentials:r})},n}(),Su=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}({}),xu=function(){return function(n,e,t){void 0===e&&(e=200),void 0===t&&(t="OK"),this.headers=n.headers||new mu,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}(),ku=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Su.ResponseHeader,t}return Object(i.c)(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(xu),Eu=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Su.Response,t.body=void 0!==e.body?e.body:null,t}return Object(i.c)(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(xu),Tu=function(n){function e(e){var t=n.call(this,e,0,"Unknown Error")||this;return t.name="HttpErrorResponse",t.ok=!1,t.message=t.status>=200&&t.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,t.error=e.error||null,t}return Object(i.c)(e,n),e}(xu);function Ru(n,e){return{body:e,headers:n.headers,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var Iu=function(){function n(n){this.handler=n}return n.prototype.request=function(n,e,t){var l,o=this;if(void 0===t&&(t={}),n instanceof wu)l=n;else{var i;i=t.headers instanceof mu?t.headers:new mu(t.headers);var r=void 0;t.params&&(r=t.params instanceof bu?t.params:new bu({fromObject:t.params})),l=new wu(n,e,void 0!==t.body?t.body:null,{headers:i,params:r,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials})}var a=Object(En.a)(l).pipe(Object(Zn.a)((function(n){return o.handler.handle(n)})));if(n instanceof wu||"events"===t.observe)return a;var u=a.pipe(Object(Wn.a)((function(n){return n instanceof Eu})));switch(t.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(An.a)((function(n){if(null!==n.body&&!(n.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return n.body})));case"blob":return u.pipe(Object(An.a)((function(n){if(null!==n.body&&!(n.body instanceof Blob))throw new Error("Response is not a Blob.");return n.body})));case"text":return u.pipe(Object(An.a)((function(n){if(null!==n.body&&"string"!=typeof n.body)throw new Error("Response is not a string.");return n.body})));case"json":default:return u.pipe(Object(An.a)((function(n){return n.body})))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+t.observe+"}")}},n.prototype.delete=function(n,e){return void 0===e&&(e={}),this.request("DELETE",n,e)},n.prototype.get=function(n,e){return void 0===e&&(e={}),this.request("GET",n,e)},n.prototype.head=function(n,e){return void 0===e&&(e={}),this.request("HEAD",n,e)},n.prototype.jsonp=function(n,e){return this.request("JSONP",n,{params:(new bu).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},n.prototype.options=function(n,e){return void 0===e&&(e={}),this.request("OPTIONS",n,e)},n.prototype.patch=function(n,e,t){return void 0===t&&(t={}),this.request("PATCH",n,Ru(t,e))},n.prototype.post=function(n,e,t){return void 0===t&&(t={}),this.request("POST",n,Ru(t,e))},n.prototype.put=function(n,e,t){return void 0===t&&(t={}),this.request("PUT",n,Ru(t,e))},n}(),Du=function(){function n(n,e){this.next=n,this.interceptor=e}return n.prototype.handle=function(n){return this.interceptor.intercept(n,this.next)},n}(),Fu=new o.InjectionToken("HTTP_INTERCEPTORS"),Ou=function(){function n(){}return n.prototype.intercept=function(n,e){return e.handle(n)},n}(),Mu=/^\)\]\}',?\n/,Nu=function(){return function(){}}(),Au=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),Pu=function(){function n(n){this.xhrFactory=n}return n.prototype.handle=function(n){var e=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new In.a((function(t){var l=e.xhrFactory.build();if(l.open(n.method,n.urlWithParams),n.withCredentials&&(l.withCredentials=!0),n.headers.forEach((function(n,e){return l.setRequestHeader(n,e.join(","))})),n.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var o=n.detectContentTypeHeader();null!==o&&l.setRequestHeader("Content-Type",o)}if(n.responseType){var i=n.responseType.toLowerCase();l.responseType="json"!==i?i:"text"}var r=n.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===l.status?204:l.status,t=l.statusText||"OK",o=new mu(l.getAllResponseHeaders()),i=function(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(l)||n.url;return a=new ku({headers:o,status:e,statusText:t,url:i})},s=function(){var e=u(),o=e.headers,i=e.status,r=e.statusText,a=e.url,s=null;204!==i&&(s=void 0===l.response?l.responseText:l.response),0===i&&(i=s?200:0);var d=i>=200&&i<300;if("json"===n.responseType&&"string"==typeof s){var c=s;s=s.replace(Mu,"");try{s=""!==s?JSON.parse(s):null}catch(p){s=c,d&&(d=!1,s={error:p,text:s})}}d?(t.next(new Eu({body:s,headers:o,status:i,statusText:r,url:a||void 0})),t.complete()):t.error(new Tu({error:s,headers:o,status:i,statusText:r,url:a||void 0}))},d=function(n){var e=u().url,o=new Tu({error:n,status:l.status||0,statusText:l.statusText||"Unknown Error",url:e||void 0});t.error(o)},c=!1,p=function(e){c||(t.next(u()),c=!0);var o={type:Su.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===n.responseType&&l.responseText&&(o.partialText=l.responseText),t.next(o)},f=function(n){var e={type:Su.UploadProgress,loaded:n.loaded};n.lengthComputable&&(e.total=n.total),t.next(e)};return l.addEventListener("load",s),l.addEventListener("error",d),n.reportProgress&&(l.addEventListener("progress",p),null!==r&&l.upload&&l.upload.addEventListener("progress",f)),l.send(r),t.next({type:Su.Sent}),function(){l.removeEventListener("error",d),l.removeEventListener("load",s),n.reportProgress&&(l.removeEventListener("progress",p),null!==r&&l.upload&&l.upload.removeEventListener("progress",f)),l.abort()}}))},n}(),qu=new o.InjectionToken("XSRF_COOKIE_NAME"),Lu=new o.InjectionToken("XSRF_HEADER_NAME"),ju=function(){return function(){}}(),Vu=function(){function n(n,e,t){this.doc=n,this.platform=e,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return n.prototype.getToken=function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(r["ɵparseCookieValue"])(n,this.cookieName),this.lastCookieString=n),this.lastToken},n}(),Bu=function(){function n(n,e){this.tokenService=n,this.headerName=e}return n.prototype.intercept=function(n,e){var t=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e.handle(n);var l=this.tokenService.getToken();return null===l||n.headers.has(this.headerName)||(n=n.clone({headers:n.headers.set(this.headerName,l)})),e.handle(n)},n}(),Hu=function(){function n(n,e){this.backend=n,this.injector=e,this.chain=null}return n.prototype.handle=function(n){if(null===this.chain){var e=this.injector.get(Fu,[]);this.chain=e.reduceRight((function(n,e){return new Du(n,e)}),this.backend)}return this.chain.handle(n)},n}(),Uu=function(){function n(){}var e;return e=n,n.disable=function(){return{ngModule:e,providers:[{provide:Bu,useClass:Ou}]}},n.withOptions=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[n.cookieName?{provide:qu,useValue:n.cookieName}:[],n.headerName?{provide:Lu,useValue:n.headerName}:[]]}},n}(),zu=function(){return function(){}}(),Gu=t("XlPw"),Wu=t("VNr4"),Zu=t("S1nX");function Ku(n){return Error('Unable to find icon with the name "'+n+'"')}function Xu(n){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+n+'".')}function Yu(n){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+n+'".')}var $u=function(){return function(n,e){this.options=e,n.nodeName?this.svgElement=n:this.url=n}}(),Qu=function(){function n(n,e,t,l){this._httpClient=n,this._sanitizer=e,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=t}return n.prototype.addSvgIcon=function(n,e,t){return this.addSvgIconInNamespace("",n,e,t)},n.prototype.addSvgIconLiteral=function(n,e,t){return this.addSvgIconLiteralInNamespace("",n,e,t)},n.prototype.addSvgIconInNamespace=function(n,e,t,l){return this._addSvgIconConfig(n,e,new $u(t,l))},n.prototype.addSvgIconLiteralInNamespace=function(n,e,t,l){var i=this._sanitizer.sanitize(o.SecurityContext.HTML,t);if(!i)throw Yu(t);var r=this._createSvgElementForSingleIcon(i,l);return this._addSvgIconConfig(n,e,new $u(r,l))},n.prototype.addSvgIconSet=function(n,e){return this.addSvgIconSetInNamespace("",n,e)},n.prototype.addSvgIconSetLiteral=function(n,e){return this.addSvgIconSetLiteralInNamespace("",n,e)},n.prototype.addSvgIconSetInNamespace=function(n,e,t){return this._addSvgIconSetConfig(n,new $u(e,t))},n.prototype.addSvgIconSetLiteralInNamespace=function(n,e,t){var l=this._sanitizer.sanitize(o.SecurityContext.HTML,e);if(!l)throw Yu(e);var i=this._svgElementFromString(l);return this._addSvgIconSetConfig(n,new $u(i,t))},n.prototype.registerFontClassAlias=function(n,e){return void 0===e&&(e=n),this._fontCssClassesByAlias.set(n,e),this},n.prototype.classNameForFontAlias=function(n){return this._fontCssClassesByAlias.get(n)||n},n.prototype.setDefaultFontSetClass=function(n){return this._defaultFontSetClass=n,this},n.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},n.prototype.getSvgIconFromUrl=function(n){var e=this,t=this._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n);if(!t)throw Xu(n);var l=this._cachedIconsByUrl.get(t);return l?Object(En.a)(Ju(l)):this._loadSvgIconFromConfig(new $u(n)).pipe(Object(Xn.a)((function(n){return e._cachedIconsByUrl.set(t,n)})),Object(An.a)((function(n){return Ju(n)})))},n.prototype.getNamedSvgIcon=function(n,e){void 0===e&&(e="");var t=ns(e,n),l=this._svgIconConfigs.get(t);if(l)return this._getSvgFromConfig(l);var o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(n,o):Object(Gu.a)(Ku(t))},n.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},n.prototype._getSvgFromConfig=function(n){return n.svgElement?Object(En.a)(Ju(n.svgElement)):this._loadSvgIconFromConfig(n).pipe(Object(Xn.a)((function(e){return n.svgElement=e})),Object(An.a)((function(n){return Ju(n)})))},n.prototype._getSvgFromIconSetConfigs=function(n,e){var t=this,l=this._extractIconWithNameFromAnySet(n,e);if(l)return Object(En.a)(l);var i=e.filter((function(n){return!n.svgElement})).map((function(n){return t._loadSvgIconSetFromConfig(n).pipe(Object(Ln.a)((function(e){var l="Loading icon set URL: "+t._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n.url)+" failed: "+e.message;return t._errorHandler?t._errorHandler.handleError(new Error(l)):console.error(l),Object(En.a)(null)})))}));return Object(Wu.a)(i).pipe(Object(An.a)((function(){var l=t._extractIconWithNameFromAnySet(n,e);if(!l)throw Ku(n);return l})))},n.prototype._extractIconWithNameFromAnySet=function(n,e){for(var t=e.length-1;t>=0;t--){var l=e[t];if(l.svgElement){var o=this._extractSvgIconFromSet(l.svgElement,n,l.options);if(o)return o}}return null},n.prototype._loadSvgIconFromConfig=function(n){var e=this;return this._fetchUrl(n.url).pipe(Object(An.a)((function(t){return e._createSvgElementForSingleIcon(t,n.options)})))},n.prototype._loadSvgIconSetFromConfig=function(n){var e=this;return n.svgElement?Object(En.a)(n.svgElement):this._fetchUrl(n.url).pipe(Object(An.a)((function(t){return n.svgElement||(n.svgElement=e._svgElementFromString(t)),n.svgElement})))},n.prototype._createSvgElementForSingleIcon=function(n,e){var t=this._svgElementFromString(n);return this._setSvgAttributes(t,e),t},n.prototype._extractSvgIconFromSet=function(n,e,t){var l=n.querySelector('[id="'+e+'"]');if(!l)return null;var o=l.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,t);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),t);var i=this._svgElementFromString("<svg></svg>");return i.appendChild(o),this._setSvgAttributes(i,t)},n.prototype._svgElementFromString=function(n){var e=this._document.createElement("DIV");e.innerHTML=n;var t=e.querySelector("svg");if(!t)throw Error("<svg> tag not found");return t},n.prototype._toSvgElement=function(n){for(var e=this._svgElementFromString("<svg></svg>"),t=n.attributes,l=0;l<t.length;l++){var o=t[l],i=o.name;"id"!==i&&e.setAttribute(i,o.value)}for(l=0;l<n.childNodes.length;l++)n.childNodes[l].nodeType===this._document.ELEMENT_NODE&&e.appendChild(n.childNodes[l].cloneNode(!0));return e},n.prototype._setSvgAttributes=function(n,e){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),e&&e.viewBox&&n.setAttribute("viewBox",e.viewBox),n},n.prototype._fetchUrl=function(n){var e=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error('Cannot fetch icon from URL "'+n+'".');var t=this._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n);if(!t)throw Xu(n);var l=this._inProgressUrlFetches.get(t);if(l)return l;var i=this._httpClient.get(t,{responseType:"text"}).pipe(Object(Yn.a)((function(){return e._inProgressUrlFetches.delete(t)})),Object(Zu.a)());return this._inProgressUrlFetches.set(t,i),i},n.prototype._addSvgIconConfig=function(n,e,t){return this._svgIconConfigs.set(ns(n,e),t),this},n.prototype._addSvgIconSetConfig=function(n,e){var t=this._iconSetConfigs.get(n);return t?t.push(e):this._iconSetConfigs.set(n,[e]),this},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(Iu,8),Object(o["ɵɵinject"])(rn),Object(o["ɵɵinject"])(r.DOCUMENT,8),Object(o["ɵɵinject"])(o.ErrorHandler,8))},token:n,providedIn:"root"}),n}();function Ju(n){return n.cloneNode(!0)}function ns(n,e){return n+":"+e}var es=Bo(function(){return function(n){this._elementRef=n}}()),ts=new o.InjectionToken("mat-icon-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(r.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),ls=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],os=ls.map((function(n){return"["+n+"]"})).join(", "),is=/^url\(['"]?#(.*?)['"]?\)$/,rs=function(n){function e(e,t,l,o,i){var r=n.call(this,e)||this;return r._iconRegistry=t,r._location=o,r._errorHandler=i,r._inline=!1,l||e.nativeElement.setAttribute("aria-hidden","true"),r}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"inline",{get:function(){return this._inline},set:function(n){this._inline=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSet",{get:function(){return this._fontSet},set:function(n){this._fontSet=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(n){this._fontIcon=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),e.prototype._splitIconName=function(n){if(!n)return["",""];var e=n.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'+n+'"')}},e.prototype.ngOnChanges=function(n){var e=this,t=n.svgIcon;if(t)if(this.svgIcon){var l=this._splitIconName(this.svgIcon),o=l[0],i=l[1];this._iconRegistry.getNamedSvgIcon(i,o).pipe(Object(Un.a)(1)).subscribe((function(n){return e._setSvgElement(n)}),(function(n){var t="Error retrieving icon "+o+":"+i+"! "+n.message;e._errorHandler?e._errorHandler.handleError(new Error(t)):console.error(t)}))}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngAfterViewChecked=function(){var n=this._elementsWithExternalReferences;if(n&&this._location&&n.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}},e.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},e.prototype._usingFontIcon=function(){return!this.svgIcon},e.prototype._setSvgElement=function(n){this._clearSvgElement();for(var e=n.querySelectorAll("style"),t=0;t<e.length;t++)e[t].textContent+=" ";if(this._location){var l=this._location.getPathname();this._previousPath=l,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(l)}this._elementRef.nativeElement.appendChild(n)},e.prototype._clearSvgElement=function(){var n=this._elementRef.nativeElement,e=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var t=n.childNodes[e];1===t.nodeType&&"svg"!==t.nodeName.toLowerCase()||n.removeChild(t)}},e.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var n=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&n.classList.remove(this._previousFontSetClass),e&&n.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},e.prototype._cleanupFontValue=function(n){return"string"==typeof n?n.trim().split(" ")[0]:n},e.prototype._prependPathToReferences=function(n){var e=this._elementsWithExternalReferences;e&&e.forEach((function(e,t){e.forEach((function(e){t.setAttribute(e.name,"url('"+n+"#"+e.value+"')")}))}))},e.prototype._cacheChildrenWithExternalReferences=function(n){for(var e=n.querySelectorAll(os),t=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,l=function(n){ls.forEach((function(l){var o=e[n],i=o.getAttribute(l),r=i?i.match(is):null;if(r){var a=t.get(o);a||t.set(o,a=[]),a.push({name:l,value:r[1]})}}))},o=0;o<e.length;o++)l(o)},e}(es),as=function(){return function(){}}(),us=o["ɵcrt"]({encapsulation:2,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],data:{}});function ss(n){return o["ɵvid"](2,[o["ɵncd"](null,0)],null,null)}function ds(){throw Error("Host already has a portal attached")}var cs=function(){function n(){}return n.prototype.attach=function(n){return null==n&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),n.hasAttached()&&ds(),this._attachedHost=n,n.attach(this)},n.prototype.detach=function(){var n=this._attachedHost;null==n?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,n.detach())},Object.defineProperty(n.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),n.prototype.setAttachedHost=function(n){this._attachedHost=n},n}(),ps=function(n){function e(e,t,l,o){var i=n.call(this)||this;return i.component=e,i.viewContainerRef=t,i.injector=l,i.componentFactoryResolver=o,i}return Object(i.c)(e,n),e}(cs),fs=function(n){function e(e,t,l){var o=n.call(this)||this;return o.templateRef=e,o.viewContainerRef=t,o.context=l,o}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,t){return void 0===t&&(t=this.context),this.context=t,n.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,n.prototype.detach.call(this)},e}(cs),hs=function(){function n(){this._isDisposed=!1}return n.prototype.hasAttached=function(){return!!this._attachedPortal},n.prototype.attach=function(n){return n||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ds(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),n instanceof ps?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof fs?(this._attachedPortal=n,this.attachTemplatePortal(n)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},n.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},n.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},n.prototype.setDisposeFn=function(n){this._disposeFn=n},n.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},n}(),ms=function(n){function e(e,t,l,o){var i=n.call(this)||this;return i.outletElement=e,i._componentFactoryResolver=t,i._appRef=l,i._defaultInjector=o,i}return Object(i.c)(e,n),e.prototype.attachComponentPortal=function(n){var e,t=this,l=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);return n.viewContainerRef?(e=n.viewContainerRef.createComponent(l,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=l.create(n.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){t._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(n){var e=this,t=n.viewContainerRef,l=t.createEmbeddedView(n.templateRef,n.context);return l.detectChanges(),l.rootNodes.forEach((function(n){return e.outletElement.appendChild(n)})),this.setDisposeFn((function(){var n=t.indexOf(l);-1!==n&&t.remove(n)})),l},e.prototype.dispose=function(){n.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(n){return n.hostView.rootNodes[0]},e}(hs),vs=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e}(fs),gs=function(n){function e(e,t){var l=n.call(this)||this;return l._componentFactoryResolver=e,l._viewContainerRef=t,l._isInitialized=!1,l.attached=new o.EventEmitter,l}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&n.prototype.detach.call(this),e&&n.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){n.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(l,t.length,e.injector||t.injector);return n.prototype.setDisposeFn.call(this,(function(){return o.destroy()})),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o},e.prototype.attachTemplatePortal=function(e){var t=this;e.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return n.prototype.setDisposeFn.call(this,(function(){return t._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l},e}(hs),bs=function(){return function(){}}(),_s=function(){function n(n,e){this._parentInjector=n,this._customTokens=e}return n.prototype.get=function(n,e){var t=this._customTokens.get(n);return void 0!==t?t:this._parentInjector.get(n,e)},n}(),ys=t("p0ib"),Cs=t("KQya"),ws=t("ny24"),Ss=t("vubp"),xs=t("bne5"),ks=t("tHPV"),Es=t("ad02"),Ts=t("Rney"),Rs=t("qyHS"),Is=t("klSw"),Ds=function(){return function(){}}();function Fs(n){return n&&"function"==typeof n.connect}var Os=function(){function n(n,e,t){var l=this;void 0===n&&(n=!1),void 0===t&&(t=!0),this._multiple=n,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Mn.b,this.onChange=this.changed,e&&e.length&&(n?e.forEach((function(n){return l._markSelected(n)})):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),n.prototype.select=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._verifyValueAssignment(e),e.forEach((function(e){return n._markSelected(e)})),this._emitChangeEvent()},n.prototype.deselect=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._verifyValueAssignment(e),e.forEach((function(e){return n._unmarkSelected(e)})),this._emitChangeEvent()},n.prototype.toggle=function(n){this.isSelected(n)?this.deselect(n):this.select(n)},n.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},n.prototype.isSelected=function(n){return this._selection.has(n)},n.prototype.isEmpty=function(){return 0===this._selection.size},n.prototype.hasValue=function(){return!this.isEmpty()},n.prototype.sort=function(n){this._multiple&&this.selected&&this._selected.sort(n)},n.prototype.isMultipleSelection=function(){return this._multiple},n.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},n.prototype._markSelected=function(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))},n.prototype._unmarkSelected=function(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))},n.prototype._unmarkAll=function(){var n=this;this.isEmpty()||this._selection.forEach((function(e){return n._unmarkSelected(e)}))},n.prototype._verifyValueAssignment=function(n){if(n.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},n}(),Ms=function(){function n(){this._listeners=[]}return n.prototype.notify=function(n,e){for(var t=0,l=this._listeners;t<l.length;t++)(0,l[t])(n,e)},n.prototype.listen=function(n){var e=this;return this._listeners.push(n),function(){e._listeners=e._listeners.filter((function(e){return n!==e}))}},n.prototype.ngOnDestroy=function(){this._listeners=[]},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Ns=function(){function n(n,e){this._ngZone=n,this._platform=e,this._scrolled=new Mn.b,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return n.prototype.register=function(n){var e=this;this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe((function(){return e._scrolled.next(n)})))},n.prototype.deregister=function(n){var e=this.scrollContainers.get(n);e&&(e.unsubscribe(),this.scrollContainers.delete(n))},n.prototype.scrolled=function(n){var e=this;return void 0===n&&(n=20),this._platform.isBrowser?new In.a((function(t){e._globalSubscription||e._addGlobalListener();var l=n>0?e._scrolled.pipe(Object(Ts.a)(n)).subscribe(t):e._scrolled.subscribe(t);return e._scrolledCount++,function(){l.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(En.a)()},n.prototype.ngOnDestroy=function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,t){return n.deregister(t)})),this._scrolled.complete()},n.prototype.ancestorScrolled=function(n,e){var t=this.getAncestorScrollContainers(n);return this.scrolled(e).pipe(Object(Wn.a)((function(n){return!n||t.indexOf(n)>-1})))},n.prototype.getAncestorScrollContainers=function(n){var e=this,t=[];return this.scrollContainers.forEach((function(l,o){e._scrollableContainsElement(o,n)&&t.push(o)})),t},n.prototype._scrollableContainsElement=function(n,e){var t=e.nativeElement,l=n.getElementRef().nativeElement;do{if(t==l)return!0}while(t=t.parentElement);return!1},n.prototype._addGlobalListener=function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(xs.a)(window.document,"scroll").subscribe((function(){return n._scrolled.next()}))}))},n.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(io))},token:n,providedIn:"root"}),n}(),As=function(){return function(){}}(),Ps=function(){function n(n,e){var t=this;this._platform=n,e.runOutsideAngular((function(){t._change=n.isBrowser?Object(ys.a)(Object(xs.a)(window,"resize"),Object(xs.a)(window,"orientationchange")):Object(En.a)(),t._invalidateCache=t.change().subscribe((function(){return t._updateViewportSize()}))}))}return n.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},n.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n},n.prototype.getViewportRect=function(){var n=this.getViewportScrollPosition(),e=this.getViewportSize(),t=e.width,l=e.height;return{top:n.top,left:n.left,bottom:n.top+l,right:n.left+t,height:l,width:t}},n.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=document.documentElement,e=n.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||n.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||n.scrollLeft||0}},n.prototype.change=function(n){return void 0===n&&(n=20),n>0?this._change.pipe(Object(Ts.a)(n)):this._change},n.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(io),Object(o["ɵɵinject"])(o.NgZone))},token:n,providedIn:"root"}),n}(),qs=function(){function n(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return n.prototype.attach=function(){},n.prototype.enable=function(){if(this._canBeEnabled()){var n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=no(-this._previousScrollPosition.left),n.style.top=no(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},n.prototype.disable=function(){if(this._isEnabled){var n=this._document.documentElement,e=n.style,t=this._document.body.style,l=e.scrollBehavior||"",o=t.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=t.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=l,t.scrollBehavior=o}},n.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var n=this._document.body,e=this._viewportRuler.getViewportSize();return n.scrollHeight>e.height||n.scrollWidth>e.width},n}();function Ls(){return Error("Scroll strategy has already been attached.")}var js=function(){function n(n,e,t,l){var o=this;this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=l,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run((function(){return o._overlayRef.detach()}))}}return n.prototype.attach=function(n){if(this._overlayRef)throw Ls();this._overlayRef=n},n.prototype.enable=function(){var n=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=n._viewportRuler.getViewportScrollPosition().top;Math.abs(e-n._initialScrollPosition)>n._config.threshold?n._detach():n._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),Vs=function(){function n(){}return n.prototype.enable=function(){},n.prototype.disable=function(){},n.prototype.attach=function(){},n}();function Bs(n,e){return e.some((function(e){return n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right}))}function Hs(n,e){return e.some((function(e){return n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right}))}var Us=function(){function n(n,e,t,l){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=l,this._scrollSubscription=null}return n.prototype.attach=function(n){if(this._overlayRef)throw Ls();this._overlayRef=n},n.prototype.enable=function(){var n=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(n._overlayRef.updatePosition(),n._config&&n._config.autoClose){var e=n._overlayRef.overlayElement.getBoundingClientRect(),t=n._viewportRuler.getViewportSize(),l=t.width,o=t.height;Bs(e,[{width:l,height:o,bottom:o,right:l,top:0,left:0}])&&(n.disable(),n._ngZone.run((function(){return n._overlayRef.detach()})))}})))},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),zs=function(){function n(n,e,t,l){var o=this;this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this.noop=function(){return new Vs},this.close=function(n){return new js(o._scrollDispatcher,o._ngZone,o._viewportRuler,n)},this.block=function(){return new qs(o._viewportRuler,o._document)},this.reposition=function(n){return new Us(o._scrollDispatcher,o._viewportRuler,o._ngZone,n)},this._document=l}return n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(Ns),Object(o["ɵɵinject"])(Ps),Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),Gs=function(){return function(n){if(this.scrollStrategy=new Vs,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n)for(var e=0,t=Object.keys(n);e<t.length;e++){var l=t[e];void 0!==n[l]&&(this[l]=n[l])}}}(),Ws=function(){return function(n,e,t,l,o){this.offsetX=t,this.offsetY=l,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),Zs=function(){return function(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}();function Ks(n,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "top", "bottom" or "center".')}function Xs(n,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "start", "end" or "center".')}var Ys=function(){function n(n){var e=this;this._attachedOverlays=[],this._keydownListener=function(n){for(var t=e._attachedOverlays,l=t.length-1;l>-1;l--)if(t[l]._keydownEventSubscriptions>0){t[l]._keydownEvents.next(n);break}},this._document=n}return n.prototype.ngOnDestroy=function(){this._detach()},n.prototype.add=function(n){this.remove(n),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(n)},n.prototype.remove=function(n){var e=this._attachedOverlays.indexOf(n);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},n.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),$s=function(){function n(n){this._document=n}return n.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},n.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},n.prototype._createContainer=function(){for(var n=this._document.getElementsByClassName("cdk-overlay-container"),e=0;e<n.length;e++)n[e].parentNode.removeChild(n[e]);var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),Qs=function(){function n(n,e,t,l,o,i,r,a){var u=this;this._portalOutlet=n,this._host=e,this._pane=t,this._config=l,this._ngZone=o,this._keyboardDispatcher=i,this._document=r,this._location=a,this._backdropElement=null,this._backdropClick=new Mn.b,this._attachments=new Mn.b,this._detachments=new Mn.b,this._locationChanges=co.a.EMPTY,this._backdropClickHandler=function(n){return u._backdropClick.next(n)},this._keydownEventsObservable=new In.a((function(n){var e=u._keydownEvents.subscribe(n);return u._keydownEventSubscriptions++,function(){e.unsubscribe(),u._keydownEventSubscriptions--}})),this._keydownEvents=new Mn.b,this._keydownEventSubscriptions=0,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}return Object.defineProperty(n.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var e=this,t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(Un.a)(1)).subscribe((function(){e.hasAttached()&&e.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return e.dispose()}))),t},n.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),n}},n.prototype.dispose=function(){var n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,n&&this._detachments.next(),this._detachments.complete()},n.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},n.prototype.backdropClick=function(){return this._backdropClick.asObservable()},n.prototype.attachments=function(){return this._attachments.asObservable()},n.prototype.detachments=function(){return this._detachments.asObservable()},n.prototype.keydownEvents=function(){return this._keydownEventsObservable},n.prototype.getConfig=function(){return this._config},n.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},n.prototype.updatePositionStrategy=function(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))},n.prototype.updateSize=function(n){this._config=Object(i.a)({},this._config,n),this._updateElementSize()},n.prototype.setDirection=function(n){this._config=Object(i.a)({},this._config,{direction:n}),this._updateElementDirection()},n.prototype.addPanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!0)},n.prototype.removePanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!1)},n.prototype.getDirection=function(){var n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"},n.prototype.updateScrollStrategy=function(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))},n.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},n.prototype._updateElementSize=function(){if(this._pane){var n=this._pane.style;n.width=no(this._config.width),n.height=no(this._config.height),n.minWidth=no(this._config.minWidth),n.minHeight=no(this._config.minHeight),n.maxWidth=no(this._config.maxWidth),n.maxHeight=no(this._config.maxHeight)}},n.prototype._togglePointerEvents=function(n){this._pane.style.pointerEvents=n?"auto":"none"},n.prototype._attachBackdrop=function(){var n=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){n._backdropElement&&n._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},n.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},n.prototype.detachBackdrop=function(){var n=this,e=this._backdropElement;if(e){var t,l=function(){e&&(e.removeEventListener("click",n._backdropClickHandler),e.removeEventListener("transitionend",l),e.parentNode&&e.parentNode.removeChild(e)),n._backdropElement==e&&(n._backdropElement=null),n._config.backdropClass&&n._toggleClasses(e,n._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){e.addEventListener("transitionend",l)})),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular((function(){return setTimeout(l,500)}))}},n.prototype._toggleClasses=function(n,e,t){var l=n.classList;Jl(e).forEach((function(n){n&&(t?l.add(n):l.remove(n))}))},n.prototype._detachContentWhenStable=function(){var n=this;this._ngZone.runOutsideAngular((function(){var e=n._ngZone.onStable.asObservable().pipe(Object(ws.a)(Object(ys.a)(n._attachments,n._detachments))).subscribe((function(){n._pane&&n._host&&0!==n._pane.children.length||(n._pane&&n._config.panelClass&&n._toggleClasses(n._pane,n._config.panelClass,!1),n._host&&n._host.parentElement&&(n._previousHostParent=n._host.parentElement,n._previousHostParent.removeChild(n._host)),e.unsubscribe())}))}))},n.prototype._disposeScrollStrategy=function(){var n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())},n}(),Js=function(){function n(n,e,t,l,o){this._viewportRuler=e,this._document=t,this._platform=l,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Mn.b,this._resizeSubscription=co.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(n)}return Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var e=this;if(this._overlayRef&&n!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),n.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){e._isInitialRender=!0,e.apply()}))},n.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var n,e=this._originRect,t=this._overlayRect,l=this._viewportRect,o=[],i=0,r=this._preferredPositions;i<r.length;i++){var a=r[i],u=this._getOriginPoint(e,a),s=this._getOverlayPoint(u,t,a),d=this._getOverlayFit(s,t,l,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,u);this._canFitWithFlexibleDimensions(d,s,l)?o.push({position:a,origin:u,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(u,a)}):(!n||n.overlayFit.visibleArea<d.visibleArea)&&(n={overlayFit:d,overlayPoint:s,originPoint:u,position:a,overlayRect:t})}if(o.length){for(var c=null,p=-1,f=0,h=o;f<h.length;f++){var m=h[f],v=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);v>p&&(p=v,c=m)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(n.position,n.originPoint);this._applyPosition(n.position,n.originPoint)}},n.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},n.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&nd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},n.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var n=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,n);this._applyPosition(n,e)}},n.prototype.withScrollableContainers=function(n){return this._scrollables=n,this},n.prototype.withPositions=function(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},n.prototype.withViewportMargin=function(n){return this._viewportMargin=n,this},n.prototype.withFlexibleDimensions=function(n){return void 0===n&&(n=!0),this._hasFlexibleDimensions=n,this},n.prototype.withGrowAfterOpen=function(n){return void 0===n&&(n=!0),this._growAfterOpen=n,this},n.prototype.withPush=function(n){return void 0===n&&(n=!0),this._canPush=n,this},n.prototype.withLockedPosition=function(n){return void 0===n&&(n=!0),this._positionLocked=n,this},n.prototype.setOrigin=function(n){return this._origin=n,this},n.prototype.withDefaultOffsetX=function(n){return this._offsetX=n,this},n.prototype.withDefaultOffsetY=function(n){return this._offsetY=n,this},n.prototype.withTransformOriginOn=function(n){return this._transformOriginSelector=n,this},n.prototype._getOriginPoint=function(n,e){var t;if("center"==e.originX)t=n.left+n.width/2;else{var l=this._isRtl()?n.right:n.left,o=this._isRtl()?n.left:n.right;t="start"==e.originX?l:o}return{x:t,y:"center"==e.originY?n.top+n.height/2:"top"==e.originY?n.top:n.bottom}},n.prototype._getOverlayPoint=function(n,e,t){var l;return l="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:n.x+l,y:n.y+("center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height)}},n.prototype._getOverlayFit=function(n,e,t,l){var o=n.x,i=n.y,r=this._getOffset(l,"x"),a=this._getOffset(l,"y");r&&(o+=r),a&&(i+=a);var u=0-i,s=i+e.height-t.height,d=this._subtractOverflows(e.width,0-o,o+e.width-t.width),c=this._subtractOverflows(e.height,u,s),p=d*c;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:c===e.height,fitsInViewportHorizontally:d==e.width}},n.prototype._canFitWithFlexibleDimensions=function(n,e,t){if(this._hasFlexibleDimensions){var l=t.bottom-e.y,o=t.right-e.x,i=this._overlayRef.getConfig().minHeight,r=this._overlayRef.getConfig().minWidth;return(n.fitsInViewportVertically||null!=i&&i<=l)&&(n.fitsInViewportHorizontally||null!=r&&r<=o)}return!1},n.prototype._pushOverlayOnScreen=function(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};var l,o,i=this._viewportRect,r=Math.max(n.x+e.width-i.right,0),a=Math.max(n.y+e.height-i.bottom,0),u=Math.max(i.top-t.top-n.y,0),s=Math.max(i.left-t.left-n.x,0);return this._previousPushAmount={x:l=e.width<=i.width?s||-r:n.x<this._viewportMargin?i.left-t.left-n.x:0,y:o=e.height<=i.height?u||-a:n.y<this._viewportMargin?i.top-t.top-n.y:0},{x:n.x+l,y:n.y+o}},n.prototype._applyPosition=function(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){var t=this._getScrollVisibility(),l=new Zs(n,t);this._positionChanges.next(l)}this._isInitialRender=!1},n.prototype._setTransformOrigin=function(n){if(this._transformOriginSelector){var e,t=this._boundingBox.querySelectorAll(this._transformOriginSelector),l=n.overlayY;e="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(var o=0;o<t.length;o++)t[o].style.transformOrigin=e+" "+l}},n.prototype._calculateBoundingBoxRect=function(n,e){var t,l,o,i,r,a,u=this._viewportRect,s=this._isRtl();if("top"===e.overlayY)t=u.height-(l=n.y)+this._viewportMargin;else if("bottom"===e.overlayY)t=u.height-(o=u.height-n.y+2*this._viewportMargin)+this._viewportMargin;else{var d=Math.min(u.bottom-n.y+u.top,n.y),c=this._lastBoundingBoxSize.height;l=n.y-d,(t=2*d)>c&&!this._isInitialRender&&!this._growAfterOpen&&(l=n.y-c/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)a=u.width-n.x+this._viewportMargin,i=n.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)r=n.x,i=u.right-n.x;else{d=Math.min(u.right-n.x+u.left,n.x);var p=this._lastBoundingBoxSize.width;r=n.x-d,(i=2*d)>p&&!this._isInitialRender&&!this._growAfterOpen&&(r=n.x-p/2)}return{top:l,left:r,bottom:o,right:a,width:i,height:t}},n.prototype._setBoundingBoxStyles=function(n,e){var t=this._calculateBoundingBoxRect(n,e);this._isInitialRender||this._growAfterOpen||(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));var l={};if(this._hasExactPosition())l.top=l.left="0",l.bottom=l.right="",l.width=l.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;l.height=no(t.height),l.top=no(t.top),l.bottom=no(t.bottom),l.width=no(t.width),l.left=no(t.left),l.right=no(t.right),l.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",l.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(l.maxHeight=no(o)),i&&(l.maxWidth=no(i))}this._lastBoundingBoxSize=t,nd(this._boundingBox.style,l)},n.prototype._resetBoundingBoxStyles=function(){nd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},n.prototype._resetOverlayElementStyles=function(){nd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},n.prototype._setOverlayElementStyles=function(n,e){var t={};if(this._hasExactPosition()){var l=this._viewportRuler.getViewportScrollPosition();nd(t,this._getExactOverlayY(e,n,l)),nd(t,this._getExactOverlayX(e,n,l))}else t.position="static";var o="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(o+="translateX("+i+"px) "),r&&(o+="translateY("+r+"px)"),t.transform=o.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(t.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(t.maxWidth=""),nd(this._pane.style,t)},n.prototype._getExactOverlayY=function(n,e,t){var l={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));var i=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=i,"bottom"===n.overlayY?l.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":l.top=no(o.y),l},n.prototype._getExactOverlayX=function(n,e,t){var l={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),"right"==(this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left")?l.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":l.left=no(o.x),l},n.prototype._getScrollVisibility=function(){var n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map((function(n){return n.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:Hs(n,t),isOriginOutsideView:Bs(n,t),isOverlayClipped:Hs(e,t),isOverlayOutsideView:Bs(e,t)}},n.prototype._subtractOverflows=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce((function(n,e){return n-Math.max(e,0)}),n)},n.prototype._getNarrowedViewportRect=function(){var n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}},n.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},n.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},n.prototype._getOffset=function(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY},n.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(n){Xs("originX",n.originX),Ks("originY",n.originY),Xs("overlayX",n.overlayX),Ks("overlayY",n.overlayY)}))},n.prototype._addPanelClasses=function(n){var e=this;this._pane&&Jl(n).forEach((function(n){""!==n&&-1===e._appliedPanelClasses.indexOf(n)&&(e._appliedPanelClasses.push(n),e._pane.classList.add(n))}))},n.prototype._clearPanelClasses=function(){var n=this;this._pane&&(this._appliedPanelClasses.forEach((function(e){n._pane.classList.remove(e)})),this._appliedPanelClasses=[])},n.prototype._getOriginRect=function(){var n=this._origin;if(n instanceof o.ElementRef)return n.nativeElement.getBoundingClientRect();if(n instanceof HTMLElement)return n.getBoundingClientRect();var e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}},n}();function nd(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}var ed=function(){function n(n,e,t,l,o,i,r){this._preferredPositions=[],this._positionStrategy=new Js(t,l,o,i,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(n,e)}return Object.defineProperty(n.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){this._overlayRef=n,this._positionStrategy.attach(n),this._direction&&(n.setDirection(this._direction),this._direction=null)},n.prototype.dispose=function(){this._positionStrategy.dispose()},n.prototype.detach=function(){this._positionStrategy.detach()},n.prototype.apply=function(){this._positionStrategy.apply()},n.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},n.prototype.withScrollableContainers=function(n){this._positionStrategy.withScrollableContainers(n)},n.prototype.withFallbackPosition=function(n,e,t,l){var o=new Ws(n,e,t,l);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.withDirection=function(n){return this._overlayRef?this._overlayRef.setDirection(n):this._direction=n,this},n.prototype.withOffsetX=function(n){return this._positionStrategy.withDefaultOffsetX(n),this},n.prototype.withOffsetY=function(n){return this._positionStrategy.withDefaultOffsetY(n),this},n.prototype.withLockedPosition=function(n){return this._positionStrategy.withLockedPosition(n),this},n.prototype.withPositions=function(n){return this._preferredPositions=n.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.setOrigin=function(n){return this._positionStrategy.setOrigin(n),this},n}(),td=function(){function n(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return n.prototype.attach=function(n){var e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},n.prototype.top=function(n){return void 0===n&&(n=""),this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this},n.prototype.left=function(n){return void 0===n&&(n=""),this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this},n.prototype.bottom=function(n){return void 0===n&&(n=""),this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this},n.prototype.right=function(n){return void 0===n&&(n=""),this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this},n.prototype.width=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this},n.prototype.height=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this},n.prototype.centerHorizontally=function(n){return void 0===n&&(n=""),this.left(n),this._justifyContent="center",this},n.prototype.centerVertically=function(n){return void 0===n&&(n=""),this.top(n),this._alignItems="center",this},n.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig();n.position=this._cssPosition,n.marginLeft="100%"===t.width?"0":this._leftOffset,n.marginTop="100%"===t.height?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,"100%"===t.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===t.height?"flex-start":this._alignItems}},n.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove("cdk-global-overlay-wrapper"),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},n}(),ld=function(){function n(n,e,t,l){this._viewportRuler=n,this._document=e,this._platform=t,this._overlayContainer=l}return n.prototype.global=function(){return new td},n.prototype.connectedTo=function(n,e,t){return new ed(e,t,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.prototype.flexibleConnectedTo=function(n){return new Js(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(Ps),Object(o["ɵɵinject"])(r.DOCUMENT),Object(o["ɵɵinject"])(io),Object(o["ɵɵinject"])($s))},token:n,providedIn:"root"}),n}(),od=0,id=function(){function n(n,e,t,l,o,i,r,a,u,s){this.scrollStrategies=n,this._overlayContainer=e,this._componentFactoryResolver=t,this._positionBuilder=l,this._keyboardDispatcher=o,this._injector=i,this._ngZone=r,this._document=a,this._directionality=u,this._location=s}return n.prototype.create=function(n){var e=this._createHostElement(),t=this._createPaneElement(e),l=this._createPortalOutlet(t),o=new Gs(n);return o.direction=o.direction||this._directionality.value,new Qs(l,e,t,o,this._ngZone,this._keyboardDispatcher,this._document,this._location)},n.prototype.position=function(){return this._positionBuilder},n.prototype._createPaneElement=function(n){var e=this._document.createElement("div");return e.id="cdk-overlay-"+od++,e.classList.add("cdk-overlay-pane"),n.appendChild(e),e},n.prototype._createHostElement=function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n},n.prototype._createPortalOutlet=function(n){return this._appRef||(this._appRef=this._injector.get(o.ApplicationRef)),new ms(n,this._componentFactoryResolver,this._appRef,this._injector)},n}(),rd=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ad=new o.InjectionToken("cdk-connected-overlay-scroll-strategy"),ud=function(){return function(n){this.elementRef=n}}(),sd=function(){function n(n,e,t,l,i){this._overlay=n,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=co.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.attach=new o.EventEmitter,this.detach=new o.EventEmitter,this.overlayKeydown=new o.EventEmitter,this._templatePortal=new fs(e,t),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(n.prototype,"offsetX",{get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"offsetY",{get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(n){this._lockPosition=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"push",{get:function(){return this._push},set:function(n){this._push=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},n.prototype.ngOnChanges=function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())},n.prototype._createOverlay=function(){var n=this;this.positions&&this.positions.length||(this.positions=rd),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(e){n.overlayKeydown.next(e),e.keyCode!==po||fo(e)||(e.preventDefault(),n._detachOverlay())}))},n.prototype._buildConfig=function(){var n=this._position=this._createPositionStrategy(),e=new Gs({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e},n.prototype._updatePositionStrategy=function(n){var e=this,t=this.positions.map((function(n){return{originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||e.offsetX,offsetY:n.offsetY||e.offsetY,panelClass:n.panelClass||void 0}}));return n.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},n.prototype._createPositionStrategy=function(){var n=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe((function(e){return n.positionChange.emit(e)})),e},n.prototype._attachOverlay=function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(e){n.backdropClick.emit(e)})):this._backdropSubscription.unsubscribe()},n.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},n}();function dd(n){return function(){return n.scrollStrategies.reposition()}}var cd=function(){return function(){}}(),pd=new o.InjectionToken("MAT_MENU_PANEL"),fd=function(n){function e(e,t,l,o){var i=n.call(this)||this;return i._elementRef=e,i._focusMonitor=l,i._parentMenu=o,i.role="menuitem",i._hovered=new Mn.b,i._highlighted=!1,i._triggersSubmenu=!1,l&&l.monitor(i._elementRef,!1),o&&o.addItem&&o.addItem(i),i._document=t,i}return Object(i.c)(e,n),e.prototype.focus=function(n,e){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),n,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(n){this.disabled&&(n.preventDefault(),n.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var n=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,t="";if(n.childNodes)for(var l=n.childNodes.length,o=0;o<l;o++)n.childNodes[o].nodeType===e&&(t+=n.childNodes[o].textContent);return t.trim()},e}(Ho(Vo(function(){return function(){}}()))),hd=new o.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),md=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(function(){function n(n,e,t){this._elementRef=n,this._ngZone=e,this._defaultOptions=t,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.QueryList,this._tabSubscription=co.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Mn.b,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.EventEmitter,this.close=this.closed}return Object.defineProperty(n.prototype,"xPosition",{get:function(){return this._xPosition},set:function(n){"before"!==n&&"after"!==n&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"yPosition",{get:function(){return this._yPosition},set:function(n){"above"!==n&&"below"!==n&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(n){this._overlapTrigger=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"panelClass",{set:function(n){var e=this,t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach((function(n){e._classList[n]=!1})),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach((function(n){e._classList[n]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classList",{get:function(){return this.panelClass},set:function(n){this.panelClass=n},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this.setPositionClasses()},n.prototype.ngAfterContentInit=function(){var n=this;this._updateDirectDescendants(),this._keyManager=new wo(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return n.closed.emit("tab")}))},n.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},n.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(zn.a)(this._directDescendantItems),Object(Hn.a)((function(n){return ys.a.apply(void 0,n.map((function(n){return n._hovered})))})))},n.prototype.addItem=function(n){},n.prototype.removeItem=function(n){},n.prototype._handleKeydown=function(n){var e=n.keyCode,t=this._keyManager;switch(e){case po:fo(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:fo(n)||(36===e?t.setFirstItemActive():t.setLastItemActive(),n.preventDefault());break;default:38!==e&&40!==e||t.setFocusOrigin("keyboard"),t.onKeydown(n)}},n.prototype.focusFirstItem=function(n){void 0===n&&(n="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(Un.a)(1)).subscribe((function(){return e.setFocusOrigin(n).setFirstItemActive()})):e.setFocusOrigin(n).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var t=this._directDescendantItems.first._getHostElement().parentElement;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}},n.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},n.prototype.setElevation=function(n){var e="mat-elevation-z"+(4+n),t=Object.keys(this._classList).find((function(n){return n.startsWith("mat-elevation-z")}));t&&t!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},n.prototype.setPositionClasses=function(n,e){void 0===n&&(n=this.xPosition),void 0===e&&(e=this.yPosition);var t=this._classList;t["mat-menu-before"]="before"===n,t["mat-menu-after"]="after"===n,t["mat-menu-above"]="above"===e,t["mat-menu-below"]="below"===e},n.prototype._startAnimation=function(){this._panelAnimationState="enter"},n.prototype._resetAnimation=function(){this._panelAnimationState="void"},n.prototype._onAnimationDone=function(n){this._animationDone.next(n),this._isAnimating=!1},n.prototype._onAnimationStart=function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)},n.prototype._updateDirectDescendants=function(){var n=this;this._allItems.changes.pipe(Object(zn.a)(this._allItems)).subscribe((function(e){n._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===n}))),n._directDescendantItems.notifyOnChanges()}))},n}()),vd=function(n){function e(e,t,l){return n.call(this,e,t,l)||this}return Object(i.c)(e,n),e}(md),gd=new o.InjectionToken("mat-menu-scroll-strategy");function bd(n){return function(){return n.scrollStrategies.reposition()}}var _d=so({passive:!0}),yd=function(){function n(n,e,t,l,i,r,a,u){var s=this;this._overlay=n,this._element=e,this._viewContainerRef=t,this._parentMenu=i,this._menuItemInstance=r,this._dir=a,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=co.a.EMPTY,this._hoverSubscription=co.a.EMPTY,this._menuCloseSubscription=co.a.EMPTY,this._handleTouchStart=function(){return s._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.EventEmitter,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,_d),r&&(r._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=l}return Object.defineProperty(n.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(n){this.menu=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"menu",{get:function(){return this._menu},set:function(n){var e=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.asObservable().subscribe((function(n){e._destroyMenu(),"click"!==n&&"tab"!==n||!e._parentMenu||e._parentMenu.closed.emit(n)}))))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},n.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,_d),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(n.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),n.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},n.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},n.prototype.openMenu=function(){var n=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return n.closeMenu()})),this._initMenu(),this.menu instanceof md&&this.menu._startAnimation()}},n.prototype.closeMenu=function(){this.menu.close.emit()},n.prototype.focus=function(n,e){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,n,e):this._element.nativeElement.focus(e)},n.prototype._destroyMenu=function(){var n=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof md?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(Wn.a)((function(n){return"void"===n.toState})),Object(Un.a)(1),Object(ws.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return n._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},n.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},n.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var n=0,e=this.menu.parentMenu;e;)n++,e=e.parentMenu;this.menu.setElevation(n)}},n.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},n.prototype._setIsMenuOpen=function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=n)},n.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()},n.prototype._createOverlay=function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},n.prototype._getOverlayConfig=function(){return new Gs({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},n.prototype._subscribeToPositions=function(n){var e=this;this.menu.setPositionClasses&&n.positionChanges.subscribe((function(n){e.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")}))},n.prototype._setPosition=function(n){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],t=e[0],l=e[1],o="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],i=o[0],r=o[1],a=[i,r],u=a[0],s=a[1],d=[t,l],c=d[0],p=d[1],f=0;this.triggersSubmenu()?(p=t="before"===this.menu.xPosition?"start":"end",l=c="end"===t?"start":"end",f="bottom"===i?8:-8):this.menu.overlapTrigger||(u="top"===i?"bottom":"top",s="top"===r?"bottom":"top"),n.withPositions([{originX:t,originY:u,overlayX:c,overlayY:i,offsetY:f},{originX:l,originY:u,overlayX:p,overlayY:i,offsetY:f},{originX:t,originY:s,overlayX:c,overlayY:r,offsetY:-f},{originX:l,originY:s,overlayX:p,overlayY:r,offsetY:-f}])},n.prototype._menuClosingActions=function(){var n=this,e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),l=this._parentMenu?this._parentMenu.closed:Object(En.a)(),o=this._parentMenu?this._parentMenu._hovered().pipe(Object(Wn.a)((function(e){return e!==n._menuItemInstance})),Object(Wn.a)((function(){return n._menuOpen}))):Object(En.a)();return Object(ys.a)(e,l,o,t)},n.prototype._handleMousedown=function(n){Ao(n)||(this._openedBy=0===n.button?"mouse":null,this.triggersSubmenu()&&n.preventDefault())},n.prototype._handleKeydown=function(n){var e=n.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},n.prototype._handleClick=function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()},n.prototype._handleHover=function(){var n=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(Wn.a)((function(e){return e===n._menuItemInstance&&!e.disabled})),Object(Ss.a)(0,Cs.a)).subscribe((function(){n._openedBy="mouse",n.menu instanceof md&&n.menu._isAnimating?n.menu._animationDone.pipe(Object(Un.a)(1),Object(Ss.a)(0,Cs.a),Object(ws.a)(n._parentMenu._hovered())).subscribe((function(){return n.openMenu()})):n.openMenu()})))},n.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new fs(this.menu.templateRef,this._viewContainerRef)),this._portal},n}(),Cd=function(){return function(){}}(),wd=function(){return function(){}}(),Sd=o["ɵcrt"]({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function xd(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(n,e,t){var l=!0,o=n.component;return"keydown"===e&&(l=!1!==o._handleKeydown(t)&&l),"click"===e&&(l=!1!==o.closed.emit("click")&&l),"@transformMenu.start"===e&&(l=!1!==o._onAnimationStart(t)&&l),"@transformMenu.done"===e&&(l=!1!==o._onAnimationDone(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),o["ɵeld"](3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),o["ɵncd"](null,0)],(function(n,e){n(e,2,0,"mat-menu-panel",e.component._classList)}),(function(n,e){n(e,0,0,e.component._panelAnimationState)}))}function kd(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{templateRef:0}),(n()(),o["ɵand"](0,[[1,2]],null,0,null,xd))],null,null)}var Ed=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Td(n){return o["ɵvid"](2,[o["ɵncd"](null,0),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](2,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.disableRipple||t.disabled,t._getHostElement())}),(function(n,e){n(e,1,0,o["ɵnov"](e,2).unbounded)}))}var Rd=100,Id=Bo(function(){return function(n){this._elementRef=n}}(),"primary"),Dd=new o.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Rd}}}),Fd=function(n){function e(e,t,l,o,i){var r=n.call(this,e,t,l,o,i)||this;return r.mode="indeterminate",r}return Object(i.c)(e,n),e}(function(n){function e(t,l,o,i,r){var a=n.call(this,t)||this;a._elementRef=t,a._document=o,a._diameter=Rd,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var u=e._diameters;return u.has(o.head)||u.set(o.head,new Set([Rd])),a._fallbackAnimation=l.EDGE||l.TRIDENT,a._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.diameter&&(a.diameter=r.diameter),r.strokeWidth&&(a.strokeWidth=r.strokeWidth)),a}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(n){this._diameter=Ql(n),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(n){this._strokeWidth=Ql(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(n){this._value=Math.max(0,Math.min(100,Ql(n)))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this._elementRef.nativeElement;this._styleRoot=function(n,e){if("undefined"!=typeof window){var t=e.head;if(t&&(t.createShadowRoot||t.attachShadow)){var l=n.getRootNode?n.getRootNode():null;if(l instanceof window.ShadowRoot)return l}}return null}(n,this._document)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation")},Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var n=2*this._circleRadius+this.strokeWidth;return"0 0 "+n+" "+n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var n=this._styleRoot,t=this._diameter,l=e._diameters,o=l.get(n);if(!o||!o.has(t)){var i=this._document.createElement("style");i.setAttribute("mat-spinner-animation",t+""),i.textContent=this._getAnimationText(),n.appendChild(i),o||(o=new Set,l.set(n,o)),o.add(t)}},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e._diameters=new WeakMap,e}(Id)),Od=function(){return function(){}}(),Md=o["ɵcrt"]({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function Nd(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t._circleRadius,"mat-progress-spinner-stroke-rotate-"+t.diameter,t._strokeDashOffset,t._strokeCircumference,t._circleStrokeWidth)}))}function Ad(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t._circleRadius,t._strokeDashOffset,t._strokeCircumference,t._circleStrokeWidth)}))}function Pd(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),o["ɵdid"](1,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Nd)),o["ɵdid"](3,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ad)),o["ɵdid"](5,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,e){n(e,1,0,"indeterminate"===e.component.mode),n(e,3,0,!0),n(e,5,0,!1)}),(function(n,e){var t=e.component;n(e,0,0,t.diameter,t.diameter,t._viewBox)}))}var qd,Ld=t("dEwP"),jd=t("0mNj"),Vd=new Set,Bd=function(){function n(n){this._platform=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Hd}return n.prototype.matchMedia=function(n){return this._platform.WEBKIT&&function(n){if(!Vd.has(n))try{qd||((qd=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(qd)),qd.sheet&&(qd.sheet.insertRule("@media "+n+" {.fx-query-test{ }}",0),Vd.add(n))}catch(e){console.error(e)}}(n),this._matchMedia(n)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(io))},token:n,providedIn:"root"}),n}();function Hd(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var Ud=function(){function n(n,e){this._mediaMatcher=n,this._zone=e,this._queries=new Map,this._destroySubject=new Mn.b}return n.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},n.prototype.isMatched=function(n){var e=this;return zd(Jl(n)).some((function(n){return e._registerQuery(n).mql.matches}))},n.prototype.observe=function(n){var e=this,t=zd(Jl(n)).map((function(n){return e._registerQuery(n).observable})),l=Object(Fn.b)(t);return(l=Object(Ld.a)(l.pipe(Object(Un.a)(1)),l.pipe(Object(jd.a)(1),Object(ho.a)(0)))).pipe(Object(An.a)((function(n){var e={matches:!1,breakpoints:{}};return n.forEach((function(n){e.matches=e.matches||n.matches,e.breakpoints[n.query]=n.matches})),e})))},n.prototype._registerQuery=function(n){var e=this;if(this._queries.has(n))return this._queries.get(n);var t=this._mediaMatcher.matchMedia(n),l={observable:new In.a((function(n){var l=function(t){return e._zone.run((function(){return n.next(t)}))};return t.addListener(l),function(){t.removeListener(l)}})).pipe(Object(zn.a)(t),Object(An.a)((function(e){return{query:n,matches:e.matches}})),Object(ws.a)(this._destroySubject)),mql:t};return this._queries.set(n,l),l},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(Bd),Object(o["ɵɵinject"])(o.NgZone))},token:n,providedIn:"root"}),n}();function zd(n){return n.map((function(n){return n.split(",")})).reduce((function(n,e){return n.concat(e)})).map((function(n){return n.trim()}))}var Gd={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},Wd=20;function Zd(n){return Error('Tooltip position "'+n+'" is invalid.')}var Kd=new o.InjectionToken("mat-tooltip-scroll-strategy");function Xd(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:Wd})}}var Yd=new o.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),$d=function(){function n(n,e,t,l,o,i,r,a,u,s,d,c){var p=this;this._overlay=n,this._elementRef=e,this._scrollDispatcher=t,this._viewContainerRef=l,this._ngZone=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=s,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new Mn.b,this._scrollStrategy=u;var f=e.nativeElement,h="undefined"==typeof window||window.Hammer||c;i.IOS||i.ANDROID?h||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(n,e){return f.addEventListener(e,n)})),a.monitor(e).pipe(Object(ws.a)(this._destroyed)).subscribe((function(n){n?"keyboard"===n&&o.run((function(){return p.show()})):o.run((function(){return p.hide(0)}))})),d&&d.position&&(this.position=d.position)}return Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=$l(n),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},set:function(n){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=n?(""+n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this._elementRef.nativeElement,e=n.style;"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),n.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},n.prototype.ngOnDestroy=function(){var n=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,t){n._elementRef.nativeElement.removeEventListener(t,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},n.prototype.show=function(n){var e=this;if(void 0===n&&(n=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var t=this._createOverlay();this._detach(),this._portal=this._portal||new ps(Qd,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(ws.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(n)}},n.prototype.hide=function(n){void 0===n&&(n=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(n)},n.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},n.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},n.prototype._handleKeydown=function(n){this._isTooltipVisible()&&n.keyCode===po&&!fo(n)&&(n.preventDefault(),n.stopPropagation(),this.hide(0))},n.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},n.prototype._createOverlay=function(){var n=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(Object(ws.a)(this._destroyed)).subscribe((function(e){n._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run((function(){return n.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(ws.a)(this._destroyed)).subscribe((function(){return n._detach()})),this._overlayRef},n.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},n.prototype._updatePosition=function(){var n=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),t=this._getOverlayPosition();n.withPositions([Object(i.a)({},e.main,t.main),Object(i.a)({},e.fallback,t.fallback)])},n.prototype._getOrigin=function(){var n,e=!this._dir||"ltr"==this._dir.value,t=this.position;if("above"==t||"below"==t)n={originX:"center",originY:"above"==t?"top":"bottom"};else if("before"==t||"left"==t&&e||"right"==t&&!e)n={originX:"start",originY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Zd(t);n={originX:"end",originY:"center"}}var l=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:l.x,originY:l.y}}},n.prototype._getOverlayPosition=function(){var n,e=!this._dir||"ltr"==this._dir.value,t=this.position;if("above"==t)n={overlayX:"center",overlayY:"bottom"};else if("below"==t)n={overlayX:"center",overlayY:"top"};else if("before"==t||"left"==t&&e||"right"==t&&!e)n={overlayX:"end",overlayY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Zd(t);n={overlayX:"start",overlayY:"center"}}var l=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:l.x,overlayY:l.y}}},n.prototype._updateTooltipMessage=function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(Un.a)(1),Object(ws.a)(this._destroyed)).subscribe((function(){n._tooltipInstance&&n._overlayRef.updatePosition()})))},n.prototype._setTooltipClass=function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())},n.prototype._invertPosition=function(n,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:e}},n}(),Qd=function(){function n(n,e){this._changeDetectorRef=n,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Mn.b,this._isHandset=this._breakpointObserver.observe(Gd.Handset)}return n.prototype.show=function(n){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),n)},n.prototype.hide=function(n){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),n)},n.prototype.afterHidden=function(){return this._onHide.asObservable()},n.prototype.isVisible=function(){return"visible"===this._visibility},n.prototype.ngOnDestroy=function(){this._onHide.complete()},n.prototype._animationStart=function(){this._closeOnInteraction=!1},n.prototype._animationDone=function(n){var e=n.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},n.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},n.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},n}(),Jd=function(){return function(){}}(),nc=function(){function n(n,e){this.progressService=n,this.router=e,this.visible=!1}return n.prototype.ngOnInit=function(){var n=this;this.progressService.state.subscribe((function(e){n.visible=e.visible,e.error&&!n.error&&(n.error=e.error),e.clear&&(n.error=null)})),this.routerSubscription=this.router.events.subscribe((function(){n.progressService.clear()}))},n.prototype.refresh=function(){this.router.navigateByUrl(this.router.url)},n.prototype.ngOnDestroy=function(){this.routerSubscription.unsubscribe()},n}(),ec=function(){return function(n,e,t){void 0===t&&(t=!1),this.visible=n,this.error=e,this.clear=t}}(),tc=function(){function n(){this.state=new Rn.a(new ec(!1))}return n.prototype.setError=function(n){this.state.next(new ec(!1,n.error))},n.prototype.clear=function(){this.state.next(new ec(!1,null,!0))},n.prototype.activate=function(){this.state.next(new ec(!0))},n.prototype.deactivate=function(){this.state.next(new ec(!1))},n}(),lc=o["ɵcrt"]({encapsulation:0,styles:[[".overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:1000}.error-state[_ngcontent-%COMP%], .loading-spinner[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.error-state[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.error-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px}"]],data:{}});function oc(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["color","primary"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Pd,Md)),o["ɵdid"](2,114688,null,0,Fd,[o.ElementRef,io,[2,r.DOCUMENT],[2,nu],Dd],{color:[0,"color"]},null)],(function(n,e){n(e,2,0,"primary")}),(function(n,e){n(e,1,0,o["ɵnov"](e,2)._noopAnimations,o["ɵnov"](e,2).diameter,o["ɵnov"](e,2).diameter)}))}function ic(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,20,"div",[["class","error-state"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","error-icon"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["error_outline"])),(n()(),o["ɵeld"](5,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](6,null,["Error occurred: ",""])),(n()(),o["ɵeld"](7,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["mat-button",""],["matTooltip","Refresh page"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==i.refresh()&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["refresh"])),(n()(),o["ɵeld"](14,16777216,null,null,6,"button",[["mat-button",""],["matTooltip","Go to home"],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,15).onClick()&&l),"longpress"===e&&(l=!1!==o["ɵnov"](n,17).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,17)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,17)._handleTouchend()&&l),l}),ou,lu)),o["ɵdid"](15,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](17,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](19,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["home"]))],(function(n,e){n(e,3,0),n(e,10,0,"Refresh page"),n(e,12,0),n(e,15,0,"/"),n(e,17,0,"Go to home"),n(e,19,0)}),(function(n,e){var t=e.component;n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color),n(e,6,0,t.error.message),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,14,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode),n(e,18,0,o["ɵnov"](e,19).inline,"primary"!==o["ɵnov"](e,19).color&&"accent"!==o["ɵnov"](e,19).color&&"warn"!==o["ɵnov"](e,19).color)}))}function rc(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","overlay"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,oc)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ic)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.visible&&!t.error),n(e,4,0,t.error)}),null)}function ac(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,rc)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.visible||t.error)}),null)}var uc=function(){function n(n,e,t,l,o,i){this.electronService=n,this.recentlyOpenedProjectService=e,this.serverManagement=t,this.toasterService=l,this.progressService=o,this.router=i,this.isInstalledSoftwareAvailable=!1,this.uiVersion=Sn,this.shouldStopServersOnClosing=!0}return n.prototype.ngOnInit=function(){var n=this;this.recentlyOpenedServerId=this.recentlyOpenedProjectService.getServerId(),this.recentlyOpenedProjectId=this.recentlyOpenedProjectService.getProjectId(),this.isInstalledSoftwareAvailable=this.electronService.isElectronApp,this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe((function(e){"errored"===e.status&&(console.error(e.message),n.toasterService.error(e.message)),"stderr"===e.status&&(console.error(e.message),n.toasterService.error(e.message))})),this.shouldStopServersOnClosing=this.electronService.isElectronApp},n.prototype.backToProject=function(){var n=this;this.router.navigate(["/server",this.recentlyOpenedServerId,"project",this.recentlyOpenedProjectId]).catch((function(e){return n.toasterService.error("Cannot navigate to the last opened project")}))},n.prototype.onBeforeUnload=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return this.shouldStopServersOnClosing?(n.preventDefault(),n.returnValue=!1,this.progressService.activate(),[4,this.serverManagement.stopAll()]):[2];case 1:return e.sent(),this.shouldStopServersOnClosing=!1,this.progressService.deactivate(),window.close(),[2,!1]}}))}))},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n}(),sc=function(){function n(){}return Object.defineProperty(n.prototype,"electron",{get:function(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isElectronApp",{get:function(){return!!window.navigator.userAgent.match(/Electron/)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isMacOS",{get:function(){return this.isElectronApp&&"darwin"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isWindows",{get:function(){return this.isElectronApp&&"win32"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isLinux",{get:function(){return this.isElectronApp&&"linux"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isX86",{get:function(){return this.isElectronApp&&"ia32"===process.arch},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isX64",{get:function(){return this.isElectronApp&&"x64"===process.arch},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isArm",{get:function(){return this.isElectronApp&&"arm"===process.arch},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"desktopCapturer",{get:function(){return this.electron?this.electron.desktopCapturer:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ipcRenderer",{get:function(){return this.electron?this.electron.ipcRenderer:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"remote",{get:function(){return this.electron?this.electron.remote:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"webFrame",{get:function(){return this.electron?this.electron.webFrame:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"clipboard",{get:function(){return this.electron?this.electron.clipboard:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"crashReporter",{get:function(){return this.electron?this.electron.crashReporter:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"process",{get:function(){return this.remote?this.remote.process:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"nativeImage",{get:function(){return this.electron?this.electron.nativeImage:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"screen",{get:function(){return this.electron?this.remote.screen:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"shell",{get:function(){return this.electron?this.electron.shell:null},enumerable:!0,configurable:!0}),n}(),dc=function(n){function e(){return n.call(this)||this}return Object(i.c)(e,n),e}(sc),cc=function(){return function(){}}(),pc=function(){function n(){}return n.prototype.setServerId=function(n){this.serverId=n},n.prototype.setProjectId=function(n){this.projectId=n},n.prototype.getServerId=function(){return this.serverId},n.prototype.getProjectId=function(){return this.projectId},n}(),fc=function(){function n(n){var e=this;this.electronService=n,this.serverStatusChanged=new Mn.b,this.electronService.isElectronApp&&this.electronService.ipcRenderer.on(this.statusChannel,(function(n,t){e.serverStatusChanged.next(t)}))}return Object.defineProperty(n.prototype,"statusChannel",{get:function(){return"local-server-status-events"},enumerable:!0,configurable:!0}),n.prototype.start=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return this.serverStatusChanged.next({serverName:n.name,status:"starting",message:""}),[4,this.electronService.remote.require("./local-server.js").startLocalServer(n)];case 1:return[2,e.sent()]}}))}))},n.prototype.stop=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopLocalServer(n)];case 1:return[2,e.sent()]}}))}))},n.prototype.stopAll=function(){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(n){switch(n.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopAllLocalServers()];case 1:return[2,n.sent()]}}))}))},n.prototype.getRunningServers=function(){return this.electronService.isElectronApp?this.electronService.remote.require("./local-server.js").getRunningServers():[]},n.prototype.ngOnDestroy=function(){this.electronService.isElectronApp&&this.electronService.ipcRenderer.removeAllListeners(this.statusChannel)},n}(),hc=function(){function n(n,e){this.snackbar=n,this.zone=e,this.snackBarConfigForSuccess={duration:4e3,panelClass:["snackabar-success"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForWarning={duration:4e3,panelClass:["snackabar-warning"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForError={duration:1e4,panelClass:["snackabar-error"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"}}return n.prototype.error=function(n){var e=this;this.zone.run((function(){e.snackbar.open(n,"Close",e.snackBarConfigForError)}))},n.prototype.warning=function(n){var e=this;this.zone.run((function(){e.snackbar.open(n,"Close",e.snackBarConfigForWarning)}))},n.prototype.success=function(n){var e=this;this.zone.run((function(){e.snackbar.open(n,"Close",e.snackBarConfigForSuccess)}))},n}(),mc=o["ɵcrt"]({encapsulation:2,styles:[["app-default-layout,app-root,body,html{height:100%}app-default-layout{display:flex;flex-direction:column;height:100vh}.footer{padding:20px;margin:auto 0 0}.default-content{margin:0 auto;max-width:940px;padding-top:20px;padding-bottom:20px}header{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);z-index:10}.default-header h1{font-weight:300;margin:0;font-size:20px;padding:28px 8px}.default-header{margin:0 auto;max-width:940px}.buttons-bar{padding-top:10px;text-align:right}.fill-space{flex:1 1 auto}.container>*{width:100%}.container{padding:0}.mat-dialog-content>*{width:100%}"]],data:{}});function vc(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.backToProject()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back to project"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}function gc(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,51,"header",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,50,"mat-toolbar",[["class","mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,pu,cu)),o["ɵdid"](2,4243456,null,1,su,[o.ElementRef,io,r.DOCUMENT],{color:[0,"color"]},null),o["ɵqud"](603979776,1,{_toolbarRows:1}),(n()(),o["ɵeld"](4,0,null,0,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,ou,lu)),o["ɵdid"](5,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](6,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","gns3"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](7,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],{svgIcon:[0,"svgIcon"]},null),(n()(),o["ɵeld"](8,0,null,0,3,"button",[["mat-button",""],["routerLink","/servers"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,9).onClick()&&l),l}),ou,lu)),o["ɵdid"](9,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Servers"])),(n()(),o["ɵand"](16777216,null,0,1,null,vc)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,0,0,"span",[["class","fill-space"]],null,null,null,null,null)),(n()(),o["ɵeld"](15,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,17)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,17)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,17)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](17,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](19,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](21,0,null,0,30,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](22,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,2,{_allItems:1}),o["ɵqud"](603979776,3,{items:1}),o["ɵqud"](603979776,4,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](28,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/settings"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,29).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,30)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,30)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](29,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](30,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](32,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["settings"])),(n()(),o["ɵeld"](34,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Settings"])),(n()(),o["ɵeld"](36,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/installed-software"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,37).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,38)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,38)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](37,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](38,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],{disabled:[0,"disabled"]},null),(n()(),o["ɵeld"](39,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](40,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["cloud_download"])),(n()(),o["ɵeld"](42,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Installed software"])),(n()(),o["ɵeld"](44,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/help"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,45).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,46)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,46)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](45,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](46,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](47,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](48,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["help"])),(n()(),o["ɵeld"](50,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Help"])),(n()(),o["ɵeld"](52,0,null,null,2,"main",[["class","mat-app-background"]],null,null,null,null,null)),(n()(),o["ɵeld"](53,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["ɵdid"](54,212992,null,0,wl,[Cl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null),(n()(),o["ɵeld"](55,0,null,null,1,"app-progress",[],null,null,null,ac,lc)),o["ɵdid"](56,245760,null,0,nc,[tc,vl],null,null),(n()(),o["ɵeld"](57,0,null,null,1,"footer",[["class","footer mat-app-background"]],null,null,null,null,null)),(n()(),o["ɵted"](58,null,[" GNS3 Web UI © 2020 - v","\n"]))],(function(n,e){var t=e.component;n(e,2,0,"primary"),n(e,7,0,"gns3"),n(e,9,0,"/servers"),n(e,13,0,t.recentlyOpenedProjectId&&t.recentlyOpenedServerId),n(e,17,0,o["ɵnov"](e,22)),n(e,19,0),n(e,22,0),n(e,29,0,"/settings"),n(e,32,0),n(e,37,0,"/installed-software"),n(e,38,0,!t.isInstalledSoftwareAvailable),n(e,40,0),n(e,45,0,"/help"),n(e,48,0),n(e,54,0),n(e,56,0)}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2)._toolbarRows.length>0,0===o["ɵnov"](e,2)._toolbarRows.length),n(e,4,0,o["ɵnov"](e,5).disabled||null,"NoopAnimations"===o["ɵnov"](e,5)._animationMode),n(e,6,0,o["ɵnov"](e,7).inline,"primary"!==o["ɵnov"](e,7).color&&"accent"!==o["ɵnov"](e,7).color&&"warn"!==o["ɵnov"](e,7).color),n(e,8,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode),n(e,15,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode,o["ɵnov"](e,17).menuOpen||null),n(e,18,0,o["ɵnov"](e,19).inline,"primary"!==o["ɵnov"](e,19).color&&"accent"!==o["ɵnov"](e,19).color&&"warn"!==o["ɵnov"](e,19).color),n(e,28,0,o["ɵnov"](e,30).role,o["ɵnov"](e,30)._highlighted,o["ɵnov"](e,30)._triggersSubmenu,o["ɵnov"](e,30)._getTabIndex(),o["ɵnov"](e,30).disabled.toString(),o["ɵnov"](e,30).disabled||null),n(e,31,0,o["ɵnov"](e,32).inline,"primary"!==o["ɵnov"](e,32).color&&"accent"!==o["ɵnov"](e,32).color&&"warn"!==o["ɵnov"](e,32).color),n(e,36,0,o["ɵnov"](e,38).role,o["ɵnov"](e,38)._highlighted,o["ɵnov"](e,38)._triggersSubmenu,o["ɵnov"](e,38)._getTabIndex(),o["ɵnov"](e,38).disabled.toString(),o["ɵnov"](e,38).disabled||null),n(e,39,0,o["ɵnov"](e,40).inline,"primary"!==o["ɵnov"](e,40).color&&"accent"!==o["ɵnov"](e,40).color&&"warn"!==o["ɵnov"](e,40).color),n(e,44,0,o["ɵnov"](e,46).role,o["ɵnov"](e,46)._highlighted,o["ɵnov"](e,46)._triggersSubmenu,o["ɵnov"](e,46)._getTabIndex(),o["ɵnov"](e,46).disabled.toString(),o["ɵnov"](e,46).disabled||null),n(e,47,0,o["ɵnov"](e,48).inline,"primary"!==o["ɵnov"](e,48).color&&"accent"!==o["ɵnov"](e,48).color&&"warn"!==o["ɵnov"](e,48).color),n(e,58,0,t.uiVersion)}))}function bc(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-default-layout",[],null,[["window","beforeunload"]],(function(n,e,t){var l=!0;return"window:beforeunload"===e&&(l=!1!==o["ɵnov"](n,1).onBeforeUnload(t)&&l),l}),gc,mc)),o["ɵdid"](1,245760,null,0,uc,[sc,pc,fc,hc,tc,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var _c=o["ɵccf"]("app-default-layout",uc,bc,{},{},[]);function yc(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._sticky=!1,l._hasStickyChanged=!1,l}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"sticky",{get:function(){return this._sticky},set:function(n){var e=this._sticky;this._sticky=$l(n),this._hasStickyChanged=e!==this._sticky},enumerable:!0,configurable:!0}),e.prototype.hasStickyChanged=function(){var n=this._hasStickyChanged;return this._hasStickyChanged=!1,n},e.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},e}(n)}var Cc=function(){return function(n){this.template=n}}(),wc=function(){return function(n){this.template=n}}(),Sc=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stickyEnd=!1,e}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(n){var e=this._stickyEnd;this._stickyEnd=$l(n),this._hasStickyChanged=e!==this._stickyEnd},enumerable:!0,configurable:!0}),e}(yc(function(){return function(){}}())),xc=function(){return function(n,e){e.nativeElement.classList.add("cdk-column-"+n.cssClassFriendlyName)}}(),kc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e}(xc),Ec=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e}(xc),Tc=function(){function n(n,e){this.template=n,this._differs=e}return n.prototype.ngOnChanges=function(n){if(!this._columnsDiffer){var e=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}},n.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},n.prototype.extractCellTemplate=function(n){return this instanceof Rc?n.headerCell.template:this instanceof Ic?n.footerCell.template:n.cell.template},n}(),Rc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(yc(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Tc))),Ic=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(yc(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Tc))),Dc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(i.c)(e,n),e}(Tc),Fc=function(){function n(e){this._viewContainer=e,n.mostRecentCellOutlet=this}return n.prototype.ngOnDestroy=function(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)},n.mostRecentCellOutlet=null,n}(),Oc=function(){return function(){}}(),Mc=function(){return function(){}}(),Nc=["top","bottom","left","right"],Ac=function(){function n(n,e,t,l){void 0===l&&(l=!0),this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._isBrowser=l}return n.prototype.clearStickyPositioning=function(n,e){for(var t=0,l=n;t<l.length;t++){var o=l[t];if(o.nodeType===o.ELEMENT_NODE){this._removeStickyStyle(o,e);for(var i=0;i<o.children.length;i++)this._removeStickyStyle(o.children[i],e)}}},n.prototype.updateStickyColumns=function(n,e,t){var l=e.some((function(n){return n}))||t.some((function(n){return n}));if(n.length&&l&&this._isBrowser)for(var o=n[0],i=o.children.length,r=this._getCellWidths(o),a=this._getStickyStartColumnPositions(r,e),u=this._getStickyEndColumnPositions(r,t),s="rtl"===this.direction,d=0,c=n;d<c.length;d++)for(var p=c[d],f=0;f<i;f++){var h=p.children[f];e[f]&&this._addStickyStyle(h,s?"right":"left",a[f]),t[f]&&this._addStickyStyle(h,s?"left":"right",u[f])}},n.prototype.stickRows=function(n,e,t){if(this._isBrowser)for(var l="bottom"===t?n.reverse():n,o=0,i=0;i<l.length;i++)if(e[i]){var r=l[i];if(this._isNativeHtmlTable)for(var a=0;a<r.children.length;a++)this._addStickyStyle(r.children[a],t,o);else this._addStickyStyle(r,t,o);if(i===l.length-1)return;o+=r.getBoundingClientRect().height}},n.prototype.updateStickyFooterContainer=function(n,e){if(this._isNativeHtmlTable){var t=n.querySelector("tfoot");e.some((function(n){return!n}))?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0)}},n.prototype._removeStickyStyle=function(n,e){for(var t=0,l=e;t<l.length;t++)n.style[l[t]]="";n.style.zIndex=this._getCalculatedZIndex(n),Nc.some((function(e){return!!n.style[e]}))||(n.style.position="",n.classList.remove(this._stickCellCss))},n.prototype._addStickyStyle=function(n,e,t){n.classList.add(this._stickCellCss),n.style[e]=t+"px",n.style.cssText+="position: -webkit-sticky; position: sticky; ",n.style.zIndex=this._getCalculatedZIndex(n)},n.prototype._getCalculatedZIndex=function(n){for(var e={top:100,bottom:10,left:1,right:1},t=0,l=0,o=Nc;l<o.length;l++){var i=o[l];n.style[i]&&(t+=e[i])}return t?""+t:""},n.prototype._getCellWidths=function(n){for(var e=[],t=n.children,l=0;l<t.length;l++)e.push(t[l].getBoundingClientRect().width);return e},n.prototype._getStickyStartColumnPositions=function(n,e){for(var t=[],l=0,o=0;o<n.length;o++)e[o]&&(t[o]=l,l+=n[o]);return t},n.prototype._getStickyEndColumnPositions=function(n,e){for(var t=[],l=0,o=n.length;o>0;o--)e[o]&&(t[o]=l,l+=n[o]);return t},n}();function Pc(n){return Error('Could not find column with id "'+n+'".')}var qc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Lc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),jc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Vc=function(){function n(n,e,t,l,o,i,r){this._differs=n,this._changeDetectorRef=e,this._elementRef=t,this._dir=o,this._platform=r,this._onDestroy=new Mn.b,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new Rn.a({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=i,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(n.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(n){Object(o.isDevMode)()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+"."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(n){this._multiTemplateDataRows=$l(n),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(e,t){return n.trackBy?n.trackBy(t.dataIndex,t.data):t}))},n.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},n.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Fs(this.dataSource)&&this.dataSource.disconnect(this)},n.prototype.renderRows=function(){var n=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var t=this._rowOutlet.viewContainer;e.forEachOperation((function(e,l,o){if(null==e.previousIndex)n._insertRow(e.item,o);else if(null==o)t.remove(l);else{var i=t.get(l);t.move(i,o)}})),this._updateRowIndexContext(),e.forEachIdentityChange((function(n){t.get(n.currentIndex).context.$implicit=n.item.data})),this.updateStickyColumnStyles()}},n.prototype.setHeaderRowDef=function(n){this._customHeaderRowDefs=new Set([n]),this._headerRowDefChanged=!0},n.prototype.setFooterRowDef=function(n){this._customFooterRowDefs=new Set([n]),this._footerRowDefChanged=!0},n.prototype.addColumnDef=function(n){this._customColumnDefs.add(n)},n.prototype.removeColumnDef=function(n){this._customColumnDefs.delete(n)},n.prototype.addRowDef=function(n){this._customRowDefs.add(n)},n.prototype.removeRowDef=function(n){this._customRowDefs.delete(n)},n.prototype.addHeaderRowDef=function(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0},n.prototype.removeHeaderRowDef=function(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0},n.prototype.addFooterRowDef=function(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0},n.prototype.removeFooterRowDef=function(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0},n.prototype.updateStickyHeaderRowStyles=function(){var n=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=n.length?"":"none");var t=this._headerRowDefs.map((function(n){return n.sticky}));this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,t,"top"),this._headerRowDefs.forEach((function(n){return n.resetStickyChanged()}))},n.prototype.updateStickyFooterRowStyles=function(){var n=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=n.length?"":"none");var t=this._footerRowDefs.map((function(n){return n.sticky}));this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach((function(n){return n.resetStickyChanged()}))},n.prototype.updateStickyColumnStyles=function(){var n=this,e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),l=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(t,l),["left","right"]),e.forEach((function(e,t){n._addStickyColumnStyles([e],n._headerRowDefs[t])})),this._rowDefs.forEach((function(e){for(var l=[],o=0;o<t.length;o++)n._renderRows[o].rowDef===e&&l.push(t[o]);n._addStickyColumnStyles(l,e)})),l.forEach((function(e,t){n._addStickyColumnStyles([e],n._footerRowDefs[t])})),Array.from(this._columnDefsByName.values()).forEach((function(n){return n.resetStickyChanged()}))},n.prototype._getAllRenderRows=function(){var n=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var t=0;t<this._data.length;t++){var l=this._data[t],o=this._getRenderRowsForData(l,t,e.get(l));this._cachedRenderRowsMap.has(l)||this._cachedRenderRowsMap.set(l,new WeakMap);for(var i=0;i<o.length;i++){var r=o[i],a=this._cachedRenderRowsMap.get(r.data);a.has(r.rowDef)?a.get(r.rowDef).push(r):a.set(r.rowDef,[r]),n.push(r)}}return n},n.prototype._getRenderRowsForData=function(n,e,t){return this._getRowDefs(n,e).map((function(l){var o=t&&t.has(l)?t.get(l):[];if(o.length){var i=o.shift();return i.dataIndex=e,i}return{data:n,rowDef:l,dataIndex:e}}))},n.prototype._cacheColumnDefs=function(){var n=this;this._columnDefsByName.clear(),Bc(this._contentColumnDefs,this._customColumnDefs).forEach((function(e){if(n._columnDefsByName.has(e.name))throw Error('Duplicate column definition name provided: "'+e.name+'".');n._columnDefsByName.set(e.name,e)}))},n.prototype._cacheRowDefs=function(){this._headerRowDefs=Bc(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=Bc(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=Bc(this._contentRowDefs,this._customRowDefs);var n=this._rowDefs.filter((function(n){return!n.when}));if(!this.multiTemplateDataRows&&n.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=n[0]},n.prototype._renderUpdatedColumns=function(){var n=function(n,e){return n||!!e.getColumnsDiff()};this._rowDefs.reduce(n,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(n,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(n,!1)&&this._forceRenderFooterRows()},n.prototype._switchDataSource=function(n){this._data=[],Fs(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=n},n.prototype._observeRenderChanges=function(){var n=this;if(this.dataSource){var e;if(Fs(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof In.a?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(En.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(ws.a)(this._onDestroy)).subscribe((function(e){n._data=e||[],n.renderRows()}))}},n.prototype._forceRenderHeaderRows=function(){var n=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(e,t){return n._renderRow(n._headerRowOutlet,e,t)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},n.prototype._forceRenderFooterRows=function(){var n=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(e,t){return n._renderRow(n._footerRowOutlet,e,t)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},n.prototype._addStickyColumnStyles=function(n,e){var t=this,l=Array.from(e.columns||[]).map((function(n){var e=t._columnDefsByName.get(n);if(!e)throw Pc(n);return e})),o=l.map((function(n){return n.sticky})),i=l.map((function(n){return n.stickyEnd}));this._stickyStyler.updateStickyColumns(n,o,i)},n.prototype._getRenderedRows=function(n){for(var e=[],t=0;t<n.viewContainer.length;t++){var l=n.viewContainer.get(t);e.push(l.rootNodes[0])}return e},n.prototype._getRowDefs=function(n,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var t=[];if(this.multiTemplateDataRows)t=this._rowDefs.filter((function(t){return!t.when||t.when(e,n)}));else{var l=this._rowDefs.find((function(t){return t.when&&t.when(e,n)}))||this._defaultRowDef;l&&t.push(l)}if(!t.length)throw function(n){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(n))}(n);return t},n.prototype._insertRow=function(n,e){this._renderRow(this._rowOutlet,n.rowDef,e,{$implicit:n.data})},n.prototype._renderRow=function(n,e,t,l){void 0===l&&(l={}),n.viewContainer.createEmbeddedView(e.template,l,t);for(var o=0,i=this._getCellTemplates(e);o<i.length;o++)Fc.mostRecentCellOutlet&&Fc.mostRecentCellOutlet._viewContainer.createEmbeddedView(i[o],l);this._changeDetectorRef.markForCheck()},n.prototype._updateRowIndexContext=function(){for(var n=this._rowOutlet.viewContainer,e=0,t=n.length;e<t;e++){var l=n.get(e).context;l.count=t,l.first=0===e,l.last=e===t-1,l.even=e%2==0,l.odd=!l.even,this.multiTemplateDataRows?(l.dataIndex=this._renderRows[e].dataIndex,l.renderIndex=e):l.index=this._renderRows[e].dataIndex}},n.prototype._getCellTemplates=function(n){var e=this;return n&&n.columns?Array.from(n.columns,(function(t){var l=e._columnDefsByName.get(t);if(!l)throw Pc(t);return n.extractCellTemplate(l)})):[]},n.prototype._applyNativeTableSections=function(){for(var n=this._document.createDocumentFragment(),e=0,t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];e<t.length;e++){var l=t[e],o=this._document.createElement(l.tag);o.setAttribute("role","rowgroup"),o.appendChild(l.outlet.elementRef.nativeElement),n.appendChild(o)}this._elementRef.nativeElement.appendChild(n)},n.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},n.prototype._checkStickyStates=function(){var n=function(n,e){return n||e.hasStickyChanged()};this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&this.updateStickyColumnStyles()},n.prototype._setupStickyStyler=function(){var n=this;this._stickyStyler=new Ac(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(En.a)()).pipe(Object(ws.a)(this._onDestroy)).subscribe((function(e){n._stickyStyler.direction=e,n.updateStickyColumnStyles()}))},n}();function Bc(n,e){return n.toArray().concat(Array.from(e))}var Hc=function(){return function(){}}(),Uc=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}return Object(i.c)(e,n),e}(Vc),zc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Cc),Gc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(wc),Wc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Sc),Zc=function(n){function e(e,t){var l=n.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),l}return Object(i.c)(e,n),e}(kc),Kc=function(n){function e(e,t){var l=n.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),l}return Object(i.c)(e,n),e}(Ec),Xc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Rc),Yc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Dc),$c=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Oc),Qc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Mc),Jc=function(){return function(){}}(),np=o["ɵcrt"]({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function ep(n){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{_rowOutlet:0}),o["ɵqud"](402653184,2,{_headerRowOutlet:0}),o["ɵqud"](402653184,3,{_footerRowOutlet:0}),o["ɵncd"](null,0),(n()(),o["ɵeld"](4,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](5,16384,[[2,4]],0,Lc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["ɵeld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](7,16384,[[1,4]],0,qc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["ɵeld"](8,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](9,16384,[[3,4]],0,jc,[o.ViewContainerRef,o.ElementRef],null,null)],null,null)}var tp=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function lp(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](1,147456,null,0,Fc,[o.ViewContainerRef],null,null)],null,null)}var op=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function ip(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](1,147456,null,0,Fc,[o.ViewContainerRef],null,null)],null,null)}var rp=function(){return function(){}}(),ap=function(){return function(){}}(),up=function(){return function(){}}(),sp=function(){return function(){this.align="start"}}(),dp=function(){return function(n){this._animationMode=n}}(),cp=function(){return function(){}}(),pp=o["ɵcrt"]({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function fp(n){return o["ɵvid"](2,[o["ɵncd"](null,0),o["ɵncd"](null,1)],null,null)}var hp=function(){function n(){this._vertical=!1,this._inset=!1}return Object.defineProperty(n.prototype,"vertical",{get:function(){return this._vertical},set:function(n){this._vertical=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"inset",{get:function(){return this._inset},set:function(n){this._inset=$l(n)},enumerable:!0,configurable:!0}),n}(),mp=function(){return function(){}}(),vp=o["ɵcrt"]({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],data:{}});function gp(n){return o["ɵvid"](2,[],null,null)}var bp=t("pbg4");In.a.bindCallback=bp.a;var _p=t("emHa");In.a.bindNodeCallback=_p.a,In.a.combineLatest=Fn.b,In.a.concat=Ld.a,In.a.defer=On.a,In.a.empty=Nn.b,In.a.forkJoin=Wu.a,In.a.from=Tn.a,In.a.fromEvent=xs.a;var yp=t("kERW");In.a.fromEventPattern=yp.a,In.a.fromPromise=Tn.a;var Cp=t("GFlT");In.a.generate=Cp.a;var wp=t("mEZQ");In.a.if=wp.a;var Sp=t("xXU7");In.a.interval=Sp.a,In.a.merge=ys.a;var xp=t("W0Ae");In.a.race=xp.a;var kp=t("GDxn");In.a.never=function(){return kp.a},In.a.of=En.a;var Ep=t("ELzr");In.a.onErrorResumeNext=Ep.a;var Tp=t("EWOM");In.a.pairs=Tp.a;var Rp=t("vAyL");In.a.range=Rp.a;var Ip=t("7Qw6");In.a.using=Ip.a,In.a.throw=Gu.a,In.a.throwError=Gu.a;var Dp=t("gI3B");In.a.timer=Dp.a;var Fp=t("909l");In.a.zip=Fp.b;var Op="undefined"!=typeof window&&window,Mp="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Np="undefined"!=typeof global&&global,Ap=Op||Np||Mp,Pp=t("FFOo");function qp(n,e){return void 0===e&&(e=null),new zp({method:"GET",url:n,headers:e})}function Lp(n,e,t){return new zp({method:"POST",url:n,body:e,headers:t})}function jp(n,e){return new zp({method:"DELETE",url:n,headers:e})}function Vp(n,e,t){return new zp({method:"PUT",url:n,body:e,headers:t})}function Bp(n,e,t){return new zp({method:"PATCH",url:n,body:e,headers:t})}var Hp=Object(An.a)((function(n,e){return n.response}));function Up(n,e){return Hp(new zp({method:"GET",url:n,responseType:"json",headers:e}))}var zp=function(n){function e(e){var t=n.call(this)||this,l={async:!0,createXHR:function(){return this.crossDomain?function(){if(Ap.XMLHttpRequest)return new Ap.XMLHttpRequest;if(Ap.XDomainRequest)return new Ap.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(Ap.XMLHttpRequest)return new Ap.XMLHttpRequest;var n=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],t=0;t<3;t++)try{if(new Ap.ActiveXObject(n=e[t]))break}catch(l){}return new Ap.ActiveXObject(n)}catch(l){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)l.url=e;else for(var o in e)e.hasOwnProperty(o)&&(l[o]=e[o]);return t.request=l,t}var t;return i.c(e,n),e.prototype._subscribe=function(n){return new Gp(n,this.request)},e.create=((t=function(n){return new e(n)}).get=qp,t.post=Lp,t.delete=jp,t.put=Vp,t.patch=Bp,t.getJSON=Up,t),e}(In.a),Gp=function(n){function e(e,t){var l=n.call(this,e)||this;l.request=t,l.done=!1;var o=t.headers=t.headers||{};return t.crossDomain||l.getHeader(o,"X-Requested-With")||(o["X-Requested-With"]="XMLHttpRequest"),l.getHeader(o,"Content-Type")||Ap.FormData&&t.body instanceof Ap.FormData||void 0===t.body||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),t.body=l.serializeBody(t.body,l.getHeader(t.headers,"Content-Type")),l.send(),l}return i.c(e,n),e.prototype.next=function(n){this.done=!0;var e,t=this.xhr,l=this.request,o=this.destination;try{e=new Wp(n,t,l)}catch(i){return o.error(i)}o.next(e)},e.prototype.send=function(){var n=this.request,e=this.request,t=e.user,l=e.method,o=e.url,i=e.async,r=e.password,a=e.headers,u=e.body;try{var s=this.xhr=n.createXHR();this.setupEvents(s,n),t?s.open(l,o,i,t,r):s.open(l,o,i),i&&(s.timeout=n.timeout,s.responseType=n.responseType),"withCredentials"in s&&(s.withCredentials=!!n.withCredentials),this.setHeaders(s,a),u?s.send(u):s.send()}catch(d){this.error(d)}},e.prototype.serializeBody=function(n,e){if(!n||"string"==typeof n)return n;if(Ap.FormData&&n instanceof Ap.FormData)return n;if(e){var t=e.indexOf(";");-1!==t&&(e=e.substring(0,t))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(n).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(n[e])})).join("&");case"application/json":return JSON.stringify(n);default:return n}},e.prototype.setHeaders=function(n,e){for(var t in e)e.hasOwnProperty(t)&&n.setRequestHeader(t,e[t])},e.prototype.getHeader=function(n,e){for(var t in n)if(t.toLowerCase()===e.toLowerCase())return n[t]},e.prototype.setupEvents=function(n,e){var t,l,o=e.progressSubscriber;function i(n){var e,t=i.subscriber,l=i.progressSubscriber,o=i.request;l&&l.error(n);try{e=new Xp(this,o)}catch(r){e=r}t.error(e)}function r(n){}function a(n){var e=a.subscriber,t=a.progressSubscriber,l=a.request;if(4===this.readyState){var o=1223===this.status?204:this.status;if(0===o&&(o=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),o<400)t&&t.complete(),e.next(n),e.complete();else{t&&t.error(n);var i=void 0;try{i=new Zp("ajax error "+o,this,l)}catch(r){i=r}e.error(i)}}}n.ontimeout=i,i.request=e,i.subscriber=this,i.progressSubscriber=o,n.upload&&"withCredentials"in n&&(o&&(t=function(n){t.progressSubscriber.next(n)},Ap.XDomainRequest?n.onprogress=t:n.upload.onprogress=t,t.progressSubscriber=o),n.onerror=l=function(n){var e,t=l.progressSubscriber,o=l.subscriber,i=l.request;t&&t.error(n);try{e=new Zp("ajax error",this,i)}catch(r){e=r}o.error(e)},l.request=e,l.subscriber=this,l.progressSubscriber=o),n.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=o,r.request=e,n.onload=a,a.subscriber=this,a.progressSubscriber=o,a.request=e},e.prototype.unsubscribe=function(){var e=this.xhr;!this.done&&e&&4!==e.readyState&&"function"==typeof e.abort&&e.abort(),n.prototype.unsubscribe.call(this)},e}(Pp.a),Wp=function(){return function(n,e,t){this.originalEvent=n,this.xhr=e,this.request=t,this.status=e.status,this.responseType=e.responseType||t.responseType,this.response=Kp(this.responseType,e)}}(),Zp=function(){function n(n,e,t){return Error.call(this),this.message=n,this.name="AjaxError",this.xhr=e,this.request=t,this.status=e.status,this.responseType=e.responseType||t.responseType,this.response=Kp(this.responseType,e),this}return n.prototype=Object.create(Error.prototype),n}();function Kp(n,e){switch(n){case"json":return function(n){return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null")}(e);case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var Xp=function(n,e){return Zp.call(this,"ajax timeout",n,e),this.name="AjaxTimeoutError",this};In.a.ajax=function(){return zp.create}();var Yp=t("S5bw"),$p={url:"",deserializer:function(n){return JSON.parse(n.data)},serializer:function(n){return JSON.stringify(n)}},Qp=function(n){function e(e,t){var l=n.call(this)||this;if(e instanceof In.a)l.destination=t,l.source=e;else{var o=l._config=i.a({},$p);if(l._output=new Mn.b,"string"==typeof e)o.url=e;else for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);if(!o.WebSocketCtor&&WebSocket)o.WebSocketCtor=WebSocket;else if(!o.WebSocketCtor)throw new Error("no WebSocket constructor can be found");l.destination=new Yp.a}return l}return i.c(e,n),e.prototype.lift=function(n){var t=new e(this._config,this.destination);return t.operator=n,t.source=this,t},e.prototype._resetState=function(){this._socket=null,this.source||(this.destination=new Yp.a),this._output=new Mn.b},e.prototype.multiplex=function(n,e,t){var l=this;return new In.a((function(o){try{l.next(n())}catch(r){o.error(r)}var i=l.subscribe((function(n){try{t(n)&&o.next(n)}catch(r){o.error(r)}}),(function(n){return o.error(n)}),(function(){return o.complete()}));return function(){try{l.next(e())}catch(r){o.error(r)}i.unsubscribe()}}))},e.prototype._connectSocket=function(){var n=this,e=this._config,t=e.WebSocketCtor,l=e.protocol,o=e.url,i=e.binaryType,r=this._output,a=null;try{a=l?new t(o,l):new t(o),this._socket=a,i&&(this._socket.binaryType=i)}catch(s){return void r.error(s)}var u=new co.a((function(){n._socket=null,a&&1===a.readyState&&a.close()}));a.onopen=function(e){if(!n._socket)return a.close(),void n._resetState();var t=n._config.openObserver;t&&t.next(e);var l=n.destination;n.destination=Pp.a.create((function(t){if(1===a.readyState)try{a.send((0,n._config.serializer)(t))}catch(e){n.destination.error(e)}}),(function(e){var t=n._config.closingObserver;t&&t.next(void 0),e&&e.code?a.close(e.code,e.reason):r.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),n._resetState()}),(function(){var e=n._config.closingObserver;e&&e.next(void 0),a.close(),n._resetState()})),l&&l instanceof Yp.a&&u.add(l.subscribe(n.destination))},a.onerror=function(e){n._resetState(),r.error(e)},a.onclose=function(e){n._resetState();var t=n._config.closeObserver;t&&t.next(e),e.wasClean?r.complete():r.error(e)},a.onmessage=function(e){try{r.next((0,n._config.deserializer)(e))}catch(t){r.error(t)}}},e.prototype._subscribe=function(n){var e=this,t=this.source;return t?t.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add((function(){var n=e._socket;0===e._output.observers.length&&(n&&1===n.readyState&&n.close(),e._resetState())})),n)},e.prototype.unsubscribe=function(){var e=this._socket;e&&1===e.readyState&&e.close(),this._resetState(),n.prototype.unsubscribe.call(this)},e}(Mn.a);In.a.webSocket=function(n){return new Qp(n)};var Jp=t("DaYz");In.a.prototype.buffer=function(n){return Object(Jp.a)(n)(this)};var nf=t("KD6q");In.a.prototype.bufferCount=function(n,e){return void 0===e&&(e=null),Object(nf.a)(n,e)(this)};var ef=t("T1DM"),tf=t("nkY7"),lf=t("b7Yd");In.a.prototype.bufferTime=function(n){var e=arguments.length,t=ef.a;Object(tf.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],e--);var l=null;e>=2&&(l=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),Object(lf.a)(n,l,o,t)(this)};var of=t("Qkom");In.a.prototype.bufferToggle=function(n,e){return Object(of.a)(n,e)(this)};var rf=t("xsCy");function af(n){return Object(Ln.a)(n)(this)}In.a.prototype.bufferWhen=function(n){return Object(rf.a)(n)(this)},In.a.prototype.catch=af,In.a.prototype._catch=af;var uf=t("F1hP");In.a.prototype.combineAll=function(n){return Object(uf.a)(n)(this)};var sf=t("isby");In.a.prototype.combineLatest=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null;return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(sf.a)(n[0])&&(n=n[0].slice()),this.lift.call(En.a.apply(void 0,[this].concat(n)),new Fn.a(t))},In.a.prototype.concat=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Ld.a.apply(void 0,[this].concat(n)))},In.a.prototype.concatAll=function(){return Object(Pn.a)()(this)},In.a.prototype.concatMap=function(n){return Object(Zn.a)(n)(this)};var df=t("dDXr");In.a.prototype.concatMapTo=function(n){return Object(df.a)(n)(this)};var cf=t("6Dj2");In.a.prototype.count=function(n){return Object(cf.a)(n)(this)};var pf=t("41IB");In.a.prototype.dematerialize=function(){return Object(pf.a)()(this)};var ff=t("bWpG");In.a.prototype.debounce=function(n){return Object(ff.a)(n)(this)},In.a.prototype.debounceTime=function(n,e){return void 0===e&&(e=ef.a),Object(ho.a)(n,e)(this)};var hf=t("HJBe");In.a.prototype.defaultIfEmpty=function(n){return void 0===n&&(n=null),Object(hf.a)(n)(this)},In.a.prototype.delay=function(n,e){return void 0===e&&(e=ef.a),Object(Ss.a)(n,e)(this)};var mf=t("WbdR");In.a.prototype.delayWhen=function(n,e){return Object(mf.a)(n,e)(this)};var vf=t("ou9H");In.a.prototype.distinct=function(n,e){return Object(vf.a)(n,e)(this)},In.a.prototype.distinctUntilChanged=function(n,e){return Object(Es.a)(n,e)(this)};var gf=t("Cr8c");function bf(n,e,t){return Object(Xn.a)(n,e,t)(this)}In.a.prototype.distinctUntilKeyChanged=function(n,e){return Object(gf.a)(n,e)(this)},In.a.prototype.do=bf,In.a.prototype._do=bf;var _f=t("31qQ");In.a.prototype.exhaust=function(){return Object(_f.a)()(this)};var yf=t("6V3w");In.a.prototype.exhaustMap=function(n){return Object(yf.a)(n)(this)};var Cf=t("sLa7");In.a.prototype.expand=function(n,e,t){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,Object(Cf.a)(n,e,t)(this)};var wf=t("MPaf");function Sf(n){return Object(Yn.a)(n)(this)}In.a.prototype.elementAt=function(n,e){return wf.a.apply(void 0,arguments)(this)},In.a.prototype.filter=function(n,e){return Object(Wn.a)(n,e)(this)},In.a.prototype.finally=Sf,In.a.prototype._finally=Sf;var xf=t("NKZO");In.a.prototype.find=function(n,e){return Object(xf.b)(n,e)(this)};var kf=t("VYim");In.a.prototype.findIndex=function(n,e){return Object(kf.a)(n,e)(this)},In.a.prototype.first=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return jn.a.apply(void 0,n)(this)};var Ef=t("IxPp");In.a.prototype.groupBy=function(n,e,t,l){return Object(Ef.b)(n,e,t,l)(this)};var Tf=t("DKLv");In.a.prototype.ignoreElements=function(){return Object(Tf.a)()(this)};var Rf=t("igQg");In.a.prototype.isEmpty=function(){return Object(Rf.a)()(this)};var If=t("MpAI");function Df(n){return n(this)}In.a.prototype.audit=function(n){return Object(If.a)(n)(this)},In.a.prototype.auditTime=function(n,e){return void 0===e&&(e=ef.a),Object(Ts.a)(n,e)(this)},In.a.prototype.last=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return qn.a.apply(void 0,n)(this)},In.a.prototype.let=Df,In.a.prototype.letBind=Df,In.a.prototype.every=function(n,e){return Object(Bn.a)(n,e)(this)},In.a.prototype.map=function(n,e){return Object(An.a)(n,e)(this)};var Ff=t("aGNc");In.a.prototype.mapTo=function(n){return Object(Ff.a)(n)(this)};var Of=t("uW6F");In.a.prototype.materialize=function(){return Object(Of.a)()(this)};var Mf=t("mcCJ");function Nf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(Vn.a)(n,e)(this)}In.a.prototype.max=function(n){return Object(Mf.a)(n)(this)},In.a.prototype.merge=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(ys.a.apply(void 0,[this].concat(n)))},In.a.prototype.mergeAll=function(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object($n.a)(n)(this)},In.a.prototype.mergeMap=Nf,In.a.prototype.flatMap=Nf;var Af=t("j0HV");function Pf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(Af.a)(n,e)(this)}In.a.prototype.flatMapTo=Pf,In.a.prototype.mergeMapTo=Pf;var qf=t("lA9V");In.a.prototype.mergeScan=function(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(qf.a)(n,e,t)(this)};var Lf=t("gAJb");In.a.prototype.min=function(n){return Object(Lf.a)(n)(this)};var jf=t("xlPZ");In.a.prototype.multicast=function(n,e){return Object(jf.a)(n,e)(this)};var Vf=t("mZXl");In.a.prototype.observeOn=function(n,e){return void 0===e&&(e=0),Object(Vf.b)(n,e)(this)};var Bf=t("TJrj");In.a.prototype.onErrorResumeNext=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Bf.a.apply(void 0,n)(this)},In.a.prototype.pairwise=function(){return Object(Rs.a)()(this)};var Hf=t("h+56");In.a.prototype.partition=function(n,e){return Object(Hf.a)(n,e)(this)};var Uf=t("FYXD");In.a.prototype.pluck=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Uf.a.apply(void 0,n)(this)};var zf=t("W1+X");In.a.prototype.publish=function(n){return Object(zf.a)(n)(this)};var Gf=t("3J/R");In.a.prototype.publishBehavior=function(n){return Object(Gf.a)(n)(this)};var Wf=t("s4kO");In.a.prototype.publishReplay=function(n,e,t,l){return Object(Wf.a)(n,e,t,l)(this)};var Zf=t("kR3u");In.a.prototype.publishLast=function(){return Object(Zf.a)()(this)};var Kf=t("p33S");In.a.prototype.race=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Kf.a.apply(void 0,n)(this)},In.a.prototype.reduce=function(n,e){return arguments.length>=2?Object(Kn.a)(n,e)(this):Object(Kn.a)(n)(this)};var Xf=t("Nzu2");In.a.prototype.repeat=function(n){return void 0===n&&(n=-1),Object(Xf.a)(n)(this)};var Yf=t("tMwf");In.a.prototype.repeatWhen=function(n){return Object(Yf.a)(n)(this)};var $f=t("5tAl");In.a.prototype.retry=function(n){return void 0===n&&(n=-1),Object($f.a)(n)(this)};var Qf=t("ZqrO");In.a.prototype.retryWhen=function(n){return Object(Qf.a)(n)(this)};var Jf=t("wDBO");In.a.prototype.sample=function(n){return Object(Jf.a)(n)(this)};var nh=t("/ojb");In.a.prototype.sampleTime=function(n,e){return void 0===e&&(e=ef.a),Object(nh.a)(n,e)(this)},In.a.prototype.scan=function(n,e){return arguments.length>=2?Object(Gn.a)(n,e)(this):Object(Gn.a)(n)(this)};var eh=t("wjTF");In.a.prototype.sequenceEqual=function(n,e){return Object(eh.a)(n,e)(this)},In.a.prototype.share=function(){return Object(Zu.a)()(this)},In.a.prototype.shareReplay=function(n,e,t){return n&&"object"==typeof n?Object(Is.a)(n)(this):Object(Is.a)(n,e,t)(this)};var th=t("ujTQ");In.a.prototype.single=function(n){return Object(th.a)(n)(this)},In.a.prototype.skip=function(n){return Object(jd.a)(n)(this)};var lh=t("14Nl");In.a.prototype.skipLast=function(n){return Object(lh.a)(n)(this)};var oh=t("0GsU");In.a.prototype.skipUntil=function(n){return Object(oh.a)(n)(this)};var ih=t("VQ2P");In.a.prototype.skipWhile=function(n){return Object(ih.a)(n)(this)},In.a.prototype.startWith=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return zn.a.apply(void 0,n)(this)};var rh=t("9dfq");In.a.prototype.subscribeOn=function(n,e){return void 0===e&&(e=0),Object(rh.a)(n,e)(this)};var ah=t("KAzf");function uh(){return Object(ah.a)()(this)}In.a.prototype.switch=uh,In.a.prototype._switch=uh,In.a.prototype.switchMap=function(n){return Object(Hn.a)(n)(this)};var sh=t("zQHH");In.a.prototype.switchMapTo=function(n){return Object(sh.a)(n)(this)},In.a.prototype.take=function(n){return Object(Un.a)(n)(this)};var dh=t("AxiF");In.a.prototype.takeLast=function(n){return Object(dh.a)(n)(this)},In.a.prototype.takeUntil=function(n){return Object(ws.a)(n)(this)};var ch=t("jvbL");In.a.prototype.takeWhile=function(n){return Object(ch.a)(n)(this)};var ph=t("+gEr");In.a.prototype.throttle=function(n,e){return void 0===e&&(e=ph.a),Object(ph.b)(n,e)(this)};var fh=t("AJqF");In.a.prototype.throttleTime=function(n,e,t){return void 0===e&&(e=ef.a),void 0===t&&(t=ph.a),Object(fh.a)(n,e,t)(this)};var hh=t("6wkY");In.a.prototype.timeInterval=function(n){return void 0===n&&(n=ef.a),Object(hh.a)(n)(this)};var mh=t("0zd0");In.a.prototype.timeout=function(n,e){return void 0===e&&(e=ef.a),Object(mh.a)(n,e)(this)};var vh=t("ceCD");In.a.prototype.timeoutWith=function(n,e,t){return void 0===t&&(t=ef.a),Object(vh.a)(n,e,t)(this)};var gh=t("5IO1");In.a.prototype.timestamp=function(n){return void 0===n&&(n=ef.a),Object(gh.a)(n)(this)};var bh=t("R+r5");In.a.prototype.toArray=function(){return Object(bh.a)()(this)},t("q8iK");var _h=t("Wnek");In.a.prototype.window=function(n){return Object(_h.a)(n)(this)};var yh=t("e5mD");In.a.prototype.windowCount=function(n,e){return void 0===e&&(e=0),Object(yh.a)(n,e)(this)};var Ch=t("/21U"),wh=t("lxKu");In.a.prototype.windowTime=function(n){var e=ef.a,t=null,l=Number.POSITIVE_INFINITY;return Object(tf.a)(arguments[3])&&(e=arguments[3]),Object(tf.a)(arguments[2])?e=arguments[2]:Object(Ch.a)(arguments[2])&&(l=arguments[2]),Object(tf.a)(arguments[1])?e=arguments[1]:Object(Ch.a)(arguments[1])&&(t=arguments[1]),Object(wh.a)(n,t,l,e)(this)};var Sh=t("K3ba");In.a.prototype.windowToggle=function(n,e){return Object(Sh.a)(n,e)(this)};var xh=t("MysU");In.a.prototype.windowWhen=function(n){return Object(xh.a)(n)(this)};var kh=t("/PH2");In.a.prototype.withLatestFrom=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return kh.a.apply(void 0,n)(this)},In.a.prototype.zip=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Fp.b.apply(void 0,[this].concat(n)))};var Eh=t("br6f");In.a.prototype.zipAll=function(n){return Object(Eh.a)(n)(this)},t("zo3G"),t("L/V9"),t("xTla"),t("En8+"),t("ahDk");var Th=function(){return function(){}}(),Rh=function(){function n(n,e,t){this.versionService=n,this.serverService=e,this.serverDatabase=t,this.defaultServers=[{host:"127.0.0.1",port:3080}]}return n.prototype.ngOnInit=function(){this.discoverFirstAvailableServer()},n.prototype.discoverFirstAvailableServer=function(){var n=this;Object(Wu.a)(In.a.fromPromise(this.serverService.findAll()).pipe(Object(An.a)((function(n){return n}))),this.discovery()).subscribe((function(e){var t=e[1];e[0].forEach((function(n){t=t.filter((function(e){return!(e.host==n.host&&e.port==n.port)}))})),t.length>0&&(n.discoveredServer=t.shift())}))},n.prototype.discovery=function(){var n=this,e=[];return this.defaultServers.forEach((function(t){e.push(n.isServerAvailable(t.host,t.port).catch((function(n){return In.a.of(null)})))})),new In.a((function(n){Object(Wu.a)(e).subscribe((function(e){n.next(e.filter((function(n){return null!=n}))),n.complete()}))}))},n.prototype.isServerAvailable=function(n,e){var t=new Th;return t.host=n,t.port=e,this.versionService.get(t).flatMap((function(n){return In.a.of(t)}))},n.prototype.ignore=function(n){this.discoveredServer=null},n.prototype.accept=function(n){var e=this;null==n.name&&(n.name=n.host),n.location="remote",this.serverService.create(n).then((function(n){e.serverDatabase.addServer(n),e.discoveredServer=null}))},n}(),Ih=function(){function n(n){this.httpServer=n}return n.prototype.get=function(n){return this.httpServer.get(n,"/version")},n}(),Dh=function(){function n(n,e){var t=this;this.indexedDbService=n,this.httpServer=e,this.tablename="servers",this.ready=n.get().openDatabase(1,(function(n){n.currentTarget.result.createObjectStore(t.tablename,{keyPath:"id",autoIncrement:!0})}))}return n.prototype.get=function(n){var e=this;return this.onReady((function(){return e.indexedDbService.get().getByKey(e.tablename,n)}))},n.prototype.create=function(n){var e=this;return this.onReady((function(){return new Promise((function(t,l){e.indexedDbService.get().add(e.tablename,n).then((function(e){n.id=e.key,t(n)}),l)}))}))},n.prototype.update=function(n){var e=this;return this.onReady((function(){return new Promise((function(t,l){e.indexedDbService.get().update(e.tablename,n).then((function(e){t(n)}),l)}))}))},n.prototype.findAll=function(){var n=this;return this.onReady((function(){return n.indexedDbService.get().getAll(n.tablename)}))},n.prototype.delete=function(n){var e=this;return this.onReady((function(){return e.indexedDbService.get().delete(e.tablename,n.id)}))},n.prototype.getServerUrl=function(n){return"http://"+n.host+":"+n.port+"/"},n.prototype.checkServerVersion=function(n){return this.httpServer.get(n,"/version")},n.prototype.getLocalServer=function(n,e){var t=this;return new Promise((function(l,o){t.findAll().then((function(i){var r=i.find((function(n){return"bundled"===n.location}));if(r)r.host=n,r.port=e,t.update(r).then((function(n){l(n)}),o);else{var a=new Th;a.name="local",a.host=n,a.port=e,a.location="bundled",t.create(a).then((function(n){l(n)}),o)}}),o)}))},n.prototype.onReady=function(n){var e=this;return new Promise((function(t,l){e.ready.then((function(){n().then((function(n){t(n)}),(function(n){l(n)}))}),(function(n){l(n)}))}))},n}(),Fh=function(){function n(){this.dataChange=new Rn.a([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n.prototype.addServer=function(n){var e=this.data.slice();e.push(n),this.dataChange.next(e)},n.prototype.addServers=function(n){this.dataChange.next(n)},n.prototype.remove=function(n){var e=this.data.indexOf(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data.slice()))},n.prototype.find=function(n){return this.data.find((function(e){return e.name===n}))},n.prototype.findIndex=function(n){return this.data.findIndex((function(e){return e.name===n}))},n.prototype.update=function(n){var e=this.findIndex(n.name);e>=0&&(this.data[e]=n,this.dataChange.next(this.data.slice()))},n}(),Oh=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Mh(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,15,"mat-card",[["class","info mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](1,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,5,"mat-card-content",[["align","center"],["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](3,16384,null,0,rp,[],null,null),(n()(),o["ɵted"](-1,null,[" We've discovered GNS3 server on "])),(n()(),o["ɵeld"](5,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),o["ɵted"](6,null,["",":",""])),(n()(),o["ɵted"](-1,null,[", would you like to add to the list? "])),(n()(),o["ɵeld"](8,0,null,0,7,"mat-card-actions",[["align","right"],["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),o["ɵdid"](9,16384,null,0,sp,[],{align:[0,"align"]},null),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o.ignore(o.discoveredServer)&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["NO"])),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o.accept(o.discoveredServer)&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["YES"]))],(function(n,e){n(e,9,0,"right"),n(e,11,0,"accent")}),(function(n,e){var t=e.component;n(e,0,0,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,6,0,t.discoveredServer.host,t.discoveredServer.port),n(e,8,0,"end"===o["ɵnov"](e,9).align),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode)}))}function Nh(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,gp,vp)),o["ɵdid"](1,49152,null,0,hp,[],null,null)],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).vertical?"vertical":"horizontal",o["ɵnov"](e,1).vertical,!o["ɵnov"](e,1).vertical,o["ɵnov"](e,1).inset)}))}function Ah(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,Mh)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Nh)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.discoveredServer),n(e,3,0,t.discoveredServer)}),null)}var Ph=new o.InjectionToken("NgValueAccessor"),qh=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"checked",n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),Lh=new o.InjectionToken("CompositionEventMode"),jh=function(){function n(n,e,t){var l;this._renderer=n,this._elementRef=e,this._compositionMode=t,this.onChange=function(n){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(l=u()?u().getUserAgent():"",!/android (\d+)/.test(l.toLowerCase())))}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._handleInput=function(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)},n.prototype._compositionStart=function(){this._composing=!0},n.prototype._compositionEnd=function(n){this._composing=!1,this._compositionMode&&this.onChange(n)},n}(),Vh=function(){function n(){}return Object.defineProperty(n.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n.prototype.reset=function(n){void 0===n&&(n=void 0),this.control&&this.control.reset(n)},n.prototype.hasError=function(n,e){return!!this.control&&this.control.hasError(n,e)},n.prototype.getError=function(n,e){return this.control?this.control.getError(n,e):null},n}(),Bh=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),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}(Vh);function Hh(){throw new Error("unimplemented")}var Uh=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"validator",{get:function(){return Hh()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Hh()},enumerable:!0,configurable:!0}),e}(Vh),zh=function(){function n(n){this._cd=n}return Object.defineProperty(n.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),n}(),Gh=function(n){function e(e){return n.call(this,e)||this}return Object(i.c)(e,n),e}(zh),Wh=function(n){function e(e){return n.call(this,e)||this}return Object(i.c)(e,n),e}(zh);function Zh(n){return null==n||0===n.length}var Kh=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[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])?)*$/,Xh=function(){function n(){}return n.min=function(n){return function(e){if(Zh(e.value)||Zh(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}},n.max=function(n){return function(e){if(Zh(e.value)||Zh(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}},n.required=function(n){return Zh(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return Zh(n.value)?null:Kh.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(e){if(Zh(e.value))return null;var t=e.value?e.value.length:0;return t<n?{minlength:{requiredLength:n,actualLength:t}}:null}},n.maxLength=function(n){return function(e){var t=e.value?e.value.length:0;return t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}},n.pattern=function(e){return e?("string"==typeof e?(l="","^"!==e.charAt(0)&&(l+="^"),l+=e,"$"!==e.charAt(e.length-1)&&(l+="$"),t=new RegExp(l)):(l=e.toString(),t=e),function(n){if(Zh(n.value))return null;var e=n.value;return t.test(e)?null:{pattern:{requiredPattern:l,actualValue:e}}}):n.nullValidator;var t,l},n.nullValidator=function(n){return null},n.compose=function(n){if(!n)return null;var e=n.filter(Yh);return 0==e.length?null:function(n){return Qh(function(n,e){return e.map((function(e){return e(n)}))}(n,e))}},n.composeAsync=function(n){if(!n)return null;var e=n.filter(Yh);return 0==e.length?null:function(n){var t=function(n,e){return e.map((function(e){return e(n)}))}(n,e).map($h);return Object(Wu.a)(t).pipe(Object(An.a)(Qh))}},n}();function Yh(n){return null!=n}function $h(n){var e=Object(o["ɵisPromise"])(n)?Object(Tn.a)(n):n;if(!Object(o["ɵisObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Qh(n){var e=n.reduce((function(n,e){return null!=e?Object(i.a)({},n,e):n}),{});return 0===Object.keys(e).length?null:e}function Jh(n){return n.validate?function(e){return n.validate(e)}:n}function nm(n){return n.validate?function(e){return n.validate(e)}:n}var em=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),tm=function(){function n(){this._accessors=[]}return n.prototype.add=function(n,e){this._accessors.push([n,e])},n.prototype.remove=function(n){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===n)return void this._accessors.splice(e,1)},n.prototype.select=function(n){var e=this;this._accessors.forEach((function(t){e._isSameGroup(t,n)&&t[1]!==n&&t[1].fireUncheck(n.value)}))},n.prototype._isSameGroup=function(n,e){return!!n[0].control&&n[0]._parent===e._control._parent&&n[1].name===e.name},n}(),lm=function(){function n(n,e,t,l){this._renderer=n,this._elementRef=e,this._registry=t,this._injector=l,this.onChange=function(){},this.onTouched=function(){}}return n.prototype.ngOnInit=function(){this._control=this._injector.get(Uh),this._checkName(),this._registry.add(this._control,this)},n.prototype.ngOnDestroy=function(){this._registry.remove(this)},n.prototype.writeValue=function(n){this._state=n===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},n.prototype.registerOnChange=function(n){var e=this;this._fn=n,this.onChange=function(){n(e.value),e._registry.select(e)}},n.prototype.fireUncheck=function(n){this.writeValue(n)},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},n.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 ')},n}(),om=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(n))},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),im='\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 });',rm='\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 });',am='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',um=function(){function n(){}return n.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 "+im)},n.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 '+rm+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+am)},n.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+im)},n.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 "+rm)},n.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 \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 });')},n.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 ")},n.ngModelWarning=function(n){console.warn("\n It looks like you're using ngModel on the same form field as "+n+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===n?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},n}();function sm(n,e){return Object(i.f)(e.path,[n])}function dm(n,e){n||hm(e,"Cannot find control with"),e.valueAccessor||hm(e,"No value accessor for form control with"),n.validator=Xh.compose([n.validator,e.validator]),n.asyncValidator=Xh.composeAsync([n.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(n.value),function(n,e){e.valueAccessor.registerOnChange((function(t){n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&cm(n,e)}))}(n,e),function(n,e){n.registerOnChange((function(n,t){e.valueAccessor.writeValue(n),t&&e.viewToModelUpdate(n)}))}(n,e),function(n,e){e.valueAccessor.registerOnTouched((function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&cm(n,e),"submit"!==n.updateOn&&n.markAsTouched()}))}(n,e),e.valueAccessor.setDisabledState&&n.registerOnDisabledChange((function(n){e.valueAccessor.setDisabledState(n)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return n.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return n.updateValueAndValidity()}))}))}function cm(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function pm(n,e){null==n&&hm(e,"Cannot find control with"),n.validator=Xh.compose([n.validator,e.validator]),n.asyncValidator=Xh.composeAsync([n.asyncValidator,e.asyncValidator])}function fm(n){return hm(n,"There is no FormControl instance attached to form control element with")}function hm(n,e){var t;throw t=n.path.length>1?"path: '"+n.path.join(" -> ")+"'":n.path[0]?"name: '"+n.path+"'":"unspecified name attribute",new Error(e+" "+t)}function mm(n){return null!=n?Xh.compose(n.map(Jh)):null}function vm(n){return null!=n?Xh.composeAsync(n.map(nm)):null}function gm(n,e){if(!n.hasOwnProperty("model"))return!1;var t=n.model;return!!t.isFirstChange()||!Object(o["ɵlooseIdentical"])(e,t.currentValue)}var bm=[qh,om,em,function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){this.value=n;var e=this._getOptionId(n);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var t=function(n,e){return null==n?""+e:(e&&"object"==typeof e&&(e="Object"),(n+": "+e).slice(0,50))}(e,n);this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){e.value=e._getOptionValue(t),n(e.value)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(){return(this._idCounter++).toString()},n.prototype._getOptionId=function(n){var e,t;try{for(var l=Object(i.g)(Array.from(this._optionMap.keys())),o=l.next();!o.done;o=l.next()){var r=o.value;if(this._compareWith(this._optionMap.get(r),n))return r}}catch(a){e={error:a}}finally{try{o&&!o.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e):n},n}(),function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){var e,t=this;if(this.value=n,Array.isArray(n)){var l=n.map((function(n){return t._getOptionId(n)}));e=function(n,e){n._setSelected(l.indexOf(e.toString())>-1)}}else e=function(n,e){n._setSelected(!1)};this._optionMap.forEach(e)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){var l=[];if(t.hasOwnProperty("selectedOptions"))for(var o=t.selectedOptions,i=0;i<o.length;i++){var r=o.item(i),a=e._getOptionValue(r.value);l.push(a)}else for(o=t.options,i=0;i<o.length;i++)(r=o.item(i)).selected&&(a=e._getOptionValue(r.value),l.push(a));e.value=l,n(l)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(n){var e=(this._idCounter++).toString();return this._optionMap.set(e,n),e},n.prototype._getOptionId=function(n){var e,t;try{for(var l=Object(i.g)(Array.from(this._optionMap.keys())),o=l.next();!o.done;o=l.next()){var r=o.value;if(this._compareWith(this._optionMap.get(r)._value,n))return r}}catch(a){e={error:a}}finally{try{o&&!o.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e)._value:n},n}(),lm];function _m(n,e){n._syncPendingControls(),e.forEach((function(n){var e=n.control;"submit"===e.updateOn&&e._pendingChange&&(n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function ym(n,e){if(!e)return null;Array.isArray(e)||hm(n,"Value accessor was not provided as an array for form control with");var t=void 0,l=void 0,o=void 0;return e.forEach((function(e){var i;e.constructor===jh?t=e:(i=e,bm.some((function(n){return i.constructor===n}))?(l&&hm(n,"More than one built-in value accessor matches form control with"),l=e):(o&&hm(n,"More than one custom value accessor matches form control with"),o=e))})),o||l||t||(hm(n,"No valid value accessor for form control with"),null)}function Cm(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}function wm(n){var e=xm(n)?n.validators:n;return Array.isArray(e)?mm(e):e||null}function Sm(n,e){var t=xm(e)?e.asyncValidators:n;return Array.isArray(t)?vm(t):t||null}function xm(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var km=function(){function n(n,e){this.validator=n,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),n.prototype.setValidators=function(n){this.validator=wm(n)},n.prototype.setAsyncValidators=function(n){this.asyncValidator=Sm(n)},n.prototype.clearValidators=function(){this.validator=null},n.prototype.clearAsyncValidators=function(){this.asyncValidator=null},n.prototype.markAsTouched=function(n){void 0===n&&(n={}),this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)},n.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(n){return n.markAllAsTouched()}))},n.prototype.markAsUntouched=function(n){void 0===n&&(n={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(n){n.markAsUntouched({onlySelf:!0})})),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype.markAsDirty=function(n){void 0===n&&(n={}),this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)},n.prototype.markAsPristine=function(n){void 0===n&&(n={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(n){n.markAsPristine({onlySelf:!0})})),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype.markAsPending=function(n){void 0===n&&(n={}),this.status="PENDING",!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)},n.prototype.disable=function(n){void 0===n&&(n={});var e=this._parentMarkedDirty(n.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object(i.a)({},n,{onlySelf:!0}))})),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(i.a)({},n,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(n){return n(!0)}))},n.prototype.enable=function(n){void 0===n&&(n={});var e=this._parentMarkedDirty(n.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object(i.a)({},n,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object(i.a)({},n,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(n){return n(!1)}))},n.prototype._updateAncestors=function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},n.prototype.setParent=function(n){this._parent=n},n.prototype.updateValueAndValidity=function(n){void 0===n&&(n={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)},n.prototype._updateTreeValidity=function(n){void 0===n&&(n={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(n)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})},n.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},n.prototype._runValidator=function(){return this.validator?this.validator(this):null},n.prototype._runAsyncValidator=function(n){var e=this;if(this.asyncValidator){this.status="PENDING";var t=$h(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe((function(t){return e.setErrors(t,{emitEvent:n})}))}},n.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},n.prototype.setErrors=function(n,e){void 0===e&&(e={}),this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)},n.prototype.get=function(n){return function(n,e,t){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(n,e){return n instanceof Tm?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Rm&&n.at(e)||null}),n))}(this,n)},n.prototype.getError=function(n,e){var t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null},n.prototype.hasError=function(n,e){return!!this.getError(n,e)},Object.defineProperty(n.prototype,"root",{get:function(){for(var n=this;n._parent;)n=n._parent;return n},enumerable:!0,configurable:!0}),n.prototype._updateControlsErrors=function(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)},n.prototype._initObservables=function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter},n.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},n.prototype._anyControlsHaveStatus=function(n){return this._anyControls((function(e){return e.status===n}))},n.prototype._anyControlsDirty=function(){return this._anyControls((function(n){return n.dirty}))},n.prototype._anyControlsTouched=function(){return this._anyControls((function(n){return n.touched}))},n.prototype._updatePristine=function(n){void 0===n&&(n={}),this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype._updateTouched=function(n){void 0===n&&(n={}),this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype._isBoxedValue=function(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n},n.prototype._registerOnCollectionChange=function(n){this._onCollectionChange=n},n.prototype._setUpdateStrategy=function(n){xm(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)},n.prototype._parentMarkedDirty=function(n){return!n&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},n}(),Em=function(n){function e(e,t,l){void 0===e&&(e=null);var o=n.call(this,wm(t),Sm(l,t))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(t),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(i.c)(e,n),e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(n){return n(t.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){void 0===e&&(e={}),this.setValue(n,e)},e.prototype.reset=function(n,e){void 0===n&&(n=null),void 0===e&&(e={}),this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(n){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(n){this._onChange.push(n)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(n){this._onDisabledChange.push(n)},e.prototype._forEachChild=function(n){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n},e}(km),Tm=function(n){function e(e,t,l){var o=n.call(this,wm(t),Sm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(i.c)(e,n),e.prototype.registerControl=function(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(n,e){this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),delete this.controls[n],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled},e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),Object.keys(n).forEach((function(l){t._throwIfControlMissing(l),t.controls[l].setValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),Object.keys(n).forEach((function(l){t.controls[l]&&t.controls[l].patchValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n={}),void 0===e&&(e={}),this._forEachChild((function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(n,e,t){return n[t]=e instanceof Em?e.value:e.getRawValue(),n}))},e.prototype._syncPendingControls=function(){var n=this._reduceChildren(!1,(function(n,e){return!!e._syncPendingControls()||n}));return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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[n])throw new Error("Cannot find form control with name: "+n+".")},e.prototype._forEachChild=function(n){var e=this;Object.keys(this.controls).forEach((function(t){return n(e.controls[t],t)}))},e.prototype._setUpControls=function(){var n=this;this._forEachChild((function(e){e.setParent(n),e._registerOnCollectionChange(n._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(n){var e=this,t=!1;return this._forEachChild((function(l,o){t=t||e.contains(o)&&n(l)})),t},e.prototype._reduceValue=function(){var n=this;return this._reduceChildren({},(function(e,t,l){return(t.enabled||n.disabled)&&(e[l]=t.value),e}))},e.prototype._reduceChildren=function(n,e){var t=n;return this._forEachChild((function(n,l){t=e(t,n,l)})),t},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=Object(i.g)(Object.keys(this.controls)),l=t.next();!l.done;l=t.next())if(this.controls[l.value].enabled)return!1}catch(o){n={error:o}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(n){this._forEachChild((function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control with name: '"+t+"'.")}))},e}(km),Rm=function(n){function e(e,t,l){var o=n.call(this,wm(t),Sm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(i.c)(e,n),e.prototype.at=function(n){return this.controls[n]},e.prototype.push=function(n){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(n,e){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),this.controls.splice(n,1),this.updateValueAndValidity()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),this.controls.splice(n,1),e&&(this.controls.splice(n,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(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),n.forEach((function(n,l){t._throwIfControlMissing(l),t.at(l).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),n.forEach((function(n,l){t.at(l)&&t.at(l).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n=[]),void 0===e&&(e={}),this._forEachChild((function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(n){return n instanceof Em?n.value:n.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(n){return n._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var n=this.controls.reduce((function(n,e){return!!e._syncPendingControls()||n}),!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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(n))throw new Error("Cannot find form control at index "+n)},e.prototype._forEachChild=function(n){this.controls.forEach((function(e,t){n(e,t)}))},e.prototype._updateValue=function(){var n=this;this.value=this.controls.filter((function(e){return e.enabled||n.disabled})).map((function(n){return n.value}))},e.prototype._anyControls=function(n){return this.controls.some((function(e){return e.enabled&&n(e)}))},e.prototype._setUpControls=function(){var n=this;this._forEachChild((function(e){return n._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(n){this._forEachChild((function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control at index: "+t+".")}))},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=Object(i.g)(this.controls),l=t.next();!l.done;l=t.next())if(l.value.enabled)return!1}catch(o){n={error:o}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)},e}(km),Im=function(){return Promise.resolve(null)}(),Dm=function(n){function e(e,t){var l=n.call(this)||this;return l.submitted=!1,l._directives=[],l.ngSubmit=new o.EventEmitter,l.form=new Tm({},mm(e),vm(t)),l}return Object(i.c)(e,n),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},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(n){var e=this;Im.then((function(){var t=e._findContainer(n.path);n.control=t.registerControl(n.name,n.control),dm(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(n)}))},e.prototype.getControl=function(n){return this.form.get(n.path)},e.prototype.removeControl=function(n){var e=this;Im.then((function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name),Cm(e._directives,n)}))},e.prototype.addFormGroup=function(n){var e=this;Im.then((function(){var t=e._findContainer(n.path),l=new Tm({});pm(l,n),t.registerControl(n.name,l),l.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(n){var e=this;Im.then((function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name)}))},e.prototype.getFormGroup=function(n){return this.form.get(n.path)},e.prototype.updateModel=function(n,e){var t=this;Im.then((function(){t.form.get(n.path).setValue(e)}))},e.prototype.setValue=function(n){this.control.setValue(n)},e.prototype.onSubmit=function(n){return this.submitted=!0,_m(this.form,this._directives),this.ngSubmit.emit(n),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(n){return n.pop(),n.length?this.form.get(n):this.form},e}(Bh),Fm=function(){function n(){}return n.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 '+im+'\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 \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},n.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 "+rm+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+am)},n.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}">')},n.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 "+rm+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+am)},n.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},n}(),Om=new o.InjectionToken("NgFormSelectorWarning"),Mm=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),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 sm(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 mm(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return vm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Bh),Nm=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}var t;return Object(i.c)(e,n),t=e,e.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof Dm||Fm.modelGroupParentException()},e}(Mm),Am=function(){return Promise.resolve(null)}(),Pm=function(n){function e(e,t,l,i){var r=n.call(this)||this;return r.control=new Em,r._registered=!1,r.update=new o.EventEmitter,r._parent=e,r._rawValidators=t||[],r._rawAsyncValidators=l||[],r.valueAccessor=ym(r,i),r}return Object(i.c)(e,n),e.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),gm(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?sm(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 mm(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return vm(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){dm(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 Nm)&&this._parent instanceof Mm?Fm.formGroupNameException():this._parent instanceof Nm||this._parent instanceof Dm||Fm.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Fm.missingNameException()},e.prototype._updateValue=function(n){var e=this;Am.then((function(){e.control.setValue(n,{emitViewToModelChange:!1})}))},e.prototype._updateDisabled=function(n){var e=this,t=n.isDisabled.currentValue,l=""===t||t&&"false"!==t;Am.then((function(){l&&!e.control.disabled?e.control.disable():!l&&e.control.disabled&&e.control.enable()}))},e}(Uh),qm=function(){return function(){}}(),Lm=new o.InjectionToken("NgModelWithFormControlWarning"),jm=function(n){function e(e,t){var l=n.call(this)||this;return l._validators=e,l._asyncValidators=t,l.submitted=!1,l.directives=[],l.form=null,l.ngSubmit=new o.EventEmitter,l}return Object(i.c)(e,n),e.prototype.ngOnChanges=function(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},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(n){var e=this.form.get(n.path);return dm(e,n),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),e},e.prototype.getControl=function(n){return this.form.get(n.path)},e.prototype.removeControl=function(n){Cm(this.directives,n)},e.prototype.addFormGroup=function(n){var e=this.form.get(n.path);pm(e,n),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(n){},e.prototype.getFormGroup=function(n){return this.form.get(n.path)},e.prototype.addFormArray=function(n){var e=this.form.get(n.path);pm(e,n),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(n){},e.prototype.getFormArray=function(n){return this.form.get(n.path)},e.prototype.updateModel=function(n,e){this.form.get(n.path).setValue(e)},e.prototype.onSubmit=function(n){return this.submitted=!0,_m(this.form,this.directives),this.ngSubmit.emit(n),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},e.prototype._updateDomValue=function(){var n=this;this.directives.forEach((function(e){var t=n.form.get(e.path);e.control!==t&&(function(n,e){e.valueAccessor.registerOnChange((function(){return fm(e)})),e.valueAccessor.registerOnTouched((function(){return fm(e)})),e._rawValidators.forEach((function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)})),n&&n._clearChangeFns()}(e.control,e),t&&dm(t,e),e.control=t)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var n=this;this.form._registerOnCollectionChange((function(){return n._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var n=mm(this._validators);this.form.validator=Xh.compose([this.form.validator,n]);var e=vm(this._asyncValidators);this.form.asyncValidator=Xh.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||um.missingFormException()},e}(Bh),Vm=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}return Object(i.c)(e,n),e.prototype._checkParentType=function(){Hm(this._parent)&&um.groupParentException()},e}(Mm),Bm=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}return Object(i.c)(e,n),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 sm(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return mm(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return vm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){Hm(this._parent)&&um.arrayParentException()},e}(Bh);function Hm(n){return!(n instanceof Vm||n instanceof jm||n instanceof Bm)}var Um=function(n){function e(e,t,l,i,r){var a=n.call(this)||this;return a._ngModelWarningConfig=r,a._added=!1,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._parent=e,a._rawValidators=t||[],a._rawAsyncValidators=l||[],a.valueAccessor=ym(a,i),a}var t;return Object(i.c)(e,n),t=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(n){um.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(n){var e,l;this._added||this._setUpControl(),gm(n,this.viewModel)&&("formControlName",e=t,this,l=this._ngModelWarningConfig,Object(o.isDevMode)()&&"never"!==l&&((null!==l&&"once"!==l||e._ngModelWarningSentOnce)&&("always"!==l||this._ngModelWarningSent)||(um.ngModelWarning("formControlName"),e._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},Object.defineProperty(e.prototype,"path",{get:function(){return sm(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 mm(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return vm(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Vm)&&this._parent instanceof Mm?um.ngModelGroupException():this._parent instanceof Vm||this._parent instanceof jm||this._parent instanceof Bm||um.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._ngModelWarningSentOnce=!1,e}(Uh),zm=function(){return function(){}}(),Gm=function(){function n(){}return n.prototype.group=function(n,e){void 0===e&&(e=null);var t=this._reduceControls(n),l=null,o=null,i=void 0;return null!=e&&(function(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(e)?(l=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(l=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new Tm(t,{asyncValidators:o,updateOn:i,validators:l})},n.prototype.control=function(n,e,t){return new Em(n,e,t)},n.prototype.array=function(n,e,t){var l=this,o=n.map((function(n){return l._createControl(n)}));return new Rm(o,e,t)},n.prototype._reduceControls=function(n){var e=this,t={};return Object.keys(n).forEach((function(l){t[l]=e._createControl(n[l])})),t},n.prototype._createControl=function(n){return n instanceof Em||n instanceof Tm||n instanceof Rm?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)},n}(),Wm=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Om,useValue:n.warnOnDeprecatedNgFormSelector}]}},n}(),Zm=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Lm,useValue:n.warnOnNgModelWithFormControl}]}},n}(),Km=function(){function n(n,e,t,l,o){this.dialogRef=n,this.electronService=e,this.serverService=t,this.toasterService=l,this.data=o,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.locations=[],this.serverForm=new Tm({name:new Em("",[Xh.required]),location:new Em(""),path:new Em(""),ubridge_path:new Em(""),host:new Em("",[Xh.required]),port:new Em("",[Xh.required,Xh.min(1)]),authorization:new Em("none"),login:new Em(""),password:new Em("")})}return n.prototype.getLocations=function(){return i.b(this,void 0,void 0,(function(){var n,e;return i.d(this,(function(t){switch(t.label){case 0:return[4,this.numberOfLocalServers()];case 1:return n=t.sent(),e=[],this.electronService.isElectronApp&&0===n&&e.push({key:"local",name:"Local"}),e.push({key:"remote",name:"Remote"}),[2,e]}}))}))},n.prototype.getDefaultLocation=function(){return i.b(this,void 0,void 0,(function(){var n;return i.d(this,(function(e){switch(e.label){case 0:return[4,this.numberOfLocalServers()];case 1:return n=e.sent(),this.electronService.isElectronApp&&0===n?[2,"local"]:[2,"remote"]}}))}))},n.prototype.numberOfLocalServers=function(){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(n){switch(n.label){case 0:return[4,this.serverService.findAll()];case 1:return[2,n.sent().filter((function(n){return"local"===n.location})).length]}}))}))},n.prototype.getDefaultHost=function(){return"127.0.0.1"},n.prototype.getDefaultPort=function(){return 3080},n.prototype.getDefaultLocalServerPath=function(){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(n){switch(n.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getLocalServerPath()]:[3,2];case 1:return[2,n.sent()];case 2:return[2]}}))}))},n.prototype.getDefaultUbridgePath=function(){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(n){switch(n.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getUbridgePath()]:[3,2];case 1:return[2,n.sent()];case 2:return[2]}}))}))},n.prototype.ngOnInit=function(){return i.b(this,void 0,void 0,(function(){var n,e,t,l,o=this;return i.d(this,(function(i){switch(i.label){case 0:return n=this,[4,this.getLocations()];case 1:return n.locations=i.sent(),[4,this.getDefaultLocalServerPath()];case 2:return e=i.sent(),[4,this.getDefaultUbridgePath()];case 3:return t=i.sent(),this.serverForm.get("location").valueChanges.subscribe((function(n){var l=o.serverForm.get("path"),i=o.serverForm.get("ubridge_path");"local"===n?(l.setValue(e),l.setValidators([Xh.required]),i.setValue(t),i.setValidators([Xh.required])):(l.setValue(""),l.clearValidators(),i.setValue(""),i.clearValidators()),[l,i].forEach((function(n){n.updateValueAndValidity({onlySelf:!0})}))})),this.serverForm.get("authorization").valueChanges.subscribe((function(n){var e=o.serverForm.get("login"),t=o.serverForm.get("password");"none"===n?(e.clearValidators(),t.clearValidators()):(e.setValidators([Xh.required]),t.setValidators([Xh.required])),[e,t].forEach((function(n){n.updateValueAndValidity({onlySelf:!0})}))})),[4,this.getDefaultLocation()];case 4:return l=i.sent(),this.serverForm.get("location").setValue(l),this.serverForm.get("host").setValue(this.getDefaultHost()),this.serverForm.get("port").setValue(this.getDefaultPort()),this.serverForm.get("authorization").setValue("none"),[2]}}))}))},n.prototype.onAddClick=function(){var n=this;if(this.serverForm.valid){var e=Object.assign({},this.serverForm.value);this.serverService.checkServerVersion(e).subscribe((function(t){t.version.split(".")[1]>=2&&t.version.split(".")[0]>=2?(n.dialogRef.close(e),n.toasterService.success("Server "+e.name+" added.")):(n.dialogRef.close(),n.toasterService.error("Server version is not supported."))}),(function(e){n.toasterService.error("Cannot connect to the server: "+e)}))}},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),Xm=function(){function n(n,e){this.bottomSheetRef=n,this.themeService=e,this.message="",this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.onNoClick=function(){this.bottomSheetRef.dismiss(!1)},n.prototype.onYesClick=function(){this.bottomSheetRef.dismiss(!0)},n}(),Ym=function(){function n(n,e,t,l,o,i,r,a){this.dialog=n,this.serverService=e,this.serverDatabase=t,this.serverManagement=l,this.changeDetector=o,this.electronService=i,this.childProcessService=r,this.bottomSheet=a,this.displayedColumns=["id","name","location","ip","port","actions"],this.isElectronApp=!1}return n.prototype.ngOnInit=function(){var n=this;this.isElectronApp=this.electronService.isElectronApp;var e=this.serverManagement.getRunningServers();this.serverService.findAll().then((function(t){t.forEach((function(n){e.findIndex((function(e){return n.name===e}))>=0&&(n.status="running")})),t.forEach((function(e){n.serverService.checkServerVersion(e).subscribe((function(t){t.version.split(".")[1]>=2&&t.version.split(".")[0]>=2&&(n.serverDatabase.find(e.name)||n.serverDatabase.addServer(e))}),(function(n){}))}))})),this.dataSource=new $m(this.serverDatabase),this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe((function(e){var t=n.serverDatabase.find(e.serverName);t&&("starting"===e.status&&(t.status="starting"),"stopped"===e.status&&(t.status="stopped"),"errored"===e.status&&(t.status="stopped"),"started"===e.status&&(t.status="running"),n.serverDatabase.update(t),n.changeDetector.detectChanges())}))},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n.prototype.startLocalServer=function(){var n=this.serverDatabase.data.find((function(n){return"bundled"===n.location||"local"}));this.startServer(n)},n.prototype.createModal=function(){var n=this;this.dialog.open(Km,{width:"350px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){e&&n.serverService.create(e).then((function(e){n.serverDatabase.addServer(e)}))}))},n.prototype.getServerStatus=function(n){if("local"===n.location)return void 0===n.status?"stopped":n.status},n.prototype.deleteServer=function(n){var e=this;this.bottomSheet.open(Xm);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to delete the server?",t.afterDismissed().subscribe((function(t){t&&e.serverService.delete(n).then((function(){e.serverDatabase.remove(n)}))}))},n.prototype.startServer=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return[4,this.serverManagement.start(n)];case 1:return e.sent(),[2]}}))}))},n.prototype.stopServer=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return[4,this.serverManagement.stop(n)];case 1:return e.sent(),[2]}}))}))},n}(),$m=function(n){function e(e){var t=n.call(this)||this;return t.serverDatabase=e,t}return i.c(e,n),e.prototype.connect=function(){var n=this;return Object(ys.a)(this.serverDatabase.dataChange).pipe(Object(An.a)((function(){return n.serverDatabase.data})))},e.prototype.disconnect=function(){},e}(Ds),Qm=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function Jm(){throw Error("Attempting to attach dialog content after content is already attached")}var nv=function(n){function e(e,t,l,i,r){var a=n.call(this)||this;return a._elementRef=e,a._focusTrapFactory=t,a._changeDetectorRef=l,a._document=i,a._config=r,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new o.EventEmitter,a._ariaLabelledBy=r.ariaLabelledBy||null,a}return Object(i.c)(e,n),e.prototype.attachComponentPortal=function(n){return this._portalOutlet.hasAttached()&&Jm(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._portalOutlet.hasAttached()&&Jm(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},e.prototype._trapFocus=function(){var n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=this._document.activeElement;e===n||n.contains(e)||n.focus()}},e.prototype._restoreFocus=function(){var n=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&n&&"function"==typeof n.focus&&n.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var n=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return n._elementRef.nativeElement.focus()})))},e.prototype._onAnimationDone=function(n){"enter"===n.toState?this._trapFocus():"exit"===n.toState&&this._restoreFocus(),this._animationStateChanged.emit(n)},e.prototype._onAnimationStart=function(n){this._animationStateChanged.emit(n)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(hs),ev=0,tv=function(){function n(n,e,t,l){var o=this;void 0===l&&(l="mat-dialog-"+ev++),this._overlayRef=n,this._containerInstance=e,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Mn.b,this._afterClosed=new Mn.b,this._beforeClosed=new Mn.b,this._state=0,e._id=l,e._animationStateChanged.pipe(Object(Wn.a)((function(n){return"done"===n.phaseName&&"enter"===n.toState})),Object(Un.a)(1)).subscribe((function(){o._afterOpened.next(),o._afterOpened.complete()})),e._animationStateChanged.pipe(Object(Wn.a)((function(n){return"done"===n.phaseName&&"exit"===n.toState})),Object(Un.a)(1)).subscribe((function(){clearTimeout(o._closeFallbackTimeout),o._overlayRef.dispose()})),n.detachments().subscribe((function(){o._beforeClosed.next(o._result),o._beforeClosed.complete(),o._afterClosed.next(o._result),o._afterClosed.complete(),o.componentInstance=null,o._overlayRef.dispose()})),n.keydownEvents().pipe(Object(Wn.a)((function(n){return n.keyCode===po&&!o.disableClose&&!fo(n)}))).subscribe((function(n){n.preventDefault(),o.close()}))}return n.prototype.close=function(n){var e=this;this._result=n,this._containerInstance._animationStateChanged.pipe(Object(Wn.a)((function(n){return"start"===n.phaseName})),Object(Un.a)(1)).subscribe((function(t){e._beforeClosed.next(n),e._beforeClosed.complete(),e._state=2,e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){e._overlayRef.dispose()}),t.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1},n.prototype.afterOpened=function(){return this._afterOpened.asObservable()},n.prototype.afterClosed=function(){return this._afterClosed.asObservable()},n.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},n.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},n.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},n.prototype.updatePosition=function(n){var e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},n.prototype.updateSize=function(n,e){return void 0===n&&(n=""),void 0===e&&(e=""),this._getPositionStrategy().width(n).height(e),this._overlayRef.updatePosition(),this},n.prototype.addPanelClass=function(n){return this._overlayRef.addPanelClass(n),this},n.prototype.removePanelClass=function(n){return this._overlayRef.removePanelClass(n),this},n.prototype.afterOpen=function(){return this.afterOpened()},n.prototype.beforeClose=function(){return this.beforeClosed()},n.prototype.getState=function(){return this._state},n.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},n}(),lv=new o.InjectionToken("MatDialogData"),ov=new o.InjectionToken("mat-dialog-default-options"),iv=new o.InjectionToken("mat-dialog-scroll-strategy");function rv(n){return function(){return n.scrollStrategies.block()}}var av=function(){function n(n,e,t,l,o,i,r){var a=this;this._overlay=n,this._injector=e,this._location=t,this._defaultOptions=l,this._parentDialog=i,this._overlayContainer=r,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Mn.b,this._afterOpenedAtThisLevel=new Mn.b,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(On.a)((function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Object(zn.a)(void 0))})),this._scrollStrategy=o}return Object.defineProperty(n.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_afterAllClosed",{get:function(){var n=this._parentDialog;return n?n._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),n.prototype.open=function(n,e){var t=this;if((e=function(n,e){return Object(i.a)({},e,n)}(e,this._defaultOptions||new Qm)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var l=this._createOverlay(e),o=this._attachDialogContainer(l,e),r=this._attachDialogContent(n,o,l,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe((function(){return t._removeOpenDialog(r)})),this.afterOpened.next(r),r},n.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},n.prototype.getDialogById=function(n){return this.openDialogs.find((function(e){return e.id===n}))},n.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},n.prototype._createOverlay=function(n){var e=this._getOverlayConfig(n);return this._overlay.create(e)},n.prototype._getOverlayConfig=function(n){var e=new Gs({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(e.backdropClass=n.backdropClass),e},n.prototype._attachDialogContainer=function(n,e){var t=new _s(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[Qm,e]])),l=new ps(nv,e.viewContainerRef,t,e.componentFactoryResolver);return n.attach(l).instance},n.prototype._attachDialogContent=function(n,e,t,l){var i=new tv(t,e,this._location,l.id);if(l.hasBackdrop&&t.backdropClick().subscribe((function(){i.disableClose||i.close()})),n instanceof o.TemplateRef)e.attachTemplatePortal(new fs(n,null,{$implicit:l.data,dialogRef:i}));else{var r=this._createInjector(l,i,e),a=e.attachComponentPortal(new ps(n,void 0,r));i.componentInstance=a.instance}return i.updateSize(l.width,l.height).updatePosition(l.position),i},n.prototype._createInjector=function(n,e,t){var l=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=new WeakMap([[nv,t],[lv,n.data],[tv,e]]);return!n.direction||l&&l.get(ki,null)||o.set(ki,{value:n.direction,change:Object(En.a)()}),new _s(l||this._injector,o)},n.prototype._removeOpenDialog=function(n){var e=this.openDialogs.indexOf(n);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(n,e){n?e.setAttribute("aria-hidden",n):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},n.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var e=n.parentElement.children,t=e.length-1;t>-1;t--){var l=e[t];l===n||"SCRIPT"===l.nodeName||"STYLE"===l.nodeName||l.hasAttribute("aria-live")||(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}},n.prototype._closeDialogs=function(n){for(var e=n.length;e--;)n[e].close()},n}(),uv=0,sv=function(){function n(n,e,t){this._dialogRef=n,this._elementRef=e,this._dialog=t,this.id="mat-dialog-title-"+uv++}return n.prototype.ngOnInit=function(){var n=this;this._dialogRef||(this._dialogRef=function(n,e){for(var t=n.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?e.find((function(n){return n.id===t.id})):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=n._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=n.id)}))},n}(),dv=function(){return function(){}}(),cv=function(){return function(){}}(),pv=function(){return function(){}}(),fv=function(){function n(){}return Object.defineProperty(n.prototype,"child_process",{get:function(){return this._child_process||(this._child_process=window.require?window.require("child_process"):null),this._child_process},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isElectronApp",{get:function(){return!!window.navigator.userAgent.match(/Electron/)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"childProcess",{get:function(){return this.child_process?this.child_process:null},enumerable:!0,configurable:!0}),n}(),hv=new o.InjectionToken("MatBottomSheetData"),mv=function(){return function(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}(),vv=function(n){function e(e,t,l,i,r,a){var u=n.call(this)||this;return u._elementRef=e,u._changeDetectorRef=t,u._focusTrapFactory=l,u.bottomSheetConfig=a,u._animationState="void",u._animationStateChanged=new o.EventEmitter,u._elementFocusedBeforeOpened=null,u._document=r,u._breakpointSubscription=i.observe([Gd.Medium,Gd.Large,Gd.XLarge]).subscribe((function(){u._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(Gd.Medium)),u._toggleClass("mat-bottom-sheet-container-large",i.isMatched(Gd.Large)),u._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(Gd.XLarge))})),u}return Object(i.c)(e,n),e.prototype.attachComponentPortal=function(n){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())},e.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0},e.prototype._onAnimationDone=function(n){"hidden"===n.toState?this._restoreFocus():"visible"===n.toState&&this._trapFocus(),this._animationStateChanged.emit(n)},e.prototype._onAnimationStart=function(n){this._animationStateChanged.emit(n)},e.prototype._toggleClass=function(n,e){var t=this._elementRef.nativeElement.classList;e?t.add(n):t.remove(n)},e.prototype._validatePortalAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")},e.prototype._setPanelClass=function(){var n=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach((function(e){return n.classList.add(e)})):e&&n.classList.add(e)},e.prototype._trapFocus=function(){var n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=this._document.activeElement;e===n||n.contains(e)||n.focus()}},e.prototype._restoreFocus=function(){var n=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&n&&"function"==typeof n.focus&&n.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var n=this;this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return n._elementRef.nativeElement.focus()}))},e}(hs),gv=function(){return function(){}}(),bv=function(){function n(n,e,t){var l=this;this._overlayRef=e,this._afterDismissed=new Mn.b,this._afterOpened=new Mn.b,this.containerInstance=n,this.disableClose=n.bottomSheetConfig.disableClose,n._animationStateChanged.pipe(Object(Wn.a)((function(n){return"done"===n.phaseName&&"visible"===n.toState})),Object(Un.a)(1)).subscribe((function(){l._afterOpened.next(),l._afterOpened.complete()})),n._animationStateChanged.pipe(Object(Wn.a)((function(n){return"done"===n.phaseName&&"hidden"===n.toState})),Object(Un.a)(1)).subscribe((function(){clearTimeout(l._closeFallbackTimeout),e.dispose()})),e.detachments().pipe(Object(Un.a)(1)).subscribe((function(){l._afterDismissed.next(l._result),l._afterDismissed.complete()})),Object(ys.a)(e.backdropClick(),e.keydownEvents().pipe(Object(Wn.a)((function(n){return n.keyCode===po})))).subscribe((function(n){l.disableClose||"keydown"===n.type&&fo(n)||(n.preventDefault(),l.dismiss())}))}return n.prototype.dismiss=function(n){var e=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(Object(Wn.a)((function(n){return"start"===n.phaseName})),Object(Un.a)(1)).subscribe((function(n){e._closeFallbackTimeout=setTimeout((function(){e._overlayRef.dispose()}),n.totalTime+100),e._overlayRef.detachBackdrop()})),this._result=n,this.containerInstance.exit())},n.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},n.prototype.afterOpened=function(){return this._afterOpened.asObservable()},n.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},n.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},n}(),_v=new o.InjectionToken("mat-bottom-sheet-default-options"),yv=function(){function n(n,e,t,l,o){this._overlay=n,this._injector=e,this._parentBottomSheet=t,this._location=l,this._defaultOptions=o,this._bottomSheetRefAtThisLevel=null}return Object.defineProperty(n.prototype,"_openedBottomSheetRef",{get:function(){var n=this._parentBottomSheet;return n?n._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(n){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=n:this._bottomSheetRefAtThisLevel=n},enumerable:!0,configurable:!0}),n.prototype.open=function(n,e){var t=this,l=function(n,e){return Object(i.a)({},n,e)}(this._defaultOptions||new mv,e),r=this._createOverlay(l),a=this._attachContainer(r,l),u=new bv(a,r,this._location);if(n instanceof o.TemplateRef)a.attachTemplatePortal(new fs(n,null,{$implicit:l.data,bottomSheetRef:u}));else{var s=new ps(n,void 0,this._createInjector(l,u)),d=a.attachComponentPortal(s);u.instance=d.instance}return u.afterDismissed().subscribe((function(){t._openedBottomSheetRef==u&&(t._openedBottomSheetRef=null)})),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe((function(){return u.containerInstance.enter()})),this._openedBottomSheetRef.dismiss()):u.containerInstance.enter(),this._openedBottomSheetRef=u,u},n.prototype.dismiss=function(){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss()},n.prototype.ngOnDestroy=function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()},n.prototype._attachContainer=function(n,e){var t=new _s(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[mv,e]])),l=new ps(vv,e.viewContainerRef,t);return n.attach(l).instance},n.prototype._createOverlay=function(n){var e=new Gs({direction:n.direction,hasBackdrop:n.hasBackdrop,disposeOnNavigation:n.closeOnNavigation,maxWidth:"100%",scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return n.backdropClass&&(e.backdropClass=n.backdropClass),this._overlay.create(e)},n.prototype._createInjector=function(n,e){var t=n&&n.viewContainerRef&&n.viewContainerRef.injector,l=new WeakMap([[bv,e],[hv,n.data]]);return!n.direction||t&&t.get(ki,null)||l.set(ki,{value:n.direction,change:Object(En.a)()}),new _s(t||this._injector,l)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(id),Object(o["ɵɵinject"])(o.INJECTOR),Object(o["ɵɵinject"])(n,12),Object(o["ɵɵinject"])(r.Location,8),Object(o["ɵɵinject"])(_v,8))},token:n,providedIn:gv}),n}(),Cv=o["ɵcrt"]({encapsulation:0,styles:[[".buttons-bar[_ngcontent-%COMP%]{padding-top:0}.button[_ngcontent-%COMP%]{margin:20px!important}"]],data:{}});function wv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" ID "]))],null,null)}function Sv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.id)}))}function xv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Name "]))],null,null)}function kv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"a",[["class","table-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l}),null,null)),o["ɵdid"](1,671744,null,0,bl,[vl,rt,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["ɵpad"](2,3),(n()(),o["ɵted"](3,null,["",""]))],(function(n,e){var t=n(e,2,0,"/server",e.parent.context.$implicit.id,"projects");n(e,1,0,t)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).target,o["ɵnov"](e,1).href),n(e,3,0,e.parent.context.$implicit.name)}))}function Ev(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.parent.context.$implicit.name)}))}function Tv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,kv)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ev)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0,"running"===t.getServerStatus(e.context.$implicit)||"remote"===e.context.$implicit.location||"bundled"===e.context.$implicit.location),n(e,5,0,"running"!=t.getServerStatus(e.context.$implicit)&&"remote"!==e.context.$implicit.location&&"bundled"!==e.context.$implicit.location)}),null)}function Rv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Location "]))],null,null)}function Iv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.location)}))}function Dv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Host "]))],null,null)}function Fv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.host)}))}function Ov(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port "]))],null,null)}function Mv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.port)}))}function Nv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function Av(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.startServer(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["aria-label","Start server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["play_arrow"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function Pv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.stopServer(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["aria-label","Stop server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["stop"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function qv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Pd,Md)),o["ɵdid"](1,114688,null,0,Fd,[o.ElementRef,io,[2,r.DOCUMENT],[2,nu],Dd],{diameter:[0,"diameter"]},null)],(function(n,e){n(e,1,0,24)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._noopAnimations,o["ɵnov"](e,1).diameter,o["ɵnov"](e,1).diameter)}))}function Lv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,Av)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Pv)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,qv)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](8,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.deleteServer(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](10,0,null,0,2,"mat-icon",[["aria-label","Remove server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](11,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){var t=e.component;n(e,3,0,"local"===e.context.$implicit.location&&"stopped"===t.getServerStatus(e.context.$implicit)),n(e,5,0,"local"===e.context.$implicit.location&&"running"===t.getServerStatus(e.context.$implicit)),n(e,7,0,"local"===e.context.$implicit.location&&"starting"===t.getServerStatus(e.context.$implicit)),n(e,11,0)}),(function(n,e){n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode),n(e,10,0,o["ɵnov"](e,11).inline,"primary"!==o["ɵnov"](e,11).color&&"accent"!==o["ɵnov"](e,11).color&&"warn"!==o["ɵnov"](e,11).color)}))}function jv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function Vv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function Bv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"button",[["class","button"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.startLocalServer()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Start local server"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}function Hv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,104,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Servers"])),(n()(),o["ɵeld"](4,0,null,null,100,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,1,"app-server-discovery",[],null,null,null,Ah,Oh)),o["ɵdid"](6,114688,null,0,Rh,[Ih,Dh,Fh],null,null),(n()(),o["ɵeld"](7,0,null,null,91,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,90,"mat-table",[["class","mat-table"]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](10,2342912,[["table",4]],4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](15,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](17,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,wv)),o["ɵdid"](23,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Sv)),o["ɵdid"](26,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](28,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](30,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,xv)),o["ɵdid"](36,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Tv)),o["ɵdid"](39,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](41,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](43,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Rv)),o["ɵdid"](49,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Iv)),o["ɵdid"](52,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵeld"](54,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](56,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,14,{cell:0}),o["ɵqud"](603979776,15,{headerCell:0}),o["ɵqud"](603979776,16,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Dv)),o["ɵdid"](62,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[15,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Fv)),o["ɵdid"](65,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[14,4]],Cc,null,[zc]),(n()(),o["ɵeld"](67,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](69,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,17,{cell:0}),o["ɵqud"](603979776,18,{headerCell:0}),o["ɵqud"](603979776,19,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Ov)),o["ɵdid"](75,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Mv)),o["ɵdid"](78,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[17,4]],Cc,null,[zc]),(n()(),o["ɵeld"](80,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](82,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,20,{cell:0}),o["ɵqud"](603979776,21,{headerCell:0}),o["ɵqud"](603979776,22,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Nv)),o["ɵdid"](88,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[21,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Lv)),o["ɵdid"](91,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[20,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,jv)),o["ɵdid"](94,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,Vv)),o["ɵdid"](97,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc]),(n()(),o["ɵeld"](99,0,null,null,5,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Bv)),o["ɵdid"](101,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](102,0,null,null,2,"button",[["class","button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.createModal()&&l),l}),ou,lu)),o["ɵdid"](103,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add server"]))],(function(n,e){var t=e.component;n(e,6,0),n(e,10,0,t.dataSource),n(e,17,0,"id"),n(e,30,0,"name"),n(e,43,0,"location"),n(e,56,0,"ip"),n(e,69,0,"port"),n(e,82,0,"actions"),n(e,94,0,t.displayedColumns),n(e,97,0,t.displayedColumns),n(e,101,0,t.isElectronApp),n(e,103,0,"primary")}),(function(n,e){n(e,102,0,o["ɵnov"](e,103).disabled||null,"NoopAnimations"===o["ɵnov"](e,103)._animationMode)}))}function Uv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-server-list",[],null,null,null,Hv,Cv)),o["ɵdid"](1,245760,null,0,Ym,[av,Dh,Fh,fc,o.ChangeDetectorRef,sc,fv,yv],null,null)],(function(n,e){n(e,1,0)}),null)}var zv=o["ɵccf"]("app-server-list",Ym,Uv,{},{},[]),Gv=function(){function n(n,e,t,l){this.router=n,this.serverService=e,this.progressService=t,this.document=l}return n.prototype.ngOnInit=function(){var n=this;this.progressService.activate(),setTimeout((function(){var e=parseInt(n.document.location.port,10)?parseInt(n.document.location.port,10):80;n.serverService.getLocalServer(n.document.location.hostname,e).then((function(e){n.progressService.deactivate(),n.router.navigate(["/server",e.id,"projects"])}))}),100)},n}(),Wv=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Zv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-progress",[],null,null,null,ac,lc)),o["ɵdid"](1,245760,null,0,nc,[tc,vl],null,null)],(function(n,e){n(e,1,0)}),null)}function Kv(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-bundled-server-finder",[],null,null,null,Zv,Wv)),o["ɵdid"](1,114688,null,0,Gv,[vl,Dh,tc,r.DOCUMENT],null,null)],(function(n,e){n(e,1,0)}),null)}var Xv=o["ɵccf"]("app-bundled-server-finder",Gv,Kv,{},{},[]),Yv=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.sortables=new Map,e._stateChanges=new Mn.b,e.start="asc",e._direction="",e.sortChange=new o.EventEmitter,e}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(n){if(Object(o.isDevMode)()&&n&&"asc"!==n&&"desc"!==n)throw function(n){return Error(n+" is not a valid sort direction ('asc' or 'desc').")}(n);this._direction=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=$l(n)},enumerable:!0,configurable:!0}),e.prototype.register=function(n){if(!n.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(n.id))throw Error("Cannot have two MatSortables with the same id ("+n.id+").");this.sortables.set(n.id,n)},e.prototype.deregister=function(n){this.sortables.delete(n.id)},e.prototype.sort=function(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})},e.prototype.getNextSortDirection=function(n){if(!n)return"";var e,t,l=(e=null!=n.disableClear?n.disableClear:this.disableClear,t=["asc","desc"],"desc"==(n.start||this.start)&&t.reverse(),e||t.push(""),t),o=l.indexOf(this.direction)+1;return o>=l.length&&(o=0),l[o]},e.prototype.ngOnInit=function(){this._markInitialized()},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(Go(Vo(function(){return function(){}}()))),$v=function(){function n(){this.changes=new Mn.b,this.sortButtonLabel=function(n){return"Change sorting for "+n}}return n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}();function Qv(n){return n||new $v}var Jv=function(n){function e(e,t,l,o){var i=n.call(this)||this;if(i._intl=e,i._sort=l,i._columnDef=o,i._showIndicatorHint=!1,i._arrowDirection="",i._disableViewStateAnimation=!1,i.arrowPosition="after",!l)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return i._rerenderSubscription=Object(ys.a)(l.sortChange,l._stateChanges,e.changes).subscribe((function(){i._isSorted()&&i._updateArrowDirection(),!i._isSorted()&&i._viewState&&"active"===i._viewState.toState&&(i._disableViewStateAnimation=!1,i._setAnimationTransitionState({fromState:"active",toState:i._arrowDirection})),t.markForCheck()})),i}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=$l(n)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},e.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},e.prototype._setIndicatorHintVisible=function(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))},e.prototype._setAnimationTransitionState=function(n){this._viewState=n,this._disableViewStateAnimation&&(this._viewState={toState:n.toState})},e.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var n=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(n),this._showIndicatorHint=!1}},e.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},e.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},e.prototype._getArrowViewState=function(){var n=this._viewState.fromState;return(n?n+"-to-":"")+this._viewState.toState},e.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},e.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},e.prototype._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null},e.prototype._renderArrow=function(){return!this._isDisabled()||this._isSorted()},e}(Vo(function(){return function(){}}())),ng=function(){return function(){}}(),eg=o["ɵcrt"]({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function tg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],(function(n,e,t){var l=!0,o=n.component;return"@arrowPosition.start"===e&&(l=0!=(o._disableViewStateAnimation=!0)&&l),"@arrowPosition.done"===e&&(l=0!=(o._disableViewStateAnimation=!1)&&l),l}),null,null)),(n()(),o["ɵeld"](1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t._getArrowViewState(),t._getArrowViewState(),t._getArrowDirectionState()),n(e,2,0,t._getArrowDirectionState()),n(e,3,0,t._getArrowDirectionState()),n(e,4,0,t._getArrowDirectionState())}))}function lg(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,o=n.component;return"focus"===e&&(l=!1!==o._setIndicatorHintVisible(!0)&&l),"blur"===e&&(l=!1!==o._setIndicatorHintVisible(!1)&&l),l}),null,null)),o["ɵncd"](null,0),(n()(),o["ɵand"](16777216,null,null,1,null,tg)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,4,0,e.component._renderArrow())}),(function(n,e){var t=e.component;n(e,0,0,t._isSorted(),"before"==t.arrowPosition),n(e,1,0,t._isDisabled()||null,t._intl.sortButtonLabel(t.id))}))}var og=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.projectDatabase.data.filter((function(n){return n.filename.toLowerCase().includes(e)}))):n:[]},n}(),ig=0,rg=function(){return function(){this.id="mat-error-"+ig++}}(),ag=function(){return function(){}}();function ug(n){return Error("A hint was already declared for 'align=\""+n+"\"'.")}var sg=function(){return function(){}}(),dg=function(){return function(){}}(),cg=0,pg=Bo(function(){return function(n){this._elementRef=n}}(),"primary"),fg=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),hg=function(n){function e(e,t,l,o,i,r,a,u){var s=n.call(this,e)||this;return s._elementRef=e,s._changeDetectorRef=t,s._dir=o,s._defaults=i,s._platform=r,s._ngZone=a,s._outlineGapCalculationNeededImmediately=!1,s._outlineGapCalculationNeededOnStable=!1,s._destroyed=new Mn.b,s._showAlwaysAnimate=!1,s._subscriptAnimationState="",s._hintLabel="",s._hintLabelId="mat-hint-"+cg++,s._labelId="mat-form-field-label-"+cg++,s._previousDirection="ltr",s._labelOptions=l||{},s.floatLabel=s._labelOptions.float||"auto",s._animationsEnabled="NoopAnimations"!==u,s.appearance=i&&i.appearance?i.appearance:"legacy",s._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker,s}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(n){var e=this._appearance;this._appearance=n||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==n&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(n){this._hideRequiredMarker=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(n){this._hintLabel=n,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(n){n!==this._floatLabel&&(this._floatLabel=n||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(n){this._explicitFormFieldControl=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var n=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(zn.a)(null)).subscribe((function(){n._validatePlaceholders(),n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(ws.a)(this._destroyed)).subscribe((function(){return n._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){n._ngZone.onStable.asObservable().pipe(Object(ws.a)(n._destroyed)).subscribe((function(){n._outlineGapCalculationNeededOnStable&&n.updateOutlineGap()}))})),Object(ys.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){n._outlineGapCalculationNeededOnStable=!0,n._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(zn.a)(null)).subscribe((function(){n._processHints(),n._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(zn.a)(null)).subscribe((function(){n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(ws.a)(this._destroyed)).subscribe((function(){n.updateOutlineGap(),n._previousDirection=n._dir.value}))},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(n){var e=this._control?this._control.ngControl:null;return e&&e[n]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var n=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(xs.a)(this._label.nativeElement,"transitionend").pipe(Object(Un.a)(1)).subscribe((function(){n._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var n,e,t=this;this._hintChildren&&this._hintChildren.forEach((function(l){if("start"===l.align){if(n||t.hintLabel)throw ug("start");n=l}else if("end"===l.align){if(e)throw ug("end");e=l}}))},e.prototype._syncDescribedByIds=function(){if(this._control){var n=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(n){return"start"===n.align})):null,t=this._hintChildren?this._hintChildren.find((function(n){return"end"===n.align})):null;e?n.push(e.id):this._hintLabel&&n.push(this._hintLabelId),t&&n.push(t.id)}else this._errorChildren&&(n=this._errorChildren.map((function(n){return n.id})));this._control.setDescribedByIds(n)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,t=0,l=this._connectionContainerRef.nativeElement,o=l.querySelectorAll(".mat-form-field-outline-start"),i=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var r=l.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(r),u=this._getStartEnd(n.children[0].getBoundingClientRect()),s=0,d=0,c=n.children;d<c.length;d++)s+=c[d].offsetWidth;e=u-a-5,t=s>0?.75*s+10:0}for(var p=0;p<o.length;p++)o.item(p).style.width=e+"px";for(p=0;p<i.length;p++)i.item(p).style.width=t+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},e.prototype._getStartEnd=function(n){return"rtl"===this._previousDirection?n.right:n.left},e}(pg),mg=function(){return function(){}}(),vg=function(){function n(){}return n.prototype.create=function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),gg=function(){function n(n){this._mutationObserverFactory=n,this._observedElements=new Map}return n.prototype.ngOnDestroy=function(){var n=this;this._observedElements.forEach((function(e,t){return n._cleanupObserver(t)}))},n.prototype.observe=function(n){var e=this,t=eo(n);return new In.a((function(n){var l=e._observeElement(t).subscribe(n);return function(){l.unsubscribe(),e._unobserveElement(t)}}))},n.prototype._observeElement=function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var e=new Mn.b,t=this._mutationObserverFactory.create((function(n){return e.next(n)}));t&&t.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:t,stream:e,count:1})}return this._observedElements.get(n).stream},n.prototype._unobserveElement=function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))},n.prototype._cleanupObserver=function(n){if(this._observedElements.has(n)){var e=this._observedElements.get(n),t=e.observer,l=e.stream;t&&t.disconnect(),l.complete(),this._observedElements.delete(n)}},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(vg))},token:n,providedIn:"root"}),n}(),bg=function(){function n(n,e,t){this._contentObserver=n,this._elementRef=e,this._ngZone=t,this.event=new o.EventEmitter,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=$l(n),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"debounce",{get:function(){return this._debounce},set:function(n){this._debounce=Ql(n),this._subscribe()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},n.prototype.ngOnDestroy=function(){this._unsubscribe()},n.prototype._subscribe=function(){var n=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){n._currentSubscription=(n.debounce?e.pipe(Object(ho.a)(n.debounce)):e).subscribe(n.event)}))},n.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},n}(),_g=function(){return function(){}}(),yg=o["ɵcrt"]({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Cg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function wg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),o["ɵncd"](null,0)],null,null)}function Sg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,null,null,null,null,null,null,null)),o["ɵncd"](null,2),(n()(),o["ɵeld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](3,null,["",""]))],null,(function(n,e){n(e,3,0,e.component._control.placeholder)}))}function xg(n){return o["ɵvid"](0,[o["ɵncd"](null,3),(n()(),o["ɵand"](0,null,null,0))],null,null)}function kg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" *"]))],null,null)}function Eg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component.updateOutlineGap()&&l),l}),null,null)),o["ɵdid"](1,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),o["ɵdid"](2,1196032,null,0,bg,[gg,o.ElementRef,o.NgZone],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(n()(),o["ɵand"](16777216,null,null,1,null,Sg)),o["ɵdid"](4,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,xg)),o["ɵdid"](6,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,kg)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t._hasLabel()),n(e,2,0,"outline"!=t.appearance),n(e,4,0,!1),n(e,6,0,!0),n(e,8,0,!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}),(function(n,e){var t=e.component;n(e,0,0,t._labelId,t._control.id,t._control.id,t._control.empty&&!t._shouldAlwaysFloat,t._control.empty&&!t._shouldAlwaysFloat,"accent"==t.color,"warn"==t.color)}))}function Tg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),o["ɵncd"](null,4)],null,null)}function Rg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,1,0,"accent"==t.color,"warn"==t.color)}))}function Ig(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),o["ɵncd"](null,5)],null,(function(n,e){n(e,0,0,e.component._subscriptAnimationState)}))}function Dg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){var t=e.component;n(e,0,0,t._hintLabelId),n(e,1,0,t.hintLabel)}))}function Fg(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Dg)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["ɵncd"](null,6),(n()(),o["ɵeld"](4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),o["ɵncd"](null,7)],(function(n,e){n(e,2,0,e.component.hintLabel)}),(function(n,e){n(e,0,0,e.component._subscriptAnimationState)}))}function Og(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{underlineRef:0}),o["ɵqud"](402653184,2,{_connectionContainerRef:0}),o["ɵqud"](671088640,3,{_inputContainerRef:0}),o["ɵqud"](671088640,4,{_label:0}),(n()(),o["ɵeld"](4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==(o._control.onContainerClick&&o._control.onContainerClick(t))&&l),l}),null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Cg)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,wg)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),o["ɵncd"](null,1),(n()(),o["ɵeld"](12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Eg)),o["ɵdid"](14,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Tg)),o["ɵdid"](16,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Rg)),o["ɵdid"](18,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),o["ɵdid"](20,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ig)),o["ɵdid"](22,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Fg)),o["ɵdid"](24,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,e){var t=e.component;n(e,7,0,"outline"==t.appearance),n(e,9,0,t._prefixChildren.length),n(e,14,0,t._hasFloatingLabel()),n(e,16,0,t._suffixChildren.length),n(e,18,0,"outline"!=t.appearance),n(e,20,0,t._getDisplayedMessages()),n(e,22,0,"error"),n(e,24,0,"hint")}),null)}var Mg=so({passive:!0}),Ng=function(){function n(n,e){this._platform=n,this._ngZone=e,this._monitoredElements=new Map}return n.prototype.monitor=function(n){var e=this;if(!this._platform.isBrowser)return Nn.a;var t=eo(n),l=this._monitoredElements.get(t);if(l)return l.subject.asObservable();var o=new Mn.b,i="cdk-text-field-autofilled",r=function(n){"cdk-text-field-autofill-start"!==n.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===n.animationName&&t.classList.contains(i)&&(t.classList.remove(i),e._ngZone.run((function(){return o.next({target:n.target,isAutofilled:!1})}))):(t.classList.add(i),e._ngZone.run((function(){return o.next({target:n.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){t.addEventListener("animationstart",r,Mg),t.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(t,{subject:o,unlisten:function(){t.removeEventListener("animationstart",r,Mg)}}),o.asObservable()},n.prototype.stopMonitoring=function(n){var e=eo(n),t=this._monitoredElements.get(e);t&&(t.unlisten(),t.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},n.prototype.ngOnDestroy=function(){var n=this;this._monitoredElements.forEach((function(e,t){return n.stopMonitoring(t)}))},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(io),Object(o["ɵɵinject"])(o.NgZone))},token:n,providedIn:"root"}),n}(),Ag=function(){return function(){}}(),Pg=["button","checkbox","file","hidden","image","radio","range","reset","submit"],qg=0,Lg=function(n){function e(e,t,l,o,i,r,a,u,s){var d=n.call(this,r,o,i,l)||this;d._elementRef=e,d._platform=t,d.ngControl=l,d._autofillMonitor=u,d._uid="mat-input-"+qg++,d._isServer=!1,d._isNativeSelect=!1,d.focused=!1,d.stateChanges=new Mn.b,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._required=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(n){return uo().has(n)}));var c=d._elementRef.nativeElement;return d._inputValueAccessor=a||c,d._previousNativeValue=d.value,d.id=d.id,t.IOS&&s.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(n){var e=n.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===c.nodeName.toLowerCase(),d._isNativeSelect&&(d.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select"),d}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(n){this._disabled=$l(n),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(n){this._type=n||"text",this._validateType(),!this._isTextarea()&&uo().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(n){n!==this.value&&(this._inputValueAccessor.value=n,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(n){this._readonly=$l(n)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){n.autofilled=e.isAutofilled,n.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(n){this._elementRef.nativeElement.focus(n)},e.prototype._focusChanged=function(n){n===this.focused||this.readonly&&n||(this.focused=n,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var n=this._elementRef.nativeElement.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())},e.prototype._validateType=function(){if(Pg.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var n=this._elementRef.nativeElement.validity;return n&&n.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var n=this._elementRef.nativeElement,e=n.options[0];return this.focused||n.multiple||!this.empty||!!(n.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(zo(function(){return function(n,e,t,l){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=l}}())),jg=function(){return function(){}}(),Vg=function(){function n(n){this.rawFile=n;var e,t=(e=n)&&(e.nodeName||e.prop&&e.attr&&e.find)?n.value:n;this["_createFrom"+("string"==typeof t?"FakePath":"Object")](t)}return n.prototype._createFromFakePath=function(n){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+n.slice(n.lastIndexOf(".")+1).toLowerCase(),this.name=n.slice(n.lastIndexOf("/")+n.lastIndexOf("\\")+2)},n.prototype._createFromObject=function(n){this.size=n.size,this.type=n.type,this.name=n.name},n}(),Bg=function(){function n(n,e,t){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=n,this.some=e,this.options=t,this.file=new Vg(e),this._file=e,n.options&&(this.method=n.options.method||"POST",this.alias=n.options.itemAlias||"file"),this.url=n.options.url}return n.prototype.upload=function(){try{this.uploader.uploadItem(this)}catch(n){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}},n.prototype.cancel=function(){this.uploader.cancelItem(this)},n.prototype.remove=function(){this.uploader.removeFromQueue(this)},n.prototype.onBeforeUpload=function(){},n.prototype.onBuildForm=function(n){return{form:n}},n.prototype.onProgress=function(n){return{progress:n}},n.prototype.onSuccess=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onError=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onCancel=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onComplete=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype._onBeforeUpload=function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()},n.prototype._onBuildForm=function(n){this.onBuildForm(n)},n.prototype._onProgress=function(n){this.progress=n,this.onProgress(n)},n.prototype._onSuccess=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(n,e,t)},n.prototype._onError=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(n,e,t)},n.prototype._onCancel=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(n,e,t)},n.prototype._onComplete=function(n,e,t){this.onComplete(n,e,t),this.uploader.options.removeAfterUpload&&this.remove()},n.prototype._prepareToUploading=function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0},n}(),Hg=function(){function n(){}return n.getMimeClass=function(n){var e="application";return-1!==this.mime_psd.indexOf(n.type)?e="image":n.type.match("image.*")?e="image":n.type.match("video.*")?e="video":n.type.match("audio.*")?e="audio":"application/pdf"===n.type?e="pdf":-1!==this.mime_compress.indexOf(n.type)?e="compress":-1!==this.mime_doc.indexOf(n.type)?e="doc":-1!==this.mime_xsl.indexOf(n.type)?e="xls":-1!==this.mime_ppt.indexOf(n.type)&&(e="ppt"),"application"===e&&(e=this.fileTypeDetection(n.name)),e},n.fileTypeDetection=function(n){var e={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},t=n.split(".");if(t.length<2)return"application";var l=t[t.length-1].toLowerCase();return void 0===e[l]?"application":e[l]},n.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],n.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],n.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],n.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],n.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],n}(),Ug=function(n){var e="function"==typeof Symbol&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}},zg=function(){function n(n){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(n){return n._file},formatDataFunctionIsAsync:!1},this.setOptions(n),this.response=new o.EventEmitter}return n.prototype.setOptions=function(n){this.options=Object.assign(this.options,n),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url},n.prototype.addToQueue=function(n,e,t){var l,o,i=this,r=[];try{for(var a=Ug(n),u=a.next();!u.done;u=a.next())r.push(u.value)}catch(p){l={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(l)throw l.error}}var s=this._getFilters(t),d=this.queue.length,c=[];r.map((function(n){e||(e=i.options);var t=new Vg(n);if(i._isValidFile(t,s,e)){var l=new Bg(i,n,e);c.push(l),i.queue.push(l),i._onAfterAddingFile(l)}else i._onWhenAddingFileFailed(t,s[i._failFilterIndex],e)})),this.queue.length!==d&&(this._onAfterAddingAll(c),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()},n.prototype.removeFromQueue=function(n){var e=this.getIndexOfItem(n),t=this.queue[e];t.isUploading&&t.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()},n.prototype.clearQueue=function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0},n.prototype.uploadItem=function(n){var e=this.getIndexOfItem(n),t=this.queue[e],l=this.options.isHTML5?"_xhrTransport":"_iframeTransport";t._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[l](t))},n.prototype.cancelItem=function(n){var e=this.getIndexOfItem(n),t=this.queue[e];t&&t.isUploading&&(this.options.isHTML5?t._xhr:t._form).abort()},n.prototype.uploadAll=function(){var n=this.getNotUploadedItems().filter((function(n){return!n.isUploading}));n.length&&(n.map((function(n){return n._prepareToUploading()})),n[0].upload())},n.prototype.cancelAll=function(){this.getNotUploadedItems().map((function(n){return n.cancel()}))},n.prototype.isFile=function(n){return function(n){return File&&n instanceof File}(n)},n.prototype.isFileLikeObject=function(n){return n instanceof Vg},n.prototype.getIndexOfItem=function(n){return"number"==typeof n?n:this.queue.indexOf(n)},n.prototype.getNotUploadedItems=function(){return this.queue.filter((function(n){return!n.isUploaded}))},n.prototype.getReadyItems=function(){return this.queue.filter((function(n){return n.isReady&&!n.isUploading})).sort((function(n,e){return n.index-e.index}))},n.prototype.destroy=function(){},n.prototype.onAfterAddingAll=function(n){return{fileItems:n}},n.prototype.onBuildItemForm=function(n,e){return{fileItem:n,form:e}},n.prototype.onAfterAddingFile=function(n){return{fileItem:n}},n.prototype.onWhenAddingFileFailed=function(n,e,t){return{item:n,filter:e,options:t}},n.prototype.onBeforeUploadItem=function(n){return{fileItem:n}},n.prototype.onProgressItem=function(n,e){return{fileItem:n,progress:e}},n.prototype.onProgressAll=function(n){return{progress:n}},n.prototype.onSuccessItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onErrorItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCancelItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCompleteItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCompleteAll=function(){},n.prototype._mimeTypeFilter=function(n){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(n.type))},n.prototype._fileSizeFilter=function(n){return!(this.options.maxFileSize&&n.size>this.options.maxFileSize)},n.prototype._fileTypeFilter=function(n){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(Hg.getMimeClass(n)))},n.prototype._onErrorItem=function(n,e,t,l){n._onError(e,t,l),this.onErrorItem(n,e,t,l)},n.prototype._onCompleteItem=function(n,e,t,l){n._onComplete(e,t,l),this.onCompleteItem(n,e,t,l);var o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())},n.prototype._headersGetter=function(n){return function(e){return e?n[e.toLowerCase()]||void 0:n}},n.prototype._xhrTransport=function(n){var e,t,l,o,i,r=this,a=this,u=n._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(n),"number"!=typeof n._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)i=this.options.formatDataFunction(n);else{i=new FormData,this._onBuildItemForm(n,i);var s=function(){return i.append(n.alias,n._file,n.file.name)};this.options.parametersBeforeFiles||s(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach((function(e){var t=r.options.additionalParameter[e];"string"==typeof t&&t.indexOf("{{file_name}}")>=0&&(t=t.replace("{{file_name}}",n.file.name)),i.append(e,t)})),this.options.parametersBeforeFiles&&s()}if(u.upload.onprogress=function(e){var t=Math.round(e.lengthComputable?100*e.loaded/e.total:0);r._onProgressItem(n,t)},u.onload=function(){var e=r._parseHeaders(u.getAllResponseHeaders()),t=r._transformResponse(u.response,e),l=r._isSuccessCode(u.status)?"Success":"Error";r["_on"+l+"Item"](n,t,u.status,e),r._onCompleteItem(n,t,u.status,e)},u.onerror=function(){var e=r._parseHeaders(u.getAllResponseHeaders()),t=r._transformResponse(u.response,e);r._onErrorItem(n,t,u.status,e),r._onCompleteItem(n,t,u.status,e)},u.onabort=function(){var e=r._parseHeaders(u.getAllResponseHeaders()),t=r._transformResponse(u.response,e);r._onCancelItem(n,t,u.status,e),r._onCompleteItem(n,t,u.status,e)},u.open(n.method,n.url,!0),u.withCredentials=n.withCredentials,this.options.headers)try{for(var d=Ug(this.options.headers),c=d.next();!c.done;c=d.next())u.setRequestHeader((h=c.value).name,h.value)}catch(m){e={error:m}}finally{try{c&&!c.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}if(n.headers.length)try{for(var p=Ug(n.headers),f=p.next();!f.done;f=p.next()){var h;u.setRequestHeader((h=f.value).name,h.value)}}catch(v){l={error:v}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(l)throw l.error}}this.authToken&&u.setRequestHeader(this.authTokenHeader,this.authToken),u.onreadystatechange=function(){u.readyState==XMLHttpRequest.DONE&&a.response.emit(u.responseText)},this.options.formatDataFunctionIsAsync?i.then((function(n){return u.send(JSON.stringify(n))})):u.send(i),this._render()},n.prototype._getTotalProgress=function(n){if(void 0===n&&(n=0),this.options.removeAfterUpload)return n;var e=this.getNotUploadedItems().length,t=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*t+n*t/100)},n.prototype._getFilters=function(n){if(!n)return this.options.filters;if(Array.isArray(n))return n;if("string"==typeof n){var e=n.match(/[^\s,]+/g);return this.options.filters.filter((function(n){return-1!==e.indexOf(n.name)}))}return this.options.filters},n.prototype._render=function(){},n.prototype._queueLimitFilter=function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit},n.prototype._isValidFile=function(n,e,t){var l=this;return this._failFilterIndex=-1,!e.length||e.every((function(e){return l._failFilterIndex++,e.fn.call(l,n,t)}))},n.prototype._isSuccessCode=function(n){return n>=200&&n<300||304===n},n.prototype._transformResponse=function(n,e){return n},n.prototype._parseHeaders=function(n){var e,t,l,o={};return n?(n.split("\n").map((function(n){l=n.indexOf(":"),e=n.slice(0,l).trim().toLowerCase(),t=n.slice(l+1).trim(),e&&(o[e]=o[e]?o[e]+", "+t:t)})),o):o},n.prototype._onWhenAddingFileFailed=function(n,e,t){this.onWhenAddingFileFailed(n,e,t)},n.prototype._onAfterAddingFile=function(n){this.onAfterAddingFile(n)},n.prototype._onAfterAddingAll=function(n){this.onAfterAddingAll(n)},n.prototype._onBeforeUploadItem=function(n){n._onBeforeUpload(),this.onBeforeUploadItem(n)},n.prototype._onBuildItemForm=function(n,e){n._onBuildForm(e),this.onBuildItemForm(n,e)},n.prototype._onProgressItem=function(n,e){var t=this._getTotalProgress(e);this.progress=t,n._onProgress(e),this.onProgressItem(n,e),this.onProgressAll(t),this._render()},n.prototype._onSuccessItem=function(n,e,t,l){n._onSuccess(e,t,l),this.onSuccessItem(n,e,t,l)},n.prototype._onCancelItem=function(n,e,t,l){n._onCancel(e,t,l),this.onCancelItem(n,e,t,l)},n}(),Gg=function(){function n(n){this.onFileSelected=new o.EventEmitter,this.element=n}return n.prototype.getOptions=function(){return this.uploader.options},n.prototype.getFilters=function(){return{}},n.prototype.isEmptyAfterSelection=function(){return!!this.element.nativeElement.attributes.multiple},n.prototype.onChange=function(){var n=this.element.nativeElement.files,e=this.getOptions(),t=this.getFilters();this.uploader.addToQueue(n,e,t),this.onFileSelected.emit(n),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")},n}(),Wg=function(){return function(){}}(),Zg=t("EcEN"),Kg=function(){function n(n,e){this.dialogRef=n,this.data=e,this.existingProject=e.existingProject}return n.prototype.ngOnInit=function(){"opened"===this.existingProject.status?(this.confirmationMessage="Project "+this.existingProject.name+" is open. You can not overwrite it.",this.isOpen=!0):this.confirmationMessage="Project "+this.existingProject.name+" already exist, overwrite it?"},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n}(),Xg=function(){function n(n,e,t,l,i,r){this.dialog=n,this.dialogRef=e,this.data=t,this.formBuilder=l,this.projectService=i,this.projectNameValidator=r,this.isImportEnabled=!1,this.isFinishEnabled=!1,this.isDeleteVisible=!1,this.resultMessage="The project is being imported... Please wait",this.submitted=!1,this.isFirstStepCompleted=!1,this.onImportProject=new o.EventEmitter,this.projectNameForm=this.formBuilder.group({projectName:new Em(null,[Xh.required,r.get])})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new zg({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){var i=JSON.parse(t);n.resultMessage="An error occured: "+i.message,n.isFinishEnabled=!0},this.uploader.onCompleteItem=function(e,t,l,o){n.onImportProject.emit(n.uuid),n.resultMessage="Project was imported succesfully!",n.isFinishEnabled=!0}},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.uploadProjectFile=function(n){this.projectNameForm.controls.projectName.setValue(n.target.files[0].name.split(".")[0]),this.isImportEnabled=!0,this.isDeleteVisible=!0},n.prototype.onImportClick=function(){var n=this;this.projectNameForm.invalid?this.submitted=!0:this.projectService.list(this.server).subscribe((function(e){var t=n.projectNameForm.controls.projectName.value,l=e.find((function(n){return n.name===t}));l?n.openConfirmationDialog(l):n.importProject()}))},n.prototype.importProject=function(){var n=this.prepareUploadPath();this.uploader.queue.forEach((function(e){return e.url=n})),this.isFirstStepCompleted=!0,this.uploader.uploadItem(this.uploader.queue[0])},n.prototype.openConfirmationDialog=function(n){var e=this;this.dialog.open(Kg,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(t){t&&e.projectService.close(e.server,n.project_id).subscribe((function(){e.projectService.delete(e.server,n.project_id).subscribe((function(){e.importProject()}))}))}))},n.prototype.onNoClick=function(){this.uploader.cancelAll(),this.dialogRef.close()},n.prototype.onFinishClick=function(){this.dialogRef.close()},n.prototype.onDeleteClick=function(){this.uploader.queue.pop(),this.isImportEnabled=!1,this.isDeleteVisible=!1,this.projectNameForm.controls.projectName.setValue("")},n.prototype.prepareUploadPath=function(){return this.uuid=Object(Zg.v4)(),this.projectService.getUploadPath(this.server,this.uuid,this.projectNameForm.controls.projectName.value)},n}(),Yg=function(){function n(n,e,t,l,i,r,a){this.dialogRef=n,this.router=e,this.dialog=t,this.projectService=l,this.toasterService=i,this.formBuilder=r,this.projectNameValidator=a,this.onAddProject=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n,e;this.projectNameForm=this.formBuilder.group({projectName:new Em(null,[Xh.required,this.projectNameValidator.get],[(n=this.server,e=this.projectService,function(t){return Object(Dp.a)(500).pipe(Object(Hn.a)((function(){return e.list(n)})),Object(An.a)((function(n){return n.find((function(n){return n.name===t.value}))?{projectExist:!0}:null})))})])})},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.onAddClick=function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe((function(e){var t=n.projectNameForm.controls.projectName.value,l=e.find((function(n){return n.name===t}));l?n.openConfirmationDialog(l):n.addProject()}))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var n=this;this.uuid=Object(Zg.v4)(),this.projectService.add(this.server,this.projectNameForm.controls.projectName.value,this.uuid).subscribe((function(e){n.dialogRef.close(),n.toasterService.success("Project "+e.name+" added"),n.router.navigate(["/server",n.server.id,"project",e.project_id])}))},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.onAddClick()},n.prototype.openConfirmationDialog=function(n){var e=this;this.dialog.open(Kg,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(t){t&&e.projectService.close(e.server,n.project_id).subscribe((function(){e.projectService.delete(e.server,n.project_id).subscribe((function(){e.addProject()}))}))}))},n}(),$g=function(){function n(n,e){this.dialogRef=n,this.projectService=e}return n.prototype.ngOnInit=function(){this.name=this.project.name},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.prototype.onSaveClick=function(){var n=this;this.projectService.duplicate(this.server,this.project.project_id,this.name).subscribe((function(){n.dialogRef.close()}))},n}(),Qg=function(){function n(n,e){this.bottomSheetRef=n,this.themeService=e,this.projectMessage="",this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.onNoClick=function(){this.bottomSheetRef.dismiss(!1)},n.prototype.onYesClick=function(){this.bottomSheetRef.dismiss(!0)},n}(),Jg=function(){function n(n){this.dialogRef=n,this.message="Do you want to configure GNS3 VM?"}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n}(),nb=function(){function n(n,e,t,l,o,i,r,a,u){this.route=n,this.projectService=e,this.settingsService=t,this.progressService=l,this.dialog=o,this.router=i,this.bottomSheet=r,this.toasterService=a,this.electronService=u,this.projectDatabase=new eb,this.displayedColumns=["name","actions"],this.searchText=""}return n.prototype.ngOnInit=function(){var n=this;this.server=this.route.snapshot.data.server,this.refresh(),this.sort.sort({id:"name",start:"asc"}),this.dataSource=new tb(this.projectDatabase,this.sort),this.settings=this.settingsService.getAll(),this.projectService.projectListSubject.subscribe((function(){return n.refresh()}));var e=localStorage.getItem("gns3vmConfig");this.electronService.isElectronApp&&"configured"!==e&&this.dialog.open(Jg,{width:"350px",height:"120px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){e&&(localStorage.setItem("gns3vmConfig","configured"),n.router.navigate(["/server",n.server.id,"preferences","gns3vm"]))}))},n.prototype.refresh=function(){var n=this;this.projectService.list(this.server).subscribe((function(e){n.projectDatabase.addProjects(e)}),(function(e){n.progressService.setError(e)}))},n.prototype.delete=function(n){var e=this;this.bottomSheet.open(Xm);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to delete the project?",t.afterDismissed().subscribe((function(t){t&&e.projectService.delete(e.server,n.project_id).subscribe((function(){e.refresh()}))}))},n.prototype.open=function(n){var e=this;this.progressService.activate(),this.projectService.open(this.server,n.project_id).subscribe((function(){e.refresh()}),(function(){e.refresh(),e.progressService.deactivate(),e.toasterService.error("Project was deleted.")}),(function(){e.progressService.deactivate()}))},n.prototype.close=function(n){var e=this;this.bottomSheet.open(Xm);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to close the project?",t.afterDismissed().subscribe((function(t){t&&e.projectService.close(e.server,n.project_id).subscribe((function(){e.refresh(),e.progressService.deactivate()}))}))},n.prototype.duplicate=function(n){var e=this,t=this.dialog.open($g,{width:"400px",autoFocus:!1,disableClose:!0}),l=t.componentInstance;l.server=this.server,l.project=n,t.afterClosed().subscribe((function(){e.refresh()}))},n.prototype.addBlankProject=function(){this.dialog.open(Yg,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server},n.prototype.importProject=function(){var n=this,e="",t=this.dialog.open(Xg,{width:"400px",autoFocus:!1,disableClose:!0});t.componentInstance.server=this.server;var l=t.componentInstance.onImportProject.subscribe((function(n){e=n}));t.afterClosed().subscribe((function(){if(n.refresh(),l.unsubscribe(),e){n.bottomSheet.open(Qg);var t=n.bottomSheet._openedBottomSheetRef;t.instance.projectMessage="imported project",t.afterDismissed().subscribe((function(t){t&&n.projectService.open(n.server,e).subscribe((function(){n.router.navigate(["/server",n.server.id,"project",e])}))}))}}))},n}(),eb=function(){function n(){this.dataChange=new Rn.a([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n.prototype.addProjects=function(n){this.dataChange.next(n)},n.prototype.remove=function(n){var e=this.data.indexOf(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data.slice()))},n}(),tb=function(n){function e(e,t){var l=n.call(this)||this;return l.projectDatabase=e,l.sort=t,l}return i.c(e,n),e.prototype.connect=function(){var n=this;return ys.a.apply(void 0,[this.projectDatabase.dataChange,this.sort.sortChange]).pipe(Object(An.a)((function(){return n.sort.active&&""!==n.sort.direction?n.projectDatabase.data.sort((function(e,t){var l=e[n.sort.active],o=t[n.sort.active];return((isNaN(+l)?l:+l)<(isNaN(+o)?o:+o)?-1:1)*("asc"===n.sort.direction?1:-1)})):n.projectDatabase.data})))},e.prototype.disconnect=function(){},e}(Ds),lb=function(){function n(n,e){this.httpServer=n,this.settingsService=e,this.projectListSubject=new Mn.b}return n.prototype.projectListUpdated=function(){this.projectListSubject.next(!0)},n.prototype.get=function(n,e){return this.httpServer.get(n,"/projects/"+e)},n.prototype.open=function(n,e){return this.httpServer.post(n,"/projects/"+e+"/open",{})},n.prototype.close=function(n,e){return this.httpServer.post(n,"/projects/"+e+"/close",{})},n.prototype.list=function(n){return this.httpServer.get(n,"/projects")},n.prototype.nodes=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/nodes")},n.prototype.links=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/links")},n.prototype.drawings=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/drawings")},n.prototype.add=function(n,e,t){return this.httpServer.post(n,"/projects",{name:e,project_id:t})},n.prototype.update=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id,{auto_close:e.auto_close,auto_open:e.auto_open,auto_start:e.auto_start,drawing_grid_size:e.drawing_grid_size,grid_size:e.grid_size,name:e.name,scene_width:e.scene_width,scene_height:e.scene_height,show_interface_labels:e.show_interface_labels})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e)},n.prototype.getUploadPath=function(n,e,t){return"http://"+n.host+":"+n.port+"/v2/projects/"+e+"/import?name="+t},n.prototype.getExportPath=function(n,e){return"http://"+n.host+":"+n.port+"/v2/projects/"+e.project_id+"/export"},n.prototype.export=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/export")},n.prototype.getStatistics=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/stats")},n.prototype.duplicate=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/duplicate",{name:t})},n.prototype.notificationsPath=function(n,e){return"ws://"+n.host+":"+n.port+"/v2/projects/"+e+"/notifications/ws"},n.prototype.isReadOnly=function(n){return!!n.readonly&&n.readonly},n}(),ob=function(){var n={MEMORY:0,IMMUTABLE_MEMORY:1,SESSION:2,LOCAL:3};return n[n.MEMORY]="MEMORY",n[n.IMMUTABLE_MEMORY]="IMMUTABLE_MEMORY",n[n.SESSION]="SESSION",n[n.LOCAL]="LOCAL",n}(),ib=function(){function n(n,e,t,l){var o=this;void 0===l&&(l={}),this._loader=e;var i=l.type||ob.MEMORY;t.defineProperty(this,"_value",n,l),this._changes=t.changes({key:n,type:i}).map((function(n){return o._value})).publishBehavior(this._value).refCount()}return n.prototype.get=function(){var n=this,e=this._value;if(void 0===e){var t=this._cachedObservable;if(void 0!==t)return t;var l=this._loader();if(l&&l instanceof In.a){var o=l.publishLast().refCount().do((function(e){return n._value=e})).do((function(e){return n._cachedObservable=void 0}));return this._cachedObservable=o,o}this._value=e=l}return In.a.of(e)},n.prototype.changes=function(){return this._changes},n.prototype.clear=function(){this._value=void 0},n}(),rb="__INFO",ab=function(){function n(n,e){this._namespace=n,this._container=e;var t=e.get(this._namespace);if(t&&("object"!=typeof t||!t[rb]))throw new Error("Potential attribute conflict detected")}return n.prototype.addAttribute=function(n){var e=this._getInfo();e[n]=!0,this._setInfo(e)},n.prototype.removeAttribute=function(n){var e=this._getInfo();delete e[n],this._setInfo(e)},n.prototype.getAttributes=function(){return Object.keys(this._getInfo()).filter((function(n){return n!==rb}))},n.prototype.available=function(){var n=this._container.get(this._namespace);return!n||"object"==typeof n&&n[rb]},n.prototype._getInfo=function(){var n=this._container.get(this._namespace);return n||((n={})[rb]=!0),n},n.prototype._setInfo=function(n){Object.keys(n).length<=1?this._container.remove(this._namespace):this._container.set(this._namespace,n)},n}(),ub=function(){function n(n,e,t){void 0===t&&(t=!0),this._namespace=n,this._root=e,this._available=t,this._info=new ab(n,e)}return n.prototype.set=function(n,e){if(!this._available)return!1;var t=this._root.set(this._getNamespacedKey(n),e);return this._info.addAttribute(n),t},n.prototype.get=function(n){if(this._available){var e=this._root.get(this._getNamespacedKey(n));return void 0===e&&this._info.removeAttribute(n),e}},n.prototype.remove=function(n){if(this._available)return this._info.removeAttribute(n),this._root.remove(this._getNamespacedKey(n))},n.prototype.removeAll=function(){var n=this;this._info.getAttributes().forEach((function(e){n.remove(e)}))},n.prototype.available=function(){return this._available&&this._info.available()},n.prototype.exists=function(n){return void 0!==this.get(n)},n.prototype.keys=function(){var n=this;return this._info.getAttributes().filter((function(e){return n.exists(e)}))},n.prototype._getNamespacedKey=function(n){return this._namespace+"::"+n},n}(),sb=function(){function n(n){this._storage=n}return n.prototype.set=function(n,e){try{null===e&&(e="_____NULL_VALUE_____"),void 0===e?this._storage.removeItem(n):this._storage.setItem(n,JSON.stringify(e))}catch(t){return!1}return!0},n.prototype.get=function(n){var e=this._storage.getItem(n);if(null!==e){var t=JSON.parse(e);return"_____NULL_VALUE_____"===t?null:t}},n.prototype.remove=function(n){var e=this.get(n);return void 0!==e&&this._storage.removeItem(n),e},n.prototype.removeAll=function(){this._storage.clear()},n}(),db="ANGULAR_PERSISTENCE_STORAGE",cb=function(n){function e(e){n.call(this,db,new sb(e),!!e)}return Object(i.c)(e,n),e}(ub),pb=function(n){function e(){n.call(this,sessionStorage)}return Object(i.c)(e,n),e}(cb),fb=function(n){function e(){n.call(this,localStorage)}return Object(i.c)(e,n),e}(cb),hb=function(){function n(){this._data={}}return n.prototype.available=function(){return!0},n.prototype.set=function(n,e){return void 0===e?delete this._data[n]:this._data[n]=e,!0},n.prototype.get=function(n){return this._data[n]},n.prototype.exists=function(n){return void 0!==this._data[n]},n.prototype.remove=function(n){delete this._data[n]},n.prototype.removeAll=function(){var n=Object.keys(this._data);return this._data={},n},n.prototype.keys=function(){return Object.keys(this._data)},n}(),mb=function(n){function e(){n.apply(this,arguments)}return Object(i.c)(e,n),e.prototype.set=function(e,t){return void 0!==t&&(t=JSON.stringify(t)),n.prototype.set.call(this,e,t)},e.prototype.get=function(e){var t=n.prototype.get.call(this,e);if(void 0!==t)return JSON.parse(t)},e}(hb),vb=function(){function n(){this._storages=[]}return n.getStorage=function(){return new n},n.prototype.of=function(n){var e=this._storages[n];if(!e){switch(n){case ob.MEMORY:e=new hb,this._storages[n]=e;break;case ob.IMMUTABLE_MEMORY:e=new mb;break;case ob.LOCAL:e=new fb;break;case ob.SESSION:e=new pb}if(!e||!e.available())throw new Error("Storage type not available");this._storages[n]=e}return e},n}(),gb=function(){function n(){this._emitter=new o.EventEmitter,this._storage=vb.getStorage()}return n.prototype.changes=function(n){void 0===n&&(n={});var e=this._emitter.asObservable();return n.key&&(e=e.filter((function(e){return e.key===n.key}))),n.type&&(e=e.filter((function(e){return e.type===n.type}))),e},n.prototype.get=function(n,e){void 0===e&&(e=ob.MEMORY);var t=this._getStorage(e),l=t.get(n);if(l){var o=Date.now();if(l.expireAfter&&l.created+l.expireAfter<o)return t.remove(n),void this._emitter.emit({key:n,type:e});if(l.oneUse)return t.remove(n),this._emitter.emit({key:n,type:e}),l.data;if(l.timeout){if(l.lastAccessed+l.timeout<o)return t.remove(n),void this._emitter.emit({key:n,type:e});l.lastAccessed=o,t.set(n,l)}return l.data}},n.prototype.set=function(n,e,t){if(void 0===t&&(t={}),t.type||(t.type=ob.MEMORY),void 0===!e)return this.remove(n),this._emitter.emit({key:n,type:t.type}),!0;var l=this._getStorage(t.type),o=Date.now(),i=l.set(n,{data:e,expireAfter:t.expireAfter,timeout:t.timeout,oneUse:!!t.oneUse,created:o,lastAccessed:o});return i?this._emitter.emit({key:n,type:t.type}):l.remove(n),i},n.prototype.remove=function(n,e){void 0===e&&(e=ob.MEMORY);var t=this._getStorage(e),l=this.get(n,e);return void 0!==l&&(t.remove(n),this._emitter.emit({key:n,type:e})),l},n.prototype.removeAll=function(n){var e=this;void 0===n&&(n=ob.MEMORY);var t=this._getStorage(n).keys();this._getStorage(n).removeAll(),t.forEach((function(t){return e._emitter.emit({key:t,type:n})}))},n.prototype.clean=function(n){void 0===n&&(n=ob.MEMORY);for(var e=this._getStorage(n),t=e.keys(),l=Date.now(),o=0,i=t;o<i.length;o++){var r=i[o],a=e.get(r);a&&(a.expireAfter&&a.created+a.expireAfter<l||a.timeout&&a.lastAccessed+a.timeout<l)&&this.remove(r)}},n.prototype.defineProperty=function(n,e,t,l){var o=this;void 0===l&&(l={});var i=l.type||ob.MEMORY;Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return o.get(t,i)},set:function(n){o.set(t,n,l)}})},n.prototype.createContainer=function(n,e){void 0===e&&(e={});var t=this,l={oneUse:e.oneUse,expireAfter:e.expireAfter,timeout:e.timeout,type:e.type||ob.MEMORY};return new ub(n,{get:function(n){return t.get(n,l.type)},set:function(n,e){return t.set(n,e,l)},remove:function(n){return t.remove(n,l.type)},removeAll:function(){return t.removeAll()}},!0)},n.prototype.createCache=function(n,e,t){return void 0===t&&(t={}),new ib(n,e,this,{type:t.type||ob.MEMORY,expireAfter:t.expireAfter,timeout:t.timeout})},n.prototype._getStorage=function(n){return this._storage.of(n)},n.prototype._calculateExpires=function(n){return n?Date.now()+n:void 0},n}(),bb=function(){return function(){}}(),_b=function(){function n(n){this.persistenceService=n,this.settingsSubject=new Rn.a(this.getAll())}return n.prototype.get=function(e){if(!(e in n.DEFAULTS))throw Error("Key '"+e+"' doesn't exist in settings");var t=this.persistenceService.get(e,ob.LOCAL);return void 0===t?n.DEFAULTS[e]:t},n.prototype.set=function(e,t){if(!(e in n.DEFAULTS))throw Error("Key '"+e+"' doesn't exist in settings");this.persistenceService.set(e,t,{type:ob.LOCAL}),this.settingsSubject.next(this.getAll())},n.prototype.getAll=function(){var e=this,t=i.a({},n.DEFAULTS);return Object.keys(n.DEFAULTS).forEach((function(n){t[n]=e.get(n)})),t},n.prototype.setAll=function(n){var e=this;Object.keys(n).forEach((function(t){e.set(t,n[t])}))},n.prototype.isExperimentalEnabled=function(){return this.get("experimental_features")},n.prototype.subscribe=function(n){return this.settingsSubject.subscribe(n)},n.DEFAULTS={crash_reports:!0,experimental_features:!1,angular_map:!1,console_command:void 0},n}(),yb=o["ɵcrt"]({encapsulation:0,styles:[[".add-button[_ngcontent-%COMP%], .import-button[_ngcontent-%COMP%]{height:40px;margin:20px}.full-width[_ngcontent-%COMP%]{width:940px;margin-left:-470px;left:50%}"]],data:{}});function Cb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!1)&&l),l}),lg,eg)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),o["ɵdid"](2,245760,null,0,Jv,[$v,o.ChangeDetectorRef,[2,Yv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["ɵted"](-1,0,[" Name "]))],(function(n,e){n(e,2,0,"")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2)._getAriaSortAttribute(),o["ɵnov"](e,2)._isDisabled())}))}function wb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,0,null,null,3,"a",[["class","table-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,3).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l}),null,null)),o["ɵdid"](3,671744,null,0,bl,[vl,rt,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["ɵpad"](4,4),(n()(),o["ɵted"](5,null,["",""]))],(function(n,e){var t=n(e,4,0,"/server",e.component.server.id,"project",e.context.$implicit.project_id);n(e,3,0,t)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).target,o["ɵnov"](e,3).href),n(e,5,0,e.context.$implicit.name)}))}function Sb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function xb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Open project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.open(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["aria-label","Open project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["play_arrow"])),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,"Open project"),n(e,4,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color)}))}function kb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Close project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.close(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["aria-label","Close project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["pause"])),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,"Close project"),n(e,4,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color)}))}function Eb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Duplicate project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.duplicate(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["aria-label","Duplicate project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["filter_2"])),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,"Duplicate project"),n(e,4,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color)}))}function Tb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.parent.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["aria-label","Delete project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,"Delete project"),n(e,4,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color)}))}function Rb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,xb)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,kb)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Eb)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Tb)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,"closed"==e.context.$implicit.status),n(e,5,0,"opened"==e.context.$implicit.status),n(e,7,0,"closed"==e.context.$implicit.status),n(e,9,0,"closed"==e.context.$implicit.status)}),null)}function Ib(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function Db(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function Fb(n){return o["ɵvid"](0,[o["ɵpid"](0,og,[]),o["ɵqud"](402653184,1,{sort:0}),(n()(),o["ɵeld"](2,0,null,null,78,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,9,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Projects"])),(n()(),o["ɵeld"](7,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addBlankProject()&&l),l}),ou,lu)),o["ɵdid"](8,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" Add blank project "])),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["class","import-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.importProject()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" Import project "])),(n()(),o["ɵeld"](13,0,null,null,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,15).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,15).onReset()&&l),l}),null,null)),o["ɵdid"](14,16384,null,0,qm,[],null,null),o["ɵdid"](15,4210688,null,0,Dm,[[8,null],[8,null]],null,null),o["ɵprd"](2048,null,Bh,null,[Dm]),o["ɵdid"](17,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](18,0,null,null,19,"mat-form-field",[["class","full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](19,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](29,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by name"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,30)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,30)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,30)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.searchText=t)&&l),l}),null,null)),o["ɵdid"](30,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](32,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](33,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](35,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](36,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](38,0,null,null,42,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](39,0,null,null,41,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](40,0,null,null,40,"mat-table",[["class","mat-table"],["matSort",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](42,2342912,[["table",4]],4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,11,{_contentColumnDefs:1}),o["ɵqud"](603979776,12,{_contentRowDefs:1}),o["ɵqud"](603979776,13,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,14,{_contentFooterRowDefs:1}),o["ɵppd"](47,2),o["ɵdid"](48,737280,[[1,4]],0,Yv,[],null,null),(n()(),o["ɵeld"](49,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](51,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,15,{cell:0}),o["ɵqud"](603979776,16,{headerCell:0}),o["ɵqud"](603979776,17,{footerCell:0}),o["ɵprd"](2048,[[11,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Cb)),o["ɵdid"](57,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[16,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,wb)),o["ɵdid"](60,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[15,4]],Cc,null,[zc]),(n()(),o["ɵeld"](62,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](64,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,18,{cell:0}),o["ɵqud"](603979776,19,{headerCell:0}),o["ɵqud"](603979776,20,{footerCell:0}),o["ɵprd"](2048,[[11,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Sb)),o["ɵdid"](70,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[19,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Rb)),o["ɵdid"](73,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,Ib)),o["ɵdid"](76,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[13,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,Db)),o["ɵdid"](79,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[12,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,8,0,"primary"),n(e,11,0,"primary");var l=t.searchText,i=n(e,33,0,!0);n(e,32,0,l,i),n(e,36,0,"Search by name");var r=o["ɵunv"](e,42,0,n(e,47,0,o["ɵnov"](e,0),t.dataSource,t.searchText));n(e,42,0,r),n(e,48,0),n(e,51,0,"name"),n(e,64,0,"actions"),n(e,76,0,t.displayedColumns),n(e,79,0,t.displayedColumns)}),(function(n,e){n(e,7,0,o["ɵnov"](e,8).disabled||null,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode),n(e,13,0,o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending),n(e,18,1,["standard"==o["ɵnov"](e,19).appearance,"fill"==o["ɵnov"](e,19).appearance,"outline"==o["ɵnov"](e,19).appearance,"legacy"==o["ɵnov"](e,19).appearance,o["ɵnov"](e,19)._control.errorState,o["ɵnov"](e,19)._canLabelFloat,o["ɵnov"](e,19)._shouldLabelFloat(),o["ɵnov"](e,19)._hasFloatingLabel(),o["ɵnov"](e,19)._hideControlPlaceholder(),o["ɵnov"](e,19)._control.disabled,o["ɵnov"](e,19)._control.autofilled,o["ɵnov"](e,19)._control.focused,"accent"==o["ɵnov"](e,19).color,"warn"==o["ɵnov"](e,19).color,o["ɵnov"](e,19)._shouldForward("untouched"),o["ɵnov"](e,19)._shouldForward("touched"),o["ɵnov"](e,19)._shouldForward("pristine"),o["ɵnov"](e,19)._shouldForward("dirty"),o["ɵnov"](e,19)._shouldForward("valid"),o["ɵnov"](e,19)._shouldForward("invalid"),o["ɵnov"](e,19)._shouldForward("pending"),!o["ɵnov"](e,19)._animationsEnabled]),n(e,29,1,[o["ɵnov"](e,35).ngClassUntouched,o["ɵnov"](e,35).ngClassTouched,o["ɵnov"](e,35).ngClassPristine,o["ɵnov"](e,35).ngClassDirty,o["ɵnov"](e,35).ngClassValid,o["ɵnov"](e,35).ngClassInvalid,o["ɵnov"](e,35).ngClassPending,o["ɵnov"](e,36)._isServer,o["ɵnov"](e,36).id,o["ɵnov"](e,36).placeholder,o["ɵnov"](e,36).disabled,o["ɵnov"](e,36).required,o["ɵnov"](e,36).readonly&&!o["ɵnov"](e,36)._isNativeSelect||null,o["ɵnov"](e,36)._ariaDescribedby||null,o["ɵnov"](e,36).errorState,o["ɵnov"](e,36).required.toString()])}))}function Ob(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-projects",[],null,null,null,Fb,yb)),o["ɵdid"](1,114688,null,0,nb,[rt,lb,_b,tc,av,vl,yv,hc,sc],null,null)],(function(n,e){n(e,1,0)}),null)}var Mb=o["ɵccf"]("app-projects",nb,Ob,{},{},[]),Nb=0,Ab=function(){function n(){this._stateChanges=new Mn.b,this._openCloseAllActions=new Mn.b,this.id="cdk-accordion-"+Nb++,this._multi=!1}return Object.defineProperty(n.prototype,"multi",{get:function(){return this._multi},set:function(n){this._multi=$l(n)},enumerable:!0,configurable:!0}),n.prototype.openAll=function(){this._openCloseAll(!0)},n.prototype.closeAll=function(){this._openCloseAll(!1)},n.prototype.ngOnChanges=function(n){this._stateChanges.next(n)},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._openCloseAll=function(n){this.multi&&this._openCloseAllActions.next(n)},n}(),Pb=0,qb=function(){function n(n,e,t){var l=this;this.accordion=n,this._changeDetectorRef=e,this._expansionDispatcher=t,this._openCloseAllSubscription=co.a.EMPTY,this.closed=new o.EventEmitter,this.opened=new o.EventEmitter,this.destroyed=new o.EventEmitter,this.expandedChange=new o.EventEmitter,this.id="cdk-accordion-child-"+Pb++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=t.listen((function(n,e){l.accordion&&!l.accordion.multi&&l.accordion.id===e&&l.id!==n&&(l.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(n.prototype,"expanded",{get:function(){return this._expanded},set:function(n){n=$l(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=$l(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},n.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},n.prototype.close=function(){this.disabled||(this.expanded=!1)},n.prototype.open=function(){this.disabled||(this.expanded=!0)},n.prototype._subscribeToOpenCloseAllActions=function(){var n=this;return this.accordion._openCloseAllActions.subscribe((function(e){n.disabled||(n.expanded=e)}))},n}(),Lb=function(){return function(){}}(),jb=new o.InjectionToken("MAT_ACCORDION"),Vb=0,Bb=new o.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Hb=function(n){function e(e,t,l,i,r,a,u){var s=n.call(this,e,t,l)||this;return s._viewContainerRef=i,s._animationMode=a,s._hideToggle=!1,s.afterExpand=new o.EventEmitter,s.afterCollapse=new o.EventEmitter,s._inputChanges=new Mn.b,s._headerId="mat-expansion-panel-header-"+Vb++,s._bodyAnimationDone=new Mn.b,s.accordion=e,s._document=r,s._bodyAnimationDone.pipe(Object(Es.a)((function(n,e){return n.fromState===e.fromState&&n.toState===e.toState}))).subscribe((function(n){"void"!==n.fromState&&("expanded"===n.toState?s.afterExpand.emit():"collapsed"===n.toState&&s.afterCollapse.emit())})),u&&(s.hideToggle=u.hideToggle),s}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(n){this._hideToggle=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(n){this._togglePosition=n},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var n=this;this._lazyContent&&this.opened.pipe(Object(zn.a)(null),Object(Wn.a)((function(){return n.expanded&&!n._portal})),Object(Un.a)(1)).subscribe((function(){n._portal=new fs(n._lazyContent._template,n._viewContainerRef)}))},e.prototype.ngOnChanges=function(n){this._inputChanges.next(n)},e.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body){var n=this._document.activeElement,e=this._body.nativeElement;return n===e||e.contains(n)}return!1},e}(qb),Ub=function(){function n(n,e,t,l,o){var i=this;this.panel=n,this._element=e,this._focusMonitor=t,this._changeDetectorRef=l,this._parentChangeSubscription=co.a.EMPTY,this._animationsDisabled=!0;var r=n.accordion?n.accordion._stateChanges.pipe(Object(Wn.a)((function(n){return!(!n.hideToggle&&!n.togglePosition)}))):Nn.a;this._parentChangeSubscription=Object(ys.a)(n.opened,n.closed,r,n._inputChanges.pipe(Object(Wn.a)((function(n){return!!(n.hideToggle||n.disabled||n.togglePosition)})))).subscribe((function(){return i._changeDetectorRef.markForCheck()})),n.closed.pipe(Object(Wn.a)((function(){return n._containsFocus()}))).subscribe((function(){return t.focusVia(e,"program")})),t.monitor(e).subscribe((function(e){e&&n.accordion&&n.accordion._handleHeaderFocus(i)})),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return n.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(n.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),n.prototype._toggle=function(){this.panel.toggle()},n.prototype._isExpanded=function(){return this.panel.expanded},n.prototype._getExpandedState=function(){return this.panel._getExpandedState()},n.prototype._getPanelId=function(){return this.panel.id},n.prototype._getTogglePosition=function(){return this.panel.togglePosition},n.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},n.prototype._keydown=function(n){switch(n.keyCode){case 32:case 13:fo(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}},n.prototype.focus=function(n,e){void 0===n&&(n="program"),this._focusMonitor.focusVia(this._element,n,e)},n.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},n}(),zb=function(){return function(){}}(),Gb=function(){return function(){}}(),Wb=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(n){this._hideToggle=$l(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new wo(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(n){var e=n.keyCode,t=this._keyManager;36===e?fo(n)||(t.setFirstItemActive(),n.preventDefault()):35===e?fo(n)||(t.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n)},e.prototype._handleHeaderFocus=function(n){this._keyManager.updateActiveItem(n)},e}(Ab),Zb=function(){return function(){}}(),Kb=o["ɵcrt"]({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function Xb(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function Yb(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_body:0}),o["ɵncd"](null,0),(n()(),o["ɵeld"](2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(n,e,t){var l=!0;return"@bodyExpansion.done"===e&&(l=!1!==n.component._bodyAnimationDone.next(t)&&l),l}),null,null)),(n()(),o["ɵeld"](3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),o["ɵncd"](null,1),(n()(),o["ɵand"](16777216,null,null,1,null,Xb)),o["ɵdid"](6,212992,null,0,gs,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),o["ɵncd"](null,2)],(function(n,e){n(e,6,0,e.component._portal)}),(function(n,e){var t=e.component;n(e,2,0,t._getExpandedState(),t._headerId,t.id)}))}var $b=o["ɵcrt"]({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function Qb(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(n,e){n(e,0,0,e.component._getExpandedState())}))}function Jb(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),o["ɵncd"](null,0),o["ɵncd"](null,1),o["ɵncd"](null,2),(n()(),o["ɵand"](16777216,null,null,1,null,Qb)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,5,0,e.component._showToggle())}),null)}var n_=Ho(function(){return function(){}}()),e_=Ho(function(){return function(){}}()),t_=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stateChanges=new Mn.b,e}return Object(i.c)(e,n),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(n_),l_=function(n){function e(e){var t=n.call(this)||this;return t._elementRef=e,t._stateChanges=new Mn.b,"action-list"===t._getListType()&&e.nativeElement.classList.add("mat-action-list"),t}return Object(i.c)(e,n),e.prototype._getListType=function(){var n=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===n?"list":"mat-action-list"===n?"action-list":null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(n_),o_=function(n){function e(e,t,l,o){var i=n.call(this)||this;i._element=e,i._isInteractiveList=!1,i._destroyed=new Mn.b,i._isInteractiveList=!!(l||o&&"action-list"===o._getListType()),i._list=l||o;var r=i._getHostElement();return"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),i._list&&i._list._stateChanges.pipe(Object(ws.a)(i._destroyed)).subscribe((function(){t.markForCheck()})),i}return Object(i.c)(e,n),e.prototype.ngAfterContentInit=function(){var n,e;e=this._element,(n=this._lines).changes.pipe(Object(zn.a)(n)).subscribe((function(n){var t=n.length;$o(e,"mat-2-line",!1),$o(e,"mat-3-line",!1),$o(e,"mat-multi-line",!1),2===t||3===t?$o(e,"mat-"+t+"-line",!0):t>3&&$o(e,"mat-multi-line",!0)}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(e_),i_=function(){return function(){}}(),r_=o["ɵcrt"]({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function a_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,p_,c_)),o["ɵdid"](1,49152,null,0,ui,[[2,nu]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.selected?"checked":"",t.disabled)}),(function(n,e){n(e,0,0,"indeterminate"===o["ɵnov"](e,1).state,"checked"===o["ɵnov"](e,1).state,o["ɵnov"](e,1).disabled,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}function u_(n){return o["ɵvid"](2,[(n()(),o["ɵand"](16777216,null,null,1,null,a_)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),o["ɵncd"](null,0),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](5,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.multiple),n(e,5,0,t.disabled||t.disableRipple,t._getHostElement())}),(function(n,e){n(e,4,0,o["ɵnov"](e,5).unbounded)}))}var s_=o["ɵcrt"]({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}});function d_(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,2,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,["",""])),o["ɵncd"](null,0),o["ɵncd"](null,1)],null,(function(n,e){var t=e.component;n(e,0,0,t._labelId),n(e,1,0,t.label)}))}var c_=o["ɵcrt"]({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function p_(n){return o["ɵvid"](2,[],null,null)}var f_=o["ɵcrt"]({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function h_(n){return o["ɵvid"](2,[o["ɵncd"](null,0)],null,null)}var m_=o["ɵcrt"]({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function v_(n){return o["ɵvid"](2,[o["ɵncd"](null,0)],null,null)}var g_=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function b_(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](2,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),o["ɵncd"](null,0),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),o["ɵncd"](null,1),o["ɵncd"](null,2)],(function(n,e){var t=e.component;n(e,2,0,t._isRippleDisabled(),t._getHostElement())}),(function(n,e){n(e,1,0,o["ɵnov"](e,2).unbounded)}))}var __=function(){function n(n){this.httpClient=n,this.thirdpartylicenses="",this.releasenotes=""}return n.prototype.ngOnInit=function(){var n=this;this.httpClient.get(window.location.href+"/3rdpartylicenses.txt",{responseType:"text"}).subscribe((function(e){n.thirdpartylicenses=e.replace(new RegExp("\n","g"),"<br />")}),(function(e){404===e.status&&(n.thirdpartylicenses="File not found")})),this.httpClient.get("ReleaseNotes.txt",{responseType:"text"}).subscribe((function(e){n.releasenotes=e.replace(new RegExp("\n","g"),"<br />")}))},n}(),y_=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function C_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,88,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Help"])),(n()(),o["ɵeld"](4,0,null,null,84,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,83,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,82,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](7,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](10,16777216,null,null,54,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](11,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](14,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,15)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,15)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,15)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](15,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](16,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](17,{value:0,params:1}),(n()(),o["ɵeld"](18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](19,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Useful shortcuts "])),(n()(),o["ɵeld"](21,0,null,1,43,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,v_,m_)),o["ɵdid"](22,704512,null,0,l_,[o.ElementRef],null,null),(n()(),o["ɵeld"](23,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](24,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,3,{_lines:1}),o["ɵqud"](603979776,4,{_avatar:0}),o["ɵqud"](603979776,5,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + + to zoom in "])),(n()(),o["ɵeld"](29,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](30,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,6,{_lines:1}),o["ɵqud"](603979776,7,{_avatar:0}),o["ɵqud"](603979776,8,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + - to zoom out "])),(n()(),o["ɵeld"](35,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](36,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,9,{_lines:1}),o["ɵqud"](603979776,10,{_avatar:0}),o["ɵqud"](603979776,11,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + 0 to reset zoom "])),(n()(),o["ɵeld"](41,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](42,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,12,{_lines:1}),o["ɵqud"](603979776,13,{_avatar:0}),o["ɵqud"](603979776,14,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + h to hide toolbar "])),(n()(),o["ɵeld"](47,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](48,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,15,{_lines:1}),o["ɵqud"](603979776,16,{_avatar:0}),o["ɵqud"](603979776,17,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + a to select all items on map "])),(n()(),o["ɵeld"](53,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](54,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,18,{_lines:1}),o["ɵqud"](603979776,19,{_avatar:0}),o["ɵqud"](603979776,20,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + shift + a to deselect all items on map "])),(n()(),o["ɵeld"](59,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](60,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,21,{_lines:1}),o["ɵqud"](603979776,22,{_avatar:0}),o["ɵqud"](603979776,23,{_icon:0}),(n()(),o["ɵted"](-1,2,[" ctrl + shift + s to go to preferences "])),(n()(),o["ɵeld"](65,16777216,null,null,11,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](66,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,24,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](69,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,70)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,70)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,70)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](70,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](71,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](72,{value:0,params:1}),(n()(),o["ɵeld"](73,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](74,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Third party components "])),(n()(),o["ɵeld"](76,0,null,1,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),o["ɵeld"](77,16777216,null,null,11,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](78,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,25,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](81,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,82)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,82)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,82)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](82,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](83,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](84,{value:0,params:1}),(n()(),o["ɵeld"](85,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](86,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Release notes "])),(n()(),o["ɵeld"](88,0,null,1,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,10,0,o["ɵnov"](e,11).expanded,"NoopAnimations"===o["ɵnov"](e,11)._animationMode,o["ɵnov"](e,11)._hasSpacing());var l=o["ɵnov"](e,15).panel._headerId,i=o["ɵnov"](e,15).disabled?-1:0,r=o["ɵnov"](e,15)._getPanelId(),a=o["ɵnov"](e,15)._isExpanded(),u=o["ɵnov"](e,15).panel.disabled,s=o["ɵnov"](e,15)._isExpanded(),d="after"===o["ɵnov"](e,15)._getTogglePosition(),c="before"===o["ɵnov"](e,15)._getTogglePosition(),p=o["ɵnov"](e,15)._animationsDisabled,f=n(e,17,0,o["ɵnov"](e,15)._getExpandedState(),n(e,16,0,o["ɵnov"](e,15).collapsedHeight,o["ɵnov"](e,15).expandedHeight));n(e,14,0,l,i,r,a,u,s,d,c,p,f),n(e,23,0,o["ɵnov"](e,24)._avatar||o["ɵnov"](e,24)._icon,o["ɵnov"](e,24)._avatar||o["ɵnov"](e,24)._icon),n(e,29,0,o["ɵnov"](e,30)._avatar||o["ɵnov"](e,30)._icon,o["ɵnov"](e,30)._avatar||o["ɵnov"](e,30)._icon),n(e,35,0,o["ɵnov"](e,36)._avatar||o["ɵnov"](e,36)._icon,o["ɵnov"](e,36)._avatar||o["ɵnov"](e,36)._icon),n(e,41,0,o["ɵnov"](e,42)._avatar||o["ɵnov"](e,42)._icon,o["ɵnov"](e,42)._avatar||o["ɵnov"](e,42)._icon),n(e,47,0,o["ɵnov"](e,48)._avatar||o["ɵnov"](e,48)._icon,o["ɵnov"](e,48)._avatar||o["ɵnov"](e,48)._icon),n(e,53,0,o["ɵnov"](e,54)._avatar||o["ɵnov"](e,54)._icon,o["ɵnov"](e,54)._avatar||o["ɵnov"](e,54)._icon),n(e,59,0,o["ɵnov"](e,60)._avatar||o["ɵnov"](e,60)._icon,o["ɵnov"](e,60)._avatar||o["ɵnov"](e,60)._icon),n(e,65,0,o["ɵnov"](e,66).expanded,"NoopAnimations"===o["ɵnov"](e,66)._animationMode,o["ɵnov"](e,66)._hasSpacing());var h=o["ɵnov"](e,70).panel._headerId,m=o["ɵnov"](e,70).disabled?-1:0,v=o["ɵnov"](e,70)._getPanelId(),g=o["ɵnov"](e,70)._isExpanded(),b=o["ɵnov"](e,70).panel.disabled,_=o["ɵnov"](e,70)._isExpanded(),y="after"===o["ɵnov"](e,70)._getTogglePosition(),C="before"===o["ɵnov"](e,70)._getTogglePosition(),w=o["ɵnov"](e,70)._animationsDisabled,S=n(e,72,0,o["ɵnov"](e,70)._getExpandedState(),n(e,71,0,o["ɵnov"](e,70).collapsedHeight,o["ɵnov"](e,70).expandedHeight));n(e,69,0,h,m,v,g,b,_,y,C,w,S),n(e,76,0,t.thirdpartylicenses),n(e,77,0,o["ɵnov"](e,78).expanded,"NoopAnimations"===o["ɵnov"](e,78)._animationMode,o["ɵnov"](e,78)._hasSpacing());var x=o["ɵnov"](e,82).panel._headerId,k=o["ɵnov"](e,82).disabled?-1:0,E=o["ɵnov"](e,82)._getPanelId(),T=o["ɵnov"](e,82)._isExpanded(),R=o["ɵnov"](e,82).panel.disabled,I=o["ɵnov"](e,82)._isExpanded(),D="after"===o["ɵnov"](e,82)._getTogglePosition(),F="before"===o["ɵnov"](e,82)._getTogglePosition(),O=o["ɵnov"](e,82)._animationsDisabled,M=n(e,84,0,o["ɵnov"](e,82)._getExpandedState(),n(e,83,0,o["ɵnov"](e,82).collapsedHeight,o["ɵnov"](e,82).expandedHeight));n(e,81,0,x,k,E,T,R,I,D,F,O,M),n(e,88,0,t.releasenotes)}))}function w_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-help",[],null,null,null,C_,y_)),o["ɵdid"](1,114688,null,0,__,[Iu],null,null)],(function(n,e){n(e,1,0)}),null)}var S_=o["ɵccf"]("app-help",__,w_,{},{},[]),x_=new o.InjectionToken("mat-checkbox-click-action"),k_=0,E_=function(){var n={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return n[n.Init]="Init",n[n.Checked]="Checked",n[n.Unchecked]="Unchecked",n[n.Indeterminate]="Indeterminate",n}(),T_=function(){return function(){}}(),R_=function(n){function e(e,t,l,i,r,a,u){var s=n.call(this,e)||this;return s._changeDetectorRef=t,s._focusMonitor=l,s._ngZone=i,s._clickAction=a,s._animationMode=u,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++k_,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new o.EventEmitter,s.indeterminateChange=new o.EventEmitter,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=E_.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(r)||0,s._focusMonitor.monitor(e,!0).subscribe((function(n){n||Promise.resolve().then((function(){s._onTouched(),t.markForCheck()}))})),s}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=$l(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(n){n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(n){var e=$l(n);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(n){var e=n!=this._indeterminate;this._indeterminate=n,e&&(this._transitionCheckState(this._indeterminate?E_.Indeterminate:this.checked?E_.Checked:E_.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(n){this.checked=!!n},e.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},e.prototype.registerOnTouched=function(n){this._onTouched=n},e.prototype.setDisabledState=function(n){this.disabled=n},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(n){var e=this._currentCheckState,t=this._elementRef.nativeElement;if(e!==n&&(this._currentAnimationClass.length>0&&t.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,n),this._currentCheckState=n,this._currentAnimationClass.length>0)){t.classList.add(this._currentAnimationClass);var l=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){t.classList.remove(l)}),1e3)}))}},e.prototype._emitChangeEvent=function(){var n=new T_;n.source=this,n.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(n)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(n){var e=this;n.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?E_.Checked:E_.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(n,e){void 0===n&&(n="keyboard"),this._focusMonitor.focusVia(this._inputElement,n,e)},e.prototype._onInteractionEvent=function(n){n.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(n,e){if("NoopAnimations"===this._animationMode)return"";var t="";switch(n){case E_.Init:if(e===E_.Checked)t="unchecked-checked";else{if(e!=E_.Indeterminate)return"";t="unchecked-indeterminate"}break;case E_.Unchecked:t=e===E_.Checked?"unchecked-checked":"unchecked-indeterminate";break;case E_.Checked:t=e===E_.Unchecked?"checked-unchecked":"checked-indeterminate";break;case E_.Indeterminate:t=e===E_.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+t},e}(Uo(Bo(Ho(Vo(function(){return function(n){this._elementRef=n}}())),"accent"))),I_=function(){return function(){}}(),D_=function(){return function(){}}(),F_=o["ɵcrt"]({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function O_(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_inputElement:0}),o["ɵqud"](671088640,2,{ripple:0}),(n()(),o["ɵeld"](2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(n()(),o["ɵeld"](4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(n,e,t){var l=!0,o=n.component;return"change"===e&&(l=!1!==o._onInteractionEvent(t)&&l),"click"===e&&(l=!1!==o._onInputClick(t)&&l),l}),null,null)),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](6,212992,[[2,4]],0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["ɵpod"](7,{enterDuration:0}),(n()(),o["ɵeld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(n()(),o["ɵeld"](9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(n()(),o["ɵeld"](10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(n()(),o["ɵeld"](13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(n()(),o["ɵeld"](14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component._onLabelTextChange()&&l),l}),null,null)),o["ɵdid"](15,1196032,null,0,bg,[gg,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["ɵeld"](16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" "])),o["ɵncd"](null,0)],(function(n,e){var t=e.component,l=n(e,7,0,150);n(e,6,0,!0,20,l,t._isRippleDisabled(),o["ɵnov"](e,2))}),(function(n,e){var t=e.component;n(e,2,0,t.inputId),n(e,3,0,!o["ɵnov"](e,14).textContent||!o["ɵnov"](e,14).textContent.trim()),n(e,4,1,[t.inputId,t.required,t.checked,t.value,t.disabled,t.name,t.tabIndex,t.indeterminate,t.ariaLabel||null,t.ariaLabelledby,t._getAriaChecked()]),n(e,5,0,o["ɵnov"](e,6).unbounded)}))}var M_=function(){function n(n,e,t,l){this.settingsService=n,this.toaster=e,this.consoleService=t,this.themeService=l,this.settings=i.a({},_b.DEFAULTS)}return n.prototype.ngOnInit=function(){this.settings=this.settingsService.getAll(),this.consoleCommand=this.consoleService.command},n.prototype.save=function(){this.settingsService.setAll(this.settings),this.toaster.success("Settings have been saved.")},n.prototype.setDarkMode=function(n){this.themeService.setDarkMode(n)},n}(),N_=function(){function n(n,e){this.defaultConsoleService=n,this.settingsService=e}return Object.defineProperty(n.prototype,"command",{get:function(){var n=this.settingsService.get("console_command");return void 0===n?this.defaultConsoleService.get():n},set:function(n){this.settingsService.set("console_command",n)},enumerable:!0,configurable:!0}),n}(),A_=function(){function n(n,e){var t=this;this._mainTheme$=new Rn.a("theme-default"),this._darkMode$=new Rn.a(!1),this.themeLinks=[],this.darkMode$=this._darkMode$.asObservable(),this.themeChanged=new o.EventEmitter,this.savedTheme="dark",this.head=e.head,this._renderer=n.createRenderer(null,null),this.theme$=Object(Fn.b)(this._mainTheme$,this._darkMode$),this.theme$.subscribe((function(n){var e=n[0],l=n[1];return i.b(t,void 0,void 0,(function(){return i.d(this,(function(n){switch(n.label){case 0:return[4,this.loadCss(l?e+"-dark.css":e+".css")];case 1:return n.sent(),2==this.themeLinks.length&&this._renderer.removeChild(this.head,this.themeLinks.shift()),[2]}}))}))}))}return n.prototype.getActualTheme=function(){return this.savedTheme},n.prototype.setMainTheme=function(n){this._mainTheme$.next(n)},n.prototype.setDarkMode=function(n){this._darkMode$.next(n),localStorage.removeItem("theme"),n?(this.savedTheme="dark",this.themeChanged.emit(this.savedTheme),localStorage.setItem("theme","dark")):(this.savedTheme="light",this.themeChanged.emit(this.savedTheme),localStorage.setItem("theme","light"))},n.prototype.loadCss=function(n){return i.b(this,void 0,void 0,(function(){var e=this;return i.d(this,(function(t){return[2,new Promise((function(t){var l=e._renderer.createElement("link");e._renderer.setAttribute(l,"rel","stylesheet"),e._renderer.setAttribute(l,"type","text/css"),e._renderer.setAttribute(l,"href",n),e._renderer.setProperty(l,"onload",t),e._renderer.appendChild(e.head,l),e.themeLinks=e.themeLinks.concat([l])}))]}))}))},n.ngInjectableDef=o["ɵɵdefineInjectable"]({factory:function(){return new n(o["ɵɵinject"](o.RendererFactory2),o["ɵɵinject"](r.DOCUMENT))},token:n,providedIn:"root"}),n}(),P_=o["ɵcrt"]({encapsulation:0,styles:[[".theme-panel[_ngcontent-%COMP%]{justify-content:space-between;display:flex;padding:10px}"]],data:{}});function q_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,92,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Settings"])),(n()(),o["ɵeld"](4,0,null,null,88,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,83,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,82,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](7,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](10,16777216,null,null,21,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](11,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],{expanded:[0,"expanded"]},null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](14,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,15)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,15)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,15)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](15,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](16,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](17,{value:0,params:1}),(n()(),o["ɵeld"](18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](19,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Local settings "])),(n()(),o["ɵeld"](21,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["ɵdid"](22,16384,null,0,zb,[],null,null),(n()(),o["ɵted"](-1,null,[" Customize your local settings "])),(n()(),o["ɵeld"](24,0,null,1,7,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](25,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.settings.crash_reports=t)&&l),l}),O_,F_)),o["ɵdid"](26,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](28,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](30,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,["Send anonymous crash reports"])),(n()(),o["ɵeld"](32,16777216,null,null,35,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](33,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],{expanded:[0,"expanded"]},null),o["ɵqud"](603979776,3,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](36,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,37)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,37)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,37)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](37,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](38,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](39,{value:0,params:1}),(n()(),o["ɵeld"](40,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](41,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Console settings "])),(n()(),o["ɵeld"](43,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["ɵdid"](44,16384,null,0,zb,[],null,null),(n()(),o["ɵted"](-1,null,[" Customize console settings "])),(n()(),o["ɵeld"](46,0,null,1,21,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](47,0,null,null,20,"mat-form-field",[["class","full-width-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](48,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](58,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","console"],["readonly","true"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,e,t){var l=!0;return"blur"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,59)._onInput()&&l),l}),null,null)),o["ɵdid"](59,999424,null,0,Lg,[o.ElementRef,io,[8,null],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],value:[1,"value"],readonly:[2,"readonly"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](61,0,null,4,6,"a",[["mat-icon-button",""],["matSuffix",""],["routerLink","/settings/console"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,62).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,63)._haltDisabledEvents(t)&&l),l}),ru,iu)),o["ɵdid"](62,671744,null,0,bl,[vl,rt,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["ɵdid"](63,180224,null,0,wi,[Mo,o.ElementRef,[2,nu]],null,null),o["ɵdid"](64,16384,[[12,4]],0,dg,[],null,null),(n()(),o["ɵeld"](65,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](66,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["mode_edit"])),(n()(),o["ɵeld"](68,16777216,null,null,20,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](69,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],{expanded:[0,"expanded"]},null),o["ɵqud"](603979776,13,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](72,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,73)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,73)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,73)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](73,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](74,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](75,{value:0,params:1}),(n()(),o["ɵeld"](76,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](77,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Theme settings "])),(n()(),o["ɵeld"](79,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["ɵdid"](80,16384,null,0,zb,[],null,null),(n()(),o["ɵted"](-1,null,[" Customize theme settings "])),(n()(),o["ɵeld"](82,0,null,1,6,"div",[["class","theme-panel"]],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setDarkMode(!1)&&l),l}),ou,lu)),o["ɵdid"](84,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Switch to light theme"])),(n()(),o["ɵeld"](86,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setDarkMode(!0)&&l),l}),ou,lu)),o["ɵdid"](87,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Switch to dark theme"])),(n()(),o["ɵeld"](89,0,null,null,3,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](90,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.save()&&l),l}),ou,lu)),o["ɵdid"](91,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save settings"]))],(function(n,e){var t=e.component;n(e,11,0,!0),n(e,28,0,t.settings.crash_reports),n(e,33,0,!1),n(e,59,0,"console",t.consoleCommand,"true"),n(e,62,0,"/settings/console"),n(e,66,0),n(e,69,0,!1),n(e,91,0,"primary")}),(function(n,e){n(e,10,0,o["ɵnov"](e,11).expanded,"NoopAnimations"===o["ɵnov"](e,11)._animationMode,o["ɵnov"](e,11)._hasSpacing());var t=o["ɵnov"](e,15).panel._headerId,l=o["ɵnov"](e,15).disabled?-1:0,i=o["ɵnov"](e,15)._getPanelId(),r=o["ɵnov"](e,15)._isExpanded(),a=o["ɵnov"](e,15).panel.disabled,u=o["ɵnov"](e,15)._isExpanded(),s="after"===o["ɵnov"](e,15)._getTogglePosition(),d="before"===o["ɵnov"](e,15)._getTogglePosition(),c=o["ɵnov"](e,15)._animationsDisabled,p=n(e,17,0,o["ɵnov"](e,15)._getExpandedState(),n(e,16,0,o["ɵnov"](e,15).collapsedHeight,o["ɵnov"](e,15).expandedHeight));n(e,14,0,t,l,i,r,a,u,s,d,c,p),n(e,25,1,[o["ɵnov"](e,26).id,null,o["ɵnov"](e,26).indeterminate,o["ɵnov"](e,26).checked,o["ɵnov"](e,26).disabled,"before"==o["ɵnov"](e,26).labelPosition,"NoopAnimations"===o["ɵnov"](e,26)._animationMode,o["ɵnov"](e,30).ngClassUntouched,o["ɵnov"](e,30).ngClassTouched,o["ɵnov"](e,30).ngClassPristine,o["ɵnov"](e,30).ngClassDirty,o["ɵnov"](e,30).ngClassValid,o["ɵnov"](e,30).ngClassInvalid,o["ɵnov"](e,30).ngClassPending]),n(e,32,0,o["ɵnov"](e,33).expanded,"NoopAnimations"===o["ɵnov"](e,33)._animationMode,o["ɵnov"](e,33)._hasSpacing());var f=o["ɵnov"](e,37).panel._headerId,h=o["ɵnov"](e,37).disabled?-1:0,m=o["ɵnov"](e,37)._getPanelId(),v=o["ɵnov"](e,37)._isExpanded(),g=o["ɵnov"](e,37).panel.disabled,b=o["ɵnov"](e,37)._isExpanded(),_="after"===o["ɵnov"](e,37)._getTogglePosition(),y="before"===o["ɵnov"](e,37)._getTogglePosition(),C=o["ɵnov"](e,37)._animationsDisabled,w=n(e,39,0,o["ɵnov"](e,37)._getExpandedState(),n(e,38,0,o["ɵnov"](e,37).collapsedHeight,o["ɵnov"](e,37).expandedHeight));n(e,36,0,f,h,m,v,g,b,_,y,C,w),n(e,47,1,["standard"==o["ɵnov"](e,48).appearance,"fill"==o["ɵnov"](e,48).appearance,"outline"==o["ɵnov"](e,48).appearance,"legacy"==o["ɵnov"](e,48).appearance,o["ɵnov"](e,48)._control.errorState,o["ɵnov"](e,48)._canLabelFloat,o["ɵnov"](e,48)._shouldLabelFloat(),o["ɵnov"](e,48)._hasFloatingLabel(),o["ɵnov"](e,48)._hideControlPlaceholder(),o["ɵnov"](e,48)._control.disabled,o["ɵnov"](e,48)._control.autofilled,o["ɵnov"](e,48)._control.focused,"accent"==o["ɵnov"](e,48).color,"warn"==o["ɵnov"](e,48).color,o["ɵnov"](e,48)._shouldForward("untouched"),o["ɵnov"](e,48)._shouldForward("touched"),o["ɵnov"](e,48)._shouldForward("pristine"),o["ɵnov"](e,48)._shouldForward("dirty"),o["ɵnov"](e,48)._shouldForward("valid"),o["ɵnov"](e,48)._shouldForward("invalid"),o["ɵnov"](e,48)._shouldForward("pending"),!o["ɵnov"](e,48)._animationsEnabled]),n(e,58,0,o["ɵnov"](e,59)._isServer,o["ɵnov"](e,59).id,o["ɵnov"](e,59).placeholder,o["ɵnov"](e,59).disabled,o["ɵnov"](e,59).required,o["ɵnov"](e,59).readonly&&!o["ɵnov"](e,59)._isNativeSelect||null,o["ɵnov"](e,59)._ariaDescribedby||null,o["ɵnov"](e,59).errorState,o["ɵnov"](e,59).required.toString()),n(e,61,0,o["ɵnov"](e,62).target,o["ɵnov"](e,62).href,o["ɵnov"](e,63).disabled?-1:o["ɵnov"](e,63).tabIndex||0,o["ɵnov"](e,63).disabled||null,o["ɵnov"](e,63).disabled.toString(),"NoopAnimations"===o["ɵnov"](e,63)._animationMode),n(e,65,0,o["ɵnov"](e,66).inline,"primary"!==o["ɵnov"](e,66).color&&"accent"!==o["ɵnov"](e,66).color&&"warn"!==o["ɵnov"](e,66).color),n(e,68,0,o["ɵnov"](e,69).expanded,"NoopAnimations"===o["ɵnov"](e,69)._animationMode,o["ɵnov"](e,69)._hasSpacing());var S=o["ɵnov"](e,73).panel._headerId,x=o["ɵnov"](e,73).disabled?-1:0,k=o["ɵnov"](e,73)._getPanelId(),E=o["ɵnov"](e,73)._isExpanded(),T=o["ɵnov"](e,73).panel.disabled,R=o["ɵnov"](e,73)._isExpanded(),I="after"===o["ɵnov"](e,73)._getTogglePosition(),D="before"===o["ɵnov"](e,73)._getTogglePosition(),F=o["ɵnov"](e,73)._animationsDisabled,O=n(e,75,0,o["ɵnov"](e,73)._getExpandedState(),n(e,74,0,o["ɵnov"](e,73).collapsedHeight,o["ɵnov"](e,73).expandedHeight));n(e,72,0,S,x,k,E,T,R,I,D,F,O),n(e,83,0,o["ɵnov"](e,84).disabled||null,"NoopAnimations"===o["ɵnov"](e,84)._animationMode),n(e,86,0,o["ɵnov"](e,87).disabled||null,"NoopAnimations"===o["ɵnov"](e,87)._animationMode),n(e,90,0,o["ɵnov"](e,91).disabled||null,"NoopAnimations"===o["ɵnov"](e,91)._animationMode)}))}function L_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-settings",[],null,null,null,q_,P_)),o["ɵdid"](1,114688,null,0,M_,[_b,hc,N_,A_],null,null)],(function(n,e){n(e,1,0)}),null)}var j_=o["ɵccf"]("app-settings",M_,L_,{},{},[]),V_=function(){function n(n,e,t){this.router=n,this.consoleService=e,this.toasterService=t,this.consoleForm=new Tm({command:new Em("")})}return n.prototype.ngOnInit=function(){this.consoleForm.get("command").setValue(this.consoleService.command)},n.prototype.goBack=function(){this.router.navigate(["/settings"])},n.prototype.save=function(){this.consoleService.command=this.consoleForm.value.command,this.toasterService.success("Console command has been updated."),this.goBack()},n}(),B_=o["ɵcrt"]({encapsulation:0,styles:[[".help[_ngcontent-%COMP%]{font-size:14px}"]],data:{}});function H_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,53,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Console settings"])),(n()(),o["ɵeld"](5,0,null,null,48,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,39,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,37,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field full-width-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","command"],["matInput",""],["placeholder","Command"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,13,"div",[["class","help"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["The following variables are replaced by GNS3:"])),(n()(),o["ɵeld"](34,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %h: console IP or hostname"])),(n()(),o["ɵeld"](36,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %p: console port"])),(n()(),o["ɵeld"](38,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %s: path of the serial connection"])),(n()(),o["ɵeld"](40,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %d: title of the console"])),(n()(),o["ɵeld"](42,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %i: Project UUID"])),(n()(),o["ɵeld"](44,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" %c: server URL (http://user:password@server:port) "])),(n()(),o["ɵeld"](46,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](47,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](48,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](50,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.save()&&l),l}),ou,lu)),o["ɵdid"](51,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"])),(n()(),o["ɵeld"](53,0,null,null,0,"br",[],null,null,null,null,null))],(function(n,e){n(e,10,0,e.component.consoleForm),n(e,27,0,"command"),n(e,30,0,"Command"),n(e,51,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,47,0,o["ɵnov"](e,48).disabled||null,"NoopAnimations"===o["ɵnov"](e,48)._animationMode),n(e,50,0,o["ɵnov"](e,51).disabled||null,"NoopAnimations"===o["ɵnov"](e,51)._animationMode)}))}function U_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-console",[],null,null,null,H_,B_)),o["ɵdid"](1,114688,null,0,V_,[vl,N_,hc],null,null)],(function(n,e){n(e,1,0)}),null)}var z_=o["ɵccf"]("app-console",V_,U_,{},{},[]),G_=function(){function n(n){this.httpClient=n,this.onLoad=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.httpClient.get("https://servedbyadbutler.com/adserve/;ID=165803;size=0x0;setID=371476;type=json;").subscribe((function(e){e&&e.placements?(n.onLoad.emit(!0),n.htmlCode=e.placements.placement_1.body,n.ad.nativeElement.insertAdjacentHTML("beforeend",n.htmlCode)):n.onLoad.emit(!1)}),(function(n){}))},n}(),W_=o["ɵcrt"]({encapsulation:2,styles:[[".ad{background-color:transparent;width:400px;padding-top:10px;padding-bottom:10px;font-size:12px}button{background-color:#0097a7;margin-top:10px;border:none;outline:0;padding:5px 15px;color:#fff;font-weight:700;border-radius:4px}a{color:#0097a7}button a{color:#fff}"]],data:{}});function Z_(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{ad:0}),(n()(),o["ɵeld"](1,0,[[1,0],["ad",1]],null,0,"div",[["class","ad"]],null,null,null,null,null))],null,null)}function K_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-adbutler",[],null,null,null,Z_,W_)),o["ɵdid"](1,114688,null,0,G_,[Iu],null,null)],(function(n,e){n(e,1,0)}),null)}var X_=o["ɵccf"]("app-adbutler",G_,K_,{},{},[]),Y_=function(){function n(n){this.electronService=n,this.installedChanged=new o.EventEmitter,this.disabled=!1,this.readyToInstall=!0}return n.prototype.ngOnInit=function(){var n=this;this.electronService.ipcRenderer.on(this.responseChannel,(function(e,t){n.updateButton(),n.installedChanged.emit(t)}))},n.prototype.ngOnDestroy=function(){this.electronService.ipcRenderer.removeAllListeners(this.responseChannel)},n.prototype.ngOnChanges=function(){this.updateButton()},n.prototype.install=function(){this.disabled=!0,this.buttonText="Installing",this.electronService.ipcRenderer.send("installed-software-install",this.software)},Object.defineProperty(n.prototype,"responseChannel",{get:function(){return"installed-software-installed-"+this.software.name},enumerable:!0,configurable:!0}),n.prototype.updateButton=function(){this.disabled=this.software.installed,this.buttonText=this.software.installed?"Installed":"Install"},n}(),$_=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Q_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component.buttonText)}))}function J_(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.install()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,Q_)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.disabled,"primary"),n(e,3,0,t.readyToInstall)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}var ny=function(){function n(n,e){this.installedSoftwareService=n,this.changeDetectorRef=e,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){this.dataSource=new ey(this.installedSoftwareService)},n.prototype.onInstalled=function(n){this.dataSource.refresh(),this.changeDetectorRef.detectChanges()},n}(),ey=function(n){function e(e){var t=n.call(this)||this;return t.installedSoftwareService=e,t.installed=new Rn.a([]),t}return i.c(e,n),e.prototype.connect=function(){return this.refresh(),this.installed},e.prototype.disconnect=function(){},e.prototype.refresh=function(){var n=this.installedSoftwareService.list();n.push({type:"adbutler"}),this.installed.next(n)},e}(Ds),ty=function(){function n(n,e){this.electronService=n,this.externalSoftwareDefinition=e}return n.prototype.list=function(){var n=this.externalSoftwareDefinition.get(),e=this.electronService.remote.require("./installed-software.js").getInstalledSoftware(n);return n.map((function(n){return n.installed=e[n.name].length>0,n}))},n}(),ly=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function oy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Name "]))],null,null)}function iy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," "]))],null,(function(n,e){n(e,1,0,e.parent.context.$implicit.name)}))}function ry(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"app-adbutler",[["theme","dark"]],null,null,null,Z_,W_)),o["ɵdid"](2,114688,null,0,G_,[Iu],null,null)],(function(n,e){n(e,2,0)}),null)}function ay(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,iy)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ry)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,"adbutler"!==e.context.$implicit.type),n(e,5,0,"adbutler"===e.context.$implicit.type)}),null)}function uy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null)],null,null)}function sy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-install-software",[],null,[[null,"installedChanged"]],(function(n,e,t){var l=!0;return"installedChanged"===e&&(l=!1!==n.component.onInstalled(t)&&l),l}),J_,$_)),o["ɵdid"](1,770048,null,0,Y_,[sc],{software:[0,"software"]},{installedChanged:"installedChanged"})],(function(n,e){n(e,1,0,e.parent.context.$implicit)}),null)}function dy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,sy)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,"adbutler"!==e.context.$implicit.type)}),null)}function cy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function py(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function fy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,44,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Installed software"])),(n()(),o["ɵeld"](4,0,null,null,40,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,39,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,38,"mat-table",[["class","mat-table"]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](8,2342912,[["table",4]],4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](13,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](15,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,oy)),o["ɵdid"](21,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,ay)),o["ɵdid"](24,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](26,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](28,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,uy)),o["ɵdid"](34,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,dy)),o["ɵdid"](37,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,cy)),o["ɵdid"](40,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,py)),o["ɵdid"](43,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,8,0,t.dataSource),n(e,15,0,"name"),n(e,28,0,"actions"),n(e,40,0,t.displayedColumns),n(e,43,0,t.displayedColumns)}),null)}function hy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-installed-software",[],null,null,null,fy,ly)),o["ɵdid"](1,114688,null,0,ny,[ty,o.ChangeDetectorRef],null,null)],(function(n,e){n(e,1,0)}),null)}var my=o["ɵccf"]("app-installed-software",ny,hy,{},{},[]),vy=function(){return function(){this.class="",this.backgroundGradient=!1,this.backgroundColor="transparent",this.backgroundGradientStopColor="transparent",this.backgroundOpacity=1,this.backgroundStroke="transparent",this.backgroundStrokeWidth=0,this.backgroundPadding=5,this.percent=0,this.radius=90,this.space=4,this.toFixed=0,this.maxPercent=1e3,this.renderOnClick=!0,this.units="%",this.unitsFontSize="10",this.unitsFontWeight="normal",this.unitsColor="#444444",this.outerStrokeGradient=!1,this.outerStrokeWidth=8,this.outerStrokeColor="#78C000",this.outerStrokeGradientStopColor="transparent",this.outerStrokeLinecap="round",this.innerStrokeColor="#C7E596",this.innerStrokeWidth=4,this.titleFormat=void 0,this.title="auto",this.titleColor="#444444",this.titleFontSize="20",this.titleFontWeight="normal",this.subtitleFormat=void 0,this.subtitle="progress",this.subtitleColor="#A9A9A9",this.subtitleFontSize="10",this.subtitleFontWeight="normal",this.imageSrc=void 0,this.imageHeight=void 0,this.imageWidth=void 0,this.animation=!0,this.animateTitle=!0,this.animateSubtitle=!1,this.animationDuration=500,this.showTitle=!0,this.showSubtitle=!0,this.showUnits=!0,this.showImage=!1,this.showBackground=!0,this.showInnerStroke=!0,this.clockwise=!0,this.responsive=!1,this.startFromZero=!0,this.showZeroOuterStroke=!0,this.lazy=!1}}(),gy=function(){function n(n,e,t){var l=this;this.elRef=e,this.document=t,this.onClick=new o.EventEmitter,this.svgElement=null,this.isInViewport=!1,this.onViewportChanged=new o.EventEmitter,this._viewportChangedSubscriber=null,this.options=new vy,this.defaultOptions=new vy,this._lastPercent=0,this._gradientUUID=null,this.render=function(){l.applyOptions(),l.options.lazy?(null===l.svgElement&&l.draw(l._lastPercent),l.isInViewport&&(l.options.animation&&l.options.animationDuration>0?l.animate(l._lastPercent,l.options.percent):l.draw(l.options.percent),l._lastPercent=l.options.percent)):(l.options.animation&&l.options.animationDuration>0?l.animate(l._lastPercent,l.options.percent):l.draw(l.options.percent),l._lastPercent=l.options.percent)},this.polarToCartesian=function(n,e,t,l){var o=l*Math.PI/180;return{x:n+Math.sin(o)*t,y:e-Math.cos(o)*t}},this.draw=function(n){var e,t,o,r,a,u,s=(n=void 0===n?l.options.percent:Math.abs(n))>100?100:n,d=2*l.options.radius+2*l.options.outerStrokeWidth;l.options.showBackground&&(d+=2*l.options.backgroundStrokeWidth+l.max(0,2*l.options.backgroundPadding));var c,p,f={x:d/2,y:d/2},h=f.x,m=f.y-l.options.radius,v=l.polarToCartesian(f.x,f.y,l.options.radius,360*(l.options.clockwise?s:100-s)/100);100===s&&(v.x=v.x+(l.options.clockwise?-.01:.01)),s>50?(c=(e=Object(i.e)(l.options.clockwise?[1,1]:[1,0],2))[0],p=e[1]):(c=(t=Object(i.e)(l.options.clockwise?[0,1]:[0,0],2))[0],p=t[1]);var g=l.options.animateTitle?n:l.options.percent,b=g>l.options.maxPercent?l.options.maxPercent.toFixed(l.options.toFixed)+"+":g.toFixed(l.options.toFixed),_=l.options.animateSubtitle?n:l.options.percent,y={x:f.x,y:f.y,textAnchor:"middle",color:l.options.titleColor,fontSize:l.options.titleFontSize,fontWeight:l.options.titleFontWeight,texts:[],tspans:[]};void 0!==l.options.titleFormat&&"Function"===l.options.titleFormat.constructor.name?(C=l.options.titleFormat(g))instanceof Array?y.texts=Object(i.f)(C):y.texts.push(C.toString()):"auto"===l.options.title?y.texts.push(b):l.options.title instanceof Array?y.texts=Object(i.f)(l.options.title):y.texts.push(l.options.title.toString());var C,w={x:f.x,y:f.y,textAnchor:"middle",color:l.options.subtitleColor,fontSize:l.options.subtitleFontSize,fontWeight:l.options.subtitleFontWeight,texts:[],tspans:[]};void 0!==l.options.subtitleFormat&&"Function"===l.options.subtitleFormat.constructor.name?(C=l.options.subtitleFormat(_))instanceof Array?w.texts=Object(i.f)(C):w.texts.push(C.toString()):l.options.subtitle instanceof Array?w.texts=Object(i.f)(l.options.subtitle):w.texts.push(l.options.subtitle.toString());var S={text:""+l.options.units,fontSize:l.options.unitsFontSize,fontWeight:l.options.unitsFontWeight,color:l.options.unitsColor},x=0,k=1;if(l.options.showTitle&&(x+=y.texts.length),l.options.showSubtitle&&(x+=w.texts.length),l.options.showTitle)try{for(var E=Object(i.g)(y.texts),T=E.next();!T.done;T=E.next())y.tspans.push({span:T.value,dy:l.getRelativeY(k,x)}),k++}catch(D){o={error:D}}finally{try{T&&!T.done&&(r=E.return)&&r.call(E)}finally{if(o)throw o.error}}if(l.options.showSubtitle)try{for(var R=Object(i.g)(w.texts),I=R.next();!I.done;I=R.next())w.tspans.push({span:I.value,dy:l.getRelativeY(k,x)}),k++}catch(F){a={error:F}}finally{try{I&&!I.done&&(u=R.return)&&u.call(R)}finally{if(a)throw a.error}}null===l._gradientUUID&&(l._gradientUUID=l.uuid()),l.svg={viewBox:"0 0 "+d+" "+d,width:l.options.responsive?"100%":d,height:l.options.responsive?"100%":d,backgroundCircle:{cx:f.x,cy:f.y,r:l.options.radius+l.options.outerStrokeWidth/2+l.options.backgroundPadding,fill:l.options.backgroundColor,fillOpacity:l.options.backgroundOpacity,stroke:l.options.backgroundStroke,strokeWidth:l.options.backgroundStrokeWidth},path:{d:"M "+h+" "+m+"\n A "+l.options.radius+" "+l.options.radius+" 0 "+c+" "+p+" "+v.x+" "+v.y,stroke:l.options.outerStrokeColor,strokeWidth:l.options.outerStrokeWidth,strokeLinecap:l.options.outerStrokeLinecap,fill:"none"},circle:{cx:f.x,cy:f.y,r:l.options.radius-l.options.space-l.options.outerStrokeWidth/2-l.options.innerStrokeWidth/2,fill:"none",stroke:l.options.innerStrokeColor,strokeWidth:l.options.innerStrokeWidth},title:y,units:S,subtitle:w,image:{x:f.x-l.options.imageWidth/2,y:f.y-l.options.imageHeight/2,src:l.options.imageSrc,width:l.options.imageWidth,height:l.options.imageHeight},outerLinearGradient:{id:"outer-linear-"+l._gradientUUID,colorStop1:l.options.outerStrokeColor,colorStop2:"transparent"===l.options.outerStrokeGradientStopColor?"#FFF":l.options.outerStrokeGradientStopColor},radialGradient:{id:"radial-"+l._gradientUUID,colorStop1:l.options.backgroundColor,colorStop2:"transparent"===l.options.backgroundGradientStopColor?"#FFF":l.options.backgroundGradientStopColor}}},this.getAnimationParameters=function(n,e){var t,o,i,r=l.options.startFromZero?0:n<0?0:n,a=e<0?0:l.min(e,l.options.maxPercent),u=Math.abs(Math.round(a-r));return u>=100?(t=100,o=l.options.animateTitle||l.options.animateSubtitle?Math.round(u/t):1):(t=u,o=1),(i=Math.round(l.options.animationDuration/t))<10&&(t=l.options.animationDuration/(i=10),o=!l.options.animateTitle&&!l.options.animateSubtitle&&u>100?Math.round(100/t):Math.round(u/t)),o<1&&(o=1),{times:t,step:o,interval:i}},this.animate=function(n,e){l._timerSubscription&&!l._timerSubscription.closed&&l._timerSubscription.unsubscribe();var t=l.options.startFromZero?0:n,o=e,i=l.getAnimationParameters(t,o),r=i.step,a=i.interval,u=t;l._timerSubscription=t<o?Object(Dp.a)(0,a).subscribe((function(){(u+=r)<=o?!l.options.animateTitle&&!l.options.animateSubtitle&&u>=100?(l.draw(o),l._timerSubscription.unsubscribe()):l.draw(u):(l.draw(o),l._timerSubscription.unsubscribe())})):Object(Dp.a)(0,a).subscribe((function(){(u-=r)>=o?!l.options.animateTitle&&!l.options.animateSubtitle&&o>=100?(l.draw(o),l._timerSubscription.unsubscribe()):l.draw(u):(l.draw(o),l._timerSubscription.unsubscribe())}))},this.emitClickEvent=function(n){l.options.renderOnClick&&l.animate(0,l.options.percent),l.onClick.emit(n)},this.applyOptions=function(){var n,e;try{for(var t=Object(i.g)(Object.keys(l.options)),o=t.next();!o.done;o=t.next()){var r=o.value;l.hasOwnProperty(r)&&void 0!==l[r]?l.options[r]=l[r]:l.templateOptions&&void 0!==l.templateOptions[r]&&(l.options[r]=l.templateOptions[r])}}catch(a){n={error:a}}finally{try{o&&!o.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}l.options.radius=Math.abs(+l.options.radius),l.options.space=+l.options.space,l.options.percent=+l.options.percent>0?+l.options.percent:0,l.options.maxPercent=Math.abs(+l.options.maxPercent),l.options.animationDuration=Math.abs(l.options.animationDuration),l.options.outerStrokeWidth=Math.abs(+l.options.outerStrokeWidth),l.options.innerStrokeWidth=Math.abs(+l.options.innerStrokeWidth),l.options.backgroundPadding=+l.options.backgroundPadding},this.getRelativeY=function(n,e){return(1*(n-e/2)-.18).toFixed(2)+"em"},this.min=function(n,e){return n<e?n:e},this.max=function(n,e){return n>e?n:e},this.uuid=function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)}))},this.findSvgElement=function(){if(null===this.svgElement){var n=this.elRef.nativeElement.getElementsByTagName("svg");n.length>0&&(this.svgElement=n[0])}},this.checkViewport=function(){l.findSvgElement();var n=l.isInViewport;l.isInViewport=l.isElementInViewport(l.svgElement),n!==l.isInViewport&&l.onViewportChanged.emit({oldValue:n,newValue:l.isInViewport})},this.onScroll=function(n){l.checkViewport()},this.loadEventsForLazyMode=function(){if(l.options.lazy){l.document.addEventListener("scroll",l.onScroll,!0),l.window.addEventListener("resize",l.onScroll,!0),null===l._viewportChangedSubscriber&&(l._viewportChangedSubscriber=l.onViewportChanged.subscribe((function(n){n.newValue&&l.render()})));var n=Object(Dp.a)(0,50).subscribe((function(){null===l.svgElement?l.checkViewport():n.unsubscribe()}))}},this.unloadEventsForLazyMode=function(){l.document.removeEventListener("scroll",l.onScroll,!0),l.window.removeEventListener("resize",l.onScroll,!0),null!==l._viewportChangedSubscriber&&(l._viewportChangedSubscriber.unsubscribe(),l._viewportChangedSubscriber=null)},this.document=t,this.window=this.document.defaultView,Object.assign(this.options,n),Object.assign(this.defaultOptions,n)}return n.prototype.isDrawing=function(){return this._timerSubscription&&!this._timerSubscription.closed},n.prototype.isElementInViewport=function(n){if(null==n)return!1;var e,t=n.getBoundingClientRect(),l=n.parentNode;do{if(e=l.getBoundingClientRect(),t.top>=e.bottom)return!1;if(t.bottom<=e.top)return!1;if(t.left>=e.right)return!1;if(t.right<=e.left)return!1;l=l.parentNode}while(l!=this.document.body);return!(t.top>=(this.window.innerHeight||this.document.documentElement.clientHeight)||t.bottom<=0||t.left>=(this.window.innerWidth||this.document.documentElement.clientWidth)||t.right<=0)},n.prototype.ngOnInit=function(){this.loadEventsForLazyMode()},n.prototype.ngOnDestroy=function(){this.unloadEventsForLazyMode()},n.prototype.ngOnChanges=function(n){this.render(),"lazy"in n&&(n.lazy.currentValue?this.loadEventsForLazyMode():this.unloadEventsForLazyMode())},n}(),by=function(){function n(){}var e;return e=n,n.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:vy,useValue:n}]}},n}(),_y=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function yy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,":svg:linearGradient",[],[[1,"id",0]],null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:stop",[["offset","5%"]],[[1,"stop-color",0],[1,"stop-opacity",0]],null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,0,":svg:stop",[["offset","95%"]],[[1,"stop-color",0],[1,"stop-opacity",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.outerLinearGradient.id),n(e,1,0,t.svg.outerLinearGradient.colorStop1,1),n(e,2,0,t.svg.outerLinearGradient.colorStop2,1)}))}function Cy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,":svg:radialGradient",[],[[1,"id",0]],null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:stop",[["offset","5%"]],[[1,"stop-color",0],[1,"stop-opacity",0]],null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,0,":svg:stop",[["offset","95%"]],[[1,"stop-color",0],[1,"stop-opacity",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.radialGradient.id),n(e,1,0,t.svg.radialGradient.colorStop1,1),n(e,2,0,t.svg.radialGradient.colorStop2,1)}))}function wy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[],[[1,"cx",0],[1,"cy",0],[1,"r",0],[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.backgroundCircle.cx,t.svg.backgroundCircle.cy,t.svg.backgroundCircle.r,t.svg.backgroundCircle.fill,t.svg.backgroundCircle.fillOpacity,t.svg.backgroundCircle.stroke,t.svg.backgroundCircle.strokeWidth)}))}function Sy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[],[[1,"cx",0],[1,"cy",0],[1,"r",0],[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.backgroundCircle.cx,t.svg.backgroundCircle.cy,t.svg.backgroundCircle.r,o["ɵinlineInterpolate"](1,"url(#",t.svg.radialGradient.id,")"),t.svg.backgroundCircle.fillOpacity,t.svg.backgroundCircle.stroke,t.svg.backgroundCircle.strokeWidth)}))}function xy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,wy)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Sy)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){var t=e.component;n(e,2,0,!t.options.backgroundGradient),n(e,4,0,t.options.backgroundGradient)}),null)}function ky(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[],[[1,"cx",0],[1,"cy",0],[1,"r",0],[1,"fill",0],[1,"stroke",0],[1,"stroke-width",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.circle.cx,t.svg.circle.cy,t.svg.circle.r,t.svg.circle.fill,t.svg.circle.stroke,t.svg.circle.strokeWidth)}))}function Ey(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:path",[],[[1,"d",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-linecap",0],[1,"fill",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.path.d,t.svg.path.stroke,t.svg.path.strokeWidth,t.svg.path.strokeLinecap,t.svg.path.fill)}))}function Ty(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:path",[],[[1,"d",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-linecap",0],[1,"fill",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.path.d,o["ɵinlineInterpolate"](1,"url(#",t.svg.outerLinearGradient.id,")"),t.svg.path.strokeWidth,t.svg.path.strokeLinecap,t.svg.path.fill)}))}function Ry(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Ey)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ty)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){var t=e.component;n(e,2,0,!t.options.outerStrokeGradient),n(e,4,0,t.options.outerStrokeGradient)}),null)}function Iy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:tspan",[],[[1,"x",0],[1,"y",0],[1,"dy",0],[1,"font-size",0],[1,"font-weight",0],[1,"fill",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.title.x,t.svg.title.y,e.context.$implicit.dy,t.svg.title.fontSize,t.svg.title.fontWeight,t.svg.title.color),n(e,1,0,e.context.$implicit.span)}))}function Dy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Iy)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,e.component.svg.title.tspans)}),null)}function Fy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:tspan",[],[[1,"font-size",0],[1,"font-weight",0],[1,"fill",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.units.fontSize,t.svg.units.fontWeight,t.svg.units.color),n(e,1,0,t.svg.units.text)}))}function Oy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:tspan",[],[[1,"x",0],[1,"y",0],[1,"dy",0],[1,"font-size",0],[1,"font-weight",0],[1,"fill",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.subtitle.x,t.svg.subtitle.y,e.context.$implicit.dy,t.svg.subtitle.fontSize,t.svg.subtitle.fontWeight,t.svg.subtitle.color),n(e,1,0,e.context.$implicit.span)}))}function My(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Oy)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,2,0,e.component.svg.subtitle.tspans)}),null)}function Ny(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,":svg:text",[["alignment-baseline","baseline"]],[[1,"x",0],[1,"y",0],[1,"text-anchor",0]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Dy)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Fy)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,My)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.options.showTitle),n(e,4,0,t.options.showUnits),n(e,6,0,t.options.showSubtitle)}),(function(n,e){var t=e.component;n(e,0,0,t.svg.circle.cx,t.svg.circle.cy,t.svg.title.textAnchor)}))}function Ay(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:image",[["preserveAspectRatio","none"]],[[1,"height",0],[1,"width",0],[1,":xlink:href",0],[1,"x",0],[1,"y",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.svg.image.height,t.svg.image.width,t.svg.image.src,t.svg.image.x,t.svg.image.y)}))}function Py(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,15,":svg:svg",[["preserveAspectRatio","xMidYMid meet"],["xmlns","http://www.w3.org/2000/svg"]],[[1,"viewBox",0],[1,"height",0],[1,"width",0],[1,"class",0]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.emitClickEvent(t)&&l),l}),null,null)),(n()(),o["ɵeld"](1,0,null,null,4,":svg:defs",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,yy)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Cy)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,xy)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ky)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ry)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ny)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ay)),o["ɵdid"](15,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0,t.options.outerStrokeGradient),n(e,5,0,t.options.backgroundGradient),n(e,7,0,t.options.showBackground),n(e,9,0,t.options.showInnerStroke),n(e,11,0,t.options.percent-0!=0||t.options.showZeroOuterStroke),n(e,13,0,!t.options.showImage&&(t.options.showTitle||t.options.showUnits||t.options.showSubtitle)),n(e,15,0,t.options.showImage)}),(function(n,e){var t=e.component;n(e,0,0,t.svg.viewBox,t.svg.height,t.svg.width,t.options.class)}))}function qy(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,Py)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.svg)}),null)}var Ly=function(n){function e(e,t,l,i,r,a){var u=n.call(this,e)||this;return u._elementRef=e,u._ngZone=t,u._changeDetectorRef=a,u._hasFocus=!1,u.chipListSelectable=!0,u._chipListMultiple=!1,u._selected=!1,u._selectable=!0,u._removable=!0,u._onFocus=new Mn.b,u._onBlur=new Mn.b,u.selectionChange=new o.EventEmitter,u.destroyed=new o.EventEmitter,u.removed=new o.EventEmitter,u._addHostClassName(),u._chipRipple=new oi(u,t,e,l),u._chipRipple.setupTriggerEvents(e),u.rippleConfig=i||{},u._animationsDisabled="NoopAnimations"===r,u}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},set:function(n){var e=$l(n);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(n){this._value=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._selectable&&this.chipListSelectable},set:function(n){this._selectable=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"removable",{get:function(){return this._removable},set:function(n){this._removable=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaSelected",{get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null},enumerable:!0,configurable:!0}),e.prototype._addHostClassName=function(){var n=this._elementRef.nativeElement;n.hasAttribute("mat-basic-chip")||"mat-basic-chip"===n.tagName.toLowerCase()?n.classList.add("mat-basic-chip"):n.classList.add("mat-standard-chip")},e.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()},e.prototype.select=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())},e.prototype.deselect=function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())},e.prototype.selectViaInteraction=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())},e.prototype.toggleSelected=function(n){return void 0===n&&(n=!1),this._selected=!this.selected,this._dispatchSelectionChange(n),this._markForCheck(),this.selected},e.prototype.focus=function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0},e.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},e.prototype._handleClick=function(n){this.disabled?n.preventDefault():n.stopPropagation()},e.prototype._handleKeydown=function(n){if(!this.disabled)switch(n.keyCode){case 46:case 8:this.remove(),n.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),n.preventDefault()}},e.prototype._blur=function(){var n=this;this._ngZone.onStable.asObservable().pipe(Object(Un.a)(1)).subscribe((function(){n._ngZone.run((function(){n._hasFocus=!1,n._onBlur.next({chip:n})}))}))},e.prototype._dispatchSelectionChange=function(n){void 0===n&&(n=!1),this.selectionChange.emit({source:this,isUserInput:n,selected:this._selected})},e.prototype._markForCheck=function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()},e}(Bo(Ho(Vo(function(){return function(n){this._elementRef=n}}())),"primary")),jy=new o.InjectionToken("mat-chips-default-options"),Vy=zo(function(){return function(n,e,t,l){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=l}}()),By=0,Hy=function(){return function(n,e){this.source=n,this.value=e}}(),Uy=function(n){function e(e,t,l,i,r,a,u){var s=n.call(this,a,i,r,u)||this;return s._elementRef=e,s._changeDetectorRef=t,s._dir=l,s.ngControl=u,s.controlType="mat-chip-list",s._lastDestroyedChipIndex=null,s._destroyed=new Mn.b,s._uid="mat-chip-list-"+By++,s._tabIndex=0,s._userTabIndex=null,s._onTouched=function(){},s._onChange=function(){},s._multiple=!1,s._compareWith=function(n,e){return n===e},s._required=!1,s._disabled=!1,s.ariaOrientation="horizontal",s._selectable=!0,s.change=new o.EventEmitter,s.valueChange=new o.EventEmitter,s.ngControl&&(s.ngControl.valueAccessor=s),s}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(n){this._multiple=$l(n),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this.writeValue(n),this._value=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._chipInput?this._chipInput.id:this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=$l(n),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(n){this._placeholder=n,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(n){this._disabled=$l(n),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._selectable},set:function(n){var e=this;this._selectable=$l(n),this.chips&&this.chips.forEach((function(n){return n.chipListSelectable=e._selectable}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{set:function(n){this._userTabIndex=n,this._tabIndex=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipSelectionChanges",{get:function(){return ys.a.apply(void 0,this.chips.map((function(n){return n.selectionChange})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipFocusChanges",{get:function(){return ys.a.apply(void 0,this.chips.map((function(n){return n._onFocus})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipBlurChanges",{get:function(){return ys.a.apply(void 0,this.chips.map((function(n){return n._onBlur})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipRemoveChanges",{get:function(){return ys.a.apply(void 0,this.chips.map((function(n){return n.destroyed})))},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var n=this;this._keyManager=new wo(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(ws.a)(this._destroyed)).subscribe((function(e){return n._keyManager.withHorizontalOrientation(e)})),this._keyManager.tabOut.pipe(Object(ws.a)(this._destroyed)).subscribe((function(){n._allowFocusEscape()})),this.chips.changes.pipe(Object(zn.a)(null),Object(ws.a)(this._destroyed)).subscribe((function(){n.disabled&&Promise.resolve().then((function(){n._syncChipsState()})),n._resetChips(),n._initializeSelection(),n._updateTabIndex(),n._updateFocusForDestroyedChips(),n.stateChanges.next()}))},e.prototype.ngOnInit=function(){this._selectionModel=new Os(this.multiple,void 0,!1),this.stateChanges.next()},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()},e.prototype.registerInput=function(n){this._chipInput=n},e.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},e.prototype.writeValue=function(n){this.chips&&this._setSelectionByValue(n,!1)},e.prototype.registerOnChange=function(n){this._onChange=n},e.prototype.registerOnTouched=function(n){this._onTouched=n},e.prototype.setDisabledState=function(n){this.disabled=n,this.stateChanges.next()},e.prototype.onContainerClick=function(n){this._originatesFromChip(n)||this.focus()},e.prototype.focus=function(n){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(n),this.stateChanges.next()))},e.prototype._focusInput=function(n){this._chipInput&&this._chipInput.focus(n)},e.prototype._keydown=function(n){var e=n.target;8===n.keyCode&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),n.preventDefault()):e&&e.classList.contains("mat-chip")&&(36===n.keyCode?(this._keyManager.setFirstItemActive(),n.preventDefault()):35===n.keyCode?(this._keyManager.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n),this.stateChanges.next())},e.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},e.prototype._updateFocusForDestroyedChips=function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var n=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(n)}else this.focus();this._lastDestroyedChipIndex=null},e.prototype._isValidIndex=function(n){return n>=0&&n<this.chips.length},e.prototype._isInputEmpty=function(n){return!(!n||"input"!==n.nodeName.toLowerCase()||n.value)},e.prototype._setSelectionByValue=function(n,e){var t=this;if(void 0===e&&(e=!0),this._clearSelection(),this.chips.forEach((function(n){return n.deselect()})),Array.isArray(n))n.forEach((function(n){return t._selectValue(n,e)})),this._sortValues();else{var l=this._selectValue(n,e);l&&e&&this._keyManager.setActiveItem(l)}},e.prototype._selectValue=function(n,e){var t=this;void 0===e&&(e=!0);var l=this.chips.find((function(e){return null!=e.value&&t._compareWith(e.value,n)}));return l&&(e?l.selectViaInteraction():l.select(),this._selectionModel.select(l)),l},e.prototype._initializeSelection=function(){var n=this;Promise.resolve().then((function(){(n.ngControl||n._value)&&(n._setSelectionByValue(n.ngControl?n.ngControl.value:n._value,!1),n.stateChanges.next())}))},e.prototype._clearSelection=function(n){this._selectionModel.clear(),this.chips.forEach((function(e){e!==n&&e.deselect()})),this.stateChanges.next()},e.prototype._sortValues=function(){var n=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach((function(e){e.selected&&n._selectionModel.select(e)})),this.stateChanges.next())},e.prototype._propagateChanges=function(n){var e;e=Array.isArray(this.selected)?this.selected.map((function(n){return n.value})):this.selected?this.selected.value:n,this._value=e,this.change.emit(new Hy(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()},e.prototype._blur=function(){var n=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout((function(){n.focused||n._markAsTouched()})):this._markAsTouched())},e.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},e.prototype._allowFocusEscape=function(){var n=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout((function(){n._tabIndex=n._userTabIndex||0,n._changeDetectorRef.markForCheck()})))},e.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},e.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)},e.prototype._listenToChipsSelection=function(){var n=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe((function(e){e.source.selected?n._selectionModel.select(e.source):n._selectionModel.deselect(e.source),n.multiple||n.chips.forEach((function(e){!n._selectionModel.isSelected(e)&&e.selected&&e.deselect()})),e.isUserInput&&n._propagateChanges()}))},e.prototype._listenToChipsFocus=function(){var n=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe((function(e){var t=n.chips.toArray().indexOf(e.chip);n._isValidIndex(t)&&n._keyManager.updateActiveItemIndex(t),n.stateChanges.next()})),this._chipBlurSubscription=this.chipBlurChanges.subscribe((function(){n._blur(),n.stateChanges.next()}))},e.prototype._listenToChipsRemoved=function(){var n=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe((function(e){var t=e.chip,l=n.chips.toArray().indexOf(e.chip);n._isValidIndex(l)&&t._hasFocus&&(n._lastDestroyedChipIndex=l)}))},e.prototype._originatesFromChip=function(n){for(var e=n.target;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1},e.prototype._hasFocusedChip=function(){return this.chips.some((function(n){return n._hasFocus}))},e.prototype._syncChipsState=function(){var n=this;this.chips&&this.chips.forEach((function(e){e.disabled=n._disabled,e._chipListMultiple=n.multiple}))},e}(Vy),zy=function(){return function(){}}(),Gy=o["ɵcrt"]({encapsulation:2,styles:[".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:'';pointer-events:none;transition:opacity .2s cubic-bezier(.35,0,.25,1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:0}.mat-standard-chip:focus::after{opacity:.16}@media (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"],data:{}});function Wy(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-chip-list-wrapper"]],null,null,null,null,null)),o["ɵncd"](null,0)],null,null)}var Zy=function(){function n(){}return n.prototype.ngOnInit=function(){},n.prototype.formatBytes=function(n,e){if(void 0===e&&(e=2),0===n)return"0 Bytes";var t=e<0?0:e,l=Math.floor(Math.log(n)/Math.log(1024));return parseFloat((n/Math.pow(1024,l)).toFixed(t))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][l]},n}(),Ky=o["ɵcrt"]({encapsulation:0,styles:[[".wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;margin-bottom:40px}"]],data:{}});function Xy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,82,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](1,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,8,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](4,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),(n()(),o["ɵeld"](5,0,null,null,1,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](6,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),(n()(),o["ɵeld"](7,0,null,null,1,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](8,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),(n()(),o["ɵeld"](9,0,null,null,1,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](10,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),(n()(),o["ɵeld"](11,0,null,0,9,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,2,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](13,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),o["ɵpad"](14,2),(n()(),o["ɵeld"](15,0,null,null,2,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](16,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),o["ɵpad"](17,2),(n()(),o["ɵeld"](18,0,null,null,2,"circle-progress",[],null,null,null,qy,_y)),o["ɵdid"](19,770048,null,0,gy,[vy,o.ElementRef,r.DOCUMENT],{radius:[0,"radius"],percent:[1,"percent"],unitsFontSize:[2,"unitsFontSize"],unitsColor:[3,"unitsColor"],outerStrokeWidth:[4,"outerStrokeWidth"],outerStrokeColor:[5,"outerStrokeColor"],innerStrokeColor:[6,"innerStrokeColor"],innerStrokeWidth:[7,"innerStrokeWidth"],titleColor:[8,"titleColor"],titleFontSize:[9,"titleFontSize"],subtitle:[10,"subtitle"],subtitleColor:[11,"subtitleColor"],subtitleFontSize:[12,"subtitleFontSize"],animation:[13,"animation"],animationDuration:[14,"animationDuration"]},null),o["ɵpad"](20,2),(n()(),o["ɵeld"](21,0,null,0,30,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](22,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,24).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,24)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,24)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](24,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,1,{chips:1}),(n()(),o["ɵeld"](26,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,27)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,27)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._blur()&&l),l}),null,null)),o["ɵdid"](27,147456,[[1,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,2,{avatar:0}),o["ɵqud"](603979776,3,{trailingIcon:0}),o["ɵqud"](603979776,4,{removeIcon:0}),(n()(),o["ɵted"](31,null,["Memory total: ",""])),(n()(),o["ɵeld"](32,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,34).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,34)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,34)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](34,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,5,{chips:1}),(n()(),o["ɵeld"](36,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,37)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,37)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,37).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,37)._blur()&&l),l}),null,null)),o["ɵdid"](37,147456,[[5,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,6,{avatar:0}),o["ɵqud"](603979776,7,{trailingIcon:0}),o["ɵqud"](603979776,8,{removeIcon:0}),(n()(),o["ɵted"](41,null,["Memory used: ",""])),(n()(),o["ɵeld"](42,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,44).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,44)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](44,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,9,{chips:1}),(n()(),o["ɵeld"](46,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,47)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,47)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,47).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47)._blur()&&l),l}),null,null)),o["ɵdid"](47,147456,[[9,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,10,{avatar:0}),o["ɵqud"](603979776,11,{trailingIcon:0}),o["ɵqud"](603979776,12,{removeIcon:0}),(n()(),o["ɵted"](51,null,["Memory free: ",""])),(n()(),o["ɵeld"](52,0,null,0,30,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](53,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,55).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,55)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,55)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](55,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,13,{chips:1}),(n()(),o["ɵeld"](57,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,58)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,58)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,58).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,58)._blur()&&l),l}),null,null)),o["ɵdid"](58,147456,[[13,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,14,{avatar:0}),o["ɵqud"](603979776,15,{trailingIcon:0}),o["ɵqud"](603979776,16,{removeIcon:0}),(n()(),o["ɵted"](62,null,["Swap total: ",""])),(n()(),o["ɵeld"](63,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,65).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,65)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,65)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](65,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,17,{chips:1}),(n()(),o["ɵeld"](67,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,68)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,68)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,68).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,68)._blur()&&l),l}),null,null)),o["ɵdid"](68,147456,[[17,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,18,{avatar:0}),o["ɵqud"](603979776,19,{trailingIcon:0}),o["ɵqud"](603979776,20,{removeIcon:0}),(n()(),o["ɵted"](72,null,["Swap used: ",""])),(n()(),o["ɵeld"](73,0,null,null,9,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,e,t){var l=!0;return"focus"===e&&(l=!1!==o["ɵnov"](n,75).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,75)._blur()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,75)._keydown(t)&&l),l}),Wy,Gy)),o["ɵprd"](6144,null,ag,null,[Uy]),o["ɵdid"](75,1556480,null,1,Uy,[o.ElementRef,o.ChangeDetectorRef,[2,ki],[2,Dm],[2,jm],Wo,[8,null]],null,null),o["ɵqud"](603979776,21,{chips:1}),(n()(),o["ɵeld"](77,0,null,0,5,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,78)._handleClick(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,78)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,78).focus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,78)._blur()&&l),l}),null,null)),o["ɵdid"](78,147456,[[21,4]],3,Ly,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu],o.ChangeDetectorRef],{color:[0,"color"],selected:[1,"selected"]},null),o["ɵqud"](603979776,22,{avatar:0}),o["ɵqud"](603979776,23,{trailingIcon:0}),o["ɵqud"](603979776,24,{removeIcon:0}),(n()(),o["ɵted"](82,null,["Swap free: ",""]))],(function(n,e){var t=e.component;n(e,4,1,[100,t.computeStatistics.statistics.cpu_usage_percent,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,"CPU usage","#C0C0C0",15,!0,300]),n(e,6,1,[100,t.computeStatistics.statistics.disk_usage_percent,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,"Disk usage","#C0C0C0",15,!0,300]),n(e,8,1,[100,t.computeStatistics.statistics.memory_usage_percent,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,"Memory usage","#C0C0C0",15,!0,300]),n(e,10,1,[100,t.computeStatistics.statistics.swap_usage_percent,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,"SWAP usage","#C0C0C0",15,!0,300]);var l=t.computeStatistics.statistics.load_average_percent[0],o=n(e,14,0,"Load average","(last 1 minute)");n(e,13,1,[100,l,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,o,"#C0C0C0",15,!0,300]);var i=t.computeStatistics.statistics.load_average_percent[1],r=n(e,17,0,"Load average","(last 5 minutes)");n(e,16,1,[100,i,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,r,"#C0C0C0",15,!0,300]);var a=t.computeStatistics.statistics.load_average_percent[2],u=n(e,20,0,"Load average","(last 15 minutes)");n(e,19,1,[100,a,20,"#C0C0C0",8,"#0097a7","#007380",6,"#C0C0C0",30,u,"#C0C0C0",15,!0,300]),n(e,24,0),n(e,27,0,"primary",""),n(e,34,0),n(e,37,0,"primary",""),n(e,44,0),n(e,47,0,"primary",""),n(e,55,0),n(e,58,0,"primary",""),n(e,65,0),n(e,68,0,"primary",""),n(e,75,0),n(e,78,0,"primary","")}),(function(n,e){var t=e.component;n(e,0,0,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,22,1,[o["ɵnov"](e,24).disabled?null:o["ɵnov"](e,24)._tabIndex,o["ɵnov"](e,24)._ariaDescribedby||null,o["ɵnov"](e,24).required.toString(),o["ɵnov"](e,24).disabled.toString(),o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).multiple,o["ɵnov"](e,24).role,o["ɵnov"](e,24).disabled,o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).required,o["ɵnov"](e,24).ariaOrientation,o["ɵnov"](e,24)._uid]),n(e,26,0,o["ɵnov"](e,27).disabled?null:-1,o["ɵnov"](e,27).selected,o["ɵnov"](e,27).avatar,o["ɵnov"](e,27).trailingIcon||o["ɵnov"](e,27).removeIcon,o["ɵnov"](e,27).disabled,o["ɵnov"](e,27)._animationsDisabled,o["ɵnov"](e,27).disabled||null,o["ɵnov"](e,27).disabled.toString(),o["ɵnov"](e,27).ariaSelected),n(e,31,0,t.formatBytes(t.computeStatistics.statistics.memory_total)),n(e,32,1,[o["ɵnov"](e,34).disabled?null:o["ɵnov"](e,34)._tabIndex,o["ɵnov"](e,34)._ariaDescribedby||null,o["ɵnov"](e,34).required.toString(),o["ɵnov"](e,34).disabled.toString(),o["ɵnov"](e,34).errorState,o["ɵnov"](e,34).multiple,o["ɵnov"](e,34).role,o["ɵnov"](e,34).disabled,o["ɵnov"](e,34).errorState,o["ɵnov"](e,34).required,o["ɵnov"](e,34).ariaOrientation,o["ɵnov"](e,34)._uid]),n(e,36,0,o["ɵnov"](e,37).disabled?null:-1,o["ɵnov"](e,37).selected,o["ɵnov"](e,37).avatar,o["ɵnov"](e,37).trailingIcon||o["ɵnov"](e,37).removeIcon,o["ɵnov"](e,37).disabled,o["ɵnov"](e,37)._animationsDisabled,o["ɵnov"](e,37).disabled||null,o["ɵnov"](e,37).disabled.toString(),o["ɵnov"](e,37).ariaSelected),n(e,41,0,t.formatBytes(t.computeStatistics.statistics.memory_used)),n(e,42,1,[o["ɵnov"](e,44).disabled?null:o["ɵnov"](e,44)._tabIndex,o["ɵnov"](e,44)._ariaDescribedby||null,o["ɵnov"](e,44).required.toString(),o["ɵnov"](e,44).disabled.toString(),o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).multiple,o["ɵnov"](e,44).role,o["ɵnov"](e,44).disabled,o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).required,o["ɵnov"](e,44).ariaOrientation,o["ɵnov"](e,44)._uid]),n(e,46,0,o["ɵnov"](e,47).disabled?null:-1,o["ɵnov"](e,47).selected,o["ɵnov"](e,47).avatar,o["ɵnov"](e,47).trailingIcon||o["ɵnov"](e,47).removeIcon,o["ɵnov"](e,47).disabled,o["ɵnov"](e,47)._animationsDisabled,o["ɵnov"](e,47).disabled||null,o["ɵnov"](e,47).disabled.toString(),o["ɵnov"](e,47).ariaSelected),n(e,51,0,t.formatBytes(t.computeStatistics.statistics.memory_free)),n(e,53,1,[o["ɵnov"](e,55).disabled?null:o["ɵnov"](e,55)._tabIndex,o["ɵnov"](e,55)._ariaDescribedby||null,o["ɵnov"](e,55).required.toString(),o["ɵnov"](e,55).disabled.toString(),o["ɵnov"](e,55).errorState,o["ɵnov"](e,55).multiple,o["ɵnov"](e,55).role,o["ɵnov"](e,55).disabled,o["ɵnov"](e,55).errorState,o["ɵnov"](e,55).required,o["ɵnov"](e,55).ariaOrientation,o["ɵnov"](e,55)._uid]),n(e,57,0,o["ɵnov"](e,58).disabled?null:-1,o["ɵnov"](e,58).selected,o["ɵnov"](e,58).avatar,o["ɵnov"](e,58).trailingIcon||o["ɵnov"](e,58).removeIcon,o["ɵnov"](e,58).disabled,o["ɵnov"](e,58)._animationsDisabled,o["ɵnov"](e,58).disabled||null,o["ɵnov"](e,58).disabled.toString(),o["ɵnov"](e,58).ariaSelected),n(e,62,0,t.formatBytes(t.computeStatistics.statistics.swap_total)),n(e,63,1,[o["ɵnov"](e,65).disabled?null:o["ɵnov"](e,65)._tabIndex,o["ɵnov"](e,65)._ariaDescribedby||null,o["ɵnov"](e,65).required.toString(),o["ɵnov"](e,65).disabled.toString(),o["ɵnov"](e,65).errorState,o["ɵnov"](e,65).multiple,o["ɵnov"](e,65).role,o["ɵnov"](e,65).disabled,o["ɵnov"](e,65).errorState,o["ɵnov"](e,65).required,o["ɵnov"](e,65).ariaOrientation,o["ɵnov"](e,65)._uid]),n(e,67,0,o["ɵnov"](e,68).disabled?null:-1,o["ɵnov"](e,68).selected,o["ɵnov"](e,68).avatar,o["ɵnov"](e,68).trailingIcon||o["ɵnov"](e,68).removeIcon,o["ɵnov"](e,68).disabled,o["ɵnov"](e,68)._animationsDisabled,o["ɵnov"](e,68).disabled||null,o["ɵnov"](e,68).disabled.toString(),o["ɵnov"](e,68).ariaSelected),n(e,72,0,t.formatBytes(t.computeStatistics.statistics.swap_used)),n(e,73,1,[o["ɵnov"](e,75).disabled?null:o["ɵnov"](e,75)._tabIndex,o["ɵnov"](e,75)._ariaDescribedby||null,o["ɵnov"](e,75).required.toString(),o["ɵnov"](e,75).disabled.toString(),o["ɵnov"](e,75).errorState,o["ɵnov"](e,75).multiple,o["ɵnov"](e,75).role,o["ɵnov"](e,75).disabled,o["ɵnov"](e,75).errorState,o["ɵnov"](e,75).required,o["ɵnov"](e,75).ariaOrientation,o["ɵnov"](e,75)._uid]),n(e,77,0,o["ɵnov"](e,78).disabled?null:-1,o["ɵnov"](e,78).selected,o["ɵnov"](e,78).avatar,o["ɵnov"](e,78).trailingIcon||o["ɵnov"](e,78).removeIcon,o["ɵnov"](e,78).disabled,o["ɵnov"](e,78)._animationsDisabled,o["ɵnov"](e,78).disabled||null,o["ɵnov"](e,78).disabled.toString(),o["ɵnov"](e,78).ariaSelected),n(e,82,0,t.formatBytes(t.computeStatistics.statistics.swap_free))}))}var Yy=function(){function n(n,e,t,l){this.route=n,this.computeService=e,this.serverService=t,this.toasterService=l,this.serverId="",this.computeStatistics=[]}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id"),this.getStatistics()},n.prototype.getStatistics=function(){var n=this;this.serverService.get(Number(this.serverId)).then((function(e){n.computeService.getStatistics(e).subscribe((function(e){n.computeStatistics=e,setTimeout((function(){n.getStatistics()}),1e4)}))}))},n}(),$y=function(){function n(n){this.httpServer=n}return n.prototype.getComputes=function(n){return this.httpServer.get(n,"/computes")},n.prototype.getUploadPath=function(n,e,t){return"http://"+n.host+":"+n.port+"/v2/"+e+"/images/"+t},n.prototype.getStatistics=function(n){return this.httpServer.get(n,"/statistics")},n}(),Qy=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Jy(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," "])),(n()(),o["ɵeld"](2,0,null,null,1,"app-status-chart",[],null,null,null,Xy,Ky)),o["ɵdid"](3,114688,null,0,Zy,[],{computeStatistics:[0,"computeStatistics"]},null)],(function(n,e){n(e,3,0,e.context.$implicit)}),(function(n,e){n(e,1,0,e.context.$implicit.compute_name)}))}function nC(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,Jy)),o["ɵdid"](1,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,1,0,e.component.computeStatistics)}),null)}var eC=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),tC=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function lC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["System status"])),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"app-status-info",[],null,null,null,nC,Qy)),o["ɵdid"](7,114688,null,0,Yy,[rt,$y,Dh,hc],null,null)],(function(n,e){n(e,7,0)}),null)}function oC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-system-status",[],null,null,null,lC,tC)),o["ɵdid"](1,114688,null,0,eC,[rt],null,null)],(function(n,e){n(e,1,0)}),null)}var iC=o["ɵccf"]("app-system-status",eC,oC,{},{},[]),rC=function(){function n(n,e,t,l,o){this.serverService=n,this.serverDatabase=e,this.route=t,this.router=l,this.toasterService=o}return n.prototype.ngOnInit=function(){return i.b(this,void 0,void 0,(function(){var n,e,t,l,o,r,a=this;return i.d(this,(function(i){switch(i.label){case 0:return n=this.route.snapshot.paramMap.get("server_ip"),e=+this.route.snapshot.paramMap.get("server_port"),t=this.route.snapshot.paramMap.get("project_id"),[4,this.serverService.findAll()];case 1:return l=i.sent(),(o=l.filter((function(t){return t.host===n&&t.port===e}))[0])?this.router.navigate(["/server",o.id,"project",t]):((r=new Th).host=n,r.port=e,r.location="bundled",r.name=n,this.serverService.create(r).then((function(n){a.router.navigate(["/server",n.id,"project",t])}))),[2]}}))}))},n}(),aC=o["ɵcrt"]({encapsulation:2,styles:[[""]],data:{}});function uC(n){return o["ɵvid"](0,[],null,null)}function sC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-direct-link",[],null,null,null,uC,aC)),o["ɵdid"](1,114688,null,0,rC,[Dh,Fh,rt,vl,hc],null,null)],(function(n,e){n(e,1,0)}),null)}var dC=o["ɵccf"]("app-direct-link",rC,sC,{},{},[]),cC=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.filter((function(n){return n.name.toLowerCase().includes(e)}))):n:[]},n}(),pC=function(){function n(){}return n.prototype.transform=function(n){var e=new Date(1e3*+n),t=e.getHours(),l="0"+e.getMinutes(),o="0"+e.getSeconds(),i=e.getFullYear(),r=e.getMonth()+1,a=e.getDate();return t+":"+l.substr(-2)+":"+o.substr(-2)+" "+a+"/"+r+"/"+i},n}(),fC=function(){function n(n,e){this.dialogRef=n,this.data=e}return n.prototype.onCancelClick=function(){this.dialogRef.close(n.CANCELLED)},n.prototype.ngOnInit=function(){},n}(),hC=function(){function n(n,e,t,l){this.route=n,this.snapshotService=e,this.progressDialogService=t,this.toaster=l,this.displayedColumns=["name","creationDate","actions"]}return n.prototype.ngOnInit=function(){this.projectId=this.route.snapshot.paramMap.get("project_id"),this.server=this.route.snapshot.data.server,this.getSnapshots()},n.prototype.getSnapshots=function(){var n=this;this.snapshotService.list(this.server,this.projectId).subscribe((function(e){n.snapshots=e}))},n.prototype.restoreSnapshot=function(n){var e=this,t=this.snapshotService.restore(this.server,this.projectId,n.snapshot_id.toString()),l=this.progressDialogService.open(),o=t.subscribe((function(t){e.toaster.success("Snapshot "+n.name+" has been restored."),l.close()}));l.afterClosed().subscribe((function(n){n===fC.CANCELLED&&o.unsubscribe()}))},n.prototype.deleteSnapshot=function(n){var e=this;this.snapshotService.delete(this.server,this.projectId,n.snapshot_id.toString()).subscribe((function(){e.getSnapshots(),e.toaster.success("Snapshot "+n.name+" has been deleted.")}))},n.prototype.sortData=function(n){if(n.active&&""!==n.direction){var e=this.snapshots.slice();this.snapshots=e.sort((function(e,t){var l="asc"===n.direction;return"name"===n.active?function(n,e,t){return((n=n.toLowerCase())<(e=e.toLowerCase())?-1:1)*(t?1:-1)}(e.name,t.name,l):"creationDate"===n.active?function(n,e,t){return(n<e?-1:1)*(t?1:-1)}(+e.created_at,+t.created_at,!l):0}))}},n}(),mC=function(){function n(n){this.httpServer=n}return n.prototype.create=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/snapshots",t)},n.prototype.delete=function(n,e,t){return this.httpServer.delete(n,"/projects/"+e+"/snapshots/"+t)},n.prototype.list=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/snapshots")},n.prototype.restore=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/snapshots/"+t+"/restore",{})},n}(),vC=function(){function n(n){this.dialog=n}return n.prototype.open=function(){return this.dialog.open(fC,{width:"250px",autoFocus:!1,disableClose:!0})},n}(),gC=o["ɵcrt"]({encapsulation:0,styles:[[".filter-field[_ngcontent-%COMP%]{width:100%}.mat-table[_ngcontent-%COMP%]{margin:-16px!important}"]],data:{}});function bC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!1)&&l),l}),lg,eg)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),o["ɵdid"](2,245760,null,0,Jv,[$v,o.ChangeDetectorRef,[2,Yv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["ɵted"](-1,0,[" Name "]))],(function(n,e){n(e,2,0,"")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2)._getAriaSortAttribute(),o["ɵnov"](e,2)._isDisabled())}))}function _C(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function yC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["ɵnov"](n,2)._setIndicatorHintVisible(!1)&&l),l}),lg,eg)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),o["ɵdid"](2,245760,null,0,Jv,[$v,o.ChangeDetectorRef,[2,Yv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["ɵted"](-1,0,[" Date "]))],(function(n,e){n(e,2,0,"")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2)._getAriaSortAttribute(),o["ɵnov"](e,2)._isDisabled())}))}function CC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "])),o["ɵppd"](3,1)],null,(function(n,e){var t=o["ɵunv"](e,2,0,n(e,3,0,o["ɵnov"](e.parent,1),e.context.$implicit.created_at));n(e,2,0,t)}))}function wC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function SC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Restore snapshot"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.restoreSnapshot(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Restore snapshot"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["restore"])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete snapshot"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==i.deleteSnapshot(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["aria-label","Delete snapshot"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Restore snapshot"),n(e,6,0),n(e,10,0,"Delete snapshot"),n(e,12,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color)}))}function xC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function kC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function EC(n){return o["ɵvid"](0,[o["ɵpid"](0,cC,[]),o["ɵpid"](0,pC,[]),(n()(),o["ɵeld"](2,0,null,null,80,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Snapshots"])),(n()(),o["ɵeld"](7,0,null,null,75,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,74,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](9,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](10,0,null,0,18,"mat-form-field",[["class","filter-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](11,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,22)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,27)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.searchText=t)&&l),l}),null,null)),o["ɵdid"](22,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](24,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](26,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](27,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](29,0,null,0,53,"mat-table",[["class","mat-table mat-table"],["matSort",""]],null,[[null,"matSortChange"]],(function(n,e,t){var l=!0;return"matSortChange"===e&&(l=!1!==n.component.sortData(t)&&l),l}),ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](31,2342912,[["table",4]],4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,10,{_contentColumnDefs:1}),o["ɵqud"](603979776,11,{_contentRowDefs:1}),o["ɵqud"](603979776,12,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,13,{_contentFooterRowDefs:1}),o["ɵppd"](36,2),o["ɵdid"](37,737280,null,0,Yv,[],null,{sortChange:"matSortChange"}),(n()(),o["ɵeld"](38,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](40,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,14,{cell:0}),o["ɵqud"](603979776,15,{headerCell:0}),o["ɵqud"](603979776,16,{footerCell:0}),o["ɵprd"](2048,[[10,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,bC)),o["ɵdid"](46,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[15,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,_C)),o["ɵdid"](49,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[14,4]],Cc,null,[zc]),(n()(),o["ɵeld"](51,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](53,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,17,{cell:0}),o["ɵqud"](603979776,18,{headerCell:0}),o["ɵqud"](603979776,19,{footerCell:0}),o["ɵprd"](2048,[[10,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,yC)),o["ɵdid"](59,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,CC)),o["ɵdid"](62,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[17,4]],Cc,null,[zc]),(n()(),o["ɵeld"](64,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](66,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,20,{cell:0}),o["ɵqud"](603979776,21,{headerCell:0}),o["ɵqud"](603979776,22,{footerCell:0}),o["ɵprd"](2048,[[10,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,wC)),o["ɵdid"](72,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[21,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,SC)),o["ɵdid"](75,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[20,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,xC)),o["ɵdid"](78,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[12,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,kC)),o["ɵdid"](81,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[11,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,24,0,t.searchText),n(e,27,0,"Filter");var l=o["ɵunv"](e,31,0,n(e,36,0,o["ɵnov"](e,0),t.snapshots,t.searchText));n(e,31,0,l),n(e,37,0),n(e,40,0,"name"),n(e,53,0,"creationDate"),n(e,66,0,"actions"),n(e,78,0,t.displayedColumns),n(e,81,0,t.displayedColumns)}),(function(n,e){n(e,8,0,"NoopAnimations"===o["ɵnov"](e,9)._animationMode),n(e,10,1,["standard"==o["ɵnov"](e,11).appearance,"fill"==o["ɵnov"](e,11).appearance,"outline"==o["ɵnov"](e,11).appearance,"legacy"==o["ɵnov"](e,11).appearance,o["ɵnov"](e,11)._control.errorState,o["ɵnov"](e,11)._canLabelFloat,o["ɵnov"](e,11)._shouldLabelFloat(),o["ɵnov"](e,11)._hasFloatingLabel(),o["ɵnov"](e,11)._hideControlPlaceholder(),o["ɵnov"](e,11)._control.disabled,o["ɵnov"](e,11)._control.autofilled,o["ɵnov"](e,11)._control.focused,"accent"==o["ɵnov"](e,11).color,"warn"==o["ɵnov"](e,11).color,o["ɵnov"](e,11)._shouldForward("untouched"),o["ɵnov"](e,11)._shouldForward("touched"),o["ɵnov"](e,11)._shouldForward("pristine"),o["ɵnov"](e,11)._shouldForward("dirty"),o["ɵnov"](e,11)._shouldForward("valid"),o["ɵnov"](e,11)._shouldForward("invalid"),o["ɵnov"](e,11)._shouldForward("pending"),!o["ɵnov"](e,11)._animationsEnabled]),n(e,21,1,[o["ɵnov"](e,26).ngClassUntouched,o["ɵnov"](e,26).ngClassTouched,o["ɵnov"](e,26).ngClassPristine,o["ɵnov"](e,26).ngClassDirty,o["ɵnov"](e,26).ngClassValid,o["ɵnov"](e,26).ngClassInvalid,o["ɵnov"](e,26).ngClassPending,o["ɵnov"](e,27)._isServer,o["ɵnov"](e,27).id,o["ɵnov"](e,27).placeholder,o["ɵnov"](e,27).disabled,o["ɵnov"](e,27).required,o["ɵnov"](e,27).readonly&&!o["ɵnov"](e,27)._isNativeSelect||null,o["ɵnov"](e,27)._ariaDescribedby||null,o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).required.toString()])}))}function TC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-list-of-snapshots",[],null,null,null,EC,gC)),o["ɵdid"](1,114688,null,0,hC,[rt,mC,vC,hc],null,null)],(function(n,e){n(e,1,0)}),null)}var RC=o["ɵccf"]("app-list-of-snapshots",hC,TC,{},{},[]),IC=[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.choose-symbol-button[_ngcontent-%COMP%], .top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:0}.menu-button[_ngcontent-%COMP%]{width:5%;outline:0!important}th[_ngcontent-%COMP%]{border:0!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"],DC=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),FC=o["ɵcrt"]({encapsulation:0,styles:[IC],data:{}});function OC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,71,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Preferences"])),(n()(),o["ɵeld"](5,0,null,null,66,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,65,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,64,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](8,704512,null,0,t_,[],null,null),(n()(),o["ɵeld"](9,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10).onClick()&&l),l}),b_,g_)),o["ɵdid"](10,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](11,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,1,{_lines:1}),o["ɵqud"](603979776,2,{_avatar:0}),o["ɵqud"](603979776,3,{_icon:0}),(n()(),o["ɵted"](-1,2,[" GNS3 VM "])),(n()(),o["ɵeld"](16,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,17).onClick()&&l),l}),b_,g_)),o["ɵdid"](17,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](18,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,4,{_lines:1}),o["ɵqud"](603979776,5,{_avatar:0}),o["ɵqud"](603979776,6,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Built-in "])),(n()(),o["ɵeld"](23,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,24).onClick()&&l),l}),b_,g_)),o["ɵdid"](24,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](25,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,7,{_lines:1}),o["ɵqud"](603979776,8,{_avatar:0}),o["ɵqud"](603979776,9,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Dynamips "])),(n()(),o["ɵeld"](30,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,31).onClick()&&l),l}),b_,g_)),o["ɵdid"](31,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](32,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,10,{_lines:1}),o["ɵqud"](603979776,11,{_avatar:0}),o["ɵqud"](603979776,12,{_icon:0}),(n()(),o["ɵted"](-1,2,[" IOS on Unix "])),(n()(),o["ɵeld"](37,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,38).onClick()&&l),l}),b_,g_)),o["ɵdid"](38,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](39,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,13,{_lines:1}),o["ɵqud"](603979776,14,{_avatar:0}),o["ɵqud"](603979776,15,{_icon:0}),(n()(),o["ɵted"](-1,2,[" VPCS "])),(n()(),o["ɵeld"](44,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,45).onClick()&&l),l}),b_,g_)),o["ɵdid"](45,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](46,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,16,{_lines:1}),o["ɵqud"](603979776,17,{_avatar:0}),o["ɵqud"](603979776,18,{_icon:0}),(n()(),o["ɵted"](-1,2,[" QEMU "])),(n()(),o["ɵeld"](51,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,52).onClick()&&l),l}),b_,g_)),o["ɵdid"](52,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](53,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,19,{_lines:1}),o["ɵqud"](603979776,20,{_avatar:0}),o["ɵqud"](603979776,21,{_icon:0}),(n()(),o["ɵted"](-1,2,[" VirtualBox "])),(n()(),o["ɵeld"](58,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,59).onClick()&&l),l}),b_,g_)),o["ɵdid"](59,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](60,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,22,{_lines:1}),o["ɵqud"](603979776,23,{_avatar:0}),o["ɵqud"](603979776,24,{_icon:0}),(n()(),o["ɵted"](-1,2,[" VMware "])),(n()(),o["ɵeld"](65,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,66).onClick()&&l),l}),b_,g_)),o["ɵdid"](66,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](67,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,25,{_lines:1}),o["ɵqud"](603979776,26,{_avatar:0}),o["ɵqud"](603979776,27,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Docker "]))],(function(n,e){var t=e.component;n(e,10,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/gns3vm")),n(e,17,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin")),n(e,24,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/dynamips/templates")),n(e,31,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/iou/templates")),n(e,38,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/vpcs/templates")),n(e,45,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/qemu/templates")),n(e,52,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/virtualbox/templates")),n(e,59,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/vmware/templates")),n(e,66,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/docker/templates"))}),(function(n,e){n(e,9,0,o["ɵnov"](e,11)._avatar||o["ɵnov"](e,11)._icon,o["ɵnov"](e,11)._avatar||o["ɵnov"](e,11)._icon),n(e,16,0,o["ɵnov"](e,18)._avatar||o["ɵnov"](e,18)._icon,o["ɵnov"](e,18)._avatar||o["ɵnov"](e,18)._icon),n(e,23,0,o["ɵnov"](e,25)._avatar||o["ɵnov"](e,25)._icon,o["ɵnov"](e,25)._avatar||o["ɵnov"](e,25)._icon),n(e,30,0,o["ɵnov"](e,32)._avatar||o["ɵnov"](e,32)._icon,o["ɵnov"](e,32)._avatar||o["ɵnov"](e,32)._icon),n(e,37,0,o["ɵnov"](e,39)._avatar||o["ɵnov"](e,39)._icon,o["ɵnov"](e,39)._avatar||o["ɵnov"](e,39)._icon),n(e,44,0,o["ɵnov"](e,46)._avatar||o["ɵnov"](e,46)._icon,o["ɵnov"](e,46)._avatar||o["ɵnov"](e,46)._icon),n(e,51,0,o["ɵnov"](e,53)._avatar||o["ɵnov"](e,53)._icon,o["ɵnov"](e,53)._avatar||o["ɵnov"](e,53)._icon),n(e,58,0,o["ɵnov"](e,60)._avatar||o["ɵnov"](e,60)._icon,o["ɵnov"](e,60)._avatar||o["ɵnov"](e,60)._icon),n(e,65,0,o["ɵnov"](e,67)._avatar||o["ɵnov"](e,67)._icon,o["ɵnov"](e,67)._avatar||o["ɵnov"](e,67)._icon)}))}function MC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-preferences",[],null,null,null,OC,FC)),o["ɵdid"](1,114688,null,0,DC,[rt],null,null)],(function(n,e){n(e,1,0)}),null)}var NC=o["ɵccf"]("app-preferences",DC,MC,{},{},[]),AC=new o.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),PC=0,qC=function(){return function(n,e){this.source=n,this.value=e}}(),LC=function(){function n(n){this._changeDetector=n,this._value=null,this._name="mat-radio-group-"+PC++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new o.EventEmitter}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(n){this._name=n,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(n){this._labelPosition="before"===n?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),n.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=n,this.value=n?n.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=$l(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=$l(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._isInitialized=!0},n.prototype._touch=function(){this.onTouched&&this.onTouched()},n.prototype._updateRadioButtonNames=function(){var n=this;this._radios&&this._radios.forEach((function(e){e.name=n.name,e._markForCheck()}))},n.prototype._updateSelectedRadioFromValue=function(){var n=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(e){e.checked=n.value===e.value,e.checked&&(n._selected=e)})))},n.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new qC(this._selected,this._value))},n.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach((function(n){return n._markForCheck()}))},n.prototype.writeValue=function(n){this.value=n,this._changeDetector.markForCheck()},n.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetector.markForCheck()},n}(),jC=function(n){function e(e,t,l,i,r,a,u){var s=n.call(this,t)||this;return s._changeDetector=l,s._focusMonitor=i,s._radioDispatcher=r,s._animationMode=a,s._providerOverride=u,s._uniqueId="mat-radio-"+ ++PC,s.id=s._uniqueId,s.change=new o.EventEmitter,s._checked=!1,s._value=null,s._removeUniqueSelectionListener=function(){},s.radioGroup=e,s._removeUniqueSelectionListener=r.listen((function(n,e){n!==s.id&&e===s.name&&(s.checked=!1)})),s}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(n){var e=$l(n);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===n),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(n){this._labelPosition=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(n){var e=$l(n);this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(n){this._required=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(n){this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.focus=function(n){this._focusMonitor.focusVia(this._inputElement,"keyboard",n)},e.prototype._markForCheck=function(){this._changeDetector.markForCheck()},e.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},e.prototype.ngAfterViewInit=function(){var n=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){!e&&n.radioGroup&&n.radioGroup._touch()}))},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()},e.prototype._emitChangeEvent=function(){this.change.emit(new qC(this,this._value))},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onInputClick=function(n){n.stopPropagation()},e.prototype._onInputChange=function(n){n.stopPropagation();var e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())},e}(Ho(Uo(function(){return function(n){this._elementRef=n}}()))),VC=function(){return function(){}}(),BC=o["ɵcrt"]({encapsulation:2,styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media (-ms-high-contrast:active){.mat-radio-disabled{opacity:.5}}"],data:{}});function HC(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_inputElement:0}),(n()(),o["ɵeld"](1,0,[["label",1]],null,12,"label",[["class","mat-radio-label"]],[[1,"for",0]],null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","mat-radio-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,0,"div",[["class","mat-radio-outer-circle"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"div",[["class","mat-radio-inner-circle"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","mat-radio-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](6,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["ɵpod"](7,{enterDuration:0}),(n()(),o["ɵeld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-radio-persistent-ripple"]],null,null,null,null,null)),(n()(),o["ɵeld"](9,0,[[1,0],["input",1]],null,0,"input",[["class","mat-radio-input cdk-visually-hidden"],["type","radio"]],[[8,"id",0],[8,"checked",0],[8,"disabled",0],[8,"tabIndex",0],[1,"name",0],[1,"value",0],[8,"required",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"change"],[null,"click"]],(function(n,e,t){var l=!0,o=n.component;return"change"===e&&(l=!1!==o._onInputChange(t)&&l),"click"===e&&(l=!1!==o._onInputClick(t)&&l),l}),null,null)),(n()(),o["ɵeld"](10,0,null,null,3,"div",[["class","mat-radio-label-content"]],[[2,"mat-radio-label-before",null]],null,null,null,null)),(n()(),o["ɵeld"](11,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" "])),o["ɵncd"](null,0)],(function(n,e){var t=e.component,l=n(e,7,0,150);n(e,6,0,!0,20,l,t._isRippleDisabled(),o["ɵnov"](e,1))}),(function(n,e){var t=e.component;n(e,1,0,t.inputId),n(e,5,0,o["ɵnov"](e,6).unbounded),n(e,9,0,t.inputId,t.checked,t.disabled,t.tabIndex,t.name,t.value,t.required,t.ariaLabel,t.ariaLabelledby,t.ariaDescribedby),n(e,10,0,"before"==t.labelPosition)}))}var UC=0,zC=new o.InjectionToken("mat-select-scroll-strategy");function GC(n){return function(){return n.scrollStrategies.reposition()}}var WC=function(){return function(n,e){this.source=n,this.value=e}}(),ZC=function(n){function e(e,t,l,i,r,a,u,s,d,c,p,f,h){var m=n.call(this,r,i,u,s,c)||this;return m._viewportRuler=e,m._changeDetectorRef=t,m._ngZone=l,m._dir=a,m._parentFormField=d,m.ngControl=c,m._liveAnnouncer=h,m._panelOpen=!1,m._required=!1,m._scrollTop=0,m._multiple=!1,m._compareWith=function(n,e){return n===e},m._uid="mat-select-"+UC++,m._destroy=new Mn.b,m._triggerFontSize=0,m._onChange=function(){},m._onTouched=function(){},m._optionIds="",m._transformOrigin="top",m._panelDoneAnimatingStream=new Mn.b,m._offsetY=0,m._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],m._disableOptionCentering=!1,m._focused=!1,m.controlType="mat-select",m.ariaLabel="",m.optionSelectionChanges=Object(On.a)((function(){var n=m.options;return n?n.changes.pipe(Object(zn.a)(n),Object(Hn.a)((function(){return ys.a.apply(void 0,n.map((function(n){return n.onSelectionChange})))}))):m._ngZone.onStable.asObservable().pipe(Object(Un.a)(1),Object(Hn.a)((function(){return m.optionSelectionChanges})))})),m.openedChange=new o.EventEmitter,m._openedStream=m.openedChange.pipe(Object(Wn.a)((function(n){return n})),Object(An.a)((function(){}))),m._closedStream=m.openedChange.pipe(Object(Wn.a)((function(n){return!n})),Object(An.a)((function(){}))),m.selectionChange=new o.EventEmitter,m.valueChange=new o.EventEmitter,m.ngControl&&(m.ngControl.valueAccessor=m),m._scrollStrategyFactory=f,m._scrollStrategy=m._scrollStrategyFactory(),m.tabIndex=parseInt(p)||0,m.id=m.id,m}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(n){this._focused=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(n){this._placeholder=n,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=$l(n),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(n){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(n){this._disableOptionCentering=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(n){if("function"!=typeof n)throw Error("`compareWith` must be a function.");this._compareWith=n,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){n!==this._value&&(this.writeValue(n),this._value=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this._selectionModel=new Os(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(Es.a)(),Object(ws.a)(this._destroy)).subscribe((function(){n.panelOpen?(n._scrollTop=0,n.openedChange.emit(!0)):(n.openedChange.emit(!1),n.overlayDir.offsetX=0,n._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(ws.a)(this._destroy)).subscribe((function(){n._panelOpen&&(n._triggerRect=n.trigger.nativeElement.getBoundingClientRect(),n._changeDetectorRef.markForCheck())}))},e.prototype.ngAfterContentInit=function(){var n=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(ws.a)(this._destroy)).subscribe((function(n){n.added.forEach((function(n){return n.select()})),n.removed.forEach((function(n){return n.deselect()}))})),this.options.changes.pipe(Object(zn.a)(null),Object(ws.a)(this._destroy)).subscribe((function(){n._resetOptions(),n._initializeSelection()}))},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(n){n.disabled&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var n=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(Un.a)(1)).subscribe((function(){n._triggerFontSize&&n.overlayDir.overlayRef&&n.overlayDir.overlayRef.overlayElement&&(n.overlayDir.overlayRef.overlayElement.style.fontSize=n._triggerFontSize+"px")})))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(n){this.options&&this._setSelectionByValue(n)},e.prototype.registerOnChange=function(n){this._onChange=n},e.prototype.registerOnTouched=function(n){this._onTouched=n},e.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var n=this._selectionModel.selected.map((function(n){return n.viewValue}));return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))},e.prototype._handleClosedKeydown=function(n){var e=n.keyCode,t=40===e||38===e||37===e||39===e,l=this._keyManager;if((13===e||32===e)&&!fo(n)||(this.multiple||n.altKey)&&t)n.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;36===e||35===e?(36===e?l.setFirstItemActive():l.setLastItemActive(),n.preventDefault()):l.onKeydown(n);var i=this.selected;this._liveAnnouncer&&i&&o!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(n){var e=n.keyCode,t=40===e||38===e,l=this._keyManager;if(36===e||35===e)n.preventDefault(),36===e?l.setFirstItemActive():l.setLastItemActive();else if(t&&n.altKey)n.preventDefault(),this.close();else if(13!==e&&32!==e||!l.activeItem||fo(n))if(this._multiple&&65===e&&n.ctrlKey){n.preventDefault();var o=this.options.some((function(n){return!n.disabled&&!n.selected}));this.options.forEach((function(n){n.disabled||(o?n.select():n.deselect())}))}else{var i=l.activeItemIndex;l.onKeydown(n),this._multiple&&t&&n.shiftKey&&l.activeItem&&l.activeItemIndex!==i&&l.activeItem._selectViaInteraction()}else n.preventDefault(),l.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var n=this;this.overlayDir.positionChange.pipe(Object(Un.a)(1)).subscribe((function(){n._changeDetectorRef.detectChanges(),n._calculateOverlayOffsetX(),n.panel.nativeElement.scrollTop=n._scrollTop}))},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var n=this;Promise.resolve().then((function(){n._setSelectionByValue(n.ngControl?n.ngControl.value:n._value),n.stateChanges.next()}))},e.prototype._setSelectionByValue=function(n){var e=this;if(this.multiple&&n){if(!Array.isArray(n))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),n.forEach((function(n){return e._selectValue(n)})),this._sortValues()}else{this._selectionModel.clear();var t=this._selectValue(n);t?this._keyManager.setActiveItem(t):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(n){var e=this,t=this.options.find((function(t){try{return null!=t.value&&e._compareWith(t.value,n)}catch(l){return Object(o.isDevMode)()&&console.warn(l),!1}}));return t&&this._selectionModel.select(t),t},e.prototype._initKeyManager=function(){var n=this;this._keyManager=new Co(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(ws.a)(this._destroy)).subscribe((function(){n.focus(),n.close()})),this._keyManager.change.pipe(Object(ws.a)(this._destroy)).subscribe((function(){n._panelOpen&&n.panel?n._scrollActiveOptionIntoView():n._panelOpen||n.multiple||!n._keyManager.activeItem||n._keyManager.activeItem._selectViaInteraction()}))},e.prototype._resetOptions=function(){var n=this,e=Object(ys.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(ws.a)(e)).subscribe((function(e){n._onSelect(e.source,e.isUserInput),e.isUserInput&&!n.multiple&&n._panelOpen&&(n.close(),n.focus())})),ys.a.apply(void 0,this.options.map((function(n){return n._stateChanges}))).pipe(Object(ws.a)(e)).subscribe((function(){n._changeDetectorRef.markForCheck(),n.stateChanges.next()})),this._setOptionIds()},e.prototype._onSelect=function(n,e){var t=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(t!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),e&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),e&&this.focus())):(n.deselect(),this._selectionModel.clear(),this._propagateChanges(n.value)),t!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var n=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(t,l){return n.sortComparator?n.sortComparator(t,l,e):e.indexOf(t)-e.indexOf(l)})),this.stateChanges.next()}},e.prototype._propagateChanges=function(n){var e;e=this.multiple?this.selected.map((function(n){return n.value})):this.selected?this.selected.value:n,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new WC(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(n){return n.id})).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var n,e,t,l=this._keyManager.activeItemIndex||0,o=vi(l,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(t=(l+o)*(n=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?t:t+n>e+256?Math.max(0,t-256+n):e},e.prototype.focus=function(n){this._elementRef.nativeElement.focus(n)},e.prototype._getOptionIndex=function(n){return this.options.reduce((function(e,t,l){return void 0===e?n===t?l:void 0:e}),void 0)},e.prototype._calculateOverlayPosition=function(){var n=this._getItemHeight(),e=this._getItemCount(),t=Math.min(e*n,256),l=e*n-t,o=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);o+=vi(o,this.options,this.optionGroups);var i=t/2;this._scrollTop=this._calculateOverlayScroll(o,i,l),this._offsetY=this._calculateOverlayOffsetY(o,i,l),this._checkOverlayWithinViewport(l)},e.prototype._calculateOverlayScroll=function(n,e,t){var l=this._getItemHeight();return Math.min(Math.max(0,l*n-e+l/2),t)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var n,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),l=this._isRtl(),o=this.multiple?56:32;if(this.multiple)n=40;else{var i=this._selectionModel.selected[0]||this.options.first;n=i&&i.group?32:16}l||(n*=-1);var r=0-(e.left+n-(l?o:0)),a=e.right+n-t.width+(l?0:o);r>0?n+=r+8:a>0&&(n-=a+8),this.overlayDir.offsetX=Math.round(n),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(n,e,t){var l,o=this._getItemHeight(),i=(o-this._triggerRect.height)/2,r=Math.floor(256/o);return this._disableOptionCentering?0:(l=0===this._scrollTop?n*o:this._scrollTop===t?(n-(this._getItemCount()-r))*o+(o-(this._getItemCount()*o-256)%o):e-o/2,Math.round(-1*l-i))},e.prototype._checkOverlayWithinViewport=function(n){var e=this._getItemHeight(),t=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,o=t.height-this._triggerRect.bottom-8,i=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*e,256)-i-this._triggerRect.height;r>o?this._adjustPanelUp(r,o):i>l?this._adjustPanelDown(i,l,n):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(n,e){var t=Math.round(n-e);this._scrollTop-=t,this._offsetY-=t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(n,e,t){var l=Math.round(n-e);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=t)return this._scrollTop=t,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var n=this._getItemHeight(),e=(n-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+n/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Ho(Uo(Vo(zo(function(){return function(n,e,t,l,o){this._elementRef=n,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=l,this.ngControl=o}}()))))),KC=function(){return function(){}}(),XC=o["ɵcrt"]({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function YC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component.placeholder||" ")}))}function $C(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component.triggerValue||" ")}))}function QC(n){return o["ɵvid"](0,[o["ɵncd"](null,0),(n()(),o["ɵand"](0,null,null,0))],null,null)}function JC(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,$C)),o["ɵdid"](3,16384,null,0,r.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,QC)),o["ɵdid"](5,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,e){n(e,1,0,!!e.component.customTrigger),n(e,5,0,!0)}),null)}function nw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(n()(),o["ɵeld"](1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(n,e,t){var l=!0,o=n.component;return"@transformPanel.done"===e&&(l=!1!==o._panelDoneAnimatingStream.next(t.toState)&&l),"keydown"===e&&(l=!1!==o._handleKeydown(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵncd"](null,1)],(function(n,e){var t=e.component;n(e,3,0,o["ɵinlineInterpolate"](1,"mat-select-panel ",t._getPanelTheme(),""),t.panelClass)}),(function(n,e){var t=e.component;n(e,0,0,void 0),n(e,1,0,t.multiple?"showing-multiple":"showing",t._transformOrigin,t._triggerFontSize)}))}function ew(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{trigger:0}),o["ɵqud"](671088640,2,{panel:0}),o["ɵqud"](671088640,3,{overlayDir:0}),(n()(),o["ɵeld"](3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.toggle()&&l),l}),null,null)),o["ɵdid"](4,16384,[["origin",4]],0,ud,[o.ElementRef],null,null),(n()(),o["ɵeld"](5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),o["ɵdid"](6,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,YC)),o["ɵdid"](8,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,JC)),o["ɵdid"](10,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵeld"](11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,(function(n,e,t){var l=!0,o=n.component;return"backdropClick"===e&&(l=!1!==o.close()&&l),"attach"===e&&(l=!1!==o._onAttached()&&l),"detach"===e&&(l=!1!==o.close()&&l),l}),nw)),o["ɵdid"](14,671744,[[3,4]],0,sd,[id,o.TemplateRef,o.ViewContainerRef,ad,[2,ki]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(n,e){var t=e.component;n(e,6,0,t.empty),n(e,8,0,!0),n(e,10,0,!1),n(e,14,0,o["ɵnov"](e,4),t._positions,t._offsetY,null==t._triggerRect?null:t._triggerRect.width,"cdk-overlay-transparent-backdrop",t._scrollStrategy,t.panelOpen,"","")}),null)}var tw=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.gns3vmService=t,this.router=l,this.formBuilder=o,this.toasterService=i,this.vms=[],this.vmForm=this.formBuilder.group({ram:new Em(null,[Xh.required]),vcpus:new Em(null,[Xh.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.gns3vmService.getGns3vm(n.server).subscribe((function(e){n.gns3vm=e,n.vmForm.controls.ram.setValue(n.gns3vm.ram),n.vmForm.controls.vcpus.setValue(n.gns3vm.vcpus),n.gns3vm.port&&(n.port=n.gns3vm.port),n.gns3vmService.getGns3vmEngines(n.server).subscribe((function(e){n.vmEngines=e})),n.gns3vmService.getVms(n.server,n.gns3vm.engine).subscribe((function(e){n.vms=e}))}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences"])},n.prototype.setCloseAction=function(n){this.gns3vm.when_exit=n},n.prototype.changeVmEngine=function(n){var e=this;this.gns3vmService.getVms(this.server,n.value).subscribe((function(n){e.vms=n}),(function(n){}))},n.prototype.save=function(){var n=this;this.vmForm.valid&&this.gns3vm.vmname||"remote"===this.gns3vm.engine&&this.gns3vm.vmname?(this.gns3vm.ram=this.vmForm.get("ram").value,this.gns3vm.vcpus=this.vmForm.get("vcpus").value,this.port&&(this.gns3vm.port=this.port),this.gns3vmService.updateGns3vm(this.server,this.gns3vm).subscribe((function(){n.toasterService.success("GNS3 VM updated.")})),this.goBack()):this.toasterService.error("Fill all required fields with correct values.")},n}(),lw=function(){function n(n){this.httpServer=n}return n.prototype.getGns3vm=function(n){return this.httpServer.get(n,"/gns3vm")},n.prototype.updateGns3vm=function(n,e){return this.httpServer.put(n,"/gns3vm",e)},n.prototype.getGns3vmEngines=function(n){return this.httpServer.get(n,"/gns3vm/engines")},n.prototype.getVms=function(n,e){return this.httpServer.get(n,"/gns3vm/engines/"+e+"/vms")},n}(),ow=o["ɵcrt"]({encapsulation:0,styles:[[".form-field[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{width:100%}.radio-selection[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]],data:{}});function iw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[10,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.engine_id)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function rw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[22,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.vmname)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)}))}function aw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.gns3vm.headless=t)&&l),l}),O_,F_)),o["ɵdid"](1,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Run the VM in headless mode "]))],(function(n,e){var t=e.component.gns3vm.headless,l=n(e,4,0,!0);n(e,3,0,t,l)}),(function(n,e){n(e,0,1,[o["ɵnov"](e,1).id,null,o["ɵnov"](e,1).indeterminate,o["ɵnov"](e,1).checked,o["ɵnov"](e,1).disabled,"before"==o["ɵnov"](e,1).labelPosition,"NoopAnimations"===o["ɵnov"](e,1)._animationMode,o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending])}))}function uw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,25,{_controlNonStatic:0}),o["ɵqud"](335544320,26,{_controlStatic:0}),o["ɵqud"](603979776,27,{_labelChildNonStatic:0}),o["ɵqud"](335544320,28,{_labelChildStatic:0}),o["ɵqud"](603979776,29,{_placeholderChild:0}),o["ɵqud"](603979776,30,{_errorChildren:1}),o["ɵqud"](603979776,31,{_hintChildren:1}),o["ɵqud"](603979776,32,{_prefixChildren:1}),o["ɵqud"](603979776,33,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,19)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,19)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,19)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.port=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](13,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](15,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](16,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](18,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](19,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[25,4],[26,4]],ag,null,[Lg])],(function(n,e){var t=e.component.port,l=n(e,16,0,!0);n(e,15,0,t,l),n(e,19,0,"Port","number")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,18).ngClassUntouched,o["ɵnov"](e,18).ngClassTouched,o["ɵnov"](e,18).ngClassPristine,o["ɵnov"](e,18).ngClassDirty,o["ɵnov"](e,18).ngClassValid,o["ɵnov"](e,18).ngClassInvalid,o["ɵnov"](e,18).ngClassPending,o["ɵnov"](e,19)._isServer,o["ɵnov"](e,19).id,o["ɵnov"](e,19).placeholder,o["ɵnov"](e,19).disabled,o["ɵnov"](e,19).required,o["ɵnov"](e,19).readonly&&!o["ɵnov"](e,19)._isNativeSelect||null,o["ɵnov"](e,19)._ariaDescribedby||null,o["ɵnov"](e,19).errorState,o["ɵnov"](e,19).required.toString()])}))}function sw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,2).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,2).onReset()&&l),l}),null,null)),o["ɵdid"](1,16384,null,0,qm,[],null,null),o["ɵdid"](2,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](4,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,uw)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](7,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](8,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,34,{_controlNonStatic:0}),o["ɵqud"](335544320,35,{_controlStatic:0}),o["ɵqud"](603979776,36,{_labelChildNonStatic:0}),o["ɵqud"](335544320,37,{_labelChildStatic:0}),o["ɵqud"](603979776,38,{_placeholderChild:0}),o["ɵqud"](603979776,39,{_errorChildren:1}),o["ɵqud"](603979776,40,{_hintChildren:1}),o["ɵqud"](603979776,41,{_prefixChildren:1}),o["ɵqud"](603979776,42,{_suffixChildren:1}),(n()(),o["ɵeld"](18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,19)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,19).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,19)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,19)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,20).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,20).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,20).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,25)._onInput()&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](20,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](22,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](24,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](25,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[34,4],[35,4]],ag,null,[Lg]),(n()(),o["ɵeld"](27,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](28,16384,[[42,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](30,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](31,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,43,{_controlNonStatic:0}),o["ɵqud"](335544320,44,{_controlStatic:0}),o["ɵqud"](603979776,45,{_labelChildNonStatic:0}),o["ɵqud"](335544320,46,{_labelChildStatic:0}),o["ɵqud"](603979776,47,{_placeholderChild:0}),o["ɵqud"](603979776,48,{_errorChildren:1}),o["ɵqud"](603979776,49,{_hintChildren:1}),o["ɵqud"](603979776,50,{_prefixChildren:1}),o["ɵqud"](603979776,51,{_suffixChildren:1}),(n()(),o["ɵeld"](41,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vcpus"],["matInput",""],["placeholder","vCPUs"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,42)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,42).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,42)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,42)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,43).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,43).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,43).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,48)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,48)._onInput()&&l),l}),null,null)),o["ɵdid"](42,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](43,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](45,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](47,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](48,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[43,4],[44,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,2,0,t.vmForm),n(e,6,0,"virtualbox"===t.gns3vm.engine||"vmware"===t.gns3vm.engine),n(e,22,0,"ram"),n(e,25,0,"RAM","number"),n(e,45,0,"vcpus"),n(e,48,0,"vCPUs","number")}),(function(n,e){n(e,0,0,o["ɵnov"](e,4).ngClassUntouched,o["ɵnov"](e,4).ngClassTouched,o["ɵnov"](e,4).ngClassPristine,o["ɵnov"](e,4).ngClassDirty,o["ɵnov"](e,4).ngClassValid,o["ɵnov"](e,4).ngClassInvalid,o["ɵnov"](e,4).ngClassPending),n(e,7,1,["standard"==o["ɵnov"](e,8).appearance,"fill"==o["ɵnov"](e,8).appearance,"outline"==o["ɵnov"](e,8).appearance,"legacy"==o["ɵnov"](e,8).appearance,o["ɵnov"](e,8)._control.errorState,o["ɵnov"](e,8)._canLabelFloat,o["ɵnov"](e,8)._shouldLabelFloat(),o["ɵnov"](e,8)._hasFloatingLabel(),o["ɵnov"](e,8)._hideControlPlaceholder(),o["ɵnov"](e,8)._control.disabled,o["ɵnov"](e,8)._control.autofilled,o["ɵnov"](e,8)._control.focused,"accent"==o["ɵnov"](e,8).color,"warn"==o["ɵnov"](e,8).color,o["ɵnov"](e,8)._shouldForward("untouched"),o["ɵnov"](e,8)._shouldForward("touched"),o["ɵnov"](e,8)._shouldForward("pristine"),o["ɵnov"](e,8)._shouldForward("dirty"),o["ɵnov"](e,8)._shouldForward("valid"),o["ɵnov"](e,8)._shouldForward("invalid"),o["ɵnov"](e,8)._shouldForward("pending"),!o["ɵnov"](e,8)._animationsEnabled]),n(e,18,1,[o["ɵnov"](e,24).ngClassUntouched,o["ɵnov"](e,24).ngClassTouched,o["ɵnov"](e,24).ngClassPristine,o["ɵnov"](e,24).ngClassDirty,o["ɵnov"](e,24).ngClassValid,o["ɵnov"](e,24).ngClassInvalid,o["ɵnov"](e,24).ngClassPending,o["ɵnov"](e,25)._isServer,o["ɵnov"](e,25).id,o["ɵnov"](e,25).placeholder,o["ɵnov"](e,25).disabled,o["ɵnov"](e,25).required,o["ɵnov"](e,25).readonly&&!o["ɵnov"](e,25)._isNativeSelect||null,o["ɵnov"](e,25)._ariaDescribedby||null,o["ɵnov"](e,25).errorState,o["ɵnov"](e,25).required.toString()]),n(e,30,1,["standard"==o["ɵnov"](e,31).appearance,"fill"==o["ɵnov"](e,31).appearance,"outline"==o["ɵnov"](e,31).appearance,"legacy"==o["ɵnov"](e,31).appearance,o["ɵnov"](e,31)._control.errorState,o["ɵnov"](e,31)._canLabelFloat,o["ɵnov"](e,31)._shouldLabelFloat(),o["ɵnov"](e,31)._hasFloatingLabel(),o["ɵnov"](e,31)._hideControlPlaceholder(),o["ɵnov"](e,31)._control.disabled,o["ɵnov"](e,31)._control.autofilled,o["ɵnov"](e,31)._control.focused,"accent"==o["ɵnov"](e,31).color,"warn"==o["ɵnov"](e,31).color,o["ɵnov"](e,31)._shouldForward("untouched"),o["ɵnov"](e,31)._shouldForward("touched"),o["ɵnov"](e,31)._shouldForward("pristine"),o["ɵnov"](e,31)._shouldForward("dirty"),o["ɵnov"](e,31)._shouldForward("valid"),o["ɵnov"](e,31)._shouldForward("invalid"),o["ɵnov"](e,31)._shouldForward("pending"),!o["ɵnov"](e,31)._animationsEnabled]),n(e,41,1,[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,o["ɵnov"](e,48)._isServer,o["ɵnov"](e,48).id,o["ɵnov"](e,48).placeholder,o["ɵnov"](e,48).disabled,o["ɵnov"](e,48).required,o["ɵnov"](e,48).readonly&&!o["ɵnov"](e,48)._isNativeSelect||null,o["ɵnov"](e,48)._ariaDescribedby||null,o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).required.toString()])}))}function dw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,15,"mat-radio-group",[["aria-label","Actions when closing GNS3"],["class","radio-selection mat-radio-group"],["role","radiogroup"]],[[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.gns3vm.when_exit=t)&&l),l}),null,null)),o["ɵdid"](1,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,52,{_radios:1}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](4,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵeld"](7,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","keep"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,8)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setCloseAction("keep")&&l),l}),HC,BC)),o["ɵdid"](8,4440064,[[52,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["keep the GNS3 VM running"])),(n()(),o["ɵeld"](10,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","suspend"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,11)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setCloseAction("suspend")&&l),l}),HC,BC)),o["ɵdid"](11,4440064,[[52,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["suspend the GNS3 VM"])),(n()(),o["ɵeld"](13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","stop"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,14)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setCloseAction("stop")&&l),l}),HC,BC)),o["ɵdid"](14,4440064,[[52,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["stop the GNS3 VM"]))],(function(n,e){n(e,4,0,e.component.gns3vm.when_exit),n(e,8,0,"keep"),n(e,11,0,"suspend"),n(e,14,0,"stop")}),(function(n,e){n(e,0,0,o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending),n(e,7,1,[o["ɵnov"](e,8).checked,o["ɵnov"](e,8).disabled,"NoopAnimations"===o["ɵnov"](e,8)._animationMode,"primary"===o["ɵnov"](e,8).color,"accent"===o["ɵnov"](e,8).color,"warn"===o["ɵnov"](e,8).color,-1,o["ɵnov"](e,8).id,null,null,null]),n(e,10,1,[o["ɵnov"](e,11).checked,o["ɵnov"](e,11).disabled,"NoopAnimations"===o["ɵnov"](e,11)._animationMode,"primary"===o["ɵnov"](e,11).color,"accent"===o["ɵnov"](e,11).color,"warn"===o["ɵnov"](e,11).color,-1,o["ɵnov"](e,11).id,null,null,null]),n(e,13,1,[o["ɵnov"](e,14).checked,o["ɵnov"](e,14).disabled,"NoopAnimations"===o["ɵnov"](e,14)._animationMode,"primary"===o["ɵnov"](e,14).color,"accent"===o["ɵnov"](e,14).color,"warn"===o["ɵnov"](e,14).color,-1,o["ɵnov"](e,14).id,null,null,null])}))}function cw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,63,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](1,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.gns3vm.enable=t)&&l),l}),O_,F_)),o["ɵdid"](3,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](5,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](6,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](8,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Enable the GNS3 VM "])),(n()(),o["ɵeld"](10,0,null,0,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](11,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](21,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Virtualization engine"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,27)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.changeVmEngine(t)&&l),"ngModelChange"===e&&(l=!1!==(i.gns3vm.engine=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](23,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](24,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](26,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](27,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,10,{options:1}),o["ɵqud"](603979776,11,{optionGroups:1}),o["ɵqud"](603979776,12,{customTrigger:0}),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,iw)),o["ɵdid"](33,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](34,0,null,0,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](35,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](45,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","VM name"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,51)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,51)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,51)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.gns3vm.vmname=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](47,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](48,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](50,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](51,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,22,{options:1}),o["ɵqud"](603979776,23,{optionGroups:1}),o["ɵqud"](603979776,24,{customTrigger:0}),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,rw)),o["ɵdid"](57,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,aw)),o["ɵdid"](59,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,sw)),o["ɵdid"](61,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,dw)),o["ɵdid"](63,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=t.gns3vm.enable,o=n(e,6,0,!0);n(e,5,0,l,o);var i=t.gns3vm.engine,r=n(e,24,0,!0);n(e,23,0,i,r),n(e,27,0,"Virtualization engine"),n(e,33,0,t.vmEngines);var a=t.gns3vm.vmname,u=n(e,48,0,!0);n(e,47,0,a,u),n(e,51,0,"VM name"),n(e,57,0,t.vms),n(e,59,0,"virtualbox"===t.gns3vm.engine||"vmware"===t.gns3vm.engine),n(e,61,0,"remote"!==t.gns3vm.engine),n(e,63,0,"remote"!==t.gns3vm.engine)}),(function(n,e){n(e,0,0,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,2,1,[o["ɵnov"](e,3).id,null,o["ɵnov"](e,3).indeterminate,o["ɵnov"](e,3).checked,o["ɵnov"](e,3).disabled,"before"==o["ɵnov"](e,3).labelPosition,"NoopAnimations"===o["ɵnov"](e,3)._animationMode,o["ɵnov"](e,8).ngClassUntouched,o["ɵnov"](e,8).ngClassTouched,o["ɵnov"](e,8).ngClassPristine,o["ɵnov"](e,8).ngClassDirty,o["ɵnov"](e,8).ngClassValid,o["ɵnov"](e,8).ngClassInvalid,o["ɵnov"](e,8).ngClassPending]),n(e,10,1,["standard"==o["ɵnov"](e,11).appearance,"fill"==o["ɵnov"](e,11).appearance,"outline"==o["ɵnov"](e,11).appearance,"legacy"==o["ɵnov"](e,11).appearance,o["ɵnov"](e,11)._control.errorState,o["ɵnov"](e,11)._canLabelFloat,o["ɵnov"](e,11)._shouldLabelFloat(),o["ɵnov"](e,11)._hasFloatingLabel(),o["ɵnov"](e,11)._hideControlPlaceholder(),o["ɵnov"](e,11)._control.disabled,o["ɵnov"](e,11)._control.autofilled,o["ɵnov"](e,11)._control.focused,"accent"==o["ɵnov"](e,11).color,"warn"==o["ɵnov"](e,11).color,o["ɵnov"](e,11)._shouldForward("untouched"),o["ɵnov"](e,11)._shouldForward("touched"),o["ɵnov"](e,11)._shouldForward("pristine"),o["ɵnov"](e,11)._shouldForward("dirty"),o["ɵnov"](e,11)._shouldForward("valid"),o["ɵnov"](e,11)._shouldForward("invalid"),o["ɵnov"](e,11)._shouldForward("pending"),!o["ɵnov"](e,11)._animationsEnabled]),n(e,21,1,[o["ɵnov"](e,26).ngClassUntouched,o["ɵnov"](e,26).ngClassTouched,o["ɵnov"](e,26).ngClassPristine,o["ɵnov"](e,26).ngClassDirty,o["ɵnov"](e,26).ngClassValid,o["ɵnov"](e,26).ngClassInvalid,o["ɵnov"](e,26).ngClassPending,o["ɵnov"](e,27).id,o["ɵnov"](e,27).tabIndex,o["ɵnov"](e,27)._getAriaLabel(),o["ɵnov"](e,27)._getAriaLabelledby(),o["ɵnov"](e,27).required.toString(),o["ɵnov"](e,27).disabled.toString(),o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).panelOpen?o["ɵnov"](e,27)._optionIds:null,o["ɵnov"](e,27).multiple,o["ɵnov"](e,27)._ariaDescribedby||null,o["ɵnov"](e,27)._getAriaActiveDescendant(),o["ɵnov"](e,27).disabled,o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).required,o["ɵnov"](e,27).empty]),n(e,34,1,["standard"==o["ɵnov"](e,35).appearance,"fill"==o["ɵnov"](e,35).appearance,"outline"==o["ɵnov"](e,35).appearance,"legacy"==o["ɵnov"](e,35).appearance,o["ɵnov"](e,35)._control.errorState,o["ɵnov"](e,35)._canLabelFloat,o["ɵnov"](e,35)._shouldLabelFloat(),o["ɵnov"](e,35)._hasFloatingLabel(),o["ɵnov"](e,35)._hideControlPlaceholder(),o["ɵnov"](e,35)._control.disabled,o["ɵnov"](e,35)._control.autofilled,o["ɵnov"](e,35)._control.focused,"accent"==o["ɵnov"](e,35).color,"warn"==o["ɵnov"](e,35).color,o["ɵnov"](e,35)._shouldForward("untouched"),o["ɵnov"](e,35)._shouldForward("touched"),o["ɵnov"](e,35)._shouldForward("pristine"),o["ɵnov"](e,35)._shouldForward("dirty"),o["ɵnov"](e,35)._shouldForward("valid"),o["ɵnov"](e,35)._shouldForward("invalid"),o["ɵnov"](e,35)._shouldForward("pending"),!o["ɵnov"](e,35)._animationsEnabled]),n(e,45,1,[o["ɵnov"](e,50).ngClassUntouched,o["ɵnov"](e,50).ngClassTouched,o["ɵnov"](e,50).ngClassPristine,o["ɵnov"](e,50).ngClassDirty,o["ɵnov"](e,50).ngClassValid,o["ɵnov"](e,50).ngClassInvalid,o["ɵnov"](e,50).ngClassPending,o["ɵnov"](e,51).id,o["ɵnov"](e,51).tabIndex,o["ɵnov"](e,51)._getAriaLabel(),o["ɵnov"](e,51)._getAriaLabelledby(),o["ɵnov"](e,51).required.toString(),o["ɵnov"](e,51).disabled.toString(),o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).panelOpen?o["ɵnov"](e,51)._optionIds:null,o["ɵnov"](e,51).multiple,o["ɵnov"](e,51)._ariaDescribedby||null,o["ɵnov"](e,51)._getAriaActiveDescendant(),o["ɵnov"](e,51).disabled,o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).required,o["ɵnov"](e,51).empty])}))}function pw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,14,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["GNS3 VM preferences"])),(n()(),o["ɵeld"](5,0,null,null,9,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,cw)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](8,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](9,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.save()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){n(e,7,0,e.component.gns3vm),n(e,13,0,"primary")}),(function(n,e){n(e,9,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode)}))}function fw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-gns3vm",[],null,null,null,pw,ow)),o["ɵdid"](1,114688,null,0,tw,[rt,Dh,lw,vl,Gm,hc],null,null)],(function(n,e){n(e,1,0)}),null)}var hw=o["ɵccf"]("app-gns3vm",tw,fw,{},{},[]),mw=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),vw=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function gw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,33,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Built-in preferences"])),(n()(),o["ɵeld"](5,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,6).onClick()&&l),l}),ou,lu)),o["ɵdid"](6,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](7,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"])),(n()(),o["ɵeld"](9,0,null,null,24,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](10,0,null,null,23,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,null,22,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](12,704512,null,0,t_,[],null,null),(n()(),o["ɵeld"](13,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,14).onClick()&&l),l}),b_,g_)),o["ɵdid"](14,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](15,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,1,{_lines:1}),o["ɵqud"](603979776,2,{_avatar:0}),o["ɵqud"](603979776,3,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Ethernet hubs "])),(n()(),o["ɵeld"](20,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,21).onClick()&&l),l}),b_,g_)),o["ɵdid"](21,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](22,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,4,{_lines:1}),o["ɵqud"](603979776,5,{_avatar:0}),o["ɵqud"](603979776,6,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Ethernet switches "])),(n()(),o["ɵeld"](27,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,28).onClick()&&l),l}),b_,g_)),o["ɵdid"](28,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](29,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,7,{_lines:1}),o["ɵqud"](603979776,8,{_avatar:0}),o["ɵqud"](603979776,9,{_icon:0}),(n()(),o["ɵted"](-1,2,[" Cloud nodes "]))],(function(n,e){var t=e.component;n(e,6,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences")),n(e,14,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-hubs")),n(e,21,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-switches")),n(e,28,0,o["ɵinlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/cloud-nodes"))}),(function(n,e){n(e,5,0,o["ɵnov"](e,7).disabled||null,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,13,0,o["ɵnov"](e,15)._avatar||o["ɵnov"](e,15)._icon,o["ɵnov"](e,15)._avatar||o["ɵnov"](e,15)._icon),n(e,20,0,o["ɵnov"](e,22)._avatar||o["ɵnov"](e,22)._icon,o["ɵnov"](e,22)._avatar||o["ɵnov"](e,22)._icon),n(e,27,0,o["ɵnov"](e,29)._avatar||o["ɵnov"](e,29)._icon,o["ɵnov"](e,29)._avatar||o["ɵnov"](e,29)._icon)}))}function bw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-built-in-preferences",[],null,null,null,gw,vw)),o["ɵdid"](1,114688,null,0,mw,[rt],null,null)],(function(n,e){n(e,1,0)}),null)}var _w=o["ɵccf"]("app-built-in-preferences",mw,bw,{},{},[]),yw=function(){return function(){this.emptyTemplatesListMessage="Empty templates list",this.textMessage&&(this.emptyTemplatesListMessage=this.textMessage)}}(),Cw=o["ɵcrt"]({encapsulation:0,styles:[[".header[_ngcontent-%COMP%]{text-align:center;color:#a9a9a9}"]],data:{}});function ww(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,1,"h6",[["class","header"]],null,null,null,null,null)),(n()(),o["ɵted"](4,null,[" "," "]))],null,(function(n,e){var t=e.component;n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,4,0,t.emptyTemplatesListMessage)}))}var Sw=function(){function n(n,e){this.dialogRef=n,this.data=e,this.templateName="",this.templateName=e.templateName}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n}(),xw=function(){function n(n,e,t){this.templateService=n,this.dialog=e,this.toasterService=t,this.deleteEvent=new o.EventEmitter}return n.prototype.deleteItem=function(n,e){var t=this;this.dialog.open(Sw,{width:"300px",height:"250px",data:{templateName:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(l){l&&t.templateService.deleteTemplate(t.server,e).subscribe((function(l){l&&(t.deleteEvent.emit(e),t.toasterService.success("Template "+n+" deleted."))}))}))},n}(),kw=function(){function n(n){this.httpServer=n}return n.prototype.list=function(n){return this.httpServer.get(n,"/templates")},n.prototype.deleteTemplate=function(n,e){return this.httpServer.delete(n,"/templates/"+e,{observe:"body"}).map((function(n){return!0})).catch((function(n){return In.a.throw(!1)}))},n}(),Ew=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Tw(n){return o["ɵvid"](0,[],null,null)}var Rw=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.ethernetHubsTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe((function(e){n.ethernetHubsTemplates=e.filter((function(n){return"ethernet_hub"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),Iw=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),Dw=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function Fw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function Ow(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add Ethernet hub template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-hubs/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function Mw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function Nw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function Aw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,Nw)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.ethernetHubsTemplates)}),null)}function Pw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Aw)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function qw(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Ethernet hubs templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,Fw)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ow)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Mw)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Pw)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.ethernetHubsTemplates.length),n(e,13,0,t.ethernetHubsTemplates.length),n(e,15,0,t.server)}),null)}function Lw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-hubs-templates",[],null,null,null,qw,Dw)),o["ɵdid"](1,114688,null,0,Rw,[rt,Dh,Iw],null,null)],(function(n,e){n(e,1,0)}),null)}var jw=o["ɵccf"]("app-ethernet-hubs-templates",Rw,Lw,{},{},[]),Vw=function(){function n(n,e,t,l,o,i,r,a){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=i,this.formBuilder=r,this.computeService=a,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new Em("",Xh.required),numberOfPorts:new Em(8,Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.addTemplate=function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var e;this.templateMocksService.getEthernetHubTemplate().subscribe((function(n){e=n})),e.template_id=Object(Zg.v4)(),e.name=this.formGroup.get("templateName").value,e.compute_id=this.isGns3VmChosen?"vm":"local";for(var t=0;t<this.formGroup.get("numberOfPorts").value;t++)e.ports_mapping.push({name:"Ethernet"+t,port_number:t});this.builtInTemplatesService.addTemplate(this.server,e).subscribe((function(){n.goBack()}))}},n}(),Bw=function(){function n(){}return n.prototype.getTracengTemplate=function(){return{builtin:!1,category:"guest",compute_id:"local",console_type:"none",default_name_format:"TraceNG{0}",ip_address:"",name:"",symbol:":/symbols/classic/traceng.svg",template_id:"",template_type:"traceng"}},n.prototype.getQemuTemplate=function(){return Object(En.a)({adapter_type:"e1000",adapters:4,bios_image:"",boot_priority:"c",builtin:!1,category:"guest",cdrom_image:"",compute_id:"local",console_auto_start:!1,console_type:"telnet",cpu_throttling:0,cpus:1,custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",hda_disk_image:"",hda_disk_interface:"ide",hdb_disk_image:"",hdb_disk_interface:"ide",hdc_disk_image:"",hdc_disk_interface:"ide",hdd_disk_image:"",hdd_disk_interface:"ide",initrd:"",kernel_command_line:"",kernel_image:"",legacy_networking:!1,linked_clone:!0,mac_address:"",name:"",on_close:"power_off",options:"-nographic",platform:"",port_name_format:"Ethernet{0}",port_segment_size:0,process_priority:"normal",qemu_path:"",ram:256,symbol:":/symbols/qemu_guest.svg",template_id:"",template_type:"qemu",usage:""})},n.prototype.getVpcsTemplate=function(){return Object(En.a)({base_script_file:"vpcs_base_config.txt",builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"PC{0}",name:"",symbol:":/symbols/vpcs_guest.svg",template_id:"",template_type:"vpcs"})},n.prototype.getVirtualBoxTemplate=function(){return Object(En.a)({adapter_type:"Intel PRO/1000 MT Desktop (82540EM)",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,ram:0,symbol:":/symbols/vbox_guest.svg",template_id:"",template_type:"virtualbox",usage:"",use_any_adapter:!1,vmname:""})},n.prototype.getCloudNodeTemplate=function(){return Object(En.a)({builtin:!1,category:"guest",compute_id:"local",default_name_format:"Cloud{0}",name:"",ports_mapping:[],remote_console_type:"none",symbol:":/symbols/cloud.svg",template_id:"",template_type:"cloud"})},n.prototype.getEthernetHubTemplate=function(){return Object(En.a)({builtin:!1,category:"switch",compute_id:"local",default_name_format:"Hub{0}",name:"",ports_mapping:[],symbol:":/symbols/hub.svg",template_id:"",template_type:"ethernet_hub"})},n.prototype.getEthernetSwitchTemplate=function(){return Object(En.a)({builtin:!1,category:"switch",compute_id:"local",console_type:"telnet",default_name_format:"Switch{0}",name:"",ports_mapping:[],symbol:":/symbols/ethernet_switch.svg",template_id:"",template_type:"ethernet_switch"})},n.prototype.getIosTemplate=function(){return Object(En.a)({auto_delete_disks:!0,builtin:!1,category:"router",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"R{0}",disk0:0,disk1:0,exec_area:64,idlemax:500,idlepc:"",idlesleep:30,image:"",mac_addr:"",mmap:!0,name:"",nvram:128,platform:"",private_config:"",ram:128,sparsemem:!0,startup_config:"",symbol:":/symbols/router.svg",system_id:"FTX0945W0MY",template_id:"",template_type:"dynamips",usage:""})},n.prototype.getVmwareTemplate=function(){return Object(En.a)({adapter_type:"e1000",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power-off",port_name_format:"Ethernet{0}",port_segment_size:0,symbol:":/symbols/vmware_guest.svg",template_id:"",template_type:"vmware",usage:"",use_any_adapter:!1,vmx_path:""})},n.prototype.getDockerTemplate=function(){return Object(En.a)({adapters:1,builtin:!1,category:"guest",compute_id:"vm",console_auto_start:!1,console_http_path:"/",console_http_port:80,console_resolution:"1024x768",console_type:"telnet",custom_adapters:[],default_name_format:"{name}-{0}",environment:"",extra_hosts:"",image:"",name:"",start_command:"",symbol:":/symbols/docker_guest.svg",template_id:"",template_type:"docker",usage:""})},n.prototype.getIouTemplate=function(){return Object(En.a)({builtin:!1,category:"switch",compute_id:"vm",console_auto_start:!1,console_type:"telnet",default_name_format:"IOU{0}",ethernet_adapters:1,l1_keepalives:!1,name:"",nvram:128,path:"",private_config:"",ram:256,serial_adapters:0,startup_config:"iou_l2_base_startup-config.txt",symbol:":/symbols/multilayer_switch.svg",template_id:"",template_type:"iou",usage:"",use_default_iou_values:!0})},n}(),Hw=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function Uw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,68,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New Ethernet hub template"])),(n()(),o["ɵeld"](5,0,null,null,63,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,55,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](10,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](12,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,13)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](13,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run the Ethernet Hub locally"])),(n()(),o["ɵeld"](15,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,16)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](16,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run the Ethernet Hub on the GNS3 VM"])),(n()(),o["ɵeld"](18,0,null,0,43,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,20).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,20).onReset()&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,qm,[],null,null),o["ɵdid"](20,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](22,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](23,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](24,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](34,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,40)._onInput()&&l),l}),null,null)),o["ɵdid"](35,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](37,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](39,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](40,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](42,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](43,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,11,{_controlNonStatic:0}),o["ɵqud"](335544320,12,{_controlStatic:0}),o["ɵqud"](603979776,13,{_labelChildNonStatic:0}),o["ɵqud"](335544320,14,{_labelChildStatic:0}),o["ɵqud"](603979776,15,{_placeholderChild:0}),o["ɵqud"](603979776,16,{_errorChildren:1}),o["ɵqud"](603979776,17,{_hintChildren:1}),o["ɵqud"](603979776,18,{_prefixChildren:1}),o["ɵqud"](603979776,19,{_suffixChildren:1}),(n()(),o["ɵeld"](53,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfPorts"],["matInput",""],["placeholder","Number of ports"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,54)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,54).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,54)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,54)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,55).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,55).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,55).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,60)._onInput()&&l),l}),null,null)),o["ɵdid"](54,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](55,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](57,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](59,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](60,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[11,4],[12,4]],ag,null,[Lg]),(n()(),o["ɵeld"](62,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](63,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](64,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](66,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](67,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,13,0,"","1"),n(e,16,0,"2",!t.isGns3VmAvailable),n(e,20,0,t.formGroup),n(e,37,0,"templateName"),n(e,40,0,"Template name","text"),n(e,57,0,"numberOfPorts"),n(e,60,0,"Number of ports","number"),n(e,67,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,1,[o["ɵnov"](e,13).checked,o["ɵnov"](e,13).disabled,"NoopAnimations"===o["ɵnov"](e,13)._animationMode,"primary"===o["ɵnov"](e,13).color,"accent"===o["ɵnov"](e,13).color,"warn"===o["ɵnov"](e,13).color,-1,o["ɵnov"](e,13).id,null,null,null]),n(e,15,1,[o["ɵnov"](e,16).checked,o["ɵnov"](e,16).disabled,"NoopAnimations"===o["ɵnov"](e,16)._animationMode,"primary"===o["ɵnov"](e,16).color,"accent"===o["ɵnov"](e,16).color,"warn"===o["ɵnov"](e,16).color,-1,o["ɵnov"](e,16).id,null,null,null]),n(e,18,0,o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending),n(e,23,1,["standard"==o["ɵnov"](e,24).appearance,"fill"==o["ɵnov"](e,24).appearance,"outline"==o["ɵnov"](e,24).appearance,"legacy"==o["ɵnov"](e,24).appearance,o["ɵnov"](e,24)._control.errorState,o["ɵnov"](e,24)._canLabelFloat,o["ɵnov"](e,24)._shouldLabelFloat(),o["ɵnov"](e,24)._hasFloatingLabel(),o["ɵnov"](e,24)._hideControlPlaceholder(),o["ɵnov"](e,24)._control.disabled,o["ɵnov"](e,24)._control.autofilled,o["ɵnov"](e,24)._control.focused,"accent"==o["ɵnov"](e,24).color,"warn"==o["ɵnov"](e,24).color,o["ɵnov"](e,24)._shouldForward("untouched"),o["ɵnov"](e,24)._shouldForward("touched"),o["ɵnov"](e,24)._shouldForward("pristine"),o["ɵnov"](e,24)._shouldForward("dirty"),o["ɵnov"](e,24)._shouldForward("valid"),o["ɵnov"](e,24)._shouldForward("invalid"),o["ɵnov"](e,24)._shouldForward("pending"),!o["ɵnov"](e,24)._animationsEnabled]),n(e,34,1,[o["ɵnov"](e,39).ngClassUntouched,o["ɵnov"](e,39).ngClassTouched,o["ɵnov"](e,39).ngClassPristine,o["ɵnov"](e,39).ngClassDirty,o["ɵnov"](e,39).ngClassValid,o["ɵnov"](e,39).ngClassInvalid,o["ɵnov"](e,39).ngClassPending,o["ɵnov"](e,40)._isServer,o["ɵnov"](e,40).id,o["ɵnov"](e,40).placeholder,o["ɵnov"](e,40).disabled,o["ɵnov"](e,40).required,o["ɵnov"](e,40).readonly&&!o["ɵnov"](e,40)._isNativeSelect||null,o["ɵnov"](e,40)._ariaDescribedby||null,o["ɵnov"](e,40).errorState,o["ɵnov"](e,40).required.toString()]),n(e,42,1,["standard"==o["ɵnov"](e,43).appearance,"fill"==o["ɵnov"](e,43).appearance,"outline"==o["ɵnov"](e,43).appearance,"legacy"==o["ɵnov"](e,43).appearance,o["ɵnov"](e,43)._control.errorState,o["ɵnov"](e,43)._canLabelFloat,o["ɵnov"](e,43)._shouldLabelFloat(),o["ɵnov"](e,43)._hasFloatingLabel(),o["ɵnov"](e,43)._hideControlPlaceholder(),o["ɵnov"](e,43)._control.disabled,o["ɵnov"](e,43)._control.autofilled,o["ɵnov"](e,43)._control.focused,"accent"==o["ɵnov"](e,43).color,"warn"==o["ɵnov"](e,43).color,o["ɵnov"](e,43)._shouldForward("untouched"),o["ɵnov"](e,43)._shouldForward("touched"),o["ɵnov"](e,43)._shouldForward("pristine"),o["ɵnov"](e,43)._shouldForward("dirty"),o["ɵnov"](e,43)._shouldForward("valid"),o["ɵnov"](e,43)._shouldForward("invalid"),o["ɵnov"](e,43)._shouldForward("pending"),!o["ɵnov"](e,43)._animationsEnabled]),n(e,53,1,[o["ɵnov"](e,59).ngClassUntouched,o["ɵnov"](e,59).ngClassTouched,o["ɵnov"](e,59).ngClassPristine,o["ɵnov"](e,59).ngClassDirty,o["ɵnov"](e,59).ngClassValid,o["ɵnov"](e,59).ngClassInvalid,o["ɵnov"](e,59).ngClassPending,o["ɵnov"](e,60)._isServer,o["ɵnov"](e,60).id,o["ɵnov"](e,60).placeholder,o["ɵnov"](e,60).disabled,o["ɵnov"](e,60).required,o["ɵnov"](e,60).readonly&&!o["ɵnov"](e,60)._isNativeSelect||null,o["ɵnov"](e,60)._ariaDescribedby||null,o["ɵnov"](e,60).errorState,o["ɵnov"](e,60).required.toString()]),n(e,63,0,o["ɵnov"](e,64).disabled||null,"NoopAnimations"===o["ɵnov"](e,64)._animationMode),n(e,66,0,o["ɵnov"](e,67).disabled||null,"NoopAnimations"===o["ɵnov"](e,67)._animationMode)}))}function zw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-hubs-add-template",[],null,null,null,Uw,Hw)),o["ɵdid"](1,114688,null,0,Vw,[rt,Dh,Iw,vl,hc,Bw,Gm,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var Gw=o["ɵccf"]("app-ethernet-hubs-add-template",Vw,zw,{},{},[]),Ww=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.filter((function(n){return n.filename.toLowerCase().includes(e)}))):n:[]},n}(),Zw=function(){function n(n){this.symbolService=n,this.symbolChanged=new o.EventEmitter,this.symbols=[],this.filteredSymbols=[],this.isSelected="",this.searchText=""}return n.prototype.ngOnInit=function(){this.isSelected=this.symbol,this.loadSymbols()},n.prototype.setFilter=function(n){this.filteredSymbols="all"===n?this.symbols:this.symbols.filter("builtin"===n?function(n){return n.builtin}:function(n){return!n.builtin})},n.prototype.setSelected=function(n){this.isSelected=n,this.symbolChanged.emit(this.isSelected)},n.prototype.loadSymbols=function(){var n=this;this.symbolService.list(this.server).subscribe((function(e){n.symbols=e,n.filteredSymbols=e}))},n.prototype.uploadSymbolFile=function(n){this.readSymbolFile(n.target)},n.prototype.readSymbolFile=function(n){var e=this,t=n.files[0],l=n.files[0].name,o=new FileReader,i=new Image;o.onloadend=function(){var n=e.createSvgFileForImage(o.result,i);e.symbolService.add(e.server,l,n).subscribe((function(){e.loadSymbols()}))},i.onload=function(){o.readAsDataURL(t)},i.src=window.URL.createObjectURL(t)},n.prototype.createSvgFileForImage=function(n,e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'+e.height+'" \n width="'+e.width+'">\n<image height="'+e.height+'" width="'+e.width+'" xlink:href="'+n+'"/>\n</svg>'},n.prototype.getImageSourceForTemplate=function(n){return"http://"+this.server.host+":"+this.server.port+"/v2/symbols/"+n+"/raw"},n}(),Kw=function(){function n(n){this.httpServer=n,this.symbols=new Rn.a([])}return n.prototype.get=function(n){return this.symbols.getValue().find((function(e){return e.symbol_id===n}))},n.prototype.getByFilename=function(n){return this.symbols.getValue().find((function(e){return e.filename===n}))},n.prototype.add=function(n,e,t){return this.cache=null,this.httpServer.post(n,"/symbols/"+e+"/raw",t)},n.prototype.load=function(n){return this.httpServer.get(n,"/symbols")},n.prototype.list=function(n){return this.cache||(this.cache=this.load(n).pipe(Object(Is.a)(1))),this.cache},n.prototype.raw=function(n,e){var t=encodeURI(e);return this.httpServer.getText(n,"/symbols/"+t+"/raw")},n}(),Xw=o["ɵcrt"]({encapsulation:0,styles:[[".buttonWrapper[_ngcontent-%COMP%]{width:85px;height:85px;display:flex;align-items:center;margin-left:auto;margin-right:auto;outline:0}.menu[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.button[_ngcontent-%COMP%]{background:border-box;border-width:0;outline:0}.buttonSelected[_ngcontent-%COMP%]{border-width:3px;border-color:#0097a7;width:77px}.image[_ngcontent-%COMP%]{width:65px;height:65px;-webkit-filter:invert(0);filter:invert(0);--webkit-filter:invert(0)!important}.imageSelected[_ngcontent-%COMP%]{margin-left:-3px}.wrapper[_ngcontent-%COMP%]{display:grid;grid-template-rows:auto;grid-template-columns:repeat(7,1fr);grid-row-gap:3em;grid-column-gap:1em}.radio-selection[_ngcontent-%COMP%]{width:90%}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.non-visible[_ngcontent-%COMP%]{display:none}.example-full-width[_ngcontent-%COMP%]{width:100%}"]],data:{}});function Yw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,8,"div",[["class","buttonWrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,7,"button",[["class","button"]],null,[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setSelected(n.context.$implicit.symbol_id)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{buttonSelected:0}),(n()(),o["ɵeld"](5,0,null,null,3,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](7,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](8,{imageSelected:0})],(function(n,e){var t=e.component,l=n(e,4,0,t.isSelected===e.context.$implicit.symbol_id);n(e,3,0,"button",l);var o=n(e,8,0,t.isSelected===e.context.$implicit.symbol_id);n(e,7,0,"image",o)}),(function(n,e){n(e,5,0,e.component.getImageSourceForTemplate(e.context.$implicit.symbol_id))}))}function $w(n){return o["ɵvid"](0,[o["ɵpid"](0,Ww,[]),(n()(),o["ɵeld"](1,0,null,null,51,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,20,"div",[["class","menu"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,12,"mat-radio-group",[["aria-label","Select an option"],["class","radio-selection mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](6,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](8,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,9)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setFilter("all")&&l),l}),HC,BC)),o["ɵdid"](9,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["All symbols"])),(n()(),o["ɵeld"](11,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,12)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setFilter("builtin")&&l),l}),HC,BC)),o["ɵdid"](12,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Built-in symbols"])),(n()(),o["ɵeld"](14,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","3"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,15)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setFilter("custom")&&l),l}),HC,BC)),o["ɵdid"](15,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Custom symbols"])),(n()(),o["ɵeld"](17,0,[["file",1]],null,0,"input",[["accept",".svg, .bmp, .jpeg, .jpg, .gif, .png"],["class","non-visible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadSymbolFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](18,0,null,null,5,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,17).click()&&l),l}),ou,lu)),o["ɵdid"](19,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](20,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](21,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["add"])),(n()(),o["ɵted"](-1,0,[" Add symbol "])),(n()(),o["ɵeld"](24,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,26).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,26).onReset()&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,qm,[],null,null),o["ɵdid"](26,4210688,null,0,Dm,[[8,null],[8,null]],null,null),o["ɵprd"](2048,null,Bh,null,[Dm]),o["ɵdid"](28,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](29,0,null,null,19,"mat-form-field",[["class","example-full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](30,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](40,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by filename"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,41)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,41).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,41)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,41)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,47)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,47)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.searchText=t)&&l),l}),null,null)),o["ɵdid"](41,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](43,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](44,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](46,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](47,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](49,0,null,0,3,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,2,null,Yw)),o["ɵdid"](51,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵppd"](52,2)],(function(n,e){var t=e.component;n(e,9,0,"","1"),n(e,12,0,"2"),n(e,15,0,"3"),n(e,21,0);var l=t.searchText,i=n(e,44,0,!0);n(e,43,0,l,i),n(e,47,0,"Search by filename");var r=o["ɵunv"](e,51,0,n(e,52,0,o["ɵnov"](e,0),t.filteredSymbols,t.searchText));n(e,51,0,r)}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,8,1,[o["ɵnov"](e,9).checked,o["ɵnov"](e,9).disabled,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,"primary"===o["ɵnov"](e,9).color,"accent"===o["ɵnov"](e,9).color,"warn"===o["ɵnov"](e,9).color,-1,o["ɵnov"](e,9).id,null,null,null]),n(e,11,1,[o["ɵnov"](e,12).checked,o["ɵnov"](e,12).disabled,"NoopAnimations"===o["ɵnov"](e,12)._animationMode,"primary"===o["ɵnov"](e,12).color,"accent"===o["ɵnov"](e,12).color,"warn"===o["ɵnov"](e,12).color,-1,o["ɵnov"](e,12).id,null,null,null]),n(e,14,1,[o["ɵnov"](e,15).checked,o["ɵnov"](e,15).disabled,"NoopAnimations"===o["ɵnov"](e,15)._animationMode,"primary"===o["ɵnov"](e,15).color,"accent"===o["ɵnov"](e,15).color,"warn"===o["ɵnov"](e,15).color,-1,o["ɵnov"](e,15).id,null,null,null]),n(e,18,0,o["ɵnov"](e,19).disabled||null,"NoopAnimations"===o["ɵnov"](e,19)._animationMode),n(e,20,0,o["ɵnov"](e,21).inline,"primary"!==o["ɵnov"](e,21).color&&"accent"!==o["ɵnov"](e,21).color&&"warn"!==o["ɵnov"](e,21).color),n(e,24,0,o["ɵnov"](e,28).ngClassUntouched,o["ɵnov"](e,28).ngClassTouched,o["ɵnov"](e,28).ngClassPristine,o["ɵnov"](e,28).ngClassDirty,o["ɵnov"](e,28).ngClassValid,o["ɵnov"](e,28).ngClassInvalid,o["ɵnov"](e,28).ngClassPending),n(e,29,1,["standard"==o["ɵnov"](e,30).appearance,"fill"==o["ɵnov"](e,30).appearance,"outline"==o["ɵnov"](e,30).appearance,"legacy"==o["ɵnov"](e,30).appearance,o["ɵnov"](e,30)._control.errorState,o["ɵnov"](e,30)._canLabelFloat,o["ɵnov"](e,30)._shouldLabelFloat(),o["ɵnov"](e,30)._hasFloatingLabel(),o["ɵnov"](e,30)._hideControlPlaceholder(),o["ɵnov"](e,30)._control.disabled,o["ɵnov"](e,30)._control.autofilled,o["ɵnov"](e,30)._control.focused,"accent"==o["ɵnov"](e,30).color,"warn"==o["ɵnov"](e,30).color,o["ɵnov"](e,30)._shouldForward("untouched"),o["ɵnov"](e,30)._shouldForward("touched"),o["ɵnov"](e,30)._shouldForward("pristine"),o["ɵnov"](e,30)._shouldForward("dirty"),o["ɵnov"](e,30)._shouldForward("valid"),o["ɵnov"](e,30)._shouldForward("invalid"),o["ɵnov"](e,30)._shouldForward("pending"),!o["ɵnov"](e,30)._animationsEnabled]),n(e,40,1,[o["ɵnov"](e,46).ngClassUntouched,o["ɵnov"](e,46).ngClassTouched,o["ɵnov"](e,46).ngClassPristine,o["ɵnov"](e,46).ngClassDirty,o["ɵnov"](e,46).ngClassValid,o["ɵnov"](e,46).ngClassInvalid,o["ɵnov"](e,46).ngClassPending,o["ɵnov"](e,47)._isServer,o["ɵnov"](e,47).id,o["ɵnov"](e,47).placeholder,o["ɵnov"](e,47).disabled,o["ɵnov"](e,47).required,o["ɵnov"](e,47).readonly&&!o["ɵnov"](e,47)._isNativeSelect||null,o["ɵnov"](e,47)._ariaDescribedby||null,o["ɵnov"](e,47).errorState,o["ɵnov"](e,47).required.toString()])}))}function Qw(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols",[],null,null,null,$w,Xw)),o["ɵdid"](1,114688,null,0,Zw,[Kw],null,null)],(function(n,e){n(e,1,0)}),null)}var Jw=o["ɵccf"]("app-symbols",Zw,Qw,{server:"server",symbol:"symbol"},{symbolChanged:"symbolChanged"},[]),nS=function(){function n(){this.symbolChangedEmitter=new o.EventEmitter,this.chosenSymbol=""}return n.prototype.symbolChanged=function(n){this.chosenSymbol=n},n.prototype.chooseSymbol=function(){this.symbolChangedEmitter.emit(this.chosenSymbol)},n.prototype.cancelChooseSymbol=function(){this.symbolChangedEmitter.emit(this.symbol)},n}(),eS=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function tS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,9,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Symbol selection"])),(n()(),o["ɵeld"](5,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelChooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](6,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](8,0,null,null,2,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](11,0,null,null,2,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,1,"app-symbols",[],null,[[null,"symbolChanged"]],(function(n,e,t){var l=!0;return"symbolChanged"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),$w,Xw)),o["ɵdid"](13,114688,null,0,Zw,[Kw],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChanged:"symbolChanged"})],(function(n,e){var t=e.component;n(e,9,0,"primary"),n(e,13,0,t.server,t.symbol)}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).disabled||null,"NoopAnimations"===o["ɵnov"](e,6)._animationMode),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode)}))}var lS=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=i,this.router=r,this.isSymbolSelectionOpened=!1,this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.categories=n.builtInTemplatesConfigurationService.getCategoriesForEthernetHubs(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe((function(e){n.ethernetHubTemplate=e,n.numberOfPorts=n.ethernetHubTemplate.ports_mapping.length}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.onSave=function(){var n=this;if(this.inputForm.invalid||!this.numberOfPorts)this.toasterService.error("Fill all required fields");else{this.ethernetHubTemplate.ports_mapping=[];for(var e=0;e<this.numberOfPorts;e++)this.ethernetHubTemplate.ports_mapping.push({name:"Ethernet"+e,port_number:e});this.builtInTemplatesService.saveTemplate(this.server,this.ethernetHubTemplate).subscribe((function(e){n.toasterService.success("Changes saved")}))}},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetHubTemplate.symbol=n},n}(),oS=function(){function n(){}return n.prototype.getCategoriesForCloudNodes=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getConsoleTypesForCloudNodes=function(){return["telnet","none"]},n.prototype.getCategoriesForEthernetHubs=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getCategoriesForEthernetSwitches=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getConsoleTypesForEthernetSwitches=function(){return["telnet","none"]},n.prototype.getPortTypesForEthernetSwitches=function(){return["access","dot1q","qinq"]},n.prototype.getEtherTypesForEthernetSwitches=function(){return["0x8100","0x88A8","0x9100","0x9200"]},n}(),iS=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function rS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[37,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function aS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,122,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,113,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,111,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetHubTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](20,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](22,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](24,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](25,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](27,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](28,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](38,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,39)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,39).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,39)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,39)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,44)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,44)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetHubTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](39,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](41,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](43,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](44,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[Lg]),(n()(),o["ɵeld"](46,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](47,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,19,{_controlNonStatic:0}),o["ɵqud"](335544320,20,{_controlStatic:0}),o["ɵqud"](603979776,21,{_labelChildNonStatic:0}),o["ɵqud"](335544320,22,{_labelChildStatic:0}),o["ɵqud"](603979776,23,{_placeholderChild:0}),o["ɵqud"](603979776,24,{_errorChildren:1}),o["ɵqud"](603979776,25,{_hintChildren:1}),o["ɵqud"](603979776,26,{_prefixChildren:1}),o["ɵqud"](603979776,27,{_suffixChildren:1}),(n()(),o["ɵeld"](57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,58)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,58).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,58)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,58)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,63)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,63)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,63)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetHubTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](58,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](60,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](62,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](63,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[19,4],[20,4]],ag,null,[Lg]),(n()(),o["ɵeld"](65,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](66,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](68,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](69,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](70,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](71,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,28,{_controlNonStatic:0}),o["ɵqud"](335544320,29,{_controlStatic:0}),o["ɵqud"](603979776,30,{_labelChildNonStatic:0}),o["ɵqud"](335544320,31,{_labelChildStatic:0}),o["ɵqud"](603979776,32,{_placeholderChild:0}),o["ɵqud"](603979776,33,{_errorChildren:1}),o["ɵqud"](603979776,34,{_hintChildren:1}),o["ɵqud"](603979776,35,{_prefixChildren:1}),o["ɵqud"](603979776,36,{_suffixChildren:1}),(n()(),o["ɵeld"](81,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,87)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,87)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,87)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetHubTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](83,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](84,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](86,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](87,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,37,{options:1}),o["ɵqud"](603979776,38,{optionGroups:1}),o["ɵqud"](603979776,39,{customTrigger:0}),o["ɵprd"](2048,[[28,4],[29,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,rS)),o["ɵdid"](93,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](94,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](95,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,40,{_controlNonStatic:0}),o["ɵqud"](335544320,41,{_controlStatic:0}),o["ɵqud"](603979776,42,{_labelChildNonStatic:0}),o["ɵqud"](335544320,43,{_labelChildStatic:0}),o["ɵqud"](603979776,44,{_placeholderChild:0}),o["ɵqud"](603979776,45,{_errorChildren:1}),o["ɵqud"](603979776,46,{_hintChildren:1}),o["ɵqud"](603979776,47,{_prefixChildren:1}),o["ɵqud"](603979776,48,{_suffixChildren:1}),(n()(),o["ɵeld"](105,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Number of ports"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,106)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,106).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,106)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,106)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,107).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,107).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,107).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,113)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,113)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,113)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.numberOfPorts=t)&&l),l}),null,null)),o["ɵdid"](106,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](107,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](109,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](110,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](112,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](113,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[40,4],[41,4]],ag,null,[Lg]),(n()(),o["ɵeld"](115,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](116,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](117,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](119,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](120,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"])),(n()(),o["ɵeld"](122,0,null,null,0,"br",[],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,22,0,"templateName",t.ethernetHubTemplate.name),n(e,25,0,"Template name","text"),n(e,41,0,"defaultName",t.ethernetHubTemplate.default_name_format),n(e,44,0,"Default name format","text"),n(e,60,0,"symbol",t.ethernetHubTemplate.symbol),n(e,63,0,"Symbol","text");var l=t.ethernetHubTemplate.category,o=n(e,84,0,!0);n(e,83,0,l,o),n(e,87,0,"Category"),n(e,93,0,t.categories);var i=t.numberOfPorts,r=n(e,110,0,!0);n(e,109,0,i,r),n(e,113,0,"Number of ports","number"),n(e,120,0,"primary")}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,24).ngClassUntouched,o["ɵnov"](e,24).ngClassTouched,o["ɵnov"](e,24).ngClassPristine,o["ɵnov"](e,24).ngClassDirty,o["ɵnov"](e,24).ngClassValid,o["ɵnov"](e,24).ngClassInvalid,o["ɵnov"](e,24).ngClassPending,o["ɵnov"](e,25)._isServer,o["ɵnov"](e,25).id,o["ɵnov"](e,25).placeholder,o["ɵnov"](e,25).disabled,o["ɵnov"](e,25).required,o["ɵnov"](e,25).readonly&&!o["ɵnov"](e,25)._isNativeSelect||null,o["ɵnov"](e,25)._ariaDescribedby||null,o["ɵnov"](e,25).errorState,o["ɵnov"](e,25).required.toString()]),n(e,27,1,["standard"==o["ɵnov"](e,28).appearance,"fill"==o["ɵnov"](e,28).appearance,"outline"==o["ɵnov"](e,28).appearance,"legacy"==o["ɵnov"](e,28).appearance,o["ɵnov"](e,28)._control.errorState,o["ɵnov"](e,28)._canLabelFloat,o["ɵnov"](e,28)._shouldLabelFloat(),o["ɵnov"](e,28)._hasFloatingLabel(),o["ɵnov"](e,28)._hideControlPlaceholder(),o["ɵnov"](e,28)._control.disabled,o["ɵnov"](e,28)._control.autofilled,o["ɵnov"](e,28)._control.focused,"accent"==o["ɵnov"](e,28).color,"warn"==o["ɵnov"](e,28).color,o["ɵnov"](e,28)._shouldForward("untouched"),o["ɵnov"](e,28)._shouldForward("touched"),o["ɵnov"](e,28)._shouldForward("pristine"),o["ɵnov"](e,28)._shouldForward("dirty"),o["ɵnov"](e,28)._shouldForward("valid"),o["ɵnov"](e,28)._shouldForward("invalid"),o["ɵnov"](e,28)._shouldForward("pending"),!o["ɵnov"](e,28)._animationsEnabled]),n(e,38,1,[o["ɵnov"](e,43).ngClassUntouched,o["ɵnov"](e,43).ngClassTouched,o["ɵnov"](e,43).ngClassPristine,o["ɵnov"](e,43).ngClassDirty,o["ɵnov"](e,43).ngClassValid,o["ɵnov"](e,43).ngClassInvalid,o["ɵnov"](e,43).ngClassPending,o["ɵnov"](e,44)._isServer,o["ɵnov"](e,44).id,o["ɵnov"](e,44).placeholder,o["ɵnov"](e,44).disabled,o["ɵnov"](e,44).required,o["ɵnov"](e,44).readonly&&!o["ɵnov"](e,44)._isNativeSelect||null,o["ɵnov"](e,44)._ariaDescribedby||null,o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).required.toString()]),n(e,46,1,["standard"==o["ɵnov"](e,47).appearance,"fill"==o["ɵnov"](e,47).appearance,"outline"==o["ɵnov"](e,47).appearance,"legacy"==o["ɵnov"](e,47).appearance,o["ɵnov"](e,47)._control.errorState,o["ɵnov"](e,47)._canLabelFloat,o["ɵnov"](e,47)._shouldLabelFloat(),o["ɵnov"](e,47)._hasFloatingLabel(),o["ɵnov"](e,47)._hideControlPlaceholder(),o["ɵnov"](e,47)._control.disabled,o["ɵnov"](e,47)._control.autofilled,o["ɵnov"](e,47)._control.focused,"accent"==o["ɵnov"](e,47).color,"warn"==o["ɵnov"](e,47).color,o["ɵnov"](e,47)._shouldForward("untouched"),o["ɵnov"](e,47)._shouldForward("touched"),o["ɵnov"](e,47)._shouldForward("pristine"),o["ɵnov"](e,47)._shouldForward("dirty"),o["ɵnov"](e,47)._shouldForward("valid"),o["ɵnov"](e,47)._shouldForward("invalid"),o["ɵnov"](e,47)._shouldForward("pending"),!o["ɵnov"](e,47)._animationsEnabled]),n(e,57,1,[o["ɵnov"](e,62).ngClassUntouched,o["ɵnov"](e,62).ngClassTouched,o["ɵnov"](e,62).ngClassPristine,o["ɵnov"](e,62).ngClassDirty,o["ɵnov"](e,62).ngClassValid,o["ɵnov"](e,62).ngClassInvalid,o["ɵnov"](e,62).ngClassPending,o["ɵnov"](e,63)._isServer,o["ɵnov"](e,63).id,o["ɵnov"](e,63).placeholder,o["ɵnov"](e,63).disabled,o["ɵnov"](e,63).required,o["ɵnov"](e,63).readonly&&!o["ɵnov"](e,63)._isNativeSelect||null,o["ɵnov"](e,63)._ariaDescribedby||null,o["ɵnov"](e,63).errorState,o["ɵnov"](e,63).required.toString()]),n(e,65,0,o["ɵnov"](e,66).disabled||null,"NoopAnimations"===o["ɵnov"](e,66)._animationMode),n(e,70,1,["standard"==o["ɵnov"](e,71).appearance,"fill"==o["ɵnov"](e,71).appearance,"outline"==o["ɵnov"](e,71).appearance,"legacy"==o["ɵnov"](e,71).appearance,o["ɵnov"](e,71)._control.errorState,o["ɵnov"](e,71)._canLabelFloat,o["ɵnov"](e,71)._shouldLabelFloat(),o["ɵnov"](e,71)._hasFloatingLabel(),o["ɵnov"](e,71)._hideControlPlaceholder(),o["ɵnov"](e,71)._control.disabled,o["ɵnov"](e,71)._control.autofilled,o["ɵnov"](e,71)._control.focused,"accent"==o["ɵnov"](e,71).color,"warn"==o["ɵnov"](e,71).color,o["ɵnov"](e,71)._shouldForward("untouched"),o["ɵnov"](e,71)._shouldForward("touched"),o["ɵnov"](e,71)._shouldForward("pristine"),o["ɵnov"](e,71)._shouldForward("dirty"),o["ɵnov"](e,71)._shouldForward("valid"),o["ɵnov"](e,71)._shouldForward("invalid"),o["ɵnov"](e,71)._shouldForward("pending"),!o["ɵnov"](e,71)._animationsEnabled]),n(e,81,1,[o["ɵnov"](e,86).ngClassUntouched,o["ɵnov"](e,86).ngClassTouched,o["ɵnov"](e,86).ngClassPristine,o["ɵnov"](e,86).ngClassDirty,o["ɵnov"](e,86).ngClassValid,o["ɵnov"](e,86).ngClassInvalid,o["ɵnov"](e,86).ngClassPending,o["ɵnov"](e,87).id,o["ɵnov"](e,87).tabIndex,o["ɵnov"](e,87)._getAriaLabel(),o["ɵnov"](e,87)._getAriaLabelledby(),o["ɵnov"](e,87).required.toString(),o["ɵnov"](e,87).disabled.toString(),o["ɵnov"](e,87).errorState,o["ɵnov"](e,87).panelOpen?o["ɵnov"](e,87)._optionIds:null,o["ɵnov"](e,87).multiple,o["ɵnov"](e,87)._ariaDescribedby||null,o["ɵnov"](e,87)._getAriaActiveDescendant(),o["ɵnov"](e,87).disabled,o["ɵnov"](e,87).errorState,o["ɵnov"](e,87).required,o["ɵnov"](e,87).empty]),n(e,94,1,["standard"==o["ɵnov"](e,95).appearance,"fill"==o["ɵnov"](e,95).appearance,"outline"==o["ɵnov"](e,95).appearance,"legacy"==o["ɵnov"](e,95).appearance,o["ɵnov"](e,95)._control.errorState,o["ɵnov"](e,95)._canLabelFloat,o["ɵnov"](e,95)._shouldLabelFloat(),o["ɵnov"](e,95)._hasFloatingLabel(),o["ɵnov"](e,95)._hideControlPlaceholder(),o["ɵnov"](e,95)._control.disabled,o["ɵnov"](e,95)._control.autofilled,o["ɵnov"](e,95)._control.focused,"accent"==o["ɵnov"](e,95).color,"warn"==o["ɵnov"](e,95).color,o["ɵnov"](e,95)._shouldForward("untouched"),o["ɵnov"](e,95)._shouldForward("touched"),o["ɵnov"](e,95)._shouldForward("pristine"),o["ɵnov"](e,95)._shouldForward("dirty"),o["ɵnov"](e,95)._shouldForward("valid"),o["ɵnov"](e,95)._shouldForward("invalid"),o["ɵnov"](e,95)._shouldForward("pending"),!o["ɵnov"](e,95)._animationsEnabled]),n(e,105,1,[o["ɵnov"](e,112).ngClassUntouched,o["ɵnov"](e,112).ngClassTouched,o["ɵnov"](e,112).ngClassPristine,o["ɵnov"](e,112).ngClassDirty,o["ɵnov"](e,112).ngClassValid,o["ɵnov"](e,112).ngClassInvalid,o["ɵnov"](e,112).ngClassPending,o["ɵnov"](e,113)._isServer,o["ɵnov"](e,113).id,o["ɵnov"](e,113).placeholder,o["ɵnov"](e,113).disabled,o["ɵnov"](e,113).required,o["ɵnov"](e,113).readonly&&!o["ɵnov"](e,113)._isNativeSelect||null,o["ɵnov"](e,113)._ariaDescribedby||null,o["ɵnov"](e,113).errorState,o["ɵnov"](e,113).required.toString()]),n(e,116,0,o["ɵnov"](e,117).disabled||null,"NoopAnimations"===o["ɵnov"](e,117)._animationMode),n(e,119,0,o["ɵnov"](e,120).disabled||null,"NoopAnimations"===o["ɵnov"](e,120)._animationMode)}))}function uS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.ethernetHubTemplate.symbol)}),null)}function sS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Ethernet hub settings"])),(n()(),o["ɵand"](16777216,null,null,1,null,aS)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,uS)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.ethernetHubTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.ethernetHubTemplate)}),null)}function dS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-hubs-template-details",[],null,null,null,sS,iS)),o["ɵdid"](1,114688,null,0,lS,[rt,Dh,Iw,hc,Gm,oS,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var cS=o["ɵccf"]("app-ethernet-hubs-template-details",lS,dS,{},{},[]),pS=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.ethernetSwitchesTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe((function(e){n.ethernetSwitchesTemplates=e.filter((function(n){return"ethernet_switch"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),fS=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function hS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function mS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add Ethernet switch template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-switches/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function vS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function gS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function bS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,gS)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.ethernetSwitchesTemplates)}),null)}function _S(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,bS)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function yS(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Ethernet switches templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,hS)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,mS)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,vS)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,_S)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.ethernetSwitchesTemplates.length),n(e,13,0,t.ethernetSwitchesTemplates.length),n(e,15,0,t.server)}),null)}function CS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-switches-templates",[],null,null,null,yS,fS)),o["ɵdid"](1,114688,null,0,pS,[rt,Dh,Iw],null,null)],(function(n,e){n(e,1,0)}),null)}var wS=o["ɵccf"]("app-ethernet-switches-templates",pS,CS,{},{},[]),SS=function(){function n(n,e,t,l,o,i,r,a){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=i,this.formBuilder=r,this.computeService=a,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new Em("",Xh.required),numberOfPorts:new Em(8,Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.addTemplate=function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var e;this.templateMocksService.getEthernetSwitchTemplate().subscribe((function(n){e=n})),e.template_id=Object(Zg.v4)(),e.name=this.formGroup.get("templateName").value,e.compute_id=this.isGns3VmChosen?"vm":"local";for(var t=0;t<this.formGroup.get("numberOfPorts").value;t++)e.ports_mapping.push({ethertype:"",name:"Ethernet"+t,port_number:t,type:"access",vlan:1});this.builtInTemplatesService.addTemplate(this.server,e).subscribe((function(e){n.goBack()}))}},n}(),xS=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function kS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,68,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New Ethernet switch template"])),(n()(),o["ɵeld"](5,0,null,null,63,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,55,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](10,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](12,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,13)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](13,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run the Ethernet switch locally"])),(n()(),o["ɵeld"](15,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,16)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](16,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run the Ethernet switch on the GNS3 VM"])),(n()(),o["ɵeld"](18,0,null,0,43,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,20).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,20).onReset()&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,qm,[],null,null),o["ɵdid"](20,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](22,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](23,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](24,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](34,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,40)._onInput()&&l),l}),null,null)),o["ɵdid"](35,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](37,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](39,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](40,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](42,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](43,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,11,{_controlNonStatic:0}),o["ɵqud"](335544320,12,{_controlStatic:0}),o["ɵqud"](603979776,13,{_labelChildNonStatic:0}),o["ɵqud"](335544320,14,{_labelChildStatic:0}),o["ɵqud"](603979776,15,{_placeholderChild:0}),o["ɵqud"](603979776,16,{_errorChildren:1}),o["ɵqud"](603979776,17,{_hintChildren:1}),o["ɵqud"](603979776,18,{_prefixChildren:1}),o["ɵqud"](603979776,19,{_suffixChildren:1}),(n()(),o["ɵeld"](53,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfPorts"],["matInput",""],["placeholder","Number of ports"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,54)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,54).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,54)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,54)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,55).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,55).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,55).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,60)._onInput()&&l),l}),null,null)),o["ɵdid"](54,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](55,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](57,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](59,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](60,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[11,4],[12,4]],ag,null,[Lg]),(n()(),o["ɵeld"](62,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](63,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](64,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](66,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](67,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,13,0,"","1"),n(e,16,0,"2",!t.isGns3VmAvailable),n(e,20,0,t.formGroup),n(e,37,0,"templateName"),n(e,40,0,"Template name","text"),n(e,57,0,"numberOfPorts"),n(e,60,0,"Number of ports","number"),n(e,67,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,1,[o["ɵnov"](e,13).checked,o["ɵnov"](e,13).disabled,"NoopAnimations"===o["ɵnov"](e,13)._animationMode,"primary"===o["ɵnov"](e,13).color,"accent"===o["ɵnov"](e,13).color,"warn"===o["ɵnov"](e,13).color,-1,o["ɵnov"](e,13).id,null,null,null]),n(e,15,1,[o["ɵnov"](e,16).checked,o["ɵnov"](e,16).disabled,"NoopAnimations"===o["ɵnov"](e,16)._animationMode,"primary"===o["ɵnov"](e,16).color,"accent"===o["ɵnov"](e,16).color,"warn"===o["ɵnov"](e,16).color,-1,o["ɵnov"](e,16).id,null,null,null]),n(e,18,0,o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending),n(e,23,1,["standard"==o["ɵnov"](e,24).appearance,"fill"==o["ɵnov"](e,24).appearance,"outline"==o["ɵnov"](e,24).appearance,"legacy"==o["ɵnov"](e,24).appearance,o["ɵnov"](e,24)._control.errorState,o["ɵnov"](e,24)._canLabelFloat,o["ɵnov"](e,24)._shouldLabelFloat(),o["ɵnov"](e,24)._hasFloatingLabel(),o["ɵnov"](e,24)._hideControlPlaceholder(),o["ɵnov"](e,24)._control.disabled,o["ɵnov"](e,24)._control.autofilled,o["ɵnov"](e,24)._control.focused,"accent"==o["ɵnov"](e,24).color,"warn"==o["ɵnov"](e,24).color,o["ɵnov"](e,24)._shouldForward("untouched"),o["ɵnov"](e,24)._shouldForward("touched"),o["ɵnov"](e,24)._shouldForward("pristine"),o["ɵnov"](e,24)._shouldForward("dirty"),o["ɵnov"](e,24)._shouldForward("valid"),o["ɵnov"](e,24)._shouldForward("invalid"),o["ɵnov"](e,24)._shouldForward("pending"),!o["ɵnov"](e,24)._animationsEnabled]),n(e,34,1,[o["ɵnov"](e,39).ngClassUntouched,o["ɵnov"](e,39).ngClassTouched,o["ɵnov"](e,39).ngClassPristine,o["ɵnov"](e,39).ngClassDirty,o["ɵnov"](e,39).ngClassValid,o["ɵnov"](e,39).ngClassInvalid,o["ɵnov"](e,39).ngClassPending,o["ɵnov"](e,40)._isServer,o["ɵnov"](e,40).id,o["ɵnov"](e,40).placeholder,o["ɵnov"](e,40).disabled,o["ɵnov"](e,40).required,o["ɵnov"](e,40).readonly&&!o["ɵnov"](e,40)._isNativeSelect||null,o["ɵnov"](e,40)._ariaDescribedby||null,o["ɵnov"](e,40).errorState,o["ɵnov"](e,40).required.toString()]),n(e,42,1,["standard"==o["ɵnov"](e,43).appearance,"fill"==o["ɵnov"](e,43).appearance,"outline"==o["ɵnov"](e,43).appearance,"legacy"==o["ɵnov"](e,43).appearance,o["ɵnov"](e,43)._control.errorState,o["ɵnov"](e,43)._canLabelFloat,o["ɵnov"](e,43)._shouldLabelFloat(),o["ɵnov"](e,43)._hasFloatingLabel(),o["ɵnov"](e,43)._hideControlPlaceholder(),o["ɵnov"](e,43)._control.disabled,o["ɵnov"](e,43)._control.autofilled,o["ɵnov"](e,43)._control.focused,"accent"==o["ɵnov"](e,43).color,"warn"==o["ɵnov"](e,43).color,o["ɵnov"](e,43)._shouldForward("untouched"),o["ɵnov"](e,43)._shouldForward("touched"),o["ɵnov"](e,43)._shouldForward("pristine"),o["ɵnov"](e,43)._shouldForward("dirty"),o["ɵnov"](e,43)._shouldForward("valid"),o["ɵnov"](e,43)._shouldForward("invalid"),o["ɵnov"](e,43)._shouldForward("pending"),!o["ɵnov"](e,43)._animationsEnabled]),n(e,53,1,[o["ɵnov"](e,59).ngClassUntouched,o["ɵnov"](e,59).ngClassTouched,o["ɵnov"](e,59).ngClassPristine,o["ɵnov"](e,59).ngClassDirty,o["ɵnov"](e,59).ngClassValid,o["ɵnov"](e,59).ngClassInvalid,o["ɵnov"](e,59).ngClassPending,o["ɵnov"](e,60)._isServer,o["ɵnov"](e,60).id,o["ɵnov"](e,60).placeholder,o["ɵnov"](e,60).disabled,o["ɵnov"](e,60).required,o["ɵnov"](e,60).readonly&&!o["ɵnov"](e,60)._isNativeSelect||null,o["ɵnov"](e,60)._ariaDescribedby||null,o["ɵnov"](e,60).errorState,o["ɵnov"](e,60).required.toString()]),n(e,63,0,o["ɵnov"](e,64).disabled||null,"NoopAnimations"===o["ɵnov"](e,64)._animationMode),n(e,66,0,o["ɵnov"](e,67).disabled||null,"NoopAnimations"===o["ɵnov"](e,67)._animationMode)}))}function ES(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-switches-add-template",[],null,null,null,kS,xS)),o["ɵdid"](1,114688,null,0,SS,[rt,Dh,Iw,vl,hc,Bw,Gm,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var TS=o["ɵccf"]("app-ethernet-switches-add-template",SS,ES,{},{},[]),RS=function(){function n(n){this.builtInTemplatesConfigurationService=n,this.ethernetPorts=[],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[],this.displayedColumns=["port_number","vlan","type","ethertype","action"]}return n.prototype.ngOnInit=function(){this.getConfiguration()},n.prototype.getConfiguration=function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()},n.prototype.onAdd=function(){this.ethernetPorts.push(this.newPort),this.newPort={name:"",port_number:0}},n.prototype.delete=function(n){this.ethernetPorts=this.ethernetPorts.filter((function(e){return e!==n}))},n}(),IS=o["ɵcrt"]({encapsulation:0,styles:[IC],data:{}});function DS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port number "]))],null,null)}function FS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.port_number)}))}function OS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" VLAN "]))],null,null)}function MS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.vlan)}))}function NS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Type "]))],null,null)}function AS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.type)}))}function PS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" EtherType "]))],null,null)}function qS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.ethertype)}))}function LS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function jS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete port"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete port"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete port"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function VS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function BS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function HS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[47,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function US(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[59,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function zS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,77,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,DS)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,FS)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,OS)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,MS)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,NS)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,AS)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵeld"](46,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](48,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,14,{cell:0}),o["ɵqud"](603979776,15,{headerCell:0}),o["ɵqud"](603979776,16,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,PS)),o["ɵdid"](54,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[15,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,qS)),o["ɵdid"](57,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[14,4]],Cc,null,[zc]),(n()(),o["ɵeld"](59,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](61,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,17,{cell:0}),o["ɵqud"](603979776,18,{headerCell:0}),o["ɵqud"](603979776,19,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,LS)),o["ɵdid"](67,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,jS)),o["ɵdid"](70,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[17,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,VS)),o["ɵdid"](73,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,BS)),o["ɵdid"](76,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc]),(n()(),o["ɵeld"](78,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](79,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](80,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,20,{_controlNonStatic:0}),o["ɵqud"](335544320,21,{_controlStatic:0}),o["ɵqud"](603979776,22,{_labelChildNonStatic:0}),o["ɵqud"](335544320,23,{_labelChildStatic:0}),o["ɵqud"](603979776,24,{_placeholderChild:0}),o["ɵqud"](603979776,25,{_errorChildren:1}),o["ɵqud"](603979776,26,{_hintChildren:1}),o["ɵqud"](603979776,27,{_prefixChildren:1}),o["ɵqud"](603979776,28,{_suffixChildren:1}),(n()(),o["ɵeld"](90,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,91)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,91)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,91)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,92).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,92).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,92).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,97)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,97)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,97)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.port_number=t)&&l),l}),null,null)),o["ɵdid"](91,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](92,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](94,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](96,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](97,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[20,4],[21,4]],ag,null,[Lg]),(n()(),o["ɵeld"](99,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](100,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,29,{_controlNonStatic:0}),o["ɵqud"](335544320,30,{_controlStatic:0}),o["ɵqud"](603979776,31,{_labelChildNonStatic:0}),o["ɵqud"](335544320,32,{_labelChildStatic:0}),o["ɵqud"](603979776,33,{_placeholderChild:0}),o["ɵqud"](603979776,34,{_errorChildren:1}),o["ɵqud"](603979776,35,{_hintChildren:1}),o["ɵqud"](603979776,36,{_prefixChildren:1}),o["ɵqud"](603979776,37,{_suffixChildren:1}),(n()(),o["ɵeld"](110,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","VLAN"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,111)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,111).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,111)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,111)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,112).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,112).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,112).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,117)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,117)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,117)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.vlan=t)&&l),l}),null,null)),o["ɵdid"](111,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](112,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](114,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](116,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](117,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[29,4],[30,4]],ag,null,[Lg]),(n()(),o["ɵeld"](119,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](120,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,38,{_controlNonStatic:0}),o["ɵqud"](335544320,39,{_controlStatic:0}),o["ɵqud"](603979776,40,{_labelChildNonStatic:0}),o["ɵqud"](335544320,41,{_labelChildStatic:0}),o["ɵqud"](603979776,42,{_placeholderChild:0}),o["ɵqud"](603979776,43,{_errorChildren:1}),o["ɵqud"](603979776,44,{_hintChildren:1}),o["ɵqud"](603979776,45,{_prefixChildren:1}),o["ɵqud"](603979776,46,{_suffixChildren:1}),(n()(),o["ɵeld"](130,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,136)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,136)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,136)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](132,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](133,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](135,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](136,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,47,{options:1}),o["ɵqud"](603979776,48,{optionGroups:1}),o["ɵqud"](603979776,49,{customTrigger:0}),o["ɵprd"](2048,[[38,4],[39,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,HS)),o["ɵdid"](142,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](143,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](144,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,50,{_controlNonStatic:0}),o["ɵqud"](335544320,51,{_controlStatic:0}),o["ɵqud"](603979776,52,{_labelChildNonStatic:0}),o["ɵqud"](335544320,53,{_labelChildStatic:0}),o["ɵqud"](603979776,54,{_placeholderChild:0}),o["ɵqud"](603979776,55,{_errorChildren:1}),o["ɵqud"](603979776,56,{_hintChildren:1}),o["ɵqud"](603979776,57,{_prefixChildren:1}),o["ɵqud"](603979776,58,{_suffixChildren:1}),(n()(),o["ɵeld"](154,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","EtherType"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,160)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,160)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,160)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.ethertype=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](156,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](157,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](159,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](160,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,59,{options:1}),o["ɵqud"](603979776,60,{optionGroups:1}),o["ɵqud"](603979776,61,{customTrigger:0}),o["ɵprd"](2048,[[50,4],[51,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,US)),o["ɵdid"](166,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](167,0,null,null,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAdd()&&l),l}),ou,lu)),o["ɵdid"](168,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,2,0,t.ethernetPorts),n(e,9,0,"port_number"),n(e,22,0,"vlan"),n(e,35,0,"type"),n(e,48,0,"ethertype"),n(e,61,0,"action"),n(e,73,0,t.displayedColumns),n(e,76,0,t.displayedColumns),n(e,94,0,t.newPort.port_number),n(e,97,0,"Port","number"),n(e,114,0,t.newPort.vlan),n(e,117,0,"VLAN","number");var l=t.newPort.type,o=n(e,133,0,!0);n(e,132,0,l,o),n(e,136,0,"Type"),n(e,142,0,t.portTypes);var i=t.newPort.ethertype,r=n(e,157,0,!0);n(e,156,0,i,r),n(e,160,0,"EtherType"),n(e,166,0,t.etherTypes)}),(function(n,e){n(e,79,1,["standard"==o["ɵnov"](e,80).appearance,"fill"==o["ɵnov"](e,80).appearance,"outline"==o["ɵnov"](e,80).appearance,"legacy"==o["ɵnov"](e,80).appearance,o["ɵnov"](e,80)._control.errorState,o["ɵnov"](e,80)._canLabelFloat,o["ɵnov"](e,80)._shouldLabelFloat(),o["ɵnov"](e,80)._hasFloatingLabel(),o["ɵnov"](e,80)._hideControlPlaceholder(),o["ɵnov"](e,80)._control.disabled,o["ɵnov"](e,80)._control.autofilled,o["ɵnov"](e,80)._control.focused,"accent"==o["ɵnov"](e,80).color,"warn"==o["ɵnov"](e,80).color,o["ɵnov"](e,80)._shouldForward("untouched"),o["ɵnov"](e,80)._shouldForward("touched"),o["ɵnov"](e,80)._shouldForward("pristine"),o["ɵnov"](e,80)._shouldForward("dirty"),o["ɵnov"](e,80)._shouldForward("valid"),o["ɵnov"](e,80)._shouldForward("invalid"),o["ɵnov"](e,80)._shouldForward("pending"),!o["ɵnov"](e,80)._animationsEnabled]),n(e,90,1,[o["ɵnov"](e,96).ngClassUntouched,o["ɵnov"](e,96).ngClassTouched,o["ɵnov"](e,96).ngClassPristine,o["ɵnov"](e,96).ngClassDirty,o["ɵnov"](e,96).ngClassValid,o["ɵnov"](e,96).ngClassInvalid,o["ɵnov"](e,96).ngClassPending,o["ɵnov"](e,97)._isServer,o["ɵnov"](e,97).id,o["ɵnov"](e,97).placeholder,o["ɵnov"](e,97).disabled,o["ɵnov"](e,97).required,o["ɵnov"](e,97).readonly&&!o["ɵnov"](e,97)._isNativeSelect||null,o["ɵnov"](e,97)._ariaDescribedby||null,o["ɵnov"](e,97).errorState,o["ɵnov"](e,97).required.toString()]),n(e,99,1,["standard"==o["ɵnov"](e,100).appearance,"fill"==o["ɵnov"](e,100).appearance,"outline"==o["ɵnov"](e,100).appearance,"legacy"==o["ɵnov"](e,100).appearance,o["ɵnov"](e,100)._control.errorState,o["ɵnov"](e,100)._canLabelFloat,o["ɵnov"](e,100)._shouldLabelFloat(),o["ɵnov"](e,100)._hasFloatingLabel(),o["ɵnov"](e,100)._hideControlPlaceholder(),o["ɵnov"](e,100)._control.disabled,o["ɵnov"](e,100)._control.autofilled,o["ɵnov"](e,100)._control.focused,"accent"==o["ɵnov"](e,100).color,"warn"==o["ɵnov"](e,100).color,o["ɵnov"](e,100)._shouldForward("untouched"),o["ɵnov"](e,100)._shouldForward("touched"),o["ɵnov"](e,100)._shouldForward("pristine"),o["ɵnov"](e,100)._shouldForward("dirty"),o["ɵnov"](e,100)._shouldForward("valid"),o["ɵnov"](e,100)._shouldForward("invalid"),o["ɵnov"](e,100)._shouldForward("pending"),!o["ɵnov"](e,100)._animationsEnabled]),n(e,110,1,[o["ɵnov"](e,116).ngClassUntouched,o["ɵnov"](e,116).ngClassTouched,o["ɵnov"](e,116).ngClassPristine,o["ɵnov"](e,116).ngClassDirty,o["ɵnov"](e,116).ngClassValid,o["ɵnov"](e,116).ngClassInvalid,o["ɵnov"](e,116).ngClassPending,o["ɵnov"](e,117)._isServer,o["ɵnov"](e,117).id,o["ɵnov"](e,117).placeholder,o["ɵnov"](e,117).disabled,o["ɵnov"](e,117).required,o["ɵnov"](e,117).readonly&&!o["ɵnov"](e,117)._isNativeSelect||null,o["ɵnov"](e,117)._ariaDescribedby||null,o["ɵnov"](e,117).errorState,o["ɵnov"](e,117).required.toString()]),n(e,119,1,["standard"==o["ɵnov"](e,120).appearance,"fill"==o["ɵnov"](e,120).appearance,"outline"==o["ɵnov"](e,120).appearance,"legacy"==o["ɵnov"](e,120).appearance,o["ɵnov"](e,120)._control.errorState,o["ɵnov"](e,120)._canLabelFloat,o["ɵnov"](e,120)._shouldLabelFloat(),o["ɵnov"](e,120)._hasFloatingLabel(),o["ɵnov"](e,120)._hideControlPlaceholder(),o["ɵnov"](e,120)._control.disabled,o["ɵnov"](e,120)._control.autofilled,o["ɵnov"](e,120)._control.focused,"accent"==o["ɵnov"](e,120).color,"warn"==o["ɵnov"](e,120).color,o["ɵnov"](e,120)._shouldForward("untouched"),o["ɵnov"](e,120)._shouldForward("touched"),o["ɵnov"](e,120)._shouldForward("pristine"),o["ɵnov"](e,120)._shouldForward("dirty"),o["ɵnov"](e,120)._shouldForward("valid"),o["ɵnov"](e,120)._shouldForward("invalid"),o["ɵnov"](e,120)._shouldForward("pending"),!o["ɵnov"](e,120)._animationsEnabled]),n(e,130,1,[o["ɵnov"](e,135).ngClassUntouched,o["ɵnov"](e,135).ngClassTouched,o["ɵnov"](e,135).ngClassPristine,o["ɵnov"](e,135).ngClassDirty,o["ɵnov"](e,135).ngClassValid,o["ɵnov"](e,135).ngClassInvalid,o["ɵnov"](e,135).ngClassPending,o["ɵnov"](e,136).id,o["ɵnov"](e,136).tabIndex,o["ɵnov"](e,136)._getAriaLabel(),o["ɵnov"](e,136)._getAriaLabelledby(),o["ɵnov"](e,136).required.toString(),o["ɵnov"](e,136).disabled.toString(),o["ɵnov"](e,136).errorState,o["ɵnov"](e,136).panelOpen?o["ɵnov"](e,136)._optionIds:null,o["ɵnov"](e,136).multiple,o["ɵnov"](e,136)._ariaDescribedby||null,o["ɵnov"](e,136)._getAriaActiveDescendant(),o["ɵnov"](e,136).disabled,o["ɵnov"](e,136).errorState,o["ɵnov"](e,136).required,o["ɵnov"](e,136).empty]),n(e,143,1,["standard"==o["ɵnov"](e,144).appearance,"fill"==o["ɵnov"](e,144).appearance,"outline"==o["ɵnov"](e,144).appearance,"legacy"==o["ɵnov"](e,144).appearance,o["ɵnov"](e,144)._control.errorState,o["ɵnov"](e,144)._canLabelFloat,o["ɵnov"](e,144)._shouldLabelFloat(),o["ɵnov"](e,144)._hasFloatingLabel(),o["ɵnov"](e,144)._hideControlPlaceholder(),o["ɵnov"](e,144)._control.disabled,o["ɵnov"](e,144)._control.autofilled,o["ɵnov"](e,144)._control.focused,"accent"==o["ɵnov"](e,144).color,"warn"==o["ɵnov"](e,144).color,o["ɵnov"](e,144)._shouldForward("untouched"),o["ɵnov"](e,144)._shouldForward("touched"),o["ɵnov"](e,144)._shouldForward("pristine"),o["ɵnov"](e,144)._shouldForward("dirty"),o["ɵnov"](e,144)._shouldForward("valid"),o["ɵnov"](e,144)._shouldForward("invalid"),o["ɵnov"](e,144)._shouldForward("pending"),!o["ɵnov"](e,144)._animationsEnabled]),n(e,154,1,[o["ɵnov"](e,159).ngClassUntouched,o["ɵnov"](e,159).ngClassTouched,o["ɵnov"](e,159).ngClassPristine,o["ɵnov"](e,159).ngClassDirty,o["ɵnov"](e,159).ngClassValid,o["ɵnov"](e,159).ngClassInvalid,o["ɵnov"](e,159).ngClassPending,o["ɵnov"](e,160).id,o["ɵnov"](e,160).tabIndex,o["ɵnov"](e,160)._getAriaLabel(),o["ɵnov"](e,160)._getAriaLabelledby(),o["ɵnov"](e,160).required.toString(),o["ɵnov"](e,160).disabled.toString(),o["ɵnov"](e,160).errorState,o["ɵnov"](e,160).panelOpen?o["ɵnov"](e,160)._optionIds:null,o["ɵnov"](e,160).multiple,o["ɵnov"](e,160)._ariaDescribedby||null,o["ɵnov"](e,160)._getAriaActiveDescendant(),o["ɵnov"](e,160).disabled,o["ɵnov"](e,160).errorState,o["ɵnov"](e,160).required,o["ɵnov"](e,160).empty]),n(e,167,0,o["ɵnov"](e,168).disabled||null,"NoopAnimations"===o["ɵnov"](e,168)._animationMode)}))}var GS=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=i,this.router=r,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.inputForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe((function(e){n.ethernetSwitchTemplate=e}))}))},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForEthernetSwitches(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForEthernetSwitches()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.onSave=function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):(this.ethernetSwitchTemplate.ports_mapping=this.portsComponent.ethernetPorts,this.builtInTemplatesService.saveTemplate(this.server,this.ethernetSwitchTemplate).subscribe((function(e){n.toasterService.success("Changes saved")})))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetSwitchTemplate.symbol=n},n}(),WS=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function ZS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[40,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function KS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[52,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function XS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,150,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,142,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,2,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,125,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,3,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,114,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetSwitchTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetSwitchTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetSwitchTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](79,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetSwitchTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](96,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](97,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,40,{options:1}),o["ɵqud"](603979776,41,{optionGroups:1}),o["ɵqud"](603979776,42,{customTrigger:0}),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,ZS)),o["ɵdid"](106,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](108,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,43,{_controlNonStatic:0}),o["ɵqud"](335544320,44,{_controlStatic:0}),o["ɵqud"](603979776,45,{_labelChildNonStatic:0}),o["ɵqud"](335544320,46,{_labelChildStatic:0}),o["ɵqud"](603979776,47,{_placeholderChild:0}),o["ɵqud"](603979776,48,{_errorChildren:1}),o["ɵqud"](603979776,49,{_hintChildren:1}),o["ɵqud"](603979776,50,{_prefixChildren:1}),o["ɵqud"](603979776,51,{_suffixChildren:1}),(n()(),o["ɵeld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetSwitchTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](120,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](121,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](123,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](124,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,52,{options:1}),o["ɵqud"](603979776,53,{optionGroups:1}),o["ɵqud"](603979776,54,{customTrigger:0}),o["ɵprd"](2048,[[43,4],[44,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,KS)),o["ɵdid"](130,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](131,16777216,null,null,12,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](132,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,55,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](135,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,136)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,136)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,136)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](136,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](137,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](138,{value:0,params:1}),(n()(),o["ɵeld"](139,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](140,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Port settings "])),(n()(),o["ɵeld"](142,0,null,1,1,"app-ports",[],null,null,null,zS,IS)),o["ɵdid"](143,114688,[[1,4],["ports",4]],0,RS,[oS],{ethernetPorts:[0,"ethernetPorts"]},null),(n()(),o["ɵeld"](144,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](145,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](146,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](148,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](149,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.inputForm),n(e,35,0,"templateName",t.ethernetSwitchTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.ethernetSwitchTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.ethernetSwitchTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.ethernetSwitchTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var i=t.ethernetSwitchTemplate.console_type,r=n(e,121,0,!0);n(e,120,0,i,r),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes),n(e,143,0,t.ethernetSwitchTemplate.ports_mapping),n(e,149,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,78,0,o["ɵnov"](e,79).disabled||null,"NoopAnimations"===o["ɵnov"](e,79)._animationMode),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100).id,o["ɵnov"](e,100).tabIndex,o["ɵnov"](e,100)._getAriaLabel(),o["ɵnov"](e,100)._getAriaLabelledby(),o["ɵnov"](e,100).required.toString(),o["ɵnov"](e,100).disabled.toString(),o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).panelOpen?o["ɵnov"](e,100)._optionIds:null,o["ɵnov"](e,100).multiple,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100)._getAriaActiveDescendant(),o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required,o["ɵnov"](e,100).empty]),n(e,107,1,["standard"==o["ɵnov"](e,108).appearance,"fill"==o["ɵnov"](e,108).appearance,"outline"==o["ɵnov"](e,108).appearance,"legacy"==o["ɵnov"](e,108).appearance,o["ɵnov"](e,108)._control.errorState,o["ɵnov"](e,108)._canLabelFloat,o["ɵnov"](e,108)._shouldLabelFloat(),o["ɵnov"](e,108)._hasFloatingLabel(),o["ɵnov"](e,108)._hideControlPlaceholder(),o["ɵnov"](e,108)._control.disabled,o["ɵnov"](e,108)._control.autofilled,o["ɵnov"](e,108)._control.focused,"accent"==o["ɵnov"](e,108).color,"warn"==o["ɵnov"](e,108).color,o["ɵnov"](e,108)._shouldForward("untouched"),o["ɵnov"](e,108)._shouldForward("touched"),o["ɵnov"](e,108)._shouldForward("pristine"),o["ɵnov"](e,108)._shouldForward("dirty"),o["ɵnov"](e,108)._shouldForward("valid"),o["ɵnov"](e,108)._shouldForward("invalid"),o["ɵnov"](e,108)._shouldForward("pending"),!o["ɵnov"](e,108)._animationsEnabled]),n(e,118,1,[o["ɵnov"](e,123).ngClassUntouched,o["ɵnov"](e,123).ngClassTouched,o["ɵnov"](e,123).ngClassPristine,o["ɵnov"](e,123).ngClassDirty,o["ɵnov"](e,123).ngClassValid,o["ɵnov"](e,123).ngClassInvalid,o["ɵnov"](e,123).ngClassPending,o["ɵnov"](e,124).id,o["ɵnov"](e,124).tabIndex,o["ɵnov"](e,124)._getAriaLabel(),o["ɵnov"](e,124)._getAriaLabelledby(),o["ɵnov"](e,124).required.toString(),o["ɵnov"](e,124).disabled.toString(),o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).panelOpen?o["ɵnov"](e,124)._optionIds:null,o["ɵnov"](e,124).multiple,o["ɵnov"](e,124)._ariaDescribedby||null,o["ɵnov"](e,124)._getAriaActiveDescendant(),o["ɵnov"](e,124).disabled,o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).required,o["ɵnov"](e,124).empty]),n(e,131,0,o["ɵnov"](e,132).expanded,"NoopAnimations"===o["ɵnov"](e,132)._animationMode,o["ɵnov"](e,132)._hasSpacing());var f=o["ɵnov"](e,136).panel._headerId,h=o["ɵnov"](e,136).disabled?-1:0,m=o["ɵnov"](e,136)._getPanelId(),v=o["ɵnov"](e,136)._isExpanded(),g=o["ɵnov"](e,136).panel.disabled,b=o["ɵnov"](e,136)._isExpanded(),_="after"===o["ɵnov"](e,136)._getTogglePosition(),y="before"===o["ɵnov"](e,136)._getTogglePosition(),C=o["ɵnov"](e,136)._animationsDisabled,w=n(e,138,0,o["ɵnov"](e,136)._getExpandedState(),n(e,137,0,o["ɵnov"](e,136).collapsedHeight,o["ɵnov"](e,136).expandedHeight));n(e,135,0,f,h,m,v,g,b,_,y,C,w),n(e,145,0,o["ɵnov"](e,146).disabled||null,"NoopAnimations"===o["ɵnov"](e,146)._animationMode),n(e,148,0,o["ɵnov"](e,149).disabled||null,"NoopAnimations"===o["ɵnov"](e,149)._animationMode)}))}function YS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.ethernetSwitchTemplate.symbol)}),null)}function $S(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{portsComponent:0}),(n()(),o["ɵeld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{shadowed:0}),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Ethernet switch configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,XS)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,YS)),o["ɵdid"](12,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,4,0,t.isSymbolSelectionOpened);n(e,3,0,"content",l),n(e,10,0,t.ethernetSwitchTemplate),n(e,12,0,t.isSymbolSelectionOpened&&t.ethernetSwitchTemplate)}),null)}function QS(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ethernet-switches-template-details",[],null,null,null,$S,WS)),o["ɵdid"](1,114688,null,0,GS,[rt,Dh,Iw,hc,Gm,oS,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var JS=o["ɵccf"]("app-ethernet-switches-template-details",GS,QS,{},{},[]),nx=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.cloudNodesTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe((function(e){n.cloudNodesTemplates=e.filter((function(n){return"cloud"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),ex=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function tx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function lx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add cloud node template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/cloud-nodes/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function ox(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function ix(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function rx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,ix)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.cloudNodesTemplates)}),null)}function ax(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,rx)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function ux(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Cloud nodes templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,tx)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,lx)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ox)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ax)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.cloudNodesTemplates.length),n(e,13,0,t.cloudNodesTemplates.length),n(e,15,0,t.server)}),null)}function sx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-cloud-nodes-templates",[],null,null,null,ux,ex)),o["ɵdid"](1,114688,null,0,nx,[rt,Dh,Iw],null,null)],(function(n,e){n(e,1,0)}),null)}var dx=o["ɵccf"]("app-cloud-nodes-templates",nx,sx,{},{},[]),cx=function(){function n(n,e,t,l,o,i,r,a){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=i,this.formBuilder=r,this.computeService=a,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.addTemplate=function(){var n,e=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.templateMocksService.getCloudNodeTemplate().subscribe((function(e){n=e})),n.template_id=Object(Zg.v4)(),n.name=this.formGroup.get("templateName").value,n.compute_id=this.isGns3VmChosen?"vm":"local",this.builtInTemplatesService.addTemplate(this.server,n).subscribe((function(n){e.goBack()})))},n}(),px=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function fx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,48,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New cloud node template"])),(n()(),o["ɵeld"](5,0,null,null,43,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,35,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](10,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](12,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,13)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](13,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run the cloud node locally"])),(n()(),o["ɵeld"](15,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,16)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](16,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run the cloud node on the GNS3 VM"])),(n()(),o["ɵeld"](18,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,20).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,20).onReset()&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,qm,[],null,null),o["ɵdid"](20,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](22,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](23,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](24,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](34,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,40)._onInput()&&l),l}),null,null)),o["ɵdid"](35,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](37,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](39,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](40,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](42,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](43,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](44,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](46,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](47,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,13,0,"","1"),n(e,16,0,"2",!t.isGns3VmAvailable),n(e,20,0,t.formGroup),n(e,37,0,"templateName"),n(e,40,0,"Template name","text"),n(e,47,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,1,[o["ɵnov"](e,13).checked,o["ɵnov"](e,13).disabled,"NoopAnimations"===o["ɵnov"](e,13)._animationMode,"primary"===o["ɵnov"](e,13).color,"accent"===o["ɵnov"](e,13).color,"warn"===o["ɵnov"](e,13).color,-1,o["ɵnov"](e,13).id,null,null,null]),n(e,15,1,[o["ɵnov"](e,16).checked,o["ɵnov"](e,16).disabled,"NoopAnimations"===o["ɵnov"](e,16)._animationMode,"primary"===o["ɵnov"](e,16).color,"accent"===o["ɵnov"](e,16).color,"warn"===o["ɵnov"](e,16).color,-1,o["ɵnov"](e,16).id,null,null,null]),n(e,18,0,o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending),n(e,23,1,["standard"==o["ɵnov"](e,24).appearance,"fill"==o["ɵnov"](e,24).appearance,"outline"==o["ɵnov"](e,24).appearance,"legacy"==o["ɵnov"](e,24).appearance,o["ɵnov"](e,24)._control.errorState,o["ɵnov"](e,24)._canLabelFloat,o["ɵnov"](e,24)._shouldLabelFloat(),o["ɵnov"](e,24)._hasFloatingLabel(),o["ɵnov"](e,24)._hideControlPlaceholder(),o["ɵnov"](e,24)._control.disabled,o["ɵnov"](e,24)._control.autofilled,o["ɵnov"](e,24)._control.focused,"accent"==o["ɵnov"](e,24).color,"warn"==o["ɵnov"](e,24).color,o["ɵnov"](e,24)._shouldForward("untouched"),o["ɵnov"](e,24)._shouldForward("touched"),o["ɵnov"](e,24)._shouldForward("pristine"),o["ɵnov"](e,24)._shouldForward("dirty"),o["ɵnov"](e,24)._shouldForward("valid"),o["ɵnov"](e,24)._shouldForward("invalid"),o["ɵnov"](e,24)._shouldForward("pending"),!o["ɵnov"](e,24)._animationsEnabled]),n(e,34,1,[o["ɵnov"](e,39).ngClassUntouched,o["ɵnov"](e,39).ngClassTouched,o["ɵnov"](e,39).ngClassPristine,o["ɵnov"](e,39).ngClassDirty,o["ɵnov"](e,39).ngClassValid,o["ɵnov"](e,39).ngClassInvalid,o["ɵnov"](e,39).ngClassPending,o["ɵnov"](e,40)._isServer,o["ɵnov"](e,40).id,o["ɵnov"](e,40).placeholder,o["ɵnov"](e,40).disabled,o["ɵnov"](e,40).required,o["ɵnov"](e,40).readonly&&!o["ɵnov"](e,40)._isNativeSelect||null,o["ɵnov"](e,40)._ariaDescribedby||null,o["ɵnov"](e,40).errorState,o["ɵnov"](e,40).required.toString()]),n(e,43,0,o["ɵnov"](e,44).disabled||null,"NoopAnimations"===o["ɵnov"](e,44)._animationMode),n(e,46,0,o["ɵnov"](e,47).disabled||null,"NoopAnimations"===o["ɵnov"](e,47)._animationMode)}))}function hx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-cloud-nodes-add-template",[],null,null,null,fx,px)),o["ɵdid"](1,114688,null,0,cx,[rt,Dh,Iw,vl,hc,Bw,Gm,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var mx=o["ɵccf"]("app-cloud-nodes-add-template",cx,hx,{},{},[]),vx=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.builtInTemplatesConfigurationService=o,this.router=i,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["name","lport","rhost","rport"],this.dataSourceUdp=[],this.newPort={name:"",port_number:0}}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe((function(e){n.cloudNodeTemplate=e,n.portsMappingEthernet=n.cloudNodeTemplate.ports_mapping.filter((function(n){return"ethernet"===n.type})),n.portsMappingTap=n.cloudNodeTemplate.ports_mapping.filter((function(n){return"tap"===n.type})),n.portsMappingUdp=n.cloudNodeTemplate.ports_mapping.filter((function(n){return"udp"===n.type})),n.dataSourceUdp=n.portsMappingUdp}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForCloudNodes(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()},n.prototype.onAddEthernetInterface=function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})},n.prototype.onAddTapInterface=function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})},n.prototype.onAddUdpInterface=function(){this.portsMappingUdp.push(this.newPort),this.dataSourceUdp=this.portsMappingUdp.slice(),this.newPort={name:"",port_number:0}},n.prototype.onSave=function(){var n=this;this.cloudNodeTemplate.ports_mapping=this.portsMappingEthernet.concat(this.portsMappingTap),this.builtInTemplatesService.saveTemplate(this.server,this.cloudNodeTemplate).subscribe((function(e){n.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.cloudNodeTemplate.symbol=n},n}(),gx=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function bx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[39,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function _x(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[51,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function yx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function Cx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[91,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function wx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function Sx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Name "]))],null,null)}function xx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function kx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Local port "]))],null,null)}function Ex(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.rport)}))}function Tx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Type "]))],null,null)}function Rx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.rhost)}))}function Ix(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Remote port "]))],null,null)}function Dx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.lport)}))}function Fx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function Ox(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function Mx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,105,{_contentColumnDefs:1}),o["ɵqud"](603979776,106,{_contentRowDefs:1}),o["ɵqud"](603979776,107,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,108,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,109,{cell:0}),o["ɵqud"](603979776,110,{headerCell:0}),o["ɵqud"](603979776,111,{footerCell:0}),o["ɵprd"](2048,[[105,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Sx)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[110,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,xx)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[109,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,112,{cell:0}),o["ɵqud"](603979776,113,{headerCell:0}),o["ɵqud"](603979776,114,{footerCell:0}),o["ɵprd"](2048,[[105,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,kx)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[113,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Ex)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[112,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,115,{cell:0}),o["ɵqud"](603979776,116,{headerCell:0}),o["ɵqud"](603979776,117,{footerCell:0}),o["ɵprd"](2048,[[105,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Tx)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[116,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Rx)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[115,4]],Cc,null,[zc]),(n()(),o["ɵeld"](46,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](48,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,118,{cell:0}),o["ɵqud"](603979776,119,{headerCell:0}),o["ɵqud"](603979776,120,{footerCell:0}),o["ɵprd"](2048,[[105,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,Ix)),o["ɵdid"](54,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[119,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,Dx)),o["ɵdid"](57,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[118,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,Fx)),o["ɵdid"](60,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[107,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,Ox)),o["ɵdid"](63,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[106,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,2,0,t.dataSourceUdp),n(e,9,0,"name"),n(e,22,0,"rport"),n(e,35,0,"rhost"),n(e,48,0,"lport"),n(e,60,0,t.displayedColumns),n(e,63,0,t.displayedColumns)}),null)}function Nx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function Ax(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,359,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,350,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,175,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General "])),(n()(),o["ɵeld"](16,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](17,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,3,{_controlNonStatic:0}),o["ɵqud"](335544320,4,{_controlStatic:0}),o["ɵqud"](603979776,5,{_labelChildNonStatic:0}),o["ɵqud"](335544320,6,{_labelChildStatic:0}),o["ɵqud"](603979776,7,{_placeholderChild:0}),o["ɵqud"](603979776,8,{_errorChildren:1}),o["ɵqud"](603979776,9,{_hintChildren:1}),o["ɵqud"](603979776,10,{_prefixChildren:1}),o["ɵqud"](603979776,11,{_suffixChildren:1}),(n()(),o["ɵeld"](27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,28)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,28)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,28)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,33)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](28,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](30,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](32,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](33,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[3,4],[4,4]],ag,null,[Lg]),(n()(),o["ɵeld"](35,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](36,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,12,{_controlNonStatic:0}),o["ɵqud"](335544320,13,{_controlStatic:0}),o["ɵqud"](603979776,14,{_labelChildNonStatic:0}),o["ɵqud"](335544320,15,{_labelChildStatic:0}),o["ɵqud"](603979776,16,{_placeholderChild:0}),o["ɵqud"](603979776,17,{_errorChildren:1}),o["ɵqud"](603979776,18,{_hintChildren:1}),o["ɵqud"](603979776,19,{_prefixChildren:1}),o["ɵqud"](603979776,20,{_suffixChildren:1}),(n()(),o["ɵeld"](46,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,47)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,47)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,47)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,52)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,52)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](47,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](49,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](51,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](52,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[12,4],[13,4]],ag,null,[Lg]),(n()(),o["ɵeld"](54,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](55,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,21,{_controlNonStatic:0}),o["ɵqud"](335544320,22,{_controlStatic:0}),o["ɵqud"](603979776,23,{_labelChildNonStatic:0}),o["ɵqud"](335544320,24,{_labelChildStatic:0}),o["ɵqud"](603979776,25,{_placeholderChild:0}),o["ɵqud"](603979776,26,{_errorChildren:1}),o["ɵqud"](603979776,27,{_hintChildren:1}),o["ɵqud"](603979776,28,{_prefixChildren:1}),o["ɵqud"](603979776,29,{_suffixChildren:1}),(n()(),o["ɵeld"](65,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,66)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,66).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,66)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,66)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,71)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,71)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](66,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](68,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](70,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](71,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[21,4],[22,4]],ag,null,[Lg]),(n()(),o["ɵeld"](73,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](74,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](76,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](77,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](78,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](79,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,30,{_controlNonStatic:0}),o["ɵqud"](335544320,31,{_controlStatic:0}),o["ɵqud"](603979776,32,{_labelChildNonStatic:0}),o["ɵqud"](335544320,33,{_labelChildStatic:0}),o["ɵqud"](603979776,34,{_placeholderChild:0}),o["ɵqud"](603979776,35,{_errorChildren:1}),o["ɵqud"](603979776,36,{_hintChildren:1}),o["ɵqud"](603979776,37,{_prefixChildren:1}),o["ɵqud"](603979776,38,{_suffixChildren:1}),(n()(),o["ɵeld"](89,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,94)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,94)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,94)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](91,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](93,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](94,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,39,{options:1}),o["ɵqud"](603979776,40,{optionGroups:1}),o["ɵqud"](603979776,41,{customTrigger:0}),o["ɵprd"](2048,[[30,4],[31,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,bx)),o["ɵdid"](100,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](101,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](102,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,42,{_controlNonStatic:0}),o["ɵqud"](335544320,43,{_controlStatic:0}),o["ɵqud"](603979776,44,{_labelChildNonStatic:0}),o["ɵqud"](335544320,45,{_labelChildStatic:0}),o["ɵqud"](603979776,46,{_placeholderChild:0}),o["ɵqud"](603979776,47,{_errorChildren:1}),o["ɵqud"](603979776,48,{_hintChildren:1}),o["ɵqud"](603979776,49,{_prefixChildren:1}),o["ɵqud"](603979776,50,{_suffixChildren:1}),(n()(),o["ɵeld"](112,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,117)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,117)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,117)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](114,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](116,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](117,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,51,{options:1}),o["ɵqud"](603979776,52,{optionGroups:1}),o["ɵqud"](603979776,53,{customTrigger:0}),o["ɵprd"](2048,[[42,4],[43,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,_x)),o["ɵdid"](123,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](124,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](125,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,54,{_controlNonStatic:0}),o["ɵqud"](335544320,55,{_controlStatic:0}),o["ɵqud"](603979776,56,{_labelChildNonStatic:0}),o["ɵqud"](335544320,57,{_labelChildStatic:0}),o["ɵqud"](603979776,58,{_placeholderChild:0}),o["ɵqud"](603979776,59,{_errorChildren:1}),o["ɵqud"](603979776,60,{_hintChildren:1}),o["ɵqud"](603979776,61,{_prefixChildren:1}),o["ɵqud"](603979776,62,{_suffixChildren:1}),(n()(),o["ɵeld"](135,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console host"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,136)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,136).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,136)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,136)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,141)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,141)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,141)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.remote_console_host=t)&&l),l}),null,null)),o["ɵdid"](136,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](138,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](140,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](141,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[54,4],[55,4]],ag,null,[Lg]),(n()(),o["ɵeld"](143,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](144,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,63,{_controlNonStatic:0}),o["ɵqud"](335544320,64,{_controlStatic:0}),o["ɵqud"](603979776,65,{_labelChildNonStatic:0}),o["ɵqud"](335544320,66,{_labelChildStatic:0}),o["ɵqud"](603979776,67,{_placeholderChild:0}),o["ɵqud"](603979776,68,{_errorChildren:1}),o["ɵqud"](603979776,69,{_hintChildren:1}),o["ɵqud"](603979776,70,{_prefixChildren:1}),o["ɵqud"](603979776,71,{_suffixChildren:1}),(n()(),o["ɵeld"](154,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,155)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,155).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,155)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,155)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,160)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,160)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,160)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.remote_console_port=t)&&l),l}),null,null)),o["ɵdid"](155,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](157,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](159,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](160,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[63,4],[64,4]],ag,null,[Lg]),(n()(),o["ɵeld"](162,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](163,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,72,{_controlNonStatic:0}),o["ɵqud"](335544320,73,{_controlStatic:0}),o["ɵqud"](603979776,74,{_labelChildNonStatic:0}),o["ɵqud"](335544320,75,{_labelChildStatic:0}),o["ɵqud"](603979776,76,{_placeholderChild:0}),o["ɵqud"](603979776,77,{_errorChildren:1}),o["ɵqud"](603979776,78,{_hintChildren:1}),o["ɵqud"](603979776,79,{_prefixChildren:1}),o["ɵqud"](603979776,80,{_suffixChildren:1}),(n()(),o["ɵeld"](173,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console HTTP path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,174)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,174).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,174)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,174)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,179)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,179)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,179)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.cloudNodeTemplate.remote_console_http_path=t)&&l),l}),null,null)),o["ɵdid"](174,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](176,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](178,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](179,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[72,4],[73,4]],ag,null,[Lg]),(n()(),o["ɵeld"](181,16777216,null,null,39,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](182,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,81,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](185,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,186)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,186)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,186)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](186,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](187,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](188,{value:0,params:1}),(n()(),o["ɵeld"](189,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](190,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Ethernet interfaces "])),(n()(),o["ɵand"](16777216,null,1,1,null,yx)),o["ɵdid"](193,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](194,0,null,1,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](195,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,82,{_controlNonStatic:0}),o["ɵqud"](335544320,83,{_controlStatic:0}),o["ɵqud"](603979776,84,{_labelChildNonStatic:0}),o["ɵqud"](335544320,85,{_labelChildStatic:0}),o["ɵqud"](603979776,86,{_placeholderChild:0}),o["ɵqud"](603979776,87,{_errorChildren:1}),o["ɵqud"](603979776,88,{_hintChildren:1}),o["ɵqud"](603979776,89,{_prefixChildren:1}),o["ɵqud"](603979776,90,{_suffixChildren:1}),(n()(),o["ɵeld"](205,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Ethernet interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,211)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,211)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,211)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetInterface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](207,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](208,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](210,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](211,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,91,{options:1}),o["ɵqud"](603979776,92,{optionGroups:1}),o["ɵqud"](603979776,93,{customTrigger:0}),o["ɵprd"](2048,[[82,4],[83,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Cx)),o["ɵdid"](217,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](218,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddEthernetInterface()&&l),l}),ou,lu)),o["ɵdid"](219,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](221,16777216,null,null,34,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](222,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,94,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](225,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,226)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,226)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,226)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](226,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](227,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](228,{value:0,params:1}),(n()(),o["ɵeld"](229,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](230,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" TAP interfaces "])),(n()(),o["ɵand"](16777216,null,1,1,null,wx)),o["ɵdid"](233,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](234,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](235,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,95,{_controlNonStatic:0}),o["ɵqud"](335544320,96,{_controlStatic:0}),o["ɵqud"](603979776,97,{_labelChildNonStatic:0}),o["ɵqud"](335544320,98,{_labelChildStatic:0}),o["ɵqud"](603979776,99,{_placeholderChild:0}),o["ɵqud"](603979776,100,{_errorChildren:1}),o["ɵqud"](603979776,101,{_hintChildren:1}),o["ɵqud"](603979776,102,{_prefixChildren:1}),o["ɵqud"](603979776,103,{_suffixChildren:1}),(n()(),o["ɵeld"](245,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","TAP interface"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,246)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,246).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,246)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,246)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,251)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,251)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,251)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.tapInterface=t)&&l),l}),null,null)),o["ɵdid"](246,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](248,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](250,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](251,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[95,4],[96,4]],ag,null,[Lg]),(n()(),o["ɵeld"](253,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddTapInterface()&&l),l}),ou,lu)),o["ɵdid"](254,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](256,16777216,null,null,95,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](257,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,104,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](260,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,261)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,261)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,261)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](261,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](262,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](263,{value:0,params:1}),(n()(),o["ɵeld"](264,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](265,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" UDP tunnels "])),(n()(),o["ɵand"](16777216,null,1,1,null,Mx)),o["ɵdid"](268,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,Nx)),o["ɵdid"](270,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](271,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](272,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,121,{_controlNonStatic:0}),o["ɵqud"](335544320,122,{_controlStatic:0}),o["ɵqud"](603979776,123,{_labelChildNonStatic:0}),o["ɵqud"](335544320,124,{_labelChildStatic:0}),o["ɵqud"](603979776,125,{_placeholderChild:0}),o["ɵqud"](603979776,126,{_errorChildren:1}),o["ɵqud"](603979776,127,{_hintChildren:1}),o["ɵqud"](603979776,128,{_prefixChildren:1}),o["ɵqud"](603979776,129,{_suffixChildren:1}),(n()(),o["ɵeld"](282,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,283)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,283).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,283)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,283)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,288)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,288)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,288)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.name=t)&&l),l}),null,null)),o["ɵdid"](283,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](285,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](287,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](288,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[121,4],[122,4]],ag,null,[Lg]),(n()(),o["ɵeld"](290,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](291,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,130,{_controlNonStatic:0}),o["ɵqud"](335544320,131,{_controlStatic:0}),o["ɵqud"](603979776,132,{_labelChildNonStatic:0}),o["ɵqud"](335544320,133,{_labelChildStatic:0}),o["ɵqud"](603979776,134,{_placeholderChild:0}),o["ɵqud"](603979776,135,{_errorChildren:1}),o["ɵqud"](603979776,136,{_hintChildren:1}),o["ɵqud"](603979776,137,{_prefixChildren:1}),o["ɵqud"](603979776,138,{_suffixChildren:1}),(n()(),o["ɵeld"](301,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Local port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,302)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,302).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,302)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,302)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,303).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,303).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,303).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,308)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,308)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,308)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.lport=t)&&l),l}),null,null)),o["ɵdid"](302,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](303,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](305,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](307,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](308,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[130,4],[131,4]],ag,null,[Lg]),(n()(),o["ɵeld"](310,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](311,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,139,{_controlNonStatic:0}),o["ɵqud"](335544320,140,{_controlStatic:0}),o["ɵqud"](603979776,141,{_labelChildNonStatic:0}),o["ɵqud"](335544320,142,{_labelChildStatic:0}),o["ɵqud"](603979776,143,{_placeholderChild:0}),o["ɵqud"](603979776,144,{_errorChildren:1}),o["ɵqud"](603979776,145,{_hintChildren:1}),o["ɵqud"](603979776,146,{_prefixChildren:1}),o["ɵqud"](603979776,147,{_suffixChildren:1}),(n()(),o["ɵeld"](321,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote host"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,322)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,322).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,322)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,322)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,327)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,327)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,327)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.rhost=t)&&l),l}),null,null)),o["ɵdid"](322,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](324,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](326,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](327,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[139,4],[140,4]],ag,null,[Lg]),(n()(),o["ɵeld"](329,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](330,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,148,{_controlNonStatic:0}),o["ɵqud"](335544320,149,{_controlStatic:0}),o["ɵqud"](603979776,150,{_labelChildNonStatic:0}),o["ɵqud"](335544320,151,{_labelChildStatic:0}),o["ɵqud"](603979776,152,{_placeholderChild:0}),o["ɵqud"](603979776,153,{_errorChildren:1}),o["ɵqud"](603979776,154,{_hintChildren:1}),o["ɵqud"](603979776,155,{_prefixChildren:1}),o["ɵqud"](603979776,156,{_suffixChildren:1}),(n()(),o["ɵeld"](340,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,341)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,341).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,341)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,341)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,342).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,342).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,342).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,347)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,347)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,347)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.rport=t)&&l),l}),null,null)),o["ɵdid"](341,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](342,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](344,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](346,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](347,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[148,4],[149,4]],ag,null,[Lg]),(n()(),o["ɵeld"](349,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddUdpInterface()&&l),l}),ou,lu)),o["ɵdid"](350,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](352,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](353,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](354,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](356,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](357,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"])),(n()(),o["ɵeld"](359,0,null,null,0,"br",[],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,30,0,t.cloudNodeTemplate.name),n(e,33,0,"Template name","text"),n(e,49,0,t.cloudNodeTemplate.default_name_format),n(e,52,0,"Default name format","text"),n(e,68,0,t.cloudNodeTemplate.symbol),n(e,71,0,"Symbol","text"),n(e,91,0,t.cloudNodeTemplate.category),n(e,94,0,"Category"),n(e,100,0,t.categories),n(e,114,0,t.cloudNodeTemplate.console_type),n(e,117,0,"Console type"),n(e,123,0,t.consoleTypes),n(e,138,0,t.cloudNodeTemplate.remote_console_host),n(e,141,0,"Console host","text"),n(e,157,0,t.cloudNodeTemplate.remote_console_port),n(e,160,0,"Console port","text"),n(e,176,0,t.cloudNodeTemplate.remote_console_http_path),n(e,179,0,"Console HTTP path","text"),n(e,193,0,t.portsMappingEthernet);var l=t.ethernetInterface,o=n(e,208,0,!0);n(e,207,0,l,o),n(e,211,0,"Ethernet interface"),n(e,217,0,t.ethernetInterfaces),n(e,233,0,t.portsMappingTap),n(e,248,0,t.tapInterface),n(e,251,0,"TAP interface","text"),n(e,268,0,t.dataSourceUdp.length),n(e,270,0,t.dataSourceUdp.length),n(e,285,0,t.newPort.name),n(e,288,0,"Name","text"),n(e,305,0,t.newPort.lport),n(e,308,0,"Local port","number"),n(e,324,0,t.newPort.rhost),n(e,327,0,"Remote host","text"),n(e,344,0,t.newPort.rport),n(e,347,0,"Remote port","number"),n(e,357,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,1,["standard"==o["ɵnov"](e,17).appearance,"fill"==o["ɵnov"](e,17).appearance,"outline"==o["ɵnov"](e,17).appearance,"legacy"==o["ɵnov"](e,17).appearance,o["ɵnov"](e,17)._control.errorState,o["ɵnov"](e,17)._canLabelFloat,o["ɵnov"](e,17)._shouldLabelFloat(),o["ɵnov"](e,17)._hasFloatingLabel(),o["ɵnov"](e,17)._hideControlPlaceholder(),o["ɵnov"](e,17)._control.disabled,o["ɵnov"](e,17)._control.autofilled,o["ɵnov"](e,17)._control.focused,"accent"==o["ɵnov"](e,17).color,"warn"==o["ɵnov"](e,17).color,o["ɵnov"](e,17)._shouldForward("untouched"),o["ɵnov"](e,17)._shouldForward("touched"),o["ɵnov"](e,17)._shouldForward("pristine"),o["ɵnov"](e,17)._shouldForward("dirty"),o["ɵnov"](e,17)._shouldForward("valid"),o["ɵnov"](e,17)._shouldForward("invalid"),o["ɵnov"](e,17)._shouldForward("pending"),!o["ɵnov"](e,17)._animationsEnabled]),n(e,27,1,[o["ɵnov"](e,32).ngClassUntouched,o["ɵnov"](e,32).ngClassTouched,o["ɵnov"](e,32).ngClassPristine,o["ɵnov"](e,32).ngClassDirty,o["ɵnov"](e,32).ngClassValid,o["ɵnov"](e,32).ngClassInvalid,o["ɵnov"](e,32).ngClassPending,o["ɵnov"](e,33)._isServer,o["ɵnov"](e,33).id,o["ɵnov"](e,33).placeholder,o["ɵnov"](e,33).disabled,o["ɵnov"](e,33).required,o["ɵnov"](e,33).readonly&&!o["ɵnov"](e,33)._isNativeSelect||null,o["ɵnov"](e,33)._ariaDescribedby||null,o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).required.toString()]),n(e,35,1,["standard"==o["ɵnov"](e,36).appearance,"fill"==o["ɵnov"](e,36).appearance,"outline"==o["ɵnov"](e,36).appearance,"legacy"==o["ɵnov"](e,36).appearance,o["ɵnov"](e,36)._control.errorState,o["ɵnov"](e,36)._canLabelFloat,o["ɵnov"](e,36)._shouldLabelFloat(),o["ɵnov"](e,36)._hasFloatingLabel(),o["ɵnov"](e,36)._hideControlPlaceholder(),o["ɵnov"](e,36)._control.disabled,o["ɵnov"](e,36)._control.autofilled,o["ɵnov"](e,36)._control.focused,"accent"==o["ɵnov"](e,36).color,"warn"==o["ɵnov"](e,36).color,o["ɵnov"](e,36)._shouldForward("untouched"),o["ɵnov"](e,36)._shouldForward("touched"),o["ɵnov"](e,36)._shouldForward("pristine"),o["ɵnov"](e,36)._shouldForward("dirty"),o["ɵnov"](e,36)._shouldForward("valid"),o["ɵnov"](e,36)._shouldForward("invalid"),o["ɵnov"](e,36)._shouldForward("pending"),!o["ɵnov"](e,36)._animationsEnabled]),n(e,46,1,[o["ɵnov"](e,51).ngClassUntouched,o["ɵnov"](e,51).ngClassTouched,o["ɵnov"](e,51).ngClassPristine,o["ɵnov"](e,51).ngClassDirty,o["ɵnov"](e,51).ngClassValid,o["ɵnov"](e,51).ngClassInvalid,o["ɵnov"](e,51).ngClassPending,o["ɵnov"](e,52)._isServer,o["ɵnov"](e,52).id,o["ɵnov"](e,52).placeholder,o["ɵnov"](e,52).disabled,o["ɵnov"](e,52).required,o["ɵnov"](e,52).readonly&&!o["ɵnov"](e,52)._isNativeSelect||null,o["ɵnov"](e,52)._ariaDescribedby||null,o["ɵnov"](e,52).errorState,o["ɵnov"](e,52).required.toString()]),n(e,54,1,["standard"==o["ɵnov"](e,55).appearance,"fill"==o["ɵnov"](e,55).appearance,"outline"==o["ɵnov"](e,55).appearance,"legacy"==o["ɵnov"](e,55).appearance,o["ɵnov"](e,55)._control.errorState,o["ɵnov"](e,55)._canLabelFloat,o["ɵnov"](e,55)._shouldLabelFloat(),o["ɵnov"](e,55)._hasFloatingLabel(),o["ɵnov"](e,55)._hideControlPlaceholder(),o["ɵnov"](e,55)._control.disabled,o["ɵnov"](e,55)._control.autofilled,o["ɵnov"](e,55)._control.focused,"accent"==o["ɵnov"](e,55).color,"warn"==o["ɵnov"](e,55).color,o["ɵnov"](e,55)._shouldForward("untouched"),o["ɵnov"](e,55)._shouldForward("touched"),o["ɵnov"](e,55)._shouldForward("pristine"),o["ɵnov"](e,55)._shouldForward("dirty"),o["ɵnov"](e,55)._shouldForward("valid"),o["ɵnov"](e,55)._shouldForward("invalid"),o["ɵnov"](e,55)._shouldForward("pending"),!o["ɵnov"](e,55)._animationsEnabled]),n(e,65,1,[o["ɵnov"](e,70).ngClassUntouched,o["ɵnov"](e,70).ngClassTouched,o["ɵnov"](e,70).ngClassPristine,o["ɵnov"](e,70).ngClassDirty,o["ɵnov"](e,70).ngClassValid,o["ɵnov"](e,70).ngClassInvalid,o["ɵnov"](e,70).ngClassPending,o["ɵnov"](e,71)._isServer,o["ɵnov"](e,71).id,o["ɵnov"](e,71).placeholder,o["ɵnov"](e,71).disabled,o["ɵnov"](e,71).required,o["ɵnov"](e,71).readonly&&!o["ɵnov"](e,71)._isNativeSelect||null,o["ɵnov"](e,71)._ariaDescribedby||null,o["ɵnov"](e,71).errorState,o["ɵnov"](e,71).required.toString()]),n(e,73,0,o["ɵnov"](e,74).disabled||null,"NoopAnimations"===o["ɵnov"](e,74)._animationMode),n(e,78,1,["standard"==o["ɵnov"](e,79).appearance,"fill"==o["ɵnov"](e,79).appearance,"outline"==o["ɵnov"](e,79).appearance,"legacy"==o["ɵnov"](e,79).appearance,o["ɵnov"](e,79)._control.errorState,o["ɵnov"](e,79)._canLabelFloat,o["ɵnov"](e,79)._shouldLabelFloat(),o["ɵnov"](e,79)._hasFloatingLabel(),o["ɵnov"](e,79)._hideControlPlaceholder(),o["ɵnov"](e,79)._control.disabled,o["ɵnov"](e,79)._control.autofilled,o["ɵnov"](e,79)._control.focused,"accent"==o["ɵnov"](e,79).color,"warn"==o["ɵnov"](e,79).color,o["ɵnov"](e,79)._shouldForward("untouched"),o["ɵnov"](e,79)._shouldForward("touched"),o["ɵnov"](e,79)._shouldForward("pristine"),o["ɵnov"](e,79)._shouldForward("dirty"),o["ɵnov"](e,79)._shouldForward("valid"),o["ɵnov"](e,79)._shouldForward("invalid"),o["ɵnov"](e,79)._shouldForward("pending"),!o["ɵnov"](e,79)._animationsEnabled]),n(e,89,1,[o["ɵnov"](e,93).ngClassUntouched,o["ɵnov"](e,93).ngClassTouched,o["ɵnov"](e,93).ngClassPristine,o["ɵnov"](e,93).ngClassDirty,o["ɵnov"](e,93).ngClassValid,o["ɵnov"](e,93).ngClassInvalid,o["ɵnov"](e,93).ngClassPending,o["ɵnov"](e,94).id,o["ɵnov"](e,94).tabIndex,o["ɵnov"](e,94)._getAriaLabel(),o["ɵnov"](e,94)._getAriaLabelledby(),o["ɵnov"](e,94).required.toString(),o["ɵnov"](e,94).disabled.toString(),o["ɵnov"](e,94).errorState,o["ɵnov"](e,94).panelOpen?o["ɵnov"](e,94)._optionIds:null,o["ɵnov"](e,94).multiple,o["ɵnov"](e,94)._ariaDescribedby||null,o["ɵnov"](e,94)._getAriaActiveDescendant(),o["ɵnov"](e,94).disabled,o["ɵnov"](e,94).errorState,o["ɵnov"](e,94).required,o["ɵnov"](e,94).empty]),n(e,101,1,["standard"==o["ɵnov"](e,102).appearance,"fill"==o["ɵnov"](e,102).appearance,"outline"==o["ɵnov"](e,102).appearance,"legacy"==o["ɵnov"](e,102).appearance,o["ɵnov"](e,102)._control.errorState,o["ɵnov"](e,102)._canLabelFloat,o["ɵnov"](e,102)._shouldLabelFloat(),o["ɵnov"](e,102)._hasFloatingLabel(),o["ɵnov"](e,102)._hideControlPlaceholder(),o["ɵnov"](e,102)._control.disabled,o["ɵnov"](e,102)._control.autofilled,o["ɵnov"](e,102)._control.focused,"accent"==o["ɵnov"](e,102).color,"warn"==o["ɵnov"](e,102).color,o["ɵnov"](e,102)._shouldForward("untouched"),o["ɵnov"](e,102)._shouldForward("touched"),o["ɵnov"](e,102)._shouldForward("pristine"),o["ɵnov"](e,102)._shouldForward("dirty"),o["ɵnov"](e,102)._shouldForward("valid"),o["ɵnov"](e,102)._shouldForward("invalid"),o["ɵnov"](e,102)._shouldForward("pending"),!o["ɵnov"](e,102)._animationsEnabled]),n(e,112,1,[o["ɵnov"](e,116).ngClassUntouched,o["ɵnov"](e,116).ngClassTouched,o["ɵnov"](e,116).ngClassPristine,o["ɵnov"](e,116).ngClassDirty,o["ɵnov"](e,116).ngClassValid,o["ɵnov"](e,116).ngClassInvalid,o["ɵnov"](e,116).ngClassPending,o["ɵnov"](e,117).id,o["ɵnov"](e,117).tabIndex,o["ɵnov"](e,117)._getAriaLabel(),o["ɵnov"](e,117)._getAriaLabelledby(),o["ɵnov"](e,117).required.toString(),o["ɵnov"](e,117).disabled.toString(),o["ɵnov"](e,117).errorState,o["ɵnov"](e,117).panelOpen?o["ɵnov"](e,117)._optionIds:null,o["ɵnov"](e,117).multiple,o["ɵnov"](e,117)._ariaDescribedby||null,o["ɵnov"](e,117)._getAriaActiveDescendant(),o["ɵnov"](e,117).disabled,o["ɵnov"](e,117).errorState,o["ɵnov"](e,117).required,o["ɵnov"](e,117).empty]),n(e,124,1,["standard"==o["ɵnov"](e,125).appearance,"fill"==o["ɵnov"](e,125).appearance,"outline"==o["ɵnov"](e,125).appearance,"legacy"==o["ɵnov"](e,125).appearance,o["ɵnov"](e,125)._control.errorState,o["ɵnov"](e,125)._canLabelFloat,o["ɵnov"](e,125)._shouldLabelFloat(),o["ɵnov"](e,125)._hasFloatingLabel(),o["ɵnov"](e,125)._hideControlPlaceholder(),o["ɵnov"](e,125)._control.disabled,o["ɵnov"](e,125)._control.autofilled,o["ɵnov"](e,125)._control.focused,"accent"==o["ɵnov"](e,125).color,"warn"==o["ɵnov"](e,125).color,o["ɵnov"](e,125)._shouldForward("untouched"),o["ɵnov"](e,125)._shouldForward("touched"),o["ɵnov"](e,125)._shouldForward("pristine"),o["ɵnov"](e,125)._shouldForward("dirty"),o["ɵnov"](e,125)._shouldForward("valid"),o["ɵnov"](e,125)._shouldForward("invalid"),o["ɵnov"](e,125)._shouldForward("pending"),!o["ɵnov"](e,125)._animationsEnabled]),n(e,135,1,[o["ɵnov"](e,140).ngClassUntouched,o["ɵnov"](e,140).ngClassTouched,o["ɵnov"](e,140).ngClassPristine,o["ɵnov"](e,140).ngClassDirty,o["ɵnov"](e,140).ngClassValid,o["ɵnov"](e,140).ngClassInvalid,o["ɵnov"](e,140).ngClassPending,o["ɵnov"](e,141)._isServer,o["ɵnov"](e,141).id,o["ɵnov"](e,141).placeholder,o["ɵnov"](e,141).disabled,o["ɵnov"](e,141).required,o["ɵnov"](e,141).readonly&&!o["ɵnov"](e,141)._isNativeSelect||null,o["ɵnov"](e,141)._ariaDescribedby||null,o["ɵnov"](e,141).errorState,o["ɵnov"](e,141).required.toString()]),n(e,143,1,["standard"==o["ɵnov"](e,144).appearance,"fill"==o["ɵnov"](e,144).appearance,"outline"==o["ɵnov"](e,144).appearance,"legacy"==o["ɵnov"](e,144).appearance,o["ɵnov"](e,144)._control.errorState,o["ɵnov"](e,144)._canLabelFloat,o["ɵnov"](e,144)._shouldLabelFloat(),o["ɵnov"](e,144)._hasFloatingLabel(),o["ɵnov"](e,144)._hideControlPlaceholder(),o["ɵnov"](e,144)._control.disabled,o["ɵnov"](e,144)._control.autofilled,o["ɵnov"](e,144)._control.focused,"accent"==o["ɵnov"](e,144).color,"warn"==o["ɵnov"](e,144).color,o["ɵnov"](e,144)._shouldForward("untouched"),o["ɵnov"](e,144)._shouldForward("touched"),o["ɵnov"](e,144)._shouldForward("pristine"),o["ɵnov"](e,144)._shouldForward("dirty"),o["ɵnov"](e,144)._shouldForward("valid"),o["ɵnov"](e,144)._shouldForward("invalid"),o["ɵnov"](e,144)._shouldForward("pending"),!o["ɵnov"](e,144)._animationsEnabled]),n(e,154,1,[o["ɵnov"](e,159).ngClassUntouched,o["ɵnov"](e,159).ngClassTouched,o["ɵnov"](e,159).ngClassPristine,o["ɵnov"](e,159).ngClassDirty,o["ɵnov"](e,159).ngClassValid,o["ɵnov"](e,159).ngClassInvalid,o["ɵnov"](e,159).ngClassPending,o["ɵnov"](e,160)._isServer,o["ɵnov"](e,160).id,o["ɵnov"](e,160).placeholder,o["ɵnov"](e,160).disabled,o["ɵnov"](e,160).required,o["ɵnov"](e,160).readonly&&!o["ɵnov"](e,160)._isNativeSelect||null,o["ɵnov"](e,160)._ariaDescribedby||null,o["ɵnov"](e,160).errorState,o["ɵnov"](e,160).required.toString()]),n(e,162,1,["standard"==o["ɵnov"](e,163).appearance,"fill"==o["ɵnov"](e,163).appearance,"outline"==o["ɵnov"](e,163).appearance,"legacy"==o["ɵnov"](e,163).appearance,o["ɵnov"](e,163)._control.errorState,o["ɵnov"](e,163)._canLabelFloat,o["ɵnov"](e,163)._shouldLabelFloat(),o["ɵnov"](e,163)._hasFloatingLabel(),o["ɵnov"](e,163)._hideControlPlaceholder(),o["ɵnov"](e,163)._control.disabled,o["ɵnov"](e,163)._control.autofilled,o["ɵnov"](e,163)._control.focused,"accent"==o["ɵnov"](e,163).color,"warn"==o["ɵnov"](e,163).color,o["ɵnov"](e,163)._shouldForward("untouched"),o["ɵnov"](e,163)._shouldForward("touched"),o["ɵnov"](e,163)._shouldForward("pristine"),o["ɵnov"](e,163)._shouldForward("dirty"),o["ɵnov"](e,163)._shouldForward("valid"),o["ɵnov"](e,163)._shouldForward("invalid"),o["ɵnov"](e,163)._shouldForward("pending"),!o["ɵnov"](e,163)._animationsEnabled]),n(e,173,1,[o["ɵnov"](e,178).ngClassUntouched,o["ɵnov"](e,178).ngClassTouched,o["ɵnov"](e,178).ngClassPristine,o["ɵnov"](e,178).ngClassDirty,o["ɵnov"](e,178).ngClassValid,o["ɵnov"](e,178).ngClassInvalid,o["ɵnov"](e,178).ngClassPending,o["ɵnov"](e,179)._isServer,o["ɵnov"](e,179).id,o["ɵnov"](e,179).placeholder,o["ɵnov"](e,179).disabled,o["ɵnov"](e,179).required,o["ɵnov"](e,179).readonly&&!o["ɵnov"](e,179)._isNativeSelect||null,o["ɵnov"](e,179)._ariaDescribedby||null,o["ɵnov"](e,179).errorState,o["ɵnov"](e,179).required.toString()]),n(e,181,0,o["ɵnov"](e,182).expanded,"NoopAnimations"===o["ɵnov"](e,182)._animationMode,o["ɵnov"](e,182)._hasSpacing());var f=o["ɵnov"](e,186).panel._headerId,h=o["ɵnov"](e,186).disabled?-1:0,m=o["ɵnov"](e,186)._getPanelId(),v=o["ɵnov"](e,186)._isExpanded(),g=o["ɵnov"](e,186).panel.disabled,b=o["ɵnov"](e,186)._isExpanded(),_="after"===o["ɵnov"](e,186)._getTogglePosition(),y="before"===o["ɵnov"](e,186)._getTogglePosition(),C=o["ɵnov"](e,186)._animationsDisabled,w=n(e,188,0,o["ɵnov"](e,186)._getExpandedState(),n(e,187,0,o["ɵnov"](e,186).collapsedHeight,o["ɵnov"](e,186).expandedHeight));n(e,185,0,f,h,m,v,g,b,_,y,C,w),n(e,194,1,["standard"==o["ɵnov"](e,195).appearance,"fill"==o["ɵnov"](e,195).appearance,"outline"==o["ɵnov"](e,195).appearance,"legacy"==o["ɵnov"](e,195).appearance,o["ɵnov"](e,195)._control.errorState,o["ɵnov"](e,195)._canLabelFloat,o["ɵnov"](e,195)._shouldLabelFloat(),o["ɵnov"](e,195)._hasFloatingLabel(),o["ɵnov"](e,195)._hideControlPlaceholder(),o["ɵnov"](e,195)._control.disabled,o["ɵnov"](e,195)._control.autofilled,o["ɵnov"](e,195)._control.focused,"accent"==o["ɵnov"](e,195).color,"warn"==o["ɵnov"](e,195).color,o["ɵnov"](e,195)._shouldForward("untouched"),o["ɵnov"](e,195)._shouldForward("touched"),o["ɵnov"](e,195)._shouldForward("pristine"),o["ɵnov"](e,195)._shouldForward("dirty"),o["ɵnov"](e,195)._shouldForward("valid"),o["ɵnov"](e,195)._shouldForward("invalid"),o["ɵnov"](e,195)._shouldForward("pending"),!o["ɵnov"](e,195)._animationsEnabled]),n(e,205,1,[o["ɵnov"](e,210).ngClassUntouched,o["ɵnov"](e,210).ngClassTouched,o["ɵnov"](e,210).ngClassPristine,o["ɵnov"](e,210).ngClassDirty,o["ɵnov"](e,210).ngClassValid,o["ɵnov"](e,210).ngClassInvalid,o["ɵnov"](e,210).ngClassPending,o["ɵnov"](e,211).id,o["ɵnov"](e,211).tabIndex,o["ɵnov"](e,211)._getAriaLabel(),o["ɵnov"](e,211)._getAriaLabelledby(),o["ɵnov"](e,211).required.toString(),o["ɵnov"](e,211).disabled.toString(),o["ɵnov"](e,211).errorState,o["ɵnov"](e,211).panelOpen?o["ɵnov"](e,211)._optionIds:null,o["ɵnov"](e,211).multiple,o["ɵnov"](e,211)._ariaDescribedby||null,o["ɵnov"](e,211)._getAriaActiveDescendant(),o["ɵnov"](e,211).disabled,o["ɵnov"](e,211).errorState,o["ɵnov"](e,211).required,o["ɵnov"](e,211).empty]),n(e,218,0,o["ɵnov"](e,219).disabled||null,"NoopAnimations"===o["ɵnov"](e,219)._animationMode),n(e,221,0,o["ɵnov"](e,222).expanded,"NoopAnimations"===o["ɵnov"](e,222)._animationMode,o["ɵnov"](e,222)._hasSpacing());var S=o["ɵnov"](e,226).panel._headerId,x=o["ɵnov"](e,226).disabled?-1:0,k=o["ɵnov"](e,226)._getPanelId(),E=o["ɵnov"](e,226)._isExpanded(),T=o["ɵnov"](e,226).panel.disabled,R=o["ɵnov"](e,226)._isExpanded(),I="after"===o["ɵnov"](e,226)._getTogglePosition(),D="before"===o["ɵnov"](e,226)._getTogglePosition(),F=o["ɵnov"](e,226)._animationsDisabled,O=n(e,228,0,o["ɵnov"](e,226)._getExpandedState(),n(e,227,0,o["ɵnov"](e,226).collapsedHeight,o["ɵnov"](e,226).expandedHeight));n(e,225,0,S,x,k,E,T,R,I,D,F,O),n(e,234,1,["standard"==o["ɵnov"](e,235).appearance,"fill"==o["ɵnov"](e,235).appearance,"outline"==o["ɵnov"](e,235).appearance,"legacy"==o["ɵnov"](e,235).appearance,o["ɵnov"](e,235)._control.errorState,o["ɵnov"](e,235)._canLabelFloat,o["ɵnov"](e,235)._shouldLabelFloat(),o["ɵnov"](e,235)._hasFloatingLabel(),o["ɵnov"](e,235)._hideControlPlaceholder(),o["ɵnov"](e,235)._control.disabled,o["ɵnov"](e,235)._control.autofilled,o["ɵnov"](e,235)._control.focused,"accent"==o["ɵnov"](e,235).color,"warn"==o["ɵnov"](e,235).color,o["ɵnov"](e,235)._shouldForward("untouched"),o["ɵnov"](e,235)._shouldForward("touched"),o["ɵnov"](e,235)._shouldForward("pristine"),o["ɵnov"](e,235)._shouldForward("dirty"),o["ɵnov"](e,235)._shouldForward("valid"),o["ɵnov"](e,235)._shouldForward("invalid"),o["ɵnov"](e,235)._shouldForward("pending"),!o["ɵnov"](e,235)._animationsEnabled]),n(e,245,1,[o["ɵnov"](e,250).ngClassUntouched,o["ɵnov"](e,250).ngClassTouched,o["ɵnov"](e,250).ngClassPristine,o["ɵnov"](e,250).ngClassDirty,o["ɵnov"](e,250).ngClassValid,o["ɵnov"](e,250).ngClassInvalid,o["ɵnov"](e,250).ngClassPending,o["ɵnov"](e,251)._isServer,o["ɵnov"](e,251).id,o["ɵnov"](e,251).placeholder,o["ɵnov"](e,251).disabled,o["ɵnov"](e,251).required,o["ɵnov"](e,251).readonly&&!o["ɵnov"](e,251)._isNativeSelect||null,o["ɵnov"](e,251)._ariaDescribedby||null,o["ɵnov"](e,251).errorState,o["ɵnov"](e,251).required.toString()]),n(e,253,0,o["ɵnov"](e,254).disabled||null,"NoopAnimations"===o["ɵnov"](e,254)._animationMode),n(e,256,0,o["ɵnov"](e,257).expanded,"NoopAnimations"===o["ɵnov"](e,257)._animationMode,o["ɵnov"](e,257)._hasSpacing());var M=o["ɵnov"](e,261).panel._headerId,N=o["ɵnov"](e,261).disabled?-1:0,A=o["ɵnov"](e,261)._getPanelId(),P=o["ɵnov"](e,261)._isExpanded(),q=o["ɵnov"](e,261).panel.disabled,L=o["ɵnov"](e,261)._isExpanded(),j="after"===o["ɵnov"](e,261)._getTogglePosition(),V="before"===o["ɵnov"](e,261)._getTogglePosition(),B=o["ɵnov"](e,261)._animationsDisabled,H=n(e,263,0,o["ɵnov"](e,261)._getExpandedState(),n(e,262,0,o["ɵnov"](e,261).collapsedHeight,o["ɵnov"](e,261).expandedHeight));n(e,260,0,M,N,A,P,q,L,j,V,B,H),n(e,271,1,["standard"==o["ɵnov"](e,272).appearance,"fill"==o["ɵnov"](e,272).appearance,"outline"==o["ɵnov"](e,272).appearance,"legacy"==o["ɵnov"](e,272).appearance,o["ɵnov"](e,272)._control.errorState,o["ɵnov"](e,272)._canLabelFloat,o["ɵnov"](e,272)._shouldLabelFloat(),o["ɵnov"](e,272)._hasFloatingLabel(),o["ɵnov"](e,272)._hideControlPlaceholder(),o["ɵnov"](e,272)._control.disabled,o["ɵnov"](e,272)._control.autofilled,o["ɵnov"](e,272)._control.focused,"accent"==o["ɵnov"](e,272).color,"warn"==o["ɵnov"](e,272).color,o["ɵnov"](e,272)._shouldForward("untouched"),o["ɵnov"](e,272)._shouldForward("touched"),o["ɵnov"](e,272)._shouldForward("pristine"),o["ɵnov"](e,272)._shouldForward("dirty"),o["ɵnov"](e,272)._shouldForward("valid"),o["ɵnov"](e,272)._shouldForward("invalid"),o["ɵnov"](e,272)._shouldForward("pending"),!o["ɵnov"](e,272)._animationsEnabled]),n(e,282,1,[o["ɵnov"](e,287).ngClassUntouched,o["ɵnov"](e,287).ngClassTouched,o["ɵnov"](e,287).ngClassPristine,o["ɵnov"](e,287).ngClassDirty,o["ɵnov"](e,287).ngClassValid,o["ɵnov"](e,287).ngClassInvalid,o["ɵnov"](e,287).ngClassPending,o["ɵnov"](e,288)._isServer,o["ɵnov"](e,288).id,o["ɵnov"](e,288).placeholder,o["ɵnov"](e,288).disabled,o["ɵnov"](e,288).required,o["ɵnov"](e,288).readonly&&!o["ɵnov"](e,288)._isNativeSelect||null,o["ɵnov"](e,288)._ariaDescribedby||null,o["ɵnov"](e,288).errorState,o["ɵnov"](e,288).required.toString()]),n(e,290,1,["standard"==o["ɵnov"](e,291).appearance,"fill"==o["ɵnov"](e,291).appearance,"outline"==o["ɵnov"](e,291).appearance,"legacy"==o["ɵnov"](e,291).appearance,o["ɵnov"](e,291)._control.errorState,o["ɵnov"](e,291)._canLabelFloat,o["ɵnov"](e,291)._shouldLabelFloat(),o["ɵnov"](e,291)._hasFloatingLabel(),o["ɵnov"](e,291)._hideControlPlaceholder(),o["ɵnov"](e,291)._control.disabled,o["ɵnov"](e,291)._control.autofilled,o["ɵnov"](e,291)._control.focused,"accent"==o["ɵnov"](e,291).color,"warn"==o["ɵnov"](e,291).color,o["ɵnov"](e,291)._shouldForward("untouched"),o["ɵnov"](e,291)._shouldForward("touched"),o["ɵnov"](e,291)._shouldForward("pristine"),o["ɵnov"](e,291)._shouldForward("dirty"),o["ɵnov"](e,291)._shouldForward("valid"),o["ɵnov"](e,291)._shouldForward("invalid"),o["ɵnov"](e,291)._shouldForward("pending"),!o["ɵnov"](e,291)._animationsEnabled]),n(e,301,1,[o["ɵnov"](e,307).ngClassUntouched,o["ɵnov"](e,307).ngClassTouched,o["ɵnov"](e,307).ngClassPristine,o["ɵnov"](e,307).ngClassDirty,o["ɵnov"](e,307).ngClassValid,o["ɵnov"](e,307).ngClassInvalid,o["ɵnov"](e,307).ngClassPending,o["ɵnov"](e,308)._isServer,o["ɵnov"](e,308).id,o["ɵnov"](e,308).placeholder,o["ɵnov"](e,308).disabled,o["ɵnov"](e,308).required,o["ɵnov"](e,308).readonly&&!o["ɵnov"](e,308)._isNativeSelect||null,o["ɵnov"](e,308)._ariaDescribedby||null,o["ɵnov"](e,308).errorState,o["ɵnov"](e,308).required.toString()]),n(e,310,1,["standard"==o["ɵnov"](e,311).appearance,"fill"==o["ɵnov"](e,311).appearance,"outline"==o["ɵnov"](e,311).appearance,"legacy"==o["ɵnov"](e,311).appearance,o["ɵnov"](e,311)._control.errorState,o["ɵnov"](e,311)._canLabelFloat,o["ɵnov"](e,311)._shouldLabelFloat(),o["ɵnov"](e,311)._hasFloatingLabel(),o["ɵnov"](e,311)._hideControlPlaceholder(),o["ɵnov"](e,311)._control.disabled,o["ɵnov"](e,311)._control.autofilled,o["ɵnov"](e,311)._control.focused,"accent"==o["ɵnov"](e,311).color,"warn"==o["ɵnov"](e,311).color,o["ɵnov"](e,311)._shouldForward("untouched"),o["ɵnov"](e,311)._shouldForward("touched"),o["ɵnov"](e,311)._shouldForward("pristine"),o["ɵnov"](e,311)._shouldForward("dirty"),o["ɵnov"](e,311)._shouldForward("valid"),o["ɵnov"](e,311)._shouldForward("invalid"),o["ɵnov"](e,311)._shouldForward("pending"),!o["ɵnov"](e,311)._animationsEnabled]),n(e,321,1,[o["ɵnov"](e,326).ngClassUntouched,o["ɵnov"](e,326).ngClassTouched,o["ɵnov"](e,326).ngClassPristine,o["ɵnov"](e,326).ngClassDirty,o["ɵnov"](e,326).ngClassValid,o["ɵnov"](e,326).ngClassInvalid,o["ɵnov"](e,326).ngClassPending,o["ɵnov"](e,327)._isServer,o["ɵnov"](e,327).id,o["ɵnov"](e,327).placeholder,o["ɵnov"](e,327).disabled,o["ɵnov"](e,327).required,o["ɵnov"](e,327).readonly&&!o["ɵnov"](e,327)._isNativeSelect||null,o["ɵnov"](e,327)._ariaDescribedby||null,o["ɵnov"](e,327).errorState,o["ɵnov"](e,327).required.toString()]),n(e,329,1,["standard"==o["ɵnov"](e,330).appearance,"fill"==o["ɵnov"](e,330).appearance,"outline"==o["ɵnov"](e,330).appearance,"legacy"==o["ɵnov"](e,330).appearance,o["ɵnov"](e,330)._control.errorState,o["ɵnov"](e,330)._canLabelFloat,o["ɵnov"](e,330)._shouldLabelFloat(),o["ɵnov"](e,330)._hasFloatingLabel(),o["ɵnov"](e,330)._hideControlPlaceholder(),o["ɵnov"](e,330)._control.disabled,o["ɵnov"](e,330)._control.autofilled,o["ɵnov"](e,330)._control.focused,"accent"==o["ɵnov"](e,330).color,"warn"==o["ɵnov"](e,330).color,o["ɵnov"](e,330)._shouldForward("untouched"),o["ɵnov"](e,330)._shouldForward("touched"),o["ɵnov"](e,330)._shouldForward("pristine"),o["ɵnov"](e,330)._shouldForward("dirty"),o["ɵnov"](e,330)._shouldForward("valid"),o["ɵnov"](e,330)._shouldForward("invalid"),o["ɵnov"](e,330)._shouldForward("pending"),!o["ɵnov"](e,330)._animationsEnabled]),n(e,340,1,[o["ɵnov"](e,346).ngClassUntouched,o["ɵnov"](e,346).ngClassTouched,o["ɵnov"](e,346).ngClassPristine,o["ɵnov"](e,346).ngClassDirty,o["ɵnov"](e,346).ngClassValid,o["ɵnov"](e,346).ngClassInvalid,o["ɵnov"](e,346).ngClassPending,o["ɵnov"](e,347)._isServer,o["ɵnov"](e,347).id,o["ɵnov"](e,347).placeholder,o["ɵnov"](e,347).disabled,o["ɵnov"](e,347).required,o["ɵnov"](e,347).readonly&&!o["ɵnov"](e,347)._isNativeSelect||null,o["ɵnov"](e,347)._ariaDescribedby||null,o["ɵnov"](e,347).errorState,o["ɵnov"](e,347).required.toString()]),n(e,349,0,o["ɵnov"](e,350).disabled||null,"NoopAnimations"===o["ɵnov"](e,350)._animationMode),n(e,353,0,o["ɵnov"](e,354).disabled||null,"NoopAnimations"===o["ɵnov"](e,354)._animationMode),n(e,356,0,o["ɵnov"](e,357).disabled||null,"NoopAnimations"===o["ɵnov"](e,357)._animationMode)}))}function Px(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.cloudNodeTemplate.symbol)}),null)}function qx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Cloud configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,Ax)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Px)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.cloudNodeTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.cloudNodeTemplate)}),null)}function Lx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-cloud-nodes-template-details",[],null,null,null,qx,gx)),o["ɵdid"](1,114688,null,0,vx,[rt,Dh,Iw,hc,oS,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var jx=o["ɵccf"]("app-cloud-nodes-template-details",vx,Lx,{},{},[]),Vx=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.iosService=t,this.router=l,this.iosTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.iosService.getTemplates(this.server).subscribe((function(e){n.iosTemplates=e.filter((function(n){return"dynamips"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates",n.template_id,"copy"])},n}(),Bx=function(){function n(n){this.httpServer=n}return n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/dynamips/images")},n.prototype.getImagePath=function(n,e){return"http://"+n.host+":"+n.port+"/v2/compute/dynamips/images/"+e},n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),Hx=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function Ux(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function zx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add IOS router template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/dynamips/templates/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function Gx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function Wx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,20,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"])),(n()(),o["ɵeld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.copyTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](29,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](31,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["content_copy"])),(n()(),o["ɵeld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color),n(e,28,0,o["ɵnov"](e,29).role,o["ɵnov"](e,29)._highlighted,o["ɵnov"](e,29)._triggersSubmenu,o["ɵnov"](e,29)._getTabIndex(),o["ɵnov"](e,29).disabled.toString(),o["ɵnov"](e,29).disabled||null),n(e,30,0,o["ɵnov"](e,31).inline,"primary"!==o["ɵnov"](e,31).color&&"accent"!==o["ɵnov"](e,31).color&&"warn"!==o["ɵnov"](e,31).color)}))}function Zx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,Wx)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.iosTemplates)}),null)}function Kx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Zx)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function Xx(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["IOS router templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,Ux)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,zx)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Gx)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Kx)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.iosTemplates.length),n(e,13,0,t.iosTemplates.length),n(e,15,0,t.server)}),null)}function Yx(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ios-templates",[],null,null,null,Xx,Hx)),o["ɵdid"](1,114688,null,0,Vx,[rt,Dh,Bx,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var $x=o["ɵccf"]("app-ios-templates",Vx,Yx,{},{},[]),Qx=function(){function n(n){this._elementRef=n}return n.prototype.focus=function(){this._elementRef.nativeElement.focus()},n}(),Jx=function(){return function(n){this.template=n}}(),nk=0,ek=new o.InjectionToken("STEPPER_GLOBAL_OPTIONS"),tk=function(){function n(n,e){this._stepper=n,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}return Object.defineProperty(n.prototype,"editable",{get:function(){return this._editable},set:function(n){this._editable=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"optional",{get:function(){return this._optional},set:function(n){this._optional=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"completed",{get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(n){this._completedOverride=$l(n)},enumerable:!0,configurable:!0}),n.prototype._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted},Object.defineProperty(n.prototype,"hasError",{get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(n){this._customError=$l(n)},enumerable:!0,configurable:!0}),n.prototype._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted},n.prototype.select=function(){this._stepper.selected=this},n.prototype.reset=function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()},n.prototype.ngOnChanges=function(){this._stepper._stateChanged()},n}(),lk=function(){function n(n,e,t,l){this._dir=n,this._changeDetectorRef=e,this._elementRef=t,this._destroyed=new Mn.b,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.EventEmitter,this._orientation="horizontal",this._groupId=nk++,this._document=l}return Object.defineProperty(n.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"linear",{get:function(){return this._linear},set:function(n){this._linear=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){var e=Ql(n);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(n)}else this._selectedIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(n){this.selectedIndex=this.steps?this.steps.toArray().indexOf(n):-1},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;this._keyManager=new wo(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(En.a)()).pipe(Object(zn.a)(this._layoutDirection()),Object(ws.a)(this._destroyed)).subscribe((function(e){return n._keyManager.withHorizontalOrientation(e)})),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(Object(ws.a)(this._destroyed)).subscribe((function(){n.selected||(n._selectedIndex=Math.max(n._selectedIndex-1,0))}))},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},n.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)},n.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},n.prototype.reset=function(){this._updateSelectedItemIndex(0),this.steps.forEach((function(n){return n.reset()})),this._stateChanged()},n.prototype._getStepLabelId=function(n){return"cdk-step-label-"+this._groupId+"-"+n},n.prototype._getStepContentId=function(n){return"cdk-step-content-"+this._groupId+"-"+n},n.prototype._stateChanged=function(){this._changeDetectorRef.markForCheck()},n.prototype._getAnimationDirection=function(n){var e=n-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"},n.prototype._getIndicatorType=function(n,e){void 0===e&&(e="number");var t=this.steps.toArray()[n],l=this._isCurrentStep(n);return t._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(t,l):this._getGuidelineLogic(t,l,e)},n.prototype._getDefaultIndicatorLogic=function(n,e){return n._showError&&n.hasError&&!e?"error":!n.completed||e?"number":n.editable?"edit":"done"},n.prototype._getGuidelineLogic=function(n,e,t){return void 0===t&&(t="number"),n._showError&&n.hasError&&!e?"error":n.completed&&!e?"done":n.completed&&e?t:n.editable&&e?"edit":t},n.prototype._isCurrentStep=function(n){return this._selectedIndex===n},n.prototype._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex},n.prototype._updateSelectedItemIndex=function(n){var e=this.steps.toArray();this.selectionChange.emit({selectedIndex:n,previouslySelectedIndex:this._selectedIndex,selectedStep:e[n],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(n):this._keyManager.updateActiveItemIndex(n),this._selectedIndex=n,this._stateChanged()},n.prototype._onKeydown=function(n){var e=fo(n),t=n.keyCode,l=this._keyManager;null==l.activeItemIndex||e||32!==t&&13!==t?36===t?(l.setFirstItemActive(),n.preventDefault()):35===t?(l.setLastItemActive(),n.preventDefault()):l.onKeydown(n):(this.selectedIndex=l.activeItemIndex,n.preventDefault())},n.prototype._anyControlsInvalidOrPending=function(n){var e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&n>=0)&&e.slice(0,n).some((function(n){var e=n.stepControl;return(e?e.invalid||e.pending||!n.interacted:!n.completed)&&!n.optional&&!n._completedOverride}))},n.prototype._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._containsFocus=function(){if(!this._document||!this._elementRef)return!1;var n=this._elementRef.nativeElement,e=this._document.activeElement;return n===e||n.contains(e)},n}(),ok=function(){return function(){}}(),ik=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(Jx),rk=function(){function n(){this.changes=new Mn.b,this.optionalLabel="Optional"}return n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}();function ak(n){return n||new rk}var uk=function(n){function e(e,t,l,o){var i=n.call(this,l)||this;return i._intl=e,i._focusMonitor=t,t.monitor(l,!0),i._intlSubscription=e.changes.subscribe((function(){return o.markForCheck()})),i}return Object(i.c)(e,n),e.prototype.ngOnDestroy=function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._focusMonitor.focusVia(this._elementRef,"program")},e.prototype._stringLabel=function(){return this.label instanceof ik?null:this.label},e.prototype._templateLabel=function(){return this.label instanceof ik?this.label:null},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}},e.prototype._getDefaultTextForState=function(n){return"number"==n?""+(this.index+1):"edit"==n?"create":"error"==n?"warning":n},e}(Qx),sk=function(n){function e(e,t,l){var o=n.call(this,e,l)||this;return o._errorStateMatcher=t,o}return Object(i.c)(e,n),e.prototype.isErrorState=function(n,e){return this._errorStateMatcher.isErrorState(n,e)||!!(n&&n.invalid&&this.interacted)},e}(tk),dk=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.animationDone=new o.EventEmitter,e._iconOverrides={},e._animationDone=new Mn.b,e}return Object(i.c)(e,n),e.prototype.ngAfterContentInit=function(){var n=this;this._icons.forEach((function(e){return n._iconOverrides[e.name]=e.templateRef})),this._steps.changes.pipe(Object(ws.a)(this._destroyed)).subscribe((function(){return n._stateChanged()})),this._animationDone.pipe(Object(Es.a)((function(n,e){return n.fromState===e.fromState&&n.toState===e.toState})),Object(ws.a)(this._destroyed)).subscribe((function(e){"current"===e.toState&&n.animationDone.emit()}))},e}(lk),ck=function(n){function e(e,t,l,o){var i=n.call(this,e,t,l,o)||this;return i._orientation="vertical",i}return Object(i.c)(e,n),e}(dk),pk=function(){return function(){}}(),fk=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function hk(n){return o["ɵvid"](0,[o["ɵncd"](null,0),(n()(),o["ɵand"](0,null,null,0))],null,null)}function mk(n){return o["ɵvid"](2,[o["ɵqud"](402653184,1,{content:0}),(n()(),o["ɵand"](0,[[1,2]],null,0,null,hk))],null,null)}var vk=o["ɵcrt"]({encapsulation:2,styles:[".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}"],data:{animation:[{type:7,name:"stepTransition",definitions:[{type:0,name:"previous",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"next",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"current",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"* <=> current",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function gk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"div",[["class","mat-step"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"mat-step-header",[["class","mat-vertical-stepper-header mat-step-header"],["role","tab"]],[[8,"tabIndex",0],[8,"id",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==n.context.$implicit.select()&&l),"keydown"===e&&(l=!1!==o._onKeydown(t)&&l),l}),Rk,_k)),o["ɵdid"](2,180224,[[1,4]],0,uk,[rk,Mo,o.ElementRef,o.ChangeDetectorRef],{state:[0,"state"],label:[1,"label"],errorMessage:[2,"errorMessage"],iconOverrides:[3,"iconOverrides"],index:[4,"index"],selected:[5,"selected"],active:[6,"active"],optional:[7,"optional"],disableRipple:[8,"disableRipple"]},null),(n()(),o["ɵeld"](3,0,null,null,4,"div",[["class","mat-vertical-content-container"]],[[2,"mat-stepper-vertical-line",null]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","mat-vertical-stepper-content"],["role","tabpanel"]],[[1,"tabindex",0],[24,"@stepTransition",0],[8,"id",0],[1,"aria-labelledby",0],[1,"aria-expanded",0]],[[null,"@stepTransition.done"]],(function(n,e,t){var l=!0;return"@stepTransition.done"===e&&(l=!1!==n.component._animationDone.next(t)&&l),l}),null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","mat-vertical-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](7,540672,null,0,r.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(n,e){var t=e.component;n(e,2,0,t._getIndicatorType(e.context.index,e.context.$implicit.state),e.context.$implicit.stepLabel||e.context.$implicit.label,e.context.$implicit.errorMessage,t._iconOverrides,e.context.index,t.selectedIndex===e.context.index,e.context.$implicit.completed||t.selectedIndex===e.context.index||!t.linear,e.context.$implicit.optional,t.disableRipple),n(e,7,0,e.context.$implicit.content)}),(function(n,e){var t=e.component;n(e,1,0,t._getFocusIndex()==e.context.index?0:-1,t._getStepLabelId(e.context.index),e.context.index+1,t.steps.length,t._getStepContentId(e.context.index),t.selectedIndex===e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null),n(e,3,0,!e.context.last),n(e,4,0,t.selectedIndex===e.context.index?0:null,t._getAnimationDirection(e.context.index),t._getStepContentId(e.context.index),t._getStepLabelId(e.context.index),t.selectedIndex===e.context.index)}))}function bk(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_stepHeader:1}),(n()(),o["ɵand"](16777216,null,null,1,null,gk)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,2,0,e.component.steps)}),null)}var _k=o["ɵcrt"]({encapsulation:2,styles:[".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon .mat-icon,.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{}});function yk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](1,540672,null,0,r.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){var t=e.component;n(e,1,0,t._getIconContext(),t.iconOverrides[t.state])}),null)}function Ck(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){var t=e.component;n(e,1,0,t._getDefaultTextForState(t.state))}))}function wk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](1,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](2,0,["",""]))],(function(n,e){n(e,1,0)}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).inline,"primary"!==o["ɵnov"](e,1).color&&"accent"!==o["ɵnov"](e,1).color&&"warn"!==o["ɵnov"](e,1).color),n(e,2,0,t._getDefaultTextForState(t.state))}))}function Sk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,null,null,null,null,null,null,null)),o["ɵdid"](1,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ck)),o["ɵdid"](3,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,wk)),o["ɵdid"](5,16384,null,0,r.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],null,null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,1,0,e.component.state),n(e,3,0,"number")}),null)}function xk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["ɵdid"](1,540672,null,0,r.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,1,0,e.component._templateLabel().template)}),null)}function kk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-step-text-label"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component.label)}))}function Ek(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-step-optional"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component._intl.optionalLabel)}))}function Tk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-step-sub-label-error"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""]))],null,(function(n,e){n(e,1,0,e.component.errorMessage)}))}function Rk(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","mat-step-header-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["ɵdid"](1,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),(n()(),o["ɵeld"](2,0,null,null,6,"div",[],[[8,"className",0],[2,"mat-step-icon-selected",null]],null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,5,"div",[["class","mat-step-icon-content"]],null,null,null,null,null)),o["ɵdid"](4,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,yk)),o["ɵdid"](6,278528,null,0,r.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Sk)),o["ɵdid"](8,16384,null,0,r.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,r.NgSwitch],null,null),(n()(),o["ɵeld"](9,0,null,null,8,"div",[["class","mat-step-label"]],[[2,"mat-step-label-active",null],[2,"mat-step-label-selected",null],[2,"mat-step-label-error",null]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,xk)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,kk)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Ek)),o["ɵdid"](15,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Tk)),o["ɵdid"](17,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.disableRipple,t._getHostElement()),n(e,4,0,!(!t.iconOverrides||!t.iconOverrides[t.state])),n(e,6,0,!0),n(e,11,0,t._templateLabel()),n(e,13,0,t._stringLabel()),n(e,15,0,t.optional&&"error"!=t.state),n(e,17,0,"error"==t.state)}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).unbounded),n(e,2,0,o["ɵinlineInterpolate"](1,"mat-step-icon-state-",t.state," mat-step-icon"),t.selected),n(e,9,0,t.active,t.selected,"error"==t.state)}))}var Ik=function(){return function(){}}(),Dk=function(){function n(n,e,t,l,o,i,r,a,u){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.router=i,this.templateMocksService=r,this.iosConfigurationService=a,this.computeService=u,this.isEtherSwitchRouter=!1,this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[],this.iosImages=[],this.platforms=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.ciscoUrl="https://cfn.cloudapps.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iosTemplate=new Ik,this.iosImageForm=this.formBuilder.group({imageName:new Em(null,[Xh.required])}),this.iosNameForm=this.formBuilder.group({templateName:new Em(null,[Xh.required]),platform:new Em(null,[Xh.required]),chassis:new Em(null,[Xh.required])}),this.iosMemoryForm=this.formBuilder.group({memory:new Em(null,[Xh.required])})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new zg({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){n.toasterService.error("An error occured: "+t)},this.uploader.onSuccessItem=function(e,t,l,o){n.getImages(),n.toasterService.success("Image uploaded")};var e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getImages(),n.templateMocksService.getIosTemplate().subscribe((function(e){n.iosTemplate=e,n.networkModules=n.iosConfigurationService.getNetworkModules(),n.networkAdaptersForPlatform=n.iosConfigurationService.getNetworkAdaptersForPlatform(),n.networkAdapters=n.iosConfigurationService.getNetworkAdapters(),n.platforms=n.iosConfigurationService.getAvailablePlatforms(),n.platformsWithEtherSwitchRouterOption=n.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),n.platformsWithChassis=n.iosConfigurationService.getPlatformsWithChassis(),n.chassis=n.iosConfigurationService.getChassis(),n.defaultRam=n.iosConfigurationService.getDefaultRamSettings()})),n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.getImages=function(){var n=this;this.iosService.getImages(this.server).subscribe((function(e){n.iosImages=e}))},n.prototype.addImage=function(n){var e=n.target.files[0].name.split("-")[0];this.iosNameForm.controls.templateName.setValue(e);var t=this.iosService.getImagePath(this.server,n.target.files[0].name);this.uploader.queue.forEach((function(n){return n.url=t}));var l=this.uploader.queue[0];l.options.disableMultipart=!0,this.uploader.uploadItem(l)},n.prototype.addTemplate=function(){var n=this;!this.iosImageForm.invalid&&!this.iosMemoryForm.invalid&&this.iosNameForm.get("templateName").value&&this.iosNameForm.get("platform").value?(this.iosTemplate.template_id=Object(Zg.v4)(),this.iosTemplate.image=this.iosImageForm.get("imageName").value,this.iosTemplate.name=this.iosNameForm.get("templateName").value,this.iosTemplate.platform=this.iosNameForm.get("platform").value,this.chassis[this.iosNameForm.get("platform").value]&&(this.iosTemplate.chassis=this.iosNameForm.get("chassis").value),this.iosTemplate.ram=this.iosMemoryForm.get("memory").value,this.isEtherSwitchRouter&&(this.iosTemplate.symbol=":/symbols/multilayer_switch.svg",this.iosTemplate.category="switch"),this.networkAdaptersForTemplate.length>0&&this.completeAdaptersData(),this.networkModulesForTemplate.length>0&&this.completeModulesData(),this.iosTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.iosService.addTemplate(this.server,this.iosTemplate).subscribe((function(e){n.goBack()}))):this.toasterService.error("Fill all required fields")},n.prototype.completeAdaptersData=function(){if(this.chassis[this.iosTemplate.platform]){if(Object.keys(this.networkAdapters[this.iosTemplate.chassis]))for(var n=0;n<Object.keys(this.networkAdapters[this.iosTemplate.chassis]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="")}else if(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value])for(n=0;n<Object.keys(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="");this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.completeModulesData=function(){if(Object.keys(this.networkModules[this.iosTemplate.platform]))for(var n=0;n<Object.keys(this.networkModules[this.iosTemplate.platform]).length;n++)this.networkModulesForTemplate[n]||(this.networkModulesForTemplate[n]="");this.networkModulesForTemplate[0]&&(this.iosTemplate.wic0=this.networkModulesForTemplate[0]),this.networkModulesForTemplate[1]&&(this.iosTemplate.wic1=this.networkModulesForTemplate[1]),this.networkModulesForTemplate[2]&&(this.iosTemplate.wic2=this.networkModulesForTemplate[2])},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.onImageChosen=function(){var n=this.iosImageForm.get("imageName").value.split("-")[0];this.iosNameForm.controls.templateName.setValue(n),"c3620"===n||"c3640"===n||"c3660"===n?(this.iosNameForm.controls.platform.setValue("c3600"),this.selectedPlatform="c3600"):(this.iosNameForm.controls.platform.setValue(n),this.selectedPlatform=n),this.iosNameForm.controls.chassis.setValue("c1700"===n?"1720":"c2600"===n?"2610":""),this.iosMemoryForm.controls.memory.setValue(this.defaultRam[n])},n.prototype.onPlatformChosen=function(){this.iosTemplate.chassis="",this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[]},n.prototype.onChassisChosen=function(){this.networkAdaptersForTemplate=[]},n}(),Fk=function(){function n(){this.c1700_wics=["WIC-1T","WIC-2T","WIC-1ENET"],this.c2600_wics=["WIC-1T","WIC-2T"],this.c3700_wics=["WIC-1T","WIC-2T"],this.c2600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW"],this.c3600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW","NM-4T"],this.c3700_nms=["NM-1FE-TX","NM-4T","NM-16ESW"],this.c7200_pas=["PA-A1","PA-FE-TX","PA-2FE-TX","PA-GE","PA-4T+","PA-8T","PA-4E","PA-8E","PA-POS-OC3"],this.c7200_io=["C7200-IO-FE","C7200-IO-2FE","C7200-IO-GE-E"]}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getDefaultRamSettings=function(){return{c1700:160,c2600:160,c2691:192,c3600:192,c3725:128,c3745:256,c7200:512}},n.prototype.getDefaultNvRamSettings=function(){return{c1700:128,c2600:128,c2691:256,c3600:192,c3620:192,c3640:192,c3660:192,c3725:256,c3745:256,c7200:512}},n.prototype.getAvailablePlatforms=function(){return["c1700","c2600","c2691","c3725","c3745","c3600","c7200"]},n.prototype.getPlatformsWithEtherSwitchRouterOption=function(){return{c1700:!1,c2600:!0,c2691:!0,c3725:!0,c3745:!0,c3600:!0,c7200:!1}},n.prototype.getPlatformsWithChassis=function(){return{c1700:!0,c2600:!0,c2691:!1,c3725:!1,c3745:!1,c3600:!0,c7200:!1}},n.prototype.getChassis=function(){return{c1700:["1720","1721","1750","1751","1760"],c2600:["2610","2611","2620","2621","2610XM","2611XM","2620XM","2621XM","2650XM","2651XM"],c3600:["3620","3640","3660"]}},n.prototype.getNetworkModules=function(){return{c1700:{0:this.c1700_wics,1:this.c1700_wics},c2600:{0:this.c2600_wics,1:this.c2600_wics,2:this.c2600_wics},c2691:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3725:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3745:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics}}},n.prototype.getNetworkAdapters=function(){return{1720:{0:["C1700-MB-1FE"]},1721:{0:["C1700-MB-1FE"]},1750:{0:["C1700-MB-1FE"]},1751:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},1760:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},2610:{0:["C2600-MB-1E"],1:this.c2600_nms},2611:{0:["C2600-MB-2E"],1:this.c2600_nms},2620:{0:["C2600-MB-1FE"],1:this.c2600_nms},2621:{0:["C2600-MB-2FE"],1:this.c2600_nms},"2610XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2611XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2620XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2621XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2650XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2651XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},3620:{0:this.c3600_nms,1:this.c3600_nms},3640:{0:this.c3600_nms,1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms},3660:{0:["Leopard-2FE"],1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms,4:this.c3600_nms,5:this.c3600_nms,6:this.c3600_nms}}},n.prototype.getNetworkAdaptersForPlatform=function(){var n={};return n.c2691={0:["GT96100-FE"],1:this.c3700_nms},n.c3725={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},n.c3745={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},n.c7200={0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas},{c2691:{0:["GT96100-FE"],1:this.c3700_nms},c3725:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},c3745:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},c7200:{0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas}}},n}(),Ok=o["ɵcrt"]({encapsulation:0,styles:[[".non-visible[_ngcontent-%COMP%]{display:none}"],IC],data:{}});function Mk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[15,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.filename)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function Nk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[37,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function Ak(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[49,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function Pk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,40,{_controlNonStatic:0}),o["ɵqud"](335544320,41,{_controlStatic:0}),o["ɵqud"](603979776,42,{_labelChildNonStatic:0}),o["ɵqud"](335544320,43,{_labelChildStatic:0}),o["ɵqud"](603979776,44,{_placeholderChild:0}),o["ɵqud"](603979776,45,{_errorChildren:1}),o["ɵqud"](603979776,46,{_hintChildren:1}),o["ɵqud"](603979776,47,{_prefixChildren:1}),o["ɵqud"](603979776,48,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","chassis"],["placeholder","Chassis"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,16)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,16)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,16)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.onChassisChosen(t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](13,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](15,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](16,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,49,{options:1}),o["ɵqud"](603979776,50,{optionGroups:1}),o["ɵqud"](603979776,51,{customTrigger:0}),o["ɵprd"](2048,[[40,4],[41,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Ak)),o["ɵdid"](22,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,13,0,"chassis"),n(e,16,0,"Chassis"),n(e,22,0,t.chassis[t.iosNameForm.get("platform").value])}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,15).ngClassUntouched,o["ɵnov"](e,15).ngClassTouched,o["ɵnov"](e,15).ngClassPristine,o["ɵnov"](e,15).ngClassDirty,o["ɵnov"](e,15).ngClassValid,o["ɵnov"](e,15).ngClassInvalid,o["ɵnov"](e,15).ngClassPending,o["ɵnov"](e,16).id,o["ɵnov"](e,16).tabIndex,o["ɵnov"](e,16)._getAriaLabel(),o["ɵnov"](e,16)._getAriaLabelledby(),o["ɵnov"](e,16).required.toString(),o["ɵnov"](e,16).disabled.toString(),o["ɵnov"](e,16).errorState,o["ɵnov"](e,16).panelOpen?o["ɵnov"](e,16)._optionIds:null,o["ɵnov"](e,16).multiple,o["ɵnov"](e,16)._ariaDescribedby||null,o["ɵnov"](e,16)._getAriaActiveDescendant(),o["ɵnov"](e,16).disabled,o["ɵnov"](e,16).errorState,o["ɵnov"](e,16).required,o["ɵnov"](e,16).empty])}))}function qk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.isEtherSwitchRouter=t)&&l),l}),O_,F_)),o["ɵdid"](1,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](5,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" This is an EtherSwitch router "]))],(function(n,e){n(e,3,0,e.component.isEtherSwitchRouter)}),(function(n,e){n(e,0,1,[o["ɵnov"](e,1).id,null,o["ɵnov"](e,1).indeterminate,o["ɵnov"](e,1).checked,o["ɵnov"](e,1).disabled,"before"==o["ɵnov"](e,1).labelPosition,"NoopAnimations"===o["ɵnov"](e,1)._animationMode,o["ɵnov"](e,5).ngClassUntouched,o["ɵnov"](e,5).ngClassTouched,o["ɵnov"](e,5).ngClassPristine,o["ɵnov"](e,5).ngClassDirty,o["ɵnov"](e,5).ngClassValid,o["ɵnov"](e,5).ngClassInvalid,o["ɵnov"](e,5).ngClassPending])}))}function Lk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[63,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function jk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,63,{options:1}),o["ɵqud"](603979776,64,{optionGroups:1}),o["ɵqud"](603979776,65,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,Lk)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],i=n(e,4,0,!0);n(e,3,0,l,i),n(e,7,0,o["ɵinlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdaptersForPlatform[t.iosNameForm.get("platform").value][e.parent.context.$implicit])}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function Vk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,jk)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.networkAdaptersForPlatform[t.iosNameForm.get("platform").value]&&t.networkAdaptersForPlatform[t.iosNameForm.get("platform").value][e.context.$implicit])}),null)}function Bk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,2,null,Vk)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵpad"](3,8)],(function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)}),null)}function Hk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[67,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function Uk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.networkModulesForTemplate[n.parent.context.$implicit]=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,67,{options:1}),o["ɵqud"](603979776,68,{optionGroups:1}),o["ɵqud"](603979776,69,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,Hk)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.networkModulesForTemplate[e.parent.context.$implicit],i=n(e,4,0,!0);n(e,3,0,l,i),n(e,7,0,o["ɵinlineInterpolate"](1,"WIC ",e.parent.context.$implicit,"")),n(e,12,0,t.networkModules[t.iosNameForm.get("platform").value][e.parent.context.$implicit])}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function zk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Uk)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.networkModules[t.iosNameForm.get("platform").value]&&t.networkModules[t.iosNameForm.get("platform").value][e.context.$implicit])}),null)}function Gk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,2,null,zk)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵpad"](3,4)],(function(n,e){var t=n(e,3,0,0,1,2,3);n(e,2,0,t)}),null)}function Wk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,192,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,184,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,183,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,bk,vk)),o["ɵprd"](6144,null,lk,null,[ck]),o["ɵdid"](4,5423104,null,2,ck,[[2,ki],o.ChangeDetectorRef,o.ElementRef,r.DOCUMENT],{linear:[0,"linear"]},null),o["ɵqud"](603979776,1,{_steps:1}),o["ɵqud"](603979776,2,{_icons:1}),o["ɵprd"](2048,null,dk,null,[ck]),(n()(),o["ɵeld"](8,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](10,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,3,{stepLabel:0}),(n()(),o["ɵeld"](12,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](14,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,4,{_radios:1}),(n()(),o["ɵeld"](16,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,17)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](17,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run this IOS router locally"])),(n()(),o["ɵeld"](19,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,20)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](20,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run this IOS router on the GNS3 VM"])),(n()(),o["ɵeld"](22,0,null,null,37,"mat-step",[["label","IOS image"]],null,null,null,mk,fk)),o["ɵdid"](23,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,5,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](26,0,[["file",1]],0,1,"input",[["accept",".bin, .image"],["class","non-visible"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0,i=n.component;return"change"===e&&(l=!1!==o["ɵnov"](n,27).onChange()&&l),"change"===e&&(l=!1!==i.addImage(t)&&l),l}),null,null)),o["ɵdid"](27,16384,null,0,Gg,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["ɵeld"](28,0,null,0,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,26).click()&&l),l}),ou,lu)),o["ɵdid"](29,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Click to add image"])),(n()(),o["ɵted"](-1,0,[" or create from existing one "])),(n()(),o["ɵeld"](32,0,null,0,27,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,34).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,34).onReset()&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,qm,[],null,null),o["ɵdid"](34,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](36,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](37,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](38,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,6,{_controlNonStatic:0}),o["ɵqud"](335544320,7,{_controlStatic:0}),o["ɵqud"](603979776,8,{_labelChildNonStatic:0}),o["ɵqud"](335544320,9,{_labelChildStatic:0}),o["ɵqud"](603979776,10,{_placeholderChild:0}),o["ɵqud"](603979776,11,{_errorChildren:1}),o["ɵqud"](603979776,12,{_hintChildren:1}),o["ɵqud"](603979776,13,{_prefixChildren:1}),o["ɵqud"](603979776,14,{_suffixChildren:1}),(n()(),o["ɵeld"](48,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","imageName"],["placeholder","Image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,53)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,53)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.onImageChosen(t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](50,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](52,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](53,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,15,{options:1}),o["ɵqud"](603979776,16,{optionGroups:1}),o["ɵqud"](603979776,17,{customTrigger:0}),o["ɵprd"](2048,[[6,4],[7,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Mk)),o["ɵdid"](59,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](60,0,null,null,54,"mat-step",[["label","Name and platform"]],null,null,null,mk,fk)),o["ɵdid"](61,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,18,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](64,0,null,0,48,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,66).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,66).onReset()&&l),l}),null,null)),o["ɵdid"](65,16384,null,0,qm,[],null,null),o["ɵdid"](66,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](68,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](69,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](70,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,19,{_controlNonStatic:0}),o["ɵqud"](335544320,20,{_controlStatic:0}),o["ɵqud"](603979776,21,{_labelChildNonStatic:0}),o["ɵqud"](335544320,22,{_labelChildStatic:0}),o["ɵqud"](603979776,23,{_placeholderChild:0}),o["ɵqud"](603979776,24,{_errorChildren:1}),o["ɵqud"](603979776,25,{_hintChildren:1}),o["ɵqud"](603979776,26,{_prefixChildren:1}),o["ɵqud"](603979776,27,{_suffixChildren:1}),(n()(),o["ɵeld"](80,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,81)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,81).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,81)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,81)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,86)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,86)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,86)._onInput()&&l),l}),null,null)),o["ɵdid"](81,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](83,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](85,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](86,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[19,4],[20,4]],ag,null,[Lg]),(n()(),o["ɵeld"](88,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](89,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,28,{_controlNonStatic:0}),o["ɵqud"](335544320,29,{_controlStatic:0}),o["ɵqud"](603979776,30,{_labelChildNonStatic:0}),o["ɵqud"](335544320,31,{_labelChildStatic:0}),o["ɵqud"](603979776,32,{_placeholderChild:0}),o["ɵqud"](603979776,33,{_errorChildren:1}),o["ɵqud"](603979776,34,{_hintChildren:1}),o["ɵqud"](603979776,35,{_prefixChildren:1}),o["ɵqud"](603979776,36,{_suffixChildren:1}),(n()(),o["ɵeld"](99,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","platform"],["placeholder","Platform"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,104)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,104)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,104)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.onPlatformChosen(t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](101,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](103,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](104,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,37,{options:1}),o["ɵqud"](603979776,38,{optionGroups:1}),o["ɵqud"](603979776,39,{customTrigger:0}),o["ɵprd"](2048,[[28,4],[29,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Nk)),o["ɵdid"](110,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Pk)),o["ɵdid"](112,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,qk)),o["ɵdid"](114,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](115,0,null,null,35,"mat-step",[["label","Memory"]],null,null,null,mk,fk)),o["ɵdid"](116,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,52,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](119,0,null,0,31,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,121).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,121).onReset()&&l),l}),null,null)),o["ɵdid"](120,16384,null,0,qm,[],null,null),o["ɵdid"](121,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](123,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](124,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](125,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,53,{_controlNonStatic:0}),o["ɵqud"](335544320,54,{_controlStatic:0}),o["ɵqud"](603979776,55,{_labelChildNonStatic:0}),o["ɵqud"](335544320,56,{_labelChildStatic:0}),o["ɵqud"](603979776,57,{_placeholderChild:0}),o["ɵqud"](603979776,58,{_errorChildren:1}),o["ɵqud"](603979776,59,{_hintChildren:1}),o["ɵqud"](603979776,60,{_prefixChildren:1}),o["ɵqud"](603979776,61,{_suffixChildren:1}),(n()(),o["ɵeld"](135,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","memory"],["matInput",""],["placeholder","Default RAM"],["type","number"],["value","defaultRam[iosNameForm.get('platform').value]"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,136)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,136).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,136)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,136)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,137).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,137).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,137).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,142)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,142)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,142)._onInput()&&l),l}),null,null)),o["ɵdid"](136,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](137,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](139,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](141,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](142,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"],value:[2,"value"]},null),o["ɵprd"](2048,[[53,4],[54,4]],ag,null,[Lg]),(n()(),o["ɵeld"](144,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](145,16384,[[61,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](147,0,null,null,3,"mat-label",[],null,null,null,null,null)),o["ɵdid"](148,16384,null,0,sg,[],null,null),(n()(),o["ɵeld"](149,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(n()(),o["ɵted"](-1,null,["Check for minimum and maximum RAM requirement"])),(n()(),o["ɵeld"](151,0,null,null,5,"mat-step",[["label","Network adapters"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](153,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,62,{stepLabel:0}),(n()(),o["ɵand"](16777216,null,0,1,null,Bk)),o["ɵdid"](156,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](157,0,null,null,5,"mat-step",[["label","WIC modules"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](159,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,66,{stepLabel:0}),(n()(),o["ɵand"](16777216,null,0,1,null,Gk)),o["ɵdid"](162,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](163,0,null,null,22,"mat-step",[["label","Idle-PC"]],null,null,null,mk,fk)),o["ɵdid"](164,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,70,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](167,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](168,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,71,{_controlNonStatic:0}),o["ɵqud"](335544320,72,{_controlStatic:0}),o["ɵqud"](603979776,73,{_labelChildNonStatic:0}),o["ɵqud"](335544320,74,{_labelChildStatic:0}),o["ɵqud"](603979776,75,{_placeholderChild:0}),o["ɵqud"](603979776,76,{_errorChildren:1}),o["ɵqud"](603979776,77,{_hintChildren:1}),o["ɵqud"](603979776,78,{_prefixChildren:1}),o["ɵqud"](603979776,79,{_suffixChildren:1}),(n()(),o["ɵeld"](178,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Idle-PC"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,179)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,179).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,179)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,179)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,184)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,184)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,184)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.idlepc=t)&&l),l}),null,null)),o["ɵdid"](179,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](181,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](183,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](184,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[71,4],[72,4]],ag,null,[Lg]),(n()(),o["ɵeld"](186,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](187,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](188,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](190,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](191,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,4,0,!0),n(e,10,0,"Server type"),n(e,17,0,"","1"),n(e,20,0,"2",!t.isGns3VmAvailable),n(e,23,0,"IOS image"),n(e,27,0,t.uploader),n(e,29,0,"primary"),n(e,34,0,t.iosImageForm),n(e,50,0,"imageName"),n(e,53,0,"Image"),n(e,59,0,t.iosImages),n(e,61,0,"Name and platform"),n(e,66,0,t.iosNameForm),n(e,83,0,"templateName"),n(e,86,0,"Name","text"),n(e,101,0,"platform"),n(e,104,0,"Platform"),n(e,110,0,t.platforms),n(e,112,0,t.chassis[t.iosNameForm.get("platform").value]),n(e,114,0,t.platformsWithEtherSwitchRouterOption[t.iosTemplate.platform]),n(e,116,0,"Memory"),n(e,121,0,t.iosMemoryForm),n(e,139,0,"memory"),n(e,142,0,"Default RAM","number","defaultRam[iosNameForm.get('platform').value]"),n(e,153,0,"Network adapters"),n(e,156,0,t.selectedPlatform),n(e,159,0,"WIC modules"),n(e,162,0,t.iosNameForm.get("platform").value),n(e,164,0,"Idle-PC"),n(e,181,0,t.iosTemplate.idlepc),n(e,184,0,"Idle-PC","text"),n(e,191,0,"primary")}),(function(n,e){var t=e.component;n(e,16,1,[o["ɵnov"](e,17).checked,o["ɵnov"](e,17).disabled,"NoopAnimations"===o["ɵnov"](e,17)._animationMode,"primary"===o["ɵnov"](e,17).color,"accent"===o["ɵnov"](e,17).color,"warn"===o["ɵnov"](e,17).color,-1,o["ɵnov"](e,17).id,null,null,null]),n(e,19,1,[o["ɵnov"](e,20).checked,o["ɵnov"](e,20).disabled,"NoopAnimations"===o["ɵnov"](e,20)._animationMode,"primary"===o["ɵnov"](e,20).color,"accent"===o["ɵnov"](e,20).color,"warn"===o["ɵnov"](e,20).color,-1,o["ɵnov"](e,20).id,null,null,null]),n(e,28,0,o["ɵnov"](e,29).disabled||null,"NoopAnimations"===o["ɵnov"](e,29)._animationMode),n(e,32,0,o["ɵnov"](e,36).ngClassUntouched,o["ɵnov"](e,36).ngClassTouched,o["ɵnov"](e,36).ngClassPristine,o["ɵnov"](e,36).ngClassDirty,o["ɵnov"](e,36).ngClassValid,o["ɵnov"](e,36).ngClassInvalid,o["ɵnov"](e,36).ngClassPending),n(e,37,1,["standard"==o["ɵnov"](e,38).appearance,"fill"==o["ɵnov"](e,38).appearance,"outline"==o["ɵnov"](e,38).appearance,"legacy"==o["ɵnov"](e,38).appearance,o["ɵnov"](e,38)._control.errorState,o["ɵnov"](e,38)._canLabelFloat,o["ɵnov"](e,38)._shouldLabelFloat(),o["ɵnov"](e,38)._hasFloatingLabel(),o["ɵnov"](e,38)._hideControlPlaceholder(),o["ɵnov"](e,38)._control.disabled,o["ɵnov"](e,38)._control.autofilled,o["ɵnov"](e,38)._control.focused,"accent"==o["ɵnov"](e,38).color,"warn"==o["ɵnov"](e,38).color,o["ɵnov"](e,38)._shouldForward("untouched"),o["ɵnov"](e,38)._shouldForward("touched"),o["ɵnov"](e,38)._shouldForward("pristine"),o["ɵnov"](e,38)._shouldForward("dirty"),o["ɵnov"](e,38)._shouldForward("valid"),o["ɵnov"](e,38)._shouldForward("invalid"),o["ɵnov"](e,38)._shouldForward("pending"),!o["ɵnov"](e,38)._animationsEnabled]),n(e,48,1,[o["ɵnov"](e,52).ngClassUntouched,o["ɵnov"](e,52).ngClassTouched,o["ɵnov"](e,52).ngClassPristine,o["ɵnov"](e,52).ngClassDirty,o["ɵnov"](e,52).ngClassValid,o["ɵnov"](e,52).ngClassInvalid,o["ɵnov"](e,52).ngClassPending,o["ɵnov"](e,53).id,o["ɵnov"](e,53).tabIndex,o["ɵnov"](e,53)._getAriaLabel(),o["ɵnov"](e,53)._getAriaLabelledby(),o["ɵnov"](e,53).required.toString(),o["ɵnov"](e,53).disabled.toString(),o["ɵnov"](e,53).errorState,o["ɵnov"](e,53).panelOpen?o["ɵnov"](e,53)._optionIds:null,o["ɵnov"](e,53).multiple,o["ɵnov"](e,53)._ariaDescribedby||null,o["ɵnov"](e,53)._getAriaActiveDescendant(),o["ɵnov"](e,53).disabled,o["ɵnov"](e,53).errorState,o["ɵnov"](e,53).required,o["ɵnov"](e,53).empty]),n(e,64,0,o["ɵnov"](e,68).ngClassUntouched,o["ɵnov"](e,68).ngClassTouched,o["ɵnov"](e,68).ngClassPristine,o["ɵnov"](e,68).ngClassDirty,o["ɵnov"](e,68).ngClassValid,o["ɵnov"](e,68).ngClassInvalid,o["ɵnov"](e,68).ngClassPending),n(e,69,1,["standard"==o["ɵnov"](e,70).appearance,"fill"==o["ɵnov"](e,70).appearance,"outline"==o["ɵnov"](e,70).appearance,"legacy"==o["ɵnov"](e,70).appearance,o["ɵnov"](e,70)._control.errorState,o["ɵnov"](e,70)._canLabelFloat,o["ɵnov"](e,70)._shouldLabelFloat(),o["ɵnov"](e,70)._hasFloatingLabel(),o["ɵnov"](e,70)._hideControlPlaceholder(),o["ɵnov"](e,70)._control.disabled,o["ɵnov"](e,70)._control.autofilled,o["ɵnov"](e,70)._control.focused,"accent"==o["ɵnov"](e,70).color,"warn"==o["ɵnov"](e,70).color,o["ɵnov"](e,70)._shouldForward("untouched"),o["ɵnov"](e,70)._shouldForward("touched"),o["ɵnov"](e,70)._shouldForward("pristine"),o["ɵnov"](e,70)._shouldForward("dirty"),o["ɵnov"](e,70)._shouldForward("valid"),o["ɵnov"](e,70)._shouldForward("invalid"),o["ɵnov"](e,70)._shouldForward("pending"),!o["ɵnov"](e,70)._animationsEnabled]),n(e,80,1,[o["ɵnov"](e,85).ngClassUntouched,o["ɵnov"](e,85).ngClassTouched,o["ɵnov"](e,85).ngClassPristine,o["ɵnov"](e,85).ngClassDirty,o["ɵnov"](e,85).ngClassValid,o["ɵnov"](e,85).ngClassInvalid,o["ɵnov"](e,85).ngClassPending,o["ɵnov"](e,86)._isServer,o["ɵnov"](e,86).id,o["ɵnov"](e,86).placeholder,o["ɵnov"](e,86).disabled,o["ɵnov"](e,86).required,o["ɵnov"](e,86).readonly&&!o["ɵnov"](e,86)._isNativeSelect||null,o["ɵnov"](e,86)._ariaDescribedby||null,o["ɵnov"](e,86).errorState,o["ɵnov"](e,86).required.toString()]),n(e,88,1,["standard"==o["ɵnov"](e,89).appearance,"fill"==o["ɵnov"](e,89).appearance,"outline"==o["ɵnov"](e,89).appearance,"legacy"==o["ɵnov"](e,89).appearance,o["ɵnov"](e,89)._control.errorState,o["ɵnov"](e,89)._canLabelFloat,o["ɵnov"](e,89)._shouldLabelFloat(),o["ɵnov"](e,89)._hasFloatingLabel(),o["ɵnov"](e,89)._hideControlPlaceholder(),o["ɵnov"](e,89)._control.disabled,o["ɵnov"](e,89)._control.autofilled,o["ɵnov"](e,89)._control.focused,"accent"==o["ɵnov"](e,89).color,"warn"==o["ɵnov"](e,89).color,o["ɵnov"](e,89)._shouldForward("untouched"),o["ɵnov"](e,89)._shouldForward("touched"),o["ɵnov"](e,89)._shouldForward("pristine"),o["ɵnov"](e,89)._shouldForward("dirty"),o["ɵnov"](e,89)._shouldForward("valid"),o["ɵnov"](e,89)._shouldForward("invalid"),o["ɵnov"](e,89)._shouldForward("pending"),!o["ɵnov"](e,89)._animationsEnabled]),n(e,99,1,[o["ɵnov"](e,103).ngClassUntouched,o["ɵnov"](e,103).ngClassTouched,o["ɵnov"](e,103).ngClassPristine,o["ɵnov"](e,103).ngClassDirty,o["ɵnov"](e,103).ngClassValid,o["ɵnov"](e,103).ngClassInvalid,o["ɵnov"](e,103).ngClassPending,o["ɵnov"](e,104).id,o["ɵnov"](e,104).tabIndex,o["ɵnov"](e,104)._getAriaLabel(),o["ɵnov"](e,104)._getAriaLabelledby(),o["ɵnov"](e,104).required.toString(),o["ɵnov"](e,104).disabled.toString(),o["ɵnov"](e,104).errorState,o["ɵnov"](e,104).panelOpen?o["ɵnov"](e,104)._optionIds:null,o["ɵnov"](e,104).multiple,o["ɵnov"](e,104)._ariaDescribedby||null,o["ɵnov"](e,104)._getAriaActiveDescendant(),o["ɵnov"](e,104).disabled,o["ɵnov"](e,104).errorState,o["ɵnov"](e,104).required,o["ɵnov"](e,104).empty]),n(e,119,0,o["ɵnov"](e,123).ngClassUntouched,o["ɵnov"](e,123).ngClassTouched,o["ɵnov"](e,123).ngClassPristine,o["ɵnov"](e,123).ngClassDirty,o["ɵnov"](e,123).ngClassValid,o["ɵnov"](e,123).ngClassInvalid,o["ɵnov"](e,123).ngClassPending),n(e,124,1,["standard"==o["ɵnov"](e,125).appearance,"fill"==o["ɵnov"](e,125).appearance,"outline"==o["ɵnov"](e,125).appearance,"legacy"==o["ɵnov"](e,125).appearance,o["ɵnov"](e,125)._control.errorState,o["ɵnov"](e,125)._canLabelFloat,o["ɵnov"](e,125)._shouldLabelFloat(),o["ɵnov"](e,125)._hasFloatingLabel(),o["ɵnov"](e,125)._hideControlPlaceholder(),o["ɵnov"](e,125)._control.disabled,o["ɵnov"](e,125)._control.autofilled,o["ɵnov"](e,125)._control.focused,"accent"==o["ɵnov"](e,125).color,"warn"==o["ɵnov"](e,125).color,o["ɵnov"](e,125)._shouldForward("untouched"),o["ɵnov"](e,125)._shouldForward("touched"),o["ɵnov"](e,125)._shouldForward("pristine"),o["ɵnov"](e,125)._shouldForward("dirty"),o["ɵnov"](e,125)._shouldForward("valid"),o["ɵnov"](e,125)._shouldForward("invalid"),o["ɵnov"](e,125)._shouldForward("pending"),!o["ɵnov"](e,125)._animationsEnabled]),n(e,135,1,[o["ɵnov"](e,141).ngClassUntouched,o["ɵnov"](e,141).ngClassTouched,o["ɵnov"](e,141).ngClassPristine,o["ɵnov"](e,141).ngClassDirty,o["ɵnov"](e,141).ngClassValid,o["ɵnov"](e,141).ngClassInvalid,o["ɵnov"](e,141).ngClassPending,o["ɵnov"](e,142)._isServer,o["ɵnov"](e,142).id,o["ɵnov"](e,142).placeholder,o["ɵnov"](e,142).disabled,o["ɵnov"](e,142).required,o["ɵnov"](e,142).readonly&&!o["ɵnov"](e,142)._isNativeSelect||null,o["ɵnov"](e,142)._ariaDescribedby||null,o["ɵnov"](e,142).errorState,o["ɵnov"](e,142).required.toString()]),n(e,149,0,o["ɵinlineInterpolate"](1,"",t.ciscoUrl,"")),n(e,167,1,["standard"==o["ɵnov"](e,168).appearance,"fill"==o["ɵnov"](e,168).appearance,"outline"==o["ɵnov"](e,168).appearance,"legacy"==o["ɵnov"](e,168).appearance,o["ɵnov"](e,168)._control.errorState,o["ɵnov"](e,168)._canLabelFloat,o["ɵnov"](e,168)._shouldLabelFloat(),o["ɵnov"](e,168)._hasFloatingLabel(),o["ɵnov"](e,168)._hideControlPlaceholder(),o["ɵnov"](e,168)._control.disabled,o["ɵnov"](e,168)._control.autofilled,o["ɵnov"](e,168)._control.focused,"accent"==o["ɵnov"](e,168).color,"warn"==o["ɵnov"](e,168).color,o["ɵnov"](e,168)._shouldForward("untouched"),o["ɵnov"](e,168)._shouldForward("touched"),o["ɵnov"](e,168)._shouldForward("pristine"),o["ɵnov"](e,168)._shouldForward("dirty"),o["ɵnov"](e,168)._shouldForward("valid"),o["ɵnov"](e,168)._shouldForward("invalid"),o["ɵnov"](e,168)._shouldForward("pending"),!o["ɵnov"](e,168)._animationsEnabled]),n(e,178,1,[o["ɵnov"](e,183).ngClassUntouched,o["ɵnov"](e,183).ngClassTouched,o["ɵnov"](e,183).ngClassPristine,o["ɵnov"](e,183).ngClassDirty,o["ɵnov"](e,183).ngClassValid,o["ɵnov"](e,183).ngClassInvalid,o["ɵnov"](e,183).ngClassPending,o["ɵnov"](e,184)._isServer,o["ɵnov"](e,184).id,o["ɵnov"](e,184).placeholder,o["ɵnov"](e,184).disabled,o["ɵnov"](e,184).required,o["ɵnov"](e,184).readonly&&!o["ɵnov"](e,184)._isNativeSelect||null,o["ɵnov"](e,184)._ariaDescribedby||null,o["ɵnov"](e,184).errorState,o["ɵnov"](e,184).required.toString()]),n(e,187,0,o["ɵnov"](e,188).disabled||null,"NoopAnimations"===o["ɵnov"](e,188)._animationMode),n(e,190,0,o["ɵnov"](e,191).disabled||null,"NoopAnimations"===o["ɵnov"](e,191)._animationMode)}))}function Zk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New IOS router template"])),(n()(),o["ɵand"](16777216,null,null,1,null,Wk)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,6,0,e.component.iosTemplate)}),null)}function Kk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-ios-template",[],null,null,null,Zk,Ok)),o["ɵdid"](1,114688,null,0,Dk,[rt,Dh,Bx,hc,Gm,vl,Bw,Fk,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var Xk=o["ɵccf"]("app-add-ios-template",Dk,Kk,{},{},[]),Yk=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.iosConfigurationService=i,this.router=r,this.isSymbolSelectionOpened=!1,this.networkAdaptersForTemplate=[],this.platforms=[],this.consoleTypes=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required),path:new Em("",Xh.required),initialConfig:new Em("",Xh.required)}),this.memoryForm=this.formBuilder.group({ram:new Em("",Xh.required),nvram:new Em("",Xh.required),iomemory:new Em("",Xh.required),disk0:new Em("",Xh.required),disk1:new Em("",Xh.required)}),this.advancedForm=this.formBuilder.group({systemId:new Em("",Xh.required),idlemax:new Em("",Xh.required),idlesleep:new Em("",Xh.required),execarea:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.iosService.getTemplate(n.server,t).subscribe((function(e){n.iosTemplate=e,n.fillAdaptersData()}))}))},n.prototype.getConfiguration=function(){this.networkModules=this.iosConfigurationService.getNetworkModules(),this.networkAdaptersForPlatform=this.iosConfigurationService.getNetworkAdaptersForPlatform(),this.networkAdapters=this.iosConfigurationService.getNetworkAdapters(),this.platforms=this.iosConfigurationService.getAvailablePlatforms(),this.platformsWithEtherSwitchRouterOption=this.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),this.platformsWithChassis=this.iosConfigurationService.getPlatformsWithChassis(),this.chassis=this.iosConfigurationService.getChassis(),this.defaultRam=this.iosConfigurationService.getDefaultRamSettings(),this.consoleTypes=this.iosConfigurationService.getConsoleTypes()},n.prototype.fillAdaptersData=function(){this.iosTemplate.slot0&&(this.networkAdaptersForTemplate[0]=this.iosTemplate.slot0),this.iosTemplate.slot1&&(this.networkAdaptersForTemplate[1]=this.iosTemplate.slot1),this.iosTemplate.slot2&&(this.networkAdaptersForTemplate[2]=this.iosTemplate.slot2),this.iosTemplate.slot3&&(this.networkAdaptersForTemplate[3]=this.iosTemplate.slot3),this.iosTemplate.slot4&&(this.networkAdaptersForTemplate[4]=this.iosTemplate.slot4),this.iosTemplate.slot5&&(this.networkAdaptersForTemplate[5]=this.iosTemplate.slot5),this.iosTemplate.slot6&&(this.networkAdaptersForTemplate[6]=this.iosTemplate.slot6),this.iosTemplate.slot7&&(this.networkAdaptersForTemplate[7]=this.iosTemplate.slot7)},n.prototype.completeAdaptersData=function(){this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.memoryForm.invalid||this.advancedForm.invalid?this.toasterService.error("Fill all required fields"):(this.completeAdaptersData(),this.iosService.saveTemplate(this.server,this.iosTemplate).subscribe((function(e){n.toasterService.success("Changes saved")})))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iosTemplate.symbol=n},n}(),$k=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function Qk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[39,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function Jk(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[78,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function nE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[128,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function eE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,128,{options:1}),o["ɵqud"](603979776,129,{optionGroups:1}),o["ɵqud"](603979776,130,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,nE)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],i=n(e,4,0,!0);n(e,3,0,l,i),n(e,7,0,o["ɵinlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdapters[t.iosTemplate.chassis][e.parent.context.$implicit])}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function tE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,eE)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.networkAdapters[t.iosTemplate.chassis][e.context.$implicit])}),null)}function lE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,2,null,tE)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵpad"](3,8)],(function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)}),null)}function oE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[131,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function iE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,131,{options:1}),o["ɵqud"](603979776,132,{optionGroups:1}),o["ɵqud"](603979776,133,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,oE)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],i=n(e,4,0,!0);n(e,3,0,l,i),n(e,7,0,o["ɵinlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.parent.context.$implicit])}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function rE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,iE)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.context.$implicit])}),null)}function aE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,2,null,rE)),o["ɵdid"](2,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵpad"](3,8)],(function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)}),null)}function uE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[134,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function sE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 0"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.wic0=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](4,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](5,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](7,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](8,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,134,{options:1}),o["ɵqud"](603979776,135,{optionGroups:1}),o["ɵqud"](603979776,136,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,uE)),o["ɵdid"](13,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.iosTemplate.wic0,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 0"),n(e,13,0,t.networkModules[t.iosTemplate.platform][0])}),(function(n,e){n(e,1,1,[o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending,o["ɵnov"](e,8).id,o["ɵnov"](e,8).tabIndex,o["ɵnov"](e,8)._getAriaLabel(),o["ɵnov"](e,8)._getAriaLabelledby(),o["ɵnov"](e,8).required.toString(),o["ɵnov"](e,8).disabled.toString(),o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).panelOpen?o["ɵnov"](e,8)._optionIds:null,o["ɵnov"](e,8).multiple,o["ɵnov"](e,8)._ariaDescribedby||null,o["ɵnov"](e,8)._getAriaActiveDescendant(),o["ɵnov"](e,8).disabled,o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).required,o["ɵnov"](e,8).empty])}))}function dE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[137,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function cE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 1"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.wic1=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](4,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](5,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](7,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](8,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,137,{options:1}),o["ɵqud"](603979776,138,{optionGroups:1}),o["ɵqud"](603979776,139,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,dE)),o["ɵdid"](13,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.iosTemplate.wic1,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 1"),n(e,13,0,t.networkModules[t.iosTemplate.platform][1])}),(function(n,e){n(e,1,1,[o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending,o["ɵnov"](e,8).id,o["ɵnov"](e,8).tabIndex,o["ɵnov"](e,8)._getAriaLabel(),o["ɵnov"](e,8)._getAriaLabelledby(),o["ɵnov"](e,8).required.toString(),o["ɵnov"](e,8).disabled.toString(),o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).panelOpen?o["ɵnov"](e,8)._optionIds:null,o["ɵnov"](e,8).multiple,o["ɵnov"](e,8)._ariaDescribedby||null,o["ɵnov"](e,8)._getAriaActiveDescendant(),o["ɵnov"](e,8).disabled,o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).required,o["ɵnov"](e,8).empty])}))}function pE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[140,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function fE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 2"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.wic2=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](4,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](5,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](7,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](8,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,140,{options:1}),o["ɵqud"](603979776,141,{optionGroups:1}),o["ɵqud"](603979776,142,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,pE)),o["ɵdid"](13,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.iosTemplate.wic2,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 2"),n(e,13,0,t.networkModules[t.iosTemplate.platform][2])}),(function(n,e){n(e,1,1,[o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending,o["ɵnov"](e,8).id,o["ɵnov"](e,8).tabIndex,o["ɵnov"](e,8)._getAriaLabel(),o["ɵnov"](e,8)._getAriaLabelledby(),o["ɵnov"](e,8).required.toString(),o["ɵnov"](e,8).disabled.toString(),o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).panelOpen?o["ɵnov"](e,8)._optionIds:null,o["ɵnov"](e,8).multiple,o["ɵnov"](e,8)._ariaDescribedby||null,o["ɵnov"](e,8)._getAriaActiveDescendant(),o["ɵnov"](e,8).disabled,o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).required,o["ɵnov"](e,8).empty])}))}function hE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,548,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,540,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,199,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,158,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,3,{_controlNonStatic:0}),o["ɵqud"](335544320,4,{_controlStatic:0}),o["ɵqud"](603979776,5,{_labelChildNonStatic:0}),o["ɵqud"](335544320,6,{_labelChildStatic:0}),o["ɵqud"](603979776,7,{_placeholderChild:0}),o["ɵqud"](603979776,8,{_errorChildren:1}),o["ɵqud"](603979776,9,{_hintChildren:1}),o["ɵqud"](603979776,10,{_prefixChildren:1}),o["ɵqud"](603979776,11,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[3,4],[4,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,12,{_controlNonStatic:0}),o["ɵqud"](335544320,13,{_controlStatic:0}),o["ɵqud"](603979776,14,{_labelChildNonStatic:0}),o["ɵqud"](335544320,15,{_labelChildStatic:0}),o["ɵqud"](603979776,16,{_placeholderChild:0}),o["ɵqud"](603979776,17,{_errorChildren:1}),o["ɵqud"](603979776,18,{_hintChildren:1}),o["ɵqud"](603979776,19,{_prefixChildren:1}),o["ɵqud"](603979776,20,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[12,4],[13,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["ɵdid"](60,16384,null,0,sg,[],null,null),(n()(),o["ɵted"](61,null,["Platform - ",""])),(n()(),o["ɵeld"](62,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](63,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](64,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["ɵdid"](65,16384,null,0,sg,[],null,null),(n()(),o["ɵted"](66,null,["Chassis - ",""])),(n()(),o["ɵeld"](67,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](68,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](69,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](70,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,21,{_controlNonStatic:0}),o["ɵqud"](335544320,22,{_controlStatic:0}),o["ɵqud"](603979776,23,{_labelChildNonStatic:0}),o["ɵqud"](335544320,24,{_labelChildStatic:0}),o["ɵqud"](603979776,25,{_placeholderChild:0}),o["ɵqud"](603979776,26,{_errorChildren:1}),o["ɵqud"](603979776,27,{_hintChildren:1}),o["ɵqud"](603979776,28,{_prefixChildren:1}),o["ɵqud"](603979776,29,{_suffixChildren:1}),(n()(),o["ɵeld"](80,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,81)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,81).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,81)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,81)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,86)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,86)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,86)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](81,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](83,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](85,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](86,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[21,4],[22,4]],ag,null,[Lg]),(n()(),o["ɵeld"](88,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](89,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](91,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](92,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](93,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](94,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,30,{_controlNonStatic:0}),o["ɵqud"](335544320,31,{_controlStatic:0}),o["ɵqud"](603979776,32,{_labelChildNonStatic:0}),o["ɵqud"](335544320,33,{_labelChildStatic:0}),o["ɵqud"](603979776,34,{_placeholderChild:0}),o["ɵqud"](603979776,35,{_errorChildren:1}),o["ɵqud"](603979776,36,{_hintChildren:1}),o["ɵqud"](603979776,37,{_prefixChildren:1}),o["ɵqud"](603979776,38,{_suffixChildren:1}),(n()(),o["ɵeld"](104,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,110)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,110)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,110)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](106,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](107,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](109,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](110,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,39,{options:1}),o["ɵqud"](603979776,40,{optionGroups:1}),o["ɵqud"](603979776,41,{customTrigger:0}),o["ɵprd"](2048,[[30,4],[31,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Qk)),o["ɵdid"](116,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](117,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](118,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,42,{_controlNonStatic:0}),o["ɵqud"](335544320,43,{_controlStatic:0}),o["ɵqud"](603979776,44,{_labelChildNonStatic:0}),o["ɵqud"](335544320,45,{_labelChildStatic:0}),o["ɵqud"](603979776,46,{_placeholderChild:0}),o["ɵqud"](603979776,47,{_errorChildren:1}),o["ɵqud"](603979776,48,{_hintChildren:1}),o["ɵqud"](603979776,49,{_prefixChildren:1}),o["ɵqud"](603979776,50,{_suffixChildren:1}),(n()(),o["ɵeld"](128,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","IOS image path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,129)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,129).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,129)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,129)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,134)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,134)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,134)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.image=t)&&l),l}),null,null)),o["ɵdid"](129,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](131,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](133,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](134,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[42,4],[43,4]],ag,null,[Lg]),(n()(),o["ɵeld"](136,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](137,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,51,{_controlNonStatic:0}),o["ɵqud"](335544320,52,{_controlStatic:0}),o["ɵqud"](603979776,53,{_labelChildNonStatic:0}),o["ɵqud"](335544320,54,{_labelChildStatic:0}),o["ɵqud"](603979776,55,{_placeholderChild:0}),o["ɵqud"](603979776,56,{_errorChildren:1}),o["ɵqud"](603979776,57,{_hintChildren:1}),o["ɵqud"](603979776,58,{_prefixChildren:1}),o["ɵqud"](603979776,59,{_suffixChildren:1}),(n()(),o["ɵeld"](147,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","initialConfig"],["matInput",""],["placeholder","Initial startup-config"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,148)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,148).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,148)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,148)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,153)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,153)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,153)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.startup_config=t)&&l),l}),null,null)),o["ɵdid"](148,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](150,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](152,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](153,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[51,4],[52,4]],ag,null,[Lg]),(n()(),o["ɵeld"](155,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](156,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,60,{_controlNonStatic:0}),o["ɵqud"](335544320,61,{_controlStatic:0}),o["ɵqud"](603979776,62,{_labelChildNonStatic:0}),o["ɵqud"](335544320,63,{_labelChildStatic:0}),o["ɵqud"](603979776,64,{_placeholderChild:0}),o["ɵqud"](603979776,65,{_errorChildren:1}),o["ɵqud"](603979776,66,{_hintChildren:1}),o["ɵqud"](603979776,67,{_prefixChildren:1}),o["ɵqud"](603979776,68,{_suffixChildren:1}),(n()(),o["ɵeld"](166,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Initial private-config"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,167)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,167).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,167)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,167)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,173)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,173)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,173)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.private_config=t)&&l),l}),null,null)),o["ɵdid"](167,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](169,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](170,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](172,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](173,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[60,4],[61,4]],ag,null,[Lg]),(n()(),o["ɵeld"](175,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](176,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,69,{_controlNonStatic:0}),o["ɵqud"](335544320,70,{_controlStatic:0}),o["ɵqud"](603979776,71,{_labelChildNonStatic:0}),o["ɵqud"](335544320,72,{_labelChildStatic:0}),o["ɵqud"](603979776,73,{_placeholderChild:0}),o["ɵqud"](603979776,74,{_errorChildren:1}),o["ɵqud"](603979776,75,{_hintChildren:1}),o["ɵqud"](603979776,76,{_prefixChildren:1}),o["ɵqud"](603979776,77,{_suffixChildren:1}),(n()(),o["ɵeld"](186,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,191)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,191)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,191)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](188,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](190,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](191,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,78,{options:1}),o["ɵqud"](603979776,79,{optionGroups:1}),o["ɵqud"](603979776,80,{customTrigger:0}),o["ɵprd"](2048,[[69,4],[70,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Jk)),o["ɵdid"](197,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](198,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](199,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](201,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](203,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](205,16777216,null,null,128,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](206,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,81,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](209,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,210)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,210)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,210)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](210,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](211,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](212,{value:0,params:1}),(n()(),o["ɵeld"](213,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](214,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Memories and disks "])),(n()(),o["ɵeld"](216,0,null,1,110,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,218).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,218).onReset()&&l),l}),null,null)),o["ɵdid"](217,16384,null,0,qm,[],null,null),o["ɵdid"](218,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](220,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](221,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](222,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,82,{_controlNonStatic:0}),o["ɵqud"](335544320,83,{_controlStatic:0}),o["ɵqud"](603979776,84,{_labelChildNonStatic:0}),o["ɵqud"](335544320,85,{_labelChildStatic:0}),o["ɵqud"](603979776,86,{_placeholderChild:0}),o["ɵqud"](603979776,87,{_errorChildren:1}),o["ɵqud"](603979776,88,{_hintChildren:1}),o["ɵqud"](603979776,89,{_prefixChildren:1}),o["ɵqud"](603979776,90,{_suffixChildren:1}),(n()(),o["ɵeld"](232,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,233)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,233).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,233)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,233)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,234).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,234).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,234).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,239)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,239)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,239)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.ram=t)&&l),l}),null,null)),o["ɵdid"](233,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](234,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](236,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](238,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](239,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[82,4],[83,4]],ag,null,[Lg]),(n()(),o["ɵeld"](241,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](242,16384,[[90,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](244,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](245,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,91,{_controlNonStatic:0}),o["ɵqud"](335544320,92,{_controlStatic:0}),o["ɵqud"](603979776,93,{_labelChildNonStatic:0}),o["ɵqud"](335544320,94,{_labelChildStatic:0}),o["ɵqud"](603979776,95,{_placeholderChild:0}),o["ɵqud"](603979776,96,{_errorChildren:1}),o["ɵqud"](603979776,97,{_hintChildren:1}),o["ɵqud"](603979776,98,{_prefixChildren:1}),o["ɵqud"](603979776,99,{_suffixChildren:1}),(n()(),o["ɵeld"](255,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nvram"],["matInput",""],["placeholder","NVRAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,256)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,256).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,256)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,256)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,257).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,257).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,257).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,262)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,262)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,262)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.nvram=t)&&l),l}),null,null)),o["ɵdid"](256,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](257,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](259,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](261,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](262,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[91,4],[92,4]],ag,null,[Lg]),(n()(),o["ɵeld"](264,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](265,16384,[[99,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](267,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](268,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,100,{_controlNonStatic:0}),o["ɵqud"](335544320,101,{_controlStatic:0}),o["ɵqud"](603979776,102,{_labelChildNonStatic:0}),o["ɵqud"](335544320,103,{_labelChildStatic:0}),o["ɵqud"](603979776,104,{_placeholderChild:0}),o["ɵqud"](603979776,105,{_errorChildren:1}),o["ɵqud"](603979776,106,{_hintChildren:1}),o["ɵqud"](603979776,107,{_prefixChildren:1}),o["ɵqud"](603979776,108,{_suffixChildren:1}),(n()(),o["ɵeld"](278,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","iomemory"],["matInput",""],["placeholder","I/O memory"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,279)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,279).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,279)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,279)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,280).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,280).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,280).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,285)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,285)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,285)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.iomem=t)&&l),l}),null,null)),o["ɵdid"](279,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](280,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](282,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](284,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](285,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[100,4],[101,4]],ag,null,[Lg]),(n()(),o["ɵeld"](287,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](288,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,109,{_controlNonStatic:0}),o["ɵqud"](335544320,110,{_controlStatic:0}),o["ɵqud"](603979776,111,{_labelChildNonStatic:0}),o["ɵqud"](335544320,112,{_labelChildStatic:0}),o["ɵqud"](603979776,113,{_placeholderChild:0}),o["ɵqud"](603979776,114,{_errorChildren:1}),o["ɵqud"](603979776,115,{_hintChildren:1}),o["ɵqud"](603979776,116,{_prefixChildren:1}),o["ɵqud"](603979776,117,{_suffixChildren:1}),(n()(),o["ɵeld"](298,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","disk0"],["matInput",""],["placeholder","PCMCIA disk0"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,299)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,299).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,299)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,299)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,300).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,300).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,300).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,305)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,305)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,305)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.disk0=t)&&l),l}),null,null)),o["ɵdid"](299,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](300,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](302,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](304,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](305,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[109,4],[110,4]],ag,null,[Lg]),(n()(),o["ɵeld"](307,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](308,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,118,{_controlNonStatic:0}),o["ɵqud"](335544320,119,{_controlStatic:0}),o["ɵqud"](603979776,120,{_labelChildNonStatic:0}),o["ɵqud"](335544320,121,{_labelChildStatic:0}),o["ɵqud"](603979776,122,{_placeholderChild:0}),o["ɵqud"](603979776,123,{_errorChildren:1}),o["ɵqud"](603979776,124,{_hintChildren:1}),o["ɵqud"](603979776,125,{_prefixChildren:1}),o["ɵqud"](603979776,126,{_suffixChildren:1}),(n()(),o["ɵeld"](318,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","disk1"],["matInput",""],["placeholder","PCMCIA disk1"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,319)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,319).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,319)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,319)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,320).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,320).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,320).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,325)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,325)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,325)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.disk1=t)&&l),l}),null,null)),o["ɵdid"](319,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](320,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](322,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](324,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](325,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[118,4],[119,4]],ag,null,[Lg]),(n()(),o["ɵeld"](327,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.auto_delete_disks=t)&&l),l}),O_,F_)),o["ɵdid"](328,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](330,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](332,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Automatically delete NVRAM and disk files "])),(n()(),o["ɵeld"](334,16777216,null,null,26,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](335,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,127,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](338,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,339)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,339)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,339)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](339,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](340,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](341,{value:0,params:1}),(n()(),o["ɵeld"](342,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](343,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Slots "])),(n()(),o["ɵeld"](345,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Adapters"])),(n()(),o["ɵand"](16777216,null,1,1,null,lE)),o["ɵdid"](348,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,aE)),o["ɵdid"](350,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](351,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](352,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](353,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["WICs"])),(n()(),o["ɵand"](16777216,null,1,1,null,sE)),o["ɵdid"](356,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,cE)),o["ɵdid"](358,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,fE)),o["ɵdid"](360,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](361,16777216,null,null,150,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](362,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,143,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](365,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,366)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,366)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,366)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](366,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](367,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](368,{value:0,params:1}),(n()(),o["ɵeld"](369,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](370,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Advanced "])),(n()(),o["ɵeld"](372,0,null,1,123,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,374).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,374).onReset()&&l),l}),null,null)),o["ɵdid"](373,16384,null,0,qm,[],null,null),o["ɵdid"](374,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](376,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](377,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](378,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,144,{_controlNonStatic:0}),o["ɵqud"](335544320,145,{_controlStatic:0}),o["ɵqud"](603979776,146,{_labelChildNonStatic:0}),o["ɵqud"](335544320,147,{_labelChildStatic:0}),o["ɵqud"](603979776,148,{_placeholderChild:0}),o["ɵqud"](603979776,149,{_errorChildren:1}),o["ɵqud"](603979776,150,{_hintChildren:1}),o["ɵqud"](603979776,151,{_prefixChildren:1}),o["ɵqud"](603979776,152,{_suffixChildren:1}),(n()(),o["ɵeld"](388,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","systemId"],["matInput",""],["placeholder","System ID"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,389)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,389).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,389)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,389)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,394)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,394)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,394)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.system_id=t)&&l),l}),null,null)),o["ɵdid"](389,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](391,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](393,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](394,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[144,4],[145,4]],ag,null,[Lg]),(n()(),o["ɵeld"](396,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](397,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,153,{_controlNonStatic:0}),o["ɵqud"](335544320,154,{_controlStatic:0}),o["ɵqud"](603979776,155,{_labelChildNonStatic:0}),o["ɵqud"](335544320,156,{_labelChildStatic:0}),o["ɵqud"](603979776,157,{_placeholderChild:0}),o["ɵqud"](603979776,158,{_errorChildren:1}),o["ɵqud"](603979776,159,{_hintChildren:1}),o["ɵqud"](603979776,160,{_prefixChildren:1}),o["ɵqud"](603979776,161,{_suffixChildren:1}),(n()(),o["ɵeld"](407,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Base MAC"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,408)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,408).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,408)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,408)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,414)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,414)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,414)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.mac_addr=t)&&l),l}),null,null)),o["ɵdid"](408,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](410,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](411,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](413,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](414,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[153,4],[154,4]],ag,null,[Lg]),(n()(),o["ɵeld"](416,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](417,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,162,{_controlNonStatic:0}),o["ɵqud"](335544320,163,{_controlStatic:0}),o["ɵqud"](603979776,164,{_labelChildNonStatic:0}),o["ɵqud"](335544320,165,{_labelChildStatic:0}),o["ɵqud"](603979776,166,{_placeholderChild:0}),o["ɵqud"](603979776,167,{_errorChildren:1}),o["ɵqud"](603979776,168,{_hintChildren:1}),o["ɵqud"](603979776,169,{_prefixChildren:1}),o["ɵqud"](603979776,170,{_suffixChildren:1}),(n()(),o["ɵeld"](427,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Idle-PC"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,428)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,428).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,428)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,428)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,434)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,434)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,434)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.idlepc=t)&&l),l}),null,null)),o["ɵdid"](428,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](430,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](431,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](433,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](434,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[162,4],[163,4]],ag,null,[Lg]),(n()(),o["ɵeld"](436,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](437,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,171,{_controlNonStatic:0}),o["ɵqud"](335544320,172,{_controlStatic:0}),o["ɵqud"](603979776,173,{_labelChildNonStatic:0}),o["ɵqud"](335544320,174,{_labelChildStatic:0}),o["ɵqud"](603979776,175,{_placeholderChild:0}),o["ɵqud"](603979776,176,{_errorChildren:1}),o["ɵqud"](603979776,177,{_hintChildren:1}),o["ɵqud"](603979776,178,{_prefixChildren:1}),o["ɵqud"](603979776,179,{_suffixChildren:1}),(n()(),o["ɵeld"](447,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","idlemax"],["matInput",""],["placeholder","Idlemax"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,448)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,448).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,448)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,448)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,449).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,449).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,449).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,454)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,454)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,454)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.idlemax=t)&&l),l}),null,null)),o["ɵdid"](448,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](449,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](451,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](453,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](454,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[171,4],[172,4]],ag,null,[Lg]),(n()(),o["ɵeld"](456,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](457,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,180,{_controlNonStatic:0}),o["ɵqud"](335544320,181,{_controlStatic:0}),o["ɵqud"](603979776,182,{_labelChildNonStatic:0}),o["ɵqud"](335544320,183,{_labelChildStatic:0}),o["ɵqud"](603979776,184,{_placeholderChild:0}),o["ɵqud"](603979776,185,{_errorChildren:1}),o["ɵqud"](603979776,186,{_hintChildren:1}),o["ɵqud"](603979776,187,{_prefixChildren:1}),o["ɵqud"](603979776,188,{_suffixChildren:1}),(n()(),o["ɵeld"](467,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","idlesleep"],["matInput",""],["placeholder","Idlesleep"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,468)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,468).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,468)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,468)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,469).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,469).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,469).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,474)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,474)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,474)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.idlesleep=t)&&l),l}),null,null)),o["ɵdid"](468,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](469,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](471,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](473,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](474,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[180,4],[181,4]],ag,null,[Lg]),(n()(),o["ɵeld"](476,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](477,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,189,{_controlNonStatic:0}),o["ɵqud"](335544320,190,{_controlStatic:0}),o["ɵqud"](603979776,191,{_labelChildNonStatic:0}),o["ɵqud"](335544320,192,{_labelChildStatic:0}),o["ɵqud"](603979776,193,{_placeholderChild:0}),o["ɵqud"](603979776,194,{_errorChildren:1}),o["ɵqud"](603979776,195,{_hintChildren:1}),o["ɵqud"](603979776,196,{_prefixChildren:1}),o["ɵqud"](603979776,197,{_suffixChildren:1}),(n()(),o["ɵeld"](487,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","execarea"],["matInput",""],["placeholder","Exec area"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,488)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,488).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,488)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,488)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,489).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,489).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,489).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,494)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,494)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,494)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.exec_area=t)&&l),l}),null,null)),o["ɵdid"](488,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](489,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](491,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](493,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](494,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[189,4],[190,4]],ag,null,[Lg]),(n()(),o["ɵeld"](496,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.mmap=t)&&l),l}),O_,F_)),o["ɵdid"](497,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](499,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](501,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Enable mmap support "])),(n()(),o["ɵeld"](503,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](504,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](505,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.sparsemem=t)&&l),l}),O_,F_)),o["ɵdid"](506,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](508,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](510,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Enable sparse memory supoport "])),(n()(),o["ɵeld"](512,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](513,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,198,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](516,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,517)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,517)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,517)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](517,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](518,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](519,{value:0,params:1}),(n()(),o["ɵeld"](520,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](521,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](523,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](524,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,199,{_controlNonStatic:0}),o["ɵqud"](335544320,200,{_controlStatic:0}),o["ɵqud"](603979776,201,{_labelChildNonStatic:0}),o["ɵqud"](335544320,202,{_labelChildStatic:0}),o["ɵqud"](603979776,203,{_placeholderChild:0}),o["ɵqud"](603979776,204,{_errorChildren:1}),o["ɵqud"](603979776,205,{_hintChildren:1}),o["ɵqud"](603979776,206,{_prefixChildren:1}),o["ɵqud"](603979776,207,{_suffixChildren:1}),(n()(),o["ɵeld"](534,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,535)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,535).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,535)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,535)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,540)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,540)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,540)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iosTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](535,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](537,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](539,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](540,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[199,4],[200,4]],ag,null,[Lg]),(n()(),o["ɵeld"](542,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](543,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](544,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](546,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](547,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.iosTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.iosTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,83,0,"symbol",t.iosTemplate.symbol),n(e,86,0,"Symbol","text");var l=t.iosTemplate.category,o=n(e,107,0,!0);n(e,106,0,l,o),n(e,110,0,"Category"),n(e,116,0,t.categories),n(e,131,0,"path",t.iosTemplate.image),n(e,134,0,"IOS image path","text"),n(e,150,0,"initialConfig",t.iosTemplate.startup_config),n(e,153,0,"Initial startup-config","text");var i=t.iosTemplate.private_config,r=n(e,170,0,!0);n(e,169,0,i,r),n(e,173,0,"Initial private-config","text"),n(e,188,0,t.iosTemplate.console_type),n(e,191,0,"Console type"),n(e,197,0,t.consoleTypes),n(e,201,0,t.iosTemplate.console_auto_start),n(e,218,0,t.memoryForm),n(e,236,0,"ram",t.iosTemplate.ram),n(e,239,0,"RAM size","number"),n(e,259,0,"nvram",t.iosTemplate.nvram),n(e,262,0,"NVRAM size","number"),n(e,282,0,"iomemory",t.iosTemplate.iomem),n(e,285,0,"I/O memory","number"),n(e,302,0,"disk0",t.iosTemplate.disk0),n(e,305,0,"PCMCIA disk0","number"),n(e,322,0,"disk1",t.iosTemplate.disk1),n(e,325,0,"PCMCIA disk1","number"),n(e,330,0,t.iosTemplate.auto_delete_disks),n(e,348,0,t.iosTemplate.chassis&&t.chassis[t.iosTemplate.platform]),n(e,350,0,t.iosTemplate.platform&&!t.chassis[t.iosTemplate.platform]),n(e,356,0,t.iosTemplate.wic0||""===t.iosTemplate.wic0),n(e,358,0,t.iosTemplate.wic1||""===t.iosTemplate.wic1),n(e,360,0,t.iosTemplate.wic2||""===t.iosTemplate.wic2),n(e,374,0,t.advancedForm),n(e,391,0,"systemId",t.iosTemplate.system_id),n(e,394,0,"System ID","text");var a=t.iosTemplate.mac_addr,u=n(e,411,0,!0);n(e,410,0,a,u),n(e,414,0,"Base MAC","text");var s=t.iosTemplate.idlepc,d=n(e,431,0,!0);n(e,430,0,s,d),n(e,434,0,"Idle-PC","text"),n(e,451,0,"idlemax",t.iosTemplate.idlemax),n(e,454,0,"Idlemax","number"),n(e,471,0,"idlesleep",t.iosTemplate.idlesleep),n(e,474,0,"Idlesleep","number"),n(e,491,0,"execarea",t.iosTemplate.exec_area),n(e,494,0,"Exec area","number"),n(e,499,0,t.iosTemplate.mmap),n(e,508,0,t.iosTemplate.sparsemem),n(e,537,0,t.iosTemplate.usage),n(e,540,0,"text"),n(e,547,0,"primary")}),(function(n,e){var t=e.component;n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var l=o["ɵnov"](e,10).panel._headerId,i=o["ɵnov"](e,10).disabled?-1:0,r=o["ɵnov"](e,10)._getPanelId(),a=o["ɵnov"](e,10)._isExpanded(),u=o["ɵnov"](e,10).panel.disabled,s=o["ɵnov"](e,10)._isExpanded(),d="after"===o["ɵnov"](e,10)._getTogglePosition(),c="before"===o["ɵnov"](e,10)._getTogglePosition(),p=o["ɵnov"](e,10)._animationsDisabled,f=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,l,i,r,a,u,s,d,c,p,f),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,61,0,t.iosTemplate.platform),n(e,66,0,t.iosTemplate.chassis),n(e,69,1,["standard"==o["ɵnov"](e,70).appearance,"fill"==o["ɵnov"](e,70).appearance,"outline"==o["ɵnov"](e,70).appearance,"legacy"==o["ɵnov"](e,70).appearance,o["ɵnov"](e,70)._control.errorState,o["ɵnov"](e,70)._canLabelFloat,o["ɵnov"](e,70)._shouldLabelFloat(),o["ɵnov"](e,70)._hasFloatingLabel(),o["ɵnov"](e,70)._hideControlPlaceholder(),o["ɵnov"](e,70)._control.disabled,o["ɵnov"](e,70)._control.autofilled,o["ɵnov"](e,70)._control.focused,"accent"==o["ɵnov"](e,70).color,"warn"==o["ɵnov"](e,70).color,o["ɵnov"](e,70)._shouldForward("untouched"),o["ɵnov"](e,70)._shouldForward("touched"),o["ɵnov"](e,70)._shouldForward("pristine"),o["ɵnov"](e,70)._shouldForward("dirty"),o["ɵnov"](e,70)._shouldForward("valid"),o["ɵnov"](e,70)._shouldForward("invalid"),o["ɵnov"](e,70)._shouldForward("pending"),!o["ɵnov"](e,70)._animationsEnabled]),n(e,80,1,[o["ɵnov"](e,85).ngClassUntouched,o["ɵnov"](e,85).ngClassTouched,o["ɵnov"](e,85).ngClassPristine,o["ɵnov"](e,85).ngClassDirty,o["ɵnov"](e,85).ngClassValid,o["ɵnov"](e,85).ngClassInvalid,o["ɵnov"](e,85).ngClassPending,o["ɵnov"](e,86)._isServer,o["ɵnov"](e,86).id,o["ɵnov"](e,86).placeholder,o["ɵnov"](e,86).disabled,o["ɵnov"](e,86).required,o["ɵnov"](e,86).readonly&&!o["ɵnov"](e,86)._isNativeSelect||null,o["ɵnov"](e,86)._ariaDescribedby||null,o["ɵnov"](e,86).errorState,o["ɵnov"](e,86).required.toString()]),n(e,88,0,o["ɵnov"](e,89).disabled||null,"NoopAnimations"===o["ɵnov"](e,89)._animationMode),n(e,93,1,["standard"==o["ɵnov"](e,94).appearance,"fill"==o["ɵnov"](e,94).appearance,"outline"==o["ɵnov"](e,94).appearance,"legacy"==o["ɵnov"](e,94).appearance,o["ɵnov"](e,94)._control.errorState,o["ɵnov"](e,94)._canLabelFloat,o["ɵnov"](e,94)._shouldLabelFloat(),o["ɵnov"](e,94)._hasFloatingLabel(),o["ɵnov"](e,94)._hideControlPlaceholder(),o["ɵnov"](e,94)._control.disabled,o["ɵnov"](e,94)._control.autofilled,o["ɵnov"](e,94)._control.focused,"accent"==o["ɵnov"](e,94).color,"warn"==o["ɵnov"](e,94).color,o["ɵnov"](e,94)._shouldForward("untouched"),o["ɵnov"](e,94)._shouldForward("touched"),o["ɵnov"](e,94)._shouldForward("pristine"),o["ɵnov"](e,94)._shouldForward("dirty"),o["ɵnov"](e,94)._shouldForward("valid"),o["ɵnov"](e,94)._shouldForward("invalid"),o["ɵnov"](e,94)._shouldForward("pending"),!o["ɵnov"](e,94)._animationsEnabled]),n(e,104,1,[o["ɵnov"](e,109).ngClassUntouched,o["ɵnov"](e,109).ngClassTouched,o["ɵnov"](e,109).ngClassPristine,o["ɵnov"](e,109).ngClassDirty,o["ɵnov"](e,109).ngClassValid,o["ɵnov"](e,109).ngClassInvalid,o["ɵnov"](e,109).ngClassPending,o["ɵnov"](e,110).id,o["ɵnov"](e,110).tabIndex,o["ɵnov"](e,110)._getAriaLabel(),o["ɵnov"](e,110)._getAriaLabelledby(),o["ɵnov"](e,110).required.toString(),o["ɵnov"](e,110).disabled.toString(),o["ɵnov"](e,110).errorState,o["ɵnov"](e,110).panelOpen?o["ɵnov"](e,110)._optionIds:null,o["ɵnov"](e,110).multiple,o["ɵnov"](e,110)._ariaDescribedby||null,o["ɵnov"](e,110)._getAriaActiveDescendant(),o["ɵnov"](e,110).disabled,o["ɵnov"](e,110).errorState,o["ɵnov"](e,110).required,o["ɵnov"](e,110).empty]),n(e,117,1,["standard"==o["ɵnov"](e,118).appearance,"fill"==o["ɵnov"](e,118).appearance,"outline"==o["ɵnov"](e,118).appearance,"legacy"==o["ɵnov"](e,118).appearance,o["ɵnov"](e,118)._control.errorState,o["ɵnov"](e,118)._canLabelFloat,o["ɵnov"](e,118)._shouldLabelFloat(),o["ɵnov"](e,118)._hasFloatingLabel(),o["ɵnov"](e,118)._hideControlPlaceholder(),o["ɵnov"](e,118)._control.disabled,o["ɵnov"](e,118)._control.autofilled,o["ɵnov"](e,118)._control.focused,"accent"==o["ɵnov"](e,118).color,"warn"==o["ɵnov"](e,118).color,o["ɵnov"](e,118)._shouldForward("untouched"),o["ɵnov"](e,118)._shouldForward("touched"),o["ɵnov"](e,118)._shouldForward("pristine"),o["ɵnov"](e,118)._shouldForward("dirty"),o["ɵnov"](e,118)._shouldForward("valid"),o["ɵnov"](e,118)._shouldForward("invalid"),o["ɵnov"](e,118)._shouldForward("pending"),!o["ɵnov"](e,118)._animationsEnabled]),n(e,128,1,[o["ɵnov"](e,133).ngClassUntouched,o["ɵnov"](e,133).ngClassTouched,o["ɵnov"](e,133).ngClassPristine,o["ɵnov"](e,133).ngClassDirty,o["ɵnov"](e,133).ngClassValid,o["ɵnov"](e,133).ngClassInvalid,o["ɵnov"](e,133).ngClassPending,o["ɵnov"](e,134)._isServer,o["ɵnov"](e,134).id,o["ɵnov"](e,134).placeholder,o["ɵnov"](e,134).disabled,o["ɵnov"](e,134).required,o["ɵnov"](e,134).readonly&&!o["ɵnov"](e,134)._isNativeSelect||null,o["ɵnov"](e,134)._ariaDescribedby||null,o["ɵnov"](e,134).errorState,o["ɵnov"](e,134).required.toString()]),n(e,136,1,["standard"==o["ɵnov"](e,137).appearance,"fill"==o["ɵnov"](e,137).appearance,"outline"==o["ɵnov"](e,137).appearance,"legacy"==o["ɵnov"](e,137).appearance,o["ɵnov"](e,137)._control.errorState,o["ɵnov"](e,137)._canLabelFloat,o["ɵnov"](e,137)._shouldLabelFloat(),o["ɵnov"](e,137)._hasFloatingLabel(),o["ɵnov"](e,137)._hideControlPlaceholder(),o["ɵnov"](e,137)._control.disabled,o["ɵnov"](e,137)._control.autofilled,o["ɵnov"](e,137)._control.focused,"accent"==o["ɵnov"](e,137).color,"warn"==o["ɵnov"](e,137).color,o["ɵnov"](e,137)._shouldForward("untouched"),o["ɵnov"](e,137)._shouldForward("touched"),o["ɵnov"](e,137)._shouldForward("pristine"),o["ɵnov"](e,137)._shouldForward("dirty"),o["ɵnov"](e,137)._shouldForward("valid"),o["ɵnov"](e,137)._shouldForward("invalid"),o["ɵnov"](e,137)._shouldForward("pending"),!o["ɵnov"](e,137)._animationsEnabled]),n(e,147,1,[o["ɵnov"](e,152).ngClassUntouched,o["ɵnov"](e,152).ngClassTouched,o["ɵnov"](e,152).ngClassPristine,o["ɵnov"](e,152).ngClassDirty,o["ɵnov"](e,152).ngClassValid,o["ɵnov"](e,152).ngClassInvalid,o["ɵnov"](e,152).ngClassPending,o["ɵnov"](e,153)._isServer,o["ɵnov"](e,153).id,o["ɵnov"](e,153).placeholder,o["ɵnov"](e,153).disabled,o["ɵnov"](e,153).required,o["ɵnov"](e,153).readonly&&!o["ɵnov"](e,153)._isNativeSelect||null,o["ɵnov"](e,153)._ariaDescribedby||null,o["ɵnov"](e,153).errorState,o["ɵnov"](e,153).required.toString()]),n(e,155,1,["standard"==o["ɵnov"](e,156).appearance,"fill"==o["ɵnov"](e,156).appearance,"outline"==o["ɵnov"](e,156).appearance,"legacy"==o["ɵnov"](e,156).appearance,o["ɵnov"](e,156)._control.errorState,o["ɵnov"](e,156)._canLabelFloat,o["ɵnov"](e,156)._shouldLabelFloat(),o["ɵnov"](e,156)._hasFloatingLabel(),o["ɵnov"](e,156)._hideControlPlaceholder(),o["ɵnov"](e,156)._control.disabled,o["ɵnov"](e,156)._control.autofilled,o["ɵnov"](e,156)._control.focused,"accent"==o["ɵnov"](e,156).color,"warn"==o["ɵnov"](e,156).color,o["ɵnov"](e,156)._shouldForward("untouched"),o["ɵnov"](e,156)._shouldForward("touched"),o["ɵnov"](e,156)._shouldForward("pristine"),o["ɵnov"](e,156)._shouldForward("dirty"),o["ɵnov"](e,156)._shouldForward("valid"),o["ɵnov"](e,156)._shouldForward("invalid"),o["ɵnov"](e,156)._shouldForward("pending"),!o["ɵnov"](e,156)._animationsEnabled]),n(e,166,1,[o["ɵnov"](e,172).ngClassUntouched,o["ɵnov"](e,172).ngClassTouched,o["ɵnov"](e,172).ngClassPristine,o["ɵnov"](e,172).ngClassDirty,o["ɵnov"](e,172).ngClassValid,o["ɵnov"](e,172).ngClassInvalid,o["ɵnov"](e,172).ngClassPending,o["ɵnov"](e,173)._isServer,o["ɵnov"](e,173).id,o["ɵnov"](e,173).placeholder,o["ɵnov"](e,173).disabled,o["ɵnov"](e,173).required,o["ɵnov"](e,173).readonly&&!o["ɵnov"](e,173)._isNativeSelect||null,o["ɵnov"](e,173)._ariaDescribedby||null,o["ɵnov"](e,173).errorState,o["ɵnov"](e,173).required.toString()]),n(e,175,1,["standard"==o["ɵnov"](e,176).appearance,"fill"==o["ɵnov"](e,176).appearance,"outline"==o["ɵnov"](e,176).appearance,"legacy"==o["ɵnov"](e,176).appearance,o["ɵnov"](e,176)._control.errorState,o["ɵnov"](e,176)._canLabelFloat,o["ɵnov"](e,176)._shouldLabelFloat(),o["ɵnov"](e,176)._hasFloatingLabel(),o["ɵnov"](e,176)._hideControlPlaceholder(),o["ɵnov"](e,176)._control.disabled,o["ɵnov"](e,176)._control.autofilled,o["ɵnov"](e,176)._control.focused,"accent"==o["ɵnov"](e,176).color,"warn"==o["ɵnov"](e,176).color,o["ɵnov"](e,176)._shouldForward("untouched"),o["ɵnov"](e,176)._shouldForward("touched"),o["ɵnov"](e,176)._shouldForward("pristine"),o["ɵnov"](e,176)._shouldForward("dirty"),o["ɵnov"](e,176)._shouldForward("valid"),o["ɵnov"](e,176)._shouldForward("invalid"),o["ɵnov"](e,176)._shouldForward("pending"),!o["ɵnov"](e,176)._animationsEnabled]),n(e,186,1,[o["ɵnov"](e,190).ngClassUntouched,o["ɵnov"](e,190).ngClassTouched,o["ɵnov"](e,190).ngClassPristine,o["ɵnov"](e,190).ngClassDirty,o["ɵnov"](e,190).ngClassValid,o["ɵnov"](e,190).ngClassInvalid,o["ɵnov"](e,190).ngClassPending,o["ɵnov"](e,191).id,o["ɵnov"](e,191).tabIndex,o["ɵnov"](e,191)._getAriaLabel(),o["ɵnov"](e,191)._getAriaLabelledby(),o["ɵnov"](e,191).required.toString(),o["ɵnov"](e,191).disabled.toString(),o["ɵnov"](e,191).errorState,o["ɵnov"](e,191).panelOpen?o["ɵnov"](e,191)._optionIds:null,o["ɵnov"](e,191).multiple,o["ɵnov"](e,191)._ariaDescribedby||null,o["ɵnov"](e,191)._getAriaActiveDescendant(),o["ɵnov"](e,191).disabled,o["ɵnov"](e,191).errorState,o["ɵnov"](e,191).required,o["ɵnov"](e,191).empty]),n(e,198,1,[o["ɵnov"](e,199).id,null,o["ɵnov"](e,199).indeterminate,o["ɵnov"](e,199).checked,o["ɵnov"](e,199).disabled,"before"==o["ɵnov"](e,199).labelPosition,"NoopAnimations"===o["ɵnov"](e,199)._animationMode,o["ɵnov"](e,203).ngClassUntouched,o["ɵnov"](e,203).ngClassTouched,o["ɵnov"](e,203).ngClassPristine,o["ɵnov"](e,203).ngClassDirty,o["ɵnov"](e,203).ngClassValid,o["ɵnov"](e,203).ngClassInvalid,o["ɵnov"](e,203).ngClassPending]),n(e,205,0,o["ɵnov"](e,206).expanded,"NoopAnimations"===o["ɵnov"](e,206)._animationMode,o["ɵnov"](e,206)._hasSpacing());var h=o["ɵnov"](e,210).panel._headerId,m=o["ɵnov"](e,210).disabled?-1:0,v=o["ɵnov"](e,210)._getPanelId(),g=o["ɵnov"](e,210)._isExpanded(),b=o["ɵnov"](e,210).panel.disabled,_=o["ɵnov"](e,210)._isExpanded(),y="after"===o["ɵnov"](e,210)._getTogglePosition(),C="before"===o["ɵnov"](e,210)._getTogglePosition(),w=o["ɵnov"](e,210)._animationsDisabled,S=n(e,212,0,o["ɵnov"](e,210)._getExpandedState(),n(e,211,0,o["ɵnov"](e,210).collapsedHeight,o["ɵnov"](e,210).expandedHeight));n(e,209,0,h,m,v,g,b,_,y,C,w,S),n(e,216,0,o["ɵnov"](e,220).ngClassUntouched,o["ɵnov"](e,220).ngClassTouched,o["ɵnov"](e,220).ngClassPristine,o["ɵnov"](e,220).ngClassDirty,o["ɵnov"](e,220).ngClassValid,o["ɵnov"](e,220).ngClassInvalid,o["ɵnov"](e,220).ngClassPending),n(e,221,1,["standard"==o["ɵnov"](e,222).appearance,"fill"==o["ɵnov"](e,222).appearance,"outline"==o["ɵnov"](e,222).appearance,"legacy"==o["ɵnov"](e,222).appearance,o["ɵnov"](e,222)._control.errorState,o["ɵnov"](e,222)._canLabelFloat,o["ɵnov"](e,222)._shouldLabelFloat(),o["ɵnov"](e,222)._hasFloatingLabel(),o["ɵnov"](e,222)._hideControlPlaceholder(),o["ɵnov"](e,222)._control.disabled,o["ɵnov"](e,222)._control.autofilled,o["ɵnov"](e,222)._control.focused,"accent"==o["ɵnov"](e,222).color,"warn"==o["ɵnov"](e,222).color,o["ɵnov"](e,222)._shouldForward("untouched"),o["ɵnov"](e,222)._shouldForward("touched"),o["ɵnov"](e,222)._shouldForward("pristine"),o["ɵnov"](e,222)._shouldForward("dirty"),o["ɵnov"](e,222)._shouldForward("valid"),o["ɵnov"](e,222)._shouldForward("invalid"),o["ɵnov"](e,222)._shouldForward("pending"),!o["ɵnov"](e,222)._animationsEnabled]),n(e,232,1,[o["ɵnov"](e,238).ngClassUntouched,o["ɵnov"](e,238).ngClassTouched,o["ɵnov"](e,238).ngClassPristine,o["ɵnov"](e,238).ngClassDirty,o["ɵnov"](e,238).ngClassValid,o["ɵnov"](e,238).ngClassInvalid,o["ɵnov"](e,238).ngClassPending,o["ɵnov"](e,239)._isServer,o["ɵnov"](e,239).id,o["ɵnov"](e,239).placeholder,o["ɵnov"](e,239).disabled,o["ɵnov"](e,239).required,o["ɵnov"](e,239).readonly&&!o["ɵnov"](e,239)._isNativeSelect||null,o["ɵnov"](e,239)._ariaDescribedby||null,o["ɵnov"](e,239).errorState,o["ɵnov"](e,239).required.toString()]),n(e,244,1,["standard"==o["ɵnov"](e,245).appearance,"fill"==o["ɵnov"](e,245).appearance,"outline"==o["ɵnov"](e,245).appearance,"legacy"==o["ɵnov"](e,245).appearance,o["ɵnov"](e,245)._control.errorState,o["ɵnov"](e,245)._canLabelFloat,o["ɵnov"](e,245)._shouldLabelFloat(),o["ɵnov"](e,245)._hasFloatingLabel(),o["ɵnov"](e,245)._hideControlPlaceholder(),o["ɵnov"](e,245)._control.disabled,o["ɵnov"](e,245)._control.autofilled,o["ɵnov"](e,245)._control.focused,"accent"==o["ɵnov"](e,245).color,"warn"==o["ɵnov"](e,245).color,o["ɵnov"](e,245)._shouldForward("untouched"),o["ɵnov"](e,245)._shouldForward("touched"),o["ɵnov"](e,245)._shouldForward("pristine"),o["ɵnov"](e,245)._shouldForward("dirty"),o["ɵnov"](e,245)._shouldForward("valid"),o["ɵnov"](e,245)._shouldForward("invalid"),o["ɵnov"](e,245)._shouldForward("pending"),!o["ɵnov"](e,245)._animationsEnabled]),n(e,255,1,[o["ɵnov"](e,261).ngClassUntouched,o["ɵnov"](e,261).ngClassTouched,o["ɵnov"](e,261).ngClassPristine,o["ɵnov"](e,261).ngClassDirty,o["ɵnov"](e,261).ngClassValid,o["ɵnov"](e,261).ngClassInvalid,o["ɵnov"](e,261).ngClassPending,o["ɵnov"](e,262)._isServer,o["ɵnov"](e,262).id,o["ɵnov"](e,262).placeholder,o["ɵnov"](e,262).disabled,o["ɵnov"](e,262).required,o["ɵnov"](e,262).readonly&&!o["ɵnov"](e,262)._isNativeSelect||null,o["ɵnov"](e,262)._ariaDescribedby||null,o["ɵnov"](e,262).errorState,o["ɵnov"](e,262).required.toString()]),n(e,267,1,["standard"==o["ɵnov"](e,268).appearance,"fill"==o["ɵnov"](e,268).appearance,"outline"==o["ɵnov"](e,268).appearance,"legacy"==o["ɵnov"](e,268).appearance,o["ɵnov"](e,268)._control.errorState,o["ɵnov"](e,268)._canLabelFloat,o["ɵnov"](e,268)._shouldLabelFloat(),o["ɵnov"](e,268)._hasFloatingLabel(),o["ɵnov"](e,268)._hideControlPlaceholder(),o["ɵnov"](e,268)._control.disabled,o["ɵnov"](e,268)._control.autofilled,o["ɵnov"](e,268)._control.focused,"accent"==o["ɵnov"](e,268).color,"warn"==o["ɵnov"](e,268).color,o["ɵnov"](e,268)._shouldForward("untouched"),o["ɵnov"](e,268)._shouldForward("touched"),o["ɵnov"](e,268)._shouldForward("pristine"),o["ɵnov"](e,268)._shouldForward("dirty"),o["ɵnov"](e,268)._shouldForward("valid"),o["ɵnov"](e,268)._shouldForward("invalid"),o["ɵnov"](e,268)._shouldForward("pending"),!o["ɵnov"](e,268)._animationsEnabled]),n(e,278,1,[o["ɵnov"](e,284).ngClassUntouched,o["ɵnov"](e,284).ngClassTouched,o["ɵnov"](e,284).ngClassPristine,o["ɵnov"](e,284).ngClassDirty,o["ɵnov"](e,284).ngClassValid,o["ɵnov"](e,284).ngClassInvalid,o["ɵnov"](e,284).ngClassPending,o["ɵnov"](e,285)._isServer,o["ɵnov"](e,285).id,o["ɵnov"](e,285).placeholder,o["ɵnov"](e,285).disabled,o["ɵnov"](e,285).required,o["ɵnov"](e,285).readonly&&!o["ɵnov"](e,285)._isNativeSelect||null,o["ɵnov"](e,285)._ariaDescribedby||null,o["ɵnov"](e,285).errorState,o["ɵnov"](e,285).required.toString()]),n(e,287,1,["standard"==o["ɵnov"](e,288).appearance,"fill"==o["ɵnov"](e,288).appearance,"outline"==o["ɵnov"](e,288).appearance,"legacy"==o["ɵnov"](e,288).appearance,o["ɵnov"](e,288)._control.errorState,o["ɵnov"](e,288)._canLabelFloat,o["ɵnov"](e,288)._shouldLabelFloat(),o["ɵnov"](e,288)._hasFloatingLabel(),o["ɵnov"](e,288)._hideControlPlaceholder(),o["ɵnov"](e,288)._control.disabled,o["ɵnov"](e,288)._control.autofilled,o["ɵnov"](e,288)._control.focused,"accent"==o["ɵnov"](e,288).color,"warn"==o["ɵnov"](e,288).color,o["ɵnov"](e,288)._shouldForward("untouched"),o["ɵnov"](e,288)._shouldForward("touched"),o["ɵnov"](e,288)._shouldForward("pristine"),o["ɵnov"](e,288)._shouldForward("dirty"),o["ɵnov"](e,288)._shouldForward("valid"),o["ɵnov"](e,288)._shouldForward("invalid"),o["ɵnov"](e,288)._shouldForward("pending"),!o["ɵnov"](e,288)._animationsEnabled]),n(e,298,1,[o["ɵnov"](e,304).ngClassUntouched,o["ɵnov"](e,304).ngClassTouched,o["ɵnov"](e,304).ngClassPristine,o["ɵnov"](e,304).ngClassDirty,o["ɵnov"](e,304).ngClassValid,o["ɵnov"](e,304).ngClassInvalid,o["ɵnov"](e,304).ngClassPending,o["ɵnov"](e,305)._isServer,o["ɵnov"](e,305).id,o["ɵnov"](e,305).placeholder,o["ɵnov"](e,305).disabled,o["ɵnov"](e,305).required,o["ɵnov"](e,305).readonly&&!o["ɵnov"](e,305)._isNativeSelect||null,o["ɵnov"](e,305)._ariaDescribedby||null,o["ɵnov"](e,305).errorState,o["ɵnov"](e,305).required.toString()]),n(e,307,1,["standard"==o["ɵnov"](e,308).appearance,"fill"==o["ɵnov"](e,308).appearance,"outline"==o["ɵnov"](e,308).appearance,"legacy"==o["ɵnov"](e,308).appearance,o["ɵnov"](e,308)._control.errorState,o["ɵnov"](e,308)._canLabelFloat,o["ɵnov"](e,308)._shouldLabelFloat(),o["ɵnov"](e,308)._hasFloatingLabel(),o["ɵnov"](e,308)._hideControlPlaceholder(),o["ɵnov"](e,308)._control.disabled,o["ɵnov"](e,308)._control.autofilled,o["ɵnov"](e,308)._control.focused,"accent"==o["ɵnov"](e,308).color,"warn"==o["ɵnov"](e,308).color,o["ɵnov"](e,308)._shouldForward("untouched"),o["ɵnov"](e,308)._shouldForward("touched"),o["ɵnov"](e,308)._shouldForward("pristine"),o["ɵnov"](e,308)._shouldForward("dirty"),o["ɵnov"](e,308)._shouldForward("valid"),o["ɵnov"](e,308)._shouldForward("invalid"),o["ɵnov"](e,308)._shouldForward("pending"),!o["ɵnov"](e,308)._animationsEnabled]),n(e,318,1,[o["ɵnov"](e,324).ngClassUntouched,o["ɵnov"](e,324).ngClassTouched,o["ɵnov"](e,324).ngClassPristine,o["ɵnov"](e,324).ngClassDirty,o["ɵnov"](e,324).ngClassValid,o["ɵnov"](e,324).ngClassInvalid,o["ɵnov"](e,324).ngClassPending,o["ɵnov"](e,325)._isServer,o["ɵnov"](e,325).id,o["ɵnov"](e,325).placeholder,o["ɵnov"](e,325).disabled,o["ɵnov"](e,325).required,o["ɵnov"](e,325).readonly&&!o["ɵnov"](e,325)._isNativeSelect||null,o["ɵnov"](e,325)._ariaDescribedby||null,o["ɵnov"](e,325).errorState,o["ɵnov"](e,325).required.toString()]),n(e,327,1,[o["ɵnov"](e,328).id,null,o["ɵnov"](e,328).indeterminate,o["ɵnov"](e,328).checked,o["ɵnov"](e,328).disabled,"before"==o["ɵnov"](e,328).labelPosition,"NoopAnimations"===o["ɵnov"](e,328)._animationMode,o["ɵnov"](e,332).ngClassUntouched,o["ɵnov"](e,332).ngClassTouched,o["ɵnov"](e,332).ngClassPristine,o["ɵnov"](e,332).ngClassDirty,o["ɵnov"](e,332).ngClassValid,o["ɵnov"](e,332).ngClassInvalid,o["ɵnov"](e,332).ngClassPending]),n(e,334,0,o["ɵnov"](e,335).expanded,"NoopAnimations"===o["ɵnov"](e,335)._animationMode,o["ɵnov"](e,335)._hasSpacing());var x=o["ɵnov"](e,339).panel._headerId,k=o["ɵnov"](e,339).disabled?-1:0,E=o["ɵnov"](e,339)._getPanelId(),T=o["ɵnov"](e,339)._isExpanded(),R=o["ɵnov"](e,339).panel.disabled,I=o["ɵnov"](e,339)._isExpanded(),D="after"===o["ɵnov"](e,339)._getTogglePosition(),F="before"===o["ɵnov"](e,339)._getTogglePosition(),O=o["ɵnov"](e,339)._animationsDisabled,M=n(e,341,0,o["ɵnov"](e,339)._getExpandedState(),n(e,340,0,o["ɵnov"](e,339).collapsedHeight,o["ɵnov"](e,339).expandedHeight));n(e,338,0,x,k,E,T,R,I,D,F,O,M),n(e,361,0,o["ɵnov"](e,362).expanded,"NoopAnimations"===o["ɵnov"](e,362)._animationMode,o["ɵnov"](e,362)._hasSpacing());var N=o["ɵnov"](e,366).panel._headerId,A=o["ɵnov"](e,366).disabled?-1:0,P=o["ɵnov"](e,366)._getPanelId(),q=o["ɵnov"](e,366)._isExpanded(),L=o["ɵnov"](e,366).panel.disabled,j=o["ɵnov"](e,366)._isExpanded(),V="after"===o["ɵnov"](e,366)._getTogglePosition(),B="before"===o["ɵnov"](e,366)._getTogglePosition(),H=o["ɵnov"](e,366)._animationsDisabled,U=n(e,368,0,o["ɵnov"](e,366)._getExpandedState(),n(e,367,0,o["ɵnov"](e,366).collapsedHeight,o["ɵnov"](e,366).expandedHeight));n(e,365,0,N,A,P,q,L,j,V,B,H,U),n(e,372,0,o["ɵnov"](e,376).ngClassUntouched,o["ɵnov"](e,376).ngClassTouched,o["ɵnov"](e,376).ngClassPristine,o["ɵnov"](e,376).ngClassDirty,o["ɵnov"](e,376).ngClassValid,o["ɵnov"](e,376).ngClassInvalid,o["ɵnov"](e,376).ngClassPending),n(e,377,1,["standard"==o["ɵnov"](e,378).appearance,"fill"==o["ɵnov"](e,378).appearance,"outline"==o["ɵnov"](e,378).appearance,"legacy"==o["ɵnov"](e,378).appearance,o["ɵnov"](e,378)._control.errorState,o["ɵnov"](e,378)._canLabelFloat,o["ɵnov"](e,378)._shouldLabelFloat(),o["ɵnov"](e,378)._hasFloatingLabel(),o["ɵnov"](e,378)._hideControlPlaceholder(),o["ɵnov"](e,378)._control.disabled,o["ɵnov"](e,378)._control.autofilled,o["ɵnov"](e,378)._control.focused,"accent"==o["ɵnov"](e,378).color,"warn"==o["ɵnov"](e,378).color,o["ɵnov"](e,378)._shouldForward("untouched"),o["ɵnov"](e,378)._shouldForward("touched"),o["ɵnov"](e,378)._shouldForward("pristine"),o["ɵnov"](e,378)._shouldForward("dirty"),o["ɵnov"](e,378)._shouldForward("valid"),o["ɵnov"](e,378)._shouldForward("invalid"),o["ɵnov"](e,378)._shouldForward("pending"),!o["ɵnov"](e,378)._animationsEnabled]),n(e,388,1,[o["ɵnov"](e,393).ngClassUntouched,o["ɵnov"](e,393).ngClassTouched,o["ɵnov"](e,393).ngClassPristine,o["ɵnov"](e,393).ngClassDirty,o["ɵnov"](e,393).ngClassValid,o["ɵnov"](e,393).ngClassInvalid,o["ɵnov"](e,393).ngClassPending,o["ɵnov"](e,394)._isServer,o["ɵnov"](e,394).id,o["ɵnov"](e,394).placeholder,o["ɵnov"](e,394).disabled,o["ɵnov"](e,394).required,o["ɵnov"](e,394).readonly&&!o["ɵnov"](e,394)._isNativeSelect||null,o["ɵnov"](e,394)._ariaDescribedby||null,o["ɵnov"](e,394).errorState,o["ɵnov"](e,394).required.toString()]),n(e,396,1,["standard"==o["ɵnov"](e,397).appearance,"fill"==o["ɵnov"](e,397).appearance,"outline"==o["ɵnov"](e,397).appearance,"legacy"==o["ɵnov"](e,397).appearance,o["ɵnov"](e,397)._control.errorState,o["ɵnov"](e,397)._canLabelFloat,o["ɵnov"](e,397)._shouldLabelFloat(),o["ɵnov"](e,397)._hasFloatingLabel(),o["ɵnov"](e,397)._hideControlPlaceholder(),o["ɵnov"](e,397)._control.disabled,o["ɵnov"](e,397)._control.autofilled,o["ɵnov"](e,397)._control.focused,"accent"==o["ɵnov"](e,397).color,"warn"==o["ɵnov"](e,397).color,o["ɵnov"](e,397)._shouldForward("untouched"),o["ɵnov"](e,397)._shouldForward("touched"),o["ɵnov"](e,397)._shouldForward("pristine"),o["ɵnov"](e,397)._shouldForward("dirty"),o["ɵnov"](e,397)._shouldForward("valid"),o["ɵnov"](e,397)._shouldForward("invalid"),o["ɵnov"](e,397)._shouldForward("pending"),!o["ɵnov"](e,397)._animationsEnabled]),n(e,407,1,[o["ɵnov"](e,413).ngClassUntouched,o["ɵnov"](e,413).ngClassTouched,o["ɵnov"](e,413).ngClassPristine,o["ɵnov"](e,413).ngClassDirty,o["ɵnov"](e,413).ngClassValid,o["ɵnov"](e,413).ngClassInvalid,o["ɵnov"](e,413).ngClassPending,o["ɵnov"](e,414)._isServer,o["ɵnov"](e,414).id,o["ɵnov"](e,414).placeholder,o["ɵnov"](e,414).disabled,o["ɵnov"](e,414).required,o["ɵnov"](e,414).readonly&&!o["ɵnov"](e,414)._isNativeSelect||null,o["ɵnov"](e,414)._ariaDescribedby||null,o["ɵnov"](e,414).errorState,o["ɵnov"](e,414).required.toString()]),n(e,416,1,["standard"==o["ɵnov"](e,417).appearance,"fill"==o["ɵnov"](e,417).appearance,"outline"==o["ɵnov"](e,417).appearance,"legacy"==o["ɵnov"](e,417).appearance,o["ɵnov"](e,417)._control.errorState,o["ɵnov"](e,417)._canLabelFloat,o["ɵnov"](e,417)._shouldLabelFloat(),o["ɵnov"](e,417)._hasFloatingLabel(),o["ɵnov"](e,417)._hideControlPlaceholder(),o["ɵnov"](e,417)._control.disabled,o["ɵnov"](e,417)._control.autofilled,o["ɵnov"](e,417)._control.focused,"accent"==o["ɵnov"](e,417).color,"warn"==o["ɵnov"](e,417).color,o["ɵnov"](e,417)._shouldForward("untouched"),o["ɵnov"](e,417)._shouldForward("touched"),o["ɵnov"](e,417)._shouldForward("pristine"),o["ɵnov"](e,417)._shouldForward("dirty"),o["ɵnov"](e,417)._shouldForward("valid"),o["ɵnov"](e,417)._shouldForward("invalid"),o["ɵnov"](e,417)._shouldForward("pending"),!o["ɵnov"](e,417)._animationsEnabled]),n(e,427,1,[o["ɵnov"](e,433).ngClassUntouched,o["ɵnov"](e,433).ngClassTouched,o["ɵnov"](e,433).ngClassPristine,o["ɵnov"](e,433).ngClassDirty,o["ɵnov"](e,433).ngClassValid,o["ɵnov"](e,433).ngClassInvalid,o["ɵnov"](e,433).ngClassPending,o["ɵnov"](e,434)._isServer,o["ɵnov"](e,434).id,o["ɵnov"](e,434).placeholder,o["ɵnov"](e,434).disabled,o["ɵnov"](e,434).required,o["ɵnov"](e,434).readonly&&!o["ɵnov"](e,434)._isNativeSelect||null,o["ɵnov"](e,434)._ariaDescribedby||null,o["ɵnov"](e,434).errorState,o["ɵnov"](e,434).required.toString()]),n(e,436,1,["standard"==o["ɵnov"](e,437).appearance,"fill"==o["ɵnov"](e,437).appearance,"outline"==o["ɵnov"](e,437).appearance,"legacy"==o["ɵnov"](e,437).appearance,o["ɵnov"](e,437)._control.errorState,o["ɵnov"](e,437)._canLabelFloat,o["ɵnov"](e,437)._shouldLabelFloat(),o["ɵnov"](e,437)._hasFloatingLabel(),o["ɵnov"](e,437)._hideControlPlaceholder(),o["ɵnov"](e,437)._control.disabled,o["ɵnov"](e,437)._control.autofilled,o["ɵnov"](e,437)._control.focused,"accent"==o["ɵnov"](e,437).color,"warn"==o["ɵnov"](e,437).color,o["ɵnov"](e,437)._shouldForward("untouched"),o["ɵnov"](e,437)._shouldForward("touched"),o["ɵnov"](e,437)._shouldForward("pristine"),o["ɵnov"](e,437)._shouldForward("dirty"),o["ɵnov"](e,437)._shouldForward("valid"),o["ɵnov"](e,437)._shouldForward("invalid"),o["ɵnov"](e,437)._shouldForward("pending"),!o["ɵnov"](e,437)._animationsEnabled]),n(e,447,1,[o["ɵnov"](e,453).ngClassUntouched,o["ɵnov"](e,453).ngClassTouched,o["ɵnov"](e,453).ngClassPristine,o["ɵnov"](e,453).ngClassDirty,o["ɵnov"](e,453).ngClassValid,o["ɵnov"](e,453).ngClassInvalid,o["ɵnov"](e,453).ngClassPending,o["ɵnov"](e,454)._isServer,o["ɵnov"](e,454).id,o["ɵnov"](e,454).placeholder,o["ɵnov"](e,454).disabled,o["ɵnov"](e,454).required,o["ɵnov"](e,454).readonly&&!o["ɵnov"](e,454)._isNativeSelect||null,o["ɵnov"](e,454)._ariaDescribedby||null,o["ɵnov"](e,454).errorState,o["ɵnov"](e,454).required.toString()]),n(e,456,1,["standard"==o["ɵnov"](e,457).appearance,"fill"==o["ɵnov"](e,457).appearance,"outline"==o["ɵnov"](e,457).appearance,"legacy"==o["ɵnov"](e,457).appearance,o["ɵnov"](e,457)._control.errorState,o["ɵnov"](e,457)._canLabelFloat,o["ɵnov"](e,457)._shouldLabelFloat(),o["ɵnov"](e,457)._hasFloatingLabel(),o["ɵnov"](e,457)._hideControlPlaceholder(),o["ɵnov"](e,457)._control.disabled,o["ɵnov"](e,457)._control.autofilled,o["ɵnov"](e,457)._control.focused,"accent"==o["ɵnov"](e,457).color,"warn"==o["ɵnov"](e,457).color,o["ɵnov"](e,457)._shouldForward("untouched"),o["ɵnov"](e,457)._shouldForward("touched"),o["ɵnov"](e,457)._shouldForward("pristine"),o["ɵnov"](e,457)._shouldForward("dirty"),o["ɵnov"](e,457)._shouldForward("valid"),o["ɵnov"](e,457)._shouldForward("invalid"),o["ɵnov"](e,457)._shouldForward("pending"),!o["ɵnov"](e,457)._animationsEnabled]),n(e,467,1,[o["ɵnov"](e,473).ngClassUntouched,o["ɵnov"](e,473).ngClassTouched,o["ɵnov"](e,473).ngClassPristine,o["ɵnov"](e,473).ngClassDirty,o["ɵnov"](e,473).ngClassValid,o["ɵnov"](e,473).ngClassInvalid,o["ɵnov"](e,473).ngClassPending,o["ɵnov"](e,474)._isServer,o["ɵnov"](e,474).id,o["ɵnov"](e,474).placeholder,o["ɵnov"](e,474).disabled,o["ɵnov"](e,474).required,o["ɵnov"](e,474).readonly&&!o["ɵnov"](e,474)._isNativeSelect||null,o["ɵnov"](e,474)._ariaDescribedby||null,o["ɵnov"](e,474).errorState,o["ɵnov"](e,474).required.toString()]),n(e,476,1,["standard"==o["ɵnov"](e,477).appearance,"fill"==o["ɵnov"](e,477).appearance,"outline"==o["ɵnov"](e,477).appearance,"legacy"==o["ɵnov"](e,477).appearance,o["ɵnov"](e,477)._control.errorState,o["ɵnov"](e,477)._canLabelFloat,o["ɵnov"](e,477)._shouldLabelFloat(),o["ɵnov"](e,477)._hasFloatingLabel(),o["ɵnov"](e,477)._hideControlPlaceholder(),o["ɵnov"](e,477)._control.disabled,o["ɵnov"](e,477)._control.autofilled,o["ɵnov"](e,477)._control.focused,"accent"==o["ɵnov"](e,477).color,"warn"==o["ɵnov"](e,477).color,o["ɵnov"](e,477)._shouldForward("untouched"),o["ɵnov"](e,477)._shouldForward("touched"),o["ɵnov"](e,477)._shouldForward("pristine"),o["ɵnov"](e,477)._shouldForward("dirty"),o["ɵnov"](e,477)._shouldForward("valid"),o["ɵnov"](e,477)._shouldForward("invalid"),o["ɵnov"](e,477)._shouldForward("pending"),!o["ɵnov"](e,477)._animationsEnabled]),n(e,487,1,[o["ɵnov"](e,493).ngClassUntouched,o["ɵnov"](e,493).ngClassTouched,o["ɵnov"](e,493).ngClassPristine,o["ɵnov"](e,493).ngClassDirty,o["ɵnov"](e,493).ngClassValid,o["ɵnov"](e,493).ngClassInvalid,o["ɵnov"](e,493).ngClassPending,o["ɵnov"](e,494)._isServer,o["ɵnov"](e,494).id,o["ɵnov"](e,494).placeholder,o["ɵnov"](e,494).disabled,o["ɵnov"](e,494).required,o["ɵnov"](e,494).readonly&&!o["ɵnov"](e,494)._isNativeSelect||null,o["ɵnov"](e,494)._ariaDescribedby||null,o["ɵnov"](e,494).errorState,o["ɵnov"](e,494).required.toString()]),n(e,496,1,[o["ɵnov"](e,497).id,null,o["ɵnov"](e,497).indeterminate,o["ɵnov"](e,497).checked,o["ɵnov"](e,497).disabled,"before"==o["ɵnov"](e,497).labelPosition,"NoopAnimations"===o["ɵnov"](e,497)._animationMode,o["ɵnov"](e,501).ngClassUntouched,o["ɵnov"](e,501).ngClassTouched,o["ɵnov"](e,501).ngClassPristine,o["ɵnov"](e,501).ngClassDirty,o["ɵnov"](e,501).ngClassValid,o["ɵnov"](e,501).ngClassInvalid,o["ɵnov"](e,501).ngClassPending]),n(e,505,1,[o["ɵnov"](e,506).id,null,o["ɵnov"](e,506).indeterminate,o["ɵnov"](e,506).checked,o["ɵnov"](e,506).disabled,"before"==o["ɵnov"](e,506).labelPosition,"NoopAnimations"===o["ɵnov"](e,506)._animationMode,o["ɵnov"](e,510).ngClassUntouched,o["ɵnov"](e,510).ngClassTouched,o["ɵnov"](e,510).ngClassPristine,o["ɵnov"](e,510).ngClassDirty,o["ɵnov"](e,510).ngClassValid,o["ɵnov"](e,510).ngClassInvalid,o["ɵnov"](e,510).ngClassPending]),n(e,512,0,o["ɵnov"](e,513).expanded,"NoopAnimations"===o["ɵnov"](e,513)._animationMode,o["ɵnov"](e,513)._hasSpacing());var z=o["ɵnov"](e,517).panel._headerId,G=o["ɵnov"](e,517).disabled?-1:0,W=o["ɵnov"](e,517)._getPanelId(),Z=o["ɵnov"](e,517)._isExpanded(),K=o["ɵnov"](e,517).panel.disabled,X=o["ɵnov"](e,517)._isExpanded(),Y="after"===o["ɵnov"](e,517)._getTogglePosition(),$="before"===o["ɵnov"](e,517)._getTogglePosition(),Q=o["ɵnov"](e,517)._animationsDisabled,J=n(e,519,0,o["ɵnov"](e,517)._getExpandedState(),n(e,518,0,o["ɵnov"](e,517).collapsedHeight,o["ɵnov"](e,517).expandedHeight));n(e,516,0,z,G,W,Z,K,X,Y,$,Q,J),n(e,523,1,["standard"==o["ɵnov"](e,524).appearance,"fill"==o["ɵnov"](e,524).appearance,"outline"==o["ɵnov"](e,524).appearance,"legacy"==o["ɵnov"](e,524).appearance,o["ɵnov"](e,524)._control.errorState,o["ɵnov"](e,524)._canLabelFloat,o["ɵnov"](e,524)._shouldLabelFloat(),o["ɵnov"](e,524)._hasFloatingLabel(),o["ɵnov"](e,524)._hideControlPlaceholder(),o["ɵnov"](e,524)._control.disabled,o["ɵnov"](e,524)._control.autofilled,o["ɵnov"](e,524)._control.focused,"accent"==o["ɵnov"](e,524).color,"warn"==o["ɵnov"](e,524).color,o["ɵnov"](e,524)._shouldForward("untouched"),o["ɵnov"](e,524)._shouldForward("touched"),o["ɵnov"](e,524)._shouldForward("pristine"),o["ɵnov"](e,524)._shouldForward("dirty"),o["ɵnov"](e,524)._shouldForward("valid"),o["ɵnov"](e,524)._shouldForward("invalid"),o["ɵnov"](e,524)._shouldForward("pending"),!o["ɵnov"](e,524)._animationsEnabled]),n(e,534,1,[o["ɵnov"](e,539).ngClassUntouched,o["ɵnov"](e,539).ngClassTouched,o["ɵnov"](e,539).ngClassPristine,o["ɵnov"](e,539).ngClassDirty,o["ɵnov"](e,539).ngClassValid,o["ɵnov"](e,539).ngClassInvalid,o["ɵnov"](e,539).ngClassPending,o["ɵnov"](e,540)._isServer,o["ɵnov"](e,540).id,o["ɵnov"](e,540).placeholder,o["ɵnov"](e,540).disabled,o["ɵnov"](e,540).required,o["ɵnov"](e,540).readonly&&!o["ɵnov"](e,540)._isNativeSelect||null,o["ɵnov"](e,540)._ariaDescribedby||null,o["ɵnov"](e,540).errorState,o["ɵnov"](e,540).required.toString()]),n(e,543,0,o["ɵnov"](e,544).disabled||null,"NoopAnimations"===o["ɵnov"](e,544)._animationMode),n(e,546,0,o["ɵnov"](e,547).disabled||null,"NoopAnimations"===o["ɵnov"](e,547)._animationMode)}))}function mE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.iosTemplate.symbol)}),null)}function vE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Dynamips IOS Router configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,hE)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,mE)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.iosTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.iosTemplate)}),null)}function gE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ios-template-details",[],null,null,null,vE,$k)),o["ɵdid"](1,114688,null,0,Yk,[rt,Dh,Bx,hc,Gm,Fk,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var bE=o["ɵccf"]("app-ios-template-details",Yk,gE,{},{},[]),_E=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.iosService.getTemplate(n.server,t).subscribe((function(e){n.iosTemplate=e,n.templateName="Copy of "+n.iosTemplate.name}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.addTemplate=function(){var n=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=Object(Zg.v4)(),this.iosTemplate.name=this.templateName,this.iosService.addTemplate(this.server,this.iosTemplate).subscribe((function(e){n.goBack()})))},n}(),yE=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function CE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy IOS router template"])),(n()(),o["ɵeld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.templateName=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](34,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](37,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Copy template"]))],(function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,33,0,o["ɵnov"](e,34).disabled||null,"NoopAnimations"===o["ɵnov"](e,34)._animationMode),n(e,36,0,o["ɵnov"](e,37).disabled||null,"NoopAnimations"===o["ɵnov"](e,37)._animationMode)}))}function wE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-copy-ios-template",[],null,null,null,CE,yE)),o["ɵdid"](1,114688,null,0,_E,[rt,Dh,Bx,hc,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var SE=o["ɵccf"]("app-copy-ios-template",_E,wE,{},{},[]),xE=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.qemuService=t,this.router=l,this.qemuTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.qemuService.getTemplates(this.server).subscribe((function(e){n.qemuTemplates=e.filter((function(n){return"qemu"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates",n.template_id,"copy"])},n}(),kE=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getImagePath=function(n,e){return"http://"+n.host+":"+n.port+"/v2/compute/qemu/images/"+e},n.prototype.getBinaries=function(n){return this.httpServer.get(n,"/computes/local/qemu/binaries")},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/qemu/images")},n.prototype.addImage=function(n,e){return this.httpServer.post(n,"/compute/qemu/img",e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),EE=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function TE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function RE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add QEMU VM template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/qemu/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function IE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function DE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,20,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"])),(n()(),o["ɵeld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.copyTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](29,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](31,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["content_copy"])),(n()(),o["ɵeld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color),n(e,28,0,o["ɵnov"](e,29).role,o["ɵnov"](e,29)._highlighted,o["ɵnov"](e,29)._triggersSubmenu,o["ɵnov"](e,29)._getTabIndex(),o["ɵnov"](e,29).disabled.toString(),o["ɵnov"](e,29).disabled||null),n(e,30,0,o["ɵnov"](e,31).inline,"primary"!==o["ɵnov"](e,31).color&&"accent"!==o["ɵnov"](e,31).color&&"warn"!==o["ɵnov"](e,31).color)}))}function FE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,DE)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.qemuTemplates)}),null)}function OE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,FE)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function ME(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["QEMU VM templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,TE)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,RE)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,IE)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,OE)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.qemuTemplates.length),n(e,13,0,t.qemuTemplates.length),n(e,15,0,t.server)}),null)}function NE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-qemu-virtual-machines-templates",[],null,null,null,ME,EE)),o["ɵdid"](1,114688,null,0,xE,[rt,Dh,kE,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var AE=o["ɵccf"]("app-qemu-virtual-machines-templates",xE,NE,{},{},[]),PE=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.qemuBinaries=[],this.templateName="",this.nameForm=this.formBuilder.group({templateName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.qemuService.getTemplate(n.server,t).subscribe((function(e){n.qemuTemplate=e,n.templateName="Copy of "+n.qemuTemplate.name}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var n=this;this.nameForm.invalid?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.template_id=Object(Zg.v4)(),this.qemuTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe((function(e){n.goBack()})))},n}(),qE=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function LE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy QEMU VM template"])),(n()(),o["ɵeld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.templateName=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](34,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](37,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Copy template"]))],(function(n,e){var t=e.component;n(e,10,0,t.nameForm),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,33,0,o["ɵnov"](e,34).disabled||null,"NoopAnimations"===o["ɵnov"](e,34)._animationMode),n(e,36,0,o["ɵnov"](e,37).disabled||null,"NoopAnimations"===o["ɵnov"](e,37)._animationMode)}))}function jE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-copy-qemu-virtual-machine-template",[],null,null,null,LE,qE)),o["ɵdid"](1,114688,null,0,PE,[rt,Dh,kE,hc,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var VE=o["ɵccf"]("app-copy-qemu-virtual-machine-template",PE,jE,{},{},[]),BE=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.adapters=[]}return n.prototype.onAdd=function(){this.adapters=this.adapters.concat([{adapter_number:this.adapters.length,adapter_type:this.networkTypes[0]}])},n.prototype.delete=function(n){this.adapters=this.adapters.filter((function(e){return e!==n}))},n}(),HE=o["ɵcrt"]({encapsulation:0,styles:[IC],data:{}});function UE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Adapter number "]))],null,null)}function zE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" Adapter "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.adapter_number)}))}function GE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port name "]))],null,null)}function WE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" Ethernet "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.adapter_number)}))}function ZE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Adapter type "]))],null,null)}function KE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[14,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function XE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,13,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["ɵnov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(n.context.$implicit.adapter_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](5,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](7,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](8,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,14,{options:1}),o["ɵqud"](603979776,15,{optionGroups:1}),o["ɵqud"](603979776,16,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,KE)),o["ɵdid"](13,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,5,0,e.context.$implicit.adapter_type),n(e,8,0,"Type"),n(e,13,0,t.networkTypes)}),(function(n,e){n(e,2,1,[o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending,o["ɵnov"](e,8).id,o["ɵnov"](e,8).tabIndex,o["ɵnov"](e,8)._getAriaLabel(),o["ɵnov"](e,8)._getAriaLabelledby(),o["ɵnov"](e,8).required.toString(),o["ɵnov"](e,8).disabled.toString(),o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).panelOpen?o["ɵnov"](e,8)._optionIds:null,o["ɵnov"](e,8).multiple,o["ɵnov"](e,8)._ariaDescribedby||null,o["ɵnov"](e,8)._getAriaActiveDescendant(),o["ɵnov"](e,8).disabled,o["ɵnov"](e,8).errorState,o["ɵnov"](e,8).required,o["ɵnov"](e,8).empty])}))}function YE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function $E(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete adapter"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete adapter"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete adapter"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function QE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function JE(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function nT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,UE)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,zE)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,GE)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,WE)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,ZE)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,XE)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵeld"](46,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](48,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,17,{cell:0}),o["ɵqud"](603979776,18,{headerCell:0}),o["ɵqud"](603979776,19,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,YE)),o["ɵdid"](54,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,$E)),o["ɵdid"](57,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[17,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,QE)),o["ɵdid"](60,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,JE)),o["ɵdid"](63,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc]),(n()(),o["ɵeld"](65,0,null,null,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAdd()&&l),l}),ou,lu)),o["ɵdid"](66,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,2,0,t.adapters),n(e,9,0,"adapter_number"),n(e,22,0,"port_name"),n(e,35,0,"adapter_type"),n(e,48,0,"actions"),n(e,60,0,t.displayedColumns),n(e,63,0,t.displayedColumns)}),(function(n,e){n(e,65,0,o["ɵnov"](e,66).disabled||null,"NoopAnimations"===o["ɵnov"](e,66)._animationMode)}))}var eT=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.closeConfiguratorEmitter=new o.EventEmitter,this.saveConfigurationEmitter=new o.EventEmitter,console.log(this.networkTypes)}return n.prototype.cancelConfigureCustomAdapters=function(){this.closeConfiguratorEmitter.emit(!1)},n.prototype.configureCustomAdapters=function(){var n=this;this.adapters=[],console.log(this.customAdapters),this.customAdapters.adapters.forEach((function(e){n.adapters.push({adapter_number:e.adapter_number,adapter_type:e.adapter_type})})),this.saveConfigurationEmitter.emit(this.adapters)},n}(),tT=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function lT(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdapters:0}),(n()(),o["ɵeld"](1,0,null,null,16,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Custom adapters configuration"])),(n()(),o["ɵeld"](6,0,null,null,11,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,2,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,1,"app-custom-adapters-table",[],null,null,null,nT,HE)),o["ɵdid"](9,49152,[[1,4],["customAdapters",4]],0,BE,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"],adapters:[2,"adapters"]},null),(n()(),o["ɵeld"](10,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelConfigureCustomAdapters()&&l),l}),ou,lu)),o["ɵdid"](12,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](14,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.configureCustomAdapters()&&l),l}),ou,lu)),o["ɵdid"](15,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"])),(n()(),o["ɵeld"](17,0,null,null,0,"br",[],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,9,0,t.networkTypes,t.displayedColumns,t.adapters),n(e,15,0,"primary")}),(function(n,e){n(e,11,0,o["ɵnov"](e,12).disabled||null,"NoopAnimations"===o["ɵnov"](e,12)._animationMode),n(e,14,0,o["ɵnov"](e,15).disabled||null,"NoopAnimations"===o["ɵnov"](e,15)._animationMode)}))}var oT=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=i,this.router=r,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.diskInterfaces=[],this.networkTypes=[],this.bootPriorities=[],this.onCloseOptions=[],this.categories=[],this.priorities=[],this.binaries=[],this.activateCpuThrottling=!0,this.isConfiguratorOpened=!1,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.qemuService.getTemplate(n.server,t).subscribe((function(t){n.qemuTemplate=t,n.fillCustomAdapters(),n.qemuService.getBinaries(e).subscribe((function(e){n.binaries=e}))}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.diskInterfaces=this.configurationService.getDiskInterfaces(),this.networkTypes=this.configurationService.getNetworkTypes(),this.bootPriorities=this.configurationService.getBootPriorities(),this.onCloseOptions=this.configurationService.getOnCloseOptions(),this.categories=this.configurationService.getCategories(),this.priorities=this.configurationService.getPriorities()},n.prototype.uploadCdromImageFile=function(n){this.qemuTemplate.cdrom_image=n.target.files[0].name},n.prototype.uploadInitrdFile=function(n){this.qemuTemplate.initrd=n.target.files[0].name},n.prototype.uploadKernelImageFile=function(n){this.qemuTemplate.kernel_image=n.target.files[0].name},n.prototype.uploadBiosFile=function(n){this.qemuTemplate.bios_image=n.target.files[0].name},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.qemuTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.qemuTemplate.custom_adapters.forEach((function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})})))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.qemuTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.qemuTemplate.custom_adapters?this.qemuTemplate.custom_adapters:[];this.qemuTemplate.custom_adapters=[];for(var e=0;e<this.qemuTemplate.adapters;e++)this.qemuTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.activateCpuThrottling||(this.qemuTemplate.cpu_throttling=0),this.fillCustomAdapters(),this.qemuService.saveTemplate(this.server,this.qemuTemplate).subscribe((function(e){n.toasterService.success("Changes saved")})))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.qemuTemplate.symbol=n},n}(),iT=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","spice","spice+agent","none"]},n.prototype.getDiskInterfaces=function(){return["ide","sata","scsi","sd","mtd","floppy","pflash","virtio","nvme","none"]},n.prototype.getNetworkTypes=function(){return["e1000","e1000-82544gc","e1000-82545em","e1000e","rocker","Intel Gigabit Ethernet","i82550","i82551","i82557a","i82557b","i82557c","i82558a","i82558b","i82559a","i82559b","i82559c","i82559er","i82562","i82801","ne2k_pci","pcnet","rtl8139","virtio","virtio-net-pci","vmxnet3"]},n.prototype.getBootPriorities=function(){return[["HDD","c"],["CD/DVD-ROM","d"],["Network","n"],["HDD or Network","cn"],["HDD or CD/DVD-ROM","cd"]]},n.prototype.getOnCloseOptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getPriorities=function(){return["realtime","very high","high","normal","low","very low"]},n}(),rT=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function aT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[40,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function uT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[70,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.path)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)}))}function sT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[82,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function dT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[94,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function cT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[106,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function pT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[128,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function fT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[149,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function hT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[170,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function mT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[191,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function vT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[259,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," (",") "]))],(function(n,e){n(e,1,0,e.context.$implicit[0])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[1],e.context.$implicit[0])}))}function gT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,299,{_controlNonStatic:0}),o["ɵqud"](335544320,300,{_controlStatic:0}),o["ɵqud"](603979776,301,{_labelChildNonStatic:0}),o["ɵqud"](335544320,302,{_labelChildStatic:0}),o["ɵqud"](603979776,303,{_placeholderChild:0}),o["ɵqud"](603979776,304,{_errorChildren:1}),o["ɵqud"](603979776,305,{_hintChildren:1}),o["ɵqud"](603979776,306,{_prefixChildren:1}),o["ɵqud"](603979776,307,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Perecentage of CPU allowed"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.cpu_throttling=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](13,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](15,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[299,4],[300,4]],ag,null,[Lg])],(function(n,e){n(e,15,0,e.component.qemuTemplate.cpu_throttling),n(e,18,0,"Perecentage of CPU allowed","number")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function bT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[317,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function _T(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,872,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,864,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,2,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,242,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,3,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,61,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](79,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](81,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](82,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,99)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,99)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,99)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](96,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](98,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](99,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,40,{options:1}),o["ɵqud"](603979776,41,{optionGroups:1}),o["ɵqud"](603979776,42,{customTrigger:0}),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,aT)),o["ɵdid"](105,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](106,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](107,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,43,{_controlNonStatic:0}),o["ɵqud"](335544320,44,{_controlStatic:0}),o["ɵqud"](603979776,45,{_labelChildNonStatic:0}),o["ɵqud"](335544320,46,{_labelChildStatic:0}),o["ɵqud"](603979776,47,{_placeholderChild:0}),o["ɵqud"](603979776,48,{_errorChildren:1}),o["ɵqud"](603979776,49,{_hintChildren:1}),o["ɵqud"](603979776,50,{_prefixChildren:1}),o["ɵqud"](603979776,51,{_suffixChildren:1}),(n()(),o["ɵeld"](117,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,118)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,118).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,118)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,118)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,119).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,119).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,119).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,124)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,124)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,124)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.ram=t)&&l),l}),null,null)),o["ɵdid"](118,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](119,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](121,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](123,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](124,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[43,4],[44,4]],ag,null,[Lg]),(n()(),o["ɵeld"](126,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](127,16384,[[51,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](129,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](130,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,52,{_controlNonStatic:0}),o["ɵqud"](335544320,53,{_controlStatic:0}),o["ɵqud"](603979776,54,{_labelChildNonStatic:0}),o["ɵqud"](335544320,55,{_labelChildStatic:0}),o["ɵqud"](603979776,56,{_placeholderChild:0}),o["ɵqud"](603979776,57,{_errorChildren:1}),o["ɵqud"](603979776,58,{_hintChildren:1}),o["ɵqud"](603979776,59,{_prefixChildren:1}),o["ɵqud"](603979776,60,{_suffixChildren:1}),(n()(),o["ɵeld"](140,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","vCPUs"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,141)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,141).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,141)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,141)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,142).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,142).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,142).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,147)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,147)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,147)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.cpus=t)&&l),l}),null,null)),o["ɵdid"](141,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](142,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](144,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](146,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](147,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[52,4],[53,4]],ag,null,[Lg]),(n()(),o["ɵeld"](149,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](150,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,61,{_controlNonStatic:0}),o["ɵqud"](335544320,62,{_controlStatic:0}),o["ɵqud"](603979776,63,{_labelChildNonStatic:0}),o["ɵqud"](335544320,64,{_labelChildStatic:0}),o["ɵqud"](603979776,65,{_placeholderChild:0}),o["ɵqud"](603979776,66,{_errorChildren:1}),o["ɵqud"](603979776,67,{_hintChildren:1}),o["ɵqud"](603979776,68,{_prefixChildren:1}),o["ɵqud"](603979776,69,{_suffixChildren:1}),(n()(),o["ɵeld"](160,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Qemu binary"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,165)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,165)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,165)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.qemu_path=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](162,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](164,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](165,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,70,{options:1}),o["ɵqud"](603979776,71,{optionGroups:1}),o["ɵqud"](603979776,72,{customTrigger:0}),o["ɵprd"](2048,[[61,4],[62,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,uT)),o["ɵdid"](171,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](172,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](173,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,73,{_controlNonStatic:0}),o["ɵqud"](335544320,74,{_controlStatic:0}),o["ɵqud"](603979776,75,{_labelChildNonStatic:0}),o["ɵqud"](335544320,76,{_labelChildStatic:0}),o["ɵqud"](603979776,77,{_placeholderChild:0}),o["ɵqud"](603979776,78,{_errorChildren:1}),o["ɵqud"](603979776,79,{_hintChildren:1}),o["ɵqud"](603979776,80,{_prefixChildren:1}),o["ɵqud"](603979776,81,{_suffixChildren:1}),(n()(),o["ɵeld"](183,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Boot priority"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,188)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,188)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,188)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.boot_priority=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](185,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](187,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](188,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,82,{options:1}),o["ɵqud"](603979776,83,{optionGroups:1}),o["ɵqud"](603979776,84,{customTrigger:0}),o["ɵprd"](2048,[[73,4],[74,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,sT)),o["ɵdid"](194,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](195,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](196,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,85,{_controlNonStatic:0}),o["ɵqud"](335544320,86,{_controlStatic:0}),o["ɵqud"](603979776,87,{_labelChildNonStatic:0}),o["ɵqud"](335544320,88,{_labelChildStatic:0}),o["ɵqud"](603979776,89,{_placeholderChild:0}),o["ɵqud"](603979776,90,{_errorChildren:1}),o["ɵqud"](603979776,91,{_hintChildren:1}),o["ɵqud"](603979776,92,{_prefixChildren:1}),o["ɵqud"](603979776,93,{_suffixChildren:1}),(n()(),o["ɵeld"](206,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,211)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,211)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,211)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](208,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](210,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](211,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,94,{options:1}),o["ɵqud"](603979776,95,{optionGroups:1}),o["ɵqud"](603979776,96,{customTrigger:0}),o["ɵprd"](2048,[[85,4],[86,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,dT)),o["ɵdid"](217,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](218,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](219,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,97,{_controlNonStatic:0}),o["ɵqud"](335544320,98,{_controlStatic:0}),o["ɵqud"](603979776,99,{_labelChildNonStatic:0}),o["ɵqud"](335544320,100,{_labelChildStatic:0}),o["ɵqud"](603979776,101,{_placeholderChild:0}),o["ɵqud"](603979776,102,{_errorChildren:1}),o["ɵqud"](603979776,103,{_hintChildren:1}),o["ɵqud"](603979776,104,{_prefixChildren:1}),o["ɵqud"](603979776,105,{_suffixChildren:1}),(n()(),o["ɵeld"](229,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,234)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,234)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,234)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](231,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](233,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](234,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,106,{options:1}),o["ɵqud"](603979776,107,{optionGroups:1}),o["ɵqud"](603979776,108,{customTrigger:0}),o["ɵprd"](2048,[[97,4],[98,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,cT)),o["ɵdid"](240,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](241,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](242,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](244,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](246,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](248,16777216,null,null,214,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](249,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,109,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](252,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,253)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,253)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,253)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](253,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](254,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](255,{value:0,params:1}),(n()(),o["ɵeld"](256,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](257,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" HDD "])),(n()(),o["ɵeld"](259,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](260,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](261,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](262,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](263,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](264,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDA (Primary Master) "])),(n()(),o["ɵeld"](266,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](267,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](268,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](269,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,110,{_controlNonStatic:0}),o["ɵqud"](335544320,111,{_controlStatic:0}),o["ɵqud"](603979776,112,{_labelChildNonStatic:0}),o["ɵqud"](335544320,113,{_labelChildStatic:0}),o["ɵqud"](603979776,114,{_placeholderChild:0}),o["ɵqud"](603979776,115,{_errorChildren:1}),o["ɵqud"](603979776,116,{_hintChildren:1}),o["ɵqud"](603979776,117,{_prefixChildren:1}),o["ɵqud"](603979776,118,{_suffixChildren:1}),(n()(),o["ɵeld"](279,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,280)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,280).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,280)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,280)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,285)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,285)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,285)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hda_disk_image=t)&&l),l}),null,null)),o["ɵdid"](280,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](282,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](284,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](285,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[110,4],[111,4]],ag,null,[Lg]),(n()(),o["ɵeld"](287,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](288,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,119,{_controlNonStatic:0}),o["ɵqud"](335544320,120,{_controlStatic:0}),o["ɵqud"](603979776,121,{_labelChildNonStatic:0}),o["ɵqud"](335544320,122,{_labelChildStatic:0}),o["ɵqud"](603979776,123,{_placeholderChild:0}),o["ɵqud"](603979776,124,{_errorChildren:1}),o["ɵqud"](603979776,125,{_hintChildren:1}),o["ɵqud"](603979776,126,{_prefixChildren:1}),o["ɵqud"](603979776,127,{_suffixChildren:1}),(n()(),o["ɵeld"](298,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,303)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,303)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,303)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hda_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](300,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](302,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](303,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,128,{options:1}),o["ɵqud"](603979776,129,{optionGroups:1}),o["ɵqud"](603979776,130,{customTrigger:0}),o["ɵprd"](2048,[[119,4],[120,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,pT)),o["ɵdid"](309,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](310,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](311,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](312,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](313,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](314,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](315,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDB (Primary Slave) "])),(n()(),o["ɵeld"](317,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](318,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](319,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](320,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,131,{_controlNonStatic:0}),o["ɵqud"](335544320,132,{_controlStatic:0}),o["ɵqud"](603979776,133,{_labelChildNonStatic:0}),o["ɵqud"](335544320,134,{_labelChildStatic:0}),o["ɵqud"](603979776,135,{_placeholderChild:0}),o["ɵqud"](603979776,136,{_errorChildren:1}),o["ɵqud"](603979776,137,{_hintChildren:1}),o["ɵqud"](603979776,138,{_prefixChildren:1}),o["ɵqud"](603979776,139,{_suffixChildren:1}),(n()(),o["ɵeld"](330,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,331)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,331).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,331)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,331)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,336)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,336)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,336)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdb_disk_image=t)&&l),l}),null,null)),o["ɵdid"](331,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](333,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](335,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](336,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[131,4],[132,4]],ag,null,[Lg]),(n()(),o["ɵeld"](338,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](339,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,140,{_controlNonStatic:0}),o["ɵqud"](335544320,141,{_controlStatic:0}),o["ɵqud"](603979776,142,{_labelChildNonStatic:0}),o["ɵqud"](335544320,143,{_labelChildStatic:0}),o["ɵqud"](603979776,144,{_placeholderChild:0}),o["ɵqud"](603979776,145,{_errorChildren:1}),o["ɵqud"](603979776,146,{_hintChildren:1}),o["ɵqud"](603979776,147,{_prefixChildren:1}),o["ɵqud"](603979776,148,{_suffixChildren:1}),(n()(),o["ɵeld"](349,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,354)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,354)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,354)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdb_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](351,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](353,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](354,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,149,{options:1}),o["ɵqud"](603979776,150,{optionGroups:1}),o["ɵqud"](603979776,151,{customTrigger:0}),o["ɵprd"](2048,[[140,4],[141,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,fT)),o["ɵdid"](360,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](361,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](362,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](363,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](364,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](365,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](366,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDC (Secondary Master) "])),(n()(),o["ɵeld"](368,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](369,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](370,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](371,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,152,{_controlNonStatic:0}),o["ɵqud"](335544320,153,{_controlStatic:0}),o["ɵqud"](603979776,154,{_labelChildNonStatic:0}),o["ɵqud"](335544320,155,{_labelChildStatic:0}),o["ɵqud"](603979776,156,{_placeholderChild:0}),o["ɵqud"](603979776,157,{_errorChildren:1}),o["ɵqud"](603979776,158,{_hintChildren:1}),o["ɵqud"](603979776,159,{_prefixChildren:1}),o["ɵqud"](603979776,160,{_suffixChildren:1}),(n()(),o["ɵeld"](381,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,382)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,382).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,382)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,382)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,387)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,387)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,387)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdc_disk_image=t)&&l),l}),null,null)),o["ɵdid"](382,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](384,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](386,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](387,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[152,4],[153,4]],ag,null,[Lg]),(n()(),o["ɵeld"](389,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](390,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,161,{_controlNonStatic:0}),o["ɵqud"](335544320,162,{_controlStatic:0}),o["ɵqud"](603979776,163,{_labelChildNonStatic:0}),o["ɵqud"](335544320,164,{_labelChildStatic:0}),o["ɵqud"](603979776,165,{_placeholderChild:0}),o["ɵqud"](603979776,166,{_errorChildren:1}),o["ɵqud"](603979776,167,{_hintChildren:1}),o["ɵqud"](603979776,168,{_prefixChildren:1}),o["ɵqud"](603979776,169,{_suffixChildren:1}),(n()(),o["ɵeld"](400,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,405)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,405)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,405)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdc_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](402,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](404,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](405,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,170,{options:1}),o["ɵqud"](603979776,171,{optionGroups:1}),o["ɵqud"](603979776,172,{customTrigger:0}),o["ɵprd"](2048,[[161,4],[162,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,hT)),o["ɵdid"](411,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](412,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](413,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](414,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](415,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](416,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](417,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDD (Secondary Slave) "])),(n()(),o["ɵeld"](419,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](420,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](421,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](422,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,173,{_controlNonStatic:0}),o["ɵqud"](335544320,174,{_controlStatic:0}),o["ɵqud"](603979776,175,{_labelChildNonStatic:0}),o["ɵqud"](335544320,176,{_labelChildStatic:0}),o["ɵqud"](603979776,177,{_placeholderChild:0}),o["ɵqud"](603979776,178,{_errorChildren:1}),o["ɵqud"](603979776,179,{_hintChildren:1}),o["ɵqud"](603979776,180,{_prefixChildren:1}),o["ɵqud"](603979776,181,{_suffixChildren:1}),(n()(),o["ɵeld"](432,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,433)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,433).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,433)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,433)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,438)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,438)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,438)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdd_disk_image=t)&&l),l}),null,null)),o["ɵdid"](433,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](435,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](437,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](438,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[173,4],[174,4]],ag,null,[Lg]),(n()(),o["ɵeld"](440,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](441,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,182,{_controlNonStatic:0}),o["ɵqud"](335544320,183,{_controlStatic:0}),o["ɵqud"](603979776,184,{_labelChildNonStatic:0}),o["ɵqud"](335544320,185,{_labelChildStatic:0}),o["ɵqud"](603979776,186,{_placeholderChild:0}),o["ɵqud"](603979776,187,{_errorChildren:1}),o["ɵqud"](603979776,188,{_hintChildren:1}),o["ɵqud"](603979776,189,{_prefixChildren:1}),o["ɵqud"](603979776,190,{_suffixChildren:1}),(n()(),o["ɵeld"](451,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,456)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,456)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,456)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.hdd_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](453,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](455,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](456,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,191,{options:1}),o["ɵqud"](603979776,192,{optionGroups:1}),o["ɵqud"](603979776,193,{customTrigger:0}),o["ɵprd"](2048,[[182,4],[183,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,mT)),o["ɵdid"](462,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](463,16777216,null,null,34,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](464,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,194,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](467,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,468)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,468)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,468)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](468,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](469,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](470,{value:0,params:1}),(n()(),o["ɵeld"](471,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](472,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" CD/DVD "])),(n()(),o["ɵeld"](474,0,null,1,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](475,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,478).click()&&l),l}),ou,lu)),o["ɵdid"](476,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](478,0,[["filecdrom",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadCdromImageFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](479,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](480,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,195,{_controlNonStatic:0}),o["ɵqud"](335544320,196,{_controlStatic:0}),o["ɵqud"](603979776,197,{_labelChildNonStatic:0}),o["ɵqud"](335544320,198,{_labelChildStatic:0}),o["ɵqud"](603979776,199,{_placeholderChild:0}),o["ɵqud"](603979776,200,{_errorChildren:1}),o["ɵqud"](603979776,201,{_hintChildren:1}),o["ɵqud"](603979776,202,{_prefixChildren:1}),o["ɵqud"](603979776,203,{_suffixChildren:1}),(n()(),o["ɵeld"](490,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,491)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,491).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,491)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,491)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,496)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,496)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,496)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.cdrom_image=t)&&l),l}),null,null)),o["ɵdid"](491,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](493,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](495,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](496,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[195,4],[196,4]],ag,null,[Lg]),(n()(),o["ɵeld"](498,16777216,null,null,141,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](499,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,204,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](502,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,503)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,503)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,503)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](503,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](504,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](505,{value:0,params:1}),(n()(),o["ɵeld"](506,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](507,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Network "])),(n()(),o["ɵeld"](509,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](510,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,205,{_controlNonStatic:0}),o["ɵqud"](335544320,206,{_controlStatic:0}),o["ɵqud"](603979776,207,{_labelChildNonStatic:0}),o["ɵqud"](335544320,208,{_labelChildStatic:0}),o["ɵqud"](603979776,209,{_placeholderChild:0}),o["ɵqud"](603979776,210,{_errorChildren:1}),o["ɵqud"](603979776,211,{_hintChildren:1}),o["ɵqud"](603979776,212,{_prefixChildren:1}),o["ɵqud"](603979776,213,{_suffixChildren:1}),(n()(),o["ɵeld"](520,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,521)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,521).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,521)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,521)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,522).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,522).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,522).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,527)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,527)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,527)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.adapters=t)&&l),l}),null,null)),o["ɵdid"](521,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](522,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](524,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](526,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](527,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[205,4],[206,4]],ag,null,[Lg]),(n()(),o["ɵeld"](529,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](530,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,214,{_controlNonStatic:0}),o["ɵqud"](335544320,215,{_controlStatic:0}),o["ɵqud"](603979776,216,{_labelChildNonStatic:0}),o["ɵqud"](335544320,217,{_labelChildStatic:0}),o["ɵqud"](603979776,218,{_placeholderChild:0}),o["ɵqud"](603979776,219,{_errorChildren:1}),o["ɵqud"](603979776,220,{_hintChildren:1}),o["ɵqud"](603979776,221,{_prefixChildren:1}),o["ɵqud"](603979776,222,{_suffixChildren:1}),(n()(),o["ɵeld"](540,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,541)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,541).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,541)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,541)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,546)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,546)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,546)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.first_port_name=t)&&l),l}),null,null)),o["ɵdid"](541,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](543,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](545,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](546,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[214,4],[215,4]],ag,null,[Lg]),(n()(),o["ɵeld"](548,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](549,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,223,{_controlNonStatic:0}),o["ɵqud"](335544320,224,{_controlStatic:0}),o["ɵqud"](603979776,225,{_labelChildNonStatic:0}),o["ɵqud"](335544320,226,{_labelChildStatic:0}),o["ɵqud"](603979776,227,{_placeholderChild:0}),o["ɵqud"](603979776,228,{_errorChildren:1}),o["ɵqud"](603979776,229,{_hintChildren:1}),o["ɵqud"](603979776,230,{_prefixChildren:1}),o["ɵqud"](603979776,231,{_suffixChildren:1}),(n()(),o["ɵeld"](559,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,560)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,560).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,560)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,560)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,565)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,565)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,565)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.port_name_format=t)&&l),l}),null,null)),o["ɵdid"](560,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](562,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](564,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](565,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[223,4],[224,4]],ag,null,[Lg]),(n()(),o["ɵeld"](567,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](568,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,232,{_controlNonStatic:0}),o["ɵqud"](335544320,233,{_controlStatic:0}),o["ɵqud"](603979776,234,{_labelChildNonStatic:0}),o["ɵqud"](335544320,235,{_labelChildStatic:0}),o["ɵqud"](603979776,236,{_placeholderChild:0}),o["ɵqud"](603979776,237,{_errorChildren:1}),o["ɵqud"](603979776,238,{_hintChildren:1}),o["ɵqud"](603979776,239,{_prefixChildren:1}),o["ɵqud"](603979776,240,{_suffixChildren:1}),(n()(),o["ɵeld"](578,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Segment size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,579)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,579).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,579)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,579)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,580).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,580).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,580).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,585)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,585)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,585)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.port_segment_size=t)&&l),l}),null,null)),o["ɵdid"](579,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](580,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](582,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](584,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](585,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[232,4],[233,4]],ag,null,[Lg]),(n()(),o["ɵeld"](587,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](588,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,241,{_controlNonStatic:0}),o["ɵqud"](335544320,242,{_controlStatic:0}),o["ɵqud"](603979776,243,{_labelChildNonStatic:0}),o["ɵqud"](335544320,244,{_labelChildStatic:0}),o["ɵqud"](603979776,245,{_placeholderChild:0}),o["ɵqud"](603979776,246,{_errorChildren:1}),o["ɵqud"](603979776,247,{_hintChildren:1}),o["ɵqud"](603979776,248,{_prefixChildren:1}),o["ɵqud"](603979776,249,{_suffixChildren:1}),(n()(),o["ɵeld"](598,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Base MAC"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,599)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,599).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,599)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,599)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,604)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,604)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,604)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.mac_address=t)&&l),l}),null,null)),o["ɵdid"](599,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](601,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](603,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](604,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[241,4],[242,4]],ag,null,[Lg]),(n()(),o["ɵeld"](606,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](607,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,250,{_controlNonStatic:0}),o["ɵqud"](335544320,251,{_controlStatic:0}),o["ɵqud"](603979776,252,{_labelChildNonStatic:0}),o["ɵqud"](335544320,253,{_labelChildStatic:0}),o["ɵqud"](603979776,254,{_placeholderChild:0}),o["ɵqud"](603979776,255,{_errorChildren:1}),o["ɵqud"](603979776,256,{_hintChildren:1}),o["ɵqud"](603979776,257,{_prefixChildren:1}),o["ɵqud"](603979776,258,{_suffixChildren:1}),(n()(),o["ɵeld"](617,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,622)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,622)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,622)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.adapter_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](619,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](621,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](622,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,259,{options:1}),o["ɵqud"](603979776,260,{optionGroups:1}),o["ɵqud"](603979776,261,{customTrigger:0}),o["ɵprd"](2048,[[250,4],[251,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,vT)),o["ɵdid"](628,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](629,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l}),ou,lu)),o["ɵdid"](630,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Configure custom adapters"])),(n()(),o["ɵeld"](632,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](633,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.legacy_networking=t)&&l),l}),O_,F_)),o["ɵdid"](634,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](636,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](638,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use the legacy networking mode "])),(n()(),o["ɵeld"](640,16777216,null,null,195,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](641,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,262,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](644,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,645)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,645)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,645)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](645,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](646,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](647,{value:0,params:1}),(n()(),o["ɵeld"](648,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](649,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Advanced "])),(n()(),o["ɵeld"](651,0,null,1,75,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](652,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](653,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](654,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](655,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](656,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Linux boot specific settings "])),(n()(),o["ɵeld"](658,0,null,0,68,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](659,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](660,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](661,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,664).click()&&l),l}),ou,lu)),o["ɵdid"](662,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](664,0,[["fileinitrd",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadInitrdFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](665,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](666,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,263,{_controlNonStatic:0}),o["ɵqud"](335544320,264,{_controlStatic:0}),o["ɵqud"](603979776,265,{_labelChildNonStatic:0}),o["ɵqud"](335544320,266,{_labelChildStatic:0}),o["ɵqud"](603979776,267,{_placeholderChild:0}),o["ɵqud"](603979776,268,{_errorChildren:1}),o["ɵqud"](603979776,269,{_hintChildren:1}),o["ɵqud"](603979776,270,{_prefixChildren:1}),o["ɵqud"](603979776,271,{_suffixChildren:1}),(n()(),o["ɵeld"](676,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Initial RAM disk (initrd)"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,677)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,677).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,677)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,677)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,682)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,682)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,682)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.initrd=t)&&l),l}),null,null)),o["ɵdid"](677,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](679,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](681,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](682,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[263,4],[264,4]],ag,null,[Lg]),(n()(),o["ɵeld"](684,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](685,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.filekerenelimage.click()&&l),l}),ou,lu)),o["ɵdid"](686,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](688,0,[["filekernelimage",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadKernelImageFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](689,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](690,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,272,{_controlNonStatic:0}),o["ɵqud"](335544320,273,{_controlStatic:0}),o["ɵqud"](603979776,274,{_labelChildNonStatic:0}),o["ɵqud"](335544320,275,{_labelChildStatic:0}),o["ɵqud"](603979776,276,{_placeholderChild:0}),o["ɵqud"](603979776,277,{_errorChildren:1}),o["ɵqud"](603979776,278,{_hintChildren:1}),o["ɵqud"](603979776,279,{_prefixChildren:1}),o["ɵqud"](603979776,280,{_suffixChildren:1}),(n()(),o["ɵeld"](700,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,701)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,701).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,701)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,701)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,706)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,706)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,706)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.kernel_image=t)&&l),l}),null,null)),o["ɵdid"](701,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](703,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](705,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](706,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[272,4],[273,4]],ag,null,[Lg]),(n()(),o["ɵeld"](708,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](709,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,281,{_controlNonStatic:0}),o["ɵqud"](335544320,282,{_controlStatic:0}),o["ɵqud"](603979776,283,{_labelChildNonStatic:0}),o["ɵqud"](335544320,284,{_labelChildStatic:0}),o["ɵqud"](603979776,285,{_placeholderChild:0}),o["ɵqud"](603979776,286,{_errorChildren:1}),o["ɵqud"](603979776,287,{_hintChildren:1}),o["ɵqud"](603979776,288,{_prefixChildren:1}),o["ɵqud"](603979776,289,{_suffixChildren:1}),(n()(),o["ɵeld"](719,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel command line"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,720)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,720).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,720)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,720)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,725)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,725)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,725)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.kernel_command_line=t)&&l),l}),null,null)),o["ɵdid"](720,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](722,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](724,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](725,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[281,4],[282,4]],ag,null,[Lg]),(n()(),o["ɵeld"](727,0,null,1,32,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](728,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](729,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](730,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](731,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](732,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Bios "])),(n()(),o["ɵeld"](734,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](735,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](736,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](737,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,740).click()&&l),l}),ou,lu)),o["ɵdid"](738,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](740,0,[["filebios",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadBiosFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](741,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](742,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,290,{_controlNonStatic:0}),o["ɵqud"](335544320,291,{_controlStatic:0}),o["ɵqud"](603979776,292,{_labelChildNonStatic:0}),o["ɵqud"](335544320,293,{_labelChildStatic:0}),o["ɵqud"](603979776,294,{_placeholderChild:0}),o["ɵqud"](603979776,295,{_errorChildren:1}),o["ɵqud"](603979776,296,{_hintChildren:1}),o["ɵqud"](603979776,297,{_prefixChildren:1}),o["ɵqud"](603979776,298,{_suffixChildren:1}),(n()(),o["ɵeld"](752,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bios image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,753)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,753).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,753)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,753)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,758)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,758)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,758)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.bios_image=t)&&l),l}),null,null)),o["ɵdid"](753,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](755,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](757,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](758,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[290,4],[291,4]],ag,null,[Lg]),(n()(),o["ɵeld"](760,0,null,1,40,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](761,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](762,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](763,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](764,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](765,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Optimization "])),(n()(),o["ɵeld"](767,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](768,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](769,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.activateCpuThrottling=t)&&l),l}),O_,F_)),o["ɵdid"](770,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](772,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](774,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Activate CPU throttling "])),(n()(),o["ɵand"](16777216,null,null,1,null,gT)),o["ɵdid"](777,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](778,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](779,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,308,{_controlNonStatic:0}),o["ɵqud"](335544320,309,{_controlStatic:0}),o["ɵqud"](603979776,310,{_labelChildNonStatic:0}),o["ɵqud"](335544320,311,{_labelChildStatic:0}),o["ɵqud"](603979776,312,{_placeholderChild:0}),o["ɵqud"](603979776,313,{_errorChildren:1}),o["ɵqud"](603979776,314,{_hintChildren:1}),o["ɵqud"](603979776,315,{_prefixChildren:1}),o["ɵqud"](603979776,316,{_suffixChildren:1}),(n()(),o["ɵeld"](789,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Process priority"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,794)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,794)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,794)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.process_priority=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](791,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](793,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](794,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,317,{options:1}),o["ɵqud"](603979776,318,{optionGroups:1}),o["ɵqud"](603979776,319,{customTrigger:0}),o["ɵprd"](2048,[[308,4],[309,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,bT)),o["ɵdid"](800,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](801,0,null,1,34,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](802,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](803,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](804,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](805,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](806,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Additional settings "])),(n()(),o["ɵeld"](808,0,null,0,27,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](809,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](810,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](811,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,320,{_controlNonStatic:0}),o["ɵqud"](335544320,321,{_controlStatic:0}),o["ɵqud"](603979776,322,{_labelChildNonStatic:0}),o["ɵqud"](335544320,323,{_labelChildStatic:0}),o["ɵqud"](603979776,324,{_placeholderChild:0}),o["ɵqud"](603979776,325,{_errorChildren:1}),o["ɵqud"](603979776,326,{_hintChildren:1}),o["ɵqud"](603979776,327,{_prefixChildren:1}),o["ɵqud"](603979776,328,{_suffixChildren:1}),(n()(),o["ɵeld"](821,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Options"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,822)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,822).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,822)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,822)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,827)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,827)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,827)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.options=t)&&l),l}),null,null)),o["ɵdid"](822,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](824,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](826,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](827,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[320,4],[321,4]],ag,null,[Lg]),(n()(),o["ɵeld"](829,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](830,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](832,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](834,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use as a linked base VM "])),(n()(),o["ɵeld"](836,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](837,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,329,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](840,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,841)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,841)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,841)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](841,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](842,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](843,{value:0,params:1}),(n()(),o["ɵeld"](844,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](845,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](847,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](848,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,330,{_controlNonStatic:0}),o["ɵqud"](335544320,331,{_controlStatic:0}),o["ɵqud"](603979776,332,{_labelChildNonStatic:0}),o["ɵqud"](335544320,333,{_labelChildStatic:0}),o["ɵqud"](603979776,334,{_placeholderChild:0}),o["ɵqud"](603979776,335,{_errorChildren:1}),o["ɵqud"](603979776,336,{_hintChildren:1}),o["ɵqud"](603979776,337,{_prefixChildren:1}),o["ɵqud"](603979776,338,{_suffixChildren:1}),(n()(),o["ɵeld"](858,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,859)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,859).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,859)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,859)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,864)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,864)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,864)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](859,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](861,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](863,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](864,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[330,4],[331,4]],ag,null,[Lg]),(n()(),o["ɵeld"](866,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](867,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](868,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](870,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](871,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.qemuTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.qemuTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.qemuTemplate.symbol),n(e,76,0,"Symbol","text"),n(e,96,0,t.qemuTemplate.category),n(e,99,0,"Category"),n(e,105,0,t.categories),n(e,121,0,t.qemuTemplate.ram),n(e,124,0,"RAM","number"),n(e,144,0,t.qemuTemplate.cpus),n(e,147,0,"vCPUs","number"),n(e,162,0,t.qemuTemplate.qemu_path),n(e,165,0,"Qemu binary"),n(e,171,0,t.binaries),n(e,185,0,t.qemuTemplate.boot_priority),n(e,188,0,"Boot priority"),n(e,194,0,t.bootPriorities),n(e,208,0,t.qemuTemplate.on_close),n(e,211,0,"On close"),n(e,217,0,t.onCloseOptions),n(e,231,0,t.qemuTemplate.console_type),n(e,234,0,"Console type"),n(e,240,0,t.consoleTypes),n(e,244,0,t.qemuTemplate.console_auto_start),n(e,282,0,t.qemuTemplate.hda_disk_image),n(e,285,0,"Disk image"),n(e,300,0,t.qemuTemplate.hda_disk_interface),n(e,303,0,"Disk interface"),n(e,309,0,t.diskInterfaces),n(e,333,0,t.qemuTemplate.hdb_disk_image),n(e,336,0,"Disk image"),n(e,351,0,t.qemuTemplate.hdb_disk_interface),n(e,354,0,"Disk interface"),n(e,360,0,t.diskInterfaces),n(e,384,0,t.qemuTemplate.hdc_disk_image),n(e,387,0,"Disk image"),n(e,402,0,t.qemuTemplate.hdc_disk_interface),n(e,405,0,"Disk interface"),n(e,411,0,t.diskInterfaces),n(e,435,0,t.qemuTemplate.hdd_disk_image),n(e,438,0,"Disk image"),n(e,453,0,t.qemuTemplate.hdd_disk_interface),n(e,456,0,"Disk interface"),n(e,462,0,t.diskInterfaces),n(e,476,0,"primary"),n(e,493,0,t.qemuTemplate.cdrom_image),n(e,496,0,"Image","text"),n(e,524,0,t.qemuTemplate.adapters),n(e,527,0,"Adapters","number"),n(e,543,0,t.qemuTemplate.first_port_name),n(e,546,0,"First port name","text"),n(e,562,0,t.qemuTemplate.port_name_format),n(e,565,0,"Name format","text"),n(e,582,0,t.qemuTemplate.port_segment_size),n(e,585,0,"Segment size","number"),n(e,601,0,t.qemuTemplate.mac_address),n(e,604,0,"Base MAC","text"),n(e,619,0,t.qemuTemplate.adapter_type),n(e,622,0,"Type"),n(e,628,0,t.networkTypes),n(e,636,0,t.qemuTemplate.legacy_networking),n(e,662,0,"primary"),n(e,679,0,t.qemuTemplate.initrd),n(e,682,0,"Initial RAM disk (initrd)","text"),n(e,686,0,"primary"),n(e,703,0,t.qemuTemplate.kernel_image),n(e,706,0,"Kernel image","text"),n(e,722,0,t.qemuTemplate.kernel_command_line),n(e,725,0,"Kernel command line","text"),n(e,738,0,"primary"),n(e,755,0,t.qemuTemplate.bios_image),n(e,758,0,"Bios image","text"),n(e,772,0,t.activateCpuThrottling),n(e,777,0,t.activateCpuThrottling),n(e,791,0,t.qemuTemplate.process_priority),n(e,794,0,"Process priority"),n(e,800,0,t.priorities),n(e,824,0,t.qemuTemplate.options),n(e,827,0,"Options","text"),n(e,832,0,t.qemuTemplate.linked_clone),n(e,861,0,t.qemuTemplate.usage),n(e,864,0,"text"),n(e,871,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,78,0,o["ɵnov"](e,79).disabled||null,"NoopAnimations"===o["ɵnov"](e,79)._animationMode),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,98).ngClassUntouched,o["ɵnov"](e,98).ngClassTouched,o["ɵnov"](e,98).ngClassPristine,o["ɵnov"](e,98).ngClassDirty,o["ɵnov"](e,98).ngClassValid,o["ɵnov"](e,98).ngClassInvalid,o["ɵnov"](e,98).ngClassPending,o["ɵnov"](e,99).id,o["ɵnov"](e,99).tabIndex,o["ɵnov"](e,99)._getAriaLabel(),o["ɵnov"](e,99)._getAriaLabelledby(),o["ɵnov"](e,99).required.toString(),o["ɵnov"](e,99).disabled.toString(),o["ɵnov"](e,99).errorState,o["ɵnov"](e,99).panelOpen?o["ɵnov"](e,99)._optionIds:null,o["ɵnov"](e,99).multiple,o["ɵnov"](e,99)._ariaDescribedby||null,o["ɵnov"](e,99)._getAriaActiveDescendant(),o["ɵnov"](e,99).disabled,o["ɵnov"](e,99).errorState,o["ɵnov"](e,99).required,o["ɵnov"](e,99).empty]),n(e,106,1,["standard"==o["ɵnov"](e,107).appearance,"fill"==o["ɵnov"](e,107).appearance,"outline"==o["ɵnov"](e,107).appearance,"legacy"==o["ɵnov"](e,107).appearance,o["ɵnov"](e,107)._control.errorState,o["ɵnov"](e,107)._canLabelFloat,o["ɵnov"](e,107)._shouldLabelFloat(),o["ɵnov"](e,107)._hasFloatingLabel(),o["ɵnov"](e,107)._hideControlPlaceholder(),o["ɵnov"](e,107)._control.disabled,o["ɵnov"](e,107)._control.autofilled,o["ɵnov"](e,107)._control.focused,"accent"==o["ɵnov"](e,107).color,"warn"==o["ɵnov"](e,107).color,o["ɵnov"](e,107)._shouldForward("untouched"),o["ɵnov"](e,107)._shouldForward("touched"),o["ɵnov"](e,107)._shouldForward("pristine"),o["ɵnov"](e,107)._shouldForward("dirty"),o["ɵnov"](e,107)._shouldForward("valid"),o["ɵnov"](e,107)._shouldForward("invalid"),o["ɵnov"](e,107)._shouldForward("pending"),!o["ɵnov"](e,107)._animationsEnabled]),n(e,117,1,[o["ɵnov"](e,123).ngClassUntouched,o["ɵnov"](e,123).ngClassTouched,o["ɵnov"](e,123).ngClassPristine,o["ɵnov"](e,123).ngClassDirty,o["ɵnov"](e,123).ngClassValid,o["ɵnov"](e,123).ngClassInvalid,o["ɵnov"](e,123).ngClassPending,o["ɵnov"](e,124)._isServer,o["ɵnov"](e,124).id,o["ɵnov"](e,124).placeholder,o["ɵnov"](e,124).disabled,o["ɵnov"](e,124).required,o["ɵnov"](e,124).readonly&&!o["ɵnov"](e,124)._isNativeSelect||null,o["ɵnov"](e,124)._ariaDescribedby||null,o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).required.toString()]),n(e,129,1,["standard"==o["ɵnov"](e,130).appearance,"fill"==o["ɵnov"](e,130).appearance,"outline"==o["ɵnov"](e,130).appearance,"legacy"==o["ɵnov"](e,130).appearance,o["ɵnov"](e,130)._control.errorState,o["ɵnov"](e,130)._canLabelFloat,o["ɵnov"](e,130)._shouldLabelFloat(),o["ɵnov"](e,130)._hasFloatingLabel(),o["ɵnov"](e,130)._hideControlPlaceholder(),o["ɵnov"](e,130)._control.disabled,o["ɵnov"](e,130)._control.autofilled,o["ɵnov"](e,130)._control.focused,"accent"==o["ɵnov"](e,130).color,"warn"==o["ɵnov"](e,130).color,o["ɵnov"](e,130)._shouldForward("untouched"),o["ɵnov"](e,130)._shouldForward("touched"),o["ɵnov"](e,130)._shouldForward("pristine"),o["ɵnov"](e,130)._shouldForward("dirty"),o["ɵnov"](e,130)._shouldForward("valid"),o["ɵnov"](e,130)._shouldForward("invalid"),o["ɵnov"](e,130)._shouldForward("pending"),!o["ɵnov"](e,130)._animationsEnabled]),n(e,140,1,[o["ɵnov"](e,146).ngClassUntouched,o["ɵnov"](e,146).ngClassTouched,o["ɵnov"](e,146).ngClassPristine,o["ɵnov"](e,146).ngClassDirty,o["ɵnov"](e,146).ngClassValid,o["ɵnov"](e,146).ngClassInvalid,o["ɵnov"](e,146).ngClassPending,o["ɵnov"](e,147)._isServer,o["ɵnov"](e,147).id,o["ɵnov"](e,147).placeholder,o["ɵnov"](e,147).disabled,o["ɵnov"](e,147).required,o["ɵnov"](e,147).readonly&&!o["ɵnov"](e,147)._isNativeSelect||null,o["ɵnov"](e,147)._ariaDescribedby||null,o["ɵnov"](e,147).errorState,o["ɵnov"](e,147).required.toString()]),n(e,149,1,["standard"==o["ɵnov"](e,150).appearance,"fill"==o["ɵnov"](e,150).appearance,"outline"==o["ɵnov"](e,150).appearance,"legacy"==o["ɵnov"](e,150).appearance,o["ɵnov"](e,150)._control.errorState,o["ɵnov"](e,150)._canLabelFloat,o["ɵnov"](e,150)._shouldLabelFloat(),o["ɵnov"](e,150)._hasFloatingLabel(),o["ɵnov"](e,150)._hideControlPlaceholder(),o["ɵnov"](e,150)._control.disabled,o["ɵnov"](e,150)._control.autofilled,o["ɵnov"](e,150)._control.focused,"accent"==o["ɵnov"](e,150).color,"warn"==o["ɵnov"](e,150).color,o["ɵnov"](e,150)._shouldForward("untouched"),o["ɵnov"](e,150)._shouldForward("touched"),o["ɵnov"](e,150)._shouldForward("pristine"),o["ɵnov"](e,150)._shouldForward("dirty"),o["ɵnov"](e,150)._shouldForward("valid"),o["ɵnov"](e,150)._shouldForward("invalid"),o["ɵnov"](e,150)._shouldForward("pending"),!o["ɵnov"](e,150)._animationsEnabled]),n(e,160,1,[o["ɵnov"](e,164).ngClassUntouched,o["ɵnov"](e,164).ngClassTouched,o["ɵnov"](e,164).ngClassPristine,o["ɵnov"](e,164).ngClassDirty,o["ɵnov"](e,164).ngClassValid,o["ɵnov"](e,164).ngClassInvalid,o["ɵnov"](e,164).ngClassPending,o["ɵnov"](e,165).id,o["ɵnov"](e,165).tabIndex,o["ɵnov"](e,165)._getAriaLabel(),o["ɵnov"](e,165)._getAriaLabelledby(),o["ɵnov"](e,165).required.toString(),o["ɵnov"](e,165).disabled.toString(),o["ɵnov"](e,165).errorState,o["ɵnov"](e,165).panelOpen?o["ɵnov"](e,165)._optionIds:null,o["ɵnov"](e,165).multiple,o["ɵnov"](e,165)._ariaDescribedby||null,o["ɵnov"](e,165)._getAriaActiveDescendant(),o["ɵnov"](e,165).disabled,o["ɵnov"](e,165).errorState,o["ɵnov"](e,165).required,o["ɵnov"](e,165).empty]),n(e,172,1,["standard"==o["ɵnov"](e,173).appearance,"fill"==o["ɵnov"](e,173).appearance,"outline"==o["ɵnov"](e,173).appearance,"legacy"==o["ɵnov"](e,173).appearance,o["ɵnov"](e,173)._control.errorState,o["ɵnov"](e,173)._canLabelFloat,o["ɵnov"](e,173)._shouldLabelFloat(),o["ɵnov"](e,173)._hasFloatingLabel(),o["ɵnov"](e,173)._hideControlPlaceholder(),o["ɵnov"](e,173)._control.disabled,o["ɵnov"](e,173)._control.autofilled,o["ɵnov"](e,173)._control.focused,"accent"==o["ɵnov"](e,173).color,"warn"==o["ɵnov"](e,173).color,o["ɵnov"](e,173)._shouldForward("untouched"),o["ɵnov"](e,173)._shouldForward("touched"),o["ɵnov"](e,173)._shouldForward("pristine"),o["ɵnov"](e,173)._shouldForward("dirty"),o["ɵnov"](e,173)._shouldForward("valid"),o["ɵnov"](e,173)._shouldForward("invalid"),o["ɵnov"](e,173)._shouldForward("pending"),!o["ɵnov"](e,173)._animationsEnabled]),n(e,183,1,[o["ɵnov"](e,187).ngClassUntouched,o["ɵnov"](e,187).ngClassTouched,o["ɵnov"](e,187).ngClassPristine,o["ɵnov"](e,187).ngClassDirty,o["ɵnov"](e,187).ngClassValid,o["ɵnov"](e,187).ngClassInvalid,o["ɵnov"](e,187).ngClassPending,o["ɵnov"](e,188).id,o["ɵnov"](e,188).tabIndex,o["ɵnov"](e,188)._getAriaLabel(),o["ɵnov"](e,188)._getAriaLabelledby(),o["ɵnov"](e,188).required.toString(),o["ɵnov"](e,188).disabled.toString(),o["ɵnov"](e,188).errorState,o["ɵnov"](e,188).panelOpen?o["ɵnov"](e,188)._optionIds:null,o["ɵnov"](e,188).multiple,o["ɵnov"](e,188)._ariaDescribedby||null,o["ɵnov"](e,188)._getAriaActiveDescendant(),o["ɵnov"](e,188).disabled,o["ɵnov"](e,188).errorState,o["ɵnov"](e,188).required,o["ɵnov"](e,188).empty]),n(e,195,1,["standard"==o["ɵnov"](e,196).appearance,"fill"==o["ɵnov"](e,196).appearance,"outline"==o["ɵnov"](e,196).appearance,"legacy"==o["ɵnov"](e,196).appearance,o["ɵnov"](e,196)._control.errorState,o["ɵnov"](e,196)._canLabelFloat,o["ɵnov"](e,196)._shouldLabelFloat(),o["ɵnov"](e,196)._hasFloatingLabel(),o["ɵnov"](e,196)._hideControlPlaceholder(),o["ɵnov"](e,196)._control.disabled,o["ɵnov"](e,196)._control.autofilled,o["ɵnov"](e,196)._control.focused,"accent"==o["ɵnov"](e,196).color,"warn"==o["ɵnov"](e,196).color,o["ɵnov"](e,196)._shouldForward("untouched"),o["ɵnov"](e,196)._shouldForward("touched"),o["ɵnov"](e,196)._shouldForward("pristine"),o["ɵnov"](e,196)._shouldForward("dirty"),o["ɵnov"](e,196)._shouldForward("valid"),o["ɵnov"](e,196)._shouldForward("invalid"),o["ɵnov"](e,196)._shouldForward("pending"),!o["ɵnov"](e,196)._animationsEnabled]),n(e,206,1,[o["ɵnov"](e,210).ngClassUntouched,o["ɵnov"](e,210).ngClassTouched,o["ɵnov"](e,210).ngClassPristine,o["ɵnov"](e,210).ngClassDirty,o["ɵnov"](e,210).ngClassValid,o["ɵnov"](e,210).ngClassInvalid,o["ɵnov"](e,210).ngClassPending,o["ɵnov"](e,211).id,o["ɵnov"](e,211).tabIndex,o["ɵnov"](e,211)._getAriaLabel(),o["ɵnov"](e,211)._getAriaLabelledby(),o["ɵnov"](e,211).required.toString(),o["ɵnov"](e,211).disabled.toString(),o["ɵnov"](e,211).errorState,o["ɵnov"](e,211).panelOpen?o["ɵnov"](e,211)._optionIds:null,o["ɵnov"](e,211).multiple,o["ɵnov"](e,211)._ariaDescribedby||null,o["ɵnov"](e,211)._getAriaActiveDescendant(),o["ɵnov"](e,211).disabled,o["ɵnov"](e,211).errorState,o["ɵnov"](e,211).required,o["ɵnov"](e,211).empty]),n(e,218,1,["standard"==o["ɵnov"](e,219).appearance,"fill"==o["ɵnov"](e,219).appearance,"outline"==o["ɵnov"](e,219).appearance,"legacy"==o["ɵnov"](e,219).appearance,o["ɵnov"](e,219)._control.errorState,o["ɵnov"](e,219)._canLabelFloat,o["ɵnov"](e,219)._shouldLabelFloat(),o["ɵnov"](e,219)._hasFloatingLabel(),o["ɵnov"](e,219)._hideControlPlaceholder(),o["ɵnov"](e,219)._control.disabled,o["ɵnov"](e,219)._control.autofilled,o["ɵnov"](e,219)._control.focused,"accent"==o["ɵnov"](e,219).color,"warn"==o["ɵnov"](e,219).color,o["ɵnov"](e,219)._shouldForward("untouched"),o["ɵnov"](e,219)._shouldForward("touched"),o["ɵnov"](e,219)._shouldForward("pristine"),o["ɵnov"](e,219)._shouldForward("dirty"),o["ɵnov"](e,219)._shouldForward("valid"),o["ɵnov"](e,219)._shouldForward("invalid"),o["ɵnov"](e,219)._shouldForward("pending"),!o["ɵnov"](e,219)._animationsEnabled]),n(e,229,1,[o["ɵnov"](e,233).ngClassUntouched,o["ɵnov"](e,233).ngClassTouched,o["ɵnov"](e,233).ngClassPristine,o["ɵnov"](e,233).ngClassDirty,o["ɵnov"](e,233).ngClassValid,o["ɵnov"](e,233).ngClassInvalid,o["ɵnov"](e,233).ngClassPending,o["ɵnov"](e,234).id,o["ɵnov"](e,234).tabIndex,o["ɵnov"](e,234)._getAriaLabel(),o["ɵnov"](e,234)._getAriaLabelledby(),o["ɵnov"](e,234).required.toString(),o["ɵnov"](e,234).disabled.toString(),o["ɵnov"](e,234).errorState,o["ɵnov"](e,234).panelOpen?o["ɵnov"](e,234)._optionIds:null,o["ɵnov"](e,234).multiple,o["ɵnov"](e,234)._ariaDescribedby||null,o["ɵnov"](e,234)._getAriaActiveDescendant(),o["ɵnov"](e,234).disabled,o["ɵnov"](e,234).errorState,o["ɵnov"](e,234).required,o["ɵnov"](e,234).empty]),n(e,241,1,[o["ɵnov"](e,242).id,null,o["ɵnov"](e,242).indeterminate,o["ɵnov"](e,242).checked,o["ɵnov"](e,242).disabled,"before"==o["ɵnov"](e,242).labelPosition,"NoopAnimations"===o["ɵnov"](e,242)._animationMode,o["ɵnov"](e,246).ngClassUntouched,o["ɵnov"](e,246).ngClassTouched,o["ɵnov"](e,246).ngClassPristine,o["ɵnov"](e,246).ngClassDirty,o["ɵnov"](e,246).ngClassValid,o["ɵnov"](e,246).ngClassInvalid,o["ɵnov"](e,246).ngClassPending]),n(e,248,0,o["ɵnov"](e,249).expanded,"NoopAnimations"===o["ɵnov"](e,249)._animationMode,o["ɵnov"](e,249)._hasSpacing());var f=o["ɵnov"](e,253).panel._headerId,h=o["ɵnov"](e,253).disabled?-1:0,m=o["ɵnov"](e,253)._getPanelId(),v=o["ɵnov"](e,253)._isExpanded(),g=o["ɵnov"](e,253).panel.disabled,b=o["ɵnov"](e,253)._isExpanded(),_="after"===o["ɵnov"](e,253)._getTogglePosition(),y="before"===o["ɵnov"](e,253)._getTogglePosition(),C=o["ɵnov"](e,253)._animationsDisabled,w=n(e,255,0,o["ɵnov"](e,253)._getExpandedState(),n(e,254,0,o["ɵnov"](e,253).collapsedHeight,o["ɵnov"](e,253).expandedHeight));n(e,252,0,f,h,m,v,g,b,_,y,C,w),n(e,259,0,"NoopAnimations"===o["ɵnov"](e,260)._animationMode),n(e,268,1,["standard"==o["ɵnov"](e,269).appearance,"fill"==o["ɵnov"](e,269).appearance,"outline"==o["ɵnov"](e,269).appearance,"legacy"==o["ɵnov"](e,269).appearance,o["ɵnov"](e,269)._control.errorState,o["ɵnov"](e,269)._canLabelFloat,o["ɵnov"](e,269)._shouldLabelFloat(),o["ɵnov"](e,269)._hasFloatingLabel(),o["ɵnov"](e,269)._hideControlPlaceholder(),o["ɵnov"](e,269)._control.disabled,o["ɵnov"](e,269)._control.autofilled,o["ɵnov"](e,269)._control.focused,"accent"==o["ɵnov"](e,269).color,"warn"==o["ɵnov"](e,269).color,o["ɵnov"](e,269)._shouldForward("untouched"),o["ɵnov"](e,269)._shouldForward("touched"),o["ɵnov"](e,269)._shouldForward("pristine"),o["ɵnov"](e,269)._shouldForward("dirty"),o["ɵnov"](e,269)._shouldForward("valid"),o["ɵnov"](e,269)._shouldForward("invalid"),o["ɵnov"](e,269)._shouldForward("pending"),!o["ɵnov"](e,269)._animationsEnabled]),n(e,279,1,[o["ɵnov"](e,284).ngClassUntouched,o["ɵnov"](e,284).ngClassTouched,o["ɵnov"](e,284).ngClassPristine,o["ɵnov"](e,284).ngClassDirty,o["ɵnov"](e,284).ngClassValid,o["ɵnov"](e,284).ngClassInvalid,o["ɵnov"](e,284).ngClassPending,o["ɵnov"](e,285)._isServer,o["ɵnov"](e,285).id,o["ɵnov"](e,285).placeholder,o["ɵnov"](e,285).disabled,o["ɵnov"](e,285).required,o["ɵnov"](e,285).readonly&&!o["ɵnov"](e,285)._isNativeSelect||null,o["ɵnov"](e,285)._ariaDescribedby||null,o["ɵnov"](e,285).errorState,o["ɵnov"](e,285).required.toString()]),n(e,287,1,["standard"==o["ɵnov"](e,288).appearance,"fill"==o["ɵnov"](e,288).appearance,"outline"==o["ɵnov"](e,288).appearance,"legacy"==o["ɵnov"](e,288).appearance,o["ɵnov"](e,288)._control.errorState,o["ɵnov"](e,288)._canLabelFloat,o["ɵnov"](e,288)._shouldLabelFloat(),o["ɵnov"](e,288)._hasFloatingLabel(),o["ɵnov"](e,288)._hideControlPlaceholder(),o["ɵnov"](e,288)._control.disabled,o["ɵnov"](e,288)._control.autofilled,o["ɵnov"](e,288)._control.focused,"accent"==o["ɵnov"](e,288).color,"warn"==o["ɵnov"](e,288).color,o["ɵnov"](e,288)._shouldForward("untouched"),o["ɵnov"](e,288)._shouldForward("touched"),o["ɵnov"](e,288)._shouldForward("pristine"),o["ɵnov"](e,288)._shouldForward("dirty"),o["ɵnov"](e,288)._shouldForward("valid"),o["ɵnov"](e,288)._shouldForward("invalid"),o["ɵnov"](e,288)._shouldForward("pending"),!o["ɵnov"](e,288)._animationsEnabled]),n(e,298,1,[o["ɵnov"](e,302).ngClassUntouched,o["ɵnov"](e,302).ngClassTouched,o["ɵnov"](e,302).ngClassPristine,o["ɵnov"](e,302).ngClassDirty,o["ɵnov"](e,302).ngClassValid,o["ɵnov"](e,302).ngClassInvalid,o["ɵnov"](e,302).ngClassPending,o["ɵnov"](e,303).id,o["ɵnov"](e,303).tabIndex,o["ɵnov"](e,303)._getAriaLabel(),o["ɵnov"](e,303)._getAriaLabelledby(),o["ɵnov"](e,303).required.toString(),o["ɵnov"](e,303).disabled.toString(),o["ɵnov"](e,303).errorState,o["ɵnov"](e,303).panelOpen?o["ɵnov"](e,303)._optionIds:null,o["ɵnov"](e,303).multiple,o["ɵnov"](e,303)._ariaDescribedby||null,o["ɵnov"](e,303)._getAriaActiveDescendant(),o["ɵnov"](e,303).disabled,o["ɵnov"](e,303).errorState,o["ɵnov"](e,303).required,o["ɵnov"](e,303).empty]),n(e,310,0,"NoopAnimations"===o["ɵnov"](e,311)._animationMode),n(e,319,1,["standard"==o["ɵnov"](e,320).appearance,"fill"==o["ɵnov"](e,320).appearance,"outline"==o["ɵnov"](e,320).appearance,"legacy"==o["ɵnov"](e,320).appearance,o["ɵnov"](e,320)._control.errorState,o["ɵnov"](e,320)._canLabelFloat,o["ɵnov"](e,320)._shouldLabelFloat(),o["ɵnov"](e,320)._hasFloatingLabel(),o["ɵnov"](e,320)._hideControlPlaceholder(),o["ɵnov"](e,320)._control.disabled,o["ɵnov"](e,320)._control.autofilled,o["ɵnov"](e,320)._control.focused,"accent"==o["ɵnov"](e,320).color,"warn"==o["ɵnov"](e,320).color,o["ɵnov"](e,320)._shouldForward("untouched"),o["ɵnov"](e,320)._shouldForward("touched"),o["ɵnov"](e,320)._shouldForward("pristine"),o["ɵnov"](e,320)._shouldForward("dirty"),o["ɵnov"](e,320)._shouldForward("valid"),o["ɵnov"](e,320)._shouldForward("invalid"),o["ɵnov"](e,320)._shouldForward("pending"),!o["ɵnov"](e,320)._animationsEnabled]),n(e,330,1,[o["ɵnov"](e,335).ngClassUntouched,o["ɵnov"](e,335).ngClassTouched,o["ɵnov"](e,335).ngClassPristine,o["ɵnov"](e,335).ngClassDirty,o["ɵnov"](e,335).ngClassValid,o["ɵnov"](e,335).ngClassInvalid,o["ɵnov"](e,335).ngClassPending,o["ɵnov"](e,336)._isServer,o["ɵnov"](e,336).id,o["ɵnov"](e,336).placeholder,o["ɵnov"](e,336).disabled,o["ɵnov"](e,336).required,o["ɵnov"](e,336).readonly&&!o["ɵnov"](e,336)._isNativeSelect||null,o["ɵnov"](e,336)._ariaDescribedby||null,o["ɵnov"](e,336).errorState,o["ɵnov"](e,336).required.toString()]),n(e,338,1,["standard"==o["ɵnov"](e,339).appearance,"fill"==o["ɵnov"](e,339).appearance,"outline"==o["ɵnov"](e,339).appearance,"legacy"==o["ɵnov"](e,339).appearance,o["ɵnov"](e,339)._control.errorState,o["ɵnov"](e,339)._canLabelFloat,o["ɵnov"](e,339)._shouldLabelFloat(),o["ɵnov"](e,339)._hasFloatingLabel(),o["ɵnov"](e,339)._hideControlPlaceholder(),o["ɵnov"](e,339)._control.disabled,o["ɵnov"](e,339)._control.autofilled,o["ɵnov"](e,339)._control.focused,"accent"==o["ɵnov"](e,339).color,"warn"==o["ɵnov"](e,339).color,o["ɵnov"](e,339)._shouldForward("untouched"),o["ɵnov"](e,339)._shouldForward("touched"),o["ɵnov"](e,339)._shouldForward("pristine"),o["ɵnov"](e,339)._shouldForward("dirty"),o["ɵnov"](e,339)._shouldForward("valid"),o["ɵnov"](e,339)._shouldForward("invalid"),o["ɵnov"](e,339)._shouldForward("pending"),!o["ɵnov"](e,339)._animationsEnabled]),n(e,349,1,[o["ɵnov"](e,353).ngClassUntouched,o["ɵnov"](e,353).ngClassTouched,o["ɵnov"](e,353).ngClassPristine,o["ɵnov"](e,353).ngClassDirty,o["ɵnov"](e,353).ngClassValid,o["ɵnov"](e,353).ngClassInvalid,o["ɵnov"](e,353).ngClassPending,o["ɵnov"](e,354).id,o["ɵnov"](e,354).tabIndex,o["ɵnov"](e,354)._getAriaLabel(),o["ɵnov"](e,354)._getAriaLabelledby(),o["ɵnov"](e,354).required.toString(),o["ɵnov"](e,354).disabled.toString(),o["ɵnov"](e,354).errorState,o["ɵnov"](e,354).panelOpen?o["ɵnov"](e,354)._optionIds:null,o["ɵnov"](e,354).multiple,o["ɵnov"](e,354)._ariaDescribedby||null,o["ɵnov"](e,354)._getAriaActiveDescendant(),o["ɵnov"](e,354).disabled,o["ɵnov"](e,354).errorState,o["ɵnov"](e,354).required,o["ɵnov"](e,354).empty]),n(e,361,0,"NoopAnimations"===o["ɵnov"](e,362)._animationMode),n(e,370,1,["standard"==o["ɵnov"](e,371).appearance,"fill"==o["ɵnov"](e,371).appearance,"outline"==o["ɵnov"](e,371).appearance,"legacy"==o["ɵnov"](e,371).appearance,o["ɵnov"](e,371)._control.errorState,o["ɵnov"](e,371)._canLabelFloat,o["ɵnov"](e,371)._shouldLabelFloat(),o["ɵnov"](e,371)._hasFloatingLabel(),o["ɵnov"](e,371)._hideControlPlaceholder(),o["ɵnov"](e,371)._control.disabled,o["ɵnov"](e,371)._control.autofilled,o["ɵnov"](e,371)._control.focused,"accent"==o["ɵnov"](e,371).color,"warn"==o["ɵnov"](e,371).color,o["ɵnov"](e,371)._shouldForward("untouched"),o["ɵnov"](e,371)._shouldForward("touched"),o["ɵnov"](e,371)._shouldForward("pristine"),o["ɵnov"](e,371)._shouldForward("dirty"),o["ɵnov"](e,371)._shouldForward("valid"),o["ɵnov"](e,371)._shouldForward("invalid"),o["ɵnov"](e,371)._shouldForward("pending"),!o["ɵnov"](e,371)._animationsEnabled]),n(e,381,1,[o["ɵnov"](e,386).ngClassUntouched,o["ɵnov"](e,386).ngClassTouched,o["ɵnov"](e,386).ngClassPristine,o["ɵnov"](e,386).ngClassDirty,o["ɵnov"](e,386).ngClassValid,o["ɵnov"](e,386).ngClassInvalid,o["ɵnov"](e,386).ngClassPending,o["ɵnov"](e,387)._isServer,o["ɵnov"](e,387).id,o["ɵnov"](e,387).placeholder,o["ɵnov"](e,387).disabled,o["ɵnov"](e,387).required,o["ɵnov"](e,387).readonly&&!o["ɵnov"](e,387)._isNativeSelect||null,o["ɵnov"](e,387)._ariaDescribedby||null,o["ɵnov"](e,387).errorState,o["ɵnov"](e,387).required.toString()]),n(e,389,1,["standard"==o["ɵnov"](e,390).appearance,"fill"==o["ɵnov"](e,390).appearance,"outline"==o["ɵnov"](e,390).appearance,"legacy"==o["ɵnov"](e,390).appearance,o["ɵnov"](e,390)._control.errorState,o["ɵnov"](e,390)._canLabelFloat,o["ɵnov"](e,390)._shouldLabelFloat(),o["ɵnov"](e,390)._hasFloatingLabel(),o["ɵnov"](e,390)._hideControlPlaceholder(),o["ɵnov"](e,390)._control.disabled,o["ɵnov"](e,390)._control.autofilled,o["ɵnov"](e,390)._control.focused,"accent"==o["ɵnov"](e,390).color,"warn"==o["ɵnov"](e,390).color,o["ɵnov"](e,390)._shouldForward("untouched"),o["ɵnov"](e,390)._shouldForward("touched"),o["ɵnov"](e,390)._shouldForward("pristine"),o["ɵnov"](e,390)._shouldForward("dirty"),o["ɵnov"](e,390)._shouldForward("valid"),o["ɵnov"](e,390)._shouldForward("invalid"),o["ɵnov"](e,390)._shouldForward("pending"),!o["ɵnov"](e,390)._animationsEnabled]),n(e,400,1,[o["ɵnov"](e,404).ngClassUntouched,o["ɵnov"](e,404).ngClassTouched,o["ɵnov"](e,404).ngClassPristine,o["ɵnov"](e,404).ngClassDirty,o["ɵnov"](e,404).ngClassValid,o["ɵnov"](e,404).ngClassInvalid,o["ɵnov"](e,404).ngClassPending,o["ɵnov"](e,405).id,o["ɵnov"](e,405).tabIndex,o["ɵnov"](e,405)._getAriaLabel(),o["ɵnov"](e,405)._getAriaLabelledby(),o["ɵnov"](e,405).required.toString(),o["ɵnov"](e,405).disabled.toString(),o["ɵnov"](e,405).errorState,o["ɵnov"](e,405).panelOpen?o["ɵnov"](e,405)._optionIds:null,o["ɵnov"](e,405).multiple,o["ɵnov"](e,405)._ariaDescribedby||null,o["ɵnov"](e,405)._getAriaActiveDescendant(),o["ɵnov"](e,405).disabled,o["ɵnov"](e,405).errorState,o["ɵnov"](e,405).required,o["ɵnov"](e,405).empty]),n(e,412,0,"NoopAnimations"===o["ɵnov"](e,413)._animationMode),n(e,421,1,["standard"==o["ɵnov"](e,422).appearance,"fill"==o["ɵnov"](e,422).appearance,"outline"==o["ɵnov"](e,422).appearance,"legacy"==o["ɵnov"](e,422).appearance,o["ɵnov"](e,422)._control.errorState,o["ɵnov"](e,422)._canLabelFloat,o["ɵnov"](e,422)._shouldLabelFloat(),o["ɵnov"](e,422)._hasFloatingLabel(),o["ɵnov"](e,422)._hideControlPlaceholder(),o["ɵnov"](e,422)._control.disabled,o["ɵnov"](e,422)._control.autofilled,o["ɵnov"](e,422)._control.focused,"accent"==o["ɵnov"](e,422).color,"warn"==o["ɵnov"](e,422).color,o["ɵnov"](e,422)._shouldForward("untouched"),o["ɵnov"](e,422)._shouldForward("touched"),o["ɵnov"](e,422)._shouldForward("pristine"),o["ɵnov"](e,422)._shouldForward("dirty"),o["ɵnov"](e,422)._shouldForward("valid"),o["ɵnov"](e,422)._shouldForward("invalid"),o["ɵnov"](e,422)._shouldForward("pending"),!o["ɵnov"](e,422)._animationsEnabled]),n(e,432,1,[o["ɵnov"](e,437).ngClassUntouched,o["ɵnov"](e,437).ngClassTouched,o["ɵnov"](e,437).ngClassPristine,o["ɵnov"](e,437).ngClassDirty,o["ɵnov"](e,437).ngClassValid,o["ɵnov"](e,437).ngClassInvalid,o["ɵnov"](e,437).ngClassPending,o["ɵnov"](e,438)._isServer,o["ɵnov"](e,438).id,o["ɵnov"](e,438).placeholder,o["ɵnov"](e,438).disabled,o["ɵnov"](e,438).required,o["ɵnov"](e,438).readonly&&!o["ɵnov"](e,438)._isNativeSelect||null,o["ɵnov"](e,438)._ariaDescribedby||null,o["ɵnov"](e,438).errorState,o["ɵnov"](e,438).required.toString()]),n(e,440,1,["standard"==o["ɵnov"](e,441).appearance,"fill"==o["ɵnov"](e,441).appearance,"outline"==o["ɵnov"](e,441).appearance,"legacy"==o["ɵnov"](e,441).appearance,o["ɵnov"](e,441)._control.errorState,o["ɵnov"](e,441)._canLabelFloat,o["ɵnov"](e,441)._shouldLabelFloat(),o["ɵnov"](e,441)._hasFloatingLabel(),o["ɵnov"](e,441)._hideControlPlaceholder(),o["ɵnov"](e,441)._control.disabled,o["ɵnov"](e,441)._control.autofilled,o["ɵnov"](e,441)._control.focused,"accent"==o["ɵnov"](e,441).color,"warn"==o["ɵnov"](e,441).color,o["ɵnov"](e,441)._shouldForward("untouched"),o["ɵnov"](e,441)._shouldForward("touched"),o["ɵnov"](e,441)._shouldForward("pristine"),o["ɵnov"](e,441)._shouldForward("dirty"),o["ɵnov"](e,441)._shouldForward("valid"),o["ɵnov"](e,441)._shouldForward("invalid"),o["ɵnov"](e,441)._shouldForward("pending"),!o["ɵnov"](e,441)._animationsEnabled]),n(e,451,1,[o["ɵnov"](e,455).ngClassUntouched,o["ɵnov"](e,455).ngClassTouched,o["ɵnov"](e,455).ngClassPristine,o["ɵnov"](e,455).ngClassDirty,o["ɵnov"](e,455).ngClassValid,o["ɵnov"](e,455).ngClassInvalid,o["ɵnov"](e,455).ngClassPending,o["ɵnov"](e,456).id,o["ɵnov"](e,456).tabIndex,o["ɵnov"](e,456)._getAriaLabel(),o["ɵnov"](e,456)._getAriaLabelledby(),o["ɵnov"](e,456).required.toString(),o["ɵnov"](e,456).disabled.toString(),o["ɵnov"](e,456).errorState,o["ɵnov"](e,456).panelOpen?o["ɵnov"](e,456)._optionIds:null,o["ɵnov"](e,456).multiple,o["ɵnov"](e,456)._ariaDescribedby||null,o["ɵnov"](e,456)._getAriaActiveDescendant(),o["ɵnov"](e,456).disabled,o["ɵnov"](e,456).errorState,o["ɵnov"](e,456).required,o["ɵnov"](e,456).empty]),n(e,463,0,o["ɵnov"](e,464).expanded,"NoopAnimations"===o["ɵnov"](e,464)._animationMode,o["ɵnov"](e,464)._hasSpacing());var S=o["ɵnov"](e,468).panel._headerId,x=o["ɵnov"](e,468).disabled?-1:0,k=o["ɵnov"](e,468)._getPanelId(),E=o["ɵnov"](e,468)._isExpanded(),T=o["ɵnov"](e,468).panel.disabled,R=o["ɵnov"](e,468)._isExpanded(),I="after"===o["ɵnov"](e,468)._getTogglePosition(),D="before"===o["ɵnov"](e,468)._getTogglePosition(),F=o["ɵnov"](e,468)._animationsDisabled,O=n(e,470,0,o["ɵnov"](e,468)._getExpandedState(),n(e,469,0,o["ɵnov"](e,468).collapsedHeight,o["ɵnov"](e,468).expandedHeight));n(e,467,0,S,x,k,E,T,R,I,D,F,O),n(e,475,0,o["ɵnov"](e,476).disabled||null,"NoopAnimations"===o["ɵnov"](e,476)._animationMode),n(e,479,1,["standard"==o["ɵnov"](e,480).appearance,"fill"==o["ɵnov"](e,480).appearance,"outline"==o["ɵnov"](e,480).appearance,"legacy"==o["ɵnov"](e,480).appearance,o["ɵnov"](e,480)._control.errorState,o["ɵnov"](e,480)._canLabelFloat,o["ɵnov"](e,480)._shouldLabelFloat(),o["ɵnov"](e,480)._hasFloatingLabel(),o["ɵnov"](e,480)._hideControlPlaceholder(),o["ɵnov"](e,480)._control.disabled,o["ɵnov"](e,480)._control.autofilled,o["ɵnov"](e,480)._control.focused,"accent"==o["ɵnov"](e,480).color,"warn"==o["ɵnov"](e,480).color,o["ɵnov"](e,480)._shouldForward("untouched"),o["ɵnov"](e,480)._shouldForward("touched"),o["ɵnov"](e,480)._shouldForward("pristine"),o["ɵnov"](e,480)._shouldForward("dirty"),o["ɵnov"](e,480)._shouldForward("valid"),o["ɵnov"](e,480)._shouldForward("invalid"),o["ɵnov"](e,480)._shouldForward("pending"),!o["ɵnov"](e,480)._animationsEnabled]),n(e,490,1,[o["ɵnov"](e,495).ngClassUntouched,o["ɵnov"](e,495).ngClassTouched,o["ɵnov"](e,495).ngClassPristine,o["ɵnov"](e,495).ngClassDirty,o["ɵnov"](e,495).ngClassValid,o["ɵnov"](e,495).ngClassInvalid,o["ɵnov"](e,495).ngClassPending,o["ɵnov"](e,496)._isServer,o["ɵnov"](e,496).id,o["ɵnov"](e,496).placeholder,o["ɵnov"](e,496).disabled,o["ɵnov"](e,496).required,o["ɵnov"](e,496).readonly&&!o["ɵnov"](e,496)._isNativeSelect||null,o["ɵnov"](e,496)._ariaDescribedby||null,o["ɵnov"](e,496).errorState,o["ɵnov"](e,496).required.toString()]),n(e,498,0,o["ɵnov"](e,499).expanded,"NoopAnimations"===o["ɵnov"](e,499)._animationMode,o["ɵnov"](e,499)._hasSpacing());var M=o["ɵnov"](e,503).panel._headerId,N=o["ɵnov"](e,503).disabled?-1:0,A=o["ɵnov"](e,503)._getPanelId(),P=o["ɵnov"](e,503)._isExpanded(),q=o["ɵnov"](e,503).panel.disabled,L=o["ɵnov"](e,503)._isExpanded(),j="after"===o["ɵnov"](e,503)._getTogglePosition(),V="before"===o["ɵnov"](e,503)._getTogglePosition(),B=o["ɵnov"](e,503)._animationsDisabled,H=n(e,505,0,o["ɵnov"](e,503)._getExpandedState(),n(e,504,0,o["ɵnov"](e,503).collapsedHeight,o["ɵnov"](e,503).expandedHeight));n(e,502,0,M,N,A,P,q,L,j,V,B,H),n(e,509,1,["standard"==o["ɵnov"](e,510).appearance,"fill"==o["ɵnov"](e,510).appearance,"outline"==o["ɵnov"](e,510).appearance,"legacy"==o["ɵnov"](e,510).appearance,o["ɵnov"](e,510)._control.errorState,o["ɵnov"](e,510)._canLabelFloat,o["ɵnov"](e,510)._shouldLabelFloat(),o["ɵnov"](e,510)._hasFloatingLabel(),o["ɵnov"](e,510)._hideControlPlaceholder(),o["ɵnov"](e,510)._control.disabled,o["ɵnov"](e,510)._control.autofilled,o["ɵnov"](e,510)._control.focused,"accent"==o["ɵnov"](e,510).color,"warn"==o["ɵnov"](e,510).color,o["ɵnov"](e,510)._shouldForward("untouched"),o["ɵnov"](e,510)._shouldForward("touched"),o["ɵnov"](e,510)._shouldForward("pristine"),o["ɵnov"](e,510)._shouldForward("dirty"),o["ɵnov"](e,510)._shouldForward("valid"),o["ɵnov"](e,510)._shouldForward("invalid"),o["ɵnov"](e,510)._shouldForward("pending"),!o["ɵnov"](e,510)._animationsEnabled]),n(e,520,1,[o["ɵnov"](e,526).ngClassUntouched,o["ɵnov"](e,526).ngClassTouched,o["ɵnov"](e,526).ngClassPristine,o["ɵnov"](e,526).ngClassDirty,o["ɵnov"](e,526).ngClassValid,o["ɵnov"](e,526).ngClassInvalid,o["ɵnov"](e,526).ngClassPending,o["ɵnov"](e,527)._isServer,o["ɵnov"](e,527).id,o["ɵnov"](e,527).placeholder,o["ɵnov"](e,527).disabled,o["ɵnov"](e,527).required,o["ɵnov"](e,527).readonly&&!o["ɵnov"](e,527)._isNativeSelect||null,o["ɵnov"](e,527)._ariaDescribedby||null,o["ɵnov"](e,527).errorState,o["ɵnov"](e,527).required.toString()]),n(e,529,1,["standard"==o["ɵnov"](e,530).appearance,"fill"==o["ɵnov"](e,530).appearance,"outline"==o["ɵnov"](e,530).appearance,"legacy"==o["ɵnov"](e,530).appearance,o["ɵnov"](e,530)._control.errorState,o["ɵnov"](e,530)._canLabelFloat,o["ɵnov"](e,530)._shouldLabelFloat(),o["ɵnov"](e,530)._hasFloatingLabel(),o["ɵnov"](e,530)._hideControlPlaceholder(),o["ɵnov"](e,530)._control.disabled,o["ɵnov"](e,530)._control.autofilled,o["ɵnov"](e,530)._control.focused,"accent"==o["ɵnov"](e,530).color,"warn"==o["ɵnov"](e,530).color,o["ɵnov"](e,530)._shouldForward("untouched"),o["ɵnov"](e,530)._shouldForward("touched"),o["ɵnov"](e,530)._shouldForward("pristine"),o["ɵnov"](e,530)._shouldForward("dirty"),o["ɵnov"](e,530)._shouldForward("valid"),o["ɵnov"](e,530)._shouldForward("invalid"),o["ɵnov"](e,530)._shouldForward("pending"),!o["ɵnov"](e,530)._animationsEnabled]),n(e,540,1,[o["ɵnov"](e,545).ngClassUntouched,o["ɵnov"](e,545).ngClassTouched,o["ɵnov"](e,545).ngClassPristine,o["ɵnov"](e,545).ngClassDirty,o["ɵnov"](e,545).ngClassValid,o["ɵnov"](e,545).ngClassInvalid,o["ɵnov"](e,545).ngClassPending,o["ɵnov"](e,546)._isServer,o["ɵnov"](e,546).id,o["ɵnov"](e,546).placeholder,o["ɵnov"](e,546).disabled,o["ɵnov"](e,546).required,o["ɵnov"](e,546).readonly&&!o["ɵnov"](e,546)._isNativeSelect||null,o["ɵnov"](e,546)._ariaDescribedby||null,o["ɵnov"](e,546).errorState,o["ɵnov"](e,546).required.toString()]),n(e,548,1,["standard"==o["ɵnov"](e,549).appearance,"fill"==o["ɵnov"](e,549).appearance,"outline"==o["ɵnov"](e,549).appearance,"legacy"==o["ɵnov"](e,549).appearance,o["ɵnov"](e,549)._control.errorState,o["ɵnov"](e,549)._canLabelFloat,o["ɵnov"](e,549)._shouldLabelFloat(),o["ɵnov"](e,549)._hasFloatingLabel(),o["ɵnov"](e,549)._hideControlPlaceholder(),o["ɵnov"](e,549)._control.disabled,o["ɵnov"](e,549)._control.autofilled,o["ɵnov"](e,549)._control.focused,"accent"==o["ɵnov"](e,549).color,"warn"==o["ɵnov"](e,549).color,o["ɵnov"](e,549)._shouldForward("untouched"),o["ɵnov"](e,549)._shouldForward("touched"),o["ɵnov"](e,549)._shouldForward("pristine"),o["ɵnov"](e,549)._shouldForward("dirty"),o["ɵnov"](e,549)._shouldForward("valid"),o["ɵnov"](e,549)._shouldForward("invalid"),o["ɵnov"](e,549)._shouldForward("pending"),!o["ɵnov"](e,549)._animationsEnabled]),n(e,559,1,[o["ɵnov"](e,564).ngClassUntouched,o["ɵnov"](e,564).ngClassTouched,o["ɵnov"](e,564).ngClassPristine,o["ɵnov"](e,564).ngClassDirty,o["ɵnov"](e,564).ngClassValid,o["ɵnov"](e,564).ngClassInvalid,o["ɵnov"](e,564).ngClassPending,o["ɵnov"](e,565)._isServer,o["ɵnov"](e,565).id,o["ɵnov"](e,565).placeholder,o["ɵnov"](e,565).disabled,o["ɵnov"](e,565).required,o["ɵnov"](e,565).readonly&&!o["ɵnov"](e,565)._isNativeSelect||null,o["ɵnov"](e,565)._ariaDescribedby||null,o["ɵnov"](e,565).errorState,o["ɵnov"](e,565).required.toString()]),n(e,567,1,["standard"==o["ɵnov"](e,568).appearance,"fill"==o["ɵnov"](e,568).appearance,"outline"==o["ɵnov"](e,568).appearance,"legacy"==o["ɵnov"](e,568).appearance,o["ɵnov"](e,568)._control.errorState,o["ɵnov"](e,568)._canLabelFloat,o["ɵnov"](e,568)._shouldLabelFloat(),o["ɵnov"](e,568)._hasFloatingLabel(),o["ɵnov"](e,568)._hideControlPlaceholder(),o["ɵnov"](e,568)._control.disabled,o["ɵnov"](e,568)._control.autofilled,o["ɵnov"](e,568)._control.focused,"accent"==o["ɵnov"](e,568).color,"warn"==o["ɵnov"](e,568).color,o["ɵnov"](e,568)._shouldForward("untouched"),o["ɵnov"](e,568)._shouldForward("touched"),o["ɵnov"](e,568)._shouldForward("pristine"),o["ɵnov"](e,568)._shouldForward("dirty"),o["ɵnov"](e,568)._shouldForward("valid"),o["ɵnov"](e,568)._shouldForward("invalid"),o["ɵnov"](e,568)._shouldForward("pending"),!o["ɵnov"](e,568)._animationsEnabled]),n(e,578,1,[o["ɵnov"](e,584).ngClassUntouched,o["ɵnov"](e,584).ngClassTouched,o["ɵnov"](e,584).ngClassPristine,o["ɵnov"](e,584).ngClassDirty,o["ɵnov"](e,584).ngClassValid,o["ɵnov"](e,584).ngClassInvalid,o["ɵnov"](e,584).ngClassPending,o["ɵnov"](e,585)._isServer,o["ɵnov"](e,585).id,o["ɵnov"](e,585).placeholder,o["ɵnov"](e,585).disabled,o["ɵnov"](e,585).required,o["ɵnov"](e,585).readonly&&!o["ɵnov"](e,585)._isNativeSelect||null,o["ɵnov"](e,585)._ariaDescribedby||null,o["ɵnov"](e,585).errorState,o["ɵnov"](e,585).required.toString()]),n(e,587,1,["standard"==o["ɵnov"](e,588).appearance,"fill"==o["ɵnov"](e,588).appearance,"outline"==o["ɵnov"](e,588).appearance,"legacy"==o["ɵnov"](e,588).appearance,o["ɵnov"](e,588)._control.errorState,o["ɵnov"](e,588)._canLabelFloat,o["ɵnov"](e,588)._shouldLabelFloat(),o["ɵnov"](e,588)._hasFloatingLabel(),o["ɵnov"](e,588)._hideControlPlaceholder(),o["ɵnov"](e,588)._control.disabled,o["ɵnov"](e,588)._control.autofilled,o["ɵnov"](e,588)._control.focused,"accent"==o["ɵnov"](e,588).color,"warn"==o["ɵnov"](e,588).color,o["ɵnov"](e,588)._shouldForward("untouched"),o["ɵnov"](e,588)._shouldForward("touched"),o["ɵnov"](e,588)._shouldForward("pristine"),o["ɵnov"](e,588)._shouldForward("dirty"),o["ɵnov"](e,588)._shouldForward("valid"),o["ɵnov"](e,588)._shouldForward("invalid"),o["ɵnov"](e,588)._shouldForward("pending"),!o["ɵnov"](e,588)._animationsEnabled]),n(e,598,1,[o["ɵnov"](e,603).ngClassUntouched,o["ɵnov"](e,603).ngClassTouched,o["ɵnov"](e,603).ngClassPristine,o["ɵnov"](e,603).ngClassDirty,o["ɵnov"](e,603).ngClassValid,o["ɵnov"](e,603).ngClassInvalid,o["ɵnov"](e,603).ngClassPending,o["ɵnov"](e,604)._isServer,o["ɵnov"](e,604).id,o["ɵnov"](e,604).placeholder,o["ɵnov"](e,604).disabled,o["ɵnov"](e,604).required,o["ɵnov"](e,604).readonly&&!o["ɵnov"](e,604)._isNativeSelect||null,o["ɵnov"](e,604)._ariaDescribedby||null,o["ɵnov"](e,604).errorState,o["ɵnov"](e,604).required.toString()]),n(e,606,1,["standard"==o["ɵnov"](e,607).appearance,"fill"==o["ɵnov"](e,607).appearance,"outline"==o["ɵnov"](e,607).appearance,"legacy"==o["ɵnov"](e,607).appearance,o["ɵnov"](e,607)._control.errorState,o["ɵnov"](e,607)._canLabelFloat,o["ɵnov"](e,607)._shouldLabelFloat(),o["ɵnov"](e,607)._hasFloatingLabel(),o["ɵnov"](e,607)._hideControlPlaceholder(),o["ɵnov"](e,607)._control.disabled,o["ɵnov"](e,607)._control.autofilled,o["ɵnov"](e,607)._control.focused,"accent"==o["ɵnov"](e,607).color,"warn"==o["ɵnov"](e,607).color,o["ɵnov"](e,607)._shouldForward("untouched"),o["ɵnov"](e,607)._shouldForward("touched"),o["ɵnov"](e,607)._shouldForward("pristine"),o["ɵnov"](e,607)._shouldForward("dirty"),o["ɵnov"](e,607)._shouldForward("valid"),o["ɵnov"](e,607)._shouldForward("invalid"),o["ɵnov"](e,607)._shouldForward("pending"),!o["ɵnov"](e,607)._animationsEnabled]),n(e,617,1,[o["ɵnov"](e,621).ngClassUntouched,o["ɵnov"](e,621).ngClassTouched,o["ɵnov"](e,621).ngClassPristine,o["ɵnov"](e,621).ngClassDirty,o["ɵnov"](e,621).ngClassValid,o["ɵnov"](e,621).ngClassInvalid,o["ɵnov"](e,621).ngClassPending,o["ɵnov"](e,622).id,o["ɵnov"](e,622).tabIndex,o["ɵnov"](e,622)._getAriaLabel(),o["ɵnov"](e,622)._getAriaLabelledby(),o["ɵnov"](e,622).required.toString(),o["ɵnov"](e,622).disabled.toString(),o["ɵnov"](e,622).errorState,o["ɵnov"](e,622).panelOpen?o["ɵnov"](e,622)._optionIds:null,o["ɵnov"](e,622).multiple,o["ɵnov"](e,622)._ariaDescribedby||null,o["ɵnov"](e,622)._getAriaActiveDescendant(),o["ɵnov"](e,622).disabled,o["ɵnov"](e,622).errorState,o["ɵnov"](e,622).required,o["ɵnov"](e,622).empty]),n(e,629,0,o["ɵnov"](e,630).disabled||null,"NoopAnimations"===o["ɵnov"](e,630)._animationMode),n(e,633,1,[o["ɵnov"](e,634).id,null,o["ɵnov"](e,634).indeterminate,o["ɵnov"](e,634).checked,o["ɵnov"](e,634).disabled,"before"==o["ɵnov"](e,634).labelPosition,"NoopAnimations"===o["ɵnov"](e,634)._animationMode,o["ɵnov"](e,638).ngClassUntouched,o["ɵnov"](e,638).ngClassTouched,o["ɵnov"](e,638).ngClassPristine,o["ɵnov"](e,638).ngClassDirty,o["ɵnov"](e,638).ngClassValid,o["ɵnov"](e,638).ngClassInvalid,o["ɵnov"](e,638).ngClassPending]),n(e,640,0,o["ɵnov"](e,641).expanded,"NoopAnimations"===o["ɵnov"](e,641)._animationMode,o["ɵnov"](e,641)._hasSpacing());var U=o["ɵnov"](e,645).panel._headerId,z=o["ɵnov"](e,645).disabled?-1:0,G=o["ɵnov"](e,645)._getPanelId(),W=o["ɵnov"](e,645)._isExpanded(),Z=o["ɵnov"](e,645).panel.disabled,K=o["ɵnov"](e,645)._isExpanded(),X="after"===o["ɵnov"](e,645)._getTogglePosition(),Y="before"===o["ɵnov"](e,645)._getTogglePosition(),$=o["ɵnov"](e,645)._animationsDisabled,Q=n(e,647,0,o["ɵnov"](e,645)._getExpandedState(),n(e,646,0,o["ɵnov"](e,645).collapsedHeight,o["ɵnov"](e,645).expandedHeight));n(e,644,0,U,z,G,W,Z,K,X,Y,$,Q),n(e,651,0,"NoopAnimations"===o["ɵnov"](e,652)._animationMode),n(e,661,0,o["ɵnov"](e,662).disabled||null,"NoopAnimations"===o["ɵnov"](e,662)._animationMode),n(e,665,1,["standard"==o["ɵnov"](e,666).appearance,"fill"==o["ɵnov"](e,666).appearance,"outline"==o["ɵnov"](e,666).appearance,"legacy"==o["ɵnov"](e,666).appearance,o["ɵnov"](e,666)._control.errorState,o["ɵnov"](e,666)._canLabelFloat,o["ɵnov"](e,666)._shouldLabelFloat(),o["ɵnov"](e,666)._hasFloatingLabel(),o["ɵnov"](e,666)._hideControlPlaceholder(),o["ɵnov"](e,666)._control.disabled,o["ɵnov"](e,666)._control.autofilled,o["ɵnov"](e,666)._control.focused,"accent"==o["ɵnov"](e,666).color,"warn"==o["ɵnov"](e,666).color,o["ɵnov"](e,666)._shouldForward("untouched"),o["ɵnov"](e,666)._shouldForward("touched"),o["ɵnov"](e,666)._shouldForward("pristine"),o["ɵnov"](e,666)._shouldForward("dirty"),o["ɵnov"](e,666)._shouldForward("valid"),o["ɵnov"](e,666)._shouldForward("invalid"),o["ɵnov"](e,666)._shouldForward("pending"),!o["ɵnov"](e,666)._animationsEnabled]),n(e,676,1,[o["ɵnov"](e,681).ngClassUntouched,o["ɵnov"](e,681).ngClassTouched,o["ɵnov"](e,681).ngClassPristine,o["ɵnov"](e,681).ngClassDirty,o["ɵnov"](e,681).ngClassValid,o["ɵnov"](e,681).ngClassInvalid,o["ɵnov"](e,681).ngClassPending,o["ɵnov"](e,682)._isServer,o["ɵnov"](e,682).id,o["ɵnov"](e,682).placeholder,o["ɵnov"](e,682).disabled,o["ɵnov"](e,682).required,o["ɵnov"](e,682).readonly&&!o["ɵnov"](e,682)._isNativeSelect||null,o["ɵnov"](e,682)._ariaDescribedby||null,o["ɵnov"](e,682).errorState,o["ɵnov"](e,682).required.toString()]),n(e,685,0,o["ɵnov"](e,686).disabled||null,"NoopAnimations"===o["ɵnov"](e,686)._animationMode),n(e,689,1,["standard"==o["ɵnov"](e,690).appearance,"fill"==o["ɵnov"](e,690).appearance,"outline"==o["ɵnov"](e,690).appearance,"legacy"==o["ɵnov"](e,690).appearance,o["ɵnov"](e,690)._control.errorState,o["ɵnov"](e,690)._canLabelFloat,o["ɵnov"](e,690)._shouldLabelFloat(),o["ɵnov"](e,690)._hasFloatingLabel(),o["ɵnov"](e,690)._hideControlPlaceholder(),o["ɵnov"](e,690)._control.disabled,o["ɵnov"](e,690)._control.autofilled,o["ɵnov"](e,690)._control.focused,"accent"==o["ɵnov"](e,690).color,"warn"==o["ɵnov"](e,690).color,o["ɵnov"](e,690)._shouldForward("untouched"),o["ɵnov"](e,690)._shouldForward("touched"),o["ɵnov"](e,690)._shouldForward("pristine"),o["ɵnov"](e,690)._shouldForward("dirty"),o["ɵnov"](e,690)._shouldForward("valid"),o["ɵnov"](e,690)._shouldForward("invalid"),o["ɵnov"](e,690)._shouldForward("pending"),!o["ɵnov"](e,690)._animationsEnabled]),n(e,700,1,[o["ɵnov"](e,705).ngClassUntouched,o["ɵnov"](e,705).ngClassTouched,o["ɵnov"](e,705).ngClassPristine,o["ɵnov"](e,705).ngClassDirty,o["ɵnov"](e,705).ngClassValid,o["ɵnov"](e,705).ngClassInvalid,o["ɵnov"](e,705).ngClassPending,o["ɵnov"](e,706)._isServer,o["ɵnov"](e,706).id,o["ɵnov"](e,706).placeholder,o["ɵnov"](e,706).disabled,o["ɵnov"](e,706).required,o["ɵnov"](e,706).readonly&&!o["ɵnov"](e,706)._isNativeSelect||null,o["ɵnov"](e,706)._ariaDescribedby||null,o["ɵnov"](e,706).errorState,o["ɵnov"](e,706).required.toString()]),n(e,708,1,["standard"==o["ɵnov"](e,709).appearance,"fill"==o["ɵnov"](e,709).appearance,"outline"==o["ɵnov"](e,709).appearance,"legacy"==o["ɵnov"](e,709).appearance,o["ɵnov"](e,709)._control.errorState,o["ɵnov"](e,709)._canLabelFloat,o["ɵnov"](e,709)._shouldLabelFloat(),o["ɵnov"](e,709)._hasFloatingLabel(),o["ɵnov"](e,709)._hideControlPlaceholder(),o["ɵnov"](e,709)._control.disabled,o["ɵnov"](e,709)._control.autofilled,o["ɵnov"](e,709)._control.focused,"accent"==o["ɵnov"](e,709).color,"warn"==o["ɵnov"](e,709).color,o["ɵnov"](e,709)._shouldForward("untouched"),o["ɵnov"](e,709)._shouldForward("touched"),o["ɵnov"](e,709)._shouldForward("pristine"),o["ɵnov"](e,709)._shouldForward("dirty"),o["ɵnov"](e,709)._shouldForward("valid"),o["ɵnov"](e,709)._shouldForward("invalid"),o["ɵnov"](e,709)._shouldForward("pending"),!o["ɵnov"](e,709)._animationsEnabled]),n(e,719,1,[o["ɵnov"](e,724).ngClassUntouched,o["ɵnov"](e,724).ngClassTouched,o["ɵnov"](e,724).ngClassPristine,o["ɵnov"](e,724).ngClassDirty,o["ɵnov"](e,724).ngClassValid,o["ɵnov"](e,724).ngClassInvalid,o["ɵnov"](e,724).ngClassPending,o["ɵnov"](e,725)._isServer,o["ɵnov"](e,725).id,o["ɵnov"](e,725).placeholder,o["ɵnov"](e,725).disabled,o["ɵnov"](e,725).required,o["ɵnov"](e,725).readonly&&!o["ɵnov"](e,725)._isNativeSelect||null,o["ɵnov"](e,725)._ariaDescribedby||null,o["ɵnov"](e,725).errorState,o["ɵnov"](e,725).required.toString()]),n(e,727,0,"NoopAnimations"===o["ɵnov"](e,728)._animationMode),n(e,737,0,o["ɵnov"](e,738).disabled||null,"NoopAnimations"===o["ɵnov"](e,738)._animationMode),n(e,741,1,["standard"==o["ɵnov"](e,742).appearance,"fill"==o["ɵnov"](e,742).appearance,"outline"==o["ɵnov"](e,742).appearance,"legacy"==o["ɵnov"](e,742).appearance,o["ɵnov"](e,742)._control.errorState,o["ɵnov"](e,742)._canLabelFloat,o["ɵnov"](e,742)._shouldLabelFloat(),o["ɵnov"](e,742)._hasFloatingLabel(),o["ɵnov"](e,742)._hideControlPlaceholder(),o["ɵnov"](e,742)._control.disabled,o["ɵnov"](e,742)._control.autofilled,o["ɵnov"](e,742)._control.focused,"accent"==o["ɵnov"](e,742).color,"warn"==o["ɵnov"](e,742).color,o["ɵnov"](e,742)._shouldForward("untouched"),o["ɵnov"](e,742)._shouldForward("touched"),o["ɵnov"](e,742)._shouldForward("pristine"),o["ɵnov"](e,742)._shouldForward("dirty"),o["ɵnov"](e,742)._shouldForward("valid"),o["ɵnov"](e,742)._shouldForward("invalid"),o["ɵnov"](e,742)._shouldForward("pending"),!o["ɵnov"](e,742)._animationsEnabled]),n(e,752,1,[o["ɵnov"](e,757).ngClassUntouched,o["ɵnov"](e,757).ngClassTouched,o["ɵnov"](e,757).ngClassPristine,o["ɵnov"](e,757).ngClassDirty,o["ɵnov"](e,757).ngClassValid,o["ɵnov"](e,757).ngClassInvalid,o["ɵnov"](e,757).ngClassPending,o["ɵnov"](e,758)._isServer,o["ɵnov"](e,758).id,o["ɵnov"](e,758).placeholder,o["ɵnov"](e,758).disabled,o["ɵnov"](e,758).required,o["ɵnov"](e,758).readonly&&!o["ɵnov"](e,758)._isNativeSelect||null,o["ɵnov"](e,758)._ariaDescribedby||null,o["ɵnov"](e,758).errorState,o["ɵnov"](e,758).required.toString()]),n(e,760,0,"NoopAnimations"===o["ɵnov"](e,761)._animationMode),n(e,769,1,[o["ɵnov"](e,770).id,null,o["ɵnov"](e,770).indeterminate,o["ɵnov"](e,770).checked,o["ɵnov"](e,770).disabled,"before"==o["ɵnov"](e,770).labelPosition,"NoopAnimations"===o["ɵnov"](e,770)._animationMode,o["ɵnov"](e,774).ngClassUntouched,o["ɵnov"](e,774).ngClassTouched,o["ɵnov"](e,774).ngClassPristine,o["ɵnov"](e,774).ngClassDirty,o["ɵnov"](e,774).ngClassValid,o["ɵnov"](e,774).ngClassInvalid,o["ɵnov"](e,774).ngClassPending]),n(e,778,1,["standard"==o["ɵnov"](e,779).appearance,"fill"==o["ɵnov"](e,779).appearance,"outline"==o["ɵnov"](e,779).appearance,"legacy"==o["ɵnov"](e,779).appearance,o["ɵnov"](e,779)._control.errorState,o["ɵnov"](e,779)._canLabelFloat,o["ɵnov"](e,779)._shouldLabelFloat(),o["ɵnov"](e,779)._hasFloatingLabel(),o["ɵnov"](e,779)._hideControlPlaceholder(),o["ɵnov"](e,779)._control.disabled,o["ɵnov"](e,779)._control.autofilled,o["ɵnov"](e,779)._control.focused,"accent"==o["ɵnov"](e,779).color,"warn"==o["ɵnov"](e,779).color,o["ɵnov"](e,779)._shouldForward("untouched"),o["ɵnov"](e,779)._shouldForward("touched"),o["ɵnov"](e,779)._shouldForward("pristine"),o["ɵnov"](e,779)._shouldForward("dirty"),o["ɵnov"](e,779)._shouldForward("valid"),o["ɵnov"](e,779)._shouldForward("invalid"),o["ɵnov"](e,779)._shouldForward("pending"),!o["ɵnov"](e,779)._animationsEnabled]),n(e,789,1,[o["ɵnov"](e,793).ngClassUntouched,o["ɵnov"](e,793).ngClassTouched,o["ɵnov"](e,793).ngClassPristine,o["ɵnov"](e,793).ngClassDirty,o["ɵnov"](e,793).ngClassValid,o["ɵnov"](e,793).ngClassInvalid,o["ɵnov"](e,793).ngClassPending,o["ɵnov"](e,794).id,o["ɵnov"](e,794).tabIndex,o["ɵnov"](e,794)._getAriaLabel(),o["ɵnov"](e,794)._getAriaLabelledby(),o["ɵnov"](e,794).required.toString(),o["ɵnov"](e,794).disabled.toString(),o["ɵnov"](e,794).errorState,o["ɵnov"](e,794).panelOpen?o["ɵnov"](e,794)._optionIds:null,o["ɵnov"](e,794).multiple,o["ɵnov"](e,794)._ariaDescribedby||null,o["ɵnov"](e,794)._getAriaActiveDescendant(),o["ɵnov"](e,794).disabled,o["ɵnov"](e,794).errorState,o["ɵnov"](e,794).required,o["ɵnov"](e,794).empty]),n(e,801,0,"NoopAnimations"===o["ɵnov"](e,802)._animationMode),n(e,810,1,["standard"==o["ɵnov"](e,811).appearance,"fill"==o["ɵnov"](e,811).appearance,"outline"==o["ɵnov"](e,811).appearance,"legacy"==o["ɵnov"](e,811).appearance,o["ɵnov"](e,811)._control.errorState,o["ɵnov"](e,811)._canLabelFloat,o["ɵnov"](e,811)._shouldLabelFloat(),o["ɵnov"](e,811)._hasFloatingLabel(),o["ɵnov"](e,811)._hideControlPlaceholder(),o["ɵnov"](e,811)._control.disabled,o["ɵnov"](e,811)._control.autofilled,o["ɵnov"](e,811)._control.focused,"accent"==o["ɵnov"](e,811).color,"warn"==o["ɵnov"](e,811).color,o["ɵnov"](e,811)._shouldForward("untouched"),o["ɵnov"](e,811)._shouldForward("touched"),o["ɵnov"](e,811)._shouldForward("pristine"),o["ɵnov"](e,811)._shouldForward("dirty"),o["ɵnov"](e,811)._shouldForward("valid"),o["ɵnov"](e,811)._shouldForward("invalid"),o["ɵnov"](e,811)._shouldForward("pending"),!o["ɵnov"](e,811)._animationsEnabled]),n(e,821,1,[o["ɵnov"](e,826).ngClassUntouched,o["ɵnov"](e,826).ngClassTouched,o["ɵnov"](e,826).ngClassPristine,o["ɵnov"](e,826).ngClassDirty,o["ɵnov"](e,826).ngClassValid,o["ɵnov"](e,826).ngClassInvalid,o["ɵnov"](e,826).ngClassPending,o["ɵnov"](e,827)._isServer,o["ɵnov"](e,827).id,o["ɵnov"](e,827).placeholder,o["ɵnov"](e,827).disabled,o["ɵnov"](e,827).required,o["ɵnov"](e,827).readonly&&!o["ɵnov"](e,827)._isNativeSelect||null,o["ɵnov"](e,827)._ariaDescribedby||null,o["ɵnov"](e,827).errorState,o["ɵnov"](e,827).required.toString()]),n(e,829,1,[o["ɵnov"](e,830).id,null,o["ɵnov"](e,830).indeterminate,o["ɵnov"](e,830).checked,o["ɵnov"](e,830).disabled,"before"==o["ɵnov"](e,830).labelPosition,"NoopAnimations"===o["ɵnov"](e,830)._animationMode,o["ɵnov"](e,834).ngClassUntouched,o["ɵnov"](e,834).ngClassTouched,o["ɵnov"](e,834).ngClassPristine,o["ɵnov"](e,834).ngClassDirty,o["ɵnov"](e,834).ngClassValid,o["ɵnov"](e,834).ngClassInvalid,o["ɵnov"](e,834).ngClassPending]),n(e,836,0,o["ɵnov"](e,837).expanded,"NoopAnimations"===o["ɵnov"](e,837)._animationMode,o["ɵnov"](e,837)._hasSpacing());var J=o["ɵnov"](e,841).panel._headerId,nn=o["ɵnov"](e,841).disabled?-1:0,en=o["ɵnov"](e,841)._getPanelId(),tn=o["ɵnov"](e,841)._isExpanded(),ln=o["ɵnov"](e,841).panel.disabled,on=o["ɵnov"](e,841)._isExpanded(),rn="after"===o["ɵnov"](e,841)._getTogglePosition(),an="before"===o["ɵnov"](e,841)._getTogglePosition(),un=o["ɵnov"](e,841)._animationsDisabled,sn=n(e,843,0,o["ɵnov"](e,841)._getExpandedState(),n(e,842,0,o["ɵnov"](e,841).collapsedHeight,o["ɵnov"](e,841).expandedHeight));n(e,840,0,J,nn,en,tn,ln,on,rn,an,un,sn),n(e,847,1,["standard"==o["ɵnov"](e,848).appearance,"fill"==o["ɵnov"](e,848).appearance,"outline"==o["ɵnov"](e,848).appearance,"legacy"==o["ɵnov"](e,848).appearance,o["ɵnov"](e,848)._control.errorState,o["ɵnov"](e,848)._canLabelFloat,o["ɵnov"](e,848)._shouldLabelFloat(),o["ɵnov"](e,848)._hasFloatingLabel(),o["ɵnov"](e,848)._hideControlPlaceholder(),o["ɵnov"](e,848)._control.disabled,o["ɵnov"](e,848)._control.autofilled,o["ɵnov"](e,848)._control.focused,"accent"==o["ɵnov"](e,848).color,"warn"==o["ɵnov"](e,848).color,o["ɵnov"](e,848)._shouldForward("untouched"),o["ɵnov"](e,848)._shouldForward("touched"),o["ɵnov"](e,848)._shouldForward("pristine"),o["ɵnov"](e,848)._shouldForward("dirty"),o["ɵnov"](e,848)._shouldForward("valid"),o["ɵnov"](e,848)._shouldForward("invalid"),o["ɵnov"](e,848)._shouldForward("pending"),!o["ɵnov"](e,848)._animationsEnabled]),n(e,858,1,[o["ɵnov"](e,863).ngClassUntouched,o["ɵnov"](e,863).ngClassTouched,o["ɵnov"](e,863).ngClassPristine,o["ɵnov"](e,863).ngClassDirty,o["ɵnov"](e,863).ngClassValid,o["ɵnov"](e,863).ngClassInvalid,o["ɵnov"](e,863).ngClassPending,o["ɵnov"](e,864)._isServer,o["ɵnov"](e,864).id,o["ɵnov"](e,864).placeholder,o["ɵnov"](e,864).disabled,o["ɵnov"](e,864).required,o["ɵnov"](e,864).readonly&&!o["ɵnov"](e,864)._isNativeSelect||null,o["ɵnov"](e,864)._ariaDescribedby||null,o["ɵnov"](e,864).errorState,o["ɵnov"](e,864).required.toString()]),n(e,867,0,o["ɵnov"](e,868).disabled||null,"NoopAnimations"===o["ɵnov"](e,868)._animationMode),n(e,870,0,o["ɵnov"](e,871).disabled||null,"NoopAnimations"===o["ɵnov"](e,871)._animationMode)}))}function yT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.qemuTemplate.symbol)}),null)}function CT(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["ɵeld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{shadowed:0}),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["QEMU VM configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,_T)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],(function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l}),lT,tT)),o["ɵdid"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,eT,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["ɵand"](16777216,null,null,1,null,yT)),o["ɵdid"](14,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,4,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,3,0,"content",l),n(e,10,0,t.qemuTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.qemuTemplate)}),(function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.qemuTemplate))}))}function wT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-qemu-virtual-machine-template-details",[],null,null,null,CT,rT)),o["ɵdid"](1,114688,null,0,oT,[rt,Dh,kE,hc,iT,Gm,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var ST=o["ɵccf"]("app-qemu-virtual-machine-template-details",oT,wT,{},{},[]),xT=function(){return function(){}}(),kT=function(){function n(n,e,t,l,o,i,r,a,u){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateMocksService=r,this.configurationService=a,this.computeService=u,this.qemuBinaries=[],this.consoleTypes=[],this.newImageSelected=!1,this.qemuImages=[],this.chosenImage="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.qemuTemplate=new xT,this.nameForm=this.formBuilder.group({templateName:new Em("",Xh.required)}),this.memoryForm=this.formBuilder.group({ramMemory:new Em("256",Xh.required)}),this.diskForm=this.formBuilder.group({fileName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new zg({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){n.toasterService.error("An error occured: "+t)},this.uploader.onSuccessItem=function(e,t,l,o){n.qemuService.getImages(n.server).subscribe((function(e){n.qemuImages=e})),n.toasterService.success("Image uploaded")};var e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.templateMocksService.getQemuTemplate().subscribe((function(e){n.qemuTemplate=e})),n.qemuService.getBinaries(e).subscribe((function(e){n.qemuBinaries=e,n.qemuBinaries[0]&&(n.selectedBinary=n.qemuBinaries[0])})),n.qemuService.getImages(e).subscribe((function(e){n.qemuImages=e})),n.consoleTypes=n.configurationService.getConsoleTypes(),n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){var e=n.target.files[0].name;this.diskForm.controls.fileName.setValue(e);var t=this.qemuService.getImagePath(this.server,e);this.uploader.queue.forEach((function(n){return n.url=t}));var l=this.uploader.queue[0];l.options&&(l.options.disableMultipart=!0),this.uploader.uploadItem(l)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var n=this;this.nameForm.invalid||this.memoryForm.invalid||!this.selectedImage&&!this.chosenImage?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.ram=this.memoryForm.get("ramMemory").value,this.qemuTemplate.qemu_path=this.selectedBinary.path,this.qemuTemplate.hda_disk_image=this.newImageSelected?this.diskForm.get("fileName").value:this.selectedImage.path,this.qemuTemplate.template_id=Object(Zg.v4)(),this.qemuTemplate.name=this.nameForm.get("templateName").value,this.qemuTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe((function(e){n.goBack()})))},n}(),ET=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function TT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[25,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)}))}function RT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[47,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function IT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[52,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function DT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","Disk image (hda)"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedImage=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,52,{options:1}),o["ɵqud"](603979776,53,{optionGroups:1}),o["ɵqud"](603979776,54,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,IT)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.selectedImage,o=n(e,4,0,!0);n(e,3,0,l,o),n(e,7,0,"Disk image (hda)"),n(e,12,0,t.qemuImages)}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function FT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,24,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,[["file",1]],null,1,"input",[["accept",".qcow2"],["class","nonvisible"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0,i=n.component;return"change"===e&&(l=!1!==o["ɵnov"](n,2).onChange()&&l),"change"===e&&(l=!1!==i.uploadImageFile(t)&&l),l}),null,null)),o["ɵdid"](2,16384,null,0,Gg,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["ɵeld"](3,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).click()&&l),l}),ou,lu)),o["ɵdid"](4,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](6,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](7,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,55,{_controlNonStatic:0}),o["ɵqud"](335544320,56,{_controlStatic:0}),o["ɵqud"](603979776,57,{_labelChildNonStatic:0}),o["ɵqud"](335544320,58,{_labelChildStatic:0}),o["ɵqud"](603979776,59,{_placeholderChild:0}),o["ɵqud"](603979776,60,{_errorChildren:1}),o["ɵqud"](603979776,61,{_hintChildren:1}),o["ɵqud"](603979776,62,{_prefixChildren:1}),o["ɵqud"](603979776,63,{_suffixChildren:1}),(n()(),o["ɵeld"](17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fileName"],["matInput",""],["placeholder","Please enter 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,18)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,18)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,18)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,23)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,23)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,23)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.chosenImage=t)&&l),l}),null,null)),o["ɵdid"](18,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](20,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](22,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](23,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[55,4],[56,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,2,0,t.uploader),n(e,4,0,"primary"),n(e,20,0,"fileName",t.chosenImage),n(e,23,0,"Please enter name","text")}),(function(n,e){n(e,3,0,o["ɵnov"](e,4).disabled||null,"NoopAnimations"===o["ɵnov"](e,4)._animationMode),n(e,6,1,["standard"==o["ɵnov"](e,7).appearance,"fill"==o["ɵnov"](e,7).appearance,"outline"==o["ɵnov"](e,7).appearance,"legacy"==o["ɵnov"](e,7).appearance,o["ɵnov"](e,7)._control.errorState,o["ɵnov"](e,7)._canLabelFloat,o["ɵnov"](e,7)._shouldLabelFloat(),o["ɵnov"](e,7)._hasFloatingLabel(),o["ɵnov"](e,7)._hideControlPlaceholder(),o["ɵnov"](e,7)._control.disabled,o["ɵnov"](e,7)._control.autofilled,o["ɵnov"](e,7)._control.focused,"accent"==o["ɵnov"](e,7).color,"warn"==o["ɵnov"](e,7).color,o["ɵnov"](e,7)._shouldForward("untouched"),o["ɵnov"](e,7)._shouldForward("touched"),o["ɵnov"](e,7)._shouldForward("pristine"),o["ɵnov"](e,7)._shouldForward("dirty"),o["ɵnov"](e,7)._shouldForward("valid"),o["ɵnov"](e,7)._shouldForward("invalid"),o["ɵnov"](e,7)._shouldForward("pending"),!o["ɵnov"](e,7)._animationsEnabled]),n(e,17,1,[o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending,o["ɵnov"](e,23)._isServer,o["ɵnov"](e,23).id,o["ɵnov"](e,23).placeholder,o["ɵnov"](e,23).disabled,o["ɵnov"](e,23).required,o["ɵnov"](e,23).readonly&&!o["ɵnov"](e,23)._isNativeSelect||null,o["ɵnov"](e,23)._ariaDescribedby||null,o["ɵnov"](e,23).errorState,o["ɵnov"](e,23).required.toString()])}))}function OT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,172,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New QEMU VM template"])),(n()(),o["ɵeld"](5,0,null,null,167,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,159,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,158,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,bk,vk)),o["ɵprd"](6144,null,lk,null,[ck]),o["ɵdid"](9,5423104,null,2,ck,[[2,ki],o.ChangeDetectorRef,o.ElementRef,r.DOCUMENT],{linear:[0,"linear"]},null),o["ɵqud"](603979776,1,{_steps:1}),o["ɵqud"](603979776,2,{_icons:1}),o["ɵprd"](2048,null,dk,null,[ck]),(n()(),o["ɵeld"](13,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](15,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,3,{stepLabel:0}),(n()(),o["ɵeld"](17,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](19,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,4,{_radios:1}),(n()(),o["ɵeld"](21,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,22)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](22,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run this QEMU VM locally"])),(n()(),o["ɵeld"](24,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,25)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](25,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run this QEMU VM on the GNS3 VM"])),(n()(),o["ɵeld"](27,0,null,null,28,"mat-step",[["label","QEMU VM Name"]],null,null,null,mk,fk)),o["ɵdid"](28,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,5,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](31,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,33).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,33).onReset()&&l),l}),null,null)),o["ɵdid"](32,16384,null,0,qm,[],null,null),o["ɵdid"](33,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](35,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](36,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](37,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,6,{_controlNonStatic:0}),o["ɵqud"](335544320,7,{_controlStatic:0}),o["ɵqud"](603979776,8,{_labelChildNonStatic:0}),o["ɵqud"](335544320,9,{_labelChildStatic:0}),o["ɵqud"](603979776,10,{_placeholderChild:0}),o["ɵqud"](603979776,11,{_errorChildren:1}),o["ɵqud"](603979776,12,{_hintChildren:1}),o["ɵqud"](603979776,13,{_prefixChildren:1}),o["ɵqud"](603979776,14,{_suffixChildren:1}),(n()(),o["ɵeld"](47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["ngDefaultContro",""],["placeholder","Please choose a descriptive name for your new QEMU virtual machine"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,53)._onInput()&&l),l}),null,null)),o["ɵdid"](48,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](50,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](52,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](53,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[6,4],[7,4]],ag,null,[Lg]),(n()(),o["ɵeld"](55,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](56,0,null,null,56,"mat-step",[["label","QEMU binary and memory"]],null,null,null,mk,fk)),o["ɵdid"](57,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,15,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](60,0,null,0,52,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,62).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,62).onReset()&&l),l}),null,null)),o["ɵdid"](61,16384,null,0,qm,[],null,null),o["ɵdid"](62,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](64,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](65,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](66,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,16,{_controlNonStatic:0}),o["ɵqud"](335544320,17,{_controlStatic:0}),o["ɵqud"](603979776,18,{_labelChildNonStatic:0}),o["ɵqud"](335544320,19,{_labelChildStatic:0}),o["ɵqud"](603979776,20,{_placeholderChild:0}),o["ɵqud"](603979776,21,{_errorChildren:1}),o["ɵqud"](603979776,22,{_hintChildren:1}),o["ɵqud"](603979776,23,{_prefixChildren:1}),o["ɵqud"](603979776,24,{_suffixChildren:1}),(n()(),o["ɵeld"](76,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Qemu binary"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,82)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,82)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,82)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedBinary=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](78,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](79,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](81,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](82,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,25,{options:1}),o["ɵqud"](603979776,26,{optionGroups:1}),o["ɵqud"](603979776,27,{customTrigger:0}),o["ɵprd"](2048,[[16,4],[17,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,TT)),o["ɵdid"](88,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](89,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](90,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](91,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,28,{_controlNonStatic:0}),o["ɵqud"](335544320,29,{_controlStatic:0}),o["ɵqud"](603979776,30,{_labelChildNonStatic:0}),o["ɵqud"](335544320,31,{_labelChildStatic:0}),o["ɵqud"](603979776,32,{_placeholderChild:0}),o["ɵqud"](603979776,33,{_errorChildren:1}),o["ɵqud"](603979776,34,{_hintChildren:1}),o["ɵqud"](603979776,35,{_prefixChildren:1}),o["ɵqud"](603979776,36,{_suffixChildren:1}),(n()(),o["ɵeld"](101,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ramMemory"],["matInput",""],["ngDefaultContro",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,102)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,102).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,102)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,102)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,103).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,103).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,103).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,108)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,108)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,108)._onInput()&&l),l}),null,null)),o["ɵdid"](102,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](103,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](105,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](107,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](108,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[28,4],[29,4]],ag,null,[Lg]),(n()(),o["ɵeld"](110,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](111,16384,[[36,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](113,0,null,null,27,"mat-step",[["label","Console type"]],null,null,null,mk,fk)),o["ɵdid"](114,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,37,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](117,0,null,0,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](118,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,38,{_controlNonStatic:0}),o["ɵqud"](335544320,39,{_controlStatic:0}),o["ɵqud"](603979776,40,{_labelChildNonStatic:0}),o["ɵqud"](335544320,41,{_labelChildStatic:0}),o["ɵqud"](603979776,42,{_placeholderChild:0}),o["ɵqud"](603979776,43,{_errorChildren:1}),o["ɵqud"](603979776,44,{_hintChildren:1}),o["ɵqud"](603979776,45,{_prefixChildren:1}),o["ɵqud"](603979776,46,{_suffixChildren:1}),(n()(),o["ɵeld"](128,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,134)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,134)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,134)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](130,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](131,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](133,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](134,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,47,{options:1}),o["ɵqud"](603979776,48,{optionGroups:1}),o["ɵqud"](603979776,49,{customTrigger:0}),o["ɵprd"](2048,[[38,4],[39,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,RT)),o["ɵdid"](140,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](141,0,null,null,24,"mat-step",[["label","Disk image"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](143,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,50,{stepLabel:0}),(n()(),o["ɵeld"](145,0,null,0,20,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,147).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,147).onReset()&&l),l}),null,null)),o["ɵdid"](146,16384,null,0,qm,[],null,null),o["ɵdid"](147,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](149,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](150,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](152,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,51,{_radios:1}),(n()(),o["ɵeld"](154,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,155)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("existingImage")&&l),l}),HC,BC)),o["ɵdid"](155,4440064,[[51,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Existing image"])),(n()(),o["ɵeld"](157,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,158)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("newImage")&&l),l}),HC,BC)),o["ɵdid"](158,4440064,[[51,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["New image"])),(n()(),o["ɵeld"](160,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](161,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,DT)),o["ɵdid"](163,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,FT)),o["ɵdid"](165,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](166,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](167,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](168,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](170,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](171,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,9,0,!0),n(e,15,0,"Server type"),n(e,22,0,"","1"),n(e,25,0,"2",!t.isGns3VmAvailable),n(e,28,0,"QEMU VM Name"),n(e,33,0,t.nameForm),n(e,50,0,"templateName"),n(e,53,0,"Please choose a descriptive name for your new QEMU virtual machine","text"),n(e,57,0,"QEMU binary and memory"),n(e,62,0,t.memoryForm);var l=t.selectedBinary,o=n(e,79,0,!0);n(e,78,0,l,o),n(e,82,0,"Qemu binary"),n(e,88,0,t.qemuBinaries),n(e,105,0,"ramMemory"),n(e,108,0,"RAM","number"),n(e,114,0,"Console type");var i=t.qemuTemplate.console_type,r=n(e,131,0,!0);n(e,130,0,i,r),n(e,134,0,"Console type"),n(e,140,0,t.consoleTypes),n(e,143,0,"Disk image"),n(e,147,0,t.diskForm),n(e,155,0,"","1"),n(e,158,0,"2"),n(e,163,0,!t.newImageSelected),n(e,165,0,t.newImageSelected),n(e,171,0,"primary")}),(function(n,e){n(e,21,1,[o["ɵnov"](e,22).checked,o["ɵnov"](e,22).disabled,"NoopAnimations"===o["ɵnov"](e,22)._animationMode,"primary"===o["ɵnov"](e,22).color,"accent"===o["ɵnov"](e,22).color,"warn"===o["ɵnov"](e,22).color,-1,o["ɵnov"](e,22).id,null,null,null]),n(e,24,1,[o["ɵnov"](e,25).checked,o["ɵnov"](e,25).disabled,"NoopAnimations"===o["ɵnov"](e,25)._animationMode,"primary"===o["ɵnov"](e,25).color,"accent"===o["ɵnov"](e,25).color,"warn"===o["ɵnov"](e,25).color,-1,o["ɵnov"](e,25).id,null,null,null]),n(e,31,0,o["ɵnov"](e,35).ngClassUntouched,o["ɵnov"](e,35).ngClassTouched,o["ɵnov"](e,35).ngClassPristine,o["ɵnov"](e,35).ngClassDirty,o["ɵnov"](e,35).ngClassValid,o["ɵnov"](e,35).ngClassInvalid,o["ɵnov"](e,35).ngClassPending),n(e,36,1,["standard"==o["ɵnov"](e,37).appearance,"fill"==o["ɵnov"](e,37).appearance,"outline"==o["ɵnov"](e,37).appearance,"legacy"==o["ɵnov"](e,37).appearance,o["ɵnov"](e,37)._control.errorState,o["ɵnov"](e,37)._canLabelFloat,o["ɵnov"](e,37)._shouldLabelFloat(),o["ɵnov"](e,37)._hasFloatingLabel(),o["ɵnov"](e,37)._hideControlPlaceholder(),o["ɵnov"](e,37)._control.disabled,o["ɵnov"](e,37)._control.autofilled,o["ɵnov"](e,37)._control.focused,"accent"==o["ɵnov"](e,37).color,"warn"==o["ɵnov"](e,37).color,o["ɵnov"](e,37)._shouldForward("untouched"),o["ɵnov"](e,37)._shouldForward("touched"),o["ɵnov"](e,37)._shouldForward("pristine"),o["ɵnov"](e,37)._shouldForward("dirty"),o["ɵnov"](e,37)._shouldForward("valid"),o["ɵnov"](e,37)._shouldForward("invalid"),o["ɵnov"](e,37)._shouldForward("pending"),!o["ɵnov"](e,37)._animationsEnabled]),n(e,47,1,[o["ɵnov"](e,52).ngClassUntouched,o["ɵnov"](e,52).ngClassTouched,o["ɵnov"](e,52).ngClassPristine,o["ɵnov"](e,52).ngClassDirty,o["ɵnov"](e,52).ngClassValid,o["ɵnov"](e,52).ngClassInvalid,o["ɵnov"](e,52).ngClassPending,o["ɵnov"](e,53)._isServer,o["ɵnov"](e,53).id,o["ɵnov"](e,53).placeholder,o["ɵnov"](e,53).disabled,o["ɵnov"](e,53).required,o["ɵnov"](e,53).readonly&&!o["ɵnov"](e,53)._isNativeSelect||null,o["ɵnov"](e,53)._ariaDescribedby||null,o["ɵnov"](e,53).errorState,o["ɵnov"](e,53).required.toString()]),n(e,60,0,o["ɵnov"](e,64).ngClassUntouched,o["ɵnov"](e,64).ngClassTouched,o["ɵnov"](e,64).ngClassPristine,o["ɵnov"](e,64).ngClassDirty,o["ɵnov"](e,64).ngClassValid,o["ɵnov"](e,64).ngClassInvalid,o["ɵnov"](e,64).ngClassPending),n(e,65,1,["standard"==o["ɵnov"](e,66).appearance,"fill"==o["ɵnov"](e,66).appearance,"outline"==o["ɵnov"](e,66).appearance,"legacy"==o["ɵnov"](e,66).appearance,o["ɵnov"](e,66)._control.errorState,o["ɵnov"](e,66)._canLabelFloat,o["ɵnov"](e,66)._shouldLabelFloat(),o["ɵnov"](e,66)._hasFloatingLabel(),o["ɵnov"](e,66)._hideControlPlaceholder(),o["ɵnov"](e,66)._control.disabled,o["ɵnov"](e,66)._control.autofilled,o["ɵnov"](e,66)._control.focused,"accent"==o["ɵnov"](e,66).color,"warn"==o["ɵnov"](e,66).color,o["ɵnov"](e,66)._shouldForward("untouched"),o["ɵnov"](e,66)._shouldForward("touched"),o["ɵnov"](e,66)._shouldForward("pristine"),o["ɵnov"](e,66)._shouldForward("dirty"),o["ɵnov"](e,66)._shouldForward("valid"),o["ɵnov"](e,66)._shouldForward("invalid"),o["ɵnov"](e,66)._shouldForward("pending"),!o["ɵnov"](e,66)._animationsEnabled]),n(e,76,1,[o["ɵnov"](e,81).ngClassUntouched,o["ɵnov"](e,81).ngClassTouched,o["ɵnov"](e,81).ngClassPristine,o["ɵnov"](e,81).ngClassDirty,o["ɵnov"](e,81).ngClassValid,o["ɵnov"](e,81).ngClassInvalid,o["ɵnov"](e,81).ngClassPending,o["ɵnov"](e,82).id,o["ɵnov"](e,82).tabIndex,o["ɵnov"](e,82)._getAriaLabel(),o["ɵnov"](e,82)._getAriaLabelledby(),o["ɵnov"](e,82).required.toString(),o["ɵnov"](e,82).disabled.toString(),o["ɵnov"](e,82).errorState,o["ɵnov"](e,82).panelOpen?o["ɵnov"](e,82)._optionIds:null,o["ɵnov"](e,82).multiple,o["ɵnov"](e,82)._ariaDescribedby||null,o["ɵnov"](e,82)._getAriaActiveDescendant(),o["ɵnov"](e,82).disabled,o["ɵnov"](e,82).errorState,o["ɵnov"](e,82).required,o["ɵnov"](e,82).empty]),n(e,90,1,["standard"==o["ɵnov"](e,91).appearance,"fill"==o["ɵnov"](e,91).appearance,"outline"==o["ɵnov"](e,91).appearance,"legacy"==o["ɵnov"](e,91).appearance,o["ɵnov"](e,91)._control.errorState,o["ɵnov"](e,91)._canLabelFloat,o["ɵnov"](e,91)._shouldLabelFloat(),o["ɵnov"](e,91)._hasFloatingLabel(),o["ɵnov"](e,91)._hideControlPlaceholder(),o["ɵnov"](e,91)._control.disabled,o["ɵnov"](e,91)._control.autofilled,o["ɵnov"](e,91)._control.focused,"accent"==o["ɵnov"](e,91).color,"warn"==o["ɵnov"](e,91).color,o["ɵnov"](e,91)._shouldForward("untouched"),o["ɵnov"](e,91)._shouldForward("touched"),o["ɵnov"](e,91)._shouldForward("pristine"),o["ɵnov"](e,91)._shouldForward("dirty"),o["ɵnov"](e,91)._shouldForward("valid"),o["ɵnov"](e,91)._shouldForward("invalid"),o["ɵnov"](e,91)._shouldForward("pending"),!o["ɵnov"](e,91)._animationsEnabled]),n(e,101,1,[o["ɵnov"](e,107).ngClassUntouched,o["ɵnov"](e,107).ngClassTouched,o["ɵnov"](e,107).ngClassPristine,o["ɵnov"](e,107).ngClassDirty,o["ɵnov"](e,107).ngClassValid,o["ɵnov"](e,107).ngClassInvalid,o["ɵnov"](e,107).ngClassPending,o["ɵnov"](e,108)._isServer,o["ɵnov"](e,108).id,o["ɵnov"](e,108).placeholder,o["ɵnov"](e,108).disabled,o["ɵnov"](e,108).required,o["ɵnov"](e,108).readonly&&!o["ɵnov"](e,108)._isNativeSelect||null,o["ɵnov"](e,108)._ariaDescribedby||null,o["ɵnov"](e,108).errorState,o["ɵnov"](e,108).required.toString()]),n(e,117,1,["standard"==o["ɵnov"](e,118).appearance,"fill"==o["ɵnov"](e,118).appearance,"outline"==o["ɵnov"](e,118).appearance,"legacy"==o["ɵnov"](e,118).appearance,o["ɵnov"](e,118)._control.errorState,o["ɵnov"](e,118)._canLabelFloat,o["ɵnov"](e,118)._shouldLabelFloat(),o["ɵnov"](e,118)._hasFloatingLabel(),o["ɵnov"](e,118)._hideControlPlaceholder(),o["ɵnov"](e,118)._control.disabled,o["ɵnov"](e,118)._control.autofilled,o["ɵnov"](e,118)._control.focused,"accent"==o["ɵnov"](e,118).color,"warn"==o["ɵnov"](e,118).color,o["ɵnov"](e,118)._shouldForward("untouched"),o["ɵnov"](e,118)._shouldForward("touched"),o["ɵnov"](e,118)._shouldForward("pristine"),o["ɵnov"](e,118)._shouldForward("dirty"),o["ɵnov"](e,118)._shouldForward("valid"),o["ɵnov"](e,118)._shouldForward("invalid"),o["ɵnov"](e,118)._shouldForward("pending"),!o["ɵnov"](e,118)._animationsEnabled]),n(e,128,1,[o["ɵnov"](e,133).ngClassUntouched,o["ɵnov"](e,133).ngClassTouched,o["ɵnov"](e,133).ngClassPristine,o["ɵnov"](e,133).ngClassDirty,o["ɵnov"](e,133).ngClassValid,o["ɵnov"](e,133).ngClassInvalid,o["ɵnov"](e,133).ngClassPending,o["ɵnov"](e,134).id,o["ɵnov"](e,134).tabIndex,o["ɵnov"](e,134)._getAriaLabel(),o["ɵnov"](e,134)._getAriaLabelledby(),o["ɵnov"](e,134).required.toString(),o["ɵnov"](e,134).disabled.toString(),o["ɵnov"](e,134).errorState,o["ɵnov"](e,134).panelOpen?o["ɵnov"](e,134)._optionIds:null,o["ɵnov"](e,134).multiple,o["ɵnov"](e,134)._ariaDescribedby||null,o["ɵnov"](e,134)._getAriaActiveDescendant(),o["ɵnov"](e,134).disabled,o["ɵnov"](e,134).errorState,o["ɵnov"](e,134).required,o["ɵnov"](e,134).empty]),n(e,145,0,o["ɵnov"](e,149).ngClassUntouched,o["ɵnov"](e,149).ngClassTouched,o["ɵnov"](e,149).ngClassPristine,o["ɵnov"](e,149).ngClassDirty,o["ɵnov"](e,149).ngClassValid,o["ɵnov"](e,149).ngClassInvalid,o["ɵnov"](e,149).ngClassPending),n(e,154,1,[o["ɵnov"](e,155).checked,o["ɵnov"](e,155).disabled,"NoopAnimations"===o["ɵnov"](e,155)._animationMode,"primary"===o["ɵnov"](e,155).color,"accent"===o["ɵnov"](e,155).color,"warn"===o["ɵnov"](e,155).color,-1,o["ɵnov"](e,155).id,null,null,null]),n(e,157,1,[o["ɵnov"](e,158).checked,o["ɵnov"](e,158).disabled,"NoopAnimations"===o["ɵnov"](e,158)._animationMode,"primary"===o["ɵnov"](e,158).color,"accent"===o["ɵnov"](e,158).color,"warn"===o["ɵnov"](e,158).color,-1,o["ɵnov"](e,158).id,null,null,null]),n(e,167,0,o["ɵnov"](e,168).disabled||null,"NoopAnimations"===o["ɵnov"](e,168)._animationMode),n(e,170,0,o["ɵnov"](e,171).disabled||null,"NoopAnimations"===o["ɵnov"](e,171)._animationMode)}))}function MT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-qemu-virtual-machine-template",[],null,null,null,OT,ET)),o["ɵdid"](1,114688,null,0,kT,[rt,Dh,kE,hc,vl,Gm,Bw,iT,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var NT=o["ɵccf"]("app-add-qemu-virtual-machine-template",kT,MT,{},{},[]),AT=function(){function n(n,e,t){this.route=n,this.serverService=e,this.vpcsService=t,this.vpcsTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.vpcsService.getTemplates(this.server).subscribe((function(e){n.vpcsTemplates=e.filter((function(n){return"vpcs"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),PT=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),qT=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function LT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function jT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add VPCS template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vpcs/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function VT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function BT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function HT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,BT)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.vpcsTemplates)}),null)}function UT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,HT)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function zT(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VPCS node templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,LT)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,jT)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,VT)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,UT)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.vpcsTemplates.length),n(e,13,0,t.vpcsTemplates.length),n(e,15,0,t.server)}),null)}function GT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-vpcs-templates",[],null,null,null,zT,qT)),o["ɵdid"](1,114688,null,0,AT,[rt,Dh,PT],null,null)],(function(n,e){n(e,1,0)}),null)}var WT=o["ɵccf"]("app-vpcs-templates",AT,GT,{},{},[]),ZT=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.vpcsService=t,this.toasterService=l,this.formBuilder=o,this.vpcsConfigurationService=i,this.router=r,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),scriptFile:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.vpcsService.getTemplate(n.server,t).subscribe((function(e){n.vpcsTemplate=e}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.onSave=function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.vpcsService.saveTemplate(this.server,this.vpcsTemplate).subscribe((function(e){n.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.vpcsTemplate.symbol=n},n}(),KT=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n}(),XT=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function YT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[46,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function $T(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[58,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function QT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,151,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,143,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,141,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](20,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](22,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](24,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](25,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](27,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](28,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](38,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,39)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,39).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,39)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,39)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,44)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,44)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](39,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](41,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](43,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](44,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[Lg]),(n()(),o["ɵeld"](46,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](47,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,19,{_controlNonStatic:0}),o["ɵqud"](335544320,20,{_controlStatic:0}),o["ɵqud"](603979776,21,{_labelChildNonStatic:0}),o["ɵqud"](335544320,22,{_labelChildStatic:0}),o["ɵqud"](603979776,23,{_placeholderChild:0}),o["ɵqud"](603979776,24,{_errorChildren:1}),o["ɵqud"](603979776,25,{_hintChildren:1}),o["ɵqud"](603979776,26,{_prefixChildren:1}),o["ɵqud"](603979776,27,{_suffixChildren:1}),(n()(),o["ɵeld"](57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","scriptFile"],["matInput",""],["placeholder","Base script file"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,58)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,58).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,58)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,58)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,63)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,63)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,63)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.base_script_file=t)&&l),l}),null,null)),o["ɵdid"](58,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](60,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](62,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](63,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[19,4],[20,4]],ag,null,[Lg]),(n()(),o["ɵeld"](65,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](66,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,28,{_controlNonStatic:0}),o["ɵqud"](335544320,29,{_controlStatic:0}),o["ɵqud"](603979776,30,{_labelChildNonStatic:0}),o["ɵqud"](335544320,31,{_labelChildStatic:0}),o["ɵqud"](603979776,32,{_placeholderChild:0}),o["ɵqud"](603979776,33,{_errorChildren:1}),o["ɵqud"](603979776,34,{_hintChildren:1}),o["ɵqud"](603979776,35,{_prefixChildren:1}),o["ɵqud"](603979776,36,{_suffixChildren:1}),(n()(),o["ɵeld"](76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,77)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,77).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,77)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,77)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,82)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,82)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,82)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](77,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](79,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](81,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](82,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[28,4],[29,4]],ag,null,[Lg]),(n()(),o["ɵeld"](84,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](85,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](87,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](88,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](89,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](90,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,37,{_controlNonStatic:0}),o["ɵqud"](335544320,38,{_controlStatic:0}),o["ɵqud"](603979776,39,{_labelChildNonStatic:0}),o["ɵqud"](335544320,40,{_labelChildStatic:0}),o["ɵqud"](603979776,41,{_placeholderChild:0}),o["ɵqud"](603979776,42,{_errorChildren:1}),o["ɵqud"](603979776,43,{_hintChildren:1}),o["ɵqud"](603979776,44,{_prefixChildren:1}),o["ɵqud"](603979776,45,{_suffixChildren:1}),(n()(),o["ɵeld"](100,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,106)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,106)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,106)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](102,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](103,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](105,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](106,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,46,{options:1}),o["ɵqud"](603979776,47,{optionGroups:1}),o["ɵqud"](603979776,48,{customTrigger:0}),o["ɵprd"](2048,[[37,4],[38,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,YT)),o["ɵdid"](112,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](113,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](114,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,49,{_controlNonStatic:0}),o["ɵqud"](335544320,50,{_controlStatic:0}),o["ɵqud"](603979776,51,{_labelChildNonStatic:0}),o["ɵqud"](335544320,52,{_labelChildStatic:0}),o["ɵqud"](603979776,53,{_placeholderChild:0}),o["ɵqud"](603979776,54,{_errorChildren:1}),o["ɵqud"](603979776,55,{_hintChildren:1}),o["ɵqud"](603979776,56,{_prefixChildren:1}),o["ɵqud"](603979776,57,{_suffixChildren:1}),(n()(),o["ɵeld"](124,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,130)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,130)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,130)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vpcsTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](126,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](127,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](129,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](130,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,58,{options:1}),o["ɵqud"](603979776,59,{optionGroups:1}),o["ɵqud"](603979776,60,{customTrigger:0}),o["ɵprd"](2048,[[49,4],[50,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,$T)),o["ɵdid"](136,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](137,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vpcsTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](138,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](140,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](141,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](143,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](145,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](146,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](147,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](149,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](150,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,22,0,"templateName",t.vpcsTemplate.name),n(e,25,0,"Template name","text"),n(e,41,0,"defaultName",t.vpcsTemplate.default_name_format),n(e,44,0,"Default name format","text"),n(e,60,0,"scriptFile",t.vpcsTemplate.base_script_file),n(e,63,0,"Base script file","text"),n(e,79,0,"symbol",t.vpcsTemplate.symbol),n(e,82,0,"Symbol","text");var l=t.vpcsTemplate.category,o=n(e,103,0,!0);n(e,102,0,l,o),n(e,106,0,"Category"),n(e,112,0,t.categories);var i=t.vpcsTemplate.console_type,r=n(e,127,0,!0);n(e,126,0,i,r),n(e,130,0,"Console type"),n(e,136,0,t.consoleTypes);var a=t.vpcsTemplate.console_auto_start,u=n(e,141,0,!0);n(e,140,0,a,u),n(e,150,0,"primary")}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,24).ngClassUntouched,o["ɵnov"](e,24).ngClassTouched,o["ɵnov"](e,24).ngClassPristine,o["ɵnov"](e,24).ngClassDirty,o["ɵnov"](e,24).ngClassValid,o["ɵnov"](e,24).ngClassInvalid,o["ɵnov"](e,24).ngClassPending,o["ɵnov"](e,25)._isServer,o["ɵnov"](e,25).id,o["ɵnov"](e,25).placeholder,o["ɵnov"](e,25).disabled,o["ɵnov"](e,25).required,o["ɵnov"](e,25).readonly&&!o["ɵnov"](e,25)._isNativeSelect||null,o["ɵnov"](e,25)._ariaDescribedby||null,o["ɵnov"](e,25).errorState,o["ɵnov"](e,25).required.toString()]),n(e,27,1,["standard"==o["ɵnov"](e,28).appearance,"fill"==o["ɵnov"](e,28).appearance,"outline"==o["ɵnov"](e,28).appearance,"legacy"==o["ɵnov"](e,28).appearance,o["ɵnov"](e,28)._control.errorState,o["ɵnov"](e,28)._canLabelFloat,o["ɵnov"](e,28)._shouldLabelFloat(),o["ɵnov"](e,28)._hasFloatingLabel(),o["ɵnov"](e,28)._hideControlPlaceholder(),o["ɵnov"](e,28)._control.disabled,o["ɵnov"](e,28)._control.autofilled,o["ɵnov"](e,28)._control.focused,"accent"==o["ɵnov"](e,28).color,"warn"==o["ɵnov"](e,28).color,o["ɵnov"](e,28)._shouldForward("untouched"),o["ɵnov"](e,28)._shouldForward("touched"),o["ɵnov"](e,28)._shouldForward("pristine"),o["ɵnov"](e,28)._shouldForward("dirty"),o["ɵnov"](e,28)._shouldForward("valid"),o["ɵnov"](e,28)._shouldForward("invalid"),o["ɵnov"](e,28)._shouldForward("pending"),!o["ɵnov"](e,28)._animationsEnabled]),n(e,38,1,[o["ɵnov"](e,43).ngClassUntouched,o["ɵnov"](e,43).ngClassTouched,o["ɵnov"](e,43).ngClassPristine,o["ɵnov"](e,43).ngClassDirty,o["ɵnov"](e,43).ngClassValid,o["ɵnov"](e,43).ngClassInvalid,o["ɵnov"](e,43).ngClassPending,o["ɵnov"](e,44)._isServer,o["ɵnov"](e,44).id,o["ɵnov"](e,44).placeholder,o["ɵnov"](e,44).disabled,o["ɵnov"](e,44).required,o["ɵnov"](e,44).readonly&&!o["ɵnov"](e,44)._isNativeSelect||null,o["ɵnov"](e,44)._ariaDescribedby||null,o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).required.toString()]),n(e,46,1,["standard"==o["ɵnov"](e,47).appearance,"fill"==o["ɵnov"](e,47).appearance,"outline"==o["ɵnov"](e,47).appearance,"legacy"==o["ɵnov"](e,47).appearance,o["ɵnov"](e,47)._control.errorState,o["ɵnov"](e,47)._canLabelFloat,o["ɵnov"](e,47)._shouldLabelFloat(),o["ɵnov"](e,47)._hasFloatingLabel(),o["ɵnov"](e,47)._hideControlPlaceholder(),o["ɵnov"](e,47)._control.disabled,o["ɵnov"](e,47)._control.autofilled,o["ɵnov"](e,47)._control.focused,"accent"==o["ɵnov"](e,47).color,"warn"==o["ɵnov"](e,47).color,o["ɵnov"](e,47)._shouldForward("untouched"),o["ɵnov"](e,47)._shouldForward("touched"),o["ɵnov"](e,47)._shouldForward("pristine"),o["ɵnov"](e,47)._shouldForward("dirty"),o["ɵnov"](e,47)._shouldForward("valid"),o["ɵnov"](e,47)._shouldForward("invalid"),o["ɵnov"](e,47)._shouldForward("pending"),!o["ɵnov"](e,47)._animationsEnabled]),n(e,57,1,[o["ɵnov"](e,62).ngClassUntouched,o["ɵnov"](e,62).ngClassTouched,o["ɵnov"](e,62).ngClassPristine,o["ɵnov"](e,62).ngClassDirty,o["ɵnov"](e,62).ngClassValid,o["ɵnov"](e,62).ngClassInvalid,o["ɵnov"](e,62).ngClassPending,o["ɵnov"](e,63)._isServer,o["ɵnov"](e,63).id,o["ɵnov"](e,63).placeholder,o["ɵnov"](e,63).disabled,o["ɵnov"](e,63).required,o["ɵnov"](e,63).readonly&&!o["ɵnov"](e,63)._isNativeSelect||null,o["ɵnov"](e,63)._ariaDescribedby||null,o["ɵnov"](e,63).errorState,o["ɵnov"](e,63).required.toString()]),n(e,65,1,["standard"==o["ɵnov"](e,66).appearance,"fill"==o["ɵnov"](e,66).appearance,"outline"==o["ɵnov"](e,66).appearance,"legacy"==o["ɵnov"](e,66).appearance,o["ɵnov"](e,66)._control.errorState,o["ɵnov"](e,66)._canLabelFloat,o["ɵnov"](e,66)._shouldLabelFloat(),o["ɵnov"](e,66)._hasFloatingLabel(),o["ɵnov"](e,66)._hideControlPlaceholder(),o["ɵnov"](e,66)._control.disabled,o["ɵnov"](e,66)._control.autofilled,o["ɵnov"](e,66)._control.focused,"accent"==o["ɵnov"](e,66).color,"warn"==o["ɵnov"](e,66).color,o["ɵnov"](e,66)._shouldForward("untouched"),o["ɵnov"](e,66)._shouldForward("touched"),o["ɵnov"](e,66)._shouldForward("pristine"),o["ɵnov"](e,66)._shouldForward("dirty"),o["ɵnov"](e,66)._shouldForward("valid"),o["ɵnov"](e,66)._shouldForward("invalid"),o["ɵnov"](e,66)._shouldForward("pending"),!o["ɵnov"](e,66)._animationsEnabled]),n(e,76,1,[o["ɵnov"](e,81).ngClassUntouched,o["ɵnov"](e,81).ngClassTouched,o["ɵnov"](e,81).ngClassPristine,o["ɵnov"](e,81).ngClassDirty,o["ɵnov"](e,81).ngClassValid,o["ɵnov"](e,81).ngClassInvalid,o["ɵnov"](e,81).ngClassPending,o["ɵnov"](e,82)._isServer,o["ɵnov"](e,82).id,o["ɵnov"](e,82).placeholder,o["ɵnov"](e,82).disabled,o["ɵnov"](e,82).required,o["ɵnov"](e,82).readonly&&!o["ɵnov"](e,82)._isNativeSelect||null,o["ɵnov"](e,82)._ariaDescribedby||null,o["ɵnov"](e,82).errorState,o["ɵnov"](e,82).required.toString()]),n(e,84,0,o["ɵnov"](e,85).disabled||null,"NoopAnimations"===o["ɵnov"](e,85)._animationMode),n(e,89,1,["standard"==o["ɵnov"](e,90).appearance,"fill"==o["ɵnov"](e,90).appearance,"outline"==o["ɵnov"](e,90).appearance,"legacy"==o["ɵnov"](e,90).appearance,o["ɵnov"](e,90)._control.errorState,o["ɵnov"](e,90)._canLabelFloat,o["ɵnov"](e,90)._shouldLabelFloat(),o["ɵnov"](e,90)._hasFloatingLabel(),o["ɵnov"](e,90)._hideControlPlaceholder(),o["ɵnov"](e,90)._control.disabled,o["ɵnov"](e,90)._control.autofilled,o["ɵnov"](e,90)._control.focused,"accent"==o["ɵnov"](e,90).color,"warn"==o["ɵnov"](e,90).color,o["ɵnov"](e,90)._shouldForward("untouched"),o["ɵnov"](e,90)._shouldForward("touched"),o["ɵnov"](e,90)._shouldForward("pristine"),o["ɵnov"](e,90)._shouldForward("dirty"),o["ɵnov"](e,90)._shouldForward("valid"),o["ɵnov"](e,90)._shouldForward("invalid"),o["ɵnov"](e,90)._shouldForward("pending"),!o["ɵnov"](e,90)._animationsEnabled]),n(e,100,1,[o["ɵnov"](e,105).ngClassUntouched,o["ɵnov"](e,105).ngClassTouched,o["ɵnov"](e,105).ngClassPristine,o["ɵnov"](e,105).ngClassDirty,o["ɵnov"](e,105).ngClassValid,o["ɵnov"](e,105).ngClassInvalid,o["ɵnov"](e,105).ngClassPending,o["ɵnov"](e,106).id,o["ɵnov"](e,106).tabIndex,o["ɵnov"](e,106)._getAriaLabel(),o["ɵnov"](e,106)._getAriaLabelledby(),o["ɵnov"](e,106).required.toString(),o["ɵnov"](e,106).disabled.toString(),o["ɵnov"](e,106).errorState,o["ɵnov"](e,106).panelOpen?o["ɵnov"](e,106)._optionIds:null,o["ɵnov"](e,106).multiple,o["ɵnov"](e,106)._ariaDescribedby||null,o["ɵnov"](e,106)._getAriaActiveDescendant(),o["ɵnov"](e,106).disabled,o["ɵnov"](e,106).errorState,o["ɵnov"](e,106).required,o["ɵnov"](e,106).empty]),n(e,113,1,["standard"==o["ɵnov"](e,114).appearance,"fill"==o["ɵnov"](e,114).appearance,"outline"==o["ɵnov"](e,114).appearance,"legacy"==o["ɵnov"](e,114).appearance,o["ɵnov"](e,114)._control.errorState,o["ɵnov"](e,114)._canLabelFloat,o["ɵnov"](e,114)._shouldLabelFloat(),o["ɵnov"](e,114)._hasFloatingLabel(),o["ɵnov"](e,114)._hideControlPlaceholder(),o["ɵnov"](e,114)._control.disabled,o["ɵnov"](e,114)._control.autofilled,o["ɵnov"](e,114)._control.focused,"accent"==o["ɵnov"](e,114).color,"warn"==o["ɵnov"](e,114).color,o["ɵnov"](e,114)._shouldForward("untouched"),o["ɵnov"](e,114)._shouldForward("touched"),o["ɵnov"](e,114)._shouldForward("pristine"),o["ɵnov"](e,114)._shouldForward("dirty"),o["ɵnov"](e,114)._shouldForward("valid"),o["ɵnov"](e,114)._shouldForward("invalid"),o["ɵnov"](e,114)._shouldForward("pending"),!o["ɵnov"](e,114)._animationsEnabled]),n(e,124,1,[o["ɵnov"](e,129).ngClassUntouched,o["ɵnov"](e,129).ngClassTouched,o["ɵnov"](e,129).ngClassPristine,o["ɵnov"](e,129).ngClassDirty,o["ɵnov"](e,129).ngClassValid,o["ɵnov"](e,129).ngClassInvalid,o["ɵnov"](e,129).ngClassPending,o["ɵnov"](e,130).id,o["ɵnov"](e,130).tabIndex,o["ɵnov"](e,130)._getAriaLabel(),o["ɵnov"](e,130)._getAriaLabelledby(),o["ɵnov"](e,130).required.toString(),o["ɵnov"](e,130).disabled.toString(),o["ɵnov"](e,130).errorState,o["ɵnov"](e,130).panelOpen?o["ɵnov"](e,130)._optionIds:null,o["ɵnov"](e,130).multiple,o["ɵnov"](e,130)._ariaDescribedby||null,o["ɵnov"](e,130)._getAriaActiveDescendant(),o["ɵnov"](e,130).disabled,o["ɵnov"](e,130).errorState,o["ɵnov"](e,130).required,o["ɵnov"](e,130).empty]),n(e,137,1,[o["ɵnov"](e,138).id,null,o["ɵnov"](e,138).indeterminate,o["ɵnov"](e,138).checked,o["ɵnov"](e,138).disabled,"before"==o["ɵnov"](e,138).labelPosition,"NoopAnimations"===o["ɵnov"](e,138)._animationMode,o["ɵnov"](e,143).ngClassUntouched,o["ɵnov"](e,143).ngClassTouched,o["ɵnov"](e,143).ngClassPristine,o["ɵnov"](e,143).ngClassDirty,o["ɵnov"](e,143).ngClassValid,o["ɵnov"](e,143).ngClassInvalid,o["ɵnov"](e,143).ngClassPending]),n(e,146,0,o["ɵnov"](e,147).disabled||null,"NoopAnimations"===o["ɵnov"](e,147)._animationMode),n(e,149,0,o["ɵnov"](e,150).disabled||null,"NoopAnimations"===o["ɵnov"](e,150)._animationMode)}))}function JT(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.vpcsTemplate.symbol)}),null)}function nR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VPCS device configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,QT)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,JT)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.vpcsTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.vpcsTemplate)}),null)}function eR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-vpcs-template-details",[],null,null,null,nR,XT)),o["ɵdid"](1,114688,null,0,ZT,[rt,Dh,PT,hc,Gm,KT,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var tR=o["ɵccf"]("app-vpcs-template-details",ZT,eR,{},{},[]),lR=function(){function n(n,e,t,l,o,i,r,a){this.route=n,this.serverService=e,this.vpcsService=t,this.router=l,this.toasterService=o,this.templateMocksService=i,this.formBuilder=r,this.computeService=a,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.templateNameForm=this.formBuilder.group({templateName:new Em(null,[Xh.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.addTemplate=function(){var n,e=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.templateName=this.templateNameForm.get("templateName").value,this.templateMocksService.getVpcsTemplate().subscribe((function(e){n=e})),n.template_id=Object(Zg.v4)(),n.name=this.templateName,n.compute_id=this.isGns3VmChosen?"vm":"local",this.vpcsService.addTemplate(this.server,n).subscribe((function(){e.goBack()})))},n}(),oR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function iR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,48,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New VPCS node template"])),(n()(),o["ɵeld"](5,0,null,null,43,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,35,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](10,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](12,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,13)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](13,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run the VPCS node locally"])),(n()(),o["ɵeld"](15,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,16)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](16,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run the VPCS node on the GNS3 VM"])),(n()(),o["ɵeld"](18,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,20).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,20).onReset()&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,qm,[],null,null),o["ɵdid"](20,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](22,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](23,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](24,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](34,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,40)._onInput()&&l),l}),null,null)),o["ɵdid"](35,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](37,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](39,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](40,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](42,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](43,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](44,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](46,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](47,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,13,0,"","1"),n(e,16,0,"2",!t.isGns3VmAvailable),n(e,20,0,t.templateNameForm),n(e,37,0,"templateName"),n(e,40,0,"Template name","text"),n(e,47,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,1,[o["ɵnov"](e,13).checked,o["ɵnov"](e,13).disabled,"NoopAnimations"===o["ɵnov"](e,13)._animationMode,"primary"===o["ɵnov"](e,13).color,"accent"===o["ɵnov"](e,13).color,"warn"===o["ɵnov"](e,13).color,-1,o["ɵnov"](e,13).id,null,null,null]),n(e,15,1,[o["ɵnov"](e,16).checked,o["ɵnov"](e,16).disabled,"NoopAnimations"===o["ɵnov"](e,16)._animationMode,"primary"===o["ɵnov"](e,16).color,"accent"===o["ɵnov"](e,16).color,"warn"===o["ɵnov"](e,16).color,-1,o["ɵnov"](e,16).id,null,null,null]),n(e,18,0,o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending),n(e,23,1,["standard"==o["ɵnov"](e,24).appearance,"fill"==o["ɵnov"](e,24).appearance,"outline"==o["ɵnov"](e,24).appearance,"legacy"==o["ɵnov"](e,24).appearance,o["ɵnov"](e,24)._control.errorState,o["ɵnov"](e,24)._canLabelFloat,o["ɵnov"](e,24)._shouldLabelFloat(),o["ɵnov"](e,24)._hasFloatingLabel(),o["ɵnov"](e,24)._hideControlPlaceholder(),o["ɵnov"](e,24)._control.disabled,o["ɵnov"](e,24)._control.autofilled,o["ɵnov"](e,24)._control.focused,"accent"==o["ɵnov"](e,24).color,"warn"==o["ɵnov"](e,24).color,o["ɵnov"](e,24)._shouldForward("untouched"),o["ɵnov"](e,24)._shouldForward("touched"),o["ɵnov"](e,24)._shouldForward("pristine"),o["ɵnov"](e,24)._shouldForward("dirty"),o["ɵnov"](e,24)._shouldForward("valid"),o["ɵnov"](e,24)._shouldForward("invalid"),o["ɵnov"](e,24)._shouldForward("pending"),!o["ɵnov"](e,24)._animationsEnabled]),n(e,34,1,[o["ɵnov"](e,39).ngClassUntouched,o["ɵnov"](e,39).ngClassTouched,o["ɵnov"](e,39).ngClassPristine,o["ɵnov"](e,39).ngClassDirty,o["ɵnov"](e,39).ngClassValid,o["ɵnov"](e,39).ngClassInvalid,o["ɵnov"](e,39).ngClassPending,o["ɵnov"](e,40)._isServer,o["ɵnov"](e,40).id,o["ɵnov"](e,40).placeholder,o["ɵnov"](e,40).disabled,o["ɵnov"](e,40).required,o["ɵnov"](e,40).readonly&&!o["ɵnov"](e,40)._isNativeSelect||null,o["ɵnov"](e,40)._ariaDescribedby||null,o["ɵnov"](e,40).errorState,o["ɵnov"](e,40).required.toString()]),n(e,43,0,o["ɵnov"](e,44).disabled||null,"NoopAnimations"===o["ɵnov"](e,44)._animationMode),n(e,46,0,o["ɵnov"](e,47).disabled||null,"NoopAnimations"===o["ɵnov"](e,47)._animationMode)}))}function rR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-vpcs-template",[],null,null,null,iR,oR)),o["ɵdid"](1,114688,null,0,lR,[rt,Dh,PT,vl,hc,Bw,Gm,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var aR=o["ɵccf"]("app-add-vpcs-template",lR,rR,{},{},[]),uR=function(){function n(n,e,t){this.route=n,this.serverService=e,this.virtualBoxService=t,this.virtualBoxTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.virtualBoxService.getTemplates(this.server).subscribe((function(e){n.virtualBoxTemplates=e.filter((function(n){return"virtualbox"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),sR=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n.prototype.getVirtualMachines=function(n){return this.httpServer.get(n,"/compute/virtualbox/vms")},n}(),dR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function cR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function pR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add Virtual Box VM template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/virtualbox/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function fR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function hR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function mR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,hR)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.virtualBoxTemplates)}),null)}function vR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,mR)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function gR(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VirtualBox VM templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,cR)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,pR)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,fR)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,vR)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.virtualBoxTemplates.length),n(e,13,0,t.virtualBoxTemplates.length),n(e,15,0,t.server)}),null)}function bR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-virtual-box-templates",[],null,null,null,gR,dR)),o["ɵdid"](1,114688,null,0,uR,[rt,Dh,sR],null,null)],(function(n,e){n(e,1,0)}),null)}var _R=o["ɵccf"]("app-virtual-box-templates",uR,bR,{},{},[]),yR=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.formBuilder=o,this.virtualBoxConfigurationService=i,this.router=r,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.onCloseOptions=[],this.categories=[],this.networkTypes=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required),ram:new Em("",Xh.required)}),this.networkForm=this.formBuilder.group({adapters:new Em("",Xh.required),nameFormat:new Em("",Xh.required),size:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.virtualBoxService.getTemplate(n.server,t).subscribe((function(e){n.virtualBoxTemplate=e,n.fillCustomAdapters()}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.categories=this.virtualBoxConfigurationService.getCategories(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.virtualBoxTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.virtualBoxTemplate.custom_adapters.forEach((function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})})))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.virtualBoxTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.virtualBoxTemplate.custom_adapters?this.virtualBoxTemplate.custom_adapters:[];this.virtualBoxTemplate.custom_adapters=[];for(var e=0;e<this.virtualBoxTemplate.adapters;e++)this.virtualBoxTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.virtualBoxService.saveTemplate(this.server,this.virtualBoxTemplate).subscribe((function(e){n.toasterService.success("Changes saved")})))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.virtualBoxTemplate.symbol=n},n}(),CR=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getNetworkTypes=function(){return["PCnet-PCI II (Am79C970A)","PCNet-FAST III (Am79C973)","Intel PRO/1000 MT Desktop (82540EM)","Intel PRO/1000 T Server (82543GC)","Intel PRO/1000 MT Server (82545EM)","Paravirtualized Network (virtio-net)"]},n}(),wR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function SR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[40,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function xR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[52,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function kR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[73,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function ER(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[122,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function TR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,367,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,359,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,2,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,195,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,3,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,169,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](79,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](96,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](97,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,40,{options:1}),o["ɵqud"](603979776,41,{optionGroups:1}),o["ɵqud"](603979776,42,{customTrigger:0}),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,SR)),o["ɵdid"](106,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](108,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,43,{_controlNonStatic:0}),o["ɵqud"](335544320,44,{_controlStatic:0}),o["ɵqud"](603979776,45,{_labelChildNonStatic:0}),o["ɵqud"](335544320,46,{_labelChildStatic:0}),o["ɵqud"](603979776,47,{_placeholderChild:0}),o["ɵqud"](603979776,48,{_errorChildren:1}),o["ɵqud"](603979776,49,{_hintChildren:1}),o["ɵqud"](603979776,50,{_prefixChildren:1}),o["ɵqud"](603979776,51,{_suffixChildren:1}),(n()(),o["ɵeld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](120,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](121,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](123,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](124,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,52,{options:1}),o["ɵqud"](603979776,53,{optionGroups:1}),o["ɵqud"](603979776,54,{customTrigger:0}),o["ɵprd"](2048,[[43,4],[44,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,xR)),o["ɵdid"](130,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](131,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](132,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](134,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](135,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](137,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](139,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](140,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,55,{_controlNonStatic:0}),o["ɵqud"](335544320,56,{_controlStatic:0}),o["ɵqud"](603979776,57,{_labelChildNonStatic:0}),o["ɵqud"](335544320,58,{_labelChildStatic:0}),o["ɵqud"](603979776,59,{_placeholderChild:0}),o["ɵqud"](603979776,60,{_errorChildren:1}),o["ɵqud"](603979776,61,{_hintChildren:1}),o["ɵqud"](603979776,62,{_prefixChildren:1}),o["ɵqud"](603979776,63,{_suffixChildren:1}),(n()(),o["ɵeld"](150,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,151)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,151).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,151)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,151)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,152).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,152).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,152).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,157)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.ram=t)&&l),l}),null,null)),o["ɵdid"](151,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](152,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](154,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](156,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](157,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[55,4],[56,4]],ag,null,[Lg]),(n()(),o["ɵeld"](159,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](160,16384,[[63,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](162,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](163,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,64,{_controlNonStatic:0}),o["ɵqud"](335544320,65,{_controlStatic:0}),o["ɵqud"](603979776,66,{_labelChildNonStatic:0}),o["ɵqud"](335544320,67,{_labelChildStatic:0}),o["ɵqud"](603979776,68,{_placeholderChild:0}),o["ɵqud"](603979776,69,{_errorChildren:1}),o["ɵqud"](603979776,70,{_hintChildren:1}),o["ɵqud"](603979776,71,{_prefixChildren:1}),o["ɵqud"](603979776,72,{_suffixChildren:1}),(n()(),o["ɵeld"](173,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,179)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,179)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,179)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](175,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](176,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](178,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](179,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,73,{options:1}),o["ɵqud"](603979776,74,{optionGroups:1}),o["ɵqud"](603979776,75,{customTrigger:0}),o["ɵprd"](2048,[[64,4],[65,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,kR)),o["ɵdid"](185,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](186,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.headless=t)&&l),l}),O_,F_)),o["ɵdid"](187,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](189,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](191,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start VM in headless mode "])),(n()(),o["ɵeld"](193,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](194,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](195,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](197,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](199,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["ɵeld"](201,16777216,null,null,129,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](202,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,76,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](205,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,206)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,206)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,206)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](206,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](207,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](208,{value:0,params:1}),(n()(),o["ɵeld"](209,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](210,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Network "])),(n()(),o["ɵeld"](212,0,null,1,107,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,214).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,214).onReset()&&l),l}),null,null)),o["ɵdid"](213,16384,null,0,qm,[],null,null),o["ɵdid"](214,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](216,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](217,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](218,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,77,{_controlNonStatic:0}),o["ɵqud"](335544320,78,{_controlStatic:0}),o["ɵqud"](603979776,79,{_labelChildNonStatic:0}),o["ɵqud"](335544320,80,{_labelChildStatic:0}),o["ɵqud"](603979776,81,{_placeholderChild:0}),o["ɵqud"](603979776,82,{_errorChildren:1}),o["ɵqud"](603979776,83,{_hintChildren:1}),o["ɵqud"](603979776,84,{_prefixChildren:1}),o["ɵqud"](603979776,85,{_suffixChildren:1}),(n()(),o["ɵeld"](228,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","adapters"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,229)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,229).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,229)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,229)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,230).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,230).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,230).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,235)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,235)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,235)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.adapters=t)&&l),l}),null,null)),o["ɵdid"](229,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](230,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](232,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](234,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](235,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[77,4],[78,4]],ag,null,[Lg]),(n()(),o["ɵeld"](237,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](238,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,86,{_controlNonStatic:0}),o["ɵqud"](335544320,87,{_controlStatic:0}),o["ɵqud"](603979776,88,{_labelChildNonStatic:0}),o["ɵqud"](335544320,89,{_labelChildStatic:0}),o["ɵqud"](603979776,90,{_placeholderChild:0}),o["ɵqud"](603979776,91,{_errorChildren:1}),o["ɵqud"](603979776,92,{_hintChildren:1}),o["ɵqud"](603979776,93,{_prefixChildren:1}),o["ɵqud"](603979776,94,{_suffixChildren:1}),(n()(),o["ɵeld"](248,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,249)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,249).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,249)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,249)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,255)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,255)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,255)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.first_port_name=t)&&l),l}),null,null)),o["ɵdid"](249,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](251,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](252,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](254,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](255,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[86,4],[87,4]],ag,null,[Lg]),(n()(),o["ɵeld"](257,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](258,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,95,{_controlNonStatic:0}),o["ɵqud"](335544320,96,{_controlStatic:0}),o["ɵqud"](603979776,97,{_labelChildNonStatic:0}),o["ɵqud"](335544320,98,{_labelChildStatic:0}),o["ɵqud"](603979776,99,{_placeholderChild:0}),o["ɵqud"](603979776,100,{_errorChildren:1}),o["ɵqud"](603979776,101,{_hintChildren:1}),o["ɵqud"](603979776,102,{_prefixChildren:1}),o["ɵqud"](603979776,103,{_suffixChildren:1}),(n()(),o["ɵeld"](268,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nameFormat"],["matInput",""],["placeholder","Name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,269)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,269).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,269)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,269)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,274)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,274)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,274)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.port_name_format=t)&&l),l}),null,null)),o["ɵdid"](269,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](271,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](273,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](274,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[95,4],[96,4]],ag,null,[Lg]),(n()(),o["ɵeld"](276,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](277,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,104,{_controlNonStatic:0}),o["ɵqud"](335544320,105,{_controlStatic:0}),o["ɵqud"](603979776,106,{_labelChildNonStatic:0}),o["ɵqud"](335544320,107,{_labelChildStatic:0}),o["ɵqud"](603979776,108,{_placeholderChild:0}),o["ɵqud"](603979776,109,{_errorChildren:1}),o["ɵqud"](603979776,110,{_hintChildren:1}),o["ɵqud"](603979776,111,{_prefixChildren:1}),o["ɵqud"](603979776,112,{_suffixChildren:1}),(n()(),o["ɵeld"](287,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","size"],["matInput",""],["placeholder","Segment size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,288)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,288).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,288)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,288)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,289).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,289).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,289).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,294)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,294)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,294)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.port_segment_size=t)&&l),l}),null,null)),o["ɵdid"](288,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](289,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](291,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](293,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](294,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[104,4],[105,4]],ag,null,[Lg]),(n()(),o["ɵeld"](296,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](297,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,113,{_controlNonStatic:0}),o["ɵqud"](335544320,114,{_controlStatic:0}),o["ɵqud"](603979776,115,{_labelChildNonStatic:0}),o["ɵqud"](335544320,116,{_labelChildStatic:0}),o["ɵqud"](603979776,117,{_placeholderChild:0}),o["ɵqud"](603979776,118,{_errorChildren:1}),o["ɵqud"](603979776,119,{_hintChildren:1}),o["ɵqud"](603979776,120,{_prefixChildren:1}),o["ɵqud"](603979776,121,{_suffixChildren:1}),(n()(),o["ɵeld"](307,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,313)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,313)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,313)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.adapter_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](309,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](310,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](312,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](313,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,122,{options:1}),o["ɵqud"](603979776,123,{optionGroups:1}),o["ɵqud"](603979776,124,{customTrigger:0}),o["ɵprd"](2048,[[113,4],[114,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,ER)),o["ɵdid"](319,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](320,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l}),ou,lu)),o["ɵdid"](321,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Configure custom adapters"])),(n()(),o["ɵeld"](323,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](324,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.use_any_adapter=t)&&l),l}),O_,F_)),o["ɵdid"](325,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](327,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](329,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Allow GNS3 to use any configured VirtualBox adapter "])),(n()(),o["ɵeld"](331,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](332,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,125,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](335,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,336)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,336)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,336)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](336,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](337,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](338,{value:0,params:1}),(n()(),o["ɵeld"](339,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](340,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](342,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](343,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,126,{_controlNonStatic:0}),o["ɵqud"](335544320,127,{_controlStatic:0}),o["ɵqud"](603979776,128,{_labelChildNonStatic:0}),o["ɵqud"](335544320,129,{_labelChildStatic:0}),o["ɵqud"](603979776,130,{_placeholderChild:0}),o["ɵqud"](603979776,131,{_errorChildren:1}),o["ɵqud"](603979776,132,{_hintChildren:1}),o["ɵqud"](603979776,133,{_prefixChildren:1}),o["ɵqud"](603979776,134,{_suffixChildren:1}),(n()(),o["ɵeld"](353,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,354)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,354).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,354)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,354)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,359)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,359)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,359)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.virtualBoxTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](354,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](356,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](358,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](359,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[126,4],[127,4]],ag,null,[Lg]),(n()(),o["ɵeld"](361,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](362,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](363,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](365,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](366,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.virtualBoxTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.virtualBoxTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.virtualBoxTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.virtualBoxTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var i=t.virtualBoxTemplate.console_type,r=n(e,121,0,!0);n(e,120,0,i,r),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes);var a=t.virtualBoxTemplate.console_auto_start,u=n(e,135,0,!0);n(e,134,0,a,u),n(e,154,0,"ram",t.virtualBoxTemplate.ram),n(e,157,0,"RAM","number");var s=t.virtualBoxTemplate.on_close,d=n(e,176,0,!0);n(e,175,0,s,d),n(e,179,0,"On close"),n(e,185,0,t.onCloseOptions),n(e,189,0,t.virtualBoxTemplate.headless),n(e,197,0,t.virtualBoxTemplate.linked_clone),n(e,214,0,t.networkForm),n(e,232,0,"adapters",t.virtualBoxTemplate.adapters),n(e,235,0,"Adapters","number");var c=t.virtualBoxTemplate.first_port_name,p=n(e,252,0,!0);n(e,251,0,c,p),n(e,255,0,"First port name","text"),n(e,271,0,"nameFormat",t.virtualBoxTemplate.port_name_format),n(e,274,0,"Name format","text"),n(e,291,0,"size",t.virtualBoxTemplate.port_segment_size),n(e,294,0,"Segment size","number");var f=t.virtualBoxTemplate.adapter_type,h=n(e,310,0,!0);n(e,309,0,f,h),n(e,313,0,"Type"),n(e,319,0,t.networkTypes),n(e,327,0,t.virtualBoxTemplate.use_any_adapter),n(e,356,0,t.virtualBoxTemplate.usage),n(e,359,0,"text"),n(e,366,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,78,0,o["ɵnov"](e,79).disabled||null,"NoopAnimations"===o["ɵnov"](e,79)._animationMode),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100).id,o["ɵnov"](e,100).tabIndex,o["ɵnov"](e,100)._getAriaLabel(),o["ɵnov"](e,100)._getAriaLabelledby(),o["ɵnov"](e,100).required.toString(),o["ɵnov"](e,100).disabled.toString(),o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).panelOpen?o["ɵnov"](e,100)._optionIds:null,o["ɵnov"](e,100).multiple,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100)._getAriaActiveDescendant(),o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required,o["ɵnov"](e,100).empty]),n(e,107,1,["standard"==o["ɵnov"](e,108).appearance,"fill"==o["ɵnov"](e,108).appearance,"outline"==o["ɵnov"](e,108).appearance,"legacy"==o["ɵnov"](e,108).appearance,o["ɵnov"](e,108)._control.errorState,o["ɵnov"](e,108)._canLabelFloat,o["ɵnov"](e,108)._shouldLabelFloat(),o["ɵnov"](e,108)._hasFloatingLabel(),o["ɵnov"](e,108)._hideControlPlaceholder(),o["ɵnov"](e,108)._control.disabled,o["ɵnov"](e,108)._control.autofilled,o["ɵnov"](e,108)._control.focused,"accent"==o["ɵnov"](e,108).color,"warn"==o["ɵnov"](e,108).color,o["ɵnov"](e,108)._shouldForward("untouched"),o["ɵnov"](e,108)._shouldForward("touched"),o["ɵnov"](e,108)._shouldForward("pristine"),o["ɵnov"](e,108)._shouldForward("dirty"),o["ɵnov"](e,108)._shouldForward("valid"),o["ɵnov"](e,108)._shouldForward("invalid"),o["ɵnov"](e,108)._shouldForward("pending"),!o["ɵnov"](e,108)._animationsEnabled]),n(e,118,1,[o["ɵnov"](e,123).ngClassUntouched,o["ɵnov"](e,123).ngClassTouched,o["ɵnov"](e,123).ngClassPristine,o["ɵnov"](e,123).ngClassDirty,o["ɵnov"](e,123).ngClassValid,o["ɵnov"](e,123).ngClassInvalid,o["ɵnov"](e,123).ngClassPending,o["ɵnov"](e,124).id,o["ɵnov"](e,124).tabIndex,o["ɵnov"](e,124)._getAriaLabel(),o["ɵnov"](e,124)._getAriaLabelledby(),o["ɵnov"](e,124).required.toString(),o["ɵnov"](e,124).disabled.toString(),o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).panelOpen?o["ɵnov"](e,124)._optionIds:null,o["ɵnov"](e,124).multiple,o["ɵnov"](e,124)._ariaDescribedby||null,o["ɵnov"](e,124)._getAriaActiveDescendant(),o["ɵnov"](e,124).disabled,o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).required,o["ɵnov"](e,124).empty]),n(e,131,1,[o["ɵnov"](e,132).id,null,o["ɵnov"](e,132).indeterminate,o["ɵnov"](e,132).checked,o["ɵnov"](e,132).disabled,"before"==o["ɵnov"](e,132).labelPosition,"NoopAnimations"===o["ɵnov"](e,132)._animationMode,o["ɵnov"](e,137).ngClassUntouched,o["ɵnov"](e,137).ngClassTouched,o["ɵnov"](e,137).ngClassPristine,o["ɵnov"](e,137).ngClassDirty,o["ɵnov"](e,137).ngClassValid,o["ɵnov"](e,137).ngClassInvalid,o["ɵnov"](e,137).ngClassPending]),n(e,139,1,["standard"==o["ɵnov"](e,140).appearance,"fill"==o["ɵnov"](e,140).appearance,"outline"==o["ɵnov"](e,140).appearance,"legacy"==o["ɵnov"](e,140).appearance,o["ɵnov"](e,140)._control.errorState,o["ɵnov"](e,140)._canLabelFloat,o["ɵnov"](e,140)._shouldLabelFloat(),o["ɵnov"](e,140)._hasFloatingLabel(),o["ɵnov"](e,140)._hideControlPlaceholder(),o["ɵnov"](e,140)._control.disabled,o["ɵnov"](e,140)._control.autofilled,o["ɵnov"](e,140)._control.focused,"accent"==o["ɵnov"](e,140).color,"warn"==o["ɵnov"](e,140).color,o["ɵnov"](e,140)._shouldForward("untouched"),o["ɵnov"](e,140)._shouldForward("touched"),o["ɵnov"](e,140)._shouldForward("pristine"),o["ɵnov"](e,140)._shouldForward("dirty"),o["ɵnov"](e,140)._shouldForward("valid"),o["ɵnov"](e,140)._shouldForward("invalid"),o["ɵnov"](e,140)._shouldForward("pending"),!o["ɵnov"](e,140)._animationsEnabled]),n(e,150,1,[o["ɵnov"](e,156).ngClassUntouched,o["ɵnov"](e,156).ngClassTouched,o["ɵnov"](e,156).ngClassPristine,o["ɵnov"](e,156).ngClassDirty,o["ɵnov"](e,156).ngClassValid,o["ɵnov"](e,156).ngClassInvalid,o["ɵnov"](e,156).ngClassPending,o["ɵnov"](e,157)._isServer,o["ɵnov"](e,157).id,o["ɵnov"](e,157).placeholder,o["ɵnov"](e,157).disabled,o["ɵnov"](e,157).required,o["ɵnov"](e,157).readonly&&!o["ɵnov"](e,157)._isNativeSelect||null,o["ɵnov"](e,157)._ariaDescribedby||null,o["ɵnov"](e,157).errorState,o["ɵnov"](e,157).required.toString()]),n(e,162,1,["standard"==o["ɵnov"](e,163).appearance,"fill"==o["ɵnov"](e,163).appearance,"outline"==o["ɵnov"](e,163).appearance,"legacy"==o["ɵnov"](e,163).appearance,o["ɵnov"](e,163)._control.errorState,o["ɵnov"](e,163)._canLabelFloat,o["ɵnov"](e,163)._shouldLabelFloat(),o["ɵnov"](e,163)._hasFloatingLabel(),o["ɵnov"](e,163)._hideControlPlaceholder(),o["ɵnov"](e,163)._control.disabled,o["ɵnov"](e,163)._control.autofilled,o["ɵnov"](e,163)._control.focused,"accent"==o["ɵnov"](e,163).color,"warn"==o["ɵnov"](e,163).color,o["ɵnov"](e,163)._shouldForward("untouched"),o["ɵnov"](e,163)._shouldForward("touched"),o["ɵnov"](e,163)._shouldForward("pristine"),o["ɵnov"](e,163)._shouldForward("dirty"),o["ɵnov"](e,163)._shouldForward("valid"),o["ɵnov"](e,163)._shouldForward("invalid"),o["ɵnov"](e,163)._shouldForward("pending"),!o["ɵnov"](e,163)._animationsEnabled]),n(e,173,1,[o["ɵnov"](e,178).ngClassUntouched,o["ɵnov"](e,178).ngClassTouched,o["ɵnov"](e,178).ngClassPristine,o["ɵnov"](e,178).ngClassDirty,o["ɵnov"](e,178).ngClassValid,o["ɵnov"](e,178).ngClassInvalid,o["ɵnov"](e,178).ngClassPending,o["ɵnov"](e,179).id,o["ɵnov"](e,179).tabIndex,o["ɵnov"](e,179)._getAriaLabel(),o["ɵnov"](e,179)._getAriaLabelledby(),o["ɵnov"](e,179).required.toString(),o["ɵnov"](e,179).disabled.toString(),o["ɵnov"](e,179).errorState,o["ɵnov"](e,179).panelOpen?o["ɵnov"](e,179)._optionIds:null,o["ɵnov"](e,179).multiple,o["ɵnov"](e,179)._ariaDescribedby||null,o["ɵnov"](e,179)._getAriaActiveDescendant(),o["ɵnov"](e,179).disabled,o["ɵnov"](e,179).errorState,o["ɵnov"](e,179).required,o["ɵnov"](e,179).empty]),n(e,186,1,[o["ɵnov"](e,187).id,null,o["ɵnov"](e,187).indeterminate,o["ɵnov"](e,187).checked,o["ɵnov"](e,187).disabled,"before"==o["ɵnov"](e,187).labelPosition,"NoopAnimations"===o["ɵnov"](e,187)._animationMode,o["ɵnov"](e,191).ngClassUntouched,o["ɵnov"](e,191).ngClassTouched,o["ɵnov"](e,191).ngClassPristine,o["ɵnov"](e,191).ngClassDirty,o["ɵnov"](e,191).ngClassValid,o["ɵnov"](e,191).ngClassInvalid,o["ɵnov"](e,191).ngClassPending]),n(e,194,1,[o["ɵnov"](e,195).id,null,o["ɵnov"](e,195).indeterminate,o["ɵnov"](e,195).checked,o["ɵnov"](e,195).disabled,"before"==o["ɵnov"](e,195).labelPosition,"NoopAnimations"===o["ɵnov"](e,195)._animationMode,o["ɵnov"](e,199).ngClassUntouched,o["ɵnov"](e,199).ngClassTouched,o["ɵnov"](e,199).ngClassPristine,o["ɵnov"](e,199).ngClassDirty,o["ɵnov"](e,199).ngClassValid,o["ɵnov"](e,199).ngClassInvalid,o["ɵnov"](e,199).ngClassPending]),n(e,201,0,o["ɵnov"](e,202).expanded,"NoopAnimations"===o["ɵnov"](e,202)._animationMode,o["ɵnov"](e,202)._hasSpacing());var f=o["ɵnov"](e,206).panel._headerId,h=o["ɵnov"](e,206).disabled?-1:0,m=o["ɵnov"](e,206)._getPanelId(),v=o["ɵnov"](e,206)._isExpanded(),g=o["ɵnov"](e,206).panel.disabled,b=o["ɵnov"](e,206)._isExpanded(),_="after"===o["ɵnov"](e,206)._getTogglePosition(),y="before"===o["ɵnov"](e,206)._getTogglePosition(),C=o["ɵnov"](e,206)._animationsDisabled,w=n(e,208,0,o["ɵnov"](e,206)._getExpandedState(),n(e,207,0,o["ɵnov"](e,206).collapsedHeight,o["ɵnov"](e,206).expandedHeight));n(e,205,0,f,h,m,v,g,b,_,y,C,w),n(e,212,0,o["ɵnov"](e,216).ngClassUntouched,o["ɵnov"](e,216).ngClassTouched,o["ɵnov"](e,216).ngClassPristine,o["ɵnov"](e,216).ngClassDirty,o["ɵnov"](e,216).ngClassValid,o["ɵnov"](e,216).ngClassInvalid,o["ɵnov"](e,216).ngClassPending),n(e,217,1,["standard"==o["ɵnov"](e,218).appearance,"fill"==o["ɵnov"](e,218).appearance,"outline"==o["ɵnov"](e,218).appearance,"legacy"==o["ɵnov"](e,218).appearance,o["ɵnov"](e,218)._control.errorState,o["ɵnov"](e,218)._canLabelFloat,o["ɵnov"](e,218)._shouldLabelFloat(),o["ɵnov"](e,218)._hasFloatingLabel(),o["ɵnov"](e,218)._hideControlPlaceholder(),o["ɵnov"](e,218)._control.disabled,o["ɵnov"](e,218)._control.autofilled,o["ɵnov"](e,218)._control.focused,"accent"==o["ɵnov"](e,218).color,"warn"==o["ɵnov"](e,218).color,o["ɵnov"](e,218)._shouldForward("untouched"),o["ɵnov"](e,218)._shouldForward("touched"),o["ɵnov"](e,218)._shouldForward("pristine"),o["ɵnov"](e,218)._shouldForward("dirty"),o["ɵnov"](e,218)._shouldForward("valid"),o["ɵnov"](e,218)._shouldForward("invalid"),o["ɵnov"](e,218)._shouldForward("pending"),!o["ɵnov"](e,218)._animationsEnabled]),n(e,228,1,[o["ɵnov"](e,234).ngClassUntouched,o["ɵnov"](e,234).ngClassTouched,o["ɵnov"](e,234).ngClassPristine,o["ɵnov"](e,234).ngClassDirty,o["ɵnov"](e,234).ngClassValid,o["ɵnov"](e,234).ngClassInvalid,o["ɵnov"](e,234).ngClassPending,o["ɵnov"](e,235)._isServer,o["ɵnov"](e,235).id,o["ɵnov"](e,235).placeholder,o["ɵnov"](e,235).disabled,o["ɵnov"](e,235).required,o["ɵnov"](e,235).readonly&&!o["ɵnov"](e,235)._isNativeSelect||null,o["ɵnov"](e,235)._ariaDescribedby||null,o["ɵnov"](e,235).errorState,o["ɵnov"](e,235).required.toString()]),n(e,237,1,["standard"==o["ɵnov"](e,238).appearance,"fill"==o["ɵnov"](e,238).appearance,"outline"==o["ɵnov"](e,238).appearance,"legacy"==o["ɵnov"](e,238).appearance,o["ɵnov"](e,238)._control.errorState,o["ɵnov"](e,238)._canLabelFloat,o["ɵnov"](e,238)._shouldLabelFloat(),o["ɵnov"](e,238)._hasFloatingLabel(),o["ɵnov"](e,238)._hideControlPlaceholder(),o["ɵnov"](e,238)._control.disabled,o["ɵnov"](e,238)._control.autofilled,o["ɵnov"](e,238)._control.focused,"accent"==o["ɵnov"](e,238).color,"warn"==o["ɵnov"](e,238).color,o["ɵnov"](e,238)._shouldForward("untouched"),o["ɵnov"](e,238)._shouldForward("touched"),o["ɵnov"](e,238)._shouldForward("pristine"),o["ɵnov"](e,238)._shouldForward("dirty"),o["ɵnov"](e,238)._shouldForward("valid"),o["ɵnov"](e,238)._shouldForward("invalid"),o["ɵnov"](e,238)._shouldForward("pending"),!o["ɵnov"](e,238)._animationsEnabled]),n(e,248,1,[o["ɵnov"](e,254).ngClassUntouched,o["ɵnov"](e,254).ngClassTouched,o["ɵnov"](e,254).ngClassPristine,o["ɵnov"](e,254).ngClassDirty,o["ɵnov"](e,254).ngClassValid,o["ɵnov"](e,254).ngClassInvalid,o["ɵnov"](e,254).ngClassPending,o["ɵnov"](e,255)._isServer,o["ɵnov"](e,255).id,o["ɵnov"](e,255).placeholder,o["ɵnov"](e,255).disabled,o["ɵnov"](e,255).required,o["ɵnov"](e,255).readonly&&!o["ɵnov"](e,255)._isNativeSelect||null,o["ɵnov"](e,255)._ariaDescribedby||null,o["ɵnov"](e,255).errorState,o["ɵnov"](e,255).required.toString()]),n(e,257,1,["standard"==o["ɵnov"](e,258).appearance,"fill"==o["ɵnov"](e,258).appearance,"outline"==o["ɵnov"](e,258).appearance,"legacy"==o["ɵnov"](e,258).appearance,o["ɵnov"](e,258)._control.errorState,o["ɵnov"](e,258)._canLabelFloat,o["ɵnov"](e,258)._shouldLabelFloat(),o["ɵnov"](e,258)._hasFloatingLabel(),o["ɵnov"](e,258)._hideControlPlaceholder(),o["ɵnov"](e,258)._control.disabled,o["ɵnov"](e,258)._control.autofilled,o["ɵnov"](e,258)._control.focused,"accent"==o["ɵnov"](e,258).color,"warn"==o["ɵnov"](e,258).color,o["ɵnov"](e,258)._shouldForward("untouched"),o["ɵnov"](e,258)._shouldForward("touched"),o["ɵnov"](e,258)._shouldForward("pristine"),o["ɵnov"](e,258)._shouldForward("dirty"),o["ɵnov"](e,258)._shouldForward("valid"),o["ɵnov"](e,258)._shouldForward("invalid"),o["ɵnov"](e,258)._shouldForward("pending"),!o["ɵnov"](e,258)._animationsEnabled]),n(e,268,1,[o["ɵnov"](e,273).ngClassUntouched,o["ɵnov"](e,273).ngClassTouched,o["ɵnov"](e,273).ngClassPristine,o["ɵnov"](e,273).ngClassDirty,o["ɵnov"](e,273).ngClassValid,o["ɵnov"](e,273).ngClassInvalid,o["ɵnov"](e,273).ngClassPending,o["ɵnov"](e,274)._isServer,o["ɵnov"](e,274).id,o["ɵnov"](e,274).placeholder,o["ɵnov"](e,274).disabled,o["ɵnov"](e,274).required,o["ɵnov"](e,274).readonly&&!o["ɵnov"](e,274)._isNativeSelect||null,o["ɵnov"](e,274)._ariaDescribedby||null,o["ɵnov"](e,274).errorState,o["ɵnov"](e,274).required.toString()]),n(e,276,1,["standard"==o["ɵnov"](e,277).appearance,"fill"==o["ɵnov"](e,277).appearance,"outline"==o["ɵnov"](e,277).appearance,"legacy"==o["ɵnov"](e,277).appearance,o["ɵnov"](e,277)._control.errorState,o["ɵnov"](e,277)._canLabelFloat,o["ɵnov"](e,277)._shouldLabelFloat(),o["ɵnov"](e,277)._hasFloatingLabel(),o["ɵnov"](e,277)._hideControlPlaceholder(),o["ɵnov"](e,277)._control.disabled,o["ɵnov"](e,277)._control.autofilled,o["ɵnov"](e,277)._control.focused,"accent"==o["ɵnov"](e,277).color,"warn"==o["ɵnov"](e,277).color,o["ɵnov"](e,277)._shouldForward("untouched"),o["ɵnov"](e,277)._shouldForward("touched"),o["ɵnov"](e,277)._shouldForward("pristine"),o["ɵnov"](e,277)._shouldForward("dirty"),o["ɵnov"](e,277)._shouldForward("valid"),o["ɵnov"](e,277)._shouldForward("invalid"),o["ɵnov"](e,277)._shouldForward("pending"),!o["ɵnov"](e,277)._animationsEnabled]),n(e,287,1,[o["ɵnov"](e,293).ngClassUntouched,o["ɵnov"](e,293).ngClassTouched,o["ɵnov"](e,293).ngClassPristine,o["ɵnov"](e,293).ngClassDirty,o["ɵnov"](e,293).ngClassValid,o["ɵnov"](e,293).ngClassInvalid,o["ɵnov"](e,293).ngClassPending,o["ɵnov"](e,294)._isServer,o["ɵnov"](e,294).id,o["ɵnov"](e,294).placeholder,o["ɵnov"](e,294).disabled,o["ɵnov"](e,294).required,o["ɵnov"](e,294).readonly&&!o["ɵnov"](e,294)._isNativeSelect||null,o["ɵnov"](e,294)._ariaDescribedby||null,o["ɵnov"](e,294).errorState,o["ɵnov"](e,294).required.toString()]),n(e,296,1,["standard"==o["ɵnov"](e,297).appearance,"fill"==o["ɵnov"](e,297).appearance,"outline"==o["ɵnov"](e,297).appearance,"legacy"==o["ɵnov"](e,297).appearance,o["ɵnov"](e,297)._control.errorState,o["ɵnov"](e,297)._canLabelFloat,o["ɵnov"](e,297)._shouldLabelFloat(),o["ɵnov"](e,297)._hasFloatingLabel(),o["ɵnov"](e,297)._hideControlPlaceholder(),o["ɵnov"](e,297)._control.disabled,o["ɵnov"](e,297)._control.autofilled,o["ɵnov"](e,297)._control.focused,"accent"==o["ɵnov"](e,297).color,"warn"==o["ɵnov"](e,297).color,o["ɵnov"](e,297)._shouldForward("untouched"),o["ɵnov"](e,297)._shouldForward("touched"),o["ɵnov"](e,297)._shouldForward("pristine"),o["ɵnov"](e,297)._shouldForward("dirty"),o["ɵnov"](e,297)._shouldForward("valid"),o["ɵnov"](e,297)._shouldForward("invalid"),o["ɵnov"](e,297)._shouldForward("pending"),!o["ɵnov"](e,297)._animationsEnabled]),n(e,307,1,[o["ɵnov"](e,312).ngClassUntouched,o["ɵnov"](e,312).ngClassTouched,o["ɵnov"](e,312).ngClassPristine,o["ɵnov"](e,312).ngClassDirty,o["ɵnov"](e,312).ngClassValid,o["ɵnov"](e,312).ngClassInvalid,o["ɵnov"](e,312).ngClassPending,o["ɵnov"](e,313).id,o["ɵnov"](e,313).tabIndex,o["ɵnov"](e,313)._getAriaLabel(),o["ɵnov"](e,313)._getAriaLabelledby(),o["ɵnov"](e,313).required.toString(),o["ɵnov"](e,313).disabled.toString(),o["ɵnov"](e,313).errorState,o["ɵnov"](e,313).panelOpen?o["ɵnov"](e,313)._optionIds:null,o["ɵnov"](e,313).multiple,o["ɵnov"](e,313)._ariaDescribedby||null,o["ɵnov"](e,313)._getAriaActiveDescendant(),o["ɵnov"](e,313).disabled,o["ɵnov"](e,313).errorState,o["ɵnov"](e,313).required,o["ɵnov"](e,313).empty]),n(e,320,0,o["ɵnov"](e,321).disabled||null,"NoopAnimations"===o["ɵnov"](e,321)._animationMode),n(e,324,1,[o["ɵnov"](e,325).id,null,o["ɵnov"](e,325).indeterminate,o["ɵnov"](e,325).checked,o["ɵnov"](e,325).disabled,"before"==o["ɵnov"](e,325).labelPosition,"NoopAnimations"===o["ɵnov"](e,325)._animationMode,o["ɵnov"](e,329).ngClassUntouched,o["ɵnov"](e,329).ngClassTouched,o["ɵnov"](e,329).ngClassPristine,o["ɵnov"](e,329).ngClassDirty,o["ɵnov"](e,329).ngClassValid,o["ɵnov"](e,329).ngClassInvalid,o["ɵnov"](e,329).ngClassPending]),n(e,331,0,o["ɵnov"](e,332).expanded,"NoopAnimations"===o["ɵnov"](e,332)._animationMode,o["ɵnov"](e,332)._hasSpacing());var S=o["ɵnov"](e,336).panel._headerId,x=o["ɵnov"](e,336).disabled?-1:0,k=o["ɵnov"](e,336)._getPanelId(),E=o["ɵnov"](e,336)._isExpanded(),T=o["ɵnov"](e,336).panel.disabled,R=o["ɵnov"](e,336)._isExpanded(),I="after"===o["ɵnov"](e,336)._getTogglePosition(),D="before"===o["ɵnov"](e,336)._getTogglePosition(),F=o["ɵnov"](e,336)._animationsDisabled,O=n(e,338,0,o["ɵnov"](e,336)._getExpandedState(),n(e,337,0,o["ɵnov"](e,336).collapsedHeight,o["ɵnov"](e,336).expandedHeight));n(e,335,0,S,x,k,E,T,R,I,D,F,O),n(e,342,1,["standard"==o["ɵnov"](e,343).appearance,"fill"==o["ɵnov"](e,343).appearance,"outline"==o["ɵnov"](e,343).appearance,"legacy"==o["ɵnov"](e,343).appearance,o["ɵnov"](e,343)._control.errorState,o["ɵnov"](e,343)._canLabelFloat,o["ɵnov"](e,343)._shouldLabelFloat(),o["ɵnov"](e,343)._hasFloatingLabel(),o["ɵnov"](e,343)._hideControlPlaceholder(),o["ɵnov"](e,343)._control.disabled,o["ɵnov"](e,343)._control.autofilled,o["ɵnov"](e,343)._control.focused,"accent"==o["ɵnov"](e,343).color,"warn"==o["ɵnov"](e,343).color,o["ɵnov"](e,343)._shouldForward("untouched"),o["ɵnov"](e,343)._shouldForward("touched"),o["ɵnov"](e,343)._shouldForward("pristine"),o["ɵnov"](e,343)._shouldForward("dirty"),o["ɵnov"](e,343)._shouldForward("valid"),o["ɵnov"](e,343)._shouldForward("invalid"),o["ɵnov"](e,343)._shouldForward("pending"),!o["ɵnov"](e,343)._animationsEnabled]),n(e,353,1,[o["ɵnov"](e,358).ngClassUntouched,o["ɵnov"](e,358).ngClassTouched,o["ɵnov"](e,358).ngClassPristine,o["ɵnov"](e,358).ngClassDirty,o["ɵnov"](e,358).ngClassValid,o["ɵnov"](e,358).ngClassInvalid,o["ɵnov"](e,358).ngClassPending,o["ɵnov"](e,359)._isServer,o["ɵnov"](e,359).id,o["ɵnov"](e,359).placeholder,o["ɵnov"](e,359).disabled,o["ɵnov"](e,359).required,o["ɵnov"](e,359).readonly&&!o["ɵnov"](e,359)._isNativeSelect||null,o["ɵnov"](e,359)._ariaDescribedby||null,o["ɵnov"](e,359).errorState,o["ɵnov"](e,359).required.toString()]),n(e,362,0,o["ɵnov"](e,363).disabled||null,"NoopAnimations"===o["ɵnov"](e,363)._animationMode),n(e,365,0,o["ɵnov"](e,366).disabled||null,"NoopAnimations"===o["ɵnov"](e,366)._animationMode)}))}function RR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.virtualBoxTemplate.symbol)}),null)}function IR(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["ɵeld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{shadowed:0}),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VirtualBox VM configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,TR)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],(function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l}),lT,tT)),o["ɵdid"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,eT,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["ɵand"](16777216,null,null,1,null,RR)),o["ɵdid"](14,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,4,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,3,0,"content",l),n(e,10,0,t.virtualBoxTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.virtualBoxTemplate)}),(function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.virtualBoxTemplate))}))}function DR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-virtual-box-template-details",[],null,null,null,IR,wR)),o["ɵdid"](1,114688,null,0,yR,[rt,Dh,sR,hc,Gm,CR,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var FR=o["ɵccf"]("app-virtual-box-template-details",yR,DR,{},{},[]),OR=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.templateMocksService=o,this.router=i,this.formBuilder=r,this.vmForm=this.formBuilder.group({vm:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.virtualBoxService.getVirtualMachines(n.server).subscribe((function(e){n.virtualMachines=e,n.templateMocksService.getVirtualBoxTemplate().subscribe((function(e){n.virtualBoxTemplate=e}))}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.addTemplate=function(){var n=this;this.vmForm.invalid?this.toasterService.error("Fill all required fields"):(this.virtualBoxTemplate.name=this.selectedVM.vmname,this.virtualBoxTemplate.vmname=this.selectedVM.vmname,this.virtualBoxTemplate.ram=this.selectedVM.ram,this.virtualBoxTemplate.template_id=Object(Zg.v4)(),this.virtualBoxService.addTemplate(this.server,this.virtualBoxTemplate).subscribe((function(){n.goBack()})))},n}(),MR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function NR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[10,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)}))}function AR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,44,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,36,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,27,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","vm"],["placeholder","VM list"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,24)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,24)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,24)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedVM=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](21,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](23,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](24,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,10,{options:1}),o["ɵqud"](603979776,11,{optionGroups:1}),o["ɵqud"](603979776,12,{customTrigger:0}),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,NR)),o["ɵdid"](30,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](31,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](32,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](34,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](36,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["ɵeld"](38,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](39,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](40,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](42,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](43,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,5,0,t.vmForm),n(e,21,0,"vm",t.selectedVM),n(e,24,0,"VM list"),n(e,30,0,t.virtualMachines),n(e,34,0,t.virtualBoxTemplate.linked_clone),n(e,43,0,"primary")}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,23).ngClassUntouched,o["ɵnov"](e,23).ngClassTouched,o["ɵnov"](e,23).ngClassPristine,o["ɵnov"](e,23).ngClassDirty,o["ɵnov"](e,23).ngClassValid,o["ɵnov"](e,23).ngClassInvalid,o["ɵnov"](e,23).ngClassPending,o["ɵnov"](e,24).id,o["ɵnov"](e,24).tabIndex,o["ɵnov"](e,24)._getAriaLabel(),o["ɵnov"](e,24)._getAriaLabelledby(),o["ɵnov"](e,24).required.toString(),o["ɵnov"](e,24).disabled.toString(),o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).panelOpen?o["ɵnov"](e,24)._optionIds:null,o["ɵnov"](e,24).multiple,o["ɵnov"](e,24)._ariaDescribedby||null,o["ɵnov"](e,24)._getAriaActiveDescendant(),o["ɵnov"](e,24).disabled,o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).required,o["ɵnov"](e,24).empty]),n(e,31,1,[o["ɵnov"](e,32).id,null,o["ɵnov"](e,32).indeterminate,o["ɵnov"](e,32).checked,o["ɵnov"](e,32).disabled,"before"==o["ɵnov"](e,32).labelPosition,"NoopAnimations"===o["ɵnov"](e,32)._animationMode,o["ɵnov"](e,36).ngClassUntouched,o["ɵnov"](e,36).ngClassTouched,o["ɵnov"](e,36).ngClassPristine,o["ɵnov"](e,36).ngClassDirty,o["ɵnov"](e,36).ngClassValid,o["ɵnov"](e,36).ngClassInvalid,o["ɵnov"](e,36).ngClassPending]),n(e,39,0,o["ɵnov"](e,40).disabled||null,"NoopAnimations"===o["ɵnov"](e,40)._animationMode),n(e,42,0,o["ɵnov"](e,43).disabled||null,"NoopAnimations"===o["ɵnov"](e,43)._animationMode)}))}function PR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New VirtualBox VM template"])),(n()(),o["ɵand"](16777216,null,null,1,null,AR)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,6,0,e.component.virtualBoxTemplate)}),null)}function qR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-virtual-box-template",[],null,null,null,PR,MR)),o["ɵdid"](1,114688,null,0,OR,[rt,Dh,sR,hc,Bw,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var LR=o["ɵccf"]("app-add-virtual-box-template",OR,qR,{},{},[]),jR=function(){function n(n,e,t){this.route=n,this.serverService=e,this.vmwareService=t,this.vmwareTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.vmwareService.getTemplates(this.server).subscribe((function(e){n.vmwareTemplates=e.filter((function(n){return"vmware"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),VR=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n.prototype.getVirtualMachines=function(n){return this.httpServer.get(n,"/compute/vmware/vms")},n}(),BR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function HR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function UR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add VMware template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vmware/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function zR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function GR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,13,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color)}))}function WR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,GR)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.vmwareTemplates)}),null)}function ZR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,WR)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function KR(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VMware VM templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,HR)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,UR)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,zR)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ZR)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.vmwareTemplates.length),n(e,13,0,t.vmwareTemplates.length),n(e,15,0,t.server)}),null)}function XR(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-vmware-templates",[],null,null,null,KR,BR)),o["ɵdid"](1,114688,null,0,jR,[rt,Dh,VR],null,null)],(function(n,e){n(e,1,0)}),null)}var YR=o["ɵccf"]("app-vmware-templates",jR,XR,{},{},[]),$R=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.formBuilder=o,this.vmwareConfigurationService=i,this.router=r,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.onCloseOptions=[],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.vmwareService.getTemplate(n.server,t).subscribe((function(e){n.vmwareTemplate=e,n.fillCustomAdapters()}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.categories=this.vmwareConfigurationService.getCategories(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.vmwareService.saveTemplate(this.server,this.vmwareTemplate).subscribe((function(e){n.toasterService.success("Changes saved")})))},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.vmwareTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.vmwareTemplate.custom_adapters.forEach((function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})})))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.vmwareTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.vmwareTemplate.custom_adapters?this.vmwareTemplate.custom_adapters:[];this.vmwareTemplate.custom_adapters=[];for(var e=0;e<this.vmwareTemplate.adapters;e++)this.vmwareTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.vmwareTemplate.symbol=n},n}(),QR=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getNetworkTypes=function(){return["default","e1000","e1000e","flexible","vlance","vmxnet","vmxnet2","vmxnet3"]},n}(),JR=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function nI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[40,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function eI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[52,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function tI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[64,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function lI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[113,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function oI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,340,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,332,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,2,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,175,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,3,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,164,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](79,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](96,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](97,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,40,{options:1}),o["ɵqud"](603979776,41,{optionGroups:1}),o["ɵqud"](603979776,42,{customTrigger:0}),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,nI)),o["ɵdid"](106,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](108,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,43,{_controlNonStatic:0}),o["ɵqud"](335544320,44,{_controlStatic:0}),o["ɵqud"](603979776,45,{_labelChildNonStatic:0}),o["ɵqud"](335544320,46,{_labelChildStatic:0}),o["ɵqud"](603979776,47,{_placeholderChild:0}),o["ɵqud"](603979776,48,{_errorChildren:1}),o["ɵqud"](603979776,49,{_hintChildren:1}),o["ɵqud"](603979776,50,{_prefixChildren:1}),o["ɵqud"](603979776,51,{_suffixChildren:1}),(n()(),o["ɵeld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](120,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](121,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](123,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](124,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,52,{options:1}),o["ɵqud"](603979776,53,{optionGroups:1}),o["ɵqud"](603979776,54,{customTrigger:0}),o["ɵprd"](2048,[[43,4],[44,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,eI)),o["ɵdid"](130,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](131,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](132,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](134,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](135,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](137,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](139,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](140,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,55,{_controlNonStatic:0}),o["ɵqud"](335544320,56,{_controlStatic:0}),o["ɵqud"](603979776,57,{_labelChildNonStatic:0}),o["ɵqud"](335544320,58,{_labelChildStatic:0}),o["ɵqud"](603979776,59,{_placeholderChild:0}),o["ɵqud"](603979776,60,{_errorChildren:1}),o["ɵqud"](603979776,61,{_hintChildren:1}),o["ɵqud"](603979776,62,{_prefixChildren:1}),o["ɵqud"](603979776,63,{_suffixChildren:1}),(n()(),o["ɵeld"](150,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,156)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,156)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,156)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](152,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](153,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](155,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](156,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,64,{options:1}),o["ɵqud"](603979776,65,{optionGroups:1}),o["ɵqud"](603979776,66,{customTrigger:0}),o["ɵprd"](2048,[[55,4],[56,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,tI)),o["ɵdid"](162,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](163,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.headless=t)&&l),l}),O_,F_)),o["ɵdid"](164,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](166,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](167,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](169,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start VM in headless mode "])),(n()(),o["ɵeld"](171,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](172,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](173,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](174,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](176,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](177,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](179,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["ɵeld"](181,16777216,null,null,122,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](182,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,67,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](185,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,186)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,186)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,186)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](186,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](187,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](188,{value:0,params:1}),(n()(),o["ɵeld"](189,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](190,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Network "])),(n()(),o["ɵeld"](192,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](193,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,68,{_controlNonStatic:0}),o["ɵqud"](335544320,69,{_controlStatic:0}),o["ɵqud"](603979776,70,{_labelChildNonStatic:0}),o["ɵqud"](335544320,71,{_labelChildStatic:0}),o["ɵqud"](603979776,72,{_placeholderChild:0}),o["ɵqud"](603979776,73,{_errorChildren:1}),o["ɵqud"](603979776,74,{_hintChildren:1}),o["ɵqud"](603979776,75,{_prefixChildren:1}),o["ɵqud"](603979776,76,{_suffixChildren:1}),(n()(),o["ɵeld"](203,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,204)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,204).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,204)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,204)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,205).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,205).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,205).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,210)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,210)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,210)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.adapters=t)&&l),l}),null,null)),o["ɵdid"](204,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](205,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](207,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](209,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](210,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[68,4],[69,4]],ag,null,[Lg]),(n()(),o["ɵeld"](212,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](213,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,77,{_controlNonStatic:0}),o["ɵqud"](335544320,78,{_controlStatic:0}),o["ɵqud"](603979776,79,{_labelChildNonStatic:0}),o["ɵqud"](335544320,80,{_labelChildStatic:0}),o["ɵqud"](603979776,81,{_placeholderChild:0}),o["ɵqud"](603979776,82,{_errorChildren:1}),o["ɵqud"](603979776,83,{_hintChildren:1}),o["ɵqud"](603979776,84,{_prefixChildren:1}),o["ɵqud"](603979776,85,{_suffixChildren:1}),(n()(),o["ɵeld"](223,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,224)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,224).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,224)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,224)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,229)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,229)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,229)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.first_port_name=t)&&l),l}),null,null)),o["ɵdid"](224,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](226,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](228,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](229,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[77,4],[78,4]],ag,null,[Lg]),(n()(),o["ɵeld"](231,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](232,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,86,{_controlNonStatic:0}),o["ɵqud"](335544320,87,{_controlStatic:0}),o["ɵqud"](603979776,88,{_labelChildNonStatic:0}),o["ɵqud"](335544320,89,{_labelChildStatic:0}),o["ɵqud"](603979776,90,{_placeholderChild:0}),o["ɵqud"](603979776,91,{_errorChildren:1}),o["ɵqud"](603979776,92,{_hintChildren:1}),o["ɵqud"](603979776,93,{_prefixChildren:1}),o["ɵqud"](603979776,94,{_suffixChildren:1}),(n()(),o["ɵeld"](242,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,243)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,243).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,243)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,243)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,248)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,248)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,248)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.port_name_format=t)&&l),l}),null,null)),o["ɵdid"](243,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](245,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](247,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](248,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[86,4],[87,4]],ag,null,[Lg]),(n()(),o["ɵeld"](250,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](251,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,95,{_controlNonStatic:0}),o["ɵqud"](335544320,96,{_controlStatic:0}),o["ɵqud"](603979776,97,{_labelChildNonStatic:0}),o["ɵqud"](335544320,98,{_labelChildStatic:0}),o["ɵqud"](603979776,99,{_placeholderChild:0}),o["ɵqud"](603979776,100,{_errorChildren:1}),o["ɵqud"](603979776,101,{_hintChildren:1}),o["ɵqud"](603979776,102,{_prefixChildren:1}),o["ɵqud"](603979776,103,{_suffixChildren:1}),(n()(),o["ɵeld"](261,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Segment size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,262)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,262).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,262)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,262)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,263).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,263).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,263).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,268)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,268)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,268)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.port_segment_size=t)&&l),l}),null,null)),o["ɵdid"](262,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](263,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](265,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](267,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](268,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[95,4],[96,4]],ag,null,[Lg]),(n()(),o["ɵeld"](270,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](271,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,104,{_controlNonStatic:0}),o["ɵqud"](335544320,105,{_controlStatic:0}),o["ɵqud"](603979776,106,{_labelChildNonStatic:0}),o["ɵqud"](335544320,107,{_labelChildStatic:0}),o["ɵqud"](603979776,108,{_placeholderChild:0}),o["ɵqud"](603979776,109,{_errorChildren:1}),o["ɵqud"](603979776,110,{_hintChildren:1}),o["ɵqud"](603979776,111,{_prefixChildren:1}),o["ɵqud"](603979776,112,{_suffixChildren:1}),(n()(),o["ɵeld"](281,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,286)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,286)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,286)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.adapter_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](283,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](285,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](286,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,113,{options:1}),o["ɵqud"](603979776,114,{optionGroups:1}),o["ɵqud"](603979776,115,{customTrigger:0}),o["ɵprd"](2048,[[104,4],[105,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,lI)),o["ɵdid"](292,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](293,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l}),ou,lu)),o["ɵdid"](294,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Configure custom adapters"])),(n()(),o["ɵeld"](296,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](297,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.use_any_adapter=t)&&l),l}),O_,F_)),o["ɵdid"](298,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](300,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](302,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Allow GNS3 to override non custom VMware adapter "])),(n()(),o["ɵeld"](304,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](305,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,116,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](308,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,309)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,309)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,309)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](309,180224,[[2,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](310,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](311,{value:0,params:1}),(n()(),o["ɵeld"](312,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](313,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](315,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](316,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,117,{_controlNonStatic:0}),o["ɵqud"](335544320,118,{_controlStatic:0}),o["ɵqud"](603979776,119,{_labelChildNonStatic:0}),o["ɵqud"](335544320,120,{_labelChildStatic:0}),o["ɵqud"](603979776,121,{_placeholderChild:0}),o["ɵqud"](603979776,122,{_errorChildren:1}),o["ɵqud"](603979776,123,{_hintChildren:1}),o["ɵqud"](603979776,124,{_prefixChildren:1}),o["ɵqud"](603979776,125,{_suffixChildren:1}),(n()(),o["ɵeld"](326,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,327)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,327).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,327)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,327)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,332)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,332)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,332)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.vmwareTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](327,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](329,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](331,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](332,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[117,4],[118,4]],ag,null,[Lg]),(n()(),o["ɵeld"](334,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](335,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](336,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](338,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](339,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.vmwareTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.vmwareTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.vmwareTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.vmwareTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var i=t.vmwareTemplate.console_type,r=n(e,121,0,!0);n(e,120,0,i,r),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes);var a=t.vmwareTemplate.console_auto_start,u=n(e,135,0,!0);n(e,134,0,a,u);var s=t.vmwareTemplate.on_close,d=n(e,153,0,!0);n(e,152,0,s,d),n(e,156,0,"On close"),n(e,162,0,t.onCloseOptions);var c=t.vmwareTemplate.headless,p=n(e,167,0,!0);n(e,166,0,c,p);var f=t.vmwareTemplate.linked_clone,h=n(e,177,0,!0);n(e,176,0,f,h),n(e,207,0,t.vmwareTemplate.adapters),n(e,210,0,"Adapters","number"),n(e,226,0,t.vmwareTemplate.first_port_name),n(e,229,0,"First port name","text"),n(e,245,0,t.vmwareTemplate.port_name_format),n(e,248,0,"Name format","text"),n(e,265,0,t.vmwareTemplate.port_segment_size),n(e,268,0,"Segment size","number"),n(e,283,0,t.vmwareTemplate.adapter_type),n(e,286,0,"Type"),n(e,292,0,t.networkTypes),n(e,300,0,t.vmwareTemplate.use_any_adapter),n(e,329,0,t.vmwareTemplate.usage),n(e,332,0,"text"),n(e,339,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,78,0,o["ɵnov"](e,79).disabled||null,"NoopAnimations"===o["ɵnov"](e,79)._animationMode),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100).id,o["ɵnov"](e,100).tabIndex,o["ɵnov"](e,100)._getAriaLabel(),o["ɵnov"](e,100)._getAriaLabelledby(),o["ɵnov"](e,100).required.toString(),o["ɵnov"](e,100).disabled.toString(),o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).panelOpen?o["ɵnov"](e,100)._optionIds:null,o["ɵnov"](e,100).multiple,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100)._getAriaActiveDescendant(),o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required,o["ɵnov"](e,100).empty]),n(e,107,1,["standard"==o["ɵnov"](e,108).appearance,"fill"==o["ɵnov"](e,108).appearance,"outline"==o["ɵnov"](e,108).appearance,"legacy"==o["ɵnov"](e,108).appearance,o["ɵnov"](e,108)._control.errorState,o["ɵnov"](e,108)._canLabelFloat,o["ɵnov"](e,108)._shouldLabelFloat(),o["ɵnov"](e,108)._hasFloatingLabel(),o["ɵnov"](e,108)._hideControlPlaceholder(),o["ɵnov"](e,108)._control.disabled,o["ɵnov"](e,108)._control.autofilled,o["ɵnov"](e,108)._control.focused,"accent"==o["ɵnov"](e,108).color,"warn"==o["ɵnov"](e,108).color,o["ɵnov"](e,108)._shouldForward("untouched"),o["ɵnov"](e,108)._shouldForward("touched"),o["ɵnov"](e,108)._shouldForward("pristine"),o["ɵnov"](e,108)._shouldForward("dirty"),o["ɵnov"](e,108)._shouldForward("valid"),o["ɵnov"](e,108)._shouldForward("invalid"),o["ɵnov"](e,108)._shouldForward("pending"),!o["ɵnov"](e,108)._animationsEnabled]),n(e,118,1,[o["ɵnov"](e,123).ngClassUntouched,o["ɵnov"](e,123).ngClassTouched,o["ɵnov"](e,123).ngClassPristine,o["ɵnov"](e,123).ngClassDirty,o["ɵnov"](e,123).ngClassValid,o["ɵnov"](e,123).ngClassInvalid,o["ɵnov"](e,123).ngClassPending,o["ɵnov"](e,124).id,o["ɵnov"](e,124).tabIndex,o["ɵnov"](e,124)._getAriaLabel(),o["ɵnov"](e,124)._getAriaLabelledby(),o["ɵnov"](e,124).required.toString(),o["ɵnov"](e,124).disabled.toString(),o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).panelOpen?o["ɵnov"](e,124)._optionIds:null,o["ɵnov"](e,124).multiple,o["ɵnov"](e,124)._ariaDescribedby||null,o["ɵnov"](e,124)._getAriaActiveDescendant(),o["ɵnov"](e,124).disabled,o["ɵnov"](e,124).errorState,o["ɵnov"](e,124).required,o["ɵnov"](e,124).empty]),n(e,131,1,[o["ɵnov"](e,132).id,null,o["ɵnov"](e,132).indeterminate,o["ɵnov"](e,132).checked,o["ɵnov"](e,132).disabled,"before"==o["ɵnov"](e,132).labelPosition,"NoopAnimations"===o["ɵnov"](e,132)._animationMode,o["ɵnov"](e,137).ngClassUntouched,o["ɵnov"](e,137).ngClassTouched,o["ɵnov"](e,137).ngClassPristine,o["ɵnov"](e,137).ngClassDirty,o["ɵnov"](e,137).ngClassValid,o["ɵnov"](e,137).ngClassInvalid,o["ɵnov"](e,137).ngClassPending]),n(e,139,1,["standard"==o["ɵnov"](e,140).appearance,"fill"==o["ɵnov"](e,140).appearance,"outline"==o["ɵnov"](e,140).appearance,"legacy"==o["ɵnov"](e,140).appearance,o["ɵnov"](e,140)._control.errorState,o["ɵnov"](e,140)._canLabelFloat,o["ɵnov"](e,140)._shouldLabelFloat(),o["ɵnov"](e,140)._hasFloatingLabel(),o["ɵnov"](e,140)._hideControlPlaceholder(),o["ɵnov"](e,140)._control.disabled,o["ɵnov"](e,140)._control.autofilled,o["ɵnov"](e,140)._control.focused,"accent"==o["ɵnov"](e,140).color,"warn"==o["ɵnov"](e,140).color,o["ɵnov"](e,140)._shouldForward("untouched"),o["ɵnov"](e,140)._shouldForward("touched"),o["ɵnov"](e,140)._shouldForward("pristine"),o["ɵnov"](e,140)._shouldForward("dirty"),o["ɵnov"](e,140)._shouldForward("valid"),o["ɵnov"](e,140)._shouldForward("invalid"),o["ɵnov"](e,140)._shouldForward("pending"),!o["ɵnov"](e,140)._animationsEnabled]),n(e,150,1,[o["ɵnov"](e,155).ngClassUntouched,o["ɵnov"](e,155).ngClassTouched,o["ɵnov"](e,155).ngClassPristine,o["ɵnov"](e,155).ngClassDirty,o["ɵnov"](e,155).ngClassValid,o["ɵnov"](e,155).ngClassInvalid,o["ɵnov"](e,155).ngClassPending,o["ɵnov"](e,156).id,o["ɵnov"](e,156).tabIndex,o["ɵnov"](e,156)._getAriaLabel(),o["ɵnov"](e,156)._getAriaLabelledby(),o["ɵnov"](e,156).required.toString(),o["ɵnov"](e,156).disabled.toString(),o["ɵnov"](e,156).errorState,o["ɵnov"](e,156).panelOpen?o["ɵnov"](e,156)._optionIds:null,o["ɵnov"](e,156).multiple,o["ɵnov"](e,156)._ariaDescribedby||null,o["ɵnov"](e,156)._getAriaActiveDescendant(),o["ɵnov"](e,156).disabled,o["ɵnov"](e,156).errorState,o["ɵnov"](e,156).required,o["ɵnov"](e,156).empty]),n(e,163,1,[o["ɵnov"](e,164).id,null,o["ɵnov"](e,164).indeterminate,o["ɵnov"](e,164).checked,o["ɵnov"](e,164).disabled,"before"==o["ɵnov"](e,164).labelPosition,"NoopAnimations"===o["ɵnov"](e,164)._animationMode,o["ɵnov"](e,169).ngClassUntouched,o["ɵnov"](e,169).ngClassTouched,o["ɵnov"](e,169).ngClassPristine,o["ɵnov"](e,169).ngClassDirty,o["ɵnov"](e,169).ngClassValid,o["ɵnov"](e,169).ngClassInvalid,o["ɵnov"](e,169).ngClassPending]),n(e,173,1,[o["ɵnov"](e,174).id,null,o["ɵnov"](e,174).indeterminate,o["ɵnov"](e,174).checked,o["ɵnov"](e,174).disabled,"before"==o["ɵnov"](e,174).labelPosition,"NoopAnimations"===o["ɵnov"](e,174)._animationMode,o["ɵnov"](e,179).ngClassUntouched,o["ɵnov"](e,179).ngClassTouched,o["ɵnov"](e,179).ngClassPristine,o["ɵnov"](e,179).ngClassDirty,o["ɵnov"](e,179).ngClassValid,o["ɵnov"](e,179).ngClassInvalid,o["ɵnov"](e,179).ngClassPending]),n(e,181,0,o["ɵnov"](e,182).expanded,"NoopAnimations"===o["ɵnov"](e,182)._animationMode,o["ɵnov"](e,182)._hasSpacing());var f=o["ɵnov"](e,186).panel._headerId,h=o["ɵnov"](e,186).disabled?-1:0,m=o["ɵnov"](e,186)._getPanelId(),v=o["ɵnov"](e,186)._isExpanded(),g=o["ɵnov"](e,186).panel.disabled,b=o["ɵnov"](e,186)._isExpanded(),_="after"===o["ɵnov"](e,186)._getTogglePosition(),y="before"===o["ɵnov"](e,186)._getTogglePosition(),C=o["ɵnov"](e,186)._animationsDisabled,w=n(e,188,0,o["ɵnov"](e,186)._getExpandedState(),n(e,187,0,o["ɵnov"](e,186).collapsedHeight,o["ɵnov"](e,186).expandedHeight));n(e,185,0,f,h,m,v,g,b,_,y,C,w),n(e,192,1,["standard"==o["ɵnov"](e,193).appearance,"fill"==o["ɵnov"](e,193).appearance,"outline"==o["ɵnov"](e,193).appearance,"legacy"==o["ɵnov"](e,193).appearance,o["ɵnov"](e,193)._control.errorState,o["ɵnov"](e,193)._canLabelFloat,o["ɵnov"](e,193)._shouldLabelFloat(),o["ɵnov"](e,193)._hasFloatingLabel(),o["ɵnov"](e,193)._hideControlPlaceholder(),o["ɵnov"](e,193)._control.disabled,o["ɵnov"](e,193)._control.autofilled,o["ɵnov"](e,193)._control.focused,"accent"==o["ɵnov"](e,193).color,"warn"==o["ɵnov"](e,193).color,o["ɵnov"](e,193)._shouldForward("untouched"),o["ɵnov"](e,193)._shouldForward("touched"),o["ɵnov"](e,193)._shouldForward("pristine"),o["ɵnov"](e,193)._shouldForward("dirty"),o["ɵnov"](e,193)._shouldForward("valid"),o["ɵnov"](e,193)._shouldForward("invalid"),o["ɵnov"](e,193)._shouldForward("pending"),!o["ɵnov"](e,193)._animationsEnabled]),n(e,203,1,[o["ɵnov"](e,209).ngClassUntouched,o["ɵnov"](e,209).ngClassTouched,o["ɵnov"](e,209).ngClassPristine,o["ɵnov"](e,209).ngClassDirty,o["ɵnov"](e,209).ngClassValid,o["ɵnov"](e,209).ngClassInvalid,o["ɵnov"](e,209).ngClassPending,o["ɵnov"](e,210)._isServer,o["ɵnov"](e,210).id,o["ɵnov"](e,210).placeholder,o["ɵnov"](e,210).disabled,o["ɵnov"](e,210).required,o["ɵnov"](e,210).readonly&&!o["ɵnov"](e,210)._isNativeSelect||null,o["ɵnov"](e,210)._ariaDescribedby||null,o["ɵnov"](e,210).errorState,o["ɵnov"](e,210).required.toString()]),n(e,212,1,["standard"==o["ɵnov"](e,213).appearance,"fill"==o["ɵnov"](e,213).appearance,"outline"==o["ɵnov"](e,213).appearance,"legacy"==o["ɵnov"](e,213).appearance,o["ɵnov"](e,213)._control.errorState,o["ɵnov"](e,213)._canLabelFloat,o["ɵnov"](e,213)._shouldLabelFloat(),o["ɵnov"](e,213)._hasFloatingLabel(),o["ɵnov"](e,213)._hideControlPlaceholder(),o["ɵnov"](e,213)._control.disabled,o["ɵnov"](e,213)._control.autofilled,o["ɵnov"](e,213)._control.focused,"accent"==o["ɵnov"](e,213).color,"warn"==o["ɵnov"](e,213).color,o["ɵnov"](e,213)._shouldForward("untouched"),o["ɵnov"](e,213)._shouldForward("touched"),o["ɵnov"](e,213)._shouldForward("pristine"),o["ɵnov"](e,213)._shouldForward("dirty"),o["ɵnov"](e,213)._shouldForward("valid"),o["ɵnov"](e,213)._shouldForward("invalid"),o["ɵnov"](e,213)._shouldForward("pending"),!o["ɵnov"](e,213)._animationsEnabled]),n(e,223,1,[o["ɵnov"](e,228).ngClassUntouched,o["ɵnov"](e,228).ngClassTouched,o["ɵnov"](e,228).ngClassPristine,o["ɵnov"](e,228).ngClassDirty,o["ɵnov"](e,228).ngClassValid,o["ɵnov"](e,228).ngClassInvalid,o["ɵnov"](e,228).ngClassPending,o["ɵnov"](e,229)._isServer,o["ɵnov"](e,229).id,o["ɵnov"](e,229).placeholder,o["ɵnov"](e,229).disabled,o["ɵnov"](e,229).required,o["ɵnov"](e,229).readonly&&!o["ɵnov"](e,229)._isNativeSelect||null,o["ɵnov"](e,229)._ariaDescribedby||null,o["ɵnov"](e,229).errorState,o["ɵnov"](e,229).required.toString()]),n(e,231,1,["standard"==o["ɵnov"](e,232).appearance,"fill"==o["ɵnov"](e,232).appearance,"outline"==o["ɵnov"](e,232).appearance,"legacy"==o["ɵnov"](e,232).appearance,o["ɵnov"](e,232)._control.errorState,o["ɵnov"](e,232)._canLabelFloat,o["ɵnov"](e,232)._shouldLabelFloat(),o["ɵnov"](e,232)._hasFloatingLabel(),o["ɵnov"](e,232)._hideControlPlaceholder(),o["ɵnov"](e,232)._control.disabled,o["ɵnov"](e,232)._control.autofilled,o["ɵnov"](e,232)._control.focused,"accent"==o["ɵnov"](e,232).color,"warn"==o["ɵnov"](e,232).color,o["ɵnov"](e,232)._shouldForward("untouched"),o["ɵnov"](e,232)._shouldForward("touched"),o["ɵnov"](e,232)._shouldForward("pristine"),o["ɵnov"](e,232)._shouldForward("dirty"),o["ɵnov"](e,232)._shouldForward("valid"),o["ɵnov"](e,232)._shouldForward("invalid"),o["ɵnov"](e,232)._shouldForward("pending"),!o["ɵnov"](e,232)._animationsEnabled]),n(e,242,1,[o["ɵnov"](e,247).ngClassUntouched,o["ɵnov"](e,247).ngClassTouched,o["ɵnov"](e,247).ngClassPristine,o["ɵnov"](e,247).ngClassDirty,o["ɵnov"](e,247).ngClassValid,o["ɵnov"](e,247).ngClassInvalid,o["ɵnov"](e,247).ngClassPending,o["ɵnov"](e,248)._isServer,o["ɵnov"](e,248).id,o["ɵnov"](e,248).placeholder,o["ɵnov"](e,248).disabled,o["ɵnov"](e,248).required,o["ɵnov"](e,248).readonly&&!o["ɵnov"](e,248)._isNativeSelect||null,o["ɵnov"](e,248)._ariaDescribedby||null,o["ɵnov"](e,248).errorState,o["ɵnov"](e,248).required.toString()]),n(e,250,1,["standard"==o["ɵnov"](e,251).appearance,"fill"==o["ɵnov"](e,251).appearance,"outline"==o["ɵnov"](e,251).appearance,"legacy"==o["ɵnov"](e,251).appearance,o["ɵnov"](e,251)._control.errorState,o["ɵnov"](e,251)._canLabelFloat,o["ɵnov"](e,251)._shouldLabelFloat(),o["ɵnov"](e,251)._hasFloatingLabel(),o["ɵnov"](e,251)._hideControlPlaceholder(),o["ɵnov"](e,251)._control.disabled,o["ɵnov"](e,251)._control.autofilled,o["ɵnov"](e,251)._control.focused,"accent"==o["ɵnov"](e,251).color,"warn"==o["ɵnov"](e,251).color,o["ɵnov"](e,251)._shouldForward("untouched"),o["ɵnov"](e,251)._shouldForward("touched"),o["ɵnov"](e,251)._shouldForward("pristine"),o["ɵnov"](e,251)._shouldForward("dirty"),o["ɵnov"](e,251)._shouldForward("valid"),o["ɵnov"](e,251)._shouldForward("invalid"),o["ɵnov"](e,251)._shouldForward("pending"),!o["ɵnov"](e,251)._animationsEnabled]),n(e,261,1,[o["ɵnov"](e,267).ngClassUntouched,o["ɵnov"](e,267).ngClassTouched,o["ɵnov"](e,267).ngClassPristine,o["ɵnov"](e,267).ngClassDirty,o["ɵnov"](e,267).ngClassValid,o["ɵnov"](e,267).ngClassInvalid,o["ɵnov"](e,267).ngClassPending,o["ɵnov"](e,268)._isServer,o["ɵnov"](e,268).id,o["ɵnov"](e,268).placeholder,o["ɵnov"](e,268).disabled,o["ɵnov"](e,268).required,o["ɵnov"](e,268).readonly&&!o["ɵnov"](e,268)._isNativeSelect||null,o["ɵnov"](e,268)._ariaDescribedby||null,o["ɵnov"](e,268).errorState,o["ɵnov"](e,268).required.toString()]),n(e,270,1,["standard"==o["ɵnov"](e,271).appearance,"fill"==o["ɵnov"](e,271).appearance,"outline"==o["ɵnov"](e,271).appearance,"legacy"==o["ɵnov"](e,271).appearance,o["ɵnov"](e,271)._control.errorState,o["ɵnov"](e,271)._canLabelFloat,o["ɵnov"](e,271)._shouldLabelFloat(),o["ɵnov"](e,271)._hasFloatingLabel(),o["ɵnov"](e,271)._hideControlPlaceholder(),o["ɵnov"](e,271)._control.disabled,o["ɵnov"](e,271)._control.autofilled,o["ɵnov"](e,271)._control.focused,"accent"==o["ɵnov"](e,271).color,"warn"==o["ɵnov"](e,271).color,o["ɵnov"](e,271)._shouldForward("untouched"),o["ɵnov"](e,271)._shouldForward("touched"),o["ɵnov"](e,271)._shouldForward("pristine"),o["ɵnov"](e,271)._shouldForward("dirty"),o["ɵnov"](e,271)._shouldForward("valid"),o["ɵnov"](e,271)._shouldForward("invalid"),o["ɵnov"](e,271)._shouldForward("pending"),!o["ɵnov"](e,271)._animationsEnabled]),n(e,281,1,[o["ɵnov"](e,285).ngClassUntouched,o["ɵnov"](e,285).ngClassTouched,o["ɵnov"](e,285).ngClassPristine,o["ɵnov"](e,285).ngClassDirty,o["ɵnov"](e,285).ngClassValid,o["ɵnov"](e,285).ngClassInvalid,o["ɵnov"](e,285).ngClassPending,o["ɵnov"](e,286).id,o["ɵnov"](e,286).tabIndex,o["ɵnov"](e,286)._getAriaLabel(),o["ɵnov"](e,286)._getAriaLabelledby(),o["ɵnov"](e,286).required.toString(),o["ɵnov"](e,286).disabled.toString(),o["ɵnov"](e,286).errorState,o["ɵnov"](e,286).panelOpen?o["ɵnov"](e,286)._optionIds:null,o["ɵnov"](e,286).multiple,o["ɵnov"](e,286)._ariaDescribedby||null,o["ɵnov"](e,286)._getAriaActiveDescendant(),o["ɵnov"](e,286).disabled,o["ɵnov"](e,286).errorState,o["ɵnov"](e,286).required,o["ɵnov"](e,286).empty]),n(e,293,0,o["ɵnov"](e,294).disabled||null,"NoopAnimations"===o["ɵnov"](e,294)._animationMode),n(e,297,1,[o["ɵnov"](e,298).id,null,o["ɵnov"](e,298).indeterminate,o["ɵnov"](e,298).checked,o["ɵnov"](e,298).disabled,"before"==o["ɵnov"](e,298).labelPosition,"NoopAnimations"===o["ɵnov"](e,298)._animationMode,o["ɵnov"](e,302).ngClassUntouched,o["ɵnov"](e,302).ngClassTouched,o["ɵnov"](e,302).ngClassPristine,o["ɵnov"](e,302).ngClassDirty,o["ɵnov"](e,302).ngClassValid,o["ɵnov"](e,302).ngClassInvalid,o["ɵnov"](e,302).ngClassPending]),n(e,304,0,o["ɵnov"](e,305).expanded,"NoopAnimations"===o["ɵnov"](e,305)._animationMode,o["ɵnov"](e,305)._hasSpacing());var S=o["ɵnov"](e,309).panel._headerId,x=o["ɵnov"](e,309).disabled?-1:0,k=o["ɵnov"](e,309)._getPanelId(),E=o["ɵnov"](e,309)._isExpanded(),T=o["ɵnov"](e,309).panel.disabled,R=o["ɵnov"](e,309)._isExpanded(),I="after"===o["ɵnov"](e,309)._getTogglePosition(),D="before"===o["ɵnov"](e,309)._getTogglePosition(),F=o["ɵnov"](e,309)._animationsDisabled,O=n(e,311,0,o["ɵnov"](e,309)._getExpandedState(),n(e,310,0,o["ɵnov"](e,309).collapsedHeight,o["ɵnov"](e,309).expandedHeight));n(e,308,0,S,x,k,E,T,R,I,D,F,O),n(e,315,1,["standard"==o["ɵnov"](e,316).appearance,"fill"==o["ɵnov"](e,316).appearance,"outline"==o["ɵnov"](e,316).appearance,"legacy"==o["ɵnov"](e,316).appearance,o["ɵnov"](e,316)._control.errorState,o["ɵnov"](e,316)._canLabelFloat,o["ɵnov"](e,316)._shouldLabelFloat(),o["ɵnov"](e,316)._hasFloatingLabel(),o["ɵnov"](e,316)._hideControlPlaceholder(),o["ɵnov"](e,316)._control.disabled,o["ɵnov"](e,316)._control.autofilled,o["ɵnov"](e,316)._control.focused,"accent"==o["ɵnov"](e,316).color,"warn"==o["ɵnov"](e,316).color,o["ɵnov"](e,316)._shouldForward("untouched"),o["ɵnov"](e,316)._shouldForward("touched"),o["ɵnov"](e,316)._shouldForward("pristine"),o["ɵnov"](e,316)._shouldForward("dirty"),o["ɵnov"](e,316)._shouldForward("valid"),o["ɵnov"](e,316)._shouldForward("invalid"),o["ɵnov"](e,316)._shouldForward("pending"),!o["ɵnov"](e,316)._animationsEnabled]),n(e,326,1,[o["ɵnov"](e,331).ngClassUntouched,o["ɵnov"](e,331).ngClassTouched,o["ɵnov"](e,331).ngClassPristine,o["ɵnov"](e,331).ngClassDirty,o["ɵnov"](e,331).ngClassValid,o["ɵnov"](e,331).ngClassInvalid,o["ɵnov"](e,331).ngClassPending,o["ɵnov"](e,332)._isServer,o["ɵnov"](e,332).id,o["ɵnov"](e,332).placeholder,o["ɵnov"](e,332).disabled,o["ɵnov"](e,332).required,o["ɵnov"](e,332).readonly&&!o["ɵnov"](e,332)._isNativeSelect||null,o["ɵnov"](e,332)._ariaDescribedby||null,o["ɵnov"](e,332).errorState,o["ɵnov"](e,332).required.toString()]),n(e,335,0,o["ɵnov"](e,336).disabled||null,"NoopAnimations"===o["ɵnov"](e,336)._animationMode),n(e,338,0,o["ɵnov"](e,339).disabled||null,"NoopAnimations"===o["ɵnov"](e,339)._animationMode)}))}function iI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.vmwareTemplate.symbol)}),null)}function rI(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["ɵeld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{shadowed:0}),(n()(),o["ɵeld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["VMware VM configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,oI)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],(function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l}),lT,tT)),o["ɵdid"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,eT,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["ɵand"](16777216,null,null,1,null,iI)),o["ɵdid"](14,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,4,0,t.isSymbolSelectionOpened||t.isConfiguratorOpened);n(e,3,0,"content",l),n(e,10,0,t.vmwareTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.vmwareTemplate)}),(function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.vmwareTemplate))}))}function aI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-vmware-template-details",[],null,null,null,rI,JR)),o["ɵdid"](1,114688,null,0,$R,[rt,Dh,VR,hc,Gm,QR,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var uI=o["ɵccf"]("app-vmware-template-details",$R,aI,{},{},[]),sI=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.templateMocksService=o,this.router=i,this.formBuilder=r,this.templateNameForm=this.formBuilder.group({templateName:new Em(null,[Xh.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.vmwareService.getVirtualMachines(n.server).subscribe((function(e){n.virtualMachines=e,n.templateMocksService.getVmwareTemplate().subscribe((function(e){n.vmwareTemplate=e}))}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.vmwareTemplate.name=this.selectedVM.vmname,this.vmwareTemplate.vmx_path=this.selectedVM.vmx_path,this.vmwareTemplate.template_id=Object(Zg.v4)(),this.vmwareService.addTemplate(this.server,this.vmwareTemplate).subscribe((function(){n.goBack()})))},n}(),dI=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function cI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[10,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)}))}function pI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,46,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,38,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,36,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","templateName"],["placeholder","VM list"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,24)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,24)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,24)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedVM=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](21,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](23,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](24,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,10,{options:1}),o["ɵqud"](603979776,11,{optionGroups:1}),o["ɵqud"](603979776,12,{customTrigger:0}),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,cI)),o["ɵdid"](30,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](31,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](32,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](33,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](35,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](36,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](38,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["ɵeld"](40,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](41,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](42,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](44,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](45,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,5,0,t.templateNameForm),n(e,21,0,"templateName",t.selectedVM),n(e,24,0,"VM list"),n(e,30,0,t.virtualMachines);var l=t.vmwareTemplate.linked_clone,o=n(e,36,0,!0);n(e,35,0,l,o),n(e,45,0,"primary")}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,23).ngClassUntouched,o["ɵnov"](e,23).ngClassTouched,o["ɵnov"](e,23).ngClassPristine,o["ɵnov"](e,23).ngClassDirty,o["ɵnov"](e,23).ngClassValid,o["ɵnov"](e,23).ngClassInvalid,o["ɵnov"](e,23).ngClassPending,o["ɵnov"](e,24).id,o["ɵnov"](e,24).tabIndex,o["ɵnov"](e,24)._getAriaLabel(),o["ɵnov"](e,24)._getAriaLabelledby(),o["ɵnov"](e,24).required.toString(),o["ɵnov"](e,24).disabled.toString(),o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).panelOpen?o["ɵnov"](e,24)._optionIds:null,o["ɵnov"](e,24).multiple,o["ɵnov"](e,24)._ariaDescribedby||null,o["ɵnov"](e,24)._getAriaActiveDescendant(),o["ɵnov"](e,24).disabled,o["ɵnov"](e,24).errorState,o["ɵnov"](e,24).required,o["ɵnov"](e,24).empty]),n(e,32,1,[o["ɵnov"](e,33).id,null,o["ɵnov"](e,33).indeterminate,o["ɵnov"](e,33).checked,o["ɵnov"](e,33).disabled,"before"==o["ɵnov"](e,33).labelPosition,"NoopAnimations"===o["ɵnov"](e,33)._animationMode,o["ɵnov"](e,38).ngClassUntouched,o["ɵnov"](e,38).ngClassTouched,o["ɵnov"](e,38).ngClassPristine,o["ɵnov"](e,38).ngClassDirty,o["ɵnov"](e,38).ngClassValid,o["ɵnov"](e,38).ngClassInvalid,o["ɵnov"](e,38).ngClassPending]),n(e,41,0,o["ɵnov"](e,42).disabled||null,"NoopAnimations"===o["ɵnov"](e,42)._animationMode),n(e,44,0,o["ɵnov"](e,45).disabled||null,"NoopAnimations"===o["ɵnov"](e,45)._animationMode)}))}function fI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New VMware VM template"])),(n()(),o["ɵand"](16777216,null,null,1,null,pI)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,6,0,e.component.vmwareTemplate)}),null)}function hI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-vmware-template",[],null,null,null,fI,dI)),o["ɵdid"](1,114688,null,0,sI,[rt,Dh,VR,hc,Bw,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var mI=o["ɵccf"]("app-add-vmware-template",sI,hI,{},{},[]),vI=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.dockerService=t,this.router=l,this.dockerTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.dockerService.getTemplates(this.server).subscribe((function(e){n.dockerTemplates=e.filter((function(n){return"docker"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","docker","templates",n.template_id,"copy"])},n}(),gI=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/docker/images")},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),bI=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function _I(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function yI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add Docker container template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/docker/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function CI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function wI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,20,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"])),(n()(),o["ɵeld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.copyTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](29,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](31,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["content_copy"])),(n()(),o["ɵeld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color),n(e,28,0,o["ɵnov"](e,29).role,o["ɵnov"](e,29)._highlighted,o["ɵnov"](e,29)._triggersSubmenu,o["ɵnov"](e,29)._getTabIndex(),o["ɵnov"](e,29).disabled.toString(),o["ɵnov"](e,29).disabled||null),n(e,30,0,o["ɵnov"](e,31).inline,"primary"!==o["ɵnov"](e,31).color&&"accent"!==o["ɵnov"](e,31).color&&"warn"!==o["ɵnov"](e,31).color)}))}function SI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,wI)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.dockerTemplates)}),null)}function xI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,SI)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function kI(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Docker container templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,_I)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,yI)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,CI)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,xI)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.dockerTemplates.length),n(e,13,0,t.dockerTemplates.length),n(e,15,0,t.server)}),null)}function EI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-docker-templates",[],null,null,null,kI,bI)),o["ɵdid"](1,114688,null,0,vI,[rt,Dh,gI,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var TI=o["ɵccf"]("app-docker-templates",vI,EI,{},{},[]),RI=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=i,this.router=r,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.adapters=[],this.displayedColumns=["adapter_number","port_name"],this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),adapter:new Em("",Xh.required),symbol:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.dockerService.getTemplate(n.server,t).subscribe((function(e){n.dockerTemplate=e}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories(),this.consoleResolutions=this.configurationService.getConsoleResolutions()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):this.dockerService.saveTemplate(this.server,this.dockerTemplate).subscribe((function(e){n.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.dockerTemplate.symbol=n},n}(),II=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","http","https","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getConsoleResolutions=function(){return["1920x1080","1366x768","1280x1024","1280x800","1024x768","800x600","640x480"]},n}(),DI=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function FI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[30,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function OI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[69,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function MI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[81,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function NI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,333,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,325,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,259,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,227,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,3,{_controlNonStatic:0}),o["ɵqud"](335544320,4,{_controlStatic:0}),o["ɵqud"](603979776,5,{_labelChildNonStatic:0}),o["ɵqud"](335544320,6,{_labelChildStatic:0}),o["ɵqud"](603979776,7,{_placeholderChild:0}),o["ɵqud"](603979776,8,{_errorChildren:1}),o["ɵqud"](603979776,9,{_hintChildren:1}),o["ɵqud"](603979776,10,{_prefixChildren:1}),o["ɵqud"](603979776,11,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[3,4],[4,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,12,{_controlNonStatic:0}),o["ɵqud"](335544320,13,{_controlStatic:0}),o["ɵqud"](603979776,14,{_labelChildNonStatic:0}),o["ɵqud"](335544320,15,{_labelChildStatic:0}),o["ɵqud"](603979776,16,{_placeholderChild:0}),o["ɵqud"](603979776,17,{_errorChildren:1}),o["ɵqud"](603979776,18,{_hintChildren:1}),o["ɵqud"](603979776,19,{_prefixChildren:1}),o["ɵqud"](603979776,20,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[12,4],[13,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,21,{_controlNonStatic:0}),o["ɵqud"](335544320,22,{_controlStatic:0}),o["ɵqud"](603979776,23,{_labelChildNonStatic:0}),o["ɵqud"](335544320,24,{_labelChildStatic:0}),o["ɵqud"](603979776,25,{_placeholderChild:0}),o["ɵqud"](603979776,26,{_errorChildren:1}),o["ɵqud"](603979776,27,{_hintChildren:1}),o["ɵqud"](603979776,28,{_prefixChildren:1}),o["ɵqud"](603979776,29,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,76)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](72,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](73,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,30,{options:1}),o["ɵqud"](603979776,31,{optionGroups:1}),o["ɵqud"](603979776,32,{customTrigger:0}),o["ɵprd"](2048,[[21,4],[22,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,FI)),o["ɵdid"](82,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](83,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,33,{_controlNonStatic:0}),o["ɵqud"](335544320,34,{_controlStatic:0}),o["ɵqud"](603979776,35,{_labelChildNonStatic:0}),o["ɵqud"](335544320,36,{_labelChildStatic:0}),o["ɵqud"](603979776,37,{_placeholderChild:0}),o["ɵqud"](603979776,38,{_errorChildren:1}),o["ɵqud"](603979776,39,{_hintChildren:1}),o["ɵqud"](603979776,40,{_prefixChildren:1}),o["ɵqud"](603979776,41,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,95)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,95).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,95)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,95)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,100)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](95,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](97,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[33,4],[34,4]],ag,null,[Lg]),(n()(),o["ɵeld"](102,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](103,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](105,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](106,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](107,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](108,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,42,{_controlNonStatic:0}),o["ɵqud"](335544320,43,{_controlStatic:0}),o["ɵqud"](603979776,44,{_labelChildNonStatic:0}),o["ɵqud"](335544320,45,{_labelChildStatic:0}),o["ɵqud"](603979776,46,{_placeholderChild:0}),o["ɵqud"](603979776,47,{_errorChildren:1}),o["ɵqud"](603979776,48,{_hintChildren:1}),o["ɵqud"](603979776,49,{_prefixChildren:1}),o["ɵqud"](603979776,50,{_suffixChildren:1}),(n()(),o["ɵeld"](118,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Start command"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,119)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,119).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,119)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,119)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,125)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,125)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,125)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.start_command=t)&&l),l}),null,null)),o["ɵdid"](119,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](121,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](122,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](124,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](125,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[42,4],[43,4]],ag,null,[Lg]),(n()(),o["ɵeld"](127,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](128,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,51,{_controlNonStatic:0}),o["ɵqud"](335544320,52,{_controlStatic:0}),o["ɵqud"](603979776,53,{_labelChildNonStatic:0}),o["ɵqud"](335544320,54,{_labelChildStatic:0}),o["ɵqud"](603979776,55,{_placeholderChild:0}),o["ɵqud"](603979776,56,{_errorChildren:1}),o["ɵqud"](603979776,57,{_hintChildren:1}),o["ɵqud"](603979776,58,{_prefixChildren:1}),o["ɵqud"](603979776,59,{_suffixChildren:1}),(n()(),o["ɵeld"](138,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","adapter"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,139)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,139).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,139)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,139)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,140).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,140).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,140).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,145)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,145)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,145)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.adapters=t)&&l),l}),null,null)),o["ɵdid"](139,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](140,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](142,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](144,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](145,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[51,4],[52,4]],ag,null,[Lg]),(n()(),o["ɵeld"](147,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](148,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,60,{_controlNonStatic:0}),o["ɵqud"](335544320,61,{_controlStatic:0}),o["ɵqud"](603979776,62,{_labelChildNonStatic:0}),o["ɵqud"](335544320,63,{_labelChildStatic:0}),o["ɵqud"](603979776,64,{_placeholderChild:0}),o["ɵqud"](603979776,65,{_errorChildren:1}),o["ɵqud"](603979776,66,{_hintChildren:1}),o["ɵqud"](603979776,67,{_prefixChildren:1}),o["ɵqud"](603979776,68,{_suffixChildren:1}),(n()(),o["ɵeld"](158,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,164)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,164)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,164)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](160,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](161,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](163,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](164,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,69,{options:1}),o["ɵqud"](603979776,70,{optionGroups:1}),o["ɵqud"](603979776,71,{customTrigger:0}),o["ɵprd"](2048,[[60,4],[61,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,OI)),o["ɵdid"](170,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](171,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.dockerTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](172,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](174,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](175,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](177,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](179,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](180,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,72,{_controlNonStatic:0}),o["ɵqud"](335544320,73,{_controlStatic:0}),o["ɵqud"](603979776,74,{_labelChildNonStatic:0}),o["ɵqud"](335544320,75,{_labelChildStatic:0}),o["ɵqud"](603979776,76,{_placeholderChild:0}),o["ɵqud"](603979776,77,{_errorChildren:1}),o["ɵqud"](603979776,78,{_hintChildren:1}),o["ɵqud"](603979776,79,{_prefixChildren:1}),o["ɵqud"](603979776,80,{_suffixChildren:1}),(n()(),o["ɵeld"](190,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","VNC console resolution"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,196)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,196)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,196)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.console_resolution=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](192,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](193,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](195,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](196,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,81,{options:1}),o["ɵqud"](603979776,82,{optionGroups:1}),o["ɵqud"](603979776,83,{customTrigger:0}),o["ɵprd"](2048,[[72,4],[73,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,MI)),o["ɵdid"](202,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](203,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](204,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,84,{_controlNonStatic:0}),o["ɵqud"](335544320,85,{_controlStatic:0}),o["ɵqud"](603979776,86,{_labelChildNonStatic:0}),o["ɵqud"](335544320,87,{_labelChildStatic:0}),o["ɵqud"](603979776,88,{_placeholderChild:0}),o["ɵqud"](603979776,89,{_errorChildren:1}),o["ɵqud"](603979776,90,{_hintChildren:1}),o["ɵqud"](603979776,91,{_prefixChildren:1}),o["ɵqud"](603979776,92,{_suffixChildren:1}),(n()(),o["ɵeld"](214,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","HTTP port in the container"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,215)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,215).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,215)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,215)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,216).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,216).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,216).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,222)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,222)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,222)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.console_http_port=t)&&l),l}),null,null)),o["ɵdid"](215,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](216,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](218,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](219,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](221,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](222,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[84,4],[85,4]],ag,null,[Lg]),(n()(),o["ɵeld"](224,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](225,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,93,{_controlNonStatic:0}),o["ɵqud"](335544320,94,{_controlStatic:0}),o["ɵqud"](603979776,95,{_labelChildNonStatic:0}),o["ɵqud"](335544320,96,{_labelChildStatic:0}),o["ɵqud"](603979776,97,{_placeholderChild:0}),o["ɵqud"](603979776,98,{_errorChildren:1}),o["ɵqud"](603979776,99,{_hintChildren:1}),o["ɵqud"](603979776,100,{_prefixChildren:1}),o["ɵqud"](603979776,101,{_suffixChildren:1}),(n()(),o["ɵeld"](235,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","HTTP path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,236)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,236).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,236)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,236)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,242)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,242)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,242)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.console_http_path=t)&&l),l}),null,null)),o["ɵdid"](236,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](238,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](239,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](241,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](242,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[93,4],[94,4]],ag,null,[Lg]),(n()(),o["ɵeld"](244,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Environment"])),(n()(),o["ɵeld"](246,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](247,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,102,{_controlNonStatic:0}),o["ɵqud"](335544320,103,{_controlStatic:0}),o["ɵqud"](603979776,104,{_labelChildNonStatic:0}),o["ɵqud"](335544320,105,{_labelChildStatic:0}),o["ɵqud"](603979776,106,{_placeholderChild:0}),o["ɵqud"](603979776,107,{_errorChildren:1}),o["ɵqud"](603979776,108,{_hintChildren:1}),o["ɵqud"](603979776,109,{_prefixChildren:1}),o["ɵqud"](603979776,110,{_suffixChildren:1}),(n()(),o["ɵeld"](257,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,258)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,258).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,258)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,258)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,263)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,263)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,263)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.environment=t)&&l),l}),null,null)),o["ɵdid"](258,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](260,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](262,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](263,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[102,4],[103,4]],ag,null,[Lg]),(n()(),o["ɵeld"](265,16777216,null,null,31,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](266,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,111,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](269,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,270)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,270)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,270)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](270,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](271,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](272,{value:0,params:1}),(n()(),o["ɵeld"](273,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](274,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Advanced "])),(n()(),o["ɵeld"](276,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Extra hosts"])),(n()(),o["ɵeld"](278,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](279,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,112,{_controlNonStatic:0}),o["ɵqud"](335544320,113,{_controlStatic:0}),o["ɵqud"](603979776,114,{_labelChildNonStatic:0}),o["ɵqud"](335544320,115,{_labelChildStatic:0}),o["ɵqud"](603979776,116,{_placeholderChild:0}),o["ɵqud"](603979776,117,{_errorChildren:1}),o["ɵqud"](603979776,118,{_hintChildren:1}),o["ɵqud"](603979776,119,{_prefixChildren:1}),o["ɵqud"](603979776,120,{_suffixChildren:1}),(n()(),o["ɵeld"](289,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,290)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,290).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,290)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,290)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,295)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,295)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,295)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.extra_hosts=t)&&l),l}),null,null)),o["ɵdid"](290,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](292,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](294,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](295,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[112,4],[113,4]],ag,null,[Lg]),(n()(),o["ɵeld"](297,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](298,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,121,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](301,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,302)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,302)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,302)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](302,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](303,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](304,{value:0,params:1}),(n()(),o["ɵeld"](305,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](306,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](308,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](309,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,122,{_controlNonStatic:0}),o["ɵqud"](335544320,123,{_controlStatic:0}),o["ɵqud"](603979776,124,{_labelChildNonStatic:0}),o["ɵqud"](335544320,125,{_labelChildStatic:0}),o["ɵqud"](603979776,126,{_placeholderChild:0}),o["ɵqud"](603979776,127,{_errorChildren:1}),o["ɵqud"](603979776,128,{_hintChildren:1}),o["ɵqud"](603979776,129,{_prefixChildren:1}),o["ɵqud"](603979776,130,{_suffixChildren:1}),(n()(),o["ɵeld"](319,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,320)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,320).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,320)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,320)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,325)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,325)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,325)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](320,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](322,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](324,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](325,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[122,4],[123,4]],ag,null,[Lg]),(n()(),o["ɵeld"](327,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](328,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](329,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](331,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](332,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.dockerTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.dockerTemplate.default_name_format),n(e,57,0,"Default name format","text");var l=t.dockerTemplate.category,o=n(e,73,0,!0);n(e,72,0,l,o),n(e,76,0,"Category"),n(e,82,0,t.categories),n(e,97,0,"symbol",t.dockerTemplate.symbol),n(e,100,0,"Symbol","text");var i=t.dockerTemplate.start_command,r=n(e,122,0,!0);n(e,121,0,i,r),n(e,125,0,"Start command","text"),n(e,142,0,"adapter",t.dockerTemplate.adapters),n(e,145,0,"Adapters","number");var a=t.dockerTemplate.console_type,u=n(e,161,0,!0);n(e,160,0,a,u),n(e,164,0,"Console type"),n(e,170,0,t.consoleTypes);var s=t.dockerTemplate.console_auto_start,d=n(e,175,0,!0);n(e,174,0,s,d);var c=t.dockerTemplate.console_resolution,p=n(e,193,0,!0);n(e,192,0,c,p),n(e,196,0,"VNC console resolution"),n(e,202,0,t.consoleResolutions);var f=t.dockerTemplate.console_http_port,h=n(e,219,0,!0);n(e,218,0,f,h),n(e,222,0,"HTTP port in the container","number");var m=t.dockerTemplate.console_http_path,v=n(e,239,0,!0);n(e,238,0,m,v),n(e,242,0,"HTTP path","text"),n(e,260,0,t.dockerTemplate.environment),n(e,263,0,"text"),n(e,292,0,t.dockerTemplate.extra_hosts),n(e,295,0,"text"),n(e,322,0,t.dockerTemplate.usage),n(e,325,0,"text"),n(e,332,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76).id,o["ɵnov"](e,76).tabIndex,o["ɵnov"](e,76)._getAriaLabel(),o["ɵnov"](e,76)._getAriaLabelledby(),o["ɵnov"](e,76).required.toString(),o["ɵnov"](e,76).disabled.toString(),o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).panelOpen?o["ɵnov"](e,76)._optionIds:null,o["ɵnov"](e,76).multiple,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76)._getAriaActiveDescendant(),o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required,o["ɵnov"](e,76).empty]),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100)._isServer,o["ɵnov"](e,100).id,o["ɵnov"](e,100).placeholder,o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).required,o["ɵnov"](e,100).readonly&&!o["ɵnov"](e,100)._isNativeSelect||null,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required.toString()]),n(e,102,0,o["ɵnov"](e,103).disabled||null,"NoopAnimations"===o["ɵnov"](e,103)._animationMode),n(e,107,1,["standard"==o["ɵnov"](e,108).appearance,"fill"==o["ɵnov"](e,108).appearance,"outline"==o["ɵnov"](e,108).appearance,"legacy"==o["ɵnov"](e,108).appearance,o["ɵnov"](e,108)._control.errorState,o["ɵnov"](e,108)._canLabelFloat,o["ɵnov"](e,108)._shouldLabelFloat(),o["ɵnov"](e,108)._hasFloatingLabel(),o["ɵnov"](e,108)._hideControlPlaceholder(),o["ɵnov"](e,108)._control.disabled,o["ɵnov"](e,108)._control.autofilled,o["ɵnov"](e,108)._control.focused,"accent"==o["ɵnov"](e,108).color,"warn"==o["ɵnov"](e,108).color,o["ɵnov"](e,108)._shouldForward("untouched"),o["ɵnov"](e,108)._shouldForward("touched"),o["ɵnov"](e,108)._shouldForward("pristine"),o["ɵnov"](e,108)._shouldForward("dirty"),o["ɵnov"](e,108)._shouldForward("valid"),o["ɵnov"](e,108)._shouldForward("invalid"),o["ɵnov"](e,108)._shouldForward("pending"),!o["ɵnov"](e,108)._animationsEnabled]),n(e,118,1,[o["ɵnov"](e,124).ngClassUntouched,o["ɵnov"](e,124).ngClassTouched,o["ɵnov"](e,124).ngClassPristine,o["ɵnov"](e,124).ngClassDirty,o["ɵnov"](e,124).ngClassValid,o["ɵnov"](e,124).ngClassInvalid,o["ɵnov"](e,124).ngClassPending,o["ɵnov"](e,125)._isServer,o["ɵnov"](e,125).id,o["ɵnov"](e,125).placeholder,o["ɵnov"](e,125).disabled,o["ɵnov"](e,125).required,o["ɵnov"](e,125).readonly&&!o["ɵnov"](e,125)._isNativeSelect||null,o["ɵnov"](e,125)._ariaDescribedby||null,o["ɵnov"](e,125).errorState,o["ɵnov"](e,125).required.toString()]),n(e,127,1,["standard"==o["ɵnov"](e,128).appearance,"fill"==o["ɵnov"](e,128).appearance,"outline"==o["ɵnov"](e,128).appearance,"legacy"==o["ɵnov"](e,128).appearance,o["ɵnov"](e,128)._control.errorState,o["ɵnov"](e,128)._canLabelFloat,o["ɵnov"](e,128)._shouldLabelFloat(),o["ɵnov"](e,128)._hasFloatingLabel(),o["ɵnov"](e,128)._hideControlPlaceholder(),o["ɵnov"](e,128)._control.disabled,o["ɵnov"](e,128)._control.autofilled,o["ɵnov"](e,128)._control.focused,"accent"==o["ɵnov"](e,128).color,"warn"==o["ɵnov"](e,128).color,o["ɵnov"](e,128)._shouldForward("untouched"),o["ɵnov"](e,128)._shouldForward("touched"),o["ɵnov"](e,128)._shouldForward("pristine"),o["ɵnov"](e,128)._shouldForward("dirty"),o["ɵnov"](e,128)._shouldForward("valid"),o["ɵnov"](e,128)._shouldForward("invalid"),o["ɵnov"](e,128)._shouldForward("pending"),!o["ɵnov"](e,128)._animationsEnabled]),n(e,138,1,[o["ɵnov"](e,144).ngClassUntouched,o["ɵnov"](e,144).ngClassTouched,o["ɵnov"](e,144).ngClassPristine,o["ɵnov"](e,144).ngClassDirty,o["ɵnov"](e,144).ngClassValid,o["ɵnov"](e,144).ngClassInvalid,o["ɵnov"](e,144).ngClassPending,o["ɵnov"](e,145)._isServer,o["ɵnov"](e,145).id,o["ɵnov"](e,145).placeholder,o["ɵnov"](e,145).disabled,o["ɵnov"](e,145).required,o["ɵnov"](e,145).readonly&&!o["ɵnov"](e,145)._isNativeSelect||null,o["ɵnov"](e,145)._ariaDescribedby||null,o["ɵnov"](e,145).errorState,o["ɵnov"](e,145).required.toString()]),n(e,147,1,["standard"==o["ɵnov"](e,148).appearance,"fill"==o["ɵnov"](e,148).appearance,"outline"==o["ɵnov"](e,148).appearance,"legacy"==o["ɵnov"](e,148).appearance,o["ɵnov"](e,148)._control.errorState,o["ɵnov"](e,148)._canLabelFloat,o["ɵnov"](e,148)._shouldLabelFloat(),o["ɵnov"](e,148)._hasFloatingLabel(),o["ɵnov"](e,148)._hideControlPlaceholder(),o["ɵnov"](e,148)._control.disabled,o["ɵnov"](e,148)._control.autofilled,o["ɵnov"](e,148)._control.focused,"accent"==o["ɵnov"](e,148).color,"warn"==o["ɵnov"](e,148).color,o["ɵnov"](e,148)._shouldForward("untouched"),o["ɵnov"](e,148)._shouldForward("touched"),o["ɵnov"](e,148)._shouldForward("pristine"),o["ɵnov"](e,148)._shouldForward("dirty"),o["ɵnov"](e,148)._shouldForward("valid"),o["ɵnov"](e,148)._shouldForward("invalid"),o["ɵnov"](e,148)._shouldForward("pending"),!o["ɵnov"](e,148)._animationsEnabled]),n(e,158,1,[o["ɵnov"](e,163).ngClassUntouched,o["ɵnov"](e,163).ngClassTouched,o["ɵnov"](e,163).ngClassPristine,o["ɵnov"](e,163).ngClassDirty,o["ɵnov"](e,163).ngClassValid,o["ɵnov"](e,163).ngClassInvalid,o["ɵnov"](e,163).ngClassPending,o["ɵnov"](e,164).id,o["ɵnov"](e,164).tabIndex,o["ɵnov"](e,164)._getAriaLabel(),o["ɵnov"](e,164)._getAriaLabelledby(),o["ɵnov"](e,164).required.toString(),o["ɵnov"](e,164).disabled.toString(),o["ɵnov"](e,164).errorState,o["ɵnov"](e,164).panelOpen?o["ɵnov"](e,164)._optionIds:null,o["ɵnov"](e,164).multiple,o["ɵnov"](e,164)._ariaDescribedby||null,o["ɵnov"](e,164)._getAriaActiveDescendant(),o["ɵnov"](e,164).disabled,o["ɵnov"](e,164).errorState,o["ɵnov"](e,164).required,o["ɵnov"](e,164).empty]),n(e,171,1,[o["ɵnov"](e,172).id,null,o["ɵnov"](e,172).indeterminate,o["ɵnov"](e,172).checked,o["ɵnov"](e,172).disabled,"before"==o["ɵnov"](e,172).labelPosition,"NoopAnimations"===o["ɵnov"](e,172)._animationMode,o["ɵnov"](e,177).ngClassUntouched,o["ɵnov"](e,177).ngClassTouched,o["ɵnov"](e,177).ngClassPristine,o["ɵnov"](e,177).ngClassDirty,o["ɵnov"](e,177).ngClassValid,o["ɵnov"](e,177).ngClassInvalid,o["ɵnov"](e,177).ngClassPending]),n(e,179,1,["standard"==o["ɵnov"](e,180).appearance,"fill"==o["ɵnov"](e,180).appearance,"outline"==o["ɵnov"](e,180).appearance,"legacy"==o["ɵnov"](e,180).appearance,o["ɵnov"](e,180)._control.errorState,o["ɵnov"](e,180)._canLabelFloat,o["ɵnov"](e,180)._shouldLabelFloat(),o["ɵnov"](e,180)._hasFloatingLabel(),o["ɵnov"](e,180)._hideControlPlaceholder(),o["ɵnov"](e,180)._control.disabled,o["ɵnov"](e,180)._control.autofilled,o["ɵnov"](e,180)._control.focused,"accent"==o["ɵnov"](e,180).color,"warn"==o["ɵnov"](e,180).color,o["ɵnov"](e,180)._shouldForward("untouched"),o["ɵnov"](e,180)._shouldForward("touched"),o["ɵnov"](e,180)._shouldForward("pristine"),o["ɵnov"](e,180)._shouldForward("dirty"),o["ɵnov"](e,180)._shouldForward("valid"),o["ɵnov"](e,180)._shouldForward("invalid"),o["ɵnov"](e,180)._shouldForward("pending"),!o["ɵnov"](e,180)._animationsEnabled]),n(e,190,1,[o["ɵnov"](e,195).ngClassUntouched,o["ɵnov"](e,195).ngClassTouched,o["ɵnov"](e,195).ngClassPristine,o["ɵnov"](e,195).ngClassDirty,o["ɵnov"](e,195).ngClassValid,o["ɵnov"](e,195).ngClassInvalid,o["ɵnov"](e,195).ngClassPending,o["ɵnov"](e,196).id,o["ɵnov"](e,196).tabIndex,o["ɵnov"](e,196)._getAriaLabel(),o["ɵnov"](e,196)._getAriaLabelledby(),o["ɵnov"](e,196).required.toString(),o["ɵnov"](e,196).disabled.toString(),o["ɵnov"](e,196).errorState,o["ɵnov"](e,196).panelOpen?o["ɵnov"](e,196)._optionIds:null,o["ɵnov"](e,196).multiple,o["ɵnov"](e,196)._ariaDescribedby||null,o["ɵnov"](e,196)._getAriaActiveDescendant(),o["ɵnov"](e,196).disabled,o["ɵnov"](e,196).errorState,o["ɵnov"](e,196).required,o["ɵnov"](e,196).empty]),n(e,203,1,["standard"==o["ɵnov"](e,204).appearance,"fill"==o["ɵnov"](e,204).appearance,"outline"==o["ɵnov"](e,204).appearance,"legacy"==o["ɵnov"](e,204).appearance,o["ɵnov"](e,204)._control.errorState,o["ɵnov"](e,204)._canLabelFloat,o["ɵnov"](e,204)._shouldLabelFloat(),o["ɵnov"](e,204)._hasFloatingLabel(),o["ɵnov"](e,204)._hideControlPlaceholder(),o["ɵnov"](e,204)._control.disabled,o["ɵnov"](e,204)._control.autofilled,o["ɵnov"](e,204)._control.focused,"accent"==o["ɵnov"](e,204).color,"warn"==o["ɵnov"](e,204).color,o["ɵnov"](e,204)._shouldForward("untouched"),o["ɵnov"](e,204)._shouldForward("touched"),o["ɵnov"](e,204)._shouldForward("pristine"),o["ɵnov"](e,204)._shouldForward("dirty"),o["ɵnov"](e,204)._shouldForward("valid"),o["ɵnov"](e,204)._shouldForward("invalid"),o["ɵnov"](e,204)._shouldForward("pending"),!o["ɵnov"](e,204)._animationsEnabled]),n(e,214,1,[o["ɵnov"](e,221).ngClassUntouched,o["ɵnov"](e,221).ngClassTouched,o["ɵnov"](e,221).ngClassPristine,o["ɵnov"](e,221).ngClassDirty,o["ɵnov"](e,221).ngClassValid,o["ɵnov"](e,221).ngClassInvalid,o["ɵnov"](e,221).ngClassPending,o["ɵnov"](e,222)._isServer,o["ɵnov"](e,222).id,o["ɵnov"](e,222).placeholder,o["ɵnov"](e,222).disabled,o["ɵnov"](e,222).required,o["ɵnov"](e,222).readonly&&!o["ɵnov"](e,222)._isNativeSelect||null,o["ɵnov"](e,222)._ariaDescribedby||null,o["ɵnov"](e,222).errorState,o["ɵnov"](e,222).required.toString()]),n(e,224,1,["standard"==o["ɵnov"](e,225).appearance,"fill"==o["ɵnov"](e,225).appearance,"outline"==o["ɵnov"](e,225).appearance,"legacy"==o["ɵnov"](e,225).appearance,o["ɵnov"](e,225)._control.errorState,o["ɵnov"](e,225)._canLabelFloat,o["ɵnov"](e,225)._shouldLabelFloat(),o["ɵnov"](e,225)._hasFloatingLabel(),o["ɵnov"](e,225)._hideControlPlaceholder(),o["ɵnov"](e,225)._control.disabled,o["ɵnov"](e,225)._control.autofilled,o["ɵnov"](e,225)._control.focused,"accent"==o["ɵnov"](e,225).color,"warn"==o["ɵnov"](e,225).color,o["ɵnov"](e,225)._shouldForward("untouched"),o["ɵnov"](e,225)._shouldForward("touched"),o["ɵnov"](e,225)._shouldForward("pristine"),o["ɵnov"](e,225)._shouldForward("dirty"),o["ɵnov"](e,225)._shouldForward("valid"),o["ɵnov"](e,225)._shouldForward("invalid"),o["ɵnov"](e,225)._shouldForward("pending"),!o["ɵnov"](e,225)._animationsEnabled]),n(e,235,1,[o["ɵnov"](e,241).ngClassUntouched,o["ɵnov"](e,241).ngClassTouched,o["ɵnov"](e,241).ngClassPristine,o["ɵnov"](e,241).ngClassDirty,o["ɵnov"](e,241).ngClassValid,o["ɵnov"](e,241).ngClassInvalid,o["ɵnov"](e,241).ngClassPending,o["ɵnov"](e,242)._isServer,o["ɵnov"](e,242).id,o["ɵnov"](e,242).placeholder,o["ɵnov"](e,242).disabled,o["ɵnov"](e,242).required,o["ɵnov"](e,242).readonly&&!o["ɵnov"](e,242)._isNativeSelect||null,o["ɵnov"](e,242)._ariaDescribedby||null,o["ɵnov"](e,242).errorState,o["ɵnov"](e,242).required.toString()]),n(e,246,1,["standard"==o["ɵnov"](e,247).appearance,"fill"==o["ɵnov"](e,247).appearance,"outline"==o["ɵnov"](e,247).appearance,"legacy"==o["ɵnov"](e,247).appearance,o["ɵnov"](e,247)._control.errorState,o["ɵnov"](e,247)._canLabelFloat,o["ɵnov"](e,247)._shouldLabelFloat(),o["ɵnov"](e,247)._hasFloatingLabel(),o["ɵnov"](e,247)._hideControlPlaceholder(),o["ɵnov"](e,247)._control.disabled,o["ɵnov"](e,247)._control.autofilled,o["ɵnov"](e,247)._control.focused,"accent"==o["ɵnov"](e,247).color,"warn"==o["ɵnov"](e,247).color,o["ɵnov"](e,247)._shouldForward("untouched"),o["ɵnov"](e,247)._shouldForward("touched"),o["ɵnov"](e,247)._shouldForward("pristine"),o["ɵnov"](e,247)._shouldForward("dirty"),o["ɵnov"](e,247)._shouldForward("valid"),o["ɵnov"](e,247)._shouldForward("invalid"),o["ɵnov"](e,247)._shouldForward("pending"),!o["ɵnov"](e,247)._animationsEnabled]),n(e,257,1,[o["ɵnov"](e,262).ngClassUntouched,o["ɵnov"](e,262).ngClassTouched,o["ɵnov"](e,262).ngClassPristine,o["ɵnov"](e,262).ngClassDirty,o["ɵnov"](e,262).ngClassValid,o["ɵnov"](e,262).ngClassInvalid,o["ɵnov"](e,262).ngClassPending,o["ɵnov"](e,263)._isServer,o["ɵnov"](e,263).id,o["ɵnov"](e,263).placeholder,o["ɵnov"](e,263).disabled,o["ɵnov"](e,263).required,o["ɵnov"](e,263).readonly&&!o["ɵnov"](e,263)._isNativeSelect||null,o["ɵnov"](e,263)._ariaDescribedby||null,o["ɵnov"](e,263).errorState,o["ɵnov"](e,263).required.toString()]),n(e,265,0,o["ɵnov"](e,266).expanded,"NoopAnimations"===o["ɵnov"](e,266)._animationMode,o["ɵnov"](e,266)._hasSpacing());var f=o["ɵnov"](e,270).panel._headerId,h=o["ɵnov"](e,270).disabled?-1:0,m=o["ɵnov"](e,270)._getPanelId(),v=o["ɵnov"](e,270)._isExpanded(),g=o["ɵnov"](e,270).panel.disabled,b=o["ɵnov"](e,270)._isExpanded(),_="after"===o["ɵnov"](e,270)._getTogglePosition(),y="before"===o["ɵnov"](e,270)._getTogglePosition(),C=o["ɵnov"](e,270)._animationsDisabled,w=n(e,272,0,o["ɵnov"](e,270)._getExpandedState(),n(e,271,0,o["ɵnov"](e,270).collapsedHeight,o["ɵnov"](e,270).expandedHeight));n(e,269,0,f,h,m,v,g,b,_,y,C,w),n(e,278,1,["standard"==o["ɵnov"](e,279).appearance,"fill"==o["ɵnov"](e,279).appearance,"outline"==o["ɵnov"](e,279).appearance,"legacy"==o["ɵnov"](e,279).appearance,o["ɵnov"](e,279)._control.errorState,o["ɵnov"](e,279)._canLabelFloat,o["ɵnov"](e,279)._shouldLabelFloat(),o["ɵnov"](e,279)._hasFloatingLabel(),o["ɵnov"](e,279)._hideControlPlaceholder(),o["ɵnov"](e,279)._control.disabled,o["ɵnov"](e,279)._control.autofilled,o["ɵnov"](e,279)._control.focused,"accent"==o["ɵnov"](e,279).color,"warn"==o["ɵnov"](e,279).color,o["ɵnov"](e,279)._shouldForward("untouched"),o["ɵnov"](e,279)._shouldForward("touched"),o["ɵnov"](e,279)._shouldForward("pristine"),o["ɵnov"](e,279)._shouldForward("dirty"),o["ɵnov"](e,279)._shouldForward("valid"),o["ɵnov"](e,279)._shouldForward("invalid"),o["ɵnov"](e,279)._shouldForward("pending"),!o["ɵnov"](e,279)._animationsEnabled]),n(e,289,1,[o["ɵnov"](e,294).ngClassUntouched,o["ɵnov"](e,294).ngClassTouched,o["ɵnov"](e,294).ngClassPristine,o["ɵnov"](e,294).ngClassDirty,o["ɵnov"](e,294).ngClassValid,o["ɵnov"](e,294).ngClassInvalid,o["ɵnov"](e,294).ngClassPending,o["ɵnov"](e,295)._isServer,o["ɵnov"](e,295).id,o["ɵnov"](e,295).placeholder,o["ɵnov"](e,295).disabled,o["ɵnov"](e,295).required,o["ɵnov"](e,295).readonly&&!o["ɵnov"](e,295)._isNativeSelect||null,o["ɵnov"](e,295)._ariaDescribedby||null,o["ɵnov"](e,295).errorState,o["ɵnov"](e,295).required.toString()]),n(e,297,0,o["ɵnov"](e,298).expanded,"NoopAnimations"===o["ɵnov"](e,298)._animationMode,o["ɵnov"](e,298)._hasSpacing());var S=o["ɵnov"](e,302).panel._headerId,x=o["ɵnov"](e,302).disabled?-1:0,k=o["ɵnov"](e,302)._getPanelId(),E=o["ɵnov"](e,302)._isExpanded(),T=o["ɵnov"](e,302).panel.disabled,R=o["ɵnov"](e,302)._isExpanded(),I="after"===o["ɵnov"](e,302)._getTogglePosition(),D="before"===o["ɵnov"](e,302)._getTogglePosition(),F=o["ɵnov"](e,302)._animationsDisabled,O=n(e,304,0,o["ɵnov"](e,302)._getExpandedState(),n(e,303,0,o["ɵnov"](e,302).collapsedHeight,o["ɵnov"](e,302).expandedHeight));n(e,301,0,S,x,k,E,T,R,I,D,F,O),n(e,308,1,["standard"==o["ɵnov"](e,309).appearance,"fill"==o["ɵnov"](e,309).appearance,"outline"==o["ɵnov"](e,309).appearance,"legacy"==o["ɵnov"](e,309).appearance,o["ɵnov"](e,309)._control.errorState,o["ɵnov"](e,309)._canLabelFloat,o["ɵnov"](e,309)._shouldLabelFloat(),o["ɵnov"](e,309)._hasFloatingLabel(),o["ɵnov"](e,309)._hideControlPlaceholder(),o["ɵnov"](e,309)._control.disabled,o["ɵnov"](e,309)._control.autofilled,o["ɵnov"](e,309)._control.focused,"accent"==o["ɵnov"](e,309).color,"warn"==o["ɵnov"](e,309).color,o["ɵnov"](e,309)._shouldForward("untouched"),o["ɵnov"](e,309)._shouldForward("touched"),o["ɵnov"](e,309)._shouldForward("pristine"),o["ɵnov"](e,309)._shouldForward("dirty"),o["ɵnov"](e,309)._shouldForward("valid"),o["ɵnov"](e,309)._shouldForward("invalid"),o["ɵnov"](e,309)._shouldForward("pending"),!o["ɵnov"](e,309)._animationsEnabled]),n(e,319,1,[o["ɵnov"](e,324).ngClassUntouched,o["ɵnov"](e,324).ngClassTouched,o["ɵnov"](e,324).ngClassPristine,o["ɵnov"](e,324).ngClassDirty,o["ɵnov"](e,324).ngClassValid,o["ɵnov"](e,324).ngClassInvalid,o["ɵnov"](e,324).ngClassPending,o["ɵnov"](e,325)._isServer,o["ɵnov"](e,325).id,o["ɵnov"](e,325).placeholder,o["ɵnov"](e,325).disabled,o["ɵnov"](e,325).required,o["ɵnov"](e,325).readonly&&!o["ɵnov"](e,325)._isNativeSelect||null,o["ɵnov"](e,325)._ariaDescribedby||null,o["ɵnov"](e,325).errorState,o["ɵnov"](e,325).required.toString()]),n(e,328,0,o["ɵnov"](e,329).disabled||null,"NoopAnimations"===o["ɵnov"](e,329)._animationMode),n(e,331,0,o["ɵnov"](e,332).disabled||null,"NoopAnimations"===o["ɵnov"](e,332)._animationMode)}))}function AI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.dockerTemplate.symbol)}),null)}function PI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Docker image configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,NI)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,AI)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.dockerTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.dockerTemplate)}),null)}function qI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-docker-template-details",[],null,null,null,PI,DI)),o["ɵdid"](1,114688,null,0,RI,[rt,Dh,gI,hc,II,Gm,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var LI=o["ɵccf"]("app-docker-template-details",RI,qI,{},{},[]),jI=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.dockerService.getTemplate(n.server,t).subscribe((function(e){n.dockerTemplate=e,n.templateName="Copy of "+n.dockerTemplate.name}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=Object(Zg.v4)(),this.dockerTemplate.name=this.templateName,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe((function(e){n.goBack()})))},n}(),VI=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function BI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,37,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy Docker container template"])),(n()(),o["ɵeld"](5,0,null,null,32,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,24,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,9).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,9).onReset()&&l),l}),null,null)),o["ɵdid"](8,16384,null,0,qm,[],null,null),o["ɵdid"](9,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](11,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](12,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](13,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](23,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,24)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,24).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,24)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,24)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,29)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,29)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,29)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.templateName=t)&&l),l}),null,null)),o["ɵdid"](24,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](26,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](28,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](29,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](31,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](32,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](33,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](35,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](36,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Copy template"]))],(function(n,e){var t=e.component;n(e,9,0,t.templateNameForm),n(e,26,0,"templateName",t.templateName),n(e,29,0,"Name","text"),n(e,36,0,"primary")}),(function(n,e){n(e,7,0,o["ɵnov"](e,11).ngClassUntouched,o["ɵnov"](e,11).ngClassTouched,o["ɵnov"](e,11).ngClassPristine,o["ɵnov"](e,11).ngClassDirty,o["ɵnov"](e,11).ngClassValid,o["ɵnov"](e,11).ngClassInvalid,o["ɵnov"](e,11).ngClassPending),n(e,12,1,["standard"==o["ɵnov"](e,13).appearance,"fill"==o["ɵnov"](e,13).appearance,"outline"==o["ɵnov"](e,13).appearance,"legacy"==o["ɵnov"](e,13).appearance,o["ɵnov"](e,13)._control.errorState,o["ɵnov"](e,13)._canLabelFloat,o["ɵnov"](e,13)._shouldLabelFloat(),o["ɵnov"](e,13)._hasFloatingLabel(),o["ɵnov"](e,13)._hideControlPlaceholder(),o["ɵnov"](e,13)._control.disabled,o["ɵnov"](e,13)._control.autofilled,o["ɵnov"](e,13)._control.focused,"accent"==o["ɵnov"](e,13).color,"warn"==o["ɵnov"](e,13).color,o["ɵnov"](e,13)._shouldForward("untouched"),o["ɵnov"](e,13)._shouldForward("touched"),o["ɵnov"](e,13)._shouldForward("pristine"),o["ɵnov"](e,13)._shouldForward("dirty"),o["ɵnov"](e,13)._shouldForward("valid"),o["ɵnov"](e,13)._shouldForward("invalid"),o["ɵnov"](e,13)._shouldForward("pending"),!o["ɵnov"](e,13)._animationsEnabled]),n(e,23,1,[o["ɵnov"](e,28).ngClassUntouched,o["ɵnov"](e,28).ngClassTouched,o["ɵnov"](e,28).ngClassPristine,o["ɵnov"](e,28).ngClassDirty,o["ɵnov"](e,28).ngClassValid,o["ɵnov"](e,28).ngClassInvalid,o["ɵnov"](e,28).ngClassPending,o["ɵnov"](e,29)._isServer,o["ɵnov"](e,29).id,o["ɵnov"](e,29).placeholder,o["ɵnov"](e,29).disabled,o["ɵnov"](e,29).required,o["ɵnov"](e,29).readonly&&!o["ɵnov"](e,29)._isNativeSelect||null,o["ɵnov"](e,29)._ariaDescribedby||null,o["ɵnov"](e,29).errorState,o["ɵnov"](e,29).required.toString()]),n(e,32,0,o["ɵnov"](e,33).disabled||null,"NoopAnimations"===o["ɵnov"](e,33)._animationMode),n(e,35,0,o["ɵnov"](e,36).disabled||null,"NoopAnimations"===o["ɵnov"](e,36)._animationMode)}))}function HI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-copy-docker-template",[],null,null,null,BI,VI)),o["ɵdid"](1,114688,null,0,jI,[rt,Dh,gI,hc,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var UI=o["ɵccf"]("app-copy-docker-template",jI,HI,{},{},[]),zI=function(){return function(){}}(),GI=function(){function n(n,e,t,l,o,i,r,a,u){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateMocksService=r,this.configurationService=a,this.computeService=u,this.consoleTypes=[],this.isRemoteComputerChosen=!1,this.dockerImages=[],this.newImageSelected=!1,this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.dockerTemplate=new zI,this.virtualMachineForm=this.formBuilder.group({filename:new Em("",Xh.required)}),this.containerNameForm=this.formBuilder.group({templateName:new Em("",Xh.required)}),this.networkAdaptersForm=this.formBuilder.group({adapters:new Em("1",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.consoleTypes=n.configurationService.getConsoleTypes(),n.templateMocksService.getDockerTemplate().subscribe((function(e){n.dockerTemplate=e})),n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)})),n.dockerService.getImages(e).subscribe((function(e){n.dockerImages=e}))}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var n=this;this.virtualMachineForm.invalid&&(this.newImageSelected||!this.selectedImage)||this.containerNameForm.invalid||this.networkAdaptersForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=Object(Zg.v4)(),this.dockerTemplate.image=this.newImageSelected?this.virtualMachineForm.get("filename").value:this.selectedImage.image,this.dockerTemplate.name=this.containerNameForm.get("templateName").value,this.dockerTemplate.adapters=this.networkAdaptersForm.get("adapters").value,this.dockerTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe((function(e){n.goBack()})))},n}(),WI=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function ZI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[7,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.image)}))}function KI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","Image list"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedImage=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](4,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](7,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,7,{options:1}),o["ɵqud"](603979776,8,{optionGroups:1}),o["ɵqud"](603979776,9,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,ZI)),o["ɵdid"](12,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.selectedImage,o=n(e,4,0,!0);n(e,3,0,l,o),n(e,7,0,"Image list"),n(e,12,0,t.dockerImages)}),(function(n,e){n(e,0,1,[o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending,o["ɵnov"](e,7).id,o["ɵnov"](e,7).tabIndex,o["ɵnov"](e,7)._getAriaLabel(),o["ɵnov"](e,7)._getAriaLabelledby(),o["ɵnov"](e,7).required.toString(),o["ɵnov"](e,7).disabled.toString(),o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).panelOpen?o["ɵnov"](e,7)._optionIds:null,o["ɵnov"](e,7).multiple,o["ɵnov"](e,7)._ariaDescribedby||null,o["ɵnov"](e,7)._getAriaActiveDescendant(),o["ɵnov"](e,7).disabled,o["ɵnov"](e,7).errorState,o["ɵnov"](e,7).required,o["ɵnov"](e,7).empty])}))}function XI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,19,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](2,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](12,0,null,1,7,"input",[["class","filename mat-input-element mat-form-field-autofill-control"],["formControlName","filename"],["matInput",""],["placeholder","Image 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,13)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,13)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,13)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),l}),null,null)),o["ɵdid"](13,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](15,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[Lg])],(function(n,e){n(e,15,0,"filename"),n(e,18,0,"Image name","text")}),(function(n,e){n(e,1,1,["standard"==o["ɵnov"](e,2).appearance,"fill"==o["ɵnov"](e,2).appearance,"outline"==o["ɵnov"](e,2).appearance,"legacy"==o["ɵnov"](e,2).appearance,o["ɵnov"](e,2)._control.errorState,o["ɵnov"](e,2)._canLabelFloat,o["ɵnov"](e,2)._shouldLabelFloat(),o["ɵnov"](e,2)._hasFloatingLabel(),o["ɵnov"](e,2)._hideControlPlaceholder(),o["ɵnov"](e,2)._control.disabled,o["ɵnov"](e,2)._control.autofilled,o["ɵnov"](e,2)._control.focused,"accent"==o["ɵnov"](e,2).color,"warn"==o["ɵnov"](e,2).color,o["ɵnov"](e,2)._shouldForward("untouched"),o["ɵnov"](e,2)._shouldForward("touched"),o["ɵnov"](e,2)._shouldForward("pristine"),o["ɵnov"](e,2)._shouldForward("dirty"),o["ɵnov"](e,2)._shouldForward("valid"),o["ɵnov"](e,2)._shouldForward("invalid"),o["ɵnov"](e,2)._shouldForward("pending"),!o["ɵnov"](e,2)._animationsEnabled]),n(e,12,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function YI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[50,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function $I(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,176,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New Docker container template"])),(n()(),o["ɵeld"](5,0,null,null,171,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,163,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,162,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,bk,vk)),o["ɵprd"](6144,null,lk,null,[ck]),o["ɵdid"](9,5423104,null,2,ck,[[2,ki],o.ChangeDetectorRef,o.ElementRef,r.DOCUMENT],{linear:[0,"linear"]},null),o["ɵqud"](603979776,1,{_steps:1}),o["ɵqud"](603979776,2,{_icons:1}),o["ɵprd"](2048,null,dk,null,[ck]),(n()(),o["ɵeld"](13,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](15,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,3,{stepLabel:0}),(n()(),o["ɵeld"](17,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](19,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,4,{_radios:1}),(n()(),o["ɵeld"](21,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,22)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](22,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run this Docker container locally"])),(n()(),o["ɵeld"](24,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,25)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](25,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run this Docker container on the GNS3 VM"])),(n()(),o["ɵeld"](27,0,null,null,22,"mat-step",[["label","Docker Virtual Machine"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](29,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,5,{stepLabel:0}),(n()(),o["ɵeld"](31,0,null,0,18,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,33).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,33).onReset()&&l),l}),null,null)),o["ɵdid"](32,16384,null,0,qm,[],null,null),o["ɵdid"](33,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](35,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](36,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](38,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,6,{_radios:1}),(n()(),o["ɵeld"](40,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,41)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("existingImage")&&l),l}),HC,BC)),o["ɵdid"](41,4440064,[[6,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Existing image"])),(n()(),o["ɵeld"](43,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,44)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("newImage")&&l),l}),HC,BC)),o["ɵdid"](44,4440064,[[6,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["New image"])),(n()(),o["ɵand"](16777216,null,null,1,null,KI)),o["ɵdid"](47,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,XI)),o["ɵdid"](49,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](50,0,null,null,27,"mat-step",[["label","Container name"]],null,null,null,mk,fk)),o["ɵdid"](51,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,19,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](54,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,56).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,56).onReset()&&l),l}),null,null)),o["ɵdid"](55,16384,null,0,qm,[],null,null),o["ɵdid"](56,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](58,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,20,{_controlNonStatic:0}),o["ɵqud"](335544320,21,{_controlStatic:0}),o["ɵqud"](603979776,22,{_labelChildNonStatic:0}),o["ɵqud"](335544320,23,{_labelChildStatic:0}),o["ɵqud"](603979776,24,{_placeholderChild:0}),o["ɵqud"](603979776,25,{_errorChildren:1}),o["ɵqud"](603979776,26,{_hintChildren:1}),o["ɵqud"](603979776,27,{_prefixChildren:1}),o["ɵqud"](603979776,28,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","templatename mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Container 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[20,4],[21,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,null,28,"mat-step",[["label","Network adapters"]],null,null,null,mk,fk)),o["ɵdid"](79,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,29,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](82,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,84).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,84).onReset()&&l),l}),null,null)),o["ɵdid"](83,16384,null,0,qm,[],null,null),o["ɵdid"](84,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](86,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](87,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](88,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,30,{_controlNonStatic:0}),o["ɵqud"](335544320,31,{_controlStatic:0}),o["ɵqud"](603979776,32,{_labelChildNonStatic:0}),o["ɵqud"](335544320,33,{_labelChildStatic:0}),o["ɵqud"](603979776,34,{_placeholderChild:0}),o["ɵqud"](603979776,35,{_errorChildren:1}),o["ɵqud"](603979776,36,{_hintChildren:1}),o["ɵqud"](603979776,37,{_prefixChildren:1}),o["ɵqud"](603979776,38,{_suffixChildren:1}),(n()(),o["ɵeld"](98,0,null,1,8,"input",[["class","networkadapter mat-input-element mat-form-field-autofill-control"],["formControlName","adapters"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,99)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,99).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,99)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,99)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,100).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,100).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,105)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,105)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,105)._onInput()&&l),l}),null,null)),o["ɵdid"](99,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](100,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](102,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](104,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](105,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[30,4],[31,4]],ag,null,[Lg]),(n()(),o["ɵeld"](107,0,null,null,22,"mat-step",[["label","Start command"]],null,null,null,mk,fk)),o["ɵdid"](108,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,39,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](111,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](112,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,40,{_controlNonStatic:0}),o["ɵqud"](335544320,41,{_controlStatic:0}),o["ɵqud"](603979776,42,{_labelChildNonStatic:0}),o["ɵqud"](335544320,43,{_labelChildStatic:0}),o["ɵqud"](603979776,44,{_placeholderChild:0}),o["ɵqud"](603979776,45,{_errorChildren:1}),o["ɵqud"](603979776,46,{_hintChildren:1}),o["ɵqud"](603979776,47,{_prefixChildren:1}),o["ɵqud"](603979776,48,{_suffixChildren:1}),(n()(),o["ɵeld"](122,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Start command"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,123)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,123).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,123)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,123)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,128)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,128)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,128)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.start_command=t)&&l),l}),null,null)),o["ɵdid"](123,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](125,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](127,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](128,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[40,4],[41,4]],ag,null,[Lg]),(n()(),o["ɵeld"](130,0,null,null,16,"mat-step",[["label","Console type"]],null,null,null,mk,fk)),o["ɵdid"](131,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,49,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](134,0,null,0,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,141)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,141)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,141)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](137,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](138,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](140,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](141,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,50,{options:1}),o["ɵqud"](603979776,51,{optionGroups:1}),o["ɵqud"](603979776,52,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,YI)),o["ɵdid"](146,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](147,0,null,null,22,"mat-step",[["label","Environment"]],null,null,null,mk,fk)),o["ɵdid"](148,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,53,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](151,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](152,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,54,{_controlNonStatic:0}),o["ɵqud"](335544320,55,{_controlStatic:0}),o["ɵqud"](603979776,56,{_labelChildNonStatic:0}),o["ɵqud"](335544320,57,{_labelChildStatic:0}),o["ɵqud"](603979776,58,{_placeholderChild:0}),o["ɵqud"](603979776,59,{_errorChildren:1}),o["ɵqud"](603979776,60,{_hintChildren:1}),o["ɵqud"](603979776,61,{_prefixChildren:1}),o["ɵqud"](603979776,62,{_suffixChildren:1}),(n()(),o["ɵeld"](162,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,163)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,163).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,163)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,163)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,168)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,168)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,168)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.dockerTemplate.environment=t)&&l),l}),null,null)),o["ɵdid"](163,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](165,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](167,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](168,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[54,4],[55,4]],ag,null,[Lg]),(n()(),o["ɵeld"](170,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](171,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](172,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](174,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](175,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,9,0,!0),n(e,15,0,"Server type"),n(e,22,0,"","1"),n(e,25,0,"2",!t.isGns3VmAvailable),n(e,29,0,"Docker Virtual Machine"),n(e,33,0,t.virtualMachineForm),n(e,41,0,"","1"),n(e,44,0,"2"),n(e,47,0,!t.newImageSelected),n(e,49,0,t.newImageSelected),n(e,51,0,"Container name"),n(e,56,0,t.containerNameForm),n(e,73,0,"templateName"),n(e,76,0,"Container name","text"),n(e,79,0,"Network adapters"),n(e,84,0,t.networkAdaptersForm),n(e,102,0,"adapters"),n(e,105,0,"Adapters","number"),n(e,108,0,"Start command"),n(e,125,0,t.dockerTemplate.start_command),n(e,128,0,"Start command","text"),n(e,131,0,"Console type");var l=t.dockerTemplate.console_type,o=n(e,138,0,!0);n(e,137,0,l,o),n(e,141,0,"Console type"),n(e,146,0,t.consoleTypes),n(e,148,0,"Environment"),n(e,165,0,t.dockerTemplate.environment),n(e,168,0,"text"),n(e,175,0,"primary")}),(function(n,e){n(e,21,1,[o["ɵnov"](e,22).checked,o["ɵnov"](e,22).disabled,"NoopAnimations"===o["ɵnov"](e,22)._animationMode,"primary"===o["ɵnov"](e,22).color,"accent"===o["ɵnov"](e,22).color,"warn"===o["ɵnov"](e,22).color,-1,o["ɵnov"](e,22).id,null,null,null]),n(e,24,1,[o["ɵnov"](e,25).checked,o["ɵnov"](e,25).disabled,"NoopAnimations"===o["ɵnov"](e,25)._animationMode,"primary"===o["ɵnov"](e,25).color,"accent"===o["ɵnov"](e,25).color,"warn"===o["ɵnov"](e,25).color,-1,o["ɵnov"](e,25).id,null,null,null]),n(e,31,0,o["ɵnov"](e,35).ngClassUntouched,o["ɵnov"](e,35).ngClassTouched,o["ɵnov"](e,35).ngClassPristine,o["ɵnov"](e,35).ngClassDirty,o["ɵnov"](e,35).ngClassValid,o["ɵnov"](e,35).ngClassInvalid,o["ɵnov"](e,35).ngClassPending),n(e,40,1,[o["ɵnov"](e,41).checked,o["ɵnov"](e,41).disabled,"NoopAnimations"===o["ɵnov"](e,41)._animationMode,"primary"===o["ɵnov"](e,41).color,"accent"===o["ɵnov"](e,41).color,"warn"===o["ɵnov"](e,41).color,-1,o["ɵnov"](e,41).id,null,null,null]),n(e,43,1,[o["ɵnov"](e,44).checked,o["ɵnov"](e,44).disabled,"NoopAnimations"===o["ɵnov"](e,44)._animationMode,"primary"===o["ɵnov"](e,44).color,"accent"===o["ɵnov"](e,44).color,"warn"===o["ɵnov"](e,44).color,-1,o["ɵnov"](e,44).id,null,null,null]),n(e,54,0,o["ɵnov"](e,58).ngClassUntouched,o["ɵnov"](e,58).ngClassTouched,o["ɵnov"](e,58).ngClassPristine,o["ɵnov"](e,58).ngClassDirty,o["ɵnov"](e,58).ngClassValid,o["ɵnov"](e,58).ngClassInvalid,o["ɵnov"](e,58).ngClassPending),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,82,0,o["ɵnov"](e,86).ngClassUntouched,o["ɵnov"](e,86).ngClassTouched,o["ɵnov"](e,86).ngClassPristine,o["ɵnov"](e,86).ngClassDirty,o["ɵnov"](e,86).ngClassValid,o["ɵnov"](e,86).ngClassInvalid,o["ɵnov"](e,86).ngClassPending),n(e,87,1,["standard"==o["ɵnov"](e,88).appearance,"fill"==o["ɵnov"](e,88).appearance,"outline"==o["ɵnov"](e,88).appearance,"legacy"==o["ɵnov"](e,88).appearance,o["ɵnov"](e,88)._control.errorState,o["ɵnov"](e,88)._canLabelFloat,o["ɵnov"](e,88)._shouldLabelFloat(),o["ɵnov"](e,88)._hasFloatingLabel(),o["ɵnov"](e,88)._hideControlPlaceholder(),o["ɵnov"](e,88)._control.disabled,o["ɵnov"](e,88)._control.autofilled,o["ɵnov"](e,88)._control.focused,"accent"==o["ɵnov"](e,88).color,"warn"==o["ɵnov"](e,88).color,o["ɵnov"](e,88)._shouldForward("untouched"),o["ɵnov"](e,88)._shouldForward("touched"),o["ɵnov"](e,88)._shouldForward("pristine"),o["ɵnov"](e,88)._shouldForward("dirty"),o["ɵnov"](e,88)._shouldForward("valid"),o["ɵnov"](e,88)._shouldForward("invalid"),o["ɵnov"](e,88)._shouldForward("pending"),!o["ɵnov"](e,88)._animationsEnabled]),n(e,98,1,[o["ɵnov"](e,104).ngClassUntouched,o["ɵnov"](e,104).ngClassTouched,o["ɵnov"](e,104).ngClassPristine,o["ɵnov"](e,104).ngClassDirty,o["ɵnov"](e,104).ngClassValid,o["ɵnov"](e,104).ngClassInvalid,o["ɵnov"](e,104).ngClassPending,o["ɵnov"](e,105)._isServer,o["ɵnov"](e,105).id,o["ɵnov"](e,105).placeholder,o["ɵnov"](e,105).disabled,o["ɵnov"](e,105).required,o["ɵnov"](e,105).readonly&&!o["ɵnov"](e,105)._isNativeSelect||null,o["ɵnov"](e,105)._ariaDescribedby||null,o["ɵnov"](e,105).errorState,o["ɵnov"](e,105).required.toString()]),n(e,111,1,["standard"==o["ɵnov"](e,112).appearance,"fill"==o["ɵnov"](e,112).appearance,"outline"==o["ɵnov"](e,112).appearance,"legacy"==o["ɵnov"](e,112).appearance,o["ɵnov"](e,112)._control.errorState,o["ɵnov"](e,112)._canLabelFloat,o["ɵnov"](e,112)._shouldLabelFloat(),o["ɵnov"](e,112)._hasFloatingLabel(),o["ɵnov"](e,112)._hideControlPlaceholder(),o["ɵnov"](e,112)._control.disabled,o["ɵnov"](e,112)._control.autofilled,o["ɵnov"](e,112)._control.focused,"accent"==o["ɵnov"](e,112).color,"warn"==o["ɵnov"](e,112).color,o["ɵnov"](e,112)._shouldForward("untouched"),o["ɵnov"](e,112)._shouldForward("touched"),o["ɵnov"](e,112)._shouldForward("pristine"),o["ɵnov"](e,112)._shouldForward("dirty"),o["ɵnov"](e,112)._shouldForward("valid"),o["ɵnov"](e,112)._shouldForward("invalid"),o["ɵnov"](e,112)._shouldForward("pending"),!o["ɵnov"](e,112)._animationsEnabled]),n(e,122,1,[o["ɵnov"](e,127).ngClassUntouched,o["ɵnov"](e,127).ngClassTouched,o["ɵnov"](e,127).ngClassPristine,o["ɵnov"](e,127).ngClassDirty,o["ɵnov"](e,127).ngClassValid,o["ɵnov"](e,127).ngClassInvalid,o["ɵnov"](e,127).ngClassPending,o["ɵnov"](e,128)._isServer,o["ɵnov"](e,128).id,o["ɵnov"](e,128).placeholder,o["ɵnov"](e,128).disabled,o["ɵnov"](e,128).required,o["ɵnov"](e,128).readonly&&!o["ɵnov"](e,128)._isNativeSelect||null,o["ɵnov"](e,128)._ariaDescribedby||null,o["ɵnov"](e,128).errorState,o["ɵnov"](e,128).required.toString()]),n(e,134,1,[o["ɵnov"](e,140).ngClassUntouched,o["ɵnov"](e,140).ngClassTouched,o["ɵnov"](e,140).ngClassPristine,o["ɵnov"](e,140).ngClassDirty,o["ɵnov"](e,140).ngClassValid,o["ɵnov"](e,140).ngClassInvalid,o["ɵnov"](e,140).ngClassPending,o["ɵnov"](e,141).id,o["ɵnov"](e,141).tabIndex,o["ɵnov"](e,141)._getAriaLabel(),o["ɵnov"](e,141)._getAriaLabelledby(),o["ɵnov"](e,141).required.toString(),o["ɵnov"](e,141).disabled.toString(),o["ɵnov"](e,141).errorState,o["ɵnov"](e,141).panelOpen?o["ɵnov"](e,141)._optionIds:null,o["ɵnov"](e,141).multiple,o["ɵnov"](e,141)._ariaDescribedby||null,o["ɵnov"](e,141)._getAriaActiveDescendant(),o["ɵnov"](e,141).disabled,o["ɵnov"](e,141).errorState,o["ɵnov"](e,141).required,o["ɵnov"](e,141).empty]),n(e,151,1,["standard"==o["ɵnov"](e,152).appearance,"fill"==o["ɵnov"](e,152).appearance,"outline"==o["ɵnov"](e,152).appearance,"legacy"==o["ɵnov"](e,152).appearance,o["ɵnov"](e,152)._control.errorState,o["ɵnov"](e,152)._canLabelFloat,o["ɵnov"](e,152)._shouldLabelFloat(),o["ɵnov"](e,152)._hasFloatingLabel(),o["ɵnov"](e,152)._hideControlPlaceholder(),o["ɵnov"](e,152)._control.disabled,o["ɵnov"](e,152)._control.autofilled,o["ɵnov"](e,152)._control.focused,"accent"==o["ɵnov"](e,152).color,"warn"==o["ɵnov"](e,152).color,o["ɵnov"](e,152)._shouldForward("untouched"),o["ɵnov"](e,152)._shouldForward("touched"),o["ɵnov"](e,152)._shouldForward("pristine"),o["ɵnov"](e,152)._shouldForward("dirty"),o["ɵnov"](e,152)._shouldForward("valid"),o["ɵnov"](e,152)._shouldForward("invalid"),o["ɵnov"](e,152)._shouldForward("pending"),!o["ɵnov"](e,152)._animationsEnabled]),n(e,162,1,[o["ɵnov"](e,167).ngClassUntouched,o["ɵnov"](e,167).ngClassTouched,o["ɵnov"](e,167).ngClassPristine,o["ɵnov"](e,167).ngClassDirty,o["ɵnov"](e,167).ngClassValid,o["ɵnov"](e,167).ngClassInvalid,o["ɵnov"](e,167).ngClassPending,o["ɵnov"](e,168)._isServer,o["ɵnov"](e,168).id,o["ɵnov"](e,168).placeholder,o["ɵnov"](e,168).disabled,o["ɵnov"](e,168).required,o["ɵnov"](e,168).readonly&&!o["ɵnov"](e,168)._isNativeSelect||null,o["ɵnov"](e,168)._ariaDescribedby||null,o["ɵnov"](e,168).errorState,o["ɵnov"](e,168).required.toString()]),n(e,171,0,o["ɵnov"](e,172).disabled||null,"NoopAnimations"===o["ɵnov"](e,172)._animationMode),n(e,174,0,o["ɵnov"](e,175).disabled||null,"NoopAnimations"===o["ɵnov"](e,175)._animationMode)}))}function QI(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-docker-template",[],null,null,null,$I,WI)),o["ɵdid"](1,114688,null,0,GI,[rt,Dh,gI,hc,vl,Gm,Bw,II,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var JI=o["ɵccf"]("app-add-docker-template",GI,QI,{},{},[]),nD=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.iouService=t,this.router=l,this.iouTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getTemplates()}))},n.prototype.getTemplates=function(){var n=this;this.iouService.getTemplates(this.server).subscribe((function(e){n.iouTemplates=e.filter((function(n){return"iou"===n.template_type&&!n.builtin}))}))},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","iou","templates",n.template_id,"copy"])},n}(),eD=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/iou/images")},n.prototype.getImagePath=function(n,e){return"http://"+n.host+":"+n.port+"/v2/compute/iou/images/"+e},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),tD=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function lD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Back"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function oD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).onClick()&&l),l}),ou,lu)),o["ɵdid"](1,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add IOU device template"]))],(function(n,e){n(e,1,0,o["ɵinlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/iou/addtemplate")),n(e,2,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode)}))}function iD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,ww,Cw)),o["ɵdid"](1,49152,null,0,yw,[],null,null)],null,null)}function rD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,2).onClick()&&l),l}),b_,g_)),o["ɵdid"](2,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](3,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,2,{_lines:1}),o["ɵqud"](603979776,3,{_avatar:0}),o["ɵqud"](603979776,4,{_icon:0}),(n()(),o["ɵted"](7,2,["",""])),(n()(),o["ɵeld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,10)._handleClick(t)&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](10,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](12,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](14,0,null,null,20,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](15,1294336,[["menu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](22,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](24,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"])),(n()(),o["ɵeld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.copyTemplate(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](29,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](31,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["content_copy"])),(n()(),o["ɵeld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy"]))],(function(n,e){n(e,2,0,o["ɵinlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["ɵnov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)}),(function(n,e){n(e,1,0,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon,o["ɵnov"](e,3)._avatar||o["ɵnov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,o["ɵnov"](e,10).menuOpen||null),n(e,11,0,o["ɵnov"](e,12).inline,"primary"!==o["ɵnov"](e,12).color&&"accent"!==o["ɵnov"](e,12).color&&"warn"!==o["ɵnov"](e,12).color),n(e,21,0,o["ɵnov"](e,22).role,o["ɵnov"](e,22)._highlighted,o["ɵnov"](e,22)._triggersSubmenu,o["ɵnov"](e,22)._getTabIndex(),o["ɵnov"](e,22).disabled.toString(),o["ɵnov"](e,22).disabled||null),n(e,23,0,o["ɵnov"](e,24).inline,"primary"!==o["ɵnov"](e,24).color&&"accent"!==o["ɵnov"](e,24).color&&"warn"!==o["ɵnov"](e,24).color),n(e,28,0,o["ɵnov"](e,29).role,o["ɵnov"](e,29)._highlighted,o["ɵnov"](e,29)._triggersSubmenu,o["ɵnov"](e,29)._getTabIndex(),o["ɵnov"](e,29).disabled.toString(),o["ɵnov"](e,29).disabled||null),n(e,30,0,o["ɵnov"](e,31).inline,"primary"!==o["ɵnov"](e,31).color&&"accent"!==o["ɵnov"](e,31).color&&"warn"!==o["ɵnov"](e,31).color)}))}function aD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,h_,f_)),o["ɵdid"](1,704512,null,0,t_,[],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,rD)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.iouTemplates)}),null)}function uD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,aD)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.server)}),null)}function sD(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{deleteComponent:0}),(n()(),o["ɵeld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["IOU device templates"])),(n()(),o["ɵand"](16777216,null,null,1,null,lD)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,oD)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,iD)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,uD)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],(function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l}),Tw,Ew)),o["ɵdid"](15,49152,[[1,4],["deleteComponent",4]],0,xw,[kw,av,hc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],(function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.iouTemplates.length),n(e,13,0,t.iouTemplates.length),n(e,15,0,t.server)}),null)}function dD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-iou-templates",[],null,null,null,sD,tD)),o["ɵdid"](1,114688,null,0,nD,[rt,Dh,eD,vl],null,null)],(function(n,e){n(e,1,0)}),null)}var cD=o["ɵccf"]("app-iou-templates",nD,dD,{},{},[]),pD=function(){function n(n,e,t,l,o,i,r){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.configurationService=o,this.router=i,this.formBuilder=r,this.isSymbolSelectionOpened=!1,this.defaultSettings=!0,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Em("",Xh.required),defaultName:new Em("",Xh.required),symbol:new Em("",Xh.required),path:new Em("",Xh.required),initialConfig:new Em("",Xh.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new Em("",Xh.required),serialAdapters:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getConfiguration(),n.iouService.getTemplate(n.server,t).subscribe((function(e){n.iouTemplate=e}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):this.iouService.saveTemplate(this.server,this.iouTemplate).subscribe((function(){n.toasterService.success("Changes saved")}))},n.prototype.uploadImageFile=function(n){this.iouTemplate.path=n.target.files[0].name},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iouTemplate.symbol=n},n}(),fD=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n}(),hD=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function mD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[39,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function vD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[78,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function gD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,81,{_controlNonStatic:0}),o["ɵqud"](335544320,82,{_controlStatic:0}),o["ɵqud"](603979776,83,{_labelChildNonStatic:0}),o["ɵqud"](335544320,84,{_labelChildStatic:0}),o["ɵqud"](603979776,85,{_placeholderChild:0}),o["ɵqud"](603979776,86,{_errorChildren:1}),o["ɵqud"](603979776,87,{_hintChildren:1}),o["ɵqud"](603979776,88,{_prefixChildren:1}),o["ɵqud"](603979776,89,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","RAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.ram=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](13,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](15,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[81,4],[82,4]],ag,null,[Lg]),(n()(),o["ɵeld"](20,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](21,16384,[[89,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"]))],(function(n,e){n(e,15,0,e.component.iouTemplate.ram),n(e,18,0,"RAM size","number")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function bD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,90,{_controlNonStatic:0}),o["ɵqud"](335544320,91,{_controlStatic:0}),o["ɵqud"](603979776,92,{_labelChildNonStatic:0}),o["ɵqud"](335544320,93,{_labelChildStatic:0}),o["ɵqud"](603979776,94,{_placeholderChild:0}),o["ɵqud"](603979776,95,{_errorChildren:1}),o["ɵqud"](603979776,96,{_hintChildren:1}),o["ɵqud"](603979776,97,{_prefixChildren:1}),o["ɵqud"](603979776,98,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","NVRAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.nvram=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](13,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](15,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[90,4],[91,4]],ag,null,[Lg]),(n()(),o["ɵeld"](20,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](21,16384,[[98,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"]))],(function(n,e){n(e,15,0,e.component.iouTemplate.nvram),n(e,18,0,"NVRAM size","number")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function _D(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,313,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,305,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["ɵdid"](2,1720320,null,1,Wb,[],null,null),o["ɵqud"](603979776,1,{_headers:1}),o["ɵprd"](2048,null,jb,null,[Wb]),(n()(),o["ɵeld"](5,16777216,null,null,215,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](6,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,2,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,10)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](10,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](11,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](12,{value:0,params:1}),(n()(),o["ɵeld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](14,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" General settings "])),(n()(),o["ɵeld"](16,0,null,1,154,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,18).onReset()&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,qm,[],null,null),o["ɵdid"](18,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](20,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,3,{_controlNonStatic:0}),o["ɵqud"](335544320,4,{_controlStatic:0}),o["ɵqud"](603979776,5,{_labelChildNonStatic:0}),o["ɵqud"](335544320,6,{_labelChildStatic:0}),o["ɵqud"](603979776,7,{_placeholderChild:0}),o["ɵqud"](603979776,8,{_errorChildren:1}),o["ɵqud"](603979776,9,{_hintChildren:1}),o["ɵqud"](603979776,10,{_prefixChildren:1}),o["ɵqud"](603979776,11,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.name=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[3,4],[4,4]],ag,null,[Lg]),(n()(),o["ɵeld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](41,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,12,{_controlNonStatic:0}),o["ɵqud"](335544320,13,{_controlStatic:0}),o["ɵqud"](603979776,14,{_labelChildNonStatic:0}),o["ɵqud"](335544320,15,{_labelChildStatic:0}),o["ɵqud"](603979776,16,{_placeholderChild:0}),o["ɵqud"](603979776,17,{_errorChildren:1}),o["ɵqud"](603979776,18,{_hintChildren:1}),o["ɵqud"](603979776,19,{_prefixChildren:1}),o["ɵqud"](603979776,20,{_suffixChildren:1}),(n()(),o["ɵeld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.default_name_format=t)&&l),l}),null,null)),o["ɵdid"](52,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](54,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](56,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](57,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[12,4],[13,4]],ag,null,[Lg]),(n()(),o["ɵeld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](60,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,21,{_controlNonStatic:0}),o["ɵqud"](335544320,22,{_controlStatic:0}),o["ɵqud"](603979776,23,{_labelChildNonStatic:0}),o["ɵqud"](335544320,24,{_labelChildStatic:0}),o["ɵqud"](603979776,25,{_placeholderChild:0}),o["ɵqud"](603979776,26,{_errorChildren:1}),o["ɵqud"](603979776,27,{_hintChildren:1}),o["ɵqud"](603979776,28,{_prefixChildren:1}),o["ɵqud"](603979776,29,{_suffixChildren:1}),(n()(),o["ɵeld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.symbol=t)&&l),l}),null,null)),o["ɵdid"](71,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](73,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](75,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](76,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[21,4],[22,4]],ag,null,[Lg]),(n()(),o["ɵeld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l}),ou,lu)),o["ɵdid"](79,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Choose symbol"])),(n()(),o["ɵeld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](84,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,30,{_controlNonStatic:0}),o["ɵqud"](335544320,31,{_controlStatic:0}),o["ɵqud"](603979776,32,{_labelChildNonStatic:0}),o["ɵqud"](335544320,33,{_labelChildStatic:0}),o["ɵqud"](603979776,34,{_placeholderChild:0}),o["ɵqud"](603979776,35,{_errorChildren:1}),o["ɵqud"](603979776,36,{_hintChildren:1}),o["ɵqud"](603979776,37,{_prefixChildren:1}),o["ɵqud"](603979776,38,{_suffixChildren:1}),(n()(),o["ɵeld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.category=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](96,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](97,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,39,{options:1}),o["ɵqud"](603979776,40,{optionGroups:1}),o["ɵqud"](603979776,41,{customTrigger:0}),o["ɵprd"](2048,[[30,4],[31,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,mD)),o["ɵdid"](106,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](107,0,[["file",1]],null,2,"input",[["accept",".bin"],["class","nonvisible"],["ngDefaultControl",""],["type","file"]],null,[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,109)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,109).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,109)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,109)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==i.uploadImageFile(t)&&l),l}),null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](109,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),(n()(),o["ɵeld"](110,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,107).click()&&l),l}),ou,lu)),o["ɵdid"](111,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](113,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](114,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,42,{_controlNonStatic:0}),o["ɵqud"](335544320,43,{_controlStatic:0}),o["ɵqud"](603979776,44,{_labelChildNonStatic:0}),o["ɵqud"](335544320,45,{_labelChildStatic:0}),o["ɵqud"](603979776,46,{_placeholderChild:0}),o["ɵqud"](603979776,47,{_errorChildren:1}),o["ɵqud"](603979776,48,{_hintChildren:1}),o["ɵqud"](603979776,49,{_prefixChildren:1}),o["ɵqud"](603979776,50,{_suffixChildren:1}),(n()(),o["ɵeld"](124,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","IOU image path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,125)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,125).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,125)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,125)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,130)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,130)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,130)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.path=t)&&l),l}),null,null)),o["ɵdid"](125,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](127,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](129,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](130,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[42,4],[43,4]],ag,null,[Lg]),(n()(),o["ɵeld"](132,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](133,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,51,{_controlNonStatic:0}),o["ɵqud"](335544320,52,{_controlStatic:0}),o["ɵqud"](603979776,53,{_labelChildNonStatic:0}),o["ɵqud"](335544320,54,{_labelChildStatic:0}),o["ɵqud"](603979776,55,{_placeholderChild:0}),o["ɵqud"](603979776,56,{_errorChildren:1}),o["ɵqud"](603979776,57,{_hintChildren:1}),o["ɵqud"](603979776,58,{_prefixChildren:1}),o["ɵqud"](603979776,59,{_suffixChildren:1}),(n()(),o["ɵeld"](143,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","initialConfig"],["matInput",""],["placeholder","Startup config"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,144)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,144).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,144)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,144)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,149)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,149)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,149)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.startup_config=t)&&l),l}),null,null)),o["ɵdid"](144,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](146,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](148,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](149,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[51,4],[52,4]],ag,null,[Lg]),(n()(),o["ɵeld"](151,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](152,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,60,{_controlNonStatic:0}),o["ɵqud"](335544320,61,{_controlStatic:0}),o["ɵqud"](603979776,62,{_labelChildNonStatic:0}),o["ɵqud"](335544320,63,{_labelChildStatic:0}),o["ɵqud"](603979776,64,{_placeholderChild:0}),o["ɵqud"](603979776,65,{_errorChildren:1}),o["ɵqud"](603979776,66,{_hintChildren:1}),o["ɵqud"](603979776,67,{_prefixChildren:1}),o["ɵqud"](603979776,68,{_suffixChildren:1}),(n()(),o["ɵeld"](162,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Private config"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,163)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,163).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,163)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,163)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,169)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,169)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,169)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.private_config=t)&&l),l}),null,null)),o["ɵdid"](163,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](165,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](166,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](168,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](169,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[60,4],[61,4]],ag,null,[Lg]),(n()(),o["ɵeld"](171,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](172,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,69,{_controlNonStatic:0}),o["ɵqud"](335544320,70,{_controlStatic:0}),o["ɵqud"](603979776,71,{_labelChildNonStatic:0}),o["ɵqud"](335544320,72,{_labelChildStatic:0}),o["ɵqud"](603979776,73,{_placeholderChild:0}),o["ɵqud"](603979776,74,{_errorChildren:1}),o["ɵqud"](603979776,75,{_hintChildren:1}),o["ɵqud"](603979776,76,{_prefixChildren:1}),o["ɵqud"](603979776,77,{_suffixChildren:1}),(n()(),o["ɵeld"](182,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,187)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,187)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,187)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](184,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](186,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](187,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,78,{options:1}),o["ɵqud"](603979776,79,{optionGroups:1}),o["ɵqud"](603979776,80,{customTrigger:0}),o["ɵprd"](2048,[[69,4],[70,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,vD)),o["ɵdid"](193,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](194,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iouTemplate.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](195,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](197,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](199,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](201,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](202,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iouTemplate.l1_keepalives=t)&&l),l}),O_,F_)),o["ɵdid"](203,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](205,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](207,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Enable layer 1 keepalive messages (non-functional) "])),(n()(),o["ɵeld"](209,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](210,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.defaultSettings=t)&&l),l}),O_,F_)),o["ɵdid"](211,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](213,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](215,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use default IOU values for memories "])),(n()(),o["ɵand"](16777216,null,1,1,null,gD)),o["ɵdid"](218,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,bD)),o["ɵdid"](220,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](221,16777216,null,null,55,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](222,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,99,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](225,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,226)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,226)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,226)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](226,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](227,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](228,{value:0,params:1}),(n()(),o["ɵeld"](229,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](230,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Network "])),(n()(),o["ɵeld"](232,0,null,1,44,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,234).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,234).onReset()&&l),l}),null,null)),o["ɵdid"](233,16384,null,0,qm,[],null,null),o["ɵdid"](234,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](236,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](237,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](238,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,100,{_controlNonStatic:0}),o["ɵqud"](335544320,101,{_controlStatic:0}),o["ɵqud"](603979776,102,{_labelChildNonStatic:0}),o["ɵqud"](335544320,103,{_labelChildStatic:0}),o["ɵqud"](603979776,104,{_placeholderChild:0}),o["ɵqud"](603979776,105,{_errorChildren:1}),o["ɵqud"](603979776,106,{_hintChildren:1}),o["ɵqud"](603979776,107,{_prefixChildren:1}),o["ɵqud"](603979776,108,{_suffixChildren:1}),(n()(),o["ɵeld"](248,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ethernetAdapters"],["matInput",""],["placeholder","Ethernet adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,249)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,249).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,249)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,249)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,250).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,250).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,250).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,255)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,255)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,255)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.ethernet_adapters=t)&&l),l}),null,null)),o["ɵdid"](249,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](250,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](252,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](254,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](255,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[100,4],[101,4]],ag,null,[Lg]),(n()(),o["ɵeld"](257,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](258,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,109,{_controlNonStatic:0}),o["ɵqud"](335544320,110,{_controlStatic:0}),o["ɵqud"](603979776,111,{_labelChildNonStatic:0}),o["ɵqud"](335544320,112,{_labelChildStatic:0}),o["ɵqud"](603979776,113,{_placeholderChild:0}),o["ɵqud"](603979776,114,{_errorChildren:1}),o["ɵqud"](603979776,115,{_hintChildren:1}),o["ɵqud"](603979776,116,{_prefixChildren:1}),o["ɵqud"](603979776,117,{_suffixChildren:1}),(n()(),o["ɵeld"](268,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","serialAdapters"],["matInput",""],["placeholder","Serial adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,269)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,269).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,269)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,269)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,270).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,270).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,270).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,275)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,275)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,275)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.serial_adapters=t)&&l),l}),null,null)),o["ɵdid"](269,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](270,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](272,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](274,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](275,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[109,4],[110,4]],ag,null,[Lg]),(n()(),o["ɵeld"](277,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Yb,Kb)),o["ɵdid"](278,1753088,null,1,Hb,[[3,jb],o.ChangeDetectorRef,Ms,o.ViewContainerRef,r.DOCUMENT,[2,nu],[2,Bb]],null,null),o["ɵqud"](603979776,118,{_lazyContent:0}),o["ɵprd"](256,null,jb,void 0,[]),(n()(),o["ɵeld"](281,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,282)._toggle()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,282)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["ɵnov"](n,282)._animationStarted()&&l),l}),Jb,$b)),o["ɵdid"](282,180224,[[1,4]],0,Ub,[Hb,o.ElementRef,Mo,o.ChangeDetectorRef,[2,Bb]],null,null),o["ɵpod"](283,{collapsedHeight:0,expandedHeight:1}),o["ɵpod"](284,{value:0,params:1}),(n()(),o["ɵeld"](285,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["ɵdid"](286,16384,null,0,Gb,[],null,null),(n()(),o["ɵted"](-1,null,[" Usage "])),(n()(),o["ɵeld"](288,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](289,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,119,{_controlNonStatic:0}),o["ɵqud"](335544320,120,{_controlStatic:0}),o["ɵqud"](603979776,121,{_labelChildNonStatic:0}),o["ɵqud"](335544320,122,{_labelChildStatic:0}),o["ɵqud"](603979776,123,{_placeholderChild:0}),o["ɵqud"](603979776,124,{_errorChildren:1}),o["ɵqud"](603979776,125,{_hintChildren:1}),o["ɵqud"](603979776,126,{_prefixChildren:1}),o["ɵqud"](603979776,127,{_suffixChildren:1}),(n()(),o["ɵeld"](299,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,300)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,300).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,300)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,300)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,305)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,305)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,305)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.usage=t)&&l),l}),null,null)),o["ɵdid"](300,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](302,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](304,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](305,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[119,4],[120,4]],ag,null,[Lg]),(n()(),o["ɵeld"](307,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](308,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](309,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](311,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l}),ou,lu)),o["ɵdid"](312,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save"]))],(function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.iouTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.iouTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.iouTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.iouTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories),n(e,111,0,"primary"),n(e,127,0,"path",t.iouTemplate.path),n(e,130,0,"IOU image path","text"),n(e,146,0,"initialConfig",t.iouTemplate.startup_config),n(e,149,0,"Startup config","text");var i=t.iouTemplate.private_config,r=n(e,166,0,!0);n(e,165,0,i,r),n(e,169,0,"Private config","text"),n(e,184,0,t.iouTemplate.console_type),n(e,187,0,"Console type"),n(e,193,0,t.consoleTypes),n(e,197,0,t.iouTemplate.console_auto_start),n(e,205,0,t.iouTemplate.l1_keepalives),n(e,213,0,t.defaultSettings),n(e,218,0,!t.defaultSettings),n(e,220,0,!t.defaultSettings),n(e,234,0,t.networkForm),n(e,252,0,"ethernetAdapters",t.iouTemplate.ethernet_adapters),n(e,255,0,"Ethernet adapters","number"),n(e,272,0,"serialAdapters",t.iouTemplate.serial_adapters),n(e,275,0,"Serial adapters","number"),n(e,302,0,t.iouTemplate.usage),n(e,305,0,"text"),n(e,312,0,"primary")}),(function(n,e){n(e,5,0,o["ɵnov"](e,6).expanded,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,o["ɵnov"](e,6)._hasSpacing());var t=o["ɵnov"](e,10).panel._headerId,l=o["ɵnov"](e,10).disabled?-1:0,i=o["ɵnov"](e,10)._getPanelId(),r=o["ɵnov"](e,10)._isExpanded(),a=o["ɵnov"](e,10).panel.disabled,u=o["ɵnov"](e,10)._isExpanded(),s="after"===o["ɵnov"](e,10)._getTogglePosition(),d="before"===o["ɵnov"](e,10)._getTogglePosition(),c=o["ɵnov"](e,10)._animationsDisabled,p=n(e,12,0,o["ɵnov"](e,10)._getExpandedState(),n(e,11,0,o["ɵnov"](e,10).collapsedHeight,o["ɵnov"](e,10).expandedHeight));n(e,9,0,t,l,i,r,a,u,s,d,c,p),n(e,16,0,o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,40,1,["standard"==o["ɵnov"](e,41).appearance,"fill"==o["ɵnov"](e,41).appearance,"outline"==o["ɵnov"](e,41).appearance,"legacy"==o["ɵnov"](e,41).appearance,o["ɵnov"](e,41)._control.errorState,o["ɵnov"](e,41)._canLabelFloat,o["ɵnov"](e,41)._shouldLabelFloat(),o["ɵnov"](e,41)._hasFloatingLabel(),o["ɵnov"](e,41)._hideControlPlaceholder(),o["ɵnov"](e,41)._control.disabled,o["ɵnov"](e,41)._control.autofilled,o["ɵnov"](e,41)._control.focused,"accent"==o["ɵnov"](e,41).color,"warn"==o["ɵnov"](e,41).color,o["ɵnov"](e,41)._shouldForward("untouched"),o["ɵnov"](e,41)._shouldForward("touched"),o["ɵnov"](e,41)._shouldForward("pristine"),o["ɵnov"](e,41)._shouldForward("dirty"),o["ɵnov"](e,41)._shouldForward("valid"),o["ɵnov"](e,41)._shouldForward("invalid"),o["ɵnov"](e,41)._shouldForward("pending"),!o["ɵnov"](e,41)._animationsEnabled]),n(e,51,1,[o["ɵnov"](e,56).ngClassUntouched,o["ɵnov"](e,56).ngClassTouched,o["ɵnov"](e,56).ngClassPristine,o["ɵnov"](e,56).ngClassDirty,o["ɵnov"](e,56).ngClassValid,o["ɵnov"](e,56).ngClassInvalid,o["ɵnov"](e,56).ngClassPending,o["ɵnov"](e,57)._isServer,o["ɵnov"](e,57).id,o["ɵnov"](e,57).placeholder,o["ɵnov"](e,57).disabled,o["ɵnov"](e,57).required,o["ɵnov"](e,57).readonly&&!o["ɵnov"](e,57)._isNativeSelect||null,o["ɵnov"](e,57)._ariaDescribedby||null,o["ɵnov"](e,57).errorState,o["ɵnov"](e,57).required.toString()]),n(e,59,1,["standard"==o["ɵnov"](e,60).appearance,"fill"==o["ɵnov"](e,60).appearance,"outline"==o["ɵnov"](e,60).appearance,"legacy"==o["ɵnov"](e,60).appearance,o["ɵnov"](e,60)._control.errorState,o["ɵnov"](e,60)._canLabelFloat,o["ɵnov"](e,60)._shouldLabelFloat(),o["ɵnov"](e,60)._hasFloatingLabel(),o["ɵnov"](e,60)._hideControlPlaceholder(),o["ɵnov"](e,60)._control.disabled,o["ɵnov"](e,60)._control.autofilled,o["ɵnov"](e,60)._control.focused,"accent"==o["ɵnov"](e,60).color,"warn"==o["ɵnov"](e,60).color,o["ɵnov"](e,60)._shouldForward("untouched"),o["ɵnov"](e,60)._shouldForward("touched"),o["ɵnov"](e,60)._shouldForward("pristine"),o["ɵnov"](e,60)._shouldForward("dirty"),o["ɵnov"](e,60)._shouldForward("valid"),o["ɵnov"](e,60)._shouldForward("invalid"),o["ɵnov"](e,60)._shouldForward("pending"),!o["ɵnov"](e,60)._animationsEnabled]),n(e,70,1,[o["ɵnov"](e,75).ngClassUntouched,o["ɵnov"](e,75).ngClassTouched,o["ɵnov"](e,75).ngClassPristine,o["ɵnov"](e,75).ngClassDirty,o["ɵnov"](e,75).ngClassValid,o["ɵnov"](e,75).ngClassInvalid,o["ɵnov"](e,75).ngClassPending,o["ɵnov"](e,76)._isServer,o["ɵnov"](e,76).id,o["ɵnov"](e,76).placeholder,o["ɵnov"](e,76).disabled,o["ɵnov"](e,76).required,o["ɵnov"](e,76).readonly&&!o["ɵnov"](e,76)._isNativeSelect||null,o["ɵnov"](e,76)._ariaDescribedby||null,o["ɵnov"](e,76).errorState,o["ɵnov"](e,76).required.toString()]),n(e,78,0,o["ɵnov"](e,79).disabled||null,"NoopAnimations"===o["ɵnov"](e,79)._animationMode),n(e,83,1,["standard"==o["ɵnov"](e,84).appearance,"fill"==o["ɵnov"](e,84).appearance,"outline"==o["ɵnov"](e,84).appearance,"legacy"==o["ɵnov"](e,84).appearance,o["ɵnov"](e,84)._control.errorState,o["ɵnov"](e,84)._canLabelFloat,o["ɵnov"](e,84)._shouldLabelFloat(),o["ɵnov"](e,84)._hasFloatingLabel(),o["ɵnov"](e,84)._hideControlPlaceholder(),o["ɵnov"](e,84)._control.disabled,o["ɵnov"](e,84)._control.autofilled,o["ɵnov"](e,84)._control.focused,"accent"==o["ɵnov"](e,84).color,"warn"==o["ɵnov"](e,84).color,o["ɵnov"](e,84)._shouldForward("untouched"),o["ɵnov"](e,84)._shouldForward("touched"),o["ɵnov"](e,84)._shouldForward("pristine"),o["ɵnov"](e,84)._shouldForward("dirty"),o["ɵnov"](e,84)._shouldForward("valid"),o["ɵnov"](e,84)._shouldForward("invalid"),o["ɵnov"](e,84)._shouldForward("pending"),!o["ɵnov"](e,84)._animationsEnabled]),n(e,94,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100).id,o["ɵnov"](e,100).tabIndex,o["ɵnov"](e,100)._getAriaLabel(),o["ɵnov"](e,100)._getAriaLabelledby(),o["ɵnov"](e,100).required.toString(),o["ɵnov"](e,100).disabled.toString(),o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).panelOpen?o["ɵnov"](e,100)._optionIds:null,o["ɵnov"](e,100).multiple,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100)._getAriaActiveDescendant(),o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required,o["ɵnov"](e,100).empty]),n(e,110,0,o["ɵnov"](e,111).disabled||null,"NoopAnimations"===o["ɵnov"](e,111)._animationMode),n(e,113,1,["standard"==o["ɵnov"](e,114).appearance,"fill"==o["ɵnov"](e,114).appearance,"outline"==o["ɵnov"](e,114).appearance,"legacy"==o["ɵnov"](e,114).appearance,o["ɵnov"](e,114)._control.errorState,o["ɵnov"](e,114)._canLabelFloat,o["ɵnov"](e,114)._shouldLabelFloat(),o["ɵnov"](e,114)._hasFloatingLabel(),o["ɵnov"](e,114)._hideControlPlaceholder(),o["ɵnov"](e,114)._control.disabled,o["ɵnov"](e,114)._control.autofilled,o["ɵnov"](e,114)._control.focused,"accent"==o["ɵnov"](e,114).color,"warn"==o["ɵnov"](e,114).color,o["ɵnov"](e,114)._shouldForward("untouched"),o["ɵnov"](e,114)._shouldForward("touched"),o["ɵnov"](e,114)._shouldForward("pristine"),o["ɵnov"](e,114)._shouldForward("dirty"),o["ɵnov"](e,114)._shouldForward("valid"),o["ɵnov"](e,114)._shouldForward("invalid"),o["ɵnov"](e,114)._shouldForward("pending"),!o["ɵnov"](e,114)._animationsEnabled]),n(e,124,1,[o["ɵnov"](e,129).ngClassUntouched,o["ɵnov"](e,129).ngClassTouched,o["ɵnov"](e,129).ngClassPristine,o["ɵnov"](e,129).ngClassDirty,o["ɵnov"](e,129).ngClassValid,o["ɵnov"](e,129).ngClassInvalid,o["ɵnov"](e,129).ngClassPending,o["ɵnov"](e,130)._isServer,o["ɵnov"](e,130).id,o["ɵnov"](e,130).placeholder,o["ɵnov"](e,130).disabled,o["ɵnov"](e,130).required,o["ɵnov"](e,130).readonly&&!o["ɵnov"](e,130)._isNativeSelect||null,o["ɵnov"](e,130)._ariaDescribedby||null,o["ɵnov"](e,130).errorState,o["ɵnov"](e,130).required.toString()]),n(e,132,1,["standard"==o["ɵnov"](e,133).appearance,"fill"==o["ɵnov"](e,133).appearance,"outline"==o["ɵnov"](e,133).appearance,"legacy"==o["ɵnov"](e,133).appearance,o["ɵnov"](e,133)._control.errorState,o["ɵnov"](e,133)._canLabelFloat,o["ɵnov"](e,133)._shouldLabelFloat(),o["ɵnov"](e,133)._hasFloatingLabel(),o["ɵnov"](e,133)._hideControlPlaceholder(),o["ɵnov"](e,133)._control.disabled,o["ɵnov"](e,133)._control.autofilled,o["ɵnov"](e,133)._control.focused,"accent"==o["ɵnov"](e,133).color,"warn"==o["ɵnov"](e,133).color,o["ɵnov"](e,133)._shouldForward("untouched"),o["ɵnov"](e,133)._shouldForward("touched"),o["ɵnov"](e,133)._shouldForward("pristine"),o["ɵnov"](e,133)._shouldForward("dirty"),o["ɵnov"](e,133)._shouldForward("valid"),o["ɵnov"](e,133)._shouldForward("invalid"),o["ɵnov"](e,133)._shouldForward("pending"),!o["ɵnov"](e,133)._animationsEnabled]),n(e,143,1,[o["ɵnov"](e,148).ngClassUntouched,o["ɵnov"](e,148).ngClassTouched,o["ɵnov"](e,148).ngClassPristine,o["ɵnov"](e,148).ngClassDirty,o["ɵnov"](e,148).ngClassValid,o["ɵnov"](e,148).ngClassInvalid,o["ɵnov"](e,148).ngClassPending,o["ɵnov"](e,149)._isServer,o["ɵnov"](e,149).id,o["ɵnov"](e,149).placeholder,o["ɵnov"](e,149).disabled,o["ɵnov"](e,149).required,o["ɵnov"](e,149).readonly&&!o["ɵnov"](e,149)._isNativeSelect||null,o["ɵnov"](e,149)._ariaDescribedby||null,o["ɵnov"](e,149).errorState,o["ɵnov"](e,149).required.toString()]),n(e,151,1,["standard"==o["ɵnov"](e,152).appearance,"fill"==o["ɵnov"](e,152).appearance,"outline"==o["ɵnov"](e,152).appearance,"legacy"==o["ɵnov"](e,152).appearance,o["ɵnov"](e,152)._control.errorState,o["ɵnov"](e,152)._canLabelFloat,o["ɵnov"](e,152)._shouldLabelFloat(),o["ɵnov"](e,152)._hasFloatingLabel(),o["ɵnov"](e,152)._hideControlPlaceholder(),o["ɵnov"](e,152)._control.disabled,o["ɵnov"](e,152)._control.autofilled,o["ɵnov"](e,152)._control.focused,"accent"==o["ɵnov"](e,152).color,"warn"==o["ɵnov"](e,152).color,o["ɵnov"](e,152)._shouldForward("untouched"),o["ɵnov"](e,152)._shouldForward("touched"),o["ɵnov"](e,152)._shouldForward("pristine"),o["ɵnov"](e,152)._shouldForward("dirty"),o["ɵnov"](e,152)._shouldForward("valid"),o["ɵnov"](e,152)._shouldForward("invalid"),o["ɵnov"](e,152)._shouldForward("pending"),!o["ɵnov"](e,152)._animationsEnabled]),n(e,162,1,[o["ɵnov"](e,168).ngClassUntouched,o["ɵnov"](e,168).ngClassTouched,o["ɵnov"](e,168).ngClassPristine,o["ɵnov"](e,168).ngClassDirty,o["ɵnov"](e,168).ngClassValid,o["ɵnov"](e,168).ngClassInvalid,o["ɵnov"](e,168).ngClassPending,o["ɵnov"](e,169)._isServer,o["ɵnov"](e,169).id,o["ɵnov"](e,169).placeholder,o["ɵnov"](e,169).disabled,o["ɵnov"](e,169).required,o["ɵnov"](e,169).readonly&&!o["ɵnov"](e,169)._isNativeSelect||null,o["ɵnov"](e,169)._ariaDescribedby||null,o["ɵnov"](e,169).errorState,o["ɵnov"](e,169).required.toString()]),n(e,171,1,["standard"==o["ɵnov"](e,172).appearance,"fill"==o["ɵnov"](e,172).appearance,"outline"==o["ɵnov"](e,172).appearance,"legacy"==o["ɵnov"](e,172).appearance,o["ɵnov"](e,172)._control.errorState,o["ɵnov"](e,172)._canLabelFloat,o["ɵnov"](e,172)._shouldLabelFloat(),o["ɵnov"](e,172)._hasFloatingLabel(),o["ɵnov"](e,172)._hideControlPlaceholder(),o["ɵnov"](e,172)._control.disabled,o["ɵnov"](e,172)._control.autofilled,o["ɵnov"](e,172)._control.focused,"accent"==o["ɵnov"](e,172).color,"warn"==o["ɵnov"](e,172).color,o["ɵnov"](e,172)._shouldForward("untouched"),o["ɵnov"](e,172)._shouldForward("touched"),o["ɵnov"](e,172)._shouldForward("pristine"),o["ɵnov"](e,172)._shouldForward("dirty"),o["ɵnov"](e,172)._shouldForward("valid"),o["ɵnov"](e,172)._shouldForward("invalid"),o["ɵnov"](e,172)._shouldForward("pending"),!o["ɵnov"](e,172)._animationsEnabled]),n(e,182,1,[o["ɵnov"](e,186).ngClassUntouched,o["ɵnov"](e,186).ngClassTouched,o["ɵnov"](e,186).ngClassPristine,o["ɵnov"](e,186).ngClassDirty,o["ɵnov"](e,186).ngClassValid,o["ɵnov"](e,186).ngClassInvalid,o["ɵnov"](e,186).ngClassPending,o["ɵnov"](e,187).id,o["ɵnov"](e,187).tabIndex,o["ɵnov"](e,187)._getAriaLabel(),o["ɵnov"](e,187)._getAriaLabelledby(),o["ɵnov"](e,187).required.toString(),o["ɵnov"](e,187).disabled.toString(),o["ɵnov"](e,187).errorState,o["ɵnov"](e,187).panelOpen?o["ɵnov"](e,187)._optionIds:null,o["ɵnov"](e,187).multiple,o["ɵnov"](e,187)._ariaDescribedby||null,o["ɵnov"](e,187)._getAriaActiveDescendant(),o["ɵnov"](e,187).disabled,o["ɵnov"](e,187).errorState,o["ɵnov"](e,187).required,o["ɵnov"](e,187).empty]),n(e,194,1,[o["ɵnov"](e,195).id,null,o["ɵnov"](e,195).indeterminate,o["ɵnov"](e,195).checked,o["ɵnov"](e,195).disabled,"before"==o["ɵnov"](e,195).labelPosition,"NoopAnimations"===o["ɵnov"](e,195)._animationMode,o["ɵnov"](e,199).ngClassUntouched,o["ɵnov"](e,199).ngClassTouched,o["ɵnov"](e,199).ngClassPristine,o["ɵnov"](e,199).ngClassDirty,o["ɵnov"](e,199).ngClassValid,o["ɵnov"](e,199).ngClassInvalid,o["ɵnov"](e,199).ngClassPending]),n(e,202,1,[o["ɵnov"](e,203).id,null,o["ɵnov"](e,203).indeterminate,o["ɵnov"](e,203).checked,o["ɵnov"](e,203).disabled,"before"==o["ɵnov"](e,203).labelPosition,"NoopAnimations"===o["ɵnov"](e,203)._animationMode,o["ɵnov"](e,207).ngClassUntouched,o["ɵnov"](e,207).ngClassTouched,o["ɵnov"](e,207).ngClassPristine,o["ɵnov"](e,207).ngClassDirty,o["ɵnov"](e,207).ngClassValid,o["ɵnov"](e,207).ngClassInvalid,o["ɵnov"](e,207).ngClassPending]),n(e,210,1,[o["ɵnov"](e,211).id,null,o["ɵnov"](e,211).indeterminate,o["ɵnov"](e,211).checked,o["ɵnov"](e,211).disabled,"before"==o["ɵnov"](e,211).labelPosition,"NoopAnimations"===o["ɵnov"](e,211)._animationMode,o["ɵnov"](e,215).ngClassUntouched,o["ɵnov"](e,215).ngClassTouched,o["ɵnov"](e,215).ngClassPristine,o["ɵnov"](e,215).ngClassDirty,o["ɵnov"](e,215).ngClassValid,o["ɵnov"](e,215).ngClassInvalid,o["ɵnov"](e,215).ngClassPending]),n(e,221,0,o["ɵnov"](e,222).expanded,"NoopAnimations"===o["ɵnov"](e,222)._animationMode,o["ɵnov"](e,222)._hasSpacing());var f=o["ɵnov"](e,226).panel._headerId,h=o["ɵnov"](e,226).disabled?-1:0,m=o["ɵnov"](e,226)._getPanelId(),v=o["ɵnov"](e,226)._isExpanded(),g=o["ɵnov"](e,226).panel.disabled,b=o["ɵnov"](e,226)._isExpanded(),_="after"===o["ɵnov"](e,226)._getTogglePosition(),y="before"===o["ɵnov"](e,226)._getTogglePosition(),C=o["ɵnov"](e,226)._animationsDisabled,w=n(e,228,0,o["ɵnov"](e,226)._getExpandedState(),n(e,227,0,o["ɵnov"](e,226).collapsedHeight,o["ɵnov"](e,226).expandedHeight));n(e,225,0,f,h,m,v,g,b,_,y,C,w),n(e,232,0,o["ɵnov"](e,236).ngClassUntouched,o["ɵnov"](e,236).ngClassTouched,o["ɵnov"](e,236).ngClassPristine,o["ɵnov"](e,236).ngClassDirty,o["ɵnov"](e,236).ngClassValid,o["ɵnov"](e,236).ngClassInvalid,o["ɵnov"](e,236).ngClassPending),n(e,237,1,["standard"==o["ɵnov"](e,238).appearance,"fill"==o["ɵnov"](e,238).appearance,"outline"==o["ɵnov"](e,238).appearance,"legacy"==o["ɵnov"](e,238).appearance,o["ɵnov"](e,238)._control.errorState,o["ɵnov"](e,238)._canLabelFloat,o["ɵnov"](e,238)._shouldLabelFloat(),o["ɵnov"](e,238)._hasFloatingLabel(),o["ɵnov"](e,238)._hideControlPlaceholder(),o["ɵnov"](e,238)._control.disabled,o["ɵnov"](e,238)._control.autofilled,o["ɵnov"](e,238)._control.focused,"accent"==o["ɵnov"](e,238).color,"warn"==o["ɵnov"](e,238).color,o["ɵnov"](e,238)._shouldForward("untouched"),o["ɵnov"](e,238)._shouldForward("touched"),o["ɵnov"](e,238)._shouldForward("pristine"),o["ɵnov"](e,238)._shouldForward("dirty"),o["ɵnov"](e,238)._shouldForward("valid"),o["ɵnov"](e,238)._shouldForward("invalid"),o["ɵnov"](e,238)._shouldForward("pending"),!o["ɵnov"](e,238)._animationsEnabled]),n(e,248,1,[o["ɵnov"](e,254).ngClassUntouched,o["ɵnov"](e,254).ngClassTouched,o["ɵnov"](e,254).ngClassPristine,o["ɵnov"](e,254).ngClassDirty,o["ɵnov"](e,254).ngClassValid,o["ɵnov"](e,254).ngClassInvalid,o["ɵnov"](e,254).ngClassPending,o["ɵnov"](e,255)._isServer,o["ɵnov"](e,255).id,o["ɵnov"](e,255).placeholder,o["ɵnov"](e,255).disabled,o["ɵnov"](e,255).required,o["ɵnov"](e,255).readonly&&!o["ɵnov"](e,255)._isNativeSelect||null,o["ɵnov"](e,255)._ariaDescribedby||null,o["ɵnov"](e,255).errorState,o["ɵnov"](e,255).required.toString()]),n(e,257,1,["standard"==o["ɵnov"](e,258).appearance,"fill"==o["ɵnov"](e,258).appearance,"outline"==o["ɵnov"](e,258).appearance,"legacy"==o["ɵnov"](e,258).appearance,o["ɵnov"](e,258)._control.errorState,o["ɵnov"](e,258)._canLabelFloat,o["ɵnov"](e,258)._shouldLabelFloat(),o["ɵnov"](e,258)._hasFloatingLabel(),o["ɵnov"](e,258)._hideControlPlaceholder(),o["ɵnov"](e,258)._control.disabled,o["ɵnov"](e,258)._control.autofilled,o["ɵnov"](e,258)._control.focused,"accent"==o["ɵnov"](e,258).color,"warn"==o["ɵnov"](e,258).color,o["ɵnov"](e,258)._shouldForward("untouched"),o["ɵnov"](e,258)._shouldForward("touched"),o["ɵnov"](e,258)._shouldForward("pristine"),o["ɵnov"](e,258)._shouldForward("dirty"),o["ɵnov"](e,258)._shouldForward("valid"),o["ɵnov"](e,258)._shouldForward("invalid"),o["ɵnov"](e,258)._shouldForward("pending"),!o["ɵnov"](e,258)._animationsEnabled]),n(e,268,1,[o["ɵnov"](e,274).ngClassUntouched,o["ɵnov"](e,274).ngClassTouched,o["ɵnov"](e,274).ngClassPristine,o["ɵnov"](e,274).ngClassDirty,o["ɵnov"](e,274).ngClassValid,o["ɵnov"](e,274).ngClassInvalid,o["ɵnov"](e,274).ngClassPending,o["ɵnov"](e,275)._isServer,o["ɵnov"](e,275).id,o["ɵnov"](e,275).placeholder,o["ɵnov"](e,275).disabled,o["ɵnov"](e,275).required,o["ɵnov"](e,275).readonly&&!o["ɵnov"](e,275)._isNativeSelect||null,o["ɵnov"](e,275)._ariaDescribedby||null,o["ɵnov"](e,275).errorState,o["ɵnov"](e,275).required.toString()]),n(e,277,0,o["ɵnov"](e,278).expanded,"NoopAnimations"===o["ɵnov"](e,278)._animationMode,o["ɵnov"](e,278)._hasSpacing());var S=o["ɵnov"](e,282).panel._headerId,x=o["ɵnov"](e,282).disabled?-1:0,k=o["ɵnov"](e,282)._getPanelId(),E=o["ɵnov"](e,282)._isExpanded(),T=o["ɵnov"](e,282).panel.disabled,R=o["ɵnov"](e,282)._isExpanded(),I="after"===o["ɵnov"](e,282)._getTogglePosition(),D="before"===o["ɵnov"](e,282)._getTogglePosition(),F=o["ɵnov"](e,282)._animationsDisabled,O=n(e,284,0,o["ɵnov"](e,282)._getExpandedState(),n(e,283,0,o["ɵnov"](e,282).collapsedHeight,o["ɵnov"](e,282).expandedHeight));n(e,281,0,S,x,k,E,T,R,I,D,F,O),n(e,288,1,["standard"==o["ɵnov"](e,289).appearance,"fill"==o["ɵnov"](e,289).appearance,"outline"==o["ɵnov"](e,289).appearance,"legacy"==o["ɵnov"](e,289).appearance,o["ɵnov"](e,289)._control.errorState,o["ɵnov"](e,289)._canLabelFloat,o["ɵnov"](e,289)._shouldLabelFloat(),o["ɵnov"](e,289)._hasFloatingLabel(),o["ɵnov"](e,289)._hideControlPlaceholder(),o["ɵnov"](e,289)._control.disabled,o["ɵnov"](e,289)._control.autofilled,o["ɵnov"](e,289)._control.focused,"accent"==o["ɵnov"](e,289).color,"warn"==o["ɵnov"](e,289).color,o["ɵnov"](e,289)._shouldForward("untouched"),o["ɵnov"](e,289)._shouldForward("touched"),o["ɵnov"](e,289)._shouldForward("pristine"),o["ɵnov"](e,289)._shouldForward("dirty"),o["ɵnov"](e,289)._shouldForward("valid"),o["ɵnov"](e,289)._shouldForward("invalid"),o["ɵnov"](e,289)._shouldForward("pending"),!o["ɵnov"](e,289)._animationsEnabled]),n(e,299,1,[o["ɵnov"](e,304).ngClassUntouched,o["ɵnov"](e,304).ngClassTouched,o["ɵnov"](e,304).ngClassPristine,o["ɵnov"](e,304).ngClassDirty,o["ɵnov"](e,304).ngClassValid,o["ɵnov"](e,304).ngClassInvalid,o["ɵnov"](e,304).ngClassPending,o["ɵnov"](e,305)._isServer,o["ɵnov"](e,305).id,o["ɵnov"](e,305).placeholder,o["ɵnov"](e,305).disabled,o["ɵnov"](e,305).required,o["ɵnov"](e,305).readonly&&!o["ɵnov"](e,305)._isNativeSelect||null,o["ɵnov"](e,305)._ariaDescribedby||null,o["ɵnov"](e,305).errorState,o["ɵnov"](e,305).required.toString()]),n(e,308,0,o["ɵnov"](e,309).disabled||null,"NoopAnimations"===o["ɵnov"](e,309)._animationMode),n(e,311,0,o["ɵnov"](e,312).disabled||null,"NoopAnimations"===o["ɵnov"](e,312)._animationMode)}))}function yD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],(function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),tS,eS)),o["ɵdid"](1,49152,null,0,nS,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.iouTemplate.symbol)}),null)}function CD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{shadowed:0}),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["IOU device configuration"])),(n()(),o["ɵand"](16777216,null,null,1,null,_D)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,yD)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.iouTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.iouTemplate)}),null)}function wD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-iou-template-details",[],null,null,null,CD,hD)),o["ɵdid"](1,114688,null,0,pD,[rt,Dh,eD,hc,fD,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var SD=o["ɵccf"]("app-iou-template-details",pD,wD,{},{},[]),xD=function(){function n(n,e,t,l,o,i){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.qemuService.getTemplate(n.server,t).subscribe((function(e){n.iouTemplate=e,n.templateName="Copy of "+n.iouTemplate.name}))}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.iouTemplate.template_id=Object(Zg.v4)(),this.iouTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.iouTemplate).subscribe((function(e){n.goBack()})))},n}(),kD=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function ED(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Copy IOU device template"])),(n()(),o["ɵeld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.templateName=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](34,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](37,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Copy template"]))],(function(n,e){var t=e.component;n(e,10,0,t.templateNameForm),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")}),(function(n,e){n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,33,0,o["ɵnov"](e,34).disabled||null,"NoopAnimations"===o["ɵnov"](e,34)._animationMode),n(e,36,0,o["ɵnov"](e,37).disabled||null,"NoopAnimations"===o["ɵnov"](e,37)._animationMode)}))}function TD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-copy-iou-template",[],null,null,null,ED,kD)),o["ɵdid"](1,114688,null,0,xD,[rt,Dh,eD,hc,vl,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var RD=o["ɵccf"]("app-copy-iou-template",xD,TD,{},{},[]),ID=function(){return function(){}}(),DD=function(){function n(n,e,t,l,o,i,r,a){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.router=o,this.formBuilder=i,this.templateMocksService=r,this.computeService=a,this.isRemoteComputerChosen=!1,this.newImageSelected=!1,this.types=["L2 image","L3 image"],this.iouImages=[],this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iouTemplate=new ID,this.templateNameForm=this.formBuilder.group({templateName:new Em("",Xh.required)}),this.imageForm=this.formBuilder.group({imageName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new zg({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){n.toasterService.error("An error occured: "+t)},this.uploader.onSuccessItem=function(e,t,l,o){n.getImages(),n.toasterService.success("Image uploaded")};var e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then((function(e){n.server=e,n.getImages(),n.templateMocksService.getIouTemplate().subscribe((function(e){n.iouTemplate=e})),n.computeService.getComputes(e).subscribe((function(e){e.filter((function(n){return"vm"===n.compute_id})).length>0&&(n.isGns3VmAvailable=!0)}))}))},n.prototype.getImages=function(){var n=this;this.iouService.getImages(this.server).subscribe((function(e){n.iouImages=e}))},n.prototype.setServerType=function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){var e=n.target.files[0].name;this.imageForm.controls.imageName.setValue(e);var t=this.iouService.getImagePath(this.server,e);this.uploader.queue.forEach((function(n){return n.url=t}));var l=this.uploader.queue[0];l.options.disableMultipart=!0,this.uploader.uploadItem(l)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var n=this;!this.templateNameForm.invalid&&(this.newImageSelected&&!this.imageForm.invalid||!this.newImageSelected&&this.iouTemplate.path)?(this.iouTemplate.template_id=Object(Zg.v4)(),this.iouTemplate.name=this.templateNameForm.get("templateName").value,this.newImageSelected&&(this.iouTemplate.path=this.imageForm.get("imageName").value),this.iouTemplate.compute_id=this.isGns3VmChosen?"vm":"local","L2 image"===this.selectedType?(this.iouTemplate.ethernet_adapters=4,this.iouTemplate.serial_adapters=0):"L3 image"===this.selectedType&&(this.iouTemplate.ethernet_adapters=2,this.iouTemplate.serial_adapters=2),this.iouService.addTemplate(this.server,this.iouTemplate).subscribe((function(e){n.goBack()}))):this.toasterService.error("Fill all required fields")},n}(),FD=o["ɵcrt"]({encapsulation:0,styles:[[""],IC],data:{}});function OD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[26,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function MD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[38,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.path)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)}))}function ND(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,29,{_controlNonStatic:0}),o["ɵqud"](335544320,30,{_controlStatic:0}),o["ɵqud"](603979776,31,{_labelChildNonStatic:0}),o["ɵqud"](335544320,32,{_labelChildStatic:0}),o["ɵqud"](603979776,33,{_placeholderChild:0}),o["ɵqud"](603979776,34,{_errorChildren:1}),o["ɵqud"](603979776,35,{_hintChildren:1}),o["ɵqud"](603979776,36,{_prefixChildren:1}),o["ɵqud"](603979776,37,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","IOU image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,17)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,17)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.iouTemplate.path=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](13,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](14,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](16,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](17,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,38,{options:1}),o["ɵqud"](603979776,39,{optionGroups:1}),o["ɵqud"](603979776,40,{customTrigger:0}),o["ɵprd"](2048,[[29,4],[30,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,MD)),o["ɵdid"](23,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=t.iouTemplate.path,o=n(e,14,0,!0);n(e,13,0,l,o),n(e,17,0,"IOU image"),n(e,23,0,t.iouImages)}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,16).ngClassUntouched,o["ɵnov"](e,16).ngClassTouched,o["ɵnov"](e,16).ngClassPristine,o["ɵnov"](e,16).ngClassDirty,o["ɵnov"](e,16).ngClassValid,o["ɵnov"](e,16).ngClassInvalid,o["ɵnov"](e,16).ngClassPending,o["ɵnov"](e,17).id,o["ɵnov"](e,17).tabIndex,o["ɵnov"](e,17)._getAriaLabel(),o["ɵnov"](e,17)._getAriaLabelledby(),o["ɵnov"](e,17).required.toString(),o["ɵnov"](e,17).disabled.toString(),o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).panelOpen?o["ɵnov"](e,17)._optionIds:null,o["ɵnov"](e,17).multiple,o["ɵnov"](e,17)._ariaDescribedby||null,o["ɵnov"](e,17)._getAriaActiveDescendant(),o["ɵnov"](e,17).disabled,o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).required,o["ɵnov"](e,17).empty])}))}function AD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,24,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,[["file",1]],null,1,"input",[["accept",".bin"],["class","nonvisible"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0,i=n.component;return"change"===e&&(l=!1!==o["ɵnov"](n,2).onChange()&&l),"change"===e&&(l=!1!==i.uploadImageFile(t)&&l),l}),null,null)),o["ɵdid"](2,16384,null,0,Gg,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["ɵeld"](3,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1).click()&&l),l}),ou,lu)),o["ɵdid"](4,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](6,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](7,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,41,{_controlNonStatic:0}),o["ɵqud"](335544320,42,{_controlStatic:0}),o["ɵqud"](603979776,43,{_labelChildNonStatic:0}),o["ɵqud"](335544320,44,{_labelChildStatic:0}),o["ɵqud"](603979776,45,{_placeholderChild:0}),o["ɵqud"](603979776,46,{_errorChildren:1}),o["ɵqud"](603979776,47,{_hintChildren:1}),o["ɵqud"](603979776,48,{_prefixChildren:1}),o["ɵqud"](603979776,49,{_suffixChildren:1}),(n()(),o["ɵeld"](17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","imageName"],["matInput",""],["placeholder","IOU image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,18)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,18)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,18)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,23)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,23)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,23)._onInput()&&l),l}),null,null)),o["ɵdid"](18,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](20,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](22,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](23,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[41,4],[42,4]],ag,null,[Lg])],(function(n,e){n(e,2,0,e.component.uploader),n(e,4,0,"primary"),n(e,20,0,"imageName"),n(e,23,0,"IOU image","text")}),(function(n,e){n(e,3,0,o["ɵnov"](e,4).disabled||null,"NoopAnimations"===o["ɵnov"](e,4)._animationMode),n(e,6,1,["standard"==o["ɵnov"](e,7).appearance,"fill"==o["ɵnov"](e,7).appearance,"outline"==o["ɵnov"](e,7).appearance,"legacy"==o["ɵnov"](e,7).appearance,o["ɵnov"](e,7)._control.errorState,o["ɵnov"](e,7)._canLabelFloat,o["ɵnov"](e,7)._shouldLabelFloat(),o["ɵnov"](e,7)._hasFloatingLabel(),o["ɵnov"](e,7)._hideControlPlaceholder(),o["ɵnov"](e,7)._control.disabled,o["ɵnov"](e,7)._control.autofilled,o["ɵnov"](e,7)._control.focused,"accent"==o["ɵnov"](e,7).color,"warn"==o["ɵnov"](e,7).color,o["ɵnov"](e,7)._shouldForward("untouched"),o["ɵnov"](e,7)._shouldForward("touched"),o["ɵnov"](e,7)._shouldForward("pristine"),o["ɵnov"](e,7)._shouldForward("dirty"),o["ɵnov"](e,7)._shouldForward("valid"),o["ɵnov"](e,7)._shouldForward("invalid"),o["ɵnov"](e,7)._shouldForward("pending"),!o["ɵnov"](e,7)._animationsEnabled]),n(e,17,1,[o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending,o["ɵnov"](e,23)._isServer,o["ɵnov"](e,23).id,o["ɵnov"](e,23).placeholder,o["ɵnov"](e,23).disabled,o["ɵnov"](e,23).required,o["ɵnov"](e,23).readonly&&!o["ɵnov"](e,23)._isNativeSelect||null,o["ɵnov"](e,23)._ariaDescribedby||null,o["ɵnov"](e,23).errorState,o["ɵnov"](e,23).required.toString()])}))}function PD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,108,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["New IOU device template"])),(n()(),o["ɵeld"](5,0,null,null,103,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,95,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,94,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,bk,vk)),o["ɵprd"](6144,null,lk,null,[ck]),o["ɵdid"](9,5423104,null,2,ck,[[2,ki],o.ChangeDetectorRef,o.ElementRef,r.DOCUMENT],{linear:[0,"linear"]},null),o["ɵqud"](603979776,1,{_steps:1}),o["ɵqud"](603979776,2,{_icons:1}),o["ɵprd"](2048,null,dk,null,[ck]),(n()(),o["ɵeld"](13,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,mk,fk)),o["ɵprd"](6144,null,Wo,null,[sk]),o["ɵdid"](15,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,3,{stepLabel:0}),(n()(),o["ɵeld"](17,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](19,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,4,{_radios:1}),(n()(),o["ɵeld"](21,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,22)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("local")&&l),l}),HC,BC)),o["ɵdid"](22,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Run this IOU device locally"])),(n()(),o["ɵeld"](24,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,25)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setServerType("gns3 vm")&&l),l}),HC,BC)),o["ɵdid"](25,4440064,[[4,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["Run this IOU device on the GNS3 VM"])),(n()(),o["ɵeld"](27,0,null,null,27,"mat-step",[["label","Name"]],null,null,null,mk,fk)),o["ɵdid"](28,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,5,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](31,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,33).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,33).onReset()&&l),l}),null,null)),o["ɵdid"](32,16384,null,0,qm,[],null,null),o["ɵdid"](33,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](35,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](36,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](37,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,6,{_controlNonStatic:0}),o["ɵqud"](335544320,7,{_controlStatic:0}),o["ɵqud"](603979776,8,{_labelChildNonStatic:0}),o["ɵqud"](335544320,9,{_labelChildStatic:0}),o["ɵqud"](603979776,10,{_placeholderChild:0}),o["ɵqud"](603979776,11,{_errorChildren:1}),o["ɵqud"](603979776,12,{_hintChildren:1}),o["ɵqud"](603979776,13,{_prefixChildren:1}),o["ɵqud"](603979776,14,{_suffixChildren:1}),(n()(),o["ɵeld"](47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,53)._onInput()&&l),l}),null,null)),o["ɵdid"](48,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](50,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](52,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](53,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[6,4],[7,4]],ag,null,[Lg]),(n()(),o["ɵeld"](55,0,null,null,46,"mat-step",[["label","Image"]],null,null,null,mk,fk)),o["ɵdid"](56,573440,[[1,4]],1,sk,[dk,[1,Wo],[2,ek]],{label:[0,"label"]},null),o["ɵqud"](603979776,15,{stepLabel:0}),o["ɵprd"](2048,null,Wo,null,[sk]),(n()(),o["ɵeld"](59,0,null,0,42,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,61).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,61).onReset()&&l),l}),null,null)),o["ɵdid"](60,16384,null,0,qm,[],null,null),o["ɵdid"](61,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](63,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](64,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](66,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,16,{_radios:1}),(n()(),o["ɵeld"](68,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,69)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("existingImage")&&l),l}),HC,BC)),o["ɵdid"](69,4440064,[[16,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Existing image"])),(n()(),o["ɵeld"](71,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,72)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setDiskImage("newImage")&&l),l}),HC,BC)),o["ɵdid"](72,4440064,[[16,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["New image"])),(n()(),o["ɵeld"](74,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](75,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,17,{_controlNonStatic:0}),o["ɵqud"](335544320,18,{_controlStatic:0}),o["ɵqud"](603979776,19,{_labelChildNonStatic:0}),o["ɵqud"](335544320,20,{_labelChildStatic:0}),o["ɵqud"](603979776,21,{_placeholderChild:0}),o["ɵqud"](603979776,22,{_errorChildren:1}),o["ɵqud"](603979776,23,{_hintChildren:1}),o["ɵqud"](603979776,24,{_prefixChildren:1}),o["ɵqud"](603979776,25,{_suffixChildren:1}),(n()(),o["ɵeld"](85,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,91)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,91)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.selectedType=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](87,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](88,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](90,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](91,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,26,{options:1}),o["ɵqud"](603979776,27,{optionGroups:1}),o["ɵqud"](603979776,28,{customTrigger:0}),o["ɵprd"](2048,[[17,4],[18,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,OD)),o["ɵdid"](97,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ND)),o["ɵdid"](99,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,AD)),o["ɵdid"](101,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](102,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](103,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l}),ou,lu)),o["ɵdid"](104,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](106,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l}),ou,lu)),o["ɵdid"](107,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add template"]))],(function(n,e){var t=e.component;n(e,9,0,!0),n(e,15,0,"Server type"),n(e,22,0,"","1"),n(e,25,0,"2",!t.isGns3VmAvailable),n(e,28,0,"Name"),n(e,33,0,t.templateNameForm),n(e,50,0,"templateName"),n(e,53,0,"Name","text"),n(e,56,0,"Image"),n(e,61,0,t.imageForm),n(e,69,0,"","1"),n(e,72,0,"2");var l=t.selectedType,o=n(e,88,0,!0);n(e,87,0,l,o),n(e,91,0,"Type"),n(e,97,0,t.types),n(e,99,0,!t.newImageSelected),n(e,101,0,t.newImageSelected),n(e,107,0,"primary")}),(function(n,e){n(e,21,1,[o["ɵnov"](e,22).checked,o["ɵnov"](e,22).disabled,"NoopAnimations"===o["ɵnov"](e,22)._animationMode,"primary"===o["ɵnov"](e,22).color,"accent"===o["ɵnov"](e,22).color,"warn"===o["ɵnov"](e,22).color,-1,o["ɵnov"](e,22).id,null,null,null]),n(e,24,1,[o["ɵnov"](e,25).checked,o["ɵnov"](e,25).disabled,"NoopAnimations"===o["ɵnov"](e,25)._animationMode,"primary"===o["ɵnov"](e,25).color,"accent"===o["ɵnov"](e,25).color,"warn"===o["ɵnov"](e,25).color,-1,o["ɵnov"](e,25).id,null,null,null]),n(e,31,0,o["ɵnov"](e,35).ngClassUntouched,o["ɵnov"](e,35).ngClassTouched,o["ɵnov"](e,35).ngClassPristine,o["ɵnov"](e,35).ngClassDirty,o["ɵnov"](e,35).ngClassValid,o["ɵnov"](e,35).ngClassInvalid,o["ɵnov"](e,35).ngClassPending),n(e,36,1,["standard"==o["ɵnov"](e,37).appearance,"fill"==o["ɵnov"](e,37).appearance,"outline"==o["ɵnov"](e,37).appearance,"legacy"==o["ɵnov"](e,37).appearance,o["ɵnov"](e,37)._control.errorState,o["ɵnov"](e,37)._canLabelFloat,o["ɵnov"](e,37)._shouldLabelFloat(),o["ɵnov"](e,37)._hasFloatingLabel(),o["ɵnov"](e,37)._hideControlPlaceholder(),o["ɵnov"](e,37)._control.disabled,o["ɵnov"](e,37)._control.autofilled,o["ɵnov"](e,37)._control.focused,"accent"==o["ɵnov"](e,37).color,"warn"==o["ɵnov"](e,37).color,o["ɵnov"](e,37)._shouldForward("untouched"),o["ɵnov"](e,37)._shouldForward("touched"),o["ɵnov"](e,37)._shouldForward("pristine"),o["ɵnov"](e,37)._shouldForward("dirty"),o["ɵnov"](e,37)._shouldForward("valid"),o["ɵnov"](e,37)._shouldForward("invalid"),o["ɵnov"](e,37)._shouldForward("pending"),!o["ɵnov"](e,37)._animationsEnabled]),n(e,47,1,[o["ɵnov"](e,52).ngClassUntouched,o["ɵnov"](e,52).ngClassTouched,o["ɵnov"](e,52).ngClassPristine,o["ɵnov"](e,52).ngClassDirty,o["ɵnov"](e,52).ngClassValid,o["ɵnov"](e,52).ngClassInvalid,o["ɵnov"](e,52).ngClassPending,o["ɵnov"](e,53)._isServer,o["ɵnov"](e,53).id,o["ɵnov"](e,53).placeholder,o["ɵnov"](e,53).disabled,o["ɵnov"](e,53).required,o["ɵnov"](e,53).readonly&&!o["ɵnov"](e,53)._isNativeSelect||null,o["ɵnov"](e,53)._ariaDescribedby||null,o["ɵnov"](e,53).errorState,o["ɵnov"](e,53).required.toString()]),n(e,59,0,o["ɵnov"](e,63).ngClassUntouched,o["ɵnov"](e,63).ngClassTouched,o["ɵnov"](e,63).ngClassPristine,o["ɵnov"](e,63).ngClassDirty,o["ɵnov"](e,63).ngClassValid,o["ɵnov"](e,63).ngClassInvalid,o["ɵnov"](e,63).ngClassPending),n(e,68,1,[o["ɵnov"](e,69).checked,o["ɵnov"](e,69).disabled,"NoopAnimations"===o["ɵnov"](e,69)._animationMode,"primary"===o["ɵnov"](e,69).color,"accent"===o["ɵnov"](e,69).color,"warn"===o["ɵnov"](e,69).color,-1,o["ɵnov"](e,69).id,null,null,null]),n(e,71,1,[o["ɵnov"](e,72).checked,o["ɵnov"](e,72).disabled,"NoopAnimations"===o["ɵnov"](e,72)._animationMode,"primary"===o["ɵnov"](e,72).color,"accent"===o["ɵnov"](e,72).color,"warn"===o["ɵnov"](e,72).color,-1,o["ɵnov"](e,72).id,null,null,null]),n(e,74,1,["standard"==o["ɵnov"](e,75).appearance,"fill"==o["ɵnov"](e,75).appearance,"outline"==o["ɵnov"](e,75).appearance,"legacy"==o["ɵnov"](e,75).appearance,o["ɵnov"](e,75)._control.errorState,o["ɵnov"](e,75)._canLabelFloat,o["ɵnov"](e,75)._shouldLabelFloat(),o["ɵnov"](e,75)._hasFloatingLabel(),o["ɵnov"](e,75)._hideControlPlaceholder(),o["ɵnov"](e,75)._control.disabled,o["ɵnov"](e,75)._control.autofilled,o["ɵnov"](e,75)._control.focused,"accent"==o["ɵnov"](e,75).color,"warn"==o["ɵnov"](e,75).color,o["ɵnov"](e,75)._shouldForward("untouched"),o["ɵnov"](e,75)._shouldForward("touched"),o["ɵnov"](e,75)._shouldForward("pristine"),o["ɵnov"](e,75)._shouldForward("dirty"),o["ɵnov"](e,75)._shouldForward("valid"),o["ɵnov"](e,75)._shouldForward("invalid"),o["ɵnov"](e,75)._shouldForward("pending"),!o["ɵnov"](e,75)._animationsEnabled]),n(e,85,1,[o["ɵnov"](e,90).ngClassUntouched,o["ɵnov"](e,90).ngClassTouched,o["ɵnov"](e,90).ngClassPristine,o["ɵnov"](e,90).ngClassDirty,o["ɵnov"](e,90).ngClassValid,o["ɵnov"](e,90).ngClassInvalid,o["ɵnov"](e,90).ngClassPending,o["ɵnov"](e,91).id,o["ɵnov"](e,91).tabIndex,o["ɵnov"](e,91)._getAriaLabel(),o["ɵnov"](e,91)._getAriaLabelledby(),o["ɵnov"](e,91).required.toString(),o["ɵnov"](e,91).disabled.toString(),o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).panelOpen?o["ɵnov"](e,91)._optionIds:null,o["ɵnov"](e,91).multiple,o["ɵnov"](e,91)._ariaDescribedby||null,o["ɵnov"](e,91)._getAriaActiveDescendant(),o["ɵnov"](e,91).disabled,o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).required,o["ɵnov"](e,91).empty]),n(e,103,0,o["ɵnov"](e,104).disabled||null,"NoopAnimations"===o["ɵnov"](e,104)._animationMode),n(e,106,0,o["ɵnov"](e,107).disabled||null,"NoopAnimations"===o["ɵnov"](e,107)._animationMode)}))}function qD(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-iou-template",[],null,null,null,PD,FD)),o["ɵdid"](1,114688,null,0,DD,[rt,Dh,eD,hc,vl,Gm,Bw,$y],null,null)],(function(n,e){n(e,1,0)}),null)}var LD=o["ɵccf"]("app-add-iou-template",DD,qD,{},{},[]),jD="http://www.w3.org/1999/xhtml",VD={svg:"http://www.w3.org/2000/svg",xhtml:jD,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},BD=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),VD.hasOwnProperty(e)?{space:VD[e],local:n}:n};function HD(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===jD&&e.documentElement.namespaceURI===jD?e.createElement(n):e.createElementNS(t,n)}}function UD(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}var zD=function(n){var e=BD(n);return(e.local?UD:HD)(e)};function GD(){}var WD=function(n){return null==n?GD:function(){return this.querySelector(n)}};function ZD(){return[]}var KD=function(n){return null==n?ZD:function(){return this.querySelectorAll(n)}},XD=function(n){return function(){return this.matches(n)}};if("undefined"!=typeof document){var YD=document.documentElement;if(!YD.matches){var $D=YD.webkitMatchesSelector||YD.msMatchesSelector||YD.mozMatchesSelector||YD.oMatchesSelector;XD=function(n){return function(){return $D.call(this,n)}}}}var QD=XD,JD=function(n){return new Array(n.length)};function nF(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}nF.prototype={constructor:nF,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,e){return this._parent.insertBefore(n,e)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var eF="$";function tF(n,e,t,l,o,i){for(var r,a=0,u=e.length,s=i.length;a<s;++a)(r=e[a])?(r.__data__=i[a],l[a]=r):t[a]=new nF(n,i[a]);for(;a<u;++a)(r=e[a])&&(o[a]=r)}function lF(n,e,t,l,o,i,r){var a,u,s,d={},c=e.length,p=i.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=eF+r.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=eF+r.call(n,i[a],a,i)])?(l[a]=u,u.__data__=i[a],d[s]=null):t[a]=new nF(n,i[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function oF(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}function iF(n){return function(){this.removeAttribute(n)}}function rF(n){return function(){this.removeAttributeNS(n.space,n.local)}}function aF(n,e){return function(){this.setAttribute(n,e)}}function uF(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}function sF(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}function dF(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,t)}}var cF=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function pF(n){return function(){this.style.removeProperty(n)}}function fF(n,e,t){return function(){this.style.setProperty(n,e,t)}}function hF(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}function mF(n,e){return n.style.getPropertyValue(e)||cF(n).getComputedStyle(n,null).getPropertyValue(e)}function vF(n){return function(){delete this[n]}}function gF(n,e){return function(){this[n]=e}}function bF(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}function _F(n){return n.trim().split(/^|\s+/)}function yF(n){return n.classList||new CF(n)}function CF(n){this._node=n,this._names=_F(n.getAttribute("class")||"")}function wF(n,e){for(var t=yF(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function SF(n,e){for(var t=yF(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function xF(n){return function(){wF(this,n)}}function kF(n){return function(){SF(this,n)}}function EF(n,e){return function(){(e.apply(this,arguments)?wF:SF)(this,n)}}function TF(){this.textContent=""}function RF(n){return function(){this.textContent=n}}function IF(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}function DF(){this.innerHTML=""}function FF(n){return function(){this.innerHTML=n}}function OF(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}function MF(){this.nextSibling&&this.parentNode.appendChild(this)}function NF(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function AF(){return null}function PF(){var n=this.parentNode;n&&n.removeChild(this)}function qF(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function LF(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}CF.prototype={add:function(n){this._names.indexOf(n)<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var e=this._names.indexOf(n);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var jF={},VF=null;function BF(n,e,t){return n=HF(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function HF(n,e,t){return function(l){var o=VF;VF=l;try{n.call(this,this.__data__,e,t)}finally{VF=o}}}function UF(n){return n.trim().split(/^|\s+/).map((function(n){var e="",t=n.indexOf(".");return t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),{type:n,name:e}}))}function zF(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,i=e.length;l<i;++l)t=e[l],n.type&&t.type!==n.type||t.name!==n.name?e[++o]=t:this.removeEventListener(t.type,t.listener,t.capture);++o?e.length=o:delete this.__on}}}function GF(n,e,t){var l=jF.hasOwnProperty(n.type)?BF:HF;return function(o,i,r){var a,u=this.__on,s=l(e,i,r);if(u)for(var d=0,c=u.length;d<c;++d)if((a=u[d]).type===n.type&&a.name===n.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=t),void(a.value=e);this.addEventListener(n.type,s,t),a={type:n.type,name:n.name,value:e,listener:s,capture:t},u?u.push(a):this.__on=[a]}}function WF(n,e,t,l){var o=VF;n.sourceEvent=VF,VF=n;try{return e.apply(t,l)}finally{VF=o}}function ZF(n,e,t){var l=cF(n),o=l.CustomEvent;"function"==typeof o?o=new o(e,t):(o=l.document.createEvent("Event"),t?(o.initEvent(e,t.bubbles,t.cancelable),o.detail=t.detail):o.initEvent(e,!1,!1)),n.dispatchEvent(o)}function KF(n,e){return function(){return ZF(this,n,e)}}function XF(n,e){return function(){return ZF(this,n,e.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(jF={mouseenter:"mouseover",mouseleave:"mouseout"}));var YF=[null];function $F(n,e){this._groups=n,this._parents=e}function QF(){return new $F([[document.documentElement]],YF)}$F.prototype=QF.prototype={constructor:$F,select:function(n){"function"!=typeof n&&(n=WD(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var i,r,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(i=a[d])&&(r=n.call(i,i.__data__,d,a))&&("__data__"in i&&(r.__data__=i.__data__),s[d]=r);return new $F(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=KD(n));for(var e=this._groups,t=e.length,l=[],o=[],i=0;i<t;++i)for(var r,a=e[i],u=a.length,s=0;s<u;++s)(r=a[s])&&(l.push(n.call(r,r.__data__,s,a)),o.push(r));return new $F(l,o)},filter:function(n){"function"!=typeof n&&(n=QD(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var i,r=e[o],a=r.length,u=l[o]=[],s=0;s<a;++s)(i=r[s])&&n.call(i,i.__data__,s,r)&&u.push(i);return new $F(l,this._parents)},data:function(n,e){if(!n)return h=new Array(this.size()),d=-1,this.each((function(n){h[++d]=n})),h;var t,l=e?lF:tF,o=this._parents,i=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var r=i.length,a=new Array(r),u=new Array(r),s=new Array(r),d=0;d<r;++d){var c=o[d],p=i[d],f=p.length,h=n.call(c,c&&c.__data__,d,o),m=h.length,v=u[d]=new Array(m),g=a[d]=new Array(m);l(c,p,v,g,s[d]=new Array(f),h,e);for(var b,_,y=0,C=0;y<m;++y)if(b=v[y]){for(y>=C&&(C=y+1);!(_=g[C])&&++C<m;);b._next=_||null}}return(a=new $F(a,o))._enter=u,a._exit=s,a},enter:function(){return new $F(this._enter||this._groups.map(JD),this._parents)},exit:function(){return new $F(this._exit||this._groups.map(JD),this._parents)},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),i=new Array(l),r=0;r<o;++r)for(var a,u=e[r],s=t[r],d=u.length,c=i[r]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;r<l;++r)i[r]=e[r];return new $F(i,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],i=o.length-1,r=o[i];--i>=0;)(l=o[i])&&(r&&r!==l.nextSibling&&r.parentNode.insertBefore(l,r),r=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=oF);for(var t=this._groups,l=t.length,o=new Array(l),i=0;i<l;++i){for(var r,a=t[i],u=a.length,s=o[i]=new Array(u),d=0;d<u;++d)(r=a[d])&&(s[d]=r);s.sort(e)}return new $F(o,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),e=-1;return this.each((function(){n[++e]=this})),n},node:function(){for(var n=this._groups,e=0,t=n.length;e<t;++e)for(var l=n[e],o=0,i=l.length;o<i;++o){var r=l[o];if(r)return r}return null},size:function(){var n=0;return this.each((function(){++n})),n},empty:function(){return!this.node()},each:function(n){for(var e=this._groups,t=0,l=e.length;t<l;++t)for(var o,i=e[t],r=0,a=i.length;r<a;++r)(o=i[r])&&n.call(o,o.__data__,r,i);return this},attr:function(n,e){var t=BD(n);if(arguments.length<2){var l=this.node();return t.local?l.getAttributeNS(t.space,t.local):l.getAttribute(t)}return this.each((null==e?t.local?rF:iF:"function"==typeof e?t.local?dF:sF:t.local?uF:aF)(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?pF:"function"==typeof e?hF:fF)(n,e,null==t?"":t)):mF(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?vF:"function"==typeof e?bF:gF)(n,e)):this.node()[n]},classed:function(n,e){var t=_F(n+"");if(arguments.length<2){for(var l=yF(this.node()),o=-1,i=t.length;++o<i;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?EF:e?xF:kF)(t,e))},text:function(n){return arguments.length?this.each(null==n?TF:("function"==typeof n?IF:RF)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?DF:("function"==typeof n?OF:FF)(n)):this.node().innerHTML},raise:function(){return this.each(MF)},lower:function(){return this.each(NF)},append:function(n){var e="function"==typeof n?n:zD(n);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(n,e){var t="function"==typeof n?n:zD(n),l=null==e?AF:"function"==typeof e?e:WD(e);return this.select((function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)}))},remove:function(){return this.each(PF)},clone:function(n){return this.select(n?LF:qF)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,i=UF(n+""),r=i.length;if(!(arguments.length<2)){for(a=e?GF:zF,null==t&&(t=!1),l=0;l<r;++l)this.each(a(i[l],e,t));return this}var a=this.node().__on;if(a)for(var u,s=0,d=a.length;s<d;++s)for(l=0,u=a[s];l<r;++l)if((o=i[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?XF:KF)(n,e))}};var JF=QF,nO=function(n){return"string"==typeof n?new $F([[document.querySelector(n)]],[document.documentElement]):new $F([[n]],YF)},eO=function(n){return nO(zD(n).call(document.documentElement))},tO=0;function lO(){return new oO}function oO(){this._="@"+(++tO).toString(36)}oO.prototype=lO.prototype={constructor:oO,get:function(n){for(var e=this._;!(e in n);)if(!(n=n.parentNode))return;return n[e]},set:function(n,e){return n[this._]=e},remove:function(n){return this._ in n&&delete n[this._]},toString:function(){return this._}};var iO=function(){for(var n,e=VF;n=e.sourceEvent;)e=n;return e},rO=function(n,e){var t=n.ownerSVGElement||n;if(t.createSVGPoint){var l=t.createSVGPoint();return l.x=e.clientX,l.y=e.clientY,[(l=l.matrixTransform(n.getScreenCTM().inverse())).x,l.y]}var o=n.getBoundingClientRect();return[e.clientX-o.left-n.clientLeft,e.clientY-o.top-n.clientTop]},aO=function(n){var e=iO();return e.changedTouches&&(e=e.changedTouches[0]),rO(n,e)},uO=function(n){return"string"==typeof n?new $F([document.querySelectorAll(n)],[document.documentElement]):new $F([null==n?[]:n],YF)},sO=function(n,e,t){arguments.length<3&&(t=e,e=iO().changedTouches);for(var l,o=0,i=e?e.length:0;o<i;++o)if((l=e[o]).identifier===t)return rO(n,l);return null},dO=function(n,e){null==e&&(e=iO().touches);for(var t=0,l=e?e.length:0,o=new Array(l);t<l;++t)o[t]=rO(n,e[t]);return o},cO=function(){function n(n,e,t){this.element=n,this.movingEventSource=e,this.context=t,this.activated=!1}return n.prototype.ngOnInit=function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe((function(e){n.activated=e,e||n.removelisteners()}))},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.onMouseDown=function(n){var e=this;this.activated&&(this.mousemoveListener=function(n){nO(e.element.nativeElement).selectAll("g.canvas").data([e.context]).attr("transform",(function(){return e.context.transformation.x=e.context.transformation.x+n.movementX,e.context.transformation.y=e.context.transformation.y+n.movementY,"translate("+(e.context.getZeroZeroTransformationPoint().x+e.context.transformation.x)+", "+(e.context.getZeroZeroTransformationPoint().y+e.context.transformation.y)+") scale("+e.context.transformation.k+")"}))},this.mouseupListener=function(n){e.removelisteners()},this.element.nativeElement.addEventListener("mouseup",this.mouseupListener),this.element.nativeElement.addEventListener("mousemove",this.mousemoveListener))},n.prototype.removelisteners=function(){this.element.nativeElement.removeEventListener("mouseup",this.mouseupListener),this.element.nativeElement.removeEventListener("mousemove",this.mousemoveListener)},n}(),pO=function(){return function(){this.movingModeState=new o.EventEmitter}}(),fO=function(){return function(n,e){this.width=n,this.height=e}}(),hO=function(){return function(n,e){this.x=n,this.y=e}}(),mO=function(){return function(n,e,t){this.x=n,this.y=e,this.k=t}}(),vO=function(){function n(){this.centerZeroZeroPoint=!0,this.size=new fO(0,0),this.transformation=new mO(0,0,1)}return n.prototype.getZeroZeroTransformationPoint=function(){return this.centerZeroZeroPoint?new hO(this.size.width/2,this.size.height/2):new hO(0,0)},n}(),gO=function(){function n(n,e,t,l){this.element=n,this.movingEventSource=e,this.context=t,this.mapsScaleService=l}return n.prototype.ngOnInit=function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe((function(e){e?n.addListener():n.removeListener()}))},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.addListener=function(){var n=this;this.wheelListener=function(e){e.stopPropagation(),e.preventDefault();var t=e.deltaY;t=0===e.deltaMode?t/100:t/3,nO(n.element.nativeElement).selectAll("g.canvas").data([n.context]).attr("transform",(function(){n.context.transformation.k=n.context.transformation.k-t/10;var e=n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,l=n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y,o=n.context.transformation.k;return n.mapsScaleService.setScale(o),"translate("+e+", "+l+") scale("+o+")"}))},this.element.nativeElement.addEventListener("wheel",this.wheelListener,{passive:!1})},n.prototype.removeListener=function(){this.element.nativeElement.removeEventListener("wheel",this.wheelListener)},n}(),bO=function(){function n(n){this.context=n,this.scaleChangeEmitter=new o.EventEmitter,this.currentScale=1}return n.prototype.getScale=function(){return this.currentScale},n.prototype.setScale=function(n){this.currentScale=n,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n.prototype.resetToDefault=function(){this.currentScale=1,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n}(),_O=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(function(){return function(n,e,t){this.datum=n,this.dx=e,this.dy=t}}()),yO=function(){return function(n,e,t,l,o){this.datum=n,this.x=e,this.y=t,this.width=l,this.height=o}}(),CO=function(){return function(n,e){this.x=n,this.y=e}}(),wO=function(){return function(n,e,t){this.datum=n,this.x=e,this.y=t}}(),SO=function(){return function(n,e,t){this.savedText=n,this.x=e,this.y=t}}(),xO=function(){return function(n,e,t){this.textDrawingId=n,this.editedText=e,this.textElement=t}}(),kO=function(){return function(n,e){this.event=n,this.drawing=e}}(),EO=function(){return function(n,e){this.event=n,this.link=e}}(),TO=function(){return function(n,e){this.event=n,this.interfaceLabel=e}}(),RO=function(){return function(n,e){this.event=n,this.label=e}}(),IO=function(){function n(n,e){this.drawingsEventSource=n,this.context=e}return n.prototype.ngOnInit=function(){var n=this;this.drawingSelected=this.drawingsEventSource.selected.subscribe((function(e){""===e?n.deactivate():n.activate()}))},n.prototype.activate=function(){var n=this;this.deactivate(),this.mapListener=function(e){var t=(e.pageX-(n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x))/n.context.transformation.k,l=(e.pageY-(n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y))/n.context.transformation.k;n.drawingsEventSource.pointToAddSelected.emit(new CO(t,l)),n.deactivate()},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivate=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.ngOnDestroy=function(){this.drawingSelected.unsubscribe()},n}(),DO=function(){return function(){this.dragged=new o.EventEmitter,this.resized=new o.EventEmitter,this.selected=new o.EventEmitter,this.pointToAddSelected=new o.EventEmitter,this.saved=new o.EventEmitter,this.textAdded=new o.EventEmitter,this.textEdited=new o.EventEmitter,this.textSaved=new o.EventEmitter}}(),FO=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function OO(n){return o["ɵvid"](0,[],null,null)}var MO=function(){function n(n,e){this.drawingsWidget=n,this.drawingsEventSource=e}return n.prototype.ngOnInit=function(){var n=this;this.resizingFinished=this.drawingsWidget.resizingFinished.subscribe((function(e){n.drawingsEventSource.resized.emit(new yO(e.datum,e.x,e.y,e.width,e.height))}))},n.prototype.ngOnDestroy=function(){this.resizingFinished.unsubscribe()},n}(),NO=function(){return function(){}}(),AO=function(){function n(){}return n.prototype.convert=function(n){var e=new NO;e.text=n.textContent;var t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");l&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("font-family");o&&(e.font_family=o.value);var i=n.attributes.getNamedItem("font-size");i&&(e.font_size=+i.value);var r=n.attributes.getNamedItem("font-weight");r&&(e.font_weight=r.value);var a=n.attributes.getNamedItem("text-decoration");return a&&(e.text_decoration=a.value),e},n}(),PO=function(){return function(){}}(),qO=function(){function n(){}return n.prototype.convert=function(n){var e=new PO,t=n.attributes.getNamedItem("xlink:href");t&&(e.data=t.value);var l=n.attributes.getNamedItem("width");l&&(e.width=parseInt(l.value,10));var o=n.attributes.getNamedItem("height");return o&&(e.height=parseInt(o.value,10)),e},n}(),LO=function(){return function(){}}(),jO=function(){function n(){}return n.prototype.convert=function(n){var e=new LO,t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");t&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("stroke");o&&(e.stroke=o.value);var i=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(i.value,10));var r=n.attributes.getNamedItem("stroke-dasharray");r&&(e.stroke_dasharray=r.value);var a=n.attributes.getNamedItem("width");a&&(e.width=parseInt(a.value,10));var u=n.attributes.getNamedItem("height");return u&&(e.height=parseInt(u.value,10)),e},n}(),VO=function(){return function(){}}(),BO=function(){function n(){}return n.prototype.convert=function(n){var e=new VO,t=n.attributes.getNamedItem("stroke");t&&(e.stroke=t.value);var l=n.attributes.getNamedItem("stroke-width");t&&(e.stroke_width=parseInt(l.value,10));var o=n.attributes.getNamedItem("stroke-dasharray");o&&(e.stroke_dasharray=o.value);var i=n.attributes.getNamedItem("x1");i&&(e.x1=parseInt(i.value,10));var r=n.attributes.getNamedItem("x2");r&&(e.x2=parseInt(r.value,10));var a=n.attributes.getNamedItem("y1");a&&(e.y1=parseInt(a.value,10));var u=n.attributes.getNamedItem("y2");return u&&(e.y2=parseInt(u.value,10)),e},n}(),HO=function(){return function(){}}(),UO=function(){function n(){}return n.prototype.convert=function(n){var e=new HO,t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");t&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("stroke");o&&(e.stroke=o.value);var i=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(i.value,10));var r=n.attributes.getNamedItem("stroke-dasharray");r&&(e.stroke_dasharray=r.value);var a=n.attributes.getNamedItem("cx");a&&(e.cx=parseInt(a.value,10));var u=n.attributes.getNamedItem("cy");u&&(e.cy=parseInt(u.value,10));var s=n.attributes.getNamedItem("rx");s&&(e.rx=parseInt(s.value,10));var d=n.attributes.getNamedItem("ry");return d&&(e.ry=parseInt(d.value,10)),e},n}(),zO=function(){function n(){this.parser=new DOMParser,this.elementParsers={text:new AO,image:new qO,rect:new jO,line:new BO,ellipse:new UO}}return n.prototype.supportedTags=function(){return Object.keys(this.elementParsers)},n.prototype.convert=function(n){var e=this.parser.parseFromString(n,"text/xml").getElementsByTagName("svg");if(1!==e.length)throw new Error("Cannot locate svg element root in '"+n+"'");var t=e[0],l=null,o=null;for(var i in t.children){var r=(o=t.children[i]).nodeName;if(r in this.elementParsers){l=this.elementParsers[r];break}}if(null===l)throw new Error("Cannot find parser for '"+n+"'");var a=l.convert(o);return a.width=+t.getAttribute("width"),a.height=+t.getAttribute("height"),a},n}(),GO={value:function(){}};function WO(){for(var n,e=0,t=arguments.length,l={};e<t;++e){if(!(n=arguments[e]+"")||n in l||/[\s.]/.test(n))throw new Error("illegal type: "+n);l[n]=[]}return new ZO(l)}function ZO(n){this._=n}function KO(n,e){return n.trim().split(/^|\s+/).map((function(n){var t="",l=n.indexOf(".");if(l>=0&&(t=n.slice(l+1),n=n.slice(0,l)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:t}}))}function XO(n,e){for(var t,l=0,o=n.length;l<o;++l)if((t=n[l]).name===e)return t.value}function YO(n,e,t){for(var l=0,o=n.length;l<o;++l)if(n[l].name===e){n[l]=GO,n=n.slice(0,l).concat(n.slice(l+1));break}return null!=t&&n.push({name:e,value:t}),n}ZO.prototype=WO.prototype={constructor:ZO,on:function(n,e){var t,l=this._,o=KO(n+"",l),i=-1,r=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++i<r;)if(t=(n=o[i]).type)l[t]=YO(l[t],n.name,e);else if(null==e)for(t in l)l[t]=YO(l[t],n.name,null);return this}for(;++i<r;)if((t=(n=o[i]).type)&&(t=XO(l[t],n.name)))return t},copy:function(){var n={},e=this._;for(var t in e)n[t]=e[t].slice();return new ZO(n)},call:function(n,e){if((t=arguments.length-2)>0)for(var t,l,o=new Array(t),i=0;i<t;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(i=0,t=(l=this._[n]).length;i<t;++i)l[i].value.apply(e,o)},apply:function(n,e,t){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var l=this._[n],o=0,i=l.length;o<i;++o)l[o].value.apply(e,t)}};var $O=WO;function QO(){VF.stopImmediatePropagation()}var JO=function(){VF.preventDefault(),VF.stopImmediatePropagation()},nM=function(n){var e=n.document.documentElement,t=nO(n).on("dragstart.drag",JO,!0);"onselectstart"in e?t.on("selectstart.drag",JO,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function eM(n,e){var t=n.document.documentElement,l=nO(n).on("dragstart.drag",null);e&&(l.on("click.drag",JO,!0),setTimeout((function(){l.on("click.drag",null)}),0)),"onselectstart"in t?l.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}var tM=function(n){return function(){return n}};function lM(n,e,t,l,o,i,r,a,u,s){this.target=n,this.type=e,this.subject=t,this.identifier=l,this.active=o,this.x=i,this.y=r,this.dx=a,this.dy=u,this._=s}function oM(){return!VF.ctrlKey&&!VF.button}function iM(){return this.parentNode}function rM(n){return null==n?{x:VF.x,y:VF.y}:n}function aM(){return navigator.maxTouchPoints||"ontouchstart"in this}lM.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};var uM=function(){var n,e,t,l,o=oM,i=iM,r=rM,a=aM,u={},s=$O("start","drag","end"),d=0,c=0;function p(n){n.on("mousedown.drag",f).filter(a).on("touchstart.drag",v).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){if(!l&&o.apply(this,arguments)){var r=_("mouse",i.apply(this,arguments),aO,this,arguments);r&&(nO(VF.view).on("mousemove.drag",h,!0).on("mouseup.drag",m,!0),nM(VF.view),QO(),t=!1,n=VF.clientX,e=VF.clientY,r("start"))}}function h(){if(JO(),!t){var l=VF.clientX-n,o=VF.clientY-e;t=l*l+o*o>c}u.mouse("drag")}function m(){nO(VF.view).on("mousemove.drag mouseup.drag",null),eM(VF.view,t),JO(),u.mouse("end")}function v(){if(o.apply(this,arguments)){var n,e,t=VF.changedTouches,l=i.apply(this,arguments),r=t.length;for(n=0;n<r;++n)(e=_(t[n].identifier,l,sO,this,arguments))&&(QO(),e("start"))}}function g(){var n,e,t=VF.changedTouches,l=t.length;for(n=0;n<l;++n)(e=u[t[n].identifier])&&(JO(),e("drag"))}function b(){var n,e,t=VF.changedTouches,o=t.length;for(l&&clearTimeout(l),l=setTimeout((function(){l=null}),500),n=0;n<o;++n)(e=u[t[n].identifier])&&(QO(),e("end"))}function _(n,e,t,l,o){var i,a,c,f=t(e,n),h=s.copy();if(WF(new lM(p,"beforestart",i,n,d,f[0],f[1],0,0,h),(function(){return null!=(VF.subject=i=r.apply(l,o))&&(a=i.x-f[0]||0,c=i.y-f[1]||0,!0)})))return function r(s){var m,v=f;switch(s){case"start":u[n]=r,m=d++;break;case"end":delete u[n],--d;case"drag":f=t(e,n),m=d}WF(new lM(p,s,i,n,m,f[0]+a,f[1]+c,f[0]-v[0],f[1]-v[1],h),h.apply,h,[s,l,o])}}return p.filter=function(n){return arguments.length?(o="function"==typeof n?n:tM(!!n),p):o},p.container=function(n){return arguments.length?(i="function"==typeof n?n:tM(n),p):i},p.subject=function(n){return arguments.length?(r="function"==typeof n?n:tM(n),p):r},p.touchable=function(n){return arguments.length?(a="function"==typeof n?n:tM(!!n),p):a},p.on=function(){var n=s.on.apply(s,arguments);return n===s?p:n},p.clickDistance=function(n){return arguments.length?(c=(n=+n)*n,p):Math.sqrt(c)},p},sM=function(){return function(){}}(),dM=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return i.c(e,n),e}(sM),cM=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return i.c(e,n),e}(sM),pM=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return i.c(e,n),e}(sM),fM=function(){function n(){this.start=new o.EventEmitter,this.drag=new o.EventEmitter,this.end=new o.EventEmitter}return n.prototype.call=function(n){n.call(this.behaviour())},n.prototype.behaviour=function(){var n,e,t,l=this;return uM().on("start",(function(o){e=VF.sourceEvent.clientX,t=VF.sourceEvent.clientY,(n=new dM(o)).dx=VF.dx,n.dy=VF.dy,n.x=VF.x,n.y=VF.y,l.start.emit(n)})).on("drag",(function(n){var o=new cM(n);o.dx=VF.sourceEvent.clientX-e,o.dy=VF.sourceEvent.clientY-t,e=VF.sourceEvent.clientX,t=VF.sourceEvent.clientY,l.drag.emit(o)})).on("end",(function(e){var t=new pM(e);t.dx=VF.x-n.x,t.dy=VF.y-n.y,l.end.emit(t)}))},n}(),hM=function(){return function(){}}(),mM=function(){function n(n,e,t,l){this.drawingWidget=n,this.svgToDrawingConverter=e,this.context=t,this.mapSettings=l,this.draggable=new fM,this.draggingEnabled=!1,this.resizingFinished=new o.EventEmitter,this.onContextMenu=new o.EventEmitter,this.svgToDrawingConverter=new zO}return n.prototype.redrawDrawing=function(n,e){this.drawingWidget.draw(this.selectDrawing(n,e))},n.prototype.draw=function(n){var e,t,l,o,i=this,r=n.selectAll("g.drawing").data((function(n){return n.drawings.forEach((function(n){try{n.element=i.svgToDrawingConverter.convert(n.svg)}catch(e){console.log("Cannot convert due to Error: '"+e+"'")}})),n.drawings}),(function(n){return n.id})),a=r.enter().append("g").attr("class","drawing").attr("drawing_id",(function(n){return n.id})).on("contextmenu",(function(n){VF.preventDefault(),i.onContextMenu.emit(new kO(VF,n))})),u=r.merge(a);this.drawingWidget.draw(u),r.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(u);var s,d,c,p,f=!1,h=uM().on("start",(function(n){document.body.style.cursor="ns-resize",l=n.y})).on("drag",(function(o){var r=VF;f?(t=e-(r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y)),e=r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y),o.element.height+t<0?(f=!1,e=l,o.element.height=Math.abs(o.element.height+r.dy)):(o.y=r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y),o.element.height+=t,o.element instanceof HO&&(o.element.cy=o.element.cy+t/2<0?1:o.element.cy+=t/2,o.element.ry=o.element.ry+t/2<0?1:o.element.ry+=t/2))):o.element.height+r.dy<0?(f=!0,e=l,o.element.height=Math.abs(o.element.height+r.dy)):(o.element.height+=r.dy,o.element instanceof HO&&(o.element.cy=o.element.cy+r.dy/2<0?1:o.element.cy+=r.dy/2,o.element.ry=o.element.ry+r.dy/2<0?1:o.element.ry+=r.dy/2)),i.redrawDrawing(n,o)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))})),m=uM().on("start",(function(n){e=VF.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y),o=e+n.element.height,document.body.style.cursor="ns-resize"})).on("drag",(function(l){var r=VF;f?l.element.height+r.dy<0?(f=!1,e=o,l.element.height=Math.abs(l.element.height+r.dy)):(l.element.height+=r.dy,l.element instanceof HO&&(l.element.cy=l.element.cy+r.dy/2<0?1:l.element.cy+=r.dy/2,l.element.ry=l.element.ry+r.dy/2<0?1:l.element.ry+=r.dy/2)):(t=e-(r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y)),e=r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y),l.element.height+t<0?(e=o,f=!0,l.element.height=Math.abs(l.element.height+r.dy)):(l.y=r.sourceEvent.pageY-(i.context.getZeroZeroTransformationPoint().y+i.context.transformation.y),l.element.height+=t,l.element instanceof HO&&(l.element.cy=l.element.cy+t/2<0?1:l.element.cy+=t/2,l.element.ry=l.element.ry+t/2<0?1:l.element.ry+=t/2))),i.redrawDrawing(n,l)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))})),v=!1,g=uM().on("start",(function(n){s=VF.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x),p=s+n.element.width,document.body.style.cursor="ew-resize"})).on("drag",(function(e){var t=VF;v?e.element.width+t.dx<0?(s=p,v=!1,e.element.width=Math.abs(e.element.width+t.dx)):(e.element instanceof HO&&(e.element.cx=e.element.cx+t.dx/2<0?1:e.element.cx+=t.dx/2,e.element.rx=e.element.rx+t.dx/2<0?1:e.element.rx+=t.dx/2),e.element.width=e.element.width+t.dx<0?1:e.element.width+=t.dx):(d=s-(t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x)),s=t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x),e.element.width+d<0?(s=p,v=!0,e.element.width=Math.abs(e.element.width+t.dx)):(e.x=t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x),e.element.width+=d,e.element instanceof HO&&(e.element.cx=e.element.cx+d/2<0?1:e.element.cx+=d/2,e.element.rx=e.element.rx+d/2<0?1:e.element.rx+=d/2))),i.redrawDrawing(n,e)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))})),b=uM().on("start",(function(n){document.body.style.cursor="ew-resize",c=n.x})).on("drag",(function(e){var t=VF;v?(d=s-(t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x)),s=t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x),e.element.width+d<0?(s=c,v=!1,e.element.width=Math.abs(e.element.width+t.dx)):(e.x=t.sourceEvent.pageX-(i.context.getZeroZeroTransformationPoint().x+i.context.transformation.x),e.element.width+=d,e.element instanceof HO&&(e.element.cx=e.element.cx+d/2<0?1:e.element.cx+=d/2,e.element.rx=e.element.rx+d/2<0?1:e.element.rx+=d/2))):e.element.width+t.dx<0?(s=c,v=!0,e.element.width=Math.abs(e.element.width+t.dx)):(e.element instanceof HO&&(e.element.cx=e.element.cx+t.dx/2<0?1:e.element.cx+=t.dx/2,e.element.rx=e.element.rx+t.dx/2<0?1:e.element.rx+=t.dx/2),e.element.width=e.element.width+t.dx<0?1:e.element.width+=t.dx),i.redrawDrawing(n,e)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))})),_=uM().on("start",(function(){document.body.style.cursor="move"})).on("drag",(function(e){var t=VF;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x2+=t.dx,e.element.y2+=t.dy,i.redrawDrawing(n,e)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))})),y=uM().on("start",(function(){document.body.style.cursor="move"})).on("drag",(function(e){var t=VF;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x1+=t.dx,e.element.y1+=t.dy,i.redrawDrawing(n,e)})).on("end",(function(n){document.body.style.cursor="initial",i.resizingFinished.emit(i.createResizingEvent(n))}));u.select("line.bottom").call(h),u.select("line.top").call(m),u.select("line.right").call(g),u.select("line.left").call(b),u.select("circle.right").call(_),u.select("circle.left").call(y)},n.prototype.createResizingEvent=function(n){var e=new hM;return e.x=n.x,e.y=n.y,e.width=n.element.width,e.height=n.element.height,e.datum=n,e},n.prototype.selectDrawing=function(n,e){return n.selectAll('g.drawing[drawing_id="'+e.id+'"]')},n}(),vM=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function gM(n){return o["ɵvid"](0,[o["ɵncd"](null,0)],null,null)}var bM=function(){function n(n,e,t,l){this.selectionEventSource=n,this.graphDataManager=e,this.inRectangleHelper=t,this.selectionManager=l}return n.prototype.ngOnInit=function(){var n=this;this.onSelection=this.selectionEventSource.selected.subscribe((function(e){var t=n.graphDataManager.getNodes().filter((function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)})),l=n.graphDataManager.getLinks().filter((function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)})),o=n.graphDataManager.getDrawings().filter((function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)})),i=n.graphDataManager.getNodes().filter((function(t){return void 0!==t.label&&n.inRectangleHelper.inRectangle(e,t.x+t.label.x,t.y+t.label.y)})).map((function(n){return n.label})),r=n.graphDataManager.getLinks().filter((function(t){return void 0!==t.source&&2==t.nodes.length&&void 0!==t.nodes[0].label&&n.inRectangleHelper.inRectangle(e,t.source.x+t.nodes[0].label.x,t.source.y+t.nodes[0].label.y)})).map((function(n){return n.nodes[0]})),a=n.graphDataManager.getLinks().filter((function(t){return void 0!==t.target&&2==t.nodes.length&&void 0!==t.nodes[1].label&&n.inRectangleHelper.inRectangle(e,t.target.x+t.nodes[1].label.x,t.target.y+t.nodes[1].label.y)})).map((function(n){return n.nodes[1]})),u=r.concat(a),s=t.concat(l,o,i,u);n.selectionManager.setSelected(s)}))},n.prototype.ngOnDestroy=function(){this.onSelection.unsubscribe()},n}(),_M=function(){return function(){this.selected=new Mn.b}}(),yM=function(){function n(n,e,t,l,o,i,r,a,u,s){this.mapNodesDataSource=n,this.mapLinksDataSource=e,this.mapDrawingsDataSource=t,this.mapSymbolsDataSource=l,this.nodeToMapNode=o,this.linkToMapLink=i,this.drawingToMapDrawing=r,this.symbolToMapSymbol=a,this.layersManager=u,this.multiLinkCalculator=s}return n.prototype.setNodes=function(n){var e=this;if(n){var t=n.map((function(n){return e.nodeToMapNode.convert(n)}));this.mapNodesDataSource.set(t),this.assignDataToLinks(),this.onDataUpdate()}},n.prototype.setLinks=function(n){var e=this;if(n){var t=n.map((function(n){return e.linkToMapLink.convert(n)}));this.mapLinksDataSource.set(t),this.assignDataToLinks(),this.onDataUpdate()}},n.prototype.setDrawings=function(n){var e=this;if(n){var t=n.map((function(n){return e.drawingToMapDrawing.convert(n)}));this.mapDrawingsDataSource.set(t),this.onDataUpdate()}},n.prototype.setSymbols=function(n){var e=this;if(n){var t=n.map((function(n){return e.symbolToMapSymbol.convert(n)}));this.mapSymbolsDataSource.set(t)}},n.prototype.getNodes=function(){return this.mapNodesDataSource.getItems()},n.prototype.getLinks=function(){return this.mapLinksDataSource.getItems()},n.prototype.getDrawings=function(){return this.mapDrawingsDataSource.getItems()},n.prototype.getSymbols=function(){return this.mapSymbolsDataSource.getItems()},n.prototype.onDataUpdate=function(){this.layersManager.clear(),this.layersManager.setNodes(this.getNodes()),this.layersManager.setLinks(this.getLinks()),this.layersManager.setDrawings(this.getDrawings())},n.prototype.assignDataToLinks=function(){var n={};this.getNodes().forEach((function(e){n[e.id]=e})),this.getLinks().forEach((function(e){var t=e.nodes[0].nodeId,l=e.nodes[1].nodeId;t in n&&(e.source=n[t]),l in n&&(e.target=n[l]),e.source&&e.target&&(e.x=e.source.x+.5*(e.target.x-e.source.x),e.y=e.source.y+.5*(e.target.y-e.source.y))})),this.multiLinkCalculator.assignDataToLinks(this.getLinks())},n}(),CM=function(){function n(){}return n.prototype.inRectangle=function(n,e,t){return n.x<=e&&e<n.x+n.width&&n.y<=t&&t<n.y+n.height},n}(),wM=function(){function n(){this.selection={},this.selected=new o.EventEmitter,this.unselected=new o.EventEmitter}return n.prototype.setSelected=function(n){var e=this,t=this.convertToKeyDict(n),l=Object.keys(t).filter((function(n){return!e.isSelectedByKey(n)})).map((function(n){return t[n]})),o=Object.keys(this.selection).filter((function(n){return!(n in t)})).map((function(n){return e.selection[n]}));this.selection=t,l.length>0&&this.selected.emit(l),o.length>0&&this.unselected.emit(o)},n.prototype.getSelected=function(){var n=this;return Object.keys(this.selection).map((function(e){return n.selection[e]}))},n.prototype.isSelected=function(n){var e=this.getKey(n);return this.isSelectedByKey(e)},n.prototype.isSelectedByKey=function(n){return n in this.selection},n.prototype.getKey=function(n){return n.constructor.name+"-"+n.id},n.prototype.convertToKeyDict=function(n){var e=this,t={};return n.forEach((function(n){t[e.getKey(n)]=n})),t},n}(),SM=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function xM(n){return o["ɵvid"](0,[],null,null)}var kM=function(){function n(n,e){this.selectionManager=n,this.mapChangeDetectorRef=e}return n.prototype.ngOnInit=function(){var n=this;this.onSelected=this.selectionManager.selected.subscribe((function(){n.mapChangeDetectorRef.detectChanges()})),this.onUnselected=this.selectionManager.unselected.subscribe((function(){n.mapChangeDetectorRef.detectChanges()}))},n.prototype.ngOnDestroy=function(){this.onSelected.unsubscribe(),this.onUnselected.unsubscribe()},n}(),EM=function(){function n(){this.changesDetected=new o.EventEmitter,this.hasBeenDrawn=!1}return n.prototype.detectChanges=function(){this.changesDetected.emit(!0)},n}(),TM=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function RM(n){return o["ɵvid"](0,[],null,null)}var IM=function(){function n(n,e,t,l,i,r,a,u,s,d,c){this.drawingsEventSource=n,this.toolsService=e,this.context=t,this.renderer=l,this.mapScaleService=i,this.linkService=r,this.linksDataSource=a,this.nodesDataSource=u,this.selectionManager=s,this.fontFixer=d,this.ngZone=c,this.leftPosition="0px",this.topPosition="0px",this.innerText="",this.addingFinished=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.textAddingSubscription=this.toolsService.isTextAddingToolActivated.subscribe((function(e){e?n.activateTextAdding():n.deactivateTextAdding()})),this.ngZone.runOutsideAngular(this.activateTextEditingForDrawings.bind(this)),this.ngZone.runOutsideAngular(this.activateTextEditingForNodeLabels.bind(this))},n.prototype.activateTextAdding=function(){var n=this;this.deactivateTextAdding(),this.mapListener=function(e){n.leftPosition=e.pageX.toString()+"px",n.topPosition=e.pageY.toString()+"px",n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.temporaryTextElement.nativeElement.focus(),n.textListener=function(){n.drawingsEventSource.textAdded.emit(new SO(n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),e.pageX,e.pageY)),n.deactivateTextAdding(),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener)},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivateTextAdding=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.activateTextEditingForNodeLabels=function(){var n=this,e=nO(this.svg);e.selectAll("g.interface_label_container").select("text.interface_label").on("dblclick",(function(t,l,o){n.selectionManager.setSelected([]),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.editedLink=t,nO(o[l]).attr("visibility","hidden"),nO(o[l]).classed("editingMode",!0),n.editedNode=n.nodesDataSource.get(t.nodeId),n.editedLink=t;var i=(t.label.originalX+n.editedNode.x-1)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,r=(t.label.originalY+n.editedNode.y+4)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=i.toString()+"px",n.topPosition=r.toString()+"px",n.temporaryTextElement.nativeElement.innerText=t.label.text;for(var a=[],u=0,s=t.label.style.split(";");u<s.length;u++){var d=s[u];a.push({property:d.split(": ")[0],value:d.split(": ")[1]})}var c={font_family:a.find((function(n){return"font-family"===n.property}))?a.find((function(n){return"font-family"===n.property})).value:"TypeWriter",font_size:a.find((function(n){return"font-size"===n.property}))?Number(a.find((function(n){return"font-size"===n.property})).value):10,font_weight:a.find((function(n){return"font-weight"===n.property}))?a.find((function(n){return"font-weight"===n.property})).value:"normal"};c=n.fontFixer.fix(c),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",a.find((function(n){return"fill"===n.property}))?a.find((function(n){return"fill"===n.property})).value:"#000000"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",c.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size",c.font_size+"pt"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",c.font_weight),n.textListener=function(){var t=n.temporaryTextElement.nativeElement.innerText,l=n.linksDataSource.get(n.editedLink.linkId);l.nodes.find((function(e){return e.node_id===n.editedNode.node_id})).label.text=t,n.linkService.updateLink(n.server,l).subscribe((function(t){e.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")}))},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()}))},n.prototype.activateTextEditingForDrawings=function(){var n=this,e=nO(this.svg);e.selectAll("text.text_element").on("dblclick",(function(t,l,o){n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.editedElement=t,nO(o[l]).attr("visibility","hidden"),nO(o[l]).classed("editingMode",!0),n.editingDrawingId=o[l].parentElement.parentElement.getAttribute("drawing_id");var i=o[l].parentElement.getAttribute("transform").split(/\(|\)/),r=Number(i[1].split(/,/)[0])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,a=Number(i[1].split(/,/)[1])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=r.toString()+"px",n.topPosition=a.toString()+"px",n.temporaryTextElement.nativeElement.innerText=t.text,n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",t.fill),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",t.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size",t.font_size+"pt"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",t.font_weight),n.textListener=function(){n.drawingsEventSource.textEdited.emit(new xO(n.editingDrawingId,n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),n.editedElement)),e.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()}))},n.prototype.ngOnDestroy=function(){this.textAddingSubscription.unsubscribe()},n.prototype.clearStyle=function(){this.renderer.setStyle(this.temporaryTextElement.nativeElement,"color","#000000"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-family","Noto Sans"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-size","11pt"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-weight","bold")},n}(),DM=function(){function n(){this.isSelectionToolActivated=new Mn.b,this.isMovingToolActivated=new Mn.b,this.isTextEditingToolActivated=new Mn.b,this.isTextAddingToolActivated=new Mn.b,this.isDrawLinkToolActivated=new Mn.b}return n.prototype.selectionToolActivation=function(n){this.isSelectionToolActivated.next(n)},n.prototype.movingToolActivation=function(n){this.isMovingToolActivated.next(n)},n.prototype.textEditingToolActivation=function(n){this.isTextEditingToolActivated.next(n)},n.prototype.textAddingToolActivation=function(n){this.isTextAddingToolActivated.next(n)},n.prototype.drawLinkToolActivation=function(n){this.isDrawLinkToolActivated.next(n)},n}(),FM=function(){function n(n){this.httpServer=n}return n.prototype.createLink=function(n,e,t,l,o,i,r,a,u){return this.httpServer.post(n,"/projects/"+e.project_id+"/links",{nodes:[{node_id:e.node_id,port_number:t.port_number,adapter_number:t.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:t.short_name,x:i,y:r}},{node_id:l.node_id,port_number:o.port_number,adapter_number:o.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:o.short_name,x:a,y:u}}]})},n.prototype.getLink=function(n,e,t){return this.httpServer.get(n,"/projects/"+e+"/links/"+t)},n.prototype.deleteLink=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/links/"+e.link_id)},n.prototype.updateLink=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/links/"+e.link_id,e)},n.prototype.getAvailableFilters=function(n,e){return this.httpServer.get(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/available_filters")},n.prototype.updateNodes=function(n,e,t){var l=t.map((function(n){return{node_id:n.node_id,port_number:n.port_number,adapter_number:n.adapter_number,label:{rotation:n.label.rotation,style:n.label.style,text:n.label.text,x:n.label.x,y:n.label.y}}}));return this.httpServer.put(n,"/projects/"+e.project_id+"/links/"+e.link_id,{nodes:l})},n.prototype.startCaptureOnLink=function(n,e,t){return this.httpServer.post(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/start_capture",t)},n.prototype.stopCaptureOnLink=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/stop_capture",{})},n.prototype.streamPcap=function(n,e){return this.httpServer.get(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/pcap")},n}(),OM=function(){function n(){this.data=[],this.dataChange=new Rn.a([]),this.itemUpdated=new Mn.b}return n.prototype.getItems=function(){return this.data},n.prototype.add=function(n){this.findIndex(n)>=0?this.update(n):(this.data.push(n),this.dataChange.next(this.data))},n.prototype.set=function(n){var e=this;n.forEach((function(n){var t=e.findIndex(n);if(t>=0){var l=Object.assign(e.data[t],n);e.data[t]=l}else e.data.push(n)})),this.data.filter((function(t){return 0===n.filter((function(n){return e.getItemKey(n)===e.getItemKey(t)})).length})).forEach((function(n){return e.remove(n)})),this.dataChange.next(this.data)},n.prototype.get=function(n){var e=this,t=this.data.findIndex((function(t){return e.getItemKey(t)===n}));if(t>=0)return this.data[t]},n.prototype.update=function(n){var e=this.findIndex(n);if(e>=0){var t=Object.assign(this.data[e],n);this.data[e]=t,this.dataChange.next(this.data),this.itemUpdated.next(t)}},n.prototype.remove=function(n){var e=this.findIndex(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data))},Object.defineProperty(n.prototype,"changes",{get:function(){return this.dataChange},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"itemChanged",{get:function(){return this.itemUpdated},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.data=[],this.dataChange.next(this.data)},n.prototype.findIndex=function(n){var e=this;return this.data.findIndex((function(t){return e.getItemKey(t)===e.getItemKey(n)}))},n}(),MM=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n.link_id},e}(OM),NM=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n.node_id},e}(OM),AM=t("zahk"),PM=function(){function n(){}return n.prototype.fix=function(e){return e.font_family===n.DEFAULT_FONT&&e.font_size===n.DEFAULT_SIZE&&(e.font_family=n.REPLACE_BY_FONT,e.font_size=n.REPLACE_BY_SIZE),e},n.prototype.fixStyles=function(n){var e=AM.parse(n,{context:"declarationList"}),t=null,l=null,o=!0;if(e.children.forEach((function(n){"font-family"===n.property&&n.value.children.forEach((function(n){"Identifier"===n.type&&(t=n),"String"===n.type&&(t=n,o=!1)})),"font-size"===n.property&&n.value.children.forEach((function(n){"Dimension"===n.type&&(l=n)}))})),l&&t){var i=l.value,r=this.fix({font_family:(o?t.name:t.value).split('"').join(""),font_size:parseInt(i,10)});o?t.name=r.font_family:t.value=r.font_family,l.value=r.font_size}return AM.generate(e)},n.DEFAULT_FONT="TypeWriter",n.DEFAULT_SIZE=10,n.REPLACE_BY_FONT="Noto Sans",n.REPLACE_BY_SIZE=11,n}(),qM=o["ɵcrt"]({encapsulation:0,styles:[[".temporaryElement[_ngcontent-%COMP%]{padding-left:4px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute;z-index:99;font-family:'Noto Sans';font-size:11pt;font-weight:700;color:#000}"]],data:{}});function LM(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{temporaryTextElement:0}),(n()(),o["ɵeld"](1,0,[[1,0],["temporaryTextElement",1]],null,1,"div",[["class","temporaryElement"],["contenteditable","true"],["id","temporaryElement"]],[[4,"top",null],[4,"left",null]],null,null,null,null)),(n()(),o["ɵted"](2,null,[" ","\n"]))],null,(function(n,e){var t=e.component;n(e,1,0,t.topPosition,t.leftPosition),n(e,2,0,t.innerText)}))}var jM=function(){return function(){}}(),VM=function(){return function(){}}(),BM=function(){return function(){}}(),HM=function(){return function(){}}(),UM=function(){function n(n,e,t,l,o,i,r,a,u,s,d){this.nodesWidget=n,this.drawingsWidget=e,this.linksWidget=t,this.labelWidget=l,this.interfaceWidget=o,this.selectionManager=i,this.nodesEventSource=r,this.drawingsEventSource=a,this.graphDataManager=u,this.linksEventSource=s,this.mapSettingsService=d,this.isMapLocked=!1}return n.prototype.ngOnInit=function(){var n=this,e=nO(this.svg);this.mapSettingsSubscription=this.mapSettingsService.isMapLocked.subscribe((function(e){n.isMapLocked=e})),this.start=Object(ys.a)(this.nodesWidget.draggable.start,this.drawingsWidget.draggable.start,this.labelWidget.draggable.start,this.interfaceWidget.draggable.start).subscribe((function(e){var t=n.selectionManager.getSelected();e.datum instanceof jM&&0===t.filter((function(n){return n instanceof jM&&n.id===e.datum.id})).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof VM&&0===t.filter((function(n){return n instanceof VM&&n.id===e.datum.id})).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof BM&&0===t.filter((function(n){return n instanceof BM&&n.id===e.datum.id})).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof HM&&0===t.filter((function(n){return n instanceof HM&&n.id===e.datum.id})).length&&n.selectionManager.setSelected([e.datum])})),this.drag=Object(ys.a)(this.nodesWidget.draggable.drag,this.drawingsWidget.draggable.drag,this.labelWidget.draggable.drag,this.interfaceWidget.draggable.drag).subscribe((function(t){if(!n.isMapLocked){var l=n.selectionManager.getSelected(),o=l.filter((function(n){return n instanceof jM})),i=o.filter((function(n){return n.locked})),r=o.filter((function(n){return!n.locked}));r.forEach((function(l){l.x+=t.dx,l.y+=t.dy,n.nodesWidget.redrawNode(e,l),n.graphDataManager.getLinks().filter((function(n){return void 0!==n.target&&n.target.id===l.id||void 0!==n.source&&n.source.id===l.id})).forEach((function(t){n.linksWidget.redrawLink(e,t)}))})),l.filter((function(n){return n instanceof VM})).filter((function(n){return!n.locked})).forEach((function(l){l.x+=t.dx,l.y+=t.dy,n.drawingsWidget.redrawDrawing(e,l)})),l.filter((function(n){return n instanceof BM})).filter((function(n){return 0===i.filter((function(e){return e.id===n.nodeId})).length})).forEach((function(l){if(!(r.filter((function(n){return n.id===l.nodeId})).length>0)){var o=n.graphDataManager.getNodes().filter((function(n){return n.id===l.nodeId}))[0];o.label.x+=t.dx,o.label.y+=t.dy,n.labelWidget.redrawLabel(e,l)}})),l.filter((function(n){return n instanceof HM})).filter((function(n){return 0===i.filter((function(e){return e.id===n.nodeId})).length})).forEach((function(l){if(!(r.filter((function(n){return n.id===l.nodeId})).length>0)){var o=n.graphDataManager.getLinks().filter((function(n){return n.nodes[0].id===l.id||n.nodes[1].id===l.id}))[0];o.nodes[0].id===l.id&&(o.nodes[0].label.x+=t.dx,o.nodes[0].label.y+=t.dy),o.nodes[1].id===l.id&&(o.nodes[1].label.x+=t.dx,o.nodes[1].label.y+=t.dy),n.linksWidget.redrawLink(e,o)}}))}})),this.end=Object(ys.a)(this.nodesWidget.draggable.end,this.drawingsWidget.draggable.end,this.labelWidget.draggable.end,this.interfaceWidget.draggable.end).subscribe((function(e){if(!n.isMapLocked){var t=n.selectionManager.getSelected(),l=t.filter((function(n){return n instanceof jM})),o=l.filter((function(n){return n.locked})),i=l.filter((function(n){return!n.locked}));i.forEach((function(t){n.nodesEventSource.dragged.emit(new _O(t,e.dx,e.dy))})),t.filter((function(n){return n instanceof VM})).filter((function(n){return!n.locked})).forEach((function(t){n.drawingsEventSource.dragged.emit(new _O(t,e.dx,e.dy))})),t.filter((function(n){return n instanceof BM})).filter((function(n){return 0===o.filter((function(e){return e.id===n.nodeId})).length})).forEach((function(t){i.filter((function(n){return n.id===t.nodeId})).length>0||n.nodesEventSource.labelDragged.emit(new _O(t,e.dx,e.dy))})),t.filter((function(n){return n instanceof HM})).filter((function(n){return 0===o.filter((function(e){return e.id===n.nodeId})).length})).forEach((function(t){i.filter((function(n){return n.id===t.nodeId})).length>0||n.linksEventSource.interfaceDragged.emit(new _O(t,e.dx,e.dy))}))}}))},n.prototype.ngOnDestroy=function(){this.start.unsubscribe(),this.drag.unsubscribe(),this.end.unsubscribe(),this.mapSettingsSubscription.unsubscribe()},n}(),zM=function(){function n(n,e){this.nodeWidget=n,this.mapSettings=e,this.draggable=new fM}return n.prototype.redrawNode=function(n,e){this.nodeWidget.draw(this.selectNode(n,e))},n.prototype.draw=function(n){var e=n.selectAll("g.node").data((function(n){return n.nodes?n.nodes:[]}),(function(n){return n.id})),t=e.enter().append("g").attr("class","node").attr("node_id",(function(n){return n.id})),l=e.merge(t);this.nodeWidget.draw(l),e.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(l)},n.prototype.selectNode=function(n,e){return n.selectAll('g.node[node_id="'+e.id+'"]')},n.NODE_LABEL_MARGIN=3,n}(),GM=function(){function n(n,e){this.multiLinkCalculatorHelper=n,this.linkWidget=e}return n.prototype.redrawLink=function(n,e){this.linkWidget.draw(this.selectLink(n,e))},n.prototype.draw=function(n){var e=this,t=n.selectAll("g.link").data((function(n){if(n.links){var t=n.links.filter((function(n){return n.target&&n.source}));return e.multiLinkCalculatorHelper.assignDataToLinks(t),t}return[]}),(function(n){return n.id})),l=t.enter().append("g").attr("class","link").attr("link_id",(function(n){return n.id})).attr("map-source",(function(n){return n.source.id})).attr("map-target",(function(n){return n.target.id})),o=t.merge(l);this.linkWidget.draw(o),t.exit().remove()},n.prototype.selectLink=function(n,e){return n.selectAll('g.link[link_id="'+e.id+'"]')},n}(),WM=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.onContextMenu=new o.EventEmitter,this.draggable=new fM}return n.prototype.redrawLabel=function(n,e){this.drawLabel(this.selectLabel(n,e))},n.prototype.draw=function(n){var e=this,t=n.selectAll("g.label_container").data((function(n){return[n.label]})),l=t.enter().append("g").attr("class","label_container").attr("label_id",(function(n){return n.id})),o=t.merge(l).on("contextmenu",(function(n,t){event.preventDefault(),e.onContextMenu.emit(new RO(event,n))}));this.drawLabel(o),t.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(t)},n.prototype.drawLabel=function(n){var e=this,t=n.selectAll("g.label_body").data((function(n){return[n]})),l=t.enter().append("g").attr("class","label_body");l.append("text").attr("class","label"),l.append("rect").attr("class","label_selection");var o=t.merge(l);o.select("text.label").attr("label_id",(function(n){return n.id})).attr("style",(function(n){var t=e.cssFixer.fix(n.style);return e.fontFixer.fixStyles(t)})).text((function(n){return n.text})).attr("x",(function(n){return n.x})).attr("y",(function(n){return n.y})).attr("transform",(function(n){return"rotate("+n.rotation+", "+n.x+", "+n.y+")"})),o.select("rect.label_selection").attr("visibility",(function(n){return e.selectionManager.isSelected(n)?"visible":"hidden"})).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each((function(n){var e=nO(this),t=o.select('text[label_id="'+n.id+'"]').node().getBBox();e.attr("width",t.width+4),e.attr("height",t.height+4),e.attr("x",t.x-2),e.attr("y",t.y-2),e.attr("transform","rotate("+n.rotation+", "+n.x+", "+n.y+")")}))},n.prototype.selectLabel=function(n,e){return n.selectAll('g.label_container[label_id="'+e.id+'"]')},n.NODE_LABEL_MARGIN=3,n}(),ZM=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.onContextMenu=new o.EventEmitter,this.draggable=new fM,this.enabled=!0}return n.prototype.setEnabled=function(n){this.enabled=n},n.prototype.draw=function(n){var e=this,t=this,l=n.selectAll("g.link_node_position").data((function(n){return[[n.source,n.nodes[0]],[n.target,n.nodes[1]]]})),o=l.enter().append("g").classed("link_node_position",!0),i=l.merge(o);i.attr("transform",(function(n){return"translate("+n[0].x+", "+n[0].y+")"}));var r=i.selectAll("g.interface_label_container").data((function(n){return e.enabled?[n[1]]:[]})),a=r.enter().append("g").classed("interface_label_container",!0);a.append("rect").attr("class","interface_label_selection"),a.append("text").attr("class","interface_label noselect").attr("interface_label_id",(function(n){return""+n.id}));var u=r.merge(a).on("contextmenu",(function(n,e){event.preventDefault(),t.onContextMenu.emit(new TO(event,n))}));u.select("text.interface_label").text((function(n){return n.label.text})).attr("style",(function(n){var t=e.cssFixer.fix(n.label.style);return e.fontFixer.fixStyles(t)})).attr("x",(function(n){return n.label.x})).attr("y",(function(n){return n.label.y})).attr("transform",(function(n){return"rotate("+n.label.rotation+", "+n.label.x+", "+n.label.y+")"})),u.select("rect.interface_label_selection").attr("visibility",(function(n){return e.selectionManager.isSelected(n)?"visible":"hidden"})).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each((function(n){var e=nO(this),t=u.select('text[interface_label_id="'+n.id+'"]').node().getBBox();e.attr("width",t.width+4),e.attr("height",t.height+4),e.attr("x",t.x-2),e.attr("y",t.y-2),e.attr("transform","rotate("+n.label.rotation+", "+(t.x-2)+", "+(t.y-2)+")")})),r.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(u)},n.SURROUNDING_TEXT_BORDER=5,n}(),KM=function(){return function(){this.dragged=new o.EventEmitter,this.labelDragged=new o.EventEmitter,this.clicked=new o.EventEmitter}}(),XM=function(){return function(){this.created=new o.EventEmitter,this.interfaceDragged=new o.EventEmitter}}(),YM=function(){function n(){this.isMapLocked=new Mn.b,this.isTopologySummaryVisible=!0,this.isLogConsoleVisible=!1,this.isLayerNumberVisible=!1,this.interfaceLabels=new Map,this.logConsoleSubject=new Mn.b,this.mapRenderedEmitter=new o.EventEmitter,this.isLayerNumberVisible="true"===localStorage.getItem("layersVisibility")}return n.prototype.changeMapLockValue=function(n){this.isMapLocked.next(n)},n.prototype.toggleTopologySummary=function(n){this.isTopologySummaryVisible=n},n.prototype.toggleLogConsole=function(n){this.isLogConsoleVisible=n},n.prototype.toggleLayers=function(n){this.isLayerNumberVisible=n},n.prototype.toggleShowInterfaceLabels=function(n,e){this.interfaceLabels.set(n,e)},n}(),$M=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function QM(n){return o["ɵvid"](0,[],null,null)}var JM=function(){function n(n,e,t,l,o,i,r,a,u,s,d,c,p){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.mapSettings=o,this.element=i,this.interfaceLabelWidget=r,this.selectionToolWidget=a,this.movingToolWidget=u,this.graphLayout=s,this.toolsService=d,this.mapScaleService=c,this.mapSettingsService=p,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.subscriptions=[],this.settings={show_interface_labels:!0},this.gridVisibility=0,this.parentNativeElement=i.nativeElement}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(n){this.settings.show_interface_labels=n,this.interfaceLabelWidget.setEnabled(n),this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(n){this.mapSettings.isReadOnly=n},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){(n.width&&!n.width.isFirstChange()||n.height&&!n.height.isFirstChange()||n.drawings&&!n.drawings.isFirstChange()||n.nodes&&!n.nodes.isFirstChange()||n.links&&!n.links.isFirstChange()||n.symbols&&!n.symbols.isFirstChange())&&this.svg.empty&&!this.svg.empty()&&(n.symbols&&this.onSymbolsChange(n.symbols),this.changeLayout())},n.prototype.ngOnInit=function(){var n=this;null!==this.parentNativeElement&&this.createGraph(this.parentNativeElement),this.context.size=this.getSize(),this.onChangesDetected=this.mapChangeDetectorRef.changesDetected.subscribe((function(){n.mapChangeDetectorRef.hasBeenDrawn&&n.redraw()})),this.subscriptions.push(this.mapScaleService.scaleChangeEmitter.subscribe((function(e){return n.redraw()}))),this.subscriptions.push(this.toolsService.isMovingToolActivated.subscribe((function(e){n.mapChangeDetectorRef.detectChanges()}))),this.subscriptions.push(this.toolsService.isSelectionToolActivated.subscribe((function(e){n.selectionToolWidget.setEnabled(e),n.mapChangeDetectorRef.detectChanges()}))),this.subscriptions.push(this.toolsService.isDrawLinkToolActivated.subscribe((function(e){n.drawLinkTool=e}))),this.gridVisibility="true"===localStorage.getItem("gridVisibility")?1:0},n.prototype.ngOnDestroy=function(){this.graphLayout.disconnect(this.svg),this.onChangesDetected.unsubscribe(),this.subscriptions.forEach((function(n){n.unsubscribe()}))},n.prototype.applyMapSettingsChanges=function(){this.redraw()},n.prototype.createGraph=function(n){var e=nO(n);this.svg=e.select("svg"),this.graphLayout.connect(this.svg,this.context),this.graphLayout.draw(this.svg,this.context),this.mapChangeDetectorRef.hasBeenDrawn=!0},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},n.prototype.changeLayout=function(){null!=this.parentNativeElement&&(this.context.size=this.getSize()),this.redraw()},n.prototype.onSymbolsChange=function(n){this.graphDataManager.setSymbols(this.symbols)},n.prototype.redraw=function(){this.graphDataManager.setNodes(this.nodes),this.graphDataManager.setLinks(this.links),this.graphDataManager.setDrawings(this.drawings),this.graphLayout.draw(this.svg,this.context),this.textEditor.activateTextEditingForDrawings(),this.textEditor.activateTextEditingForNodeLabels(),this.mapSettingsService.mapRenderedEmitter.emit(!0)},n.prototype.onResize=function(n){this.changeLayout()},n}(),nN=function(){function n(){}return n.prototype.getOptimalSize=function(n,e){var t=document.documentElement.clientWidth,l=document.documentElement.clientHeight;return n>t&&(t=n),e>l&&(l=e),new fO(t,l)},n}(),eN=function(){return function(){this.isReadOnly=!1}}(),tN=function(){return function(n,e,t,l){this.x=n,this.y=e,this.width=t,this.height=l}}(),lN=function(){function n(n,e){this.context=n,this.selectionEventSource=e,this.rectangleSelected=new Mn.b,this.contextMenuOpened=new o.EventEmitter,this.enabled=!1}return n.prototype.disableContextMenu=function(){},n.prototype.setEnabled=function(n){this.enabled=n,this.contextMenuOpened.emit(!0)},n.prototype.activate=function(e){var t=this;e.on("mousedown",(function(){if(2==VF.button)return e.on("contextmenu",(function(){VF.preventDefault()})),void t.contextMenuOpened.emit(VF);var l=nO(window),o=this.parentElement,i=t.transformation(aO(o));t.startSelection(i),e.selectAll(n.SELECTABLE_CLASS).classed("selected",!1),l.on("mousemove.selection",(function(){var n=t.transformation(aO(o));t.moveSelection(i,n)})).on("mouseup.selection",(function(){var n=t.transformation(aO(o));t.endSelection(i,n),l.on("mousemove.selection",null).on("mouseup.selection",null)}))}))},n.prototype.deactivate=function(n){n.on("mousedown",null)},n.prototype.draw=function(n,e){var t=n.select("g.canvas");if(!t.select("g.selection-line-tool").node()){var l=t.append("g");l.attr("class","selection-line-tool"),this.path=l.append("path"),this.path.attr("class","selection").attr("visibility","hidden")}var o=t.select("g.selection-line-tool"),i=o.attr("status");"activated"!==i&&this.enabled&&(this.activate(n),o.attr("activated")),"deactivated"===i||this.enabled||(this.deactivate(n),o.attr("deactivated"))},n.prototype.startSelection=function(n){this.path.attr("d",this.rect(n[0],n[1],0,0)).attr("visibility","visible")},n.prototype.moveSelection=function(n,e){var t=n[0]/this.context.transformation.k,l=n[1]/this.context.transformation.k;this.path.attr("d",this.rect(t,l,e[0]/this.context.transformation.k-t,e[1]/this.context.transformation.k-l)),this.selectedEvent(n,e)},n.prototype.endSelection=function(n,e){this.path.attr("visibility","hidden"),this.selectedEvent(n,e)},n.prototype.selectedEvent=function(n,e){var t=Math.min(n[0],e[0]),l=Math.min(n[1],e[1]),o=Math.abs(n[0]-e[0]),i=Math.abs(n[1]-e[1]);this.selectionEventSource.selected.next(new tN(t,l,o,i))},n.prototype.rect=function(n,e,t,l){return"M"+[n,e]+" l"+[t,0]+" l"+[0,l]+" l"+[-t,0]+"z"},n.prototype.transformation=function(n){var e=this.context.getZeroZeroTransformationPoint();return[n[0]-e.x-this.context.transformation.x,n[1]-e.y-this.context.transformation.y]},n.SELECTABLE_CLASS=".selectable",n}(),oN=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function iN(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function rN(){}var aN="\\s*([+-]?\\d+)\\s*",uN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",dN=/^#([0-9a-f]{3})$/,cN=/^#([0-9a-f]{6})$/,pN=new RegExp("^rgb\\("+[aN,aN,aN]+"\\)$"),fN=new RegExp("^rgb\\("+[sN,sN,sN]+"\\)$"),hN=new RegExp("^rgba\\("+[aN,aN,aN,uN]+"\\)$"),mN=new RegExp("^rgba\\("+[sN,sN,sN,uN]+"\\)$"),vN=new RegExp("^hsl\\("+[uN,sN,sN]+"\\)$"),gN=new RegExp("^hsla\\("+[uN,sN,sN,uN]+"\\)$"),bN={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function _N(n){var e;return n=(n+"").trim().toLowerCase(),(e=dN.exec(n))?new xN((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=cN.exec(n))?yN(parseInt(e[1],16)):(e=pN.exec(n))?new xN(e[1],e[2],e[3],1):(e=fN.exec(n))?new xN(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=hN.exec(n))?CN(e[1],e[2],e[3],e[4]):(e=mN.exec(n))?CN(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=vN.exec(n))?kN(e[1],e[2]/100,e[3]/100,1):(e=gN.exec(n))?kN(e[1],e[2]/100,e[3]/100,e[4]):bN.hasOwnProperty(n)?yN(bN[n]):"transparent"===n?new xN(NaN,NaN,NaN,0):null}function yN(n){return new xN(n>>16&255,n>>8&255,255&n,1)}function CN(n,e,t,l){return l<=0&&(n=e=t=NaN),new xN(n,e,t,l)}function wN(n){return n instanceof rN||(n=_N(n)),n?new xN((n=n.rgb()).r,n.g,n.b,n.opacity):new xN}function SN(n,e,t,l){return 1===arguments.length?wN(n):new xN(n,e,t,null==l?1:l)}function xN(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function kN(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new TN(n,e,t,l)}function EN(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof TN)return new TN(n.h,n.s,n.l,n.opacity);if(n instanceof rN||(n=_N(n)),!n)return new TN;if(n instanceof TN)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),i=Math.max(e,t,l),r=NaN,a=i-o,u=(i+o)/2;return a?(r=e===i?(t-l)/a+6*(t<l):t===i?(l-e)/a+2:(e-t)/a+4,a/=u<.5?i+o:2-i-o,r*=60):a=u>0&&u<1?0:r,new TN(r,a,u,n.opacity)}(n):new TN(n,e,t,null==l?1:l)}function TN(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function RN(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}oN(rN,_N,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),oN(xN,SN,iN(rN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new xN(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new xN(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}})),oN(TN,EN,iN(rN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new TN(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new TN(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),e=isNaN(n)||isNaN(this.s)?0:this.s,t=this.l,l=t+(t<.5?t:1-t)*e,o=2*t-l;return new xN(RN(n>=240?n-240:n+120,o,l),RN(n,o,l),RN(n<120?n+240:n-120,o,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var IN=Math.PI/180,DN=180/Math.PI,FN=.96422,ON=1,MN=.82521,NN=4/29,AN=6/29,PN=3*AN*AN,qN=AN*AN*AN;function LN(n){if(n instanceof VN)return new VN(n.l,n.a,n.b,n.opacity);if(n instanceof WN){if(isNaN(n.h))return new VN(n.l,0,0,n.opacity);var e=n.h*IN;return new VN(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof xN||(n=wN(n));var t,l,o=zN(n.r),i=zN(n.g),r=zN(n.b),a=BN((.2225045*o+.7168786*i+.0606169*r)/ON);return o===i&&i===r?t=l=a:(t=BN((.4360747*o+.3850649*i+.1430804*r)/FN),l=BN((.0139322*o+.0971045*i+.7141733*r)/MN)),new VN(116*a-16,500*(t-a),200*(a-l),n.opacity)}function jN(n,e,t,l){return 1===arguments.length?LN(n):new VN(n,e,t,null==l?1:l)}function VN(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function BN(n){return n>qN?Math.pow(n,1/3):n/PN+NN}function HN(n){return n>AN?n*n*n:PN*(n-NN)}function UN(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function zN(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function GN(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof WN)return new WN(n.h,n.c,n.l,n.opacity);if(n instanceof VN||(n=LN(n)),0===n.a&&0===n.b)return new WN(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*DN;return new WN(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new WN(n,e,t,null==l?1:l)}function WN(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}oN(VN,jN,iN(rN,{brighter:function(n){return new VN(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new VN(this.l-18*(null==n?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,t=isNaN(this.b)?n:n-this.b/200;return new xN(UN(3.1338561*(e=FN*HN(e))-1.6168667*(n=ON*HN(n))-.4906146*(t=MN*HN(t))),UN(-.9787684*e+1.9161415*n+.033454*t),UN(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),oN(WN,GN,iN(rN,{brighter:function(n){return new WN(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new WN(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return LN(this).rgb()}}));var ZN=-.29227,KN=-.90649,XN=1.97294,YN=XN*KN,$N=1.78277*XN,QN=1.78277*ZN- -.14861*KN;function JN(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof nA)return new nA(n.h,n.s,n.l,n.opacity);n instanceof xN||(n=wN(n));var e=n.g/255,t=n.b/255,l=(QN*t+YN*(n.r/255)-$N*e)/(QN+YN-$N),o=t-l,i=(XN*(e-l)-ZN*o)/KN,r=Math.sqrt(i*i+o*o)/(XN*l*(1-l)),a=r?Math.atan2(i,o)*DN-120:NaN;return new nA(a<0?a+360:a,r,l,n.opacity)}(n):new nA(n,e,t,null==l?1:l)}function nA(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function eA(n,e,t,l,o){var i=n*n,r=i*n;return((1-3*n+3*i-r)*e+(4-6*i+3*r)*t+(1+3*n+3*i-3*r)*l+r*o)/6}oN(nA,JN,iN(rN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new nA(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new nA(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*IN,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new xN(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(ZN*l+KN*o)),255*(e+t*(XN*l)),this.opacity)}}));var tA=function(n){var e=n.length-1;return function(t){var l=t<=0?t=0:t>=1?(t=1,e-1):Math.floor(t*e),o=n[l],i=n[l+1];return eA((t-l/e)*e,l>0?n[l-1]:2*o-i,o,i,l<e-1?n[l+2]:2*i-o)}},lA=function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return eA((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}},oA=function(n){return function(){return n}};function iA(n,e){return function(t){return n+t*e}}function rA(n,e){var t=e-n;return t?iA(n,t>180||t<-180?t-360*Math.round(t/360):t):oA(isNaN(n)?e:n)}function aA(n,e){var t=e-n;return t?iA(n,t):oA(isNaN(n)?e:n)}var uA=function n(e){var t=function(n){return 1==(n=+n)?aA:function(e,t){return t-e?function(n,e,t){return n=Math.pow(n,t),e=Math.pow(e,t)-n,t=1/t,function(l){return Math.pow(n+l*e,t)}}(e,t,n):oA(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=SN(n)).r,(e=SN(e)).r),o=t(n.g,e.g),i=t(n.b,e.b),r=aA(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=i(e),n.opacity=r(e),n+""}}return l.gamma=n,l}(1);function sA(n){return function(e){var t,l,o=e.length,i=new Array(o),r=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=SN(e[t]),i[t]=l.r||0,r[t]=l.g||0,a[t]=l.b||0;return i=n(i),r=n(r),a=n(a),l.opacity=1,function(n){return l.r=i(n),l.g=r(n),l.b=a(n),l+""}}}var dA,cA,pA,fA,hA=sA(tA),mA=sA(lA),vA=function(n,e){var t,l=e?e.length:0,o=n?Math.min(l,n.length):0,i=new Array(o),r=new Array(l);for(t=0;t<o;++t)i[t]=SA(n[t],e[t]);for(;t<l;++t)r[t]=e[t];return function(n){for(t=0;t<o;++t)r[t]=i[t](n);return r}},gA=function(n,e){var t=new Date;return e-=n=+n,function(l){return t.setTime(n+e*l),t}},bA=function(n,e){return e-=n=+n,function(t){return n+e*t}},_A=function(n,e){var t,l={},o={};for(t in null!==n&&"object"==typeof n||(n={}),null!==e&&"object"==typeof e||(e={}),e)t in n?l[t]=SA(n[t],e[t]):o[t]=e[t];return function(n){for(t in l)o[t]=l[t](n);return o}},yA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,CA=new RegExp(yA.source,"g"),wA=function(n,e){var t,l,o,i=yA.lastIndex=CA.lastIndex=0,r=-1,a=[],u=[];for(n+="",e+="";(t=yA.exec(n))&&(l=CA.exec(e));)(o=l.index)>i&&(o=e.slice(i,o),a[r]?a[r]+=o:a[++r]=o),(t=t[0])===(l=l[0])?a[r]?a[r]+=l:a[++r]=l:(a[++r]=null,u.push({i:r,x:bA(t,l)})),i=CA.lastIndex;return i<e.length&&(o=e.slice(i),a[r]?a[r]+=o:a[++r]=o),a.length<2?u[0]?function(n){return function(e){return n(e)+""}}(u[0].x):function(n){return function(){return n}}(e):(e=u.length,function(n){for(var t,l=0;l<e;++l)a[(t=u[l]).i]=t.x(n);return a.join("")})},SA=function(n,e){var t,l=typeof e;return null==e||"boolean"===l?oA(e):("number"===l?bA:"string"===l?(t=_N(e))?(e=t,uA):wA:e instanceof _N?uA:e instanceof Date?gA:Array.isArray(e)?vA:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?_A:bA)(n,e)},xA=function(n,e){return e-=n=+n,function(t){return Math.round(n+e*t)}},kA=180/Math.PI,EA={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},TA=function(n,e,t,l,o,i){var r,a,u;return(r=Math.sqrt(n*n+e*e))&&(n/=r,e/=r),(u=n*t+e*l)&&(t-=n*u,l-=e*u),(a=Math.sqrt(t*t+l*l))&&(t/=a,l/=a,u/=a),n*l<e*t&&(n=-n,e=-e,u=-u,r=-r),{translateX:o,translateY:i,rotate:Math.atan2(e,n)*kA,skewX:Math.atan(u)*kA,scaleX:r,scaleY:a}};function RA(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(i,r){var a=[],u=[];return i=n(i),r=n(r),function(n,l,o,i,r,a){if(n!==o||l!==i){var u=r.push("translate(",null,e,null,t);a.push({i:u-4,x:bA(n,o)},{i:u-2,x:bA(l,i)})}else(o||i)&&r.push("translate("+o+e+i+t)}(i.translateX,i.translateY,r.translateX,r.translateY,a,u),function(n,e,t,i){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),i.push({i:t.push(o(t)+"rotate(",null,l)-2,x:bA(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(i.rotate,r.rotate,a,u),function(n,e,t,i){n!==e?i.push({i:t.push(o(t)+"skewX(",null,l)-2,x:bA(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(i.skewX,r.skewX,a,u),function(n,e,t,l,i,r){if(n!==t||e!==l){var a=i.push(o(i)+"scale(",null,",",null,")");r.push({i:a-4,x:bA(n,t)},{i:a-2,x:bA(e,l)})}else 1===t&&1===l||i.push(o(i)+"scale("+t+","+l+")")}(i.scaleX,i.scaleY,r.scaleX,r.scaleY,a,u),i=r=null,function(n){for(var e,t=-1,l=u.length;++t<l;)a[(e=u[t]).i]=e.x(n);return a.join("")}}}var IA=RA((function(n){return"none"===n?EA:(dA||(dA=document.createElement("DIV"),cA=document.documentElement,pA=document.defaultView),dA.style.transform=n,n=pA.getComputedStyle(cA.appendChild(dA),null).getPropertyValue("transform"),cA.removeChild(dA),n=n.slice(7,-1).split(","),TA(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))}),"px, ","px)","deg)"),DA=RA((function(n){return null==n?EA:(fA||(fA=document.createElementNS("http://www.w3.org/2000/svg","g")),fA.setAttribute("transform",n),(n=fA.transform.baseVal.consolidate())?TA((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):EA)}),", ",")",")"),FA=Math.SQRT2;function OA(n){return((n=Math.exp(n))+1/n)/2}var MA=function(n,e){var t,l,o=n[0],i=n[1],r=n[2],a=e[2],u=e[0]-o,s=e[1]-i,d=u*u+s*s;if(d<1e-12)l=Math.log(a/r)/FA,t=function(n){return[o+n*u,i+n*s,r*Math.exp(FA*n*l)]};else{var c=Math.sqrt(d),p=(a*a-r*r+4*d)/(2*r*2*c),f=(a*a-r*r-4*d)/(2*a*2*c),h=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(f*f+1)-f);l=(m-h)/FA,t=function(n){var e,t=n*l,a=OA(h),d=r/(2*c)*(a*(e=FA*t+h,((e=Math.exp(2*e))-1)/(e+1))-function(n){return((n=Math.exp(n))-1/n)/2}(h));return[o+d*u,i+d*s,r*a/OA(FA*t+h)]}}return t.duration=1e3*l,t};function NA(n){return function(e,t){var l=n((e=EN(e)).h,(t=EN(t)).h),o=aA(e.s,t.s),i=aA(e.l,t.l),r=aA(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=i(n),e.opacity=r(n),e+""}}}var AA=NA(rA),PA=NA(aA);function qA(n,e){var t=aA((n=jN(n)).l,(e=jN(e)).l),l=aA(n.a,e.a),o=aA(n.b,e.b),i=aA(n.opacity,e.opacity);return function(e){return n.l=t(e),n.a=l(e),n.b=o(e),n.opacity=i(e),n+""}}function LA(n){return function(e,t){var l=n((e=GN(e)).h,(t=GN(t)).h),o=aA(e.c,t.c),i=aA(e.l,t.l),r=aA(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=i(n),e.opacity=r(n),e+""}}}var jA=LA(rA),VA=LA(aA);function BA(n){return function e(t){function l(e,l){var o=n((e=JN(e)).h,(l=JN(l)).h),i=aA(e.s,l.s),r=aA(e.l,l.l),a=aA(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=i(n),e.l=r(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}var HA,UA,zA=BA(rA),GA=BA(aA),WA=function(n,e){for(var t=new Array(e),l=0;l<e;++l)t[l]=n(l/(e-1));return t},ZA=0,KA=0,XA=0,YA=1e3,$A=0,QA=0,JA=0,nP="object"==typeof performance&&performance.now?performance:Date,eP="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function tP(){return QA||(eP(lP),QA=nP.now()+JA)}function lP(){QA=0}function oP(){this._call=this._time=this._next=null}function iP(n,e,t){var l=new oP;return l.restart(n,e,t),l}function rP(){QA=($A=nP.now())+JA,ZA=KA=0;try{!function(){tP(),++ZA;for(var n,e=HA;e;)(n=QA-e._time)>=0&&e._call.call(null,n),e=e._next;--ZA}()}finally{ZA=0,function(){for(var n,e,t=HA,l=1/0;t;)t._call?(l>t._time&&(l=t._time),n=t,t=t._next):(e=t._next,t._next=null,t=n?n._next=e:HA=e);UA=n,uP(l)}(),QA=0}}function aP(){var n=nP.now(),e=n-$A;e>YA&&(JA-=e,$A=n)}function uP(n){ZA||(KA&&(KA=clearTimeout(KA)),n-QA>24?(n<1/0&&(KA=setTimeout(rP,n-nP.now()-JA)),XA&&(XA=clearInterval(XA))):(XA||($A=nP.now(),XA=setInterval(aP,YA)),ZA=1,eP(rP)))}oP.prototype=iP.prototype={constructor:oP,restart:function(n,e,t){if("function"!=typeof n)throw new TypeError("callback is not a function");t=(null==t?tP():+t)+(null==e?0:+e),this._next||UA===this||(UA?UA._next=this:HA=this,UA=this),this._call=n,this._time=t,uP()},stop:function(){this._call&&(this._call=null,this._time=1/0,uP())}};var sP=function(n,e,t){var l=new oP;return l.restart((function(t){l.stop(),n(t+e)}),e=null==e?0:+e,t),l},dP=$O("start","end","interrupt"),cP=[],pP=0,fP=1,hP=2,mP=3,vP=4,gP=5,bP=6,_P=function(n,e,t,l,o,i){var r=n.__transition;if(r){if(t in r)return}else n.__transition={};!function(n,e,t){var l,o=n.__transition;function i(u){var s,d,c,p;if(t.state!==fP)return a();for(s in o)if((p=o[s]).name===t.name){if(p.state===mP)return sP(i);p.state===vP?(p.state=bP,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete o[s]):+s<e&&(p.state=bP,p.timer.stop(),delete o[s])}if(sP((function(){t.state===mP&&(t.state=vP,t.timer.restart(r,t.delay,t.time),r(u))})),t.state=hP,t.on.call("start",n,n.__data__,t.index,t.group),t.state===hP){for(t.state=mP,l=new Array(c=t.tween.length),s=0,d=-1;s<c;++s)(p=t.tween[s].value.call(n,n.__data__,t.index,t.group))&&(l[++d]=p);l.length=d+1}}function r(e){for(var o=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(a),t.state=gP,1),i=-1,r=l.length;++i<r;)l[i].call(null,o);t.state===gP&&(t.on.call("end",n,n.__data__,t.index,t.group),a())}function a(){for(var l in t.state=bP,t.timer.stop(),delete o[e],o)return;delete n.__transition}o[e]=t,t.timer=iP((function(n){t.state=fP,t.timer.restart(i,t.delay,t.time),t.delay<=n&&i(n-t.delay)}),0,t.time)}(n,t,{name:e,index:l,group:o,on:dP,tween:cP,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:pP})};function yP(n,e){var t=wP(n,e);if(t.state>pP)throw new Error("too late; already scheduled");return t}function CP(n,e){var t=wP(n,e);if(t.state>hP)throw new Error("too late; already started");return t}function wP(n,e){var t=n.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var SP=function(n,e){var t,l,o,i=n.__transition,r=!0;if(i){for(o in e=null==e?null:e+"",i)(t=i[o]).name===e?(l=t.state>hP&&t.state<gP,t.state=bP,t.timer.stop(),l&&t.on.call("interrupt",n,n.__data__,t.index,t.group),delete i[o]):r=!1;r&&delete n.__transition}};function xP(n,e){var t,l;return function(){var o=CP(this,n),i=o.tween;if(i!==t)for(var r=0,a=(l=t=i).length;r<a;++r)if(l[r].name===e){(l=l.slice()).splice(r,1);break}o.tween=l}}function kP(n,e,t){var l,o;if("function"!=typeof t)throw new Error;return function(){var i=CP(this,n),r=i.tween;if(r!==l){o=(l=r).slice();for(var a={name:e,value:t},u=0,s=o.length;u<s;++u)if(o[u].name===e){o[u]=a;break}u===s&&o.push(a)}i.tween=o}}function EP(n,e,t){var l=n._id;return n.each((function(){var n=CP(this,l);(n.value||(n.value={}))[e]=t.apply(this,arguments)})),function(n){return wP(n,l).value[e]}}var TP=function(n,e){var t;return("number"==typeof e?bA:e instanceof _N?uA:(t=_N(e))?(e=t,uA):wA)(n,e)};function RP(n){return function(){this.removeAttribute(n)}}function IP(n){return function(){this.removeAttributeNS(n.space,n.local)}}function DP(n,e,t){var l,o;return function(){var i=this.getAttribute(n);return i===t?null:i===l?o:o=e(l=i,t)}}function FP(n,e,t){var l,o;return function(){var i=this.getAttributeNS(n.space,n.local);return i===t?null:i===l?o:o=e(l=i,t)}}function OP(n,e,t){var l,o,i;return function(){var r,a=t(this);if(null!=a)return(r=this.getAttribute(n))===a?null:r===l&&a===o?i:i=e(l=r,o=a);this.removeAttribute(n)}}function MP(n,e,t){var l,o,i;return function(){var r,a=t(this);if(null!=a)return(r=this.getAttributeNS(n.space,n.local))===a?null:r===l&&a===o?i:i=e(l=r,o=a);this.removeAttributeNS(n.space,n.local)}}function NP(n,e){function t(){var t=this,l=e.apply(t,arguments);return l&&function(e){t.setAttributeNS(n.space,n.local,l(e))}}return t._value=e,t}function AP(n,e){function t(){var t=this,l=e.apply(t,arguments);return l&&function(e){t.setAttribute(n,l(e))}}return t._value=e,t}function PP(n,e){return function(){yP(this,n).delay=+e.apply(this,arguments)}}function qP(n,e){return e=+e,function(){yP(this,n).delay=e}}function LP(n,e){return function(){CP(this,n).duration=+e.apply(this,arguments)}}function jP(n,e){return e=+e,function(){CP(this,n).duration=e}}function VP(n,e){if("function"!=typeof e)throw new Error;return function(){CP(this,n).ease=e}}function BP(n,e,t){var l,o,i=function(n){return(n+"").trim().split(/^|\s+/).every((function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||"start"===n}))}(e)?yP:CP;return function(){var r=i(this,n),a=r.on;a!==l&&(o=(l=a).copy()).on(e,t),r.on=o}}var HP=JF.prototype.constructor;function UP(n,e,t){function l(){var l=this,o=e.apply(l,arguments);return o&&function(e){l.style.setProperty(n,o(e),t)}}return l._value=e,l}var zP=0;function GP(n,e,t,l){this._groups=n,this._parents=e,this._name=t,this._id=l}function WP(n){return JF().transition(n)}function ZP(){return++zP}var KP=JF.prototype;GP.prototype=WP.prototype={constructor:GP,select:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=WD(n));for(var l=this._groups,o=l.length,i=new Array(o),r=0;r<o;++r)for(var a,u,s=l[r],d=s.length,c=i[r]=new Array(d),p=0;p<d;++p)(a=s[p])&&(u=n.call(a,a.__data__,p,s))&&("__data__"in a&&(u.__data__=a.__data__),c[p]=u,_P(c[p],e,t,p,c,wP(a,t)));return new GP(i,this._parents,e,t)},selectAll:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=KD(n));for(var l=this._groups,o=l.length,i=[],r=[],a=0;a<o;++a)for(var u,s=l[a],d=s.length,c=0;c<d;++c)if(u=s[c]){for(var p,f=n.call(u,u.__data__,c,s),h=wP(u,t),m=0,v=f.length;m<v;++m)(p=f[m])&&_P(p,e,t,m,f,h);i.push(f),r.push(u)}return new GP(i,r,e,t)},filter:function(n){"function"!=typeof n&&(n=QD(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var i,r=e[o],a=r.length,u=l[o]=[],s=0;s<a;++s)(i=r[s])&&n.call(i,i.__data__,s,r)&&u.push(i);return new GP(l,this._parents,this._name,this._id)},merge:function(n){if(n._id!==this._id)throw new Error;for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),i=new Array(l),r=0;r<o;++r)for(var a,u=e[r],s=t[r],d=u.length,c=i[r]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;r<l;++r)i[r]=e[r];return new GP(i,this._parents,this._name,this._id)},selection:function(){return new HP(this._groups,this._parents)},transition:function(){for(var n=this._name,e=this._id,t=ZP(),l=this._groups,o=l.length,i=0;i<o;++i)for(var r,a=l[i],u=a.length,s=0;s<u;++s)if(r=a[s]){var d=wP(r,e);_P(r,n,t,s,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new GP(l,this._parents,n,t)},call:KP.call,nodes:KP.nodes,node:KP.node,size:KP.size,empty:KP.empty,each:KP.each,on:function(n,e){var t=this._id;return arguments.length<2?wP(this.node(),t).on.on(n):this.each(BP(t,n,e))},attr:function(n,e){var t=BD(n),l="transform"===t?DA:TP;return this.attrTween(n,"function"==typeof e?(t.local?MP:OP)(t,l,EP(this,"attr."+n,e)):null==e?(t.local?IP:RP)(t):(t.local?FP:DP)(t,l,e+""))},attrTween:function(n,e){var t="attr."+n;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;var l=BD(n);return this.tween(t,(l.local?NP:AP)(l,e))},style:function(n,e,t){var l="transform"==(n+="")?IA:TP;return null==e?this.styleTween(n,function(n,e){var t,l,o;return function(){var i=mF(this,n),r=(this.style.removeProperty(n),mF(this,n));return i===r?null:i===t&&r===l?o:o=e(t=i,l=r)}}(n,l)).on("end.style."+n,function(n){return function(){this.style.removeProperty(n)}}(n)):this.styleTween(n,"function"==typeof e?function(n,e,t){var l,o,i;return function(){var r=mF(this,n),a=t(this);return null==a&&(this.style.removeProperty(n),a=mF(this,n)),r===a?null:r===l&&a===o?i:i=e(l=r,o=a)}}(n,l,EP(this,"style."+n,e)):function(n,e,t){var l,o;return function(){var i=mF(this,n);return i===t?null:i===l?o:o=e(l=i,t)}}(n,l,e+""),t)},styleTween:function(n,e,t){var l="style."+(n+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==e)return this.tween(l,null);if("function"!=typeof e)throw new Error;return this.tween(l,UP(n,e,null==t?"":t))},text:function(n){return this.tween("text","function"==typeof n?function(n){return function(){var e=n(this);this.textContent=null==e?"":e}}(EP(this,"text",n)):function(n){return function(){this.textContent=n}}(null==n?"":n+""))},remove:function(){return this.on("end.remove",(n=this._id,function(){var e=this.parentNode;for(var t in this.__transition)if(+t!==n)return;e&&e.removeChild(this)}));var n},tween:function(n,e){var t=this._id;if(n+="",arguments.length<2){for(var l,o=wP(this.node(),t).tween,i=0,r=o.length;i<r;++i)if((l=o[i]).name===n)return l.value;return null}return this.each((null==e?xP:kP)(t,n,e))},delay:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?PP:qP)(e,n)):wP(this.node(),e).delay},duration:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?LP:jP)(e,n)):wP(this.node(),e).duration},ease:function(n){var e=this._id;return arguments.length?this.each(VP(e,n)):wP(this.node(),e).ease}};var XP={time:null,delay:0,duration:250,ease:function(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}};function YP(n,e){for(var t;!(t=n.__transition)||!(t=t[e]);)if(!(n=n.parentNode))return XP.time=tP(),XP;return t}JF.prototype.interrupt=function(n){return this.each((function(){SP(this,n)}))},JF.prototype.transition=function(n){var e,t;n instanceof GP?(e=n._id,n=n._name):(e=ZP(),(t=XP).time=tP(),n=null==n?null:n+"");for(var l=this._groups,o=l.length,i=0;i<o;++i)for(var r,a=l[i],u=a.length,s=0;s<u;++s)(r=a[s])&&_P(r,n,e,s,a,t||YP(r,e));return new GP(l,this._parents,n,e)};var $P=[null],QP=function(n,e){var t,l,o=n.__transition;if(o)for(l in e=null==e?null:e+"",o)if((t=o[l]).state>fP&&t.name===e)return new GP([[n]],$P,e,+l);return null},JP=function(n){return function(){return n}};function nq(n,e,t){this.target=n,this.type=e,this.transform=t}function eq(n,e,t){this.k=n,this.x=e,this.y=t}eq.prototype={constructor:eq,scale:function(n){return 1===n?this:new eq(this.k*n,this.x,this.y)},translate:function(n,e){return 0===n&0===e?this:new eq(this.k,this.x+this.k*n,this.y+this.k*e)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var tq=new eq(1,0,0);function lq(n){return n.__zoom||tq}function oq(){VF.stopImmediatePropagation()}lq.prototype=eq.prototype;var iq=function(){VF.preventDefault(),VF.stopImmediatePropagation()};function rq(){return!VF.ctrlKey&&!VF.button}function aq(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n).hasAttribute("viewBox")?[[(n=n.viewBox.baseVal).x,n.y],[n.x+n.width,n.y+n.height]]:[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]:[[0,0],[n.clientWidth,n.clientHeight]]}function uq(){return this.__zoom||tq}function sq(){return-VF.deltaY*(1===VF.deltaMode?.05:VF.deltaMode?1:.002)}function dq(){return navigator.maxTouchPoints||"ontouchstart"in this}function cq(n,e,t){var l=n.invertX(e[0][0])-t[0][0],o=n.invertX(e[1][0])-t[1][0],i=n.invertY(e[0][1])-t[0][1],r=n.invertY(e[1][1])-t[1][1];return n.translate(o>l?(l+o)/2:Math.min(0,l)||Math.max(0,o),r>i?(i+r)/2:Math.min(0,i)||Math.max(0,r))}var pq=function(){var n,e,t=rq,l=aq,o=cq,i=sq,r=dq,a=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],s=250,d=MA,c=$O("start","zoom","end"),p=500,f=150,h=0;function m(n){n.property("__zoom",uq).on("wheel.zoom",w).on("mousedown.zoom",S).on("dblclick.zoom",x).filter(r).on("touchstart.zoom",k).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",T).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(n,e){return(e=Math.max(a[0],Math.min(a[1],e)))===n.k?n:new eq(e,n.x,n.y)}function g(n,e,t){var l=e[0]-t[0]*n.k,o=e[1]-t[1]*n.k;return l===n.x&&o===n.y?n:new eq(n.k,l,o)}function b(n){return[(+n[0][0]+ +n[1][0])/2,(+n[0][1]+ +n[1][1])/2]}function _(n,e,t){n.on("start.zoom",(function(){y(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){y(this,arguments).end()})).tween("zoom",(function(){var n=this,o=arguments,i=y(n,o),r=l.apply(n,o),a=t||b(r),u=Math.max(r[1][0]-r[0][0],r[1][1]-r[0][1]),s=n.__zoom,c="function"==typeof e?e.apply(n,o):e,p=d(s.invert(a).concat(u/s.k),c.invert(a).concat(u/c.k));return function(n){if(1===n)n=c;else{var e=p(n),t=u/e[2];n=new eq(t,a[0]-e[0]*t,a[1]-e[1]*t)}i.zoom(null,n)}}))}function y(n,e,t){return!t&&n.__zooming||new C(n,e)}function C(n,e){this.that=n,this.args=e,this.active=0,this.extent=l.apply(n,e),this.taps=0}function w(){if(t.apply(this,arguments)){var n=y(this,arguments),e=this.__zoom,l=Math.max(a[0],Math.min(a[1],e.k*Math.pow(2,i.apply(this,arguments)))),r=aO(this);e.k!==l&&(n.wheel?(n.mouse[0][0]===r[0]&&n.mouse[0][1]===r[1]||(n.mouse[1]=e.invert(n.mouse[0]=r)),clearTimeout(n.wheel)):(n.mouse=[r,e.invert(r)],SP(this),n.start()),iq(),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",o(g(v(e,l),n.mouse[0],n.mouse[1]),n.extent,u)))}}function S(){if(!e&&t.apply(this,arguments)){var n=y(this,arguments,!0),l=nO(VF.view).on("mousemove.zoom",(function(){if(iq(),!n.moved){var e=VF.clientX-r,t=VF.clientY-a;n.moved=e*e+t*t>h}n.zoom("mouse",o(g(n.that.__zoom,n.mouse[0]=aO(n.that),n.mouse[1]),n.extent,u))}),!0).on("mouseup.zoom",(function(){l.on("mousemove.zoom mouseup.zoom",null),eM(VF.view,n.moved),iq(),n.end()}),!0),i=aO(this),r=VF.clientX,a=VF.clientY;nM(VF.view),oq(),n.mouse=[i,this.__zoom.invert(i)],SP(this),n.start()}}function x(){if(t.apply(this,arguments)){var n=this.__zoom,e=aO(this),i=n.invert(e),r=o(g(v(n,n.k*(VF.shiftKey?.5:2)),e,i),l.apply(this,arguments),u);iq(),s>0?nO(this).transition().duration(s).call(_,r,e):nO(this).call(m.transform,r)}}function k(){if(t.apply(this,arguments)){var e,l,o,i,r=VF.touches,a=r.length,u=y(this,arguments,VF.changedTouches.length===a);for(oq(),l=0;l<a;++l)i=[i=sO(this,r,(o=r[l]).identifier),this.__zoom.invert(i),o.identifier],u.touch0?u.touch1||(u.touch1=i,u.taps=0):(u.touch0=i,e=!0,u.taps=1+!!n);n&&(n=clearTimeout(n)),e&&(u.taps<2&&(n=setTimeout((function(){n=null}),p)),SP(this),u.start())}}function E(){if(this.__zooming){var e,t,l,i,r=y(this,arguments),a=VF.changedTouches,s=a.length;for(iq(),n&&(n=clearTimeout(n)),r.taps=0,e=0;e<s;++e)l=sO(this,a,(t=a[e]).identifier),r.touch0&&r.touch0[2]===t.identifier?r.touch0[0]=l:r.touch1&&r.touch1[2]===t.identifier&&(r.touch1[0]=l);if(t=r.that.__zoom,r.touch1){var d=r.touch0[0],c=r.touch0[1],p=r.touch1[0],f=r.touch1[1],h=(h=p[0]-d[0])*h+(h=p[1]-d[1])*h,m=(m=f[0]-c[0])*m+(m=f[1]-c[1])*m;t=v(t,Math.sqrt(h/m)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],i=[(c[0]+f[0])/2,(c[1]+f[1])/2]}else{if(!r.touch0)return;l=r.touch0[0],i=r.touch0[1]}r.zoom("touch",o(g(t,l,i),r.extent,u))}}function T(){if(this.__zooming){var n,t,l=y(this,arguments),o=VF.changedTouches,i=o.length;for(oq(),e&&clearTimeout(e),e=setTimeout((function(){e=null}),p),n=0;n<i;++n)t=o[n],l.touch0&&l.touch0[2]===t.identifier?delete l.touch0:l.touch1&&l.touch1[2]===t.identifier&&delete l.touch1;if(l.touch1&&!l.touch0&&(l.touch0=l.touch1,delete l.touch1),l.touch0)l.touch0[1]=this.__zoom.invert(l.touch0[0]);else if(l.end(),2===l.taps){var r=nO(this).on("dblclick.zoom");r&&r.apply(this,arguments)}}}return m.transform=function(n,e){var t=n.selection?n.selection():n;t.property("__zoom",uq),n!==t?_(n,e):t.interrupt().each((function(){y(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()}))},m.scaleBy=function(n,e){m.scaleTo(n,(function(){var n=this.__zoom.k,t="function"==typeof e?e.apply(this,arguments):e;return n*t}))},m.scaleTo=function(n,e){m.transform(n,(function(){var n=l.apply(this,arguments),t=this.__zoom,i=b(n),r=t.invert(i),a="function"==typeof e?e.apply(this,arguments):e;return o(g(v(t,a),i,r),n,u)}))},m.translateBy=function(n,e,t){m.transform(n,(function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof t?t.apply(this,arguments):t),l.apply(this,arguments),u)}))},m.translateTo=function(n,e,t){m.transform(n,(function(){var n=l.apply(this,arguments),i=this.__zoom,r=b(n);return o(tq.translate(r[0],r[1]).scale(i.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof t?-t.apply(this,arguments):-t),n,u)}))},C.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(n,e){return this.mouse&&"mouse"!==n&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==n&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==n&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(n){WF(new nq(m,n,this.that.__zoom),c.apply,c,[n,this.that,this.args])}},m.wheelDelta=function(n){return arguments.length?(i="function"==typeof n?n:JP(+n),m):i},m.filter=function(n){return arguments.length?(t="function"==typeof n?n:JP(!!n),m):t},m.touchable=function(n){return arguments.length?(r="function"==typeof n?n:JP(!!n),m):r},m.extent=function(n){return arguments.length?(l="function"==typeof n?n:JP([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),m):l},m.scaleExtent=function(n){return arguments.length?(a[0]=+n[0],a[1]=+n[1],m):[a[0],a[1]]},m.translateExtent=function(n){return arguments.length?(u[0][0]=+n[0][0],u[1][0]=+n[1][0],u[0][1]=+n[0][1],u[1][1]=+n[1][1],m):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},m.constrain=function(n){return arguments.length?(o=n,m):o},m.duration=function(n){return arguments.length?(s=+n,m):s},m.interpolate=function(n){return arguments.length?(d=n,m):d},m.on=function(){var n=c.on.apply(c,arguments);return n===c?m:n},m.clickDistance=function(n){return arguments.length?(h=(n=+n)*n,m):Math.sqrt(h)},m},fq=function(){function n(n){this.context=n,this.enabled=!1,this.needsDeactivate=!1,this.needsActivate=!1,this.zoom=pq().scaleExtent([.5,8])}return n.prototype.setEnabled=function(n){this.enabled!=n&&(n?this.needsActivate=!0:this.needsDeactivate=!0),this.enabled=n},n.prototype.draw=function(n,e){this.needsActivate&&(this.activate(n),this.needsActivate=!1),this.needsDeactivate&&(this.deactivate(n),this.needsDeactivate=!1)},n.prototype.activate=function(n){var e=this;this.zoom.filter((function(){return"mousedown"===VF.type})),this.zoom.on("zoom",(function(){var t=n.select("g.canvas"),l=VF;t.attr("transform",(function(){return e.context.transformation.x=l.transform.x,e.context.transformation.y=l.transform.y,e.context.transformation.k=l.transform.k,"translate("+(e.context.getZeroZeroTransformationPoint().x+e.context.transformation.x)+", "+(e.context.getZeroZeroTransformationPoint().y+e.context.transformation.y)+") scale("+e.context.transformation.k+")"}))})),n.call(this.zoom)},n.prototype.deactivate=function(n){n.on("mousedown.zoom",null),this.zoom.on("zoom",null)},n}(),hq=function(){function n(n,e,t,l,o,i){this.nodesWidget=n,this.drawingLineTool=e,this.selectionTool=t,this.movingTool=l,this.layersWidget=o,this.layersManager=i}return n.prototype.getNodesWidget=function(){return this.nodesWidget},n.prototype.getDrawingLineTool=function(){return this.drawingLineTool},n.prototype.getSelectionTool=function(){return this.selectionTool},n.prototype.connect=function(n,e){this.drawingLineTool.connect(n,e)},n.prototype.draw=function(n,e){n.attr("width",e.size.width).attr("height",e.size.height);var t=n.selectAll("g.canvas").data([e]),l=t.enter().append("g").attr("class","canvas");t.merge(l).attr("transform",(function(n){return"translate("+(n.getZeroZeroTransformationPoint().x+n.transformation.x)+", "+(n.getZeroZeroTransformationPoint().y+n.transformation.y)+") scale("+n.transformation.k+")"})),this.layersWidget.draw(t,this.layersManager.getLayersList()),this.drawingLineTool.draw(n,e),this.selectionTool.draw(n,e),this.movingTool.draw(n,e)},n.prototype.disconnect=function(n){n.empty&&!n.empty()&&n.selectAll("*").remove()},n}(),mq=o["ɵcrt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function vq(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{svgRef:0}),o["ɵqud"](671088640,2,{textEditor:0}),(n()(),o["ɵeld"](2,0,[[1,0],["svg",1]],null,12,":svg:svg",[["class","map"],["id","map"],["movingCanvas",""],["preserveAspectRatio","none"],["zoomingCanvas",""]],null,[[null,"mousedown"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,3).onMouseDown(t)&&l),l}),null,null)),o["ɵdid"](3,212992,null,0,cO,[o.ElementRef,pO,vO],null,null),o["ɵdid"](4,212992,null,0,gO,[o.ElementRef,pO,vO,bO],null,null),(n()(),o["ɵeld"](5,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,0,":svg:feColorMatrix",[["id","feGrayscale"],["type","saturate"],["values","0"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,1,":svg:pattern",[["id","gridDrawing"],["patternUnits","userSpaceOnUse"]],[[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["ɵeld"](9,0,null,null,0,":svg:path",[["fill","none"],["stroke","silver"]],[[1,"d",0],[1,"stroke-width",0]],null,null,null,null)),(n()(),o["ɵeld"](10,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,null,1,":svg:pattern",[["id","gridNode"],["patternUnits","userSpaceOnUse"]],[[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,0,":svg:path",[["fill","none"],["stroke","DarkSlateGray"]],[[1,"d",0],[1,"stroke-width",0]],null,null,null,null)),(n()(),o["ɵeld"](13,0,null,null,0,":svg:rect",[["fill","url(#gridDrawing)"],["height","100%"],["width","100%"]],null,null,null,null,null)),(n()(),o["ɵeld"](14,0,null,null,0,":svg:rect",[["fill","url(#gridNode)"],["height","100%"],["width","100%"]],null,null,null,null,null)),(n()(),o["ɵeld"](15,0,null,null,1,"app-drawing-adding",[],null,null,null,OO,FO)),o["ɵdid"](16,245760,null,0,IO,[DO,vO],{svg:[0,"svg"]},null),(n()(),o["ɵeld"](17,0,null,null,1,"app-drawing-resizing",[],null,null,null,gM,vM)),o["ɵdid"](18,245760,null,0,MO,[mM,DO],null,null),(n()(),o["ɵeld"](19,0,null,null,1,"app-selection-control",[],null,null,null,xM,SM)),o["ɵdid"](20,245760,null,0,bM,[_M,yM,CM,wM],null,null),(n()(),o["ɵeld"](21,0,null,null,1,"app-selection-select",[],null,null,null,RM,TM)),o["ɵdid"](22,245760,null,0,kM,[wM,EM],null,null),(n()(),o["ɵeld"](23,0,null,null,1,"app-text-editor",[],null,null,null,LM,qM)),o["ɵdid"](24,245760,[[2,4],["textEditor",4]],0,IM,[DO,DM,vO,o.Renderer2,bO,FM,MM,NM,wM,PM,o.NgZone],{svg:[0,"svg"],server:[1,"server"]},null),(n()(),o["ɵeld"](25,0,null,null,1,"app-draggable-selection",[],null,null,null,QM,$M)),o["ɵdid"](26,245760,null,0,UM,[zM,mM,GM,WM,ZM,wM,KM,DO,yM,XM,YM],{svg:[0,"svg"]},null)],(function(n,e){var t=e.component;n(e,3,0),n(e,4,0),n(e,16,0,o["ɵnov"](e,2)),n(e,18,0),n(e,20,0),n(e,22,0),n(e,24,0,o["ɵnov"](e,2),t.server),n(e,26,0,o["ɵnov"](e,2))}),(function(n,e){var t=e.component;n(e,8,0,o["ɵinlineInterpolate"](1,"",t.project.drawing_grid_size,""),o["ɵinlineInterpolate"](1,"",t.project.drawing_grid_size,"")),n(e,9,0,o["ɵinlineInterpolate"](2,"M ",t.project.drawing_grid_size," 0 L 0 0 0 ",t.project.drawing_grid_size,""),o["ɵinlineInterpolate"](1,"",t.gridVisibility,"")),n(e,11,0,o["ɵinlineInterpolate"](1,"",t.project.grid_size,""),o["ɵinlineInterpolate"](1,"",t.project.grid_size,"")),n(e,12,0,o["ɵinlineInterpolate"](2,"M ",t.project.grid_size," 0 L 0 0 0 ",t.project.grid_size,""),o["ɵinlineInterpolate"](1,"",t.gridVisibility,""))}))}var gq=function(){function n(n,e,t,l){this.elementRef=n,this.ref=e,this.sanitizer=t,this.cssFixer=l,this.label={x:0,y:0,text:"",style:"",rotation:0},this.borderSize=5,this.textWidth=0,this.textHeight=0}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"x",{set:function(n){this.label.x=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"y",{set:function(n){this.label.y=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.label.text},set:function(n){this.label.text=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"style",{set:function(n){this.label.style=this.cssFixer.fix(n),this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rotation",{set:function(n){this.label.rotation=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sanitizedStyle",{get:function(){return this.sanitizer.bypassSecurityTrustStyle(this.label.style)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectX",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectY",{get:function(){return-this.textRef.nativeElement.getBBox().height-this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectWidth",{get:function(){return this.textRef.nativeElement.getBBox().width+2*this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectHeight",{get:function(){return this.textRef.nativeElement.getBBox().height+this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=this.elementRef.nativeElement.getBBox(),e=this.label.x,t=this.label.y+n.height;return"translate("+e+", "+t+") rotate("+this.label.rotation+", "+e+", "+t+")"},enumerable:!0,configurable:!0}),n}(),bq=function(){function n(){}return n.prototype.fix=function(n){var e=AM.parse(n,{context:"declarationList"});return e.children.forEach((function(n){"font-size"===n.property&&n.value.children.forEach((function(n){if("Number"===n.type){var e=n.value.toString();e.indexOf("pt")>=0||e.indexOf("px")>=0||(n.value=e+"pt")}}))})),AM.generate(e)},n}(),_q=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function yq(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{textRef:0}),(n()(),o["ɵeld"](1,0,null,null,3,":svg:g",[["class","text_container"],["height","100"],["width","100"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,0,":svg:rect",[["fill","none"],["stroke","black"],["stroke-dasharray","3,3"],["stroke-width","0.5"]],[[1,"x",0],[1,"y",0],[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["ɵeld"](3,0,[[1,0],["textSvg",1]],null,1,":svg:text",[["class","interface_label"]],[[1,"style",2],[1,"x",0],[1,"y",0]],null,null,null,null)),(n()(),o["ɵted"](4,null,[" "," "]))],null,(function(n,e){var t=e.component;n(e,1,0,t.transform),n(e,2,0,t.rectX,t.rectY,t.rectWidth,t.rectHeight),n(e,3,0,t.sanitizedStyle,t.borderSize,0-t.borderSize),n(e,4,0,t.text)}))}var Cq=function(){function n(n,e){this.element=n,this.ref=e,this.data={status:"",path:null,direction:null,d:null}}return Object.defineProperty(n.prototype,"status",{get:function(){return this.data.status},set:function(n){this.data.status=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return this.data.path},set:function(n){this.data.path=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"direction",{get:function(){return this.data.direction},set:function(n){this.data.direction=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"d",{set:function(n){this.data.d!==n&&(this.data.d=n,this.ref.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sourceStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(45):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"targetStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(this.path.nativeElement.getTotalLength()-45):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"point",{get:function(){return"source"===this.direction?this.sourceStatusPoint:this.targetStatusPoint},enumerable:!0,configurable:!0}),n.STOPPED_STATUS_RECT_WIDTH=10,n}(),wq=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Sq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:circle",[["class","status_started"],["fill","#2ecc71"],["r","6"]],[[1,"cx",0],[1,"cy",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.point.x,t.point.y)}))}function xq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:rect",[["class","status_stopped"],["fill","red"],["height","10"],["r","6"],["width","10"]],[[1,"x",0],[1,"y",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.point.x-5,t.point.y-5)}))}function kq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,":svg:g",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Sq)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,xq)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,2,0,"started"==t.status),n(e,4,0,"stopped"==t.status)}),null)}function Eq(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,kq)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.status&&t.point&&t.direction)}),null)}var Tq=Math.PI,Rq=2*Tq,Iq=Rq-1e-6;function Dq(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Fq(){return new Dq}Dq.prototype=Fq.prototype={constructor:Dq,moveTo:function(n,e){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,e){this._+="L"+(this._x1=+n)+","+(this._y1=+e)},quadraticCurveTo:function(n,e,t,l){this._+="Q"+ +n+","+ +e+","+(this._x1=+t)+","+(this._y1=+l)},bezierCurveTo:function(n,e,t,l,o,i){this._+="C"+ +n+","+ +e+","+ +t+","+ +l+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(n,e,t,l,o){var i=this._x1,r=this._y1,a=(t=+t)-(n=+n),u=(l=+l)-(e=+e),s=i-n,d=r-e,c=s*s+d*d;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=n)+","+(this._y1=e);else if(c>1e-6)if(Math.abs(d*a-u*s)>1e-6&&o){var p=t-i,f=l-r,h=a*a+u*u,m=p*p+f*f,v=Math.sqrt(h),g=Math.sqrt(c),b=o*Math.tan((Tq-Math.acos((h+c-m)/(2*v*g)))/2),_=b/g,y=b/v;Math.abs(_-1)>1e-6&&(this._+="L"+(n+_*s)+","+(e+_*d)),this._+="A"+o+","+o+",0,0,"+ +(d*p>s*f)+","+(this._x1=n+y*a)+","+(this._y1=e+y*u)}else this._+="L"+(this._x1=n)+","+(this._y1=e)},arc:function(n,e,t,l,o,i){n=+n,e=+e,i=!!i;var r=(t=+t)*Math.cos(l),a=t*Math.sin(l),u=n+r,s=e+a,d=1^i,c=i?l-o:o-l;if(t<0)throw new Error("negative radius: "+t);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-s)>1e-6)&&(this._+="L"+u+","+s),t&&(c<0&&(c=c%Rq+Rq),c>Iq?this._+="A"+t+","+t+",0,1,"+d+","+(n-r)+","+(e-a)+"A"+t+","+t+",0,1,"+d+","+(this._x1=u)+","+(this._y1=s):c>1e-6&&(this._+="A"+t+","+t+",0,"+ +(c>=Tq)+","+d+","+(this._x1=n+t*Math.cos(o))+","+(this._y1=e+t*Math.sin(o))))},rect:function(n,e,t,l){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+e)+"h"+ +t+"v"+ +l+"h"+-t+"Z"},toString:function(){return this._}};var Oq=Fq,Mq=function(){function n(){}return n.prototype.d=function(n){var e=[[n.source.x+n.source.width/2,n.source.y+n.source.height/2],[n.target.x+n.target.width/2,n.target.y+n.target.height/2]],t=Oq();return t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.toString()},n}(),Nq=function(){function n(){}return n.prototype.linkToPoints=function(n){var e={x:n.source.x+n.source.width/2,y:n.source.y+n.source.height/2},t={x:n.target.x+n.target.width/2,y:n.target.y+n.target.height/2},l=t.x-e.x,o=t.y-e.y,i=Math.atan2(o,l),r=-Math.PI/4,a=[Math.cos(i+r),Math.sin(i+r)];return[[e.x,e.y],[e.x+l/2+15*a[0],e.y+o/2+15*a[1]],[t.x-l/2-15*a[0],t.y-o/2-15*a[1]],[t.x,t.y]]},n.prototype.d=function(n){var e=this.linkToPoints(n),t=Oq();return t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.lineTo(e[2][0],e[2][1]),t.lineTo(e[3][0],e[3][1]),t.toString()},n}(),Aq=function(){function n(n,e){this.multiLinkCalculatorHelper=n,this.ref=e,this.ethernetLinkStrategy=new Mq,this.serialLinkStrategy=new Nq}return n.prototype.ngOnInit=function(){this.ref.detectChanges()},n.prototype.ngOnDestroy=function(){},Object.defineProperty(n.prototype,"strategy",{get:function(){return"serial"===this.link.linkType?this.serialLinkStrategy:this.ethernetLinkStrategy},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=this.multiLinkCalculatorHelper.linkTranslation(this.link.distance,this.link.source,this.link.target);return"translate ("+n.dx+", "+n.dy+")"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.strategy.d(this.link)},enumerable:!0,configurable:!0}),n}(),Pq=function(){function n(){this.LINK_WIDTH=2}return n.prototype.linkTranslation=function(n,e,t){var l,o,i=t.y-e.y;if(0===i)l=0,o=n;else{var r=Math.atan((t.x-e.x)/i);l=-n*Math.cos(r),o=n*Math.sin(r)}return{dx:l,dy:o}},n.prototype.assignDataToLinks=function(n){var e=this,t={};n.forEach((function(n,l){var o=n.source.id,i=n.target.id,r=o<i?o+","+i:i+","+o,a=1;r in t?a=t[r].push(l):t[r]=[l],n.distance=a%2==0?a*e.LINK_WIDTH:(1-a)*e.LINK_WIDTH}))},n}(),qq=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Lq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,[[1,0],["path",1]],null,0,":svg:path",[["class","ethernet_link"],["stroke","#000"],["stroke-width","2"]],[[1,"d",0]],null,null,null,null))],null,(function(n,e){n(e,0,0,e.component.d)}))}function jq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,[[1,0],["path",1]],null,0,":svg:path",[["class","serial_link"],["fill","none"],["stroke","#B22222"],["stroke-width","2"]],[[1,"d",0]],null,null,null,null))],null,(function(n,e){n(e,0,0,e.component.d)}))}function Vq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,yq,_q)),o["ɵdid"](1,114688,null,0,gq,[o.ElementRef,o.ChangeDetectorRef,rn,bq],{x:[0,"x"],y:[1,"y"],text:[2,"text"],style:[3,"style"],rotation:[4,"rotation"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.link.source.x+t.link.nodes[0].label.x,t.link.source.y+t.link.nodes[0].label.y,t.link.nodes[0].label.text,t.link.nodes[0].label.style,t.link.nodes[0].label.rotation)}),null)}function Bq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,yq,_q)),o["ɵdid"](1,114688,null,0,gq,[o.ElementRef,o.ChangeDetectorRef,rn,bq],{x:[0,"x"],y:[1,"y"],text:[2,"text"],style:[3,"style"],rotation:[4,"rotation"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.link.target.x+t.link.nodes[1].label.x,t.link.target.y+t.link.nodes[1].label.y,t.link.nodes[1].label.text,t.link.nodes[1].label.style,t.link.nodes[1].label.rotation)}),null)}function Hq(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{path:0}),(n()(),o["ɵeld"](1,0,null,null,12,":svg:g",[["class","link"]],[[1,"link_id",0],[1,"map-source",0],[1,"map-target",0],[1,"transform",0]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,Lq)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,jq)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](6,0,null,null,1,":svg:g",[],null,null,null,Eq,wq)),o["ɵdid"](7,49152,null,0,Cq,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["ɵeld"](8,0,null,null,1,":svg:g",[],null,null,null,Eq,wq)),o["ɵdid"](9,49152,null,0,Cq,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Vq)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,Bq)),o["ɵdid"](13,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0,"ethernet"==t.link.linkType),n(e,5,0,"serial"==t.link.linkType),n(e,7,0,t.link.source.status,t.path,"source",t.d),n(e,9,0,t.link.target.status,t.path,"target",t.d),n(e,11,0,t.showInterfaceLabels),n(e,13,0,t.showInterfaceLabels)}),(function(n,e){var t=e.component;n(e,1,0,t.link.id,t.link.source.id,t.link.target.id,t.transform)}))}var Uq=function(){return function(n,e,t,l){this.x=n,this.y=e,this.dx=t,this.dy=l}}(),zq=function(){function n(n){this.elementRef=n,this.dragging=new o.EventEmitter,this.dragged=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var n=this,e=In.a.fromEvent(this.elementRef.nativeElement,"mousedown").do((function(n){return n.preventDefault()}));e.subscribe((function(e){n.posX=n.item.x,n.posY=n.item.y,n.startX=e.clientX,n.startY=e.clientY}));var t=In.a.fromEvent(document,"mouseup").do((function(n){n.preventDefault()})),l=In.a.fromEvent(document,"mousemove").do((function(n){return n.stopPropagation()})),o=In.a.fromEvent(document,"scroll").startWith({}),i=In.a.combineLatest(l,o),r=e.mergeMap((function(e){return i.map((function(n){return n[0]})).do((function(e){var t=n.startX-e.clientX,l=n.startY-e.clientY;n.item.x=Math.round(n.posX-t),n.item.y=Math.round(n.posY-l),n.dragging.emit(new Uq(n.item.x,n.item.y,-t,-l))})).skipUntil(t.take(1).do((function(e){var t=n.startX-e.clientX,l=n.startY-e.clientY;n.item.x=Math.round(n.posX-t),n.item.y=Math.round(n.posY-l),n.dragged.emit(new Uq(n.item.x,n.item.y,-t,-l))}))).take(1)}));this.draggable=r.subscribe((function(n){}))},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},n}(),Gq=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Wq(n){return o["ɵvid"](0,[o["ɵncd"](null,0)],null,null)}var Zq=function(){function n(n,e,t,l,o,i){this.cssFixer=n,this.fontFixer=e,this.sanitizer=t,this.element=l,this.cd=o,this.nodesEventSource=i,this.labelHeight=0}return n.prototype.ngOnInit=function(){},n.prototype.ngOnDestroy=function(){},n.prototype.ngOnChanges=function(n){this.cd.detectChanges()},n.prototype.ngAfterViewInit=function(){this.labelHeight=this.getLabelHeight(),this.cd.detectChanges()},n.prototype.OnDragging=function(n){this.node.x=n.x,this.node.y=n.y,this.cd.detectChanges()},n.prototype.OnDragged=function(n){this.cd.detectChanges(),this.nodesEventSource.dragged.emit(new _O(this.node,n.dx,n.dy))},Object.defineProperty(n.prototype,"symbol",{get:function(){var n=this,e=this.symbols.find((function(e){return e.symbol_id===n.node.symbol}));return e?"data:image/svg+xml;base64,"+btoa(e.raw):"data:image/svg+xml;base64,none"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_style",{get:function(){var n=this.cssFixer.fix(this.node.label.style);return n=this.fontFixer.fixStyles(n),this.sanitizer.bypassSecurityTrustStyle(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_x",{get:function(){return null===this.node.label.x?-this.label.nativeElement.getBBox().width/2:this.node.label.x+n.NODE_LABEL_MARGIN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_y",{get:function(){return this.labelHeight=this.getLabelHeight(),null===this.node.label.x?-this.node.height/2-this.labelHeight:this.node.label.y+this.labelHeight-n.NODE_LABEL_MARGIN},enumerable:!0,configurable:!0}),n.prototype.getLabelHeight=function(){return this.label.nativeElement.getBBox().height},n.NODE_LABEL_MARGIN=3,n}(),Kq=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Xq(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{label:0}),o["ɵqud"](671088640,2,{imageRef:0}),(n()(),o["ɵeld"](2,0,null,null,4,":svg:g",[["class","node"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,":svg:image",[],[[1,"width",0],[1,"height",0],[1,"x",0],[1,"y",0],[1,":xlink:href",0]],[[null,"dragging"],[null,"dragged"]],(function(n,e,t){var l=!0,o=n.component;return"dragging"===e&&(l=!1!==o.OnDragging(t)&&l),"dragged"===e&&(l=!1!==o.OnDragged(t)&&l),l}),Wq,Gq)),o["ɵdid"](4,4440064,[[2,4],["image",4]],0,zq,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["ɵeld"](5,0,[[1,0],["label",1]],null,1,":svg:text",[["class","label"]],[[1,"style",2],[1,"x",0],[1,"y",0]],null,null,null,null)),(n()(),o["ɵted"](6,null,[" "," "]))],(function(n,e){n(e,4,0,e.component.node)}),(function(n,e){var t=e.component;n(e,2,0,"translate("+t.node.x+","+t.node.y+")"),n(e,3,0,t.node.width,t.node.height,0,0,t.symbol),n(e,5,0,t.label_style,t.label_x,t.label_y),n(e,6,0,t.node.label.text)}))}var Yq=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.ellipse.fill_opacity)?this.ellipse.fill_opacity:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.ellipse.stroke_width)?this.ellipse.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.ellipse.stroke_dasharray?this.qtDasharrayFixer.fix(this.ellipse.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),$q=function(){function n(){}return n.prototype.fix=function(e){return e in n.MAPPING?n.MAPPING[e]:e},n.MAPPING={"25, 25":"10, 2","5, 25":"4, 2","5, 25, 25":"5, 5, 1, 5","25, 25, 5, 25, 5":"5, 2, 5, 2, 5"},n}(),Qq=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Jq(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:ellipse",[["class","ellipse_element noselect"]],[[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"cx",0],[1,"cy",0],[1,"rx",0],[1,"ry",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.ellipse.fill,t.fill_opacity,t.ellipse.stroke,t.stroke_width,t.stroke_dasharray,t.ellipse.cx,t.ellipse.cy,t.ellipse.rx,t.ellipse.ry)}))}var nL=function(){function n(){}return n.prototype.ngOnInit=function(){},n}(),eL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function tL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:image",[["class","image_element noselect"]],[[1,":xlink:href",0],[1,"width",0],[1,"height",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.image.data,t.image.width,t.image.height)}))}var lL=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.line.stroke_width)?this.line.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.line.stroke_dasharray?this.qtDasharrayFixer.fix(this.line.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),oL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function iL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:line",[["class","line_element noselect"]],[[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"x1",0],[1,"x2",0],[1,"y1",0],[1,"y2",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.line.stroke,t.stroke_width,t.stroke_dasharray,t.line.x1,t.line.x2,t.line.y1,t.line.y2)}))}var rL=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.rect.fill_opacity)?this.rect.fill_opacity:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.rect.stroke_width)?this.rect.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.rect.stroke_dasharray?this.qtDasharrayFixer.fix(this.rect.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),aL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function uL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:rect",[["class","rect_element noselect"]],[[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"width",0],[1,"height",0]],null,null,null,null))],null,(function(n,e){var t=e.component;n(e,0,0,t.rect.fill,t.fill_opacity,t.rect.stroke,t.stroke_width,t.stroke_dasharray,t.rect.width,t.rect.height)}))}var sL=function(){function n(n,e){this.fontFixer=n,this.sanitizer=e,this.lines=[],this.transformation=""}return n.prototype.ngOnInit=function(){this.lines=this.getLines(this.text.text)},n.prototype.ngDoCheck=function(){this.transformation=this.calculateTransformation()},Object.defineProperty(n.prototype,"style",{get:function(){var n=this.fontFixer.fix(this.text),e=[];return n.font_family&&e.push('font-family: "'+this.text.font_family+'"'),n.font_size&&e.push("font-size: "+this.text.font_size+"pt"),n.font_weight&&e.push("font-weight: "+this.text.font_weight),this.sanitizer.bypassSecurityTrustStyle(e.join("; "))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textDecoration",{get:function(){return this.text.text_decoration},enumerable:!0,configurable:!0}),n.prototype.calculateTransformation=function(){var e=this.textRef.nativeElement.getElementsByTagName("tspan");if(e.length>0){var t=this.textRef.nativeElement.getBBox().height/e.length;return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"}return""},n.prototype.getLines=function(n){return n.split(/\r?\n/)},n.MARGIN=4,n}(),dL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function cL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:tspan",[[":xml:space","preserve"],["x","0"]],[[1,"dy",0]],null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," "]))],null,(function(n,e){n(e,0,0,0==e.context.index?"0em":"1.4em"),n(e,1,0,e.context.$implicit)}))}function pL(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{textRef:0}),(n()(),o["ɵeld"](1,0,[[1,0],["text",1]],null,2,":svg:text",[["class","text_element noselect"]],[[1,"style",2],[1,"text-decoration",0],[1,"fill",0],[1,"transform",0]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,cL)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.component.lines)}),(function(n,e){var t=e.component;n(e,1,0,t.style,t.textDecoration,o["ɵnov"](e,1).fill,t.transformation)}))}var fL=function(){function n(n,e,t){this.svgToDrawingConverter=n,this.drawingsEventSource=e,this.cd=t}return n.prototype.ngOnInit=function(){try{this.drawing.element=this.svgToDrawingConverter.convert(this.drawing.svg)}catch(n){console.log("Cannot convert due to Error: '"+n+"'")}},n.prototype.OnDragging=function(n){this.drawing.x=n.x,this.drawing.y=n.y,this.cd.detectChanges()},n.prototype.OnDragged=function(n){this.cd.detectChanges(),this.drawingsEventSource.dragged.emit(new _O(this.drawing,n.dx,n.dy))},n.prototype.is=function(n,e){return!!n&&("ellipse"===e?n instanceof HO:"image"===e?n instanceof PO:"line"===e?n instanceof VO:"rect"===e?n instanceof LO:"text"===e&&n instanceof NO)},Object.defineProperty(n.prototype,"transformation",{get:function(){return"translate("+this.drawing.x+","+this.drawing.y+") rotate("+this.drawing.rotation+")"},enumerable:!0,configurable:!0}),n}(),hL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function mL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,Jq,Qq)),o["ɵdid"](1,114688,null,0,Yq,[$q],{ellipse:[0,"ellipse"]},null)],(function(n,e){n(e,1,0,e.component.drawing.element)}),null)}function vL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,tL,eL)),o["ɵdid"](1,114688,null,0,nL,[],{image:[0,"image"]},null)],(function(n,e){n(e,1,0,e.component.drawing.element)}),null)}function gL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,iL,oL)),o["ɵdid"](1,114688,null,0,lL,[$q],{line:[0,"line"]},null)],(function(n,e){n(e,1,0,e.component.drawing.element)}),null)}function bL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,uL,aL)),o["ɵdid"](1,114688,null,0,rL,[$q],{rect:[0,"rect"]},null)],(function(n,e){n(e,1,0,e.component.drawing.element)}),null)}function _L(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,pL,dL)),o["ɵdid"](1,376832,null,0,sL,[PM,rn],{text:[0,"text"]},null)],(function(n,e){n(e,1,0,e.component.drawing.element)}),null)}function yL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,11,":svg:g",[["class","drawing"]],[[1,"transform",0]],[[null,"dragging"],[null,"dragged"]],(function(n,e,t){var l=!0,o=n.component;return"dragging"===e&&(l=!1!==o.OnDragging(t)&&l),"dragged"===e&&(l=!1!==o.OnDragged(t)&&l),l}),Wq,Gq)),o["ɵdid"](1,4440064,null,0,zq,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["ɵand"](16777216,null,0,1,null,mL)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,vL)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,gL)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,bL)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,_L)),o["ɵdid"](11,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.drawing),n(e,3,0,t.is(t.drawing.element,"ellipse")),n(e,5,0,t.is(t.drawing.element,"image")),n(e,7,0,t.is(t.drawing.element,"line")),n(e,9,0,t.is(t.drawing.element,"rect")),n(e,11,0,t.is(t.drawing.element,"text"))}),(function(n,e){n(e,0,0,e.component.transformation)}))}var CL=function(){function n(n){this.ref=n,this.started=!1,this.visible=!1,this.rectangleSelected=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var n=this,e=In.a.fromEvent(this.svg,"mousedown").do((function(n){return n.preventDefault()}));e.subscribe((function(e){e.target===n.svg&&(n.started=!0,n.startX=e.clientX+window.scrollX,n.startY=e.clientY+window.scrollY,n.width=0,n.height=0,n.visible=!0,n.ref.detectChanges())}));var t=In.a.fromEvent(document,"mouseup").do((function(n){n.preventDefault()})),l=In.a.fromEvent(document,"mousemove").do((function(n){return n.stopPropagation()})),o=In.a.fromEvent(document,"scroll").startWith({}),i=In.a.combineLatest(l,o),r=e.mergeMap((function(e){return i.map((function(n){return n[0]})).do((function(e){n.started&&(n.visible=!0,n.width=e.clientX-n.startX+window.scrollX,n.height=e.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))})).skipUntil(t.take(1).do((function(e){n.started&&(n.visible=!1,n.started=!1,n.width=e.clientX-n.startX+window.scrollX,n.height=e.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))}))).take(1)}));this.draggable=r.subscribe((function(n){}))},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},Object.defineProperty(n.prototype,"d",{get:function(){return this.rect(this.startX,this.startY,this.width,this.height)},enumerable:!0,configurable:!0}),n.prototype.rect=function(n,e,t,l){return"M"+[n,e]+" l"+[t,0]+" l"+[0,l]+" l"+[-t,0]+"z"},n.prototype.selectedEvent=function(n,e){var t=Math.min(n[0],e[0]),l=Math.min(n[1],e[1]),o=Math.abs(n[0]-e[0]),i=Math.abs(n[1]-e[1]);this.rectangleSelected.emit(new tN(t,l,o,i))},n}(),wL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function SL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,":svg:path",[["class","selection"]],[[1,"d",0]],null,null,null,null))],null,(function(n,e){n(e,0,0,e.component.d)}))}function xL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,":svg:g",[["class","selection-line-tool"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,SL)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,2,0,e.component.visible)}),null)}var kL=function(){function n(n,e,t,l,o,i,r){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.changeDetectorRef=o,this.layersManger=i,this.graphLayout=r,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.settings={show_interface_labels:!0}}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(n){this.settings.show_interface_labels=n,this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"movingTool",{set:function(n){this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionTool",{set:function(n){this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(n){},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){},n.prototype.ngOnInit=function(){var n=this;this.changesDetected=this.mapChangeDetectorRef.changesDetected.subscribe((function(){n.graphDataManager.setNodes(n.nodes),n.graphDataManager.setLinks(n.links),n.graphDataManager.setDrawings(n.drawings),n.graphDataManager.setSymbols(n.symbols),n.changeDetectorRef.detectChanges()}))},n.prototype.ngOnDestroy=function(){this.changesDetected.unsubscribe()},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},Object.defineProperty(n.prototype,"layers",{get:function(){return this.layersManger.getLayersList()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=new vO;return n.size=this.getSize(),"translate("+(n.getZeroZeroTransformationPoint().x+n.transformation.x)+", "+(n.getZeroZeroTransformationPoint().y+n.transformation.y)+") scale("+n.transformation.k+")"},enumerable:!0,configurable:!0}),n.prototype.onResize=function(n){},n}(),EL=function(){return function(n,e,t,l){void 0===e&&(e=[]),void 0===t&&(t=[]),void 0===l&&(l=[]),this.index=n,this.nodes=e,this.drawings=t,this.links=l}}(),TL=function(){function n(){this.layers={}}return n.prototype.getLayersList=function(){var n=this;return Object.keys(this.layers).sort((function(n,e){return Number(n)-Number(e)})).map((function(e){return n.layers[e]}))},n.prototype.setNodes=function(n){var e=this;n.forEach((function(n){e.getLayerForKey(n.z.toString()).nodes.push(n)}))},n.prototype.setDrawings=function(n){var e=this;n.forEach((function(n){e.getLayerForKey(n.z.toString()).drawings.push(n)}))},n.prototype.setLinks=function(n){var e=this;n.filter((function(n){return n.source&&n.target})).forEach((function(n){var t=Math.min(n.source.z,n.target.z).toString();e.getLayerForKey(t).links.push(n)}))},n.prototype.clear=function(){this.layers={}},n.prototype.getLayerForKey=function(n){return n in this.layers||(this.layers[n]=new EL,this.layers[n].index=Number(n)),this.layers[n]},n}(),RL=o["ɵcrt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function IL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,Hq,qq)),o["ɵdid"](1,245760,null,0,Aq,[Pq,o.ChangeDetectorRef],{link:[0,"link"],showInterfaceLabels:[1,"showInterfaceLabels"]},null)],(function(n,e){n(e,1,0,e.context.$implicit,e.component.settings.show_interface_labels)}),null)}function DL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,Xq,Kq)),o["ɵdid"](1,4964352,null,0,Zq,[bq,PM,rn,o.ElementRef,o.ChangeDetectorRef,KM],{node:[0,"node"],symbols:[1,"symbols"]},null)],(function(n,e){n(e,1,0,e.context.$implicit,e.component.symbols)}),null)}function FL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:g",[],null,null,null,yL,hL)),o["ɵdid"](1,114688,null,0,fL,[zO,DO,o.ChangeDetectorRef],{drawing:[0,"drawing"]},null)],(function(n,e){n(e,1,0,e.context.$implicit)}),null)}function OL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,9,":svg:g",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,":svg:g",[["class","links"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,IL)),o["ɵdid"](3,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](4,0,null,null,2,":svg:g",[["class","nodes"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,DL)),o["ɵdid"](6,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](7,0,null,null,2,":svg:g",[["class","drawings"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,FL)),o["ɵdid"](9,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){n(e,3,0,e.context.$implicit.links),n(e,6,0,e.context.$implicit.nodes),n(e,9,0,e.context.$implicit.drawings)}),null)}function ML(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{svg:0}),(n()(),o["ɵeld"](1,0,[[1,0],["svg",1]],null,7,":svg:svg",[["class","map"],["preserveAspectRatio","none"]],[[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,":svg:g",[],[[1,"transform",0]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,OL)),o["ɵdid"](4,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](5,0,null,null,1,":svg:g",[],null,null,null,xL,wL)),o["ɵdid"](6,4440064,null,0,CL,[o.ChangeDetectorRef],{svg:[0,"svg"]},null),(n()(),o["ɵeld"](7,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,0,":svg:feColorMatrix",[["id","feGrayscale"],["type","saturate"],["values","0"]],null,null,null,null,null))],(function(n,e){n(e,4,0,e.component.layers),n(e,6,0,o["ɵnov"](e,1))}),(function(n,e){var t=e.component;n(e,1,0,t.width,t.height),n(e,2,0,t.transform)}))}var NL=t("rJ3z"),AL=t.n(NL),PL=function(){function n(){this.currentDrag=new Mn.b}return n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n},token:n,providedIn:"root"}),n}(),qL=function(){function n(n,e,t){this.elementRef=n,this.renderer=e,this.zone=t,this.activeLongPressDrag=!1,this.longPressConfig={duration:300,delta:30},this.cancelledScroll=!1}return n.prototype.ngOnInit=function(){var n=this;this.zone.runOutsideAngular((function(){n.renderer.listen(n.elementRef.nativeElement,"touchmove",(function(e){n.cancelledScroll&&e.cancelable&&e.preventDefault()}))}))},n.prototype.disableScroll=function(){this.cancelledScroll=!0,this.renderer.setStyle(this.elementRef.nativeElement,"overflow","hidden")},n.prototype.enableScroll=function(){this.cancelledScroll=!1,this.renderer.setStyle(this.elementRef.nativeElement,"overflow","auto")},n.prototype.hasScrollbar=function(){return this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth>0||this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight>0},n}(),LL=function(){function n(n,e,t,l,i,r,a){this.element=n,this.renderer=e,this.draggableHelper=t,this.zone=l,this.vcr=i,this.scrollContainer=r,this.document=a,this.dragAxis={x:!0,y:!0},this.dragSnapGrid={},this.ghostDragEnabled=!0,this.showOriginalElementWhileDragging=!1,this.dragCursor="",this.dragPointerDown=new o.EventEmitter,this.dragStart=new o.EventEmitter,this.ghostElementCreated=new o.EventEmitter,this.dragging=new o.EventEmitter,this.dragEnd=new o.EventEmitter,this.pointerDown$=new Mn.b,this.pointerMove$=new Mn.b,this.pointerUp$=new Mn.b,this.eventListenerSubscriptions={},this.destroy$=new Mn.b,this.timeLongPress={timerBegin:0,timerEnd:0}}return n.prototype.ngOnInit=function(){var n=this;this.checkEventListeners();var e=this.pointerDown$.pipe(Object(Wn.a)((function(){return n.canDrag()})),Object(Vn.a)((function(e){e.event.stopPropagation&&!n.scrollContainer&&e.event.stopPropagation();var t=n.getScrollPosition(),l=new In.a((function(e){return n.renderer.listen(n.scrollContainer?n.scrollContainer.elementRef.nativeElement:"window","scroll",(function(n){return e.next(n)}))})).pipe(Object(zn.a)(t),Object(An.a)((function(){return n.getScrollPosition()}))),o=new Mn.b,r=new Yp.a;n.zone.run((function(){n.dragPointerDown.next({x:0,y:0})}));var a=Object(ys.a)(n.pointerUp$,n.pointerDown$,r,n.destroy$).pipe(Object(Zu.a)()),u=Object(Fn.b)([n.pointerMove$,l]).pipe(Object(An.a)((function(n){var t=Object(i.e)(n,2),l=t[0],r=t[1];return{currentDrag$:o,transformX:l.clientX-e.clientX,transformY:l.clientY-e.clientY,clientX:l.clientX,clientY:l.clientY,scrollLeft:r.left,scrollTop:r.top}})),Object(An.a)((function(e){return n.dragSnapGrid.x&&(e.transformX=Math.round(e.transformX/n.dragSnapGrid.x)*n.dragSnapGrid.x),n.dragSnapGrid.y&&(e.transformY=Math.round(e.transformY/n.dragSnapGrid.y)*n.dragSnapGrid.y),e})),Object(An.a)((function(e){return n.dragAxis.x||(e.transformX=0),n.dragAxis.y||(e.transformY=0),e})),Object(An.a)((function(n){var e=n.scrollLeft-t.left,l=n.scrollTop-t.top;return Object(i.a)({},n,{x:n.transformX+e,y:n.transformY+l})})),Object(Wn.a)((function(e){return!n.validateDrag||n.validateDrag({x:e.x,y:e.y,transform:{x:e.transformX,y:e.transformY}})})),Object(ws.a)(a),Object(Zu.a)()),s=u.pipe(Object(Un.a)(1),Object(Zu.a)()),d=u.pipe(Object(dh.a)(1),Object(Zu.a)());return s.subscribe((function(e){var t=e.clientX,l=e.clientY,i=e.x,a=e.y;if(n.zone.run((function(){n.dragStart.next({cancelDrag$:r})})),n.scroller=AL()([n.scrollContainer?n.scrollContainer.elementRef.nativeElement:n.document.defaultView],{margin:20,autoScroll:function(){return!0}}),n.renderer.addClass(n.element.nativeElement,n.dragActiveClass),n.ghostDragEnabled){var u=n.element.nativeElement.getBoundingClientRect(),s=n.element.nativeElement.cloneNode(!0);if(n.showOriginalElementWhileDragging||n.renderer.setStyle(n.element.nativeElement,"visibility","hidden"),n.ghostElementAppendTo?n.ghostElementAppendTo.appendChild(s):n.element.nativeElement.parentNode.insertBefore(s,n.element.nativeElement.nextSibling),n.ghostElement=s,document.body.style.cursor=n.dragCursor,n.setElementStyles(s,{position:"fixed",top:u.top+"px",left:u.left+"px",width:u.width+"px",height:u.height+"px",cursor:n.dragCursor,margin:"0",willChange:"transform",pointerEvents:"none"}),n.ghostElementTemplate){var c=n.vcr.createEmbeddedView(n.ghostElementTemplate);s.innerHTML="",c.rootNodes.filter((function(n){return n instanceof Node})).forEach((function(n){s.appendChild(n)})),d.subscribe((function(){n.vcr.remove(n.vcr.indexOf(c))}))}n.zone.run((function(){n.ghostElementCreated.emit({clientX:t-i,clientY:l-a,element:s})})),d.subscribe((function(){s.parentElement.removeChild(s),n.ghostElement=null,n.renderer.setStyle(n.element.nativeElement,"visibility","")}))}n.draggableHelper.currentDrag.next(o)})),d.pipe(Object(Vn.a)((function(n){var e=r.pipe(Object(cf.a)(),Object(Un.a)(1),Object(An.a)((function(e){return Object(i.a)({},n,{dragCancelled:e>0})})));return r.complete(),e}))).subscribe((function(e){var t=e.x,l=e.y,i=e.dragCancelled;n.scroller.destroy(),n.zone.run((function(){n.dragEnd.next({x:t,y:l,dragCancelled:i})})),n.renderer.removeClass(n.element.nativeElement,n.dragActiveClass),o.complete()})),new In.a((function(e){return n.renderer.listen("document","selectstart",(function(n){return e.next(n)}))})).pipe(Object(ws.a)(Object(ys.a)(a,d))).subscribe((function(n){n.preventDefault()})),u})),Object(Zu.a)());Object(ys.a)(e.pipe(Object(Un.a)(1),Object(An.a)((function(n){return[,n]}))),e.pipe(Object(Rs.a)())).pipe(Object(Wn.a)((function(n){var e=Object(i.e)(n,2),t=e[0],l=e[1];return!t||t.x!==l.x||t.y!==l.y})),Object(An.a)((function(n){return Object(i.e)(n,2)[1]})),Object(Ts.a)(0,ks.a)).subscribe((function(e){var t=e.x,l=e.y,o=e.currentDrag$,i=e.clientX,r=e.clientY,a=e.transformX,u=e.transformY;if(n.zone.run((function(){n.dragging.next({x:t,y:l})})),n.ghostElement){var s="translate3d("+a+"px, "+u+"px, 0px)";n.setElementStyles(n.ghostElement,{transform:s,"-webkit-transform":s,"-ms-transform":s,"-moz-transform":s,"-o-transform":s})}o.next({clientX:i,clientY:r,dropData:n.dropData})}))},n.prototype.ngOnChanges=function(n){n.dragAxis&&this.checkEventListeners()},n.prototype.ngOnDestroy=function(){this.unsubscribeEventListeners(),this.pointerDown$.complete(),this.pointerMove$.complete(),this.pointerUp$.complete(),this.destroy$.next()},n.prototype.checkEventListeners=function(){var n=this,e=this.canDrag(),t=Object.keys(this.eventListenerSubscriptions).length>0;e&&!t?this.zone.runOutsideAngular((function(){n.eventListenerSubscriptions.mousedown=n.renderer.listen(n.element.nativeElement,"mousedown",(function(e){n.onMouseDown(e)})),n.eventListenerSubscriptions.mouseup=n.renderer.listen("document","mouseup",(function(e){n.onMouseUp(e)})),n.eventListenerSubscriptions.touchstart=n.renderer.listen(n.element.nativeElement,"touchstart",(function(e){n.onTouchStart(e)})),n.eventListenerSubscriptions.touchend=n.renderer.listen("document","touchend",(function(e){n.onTouchEnd(e)})),n.eventListenerSubscriptions.touchcancel=n.renderer.listen("document","touchcancel",(function(e){n.onTouchEnd(e)})),n.eventListenerSubscriptions.mouseenter=n.renderer.listen(n.element.nativeElement,"mouseenter",(function(){n.onMouseEnter()})),n.eventListenerSubscriptions.mouseleave=n.renderer.listen(n.element.nativeElement,"mouseleave",(function(){n.onMouseLeave()}))})):!e&&t&&this.unsubscribeEventListeners()},n.prototype.onMouseDown=function(n){var e=this;this.eventListenerSubscriptions.mousemove||(this.eventListenerSubscriptions.mousemove=this.renderer.listen("document","mousemove",(function(n){e.pointerMove$.next({event:n,clientX:n.clientX,clientY:n.clientY})}))),this.pointerDown$.next({event:n,clientX:n.clientX,clientY:n.clientY})},n.prototype.onMouseUp=function(n){this.eventListenerSubscriptions.mousemove&&(this.eventListenerSubscriptions.mousemove(),delete this.eventListenerSubscriptions.mousemove),this.pointerUp$.next({event:n,clientX:n.clientX,clientY:n.clientY})},n.prototype.onTouchStart=function(n){var e,t,l,o=this;if(!this.scrollContainer)try{n.preventDefault()}catch(i){}this.scrollContainer&&this.scrollContainer.activeLongPressDrag&&(this.timeLongPress.timerBegin=Date.now(),l=!1,e=this.scrollContainer.hasScrollbar(),t=this.getScrollPosition()),this.eventListenerSubscriptions.touchmove||(this.eventListenerSubscriptions.touchmove=this.renderer.listen("document","touchmove",(function(i){o.scrollContainer&&o.scrollContainer.activeLongPressDrag&&!l&&e&&(l=o.shouldBeginDrag(n,i,t)),o.scrollContainer&&o.scrollContainer.activeLongPressDrag&&e&&!l||o.pointerMove$.next({event:i,clientX:i.targetTouches[0].clientX,clientY:i.targetTouches[0].clientY})}))),this.pointerDown$.next({event:n,clientX:n.touches[0].clientX,clientY:n.touches[0].clientY})},n.prototype.onTouchEnd=function(n){this.eventListenerSubscriptions.touchmove&&(this.eventListenerSubscriptions.touchmove(),delete this.eventListenerSubscriptions.touchmove,this.scrollContainer&&this.scrollContainer.activeLongPressDrag&&this.scrollContainer.enableScroll()),this.pointerUp$.next({event:n,clientX:n.changedTouches[0].clientX,clientY:n.changedTouches[0].clientY})},n.prototype.onMouseEnter=function(){this.setCursor(this.dragCursor)},n.prototype.onMouseLeave=function(){this.setCursor("")},n.prototype.canDrag=function(){return this.dragAxis.x||this.dragAxis.y},n.prototype.setCursor=function(n){this.eventListenerSubscriptions.mousemove||this.renderer.setStyle(this.element.nativeElement,"cursor",n)},n.prototype.unsubscribeEventListeners=function(){var n=this;Object.keys(this.eventListenerSubscriptions).forEach((function(e){n.eventListenerSubscriptions[e](),delete n.eventListenerSubscriptions[e]}))},n.prototype.setElementStyles=function(n,e){var t=this;Object.keys(e).forEach((function(l){t.renderer.setStyle(n,l,e[l])}))},n.prototype.getScrollPosition=function(){return this.scrollContainer?{top:this.scrollContainer.elementRef.nativeElement.scrollTop,left:this.scrollContainer.elementRef.nativeElement.scrollLeft}:{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}},n.prototype.shouldBeginDrag=function(n,e,t){var l=this.getScrollPosition(),o=Math.abs(l.top-t.top),i=Math.abs(l.left-t.left);return(Math.abs(e.targetTouches[0].clientX-n.touches[0].clientX)-i+(Math.abs(e.targetTouches[0].clientY-n.touches[0].clientY)-o)>this.scrollContainer.longPressConfig.delta||o>0||i>0)&&(this.timeLongPress.timerBegin=Date.now()),this.timeLongPress.timerEnd=Date.now(),this.timeLongPress.timerEnd-this.timeLongPress.timerBegin>=this.scrollContainer.longPressConfig.duration&&(this.scrollContainer.disableScroll(),!0)},n}(),jL=function(){return function(){}}(),VL=function(){function n(n,e,t,l,o,i){this.dialogRef=n,this.templateService=e,this.formBuilder=t,this.data=l,this.toasterService=o,this.nonNegativeValidator=i,this.templateTypes=["cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"],this.searchText="",this.nodeServers=["local","vm"],this.server=l.server,this.project=l.project,this.configurationForm=this.formBuilder.group({numberOfNodes:new Em(1,[Xh.required,i.get])}),this.positionForm=this.formBuilder.group({top:new Em(0,Xh.required),left:new Em(0,Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.templateService.list(this.server).subscribe((function(e){n.filteredTemplates=e,n.templates=e}))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.filterTemplates=function(n){var e=this,t=this.templates.filter((function(n){return n.name.toLowerCase().includes(e.searchText.toLowerCase())}));this.filteredTemplates=t.filter((function(e){return e.template_type===n.value.toString()}))},n.prototype.chooseTemplate=function(n){this.selectedTemplate=n.value,"cloud"!==this.selectedTemplate.template_type&&"ethernet_hub"!==this.selectedTemplate.template_type&&"ethernet_switch"!==this.selectedTemplate.template_type||(this.selectedTemplate.compute_id="local")},n.prototype.onAddClick=function(){if(this.selectedTemplate&&0!==this.filteredTemplates.length)if(this.positionForm.valid&&this.configurationForm.valid&&this.selectedTemplate.compute_id){var n=this.positionForm.get("left").value,e=this.positionForm.get("top").value;if(n>this.project.scene_width/2||n<-this.project.scene_width/2||e>this.project.scene_height/2||e<-this.project.scene_height)this.toasterService.error("Please set correct position values.");else{var t={template:this.selectedTemplate,server:this.selectedTemplate.compute_id,numberOfNodes:this.configurationForm.get("numberOfNodes").value,x:n,y:e};this.dialogRef.close(t)}}else this.toasterService.error("Please fill all required fields.");else this.toasterService.error("Please firstly choose template.")},n}(),BL=function(){function n(n,e,t,l){this.dialog=n,this.templateService=e,this.scaleService=t,this.symbolService=l,this.onNodeCreation=new o.EventEmitter,this.templates=[],this.filteredTemplates=[],this.searchText="",this.templateTypes=["all","cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"]}return n.prototype.ngOnInit=function(){var n=this;this.templateService.list(this.server).subscribe((function(e){n.filteredTemplates=e,n.templates=e})),this.symbolService.list(this.server)},n.prototype.filterTemplates=function(n){var e=this,t=this.templates.filter((function(n){return n.name.toLowerCase().includes(e.searchText.toLowerCase())}));this.filteredTemplates="all"!==this.selectedType&&this.selectedType?t.filter((function(n){return n.template_type===e.selectedType})):t},n.prototype.dragStart=function(n){var e=event.target.getBoundingClientRect();this.startX=event.clientX,this.startY=event.clientY,this.movementY=e.top-event.clientY,this.movementX=e.left-event.clientX},n.prototype.dragEnd=function(n,e){var t=this;this.symbolService.raw(this.server,e.symbol.substring(1)).subscribe((function(l){var o=+l.split('width="')[1].split('"')[0]?+l.split('width="')[1].split('"')[0]:0,i=t.scaleService.getScale(),r={template:e,server:"local",numberOfNodes:1,x:(t.startX+n.x-t.project.scene_width/2-o/2)*i+window.scrollX,y:(t.startY+n.y-t.project.scene_height/2)*i+window.scrollY};t.onNodeCreation.emit(r)}))},n.prototype.openDialog=function(){var n=this;this.dialog.open(VL,{width:"600px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){null!==e&&n.onNodeCreation.emit(e)}))},n.prototype.getImageSourceForTemplate=function(n){return"http://"+this.server.host+":"+this.server.port+"/v2/symbols/"+n.symbol+"/raw"},n}(),HL=o["ɵcrt"]({encapsulation:0,styles:[[".mat-menu-panel{max-width:400px;max-height:500px}.menu[_ngcontent-%COMP%]{width:100%;overflow-y:scroll;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.form-field[_ngcontent-%COMP%]{width:90%;margin-left:5%;margin-right:5%}.image[_ngcontent-%COMP%]{width:65px;height:65px;-webkit-filter:invert(0);filter:invert(0);--webkit-filter:invert(0)!important}.templateList[_ngcontent-%COMP%]{width:100%}.templateRow[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.templateText[_ngcontent-%COMP%]{word-wrap:break-word}.templateIcon[_ngcontent-%COMP%]{width:80px!important;padding:10px}"]],data:{}});function UL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[22,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function zL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"span",[["class","templateIcon"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,16777216,null,null,2,"div",[["mwlDraggable",""]],null,[[null,"dragStart"],[null,"dragEnd"]],(function(n,e,t){var l=!0,o=n.component;return"dragStart"===e&&(l=!1!==o.dragStart(t)&&l),"dragEnd"===e&&(l=!1!==o.dragEnd(t,o.filteredTemplates[n.parent.parent.context.index+1])&&l),l}),null,null)),o["ɵdid"](2,737280,null,0,LL,[o.ElementRef,o.Renderer2,PL,o.NgZone,o.ViewContainerRef,[2,qL],r.DOCUMENT],null,{dragStart:"dragStart",dragEnd:"dragEnd"}),(n()(),o["ɵeld"](3,0,null,null,0,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","templateText"]],null,null,null,null,null)),(n()(),o["ɵted"](5,null,["",""]))],(function(n,e){n(e,2,0)}),(function(n,e){var t=e.component;n(e,3,0,t.getImageSourceForTemplate(t.filteredTemplates[e.parent.parent.context.index+1])),n(e,5,0,t.filteredTemplates[e.parent.parent.context.index+1].name)}))}function GL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"span",[["class","templateIcon"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,16777216,null,null,2,"div",[["mwlDraggable",""]],null,[[null,"dragStart"],[null,"dragEnd"]],(function(n,e,t){var l=!0,o=n.component;return"dragStart"===e&&(l=!1!==o.dragStart(t)&&l),"dragEnd"===e&&(l=!1!==o.dragEnd(t,o.filteredTemplates[n.parent.parent.context.index+2])&&l),l}),null,null)),o["ɵdid"](2,737280,null,0,LL,[o.ElementRef,o.Renderer2,PL,o.NgZone,o.ViewContainerRef,[2,qL],r.DOCUMENT],null,{dragStart:"dragStart",dragEnd:"dragEnd"}),(n()(),o["ɵeld"](3,0,null,null,0,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","templateText"]],null,null,null,null,null)),(n()(),o["ɵted"](5,null,["",""]))],(function(n,e){n(e,2,0)}),(function(n,e){var t=e.component;n(e,3,0,t.getImageSourceForTemplate(t.filteredTemplates[e.parent.parent.context.index+2])),n(e,5,0,t.filteredTemplates[e.parent.parent.context.index+2].name)}))}function WL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,5,"span",[["class","templateIcon"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,16777216,null,null,2,"div",[["mwlDraggable",""]],null,[[null,"dragStart"],[null,"dragEnd"]],(function(n,e,t){var l=!0,o=n.component;return"dragStart"===e&&(l=!1!==o.dragStart(t)&&l),"dragEnd"===e&&(l=!1!==o.dragEnd(t,o.filteredTemplates[n.parent.parent.context.index+3])&&l),l}),null,null)),o["ɵdid"](2,737280,null,0,LL,[o.ElementRef,o.Renderer2,PL,o.NgZone,o.ViewContainerRef,[2,qL],r.DOCUMENT],null,{dragStart:"dragStart",dragEnd:"dragEnd"}),(n()(),o["ɵeld"](3,0,null,null,0,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","templateText"]],null,null,null,null,null)),(n()(),o["ɵted"](5,null,["",""]))],(function(n,e){n(e,2,0)}),(function(n,e){var t=e.component;n(e,3,0,t.getImageSourceForTemplate(t.filteredTemplates[e.parent.parent.context.index+3])),n(e,5,0,t.filteredTemplates[e.parent.parent.context.index+3].name)}))}function ZL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"span",[["class","templateRow"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,5,"span",[["class","templateIcon"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,16777216,null,null,2,"div",[["mwlDraggable",""]],null,[[null,"dragStart"],[null,"dragEnd"]],(function(n,e,t){var l=!0,o=n.component;return"dragStart"===e&&(l=!1!==o.dragStart(t)&&l),"dragEnd"===e&&(l=!1!==o.dragEnd(t,o.filteredTemplates[n.parent.context.index])&&l),l}),null,null)),o["ɵdid"](3,737280,null,0,LL,[o.ElementRef,o.Renderer2,PL,o.NgZone,o.ViewContainerRef,[2,qL],r.DOCUMENT],null,{dragStart:"dragStart",dragEnd:"dragEnd"}),(n()(),o["ɵeld"](4,0,null,null,0,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,1,"div",[["class","templateText"]],null,null,null,null,null)),(n()(),o["ɵted"](6,null,["",""])),(n()(),o["ɵand"](16777216,null,null,1,null,zL)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,GL)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,WL)),o["ɵdid"](12,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0),n(e,8,0,t.filteredTemplates[e.parent.context.index+1]),n(e,10,0,t.filteredTemplates[e.parent.context.index+2]),n(e,12,0,t.filteredTemplates[e.parent.context.index+3])}),(function(n,e){var t=e.component;n(e,4,0,t.getImageSourceForTemplate(t.filteredTemplates[e.parent.context.index])),n(e,6,0,t.filteredTemplates[e.parent.context.index].name)}))}function KL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,b_,g_)),o["ɵdid"](1,1228800,null,3,o_,[o.ElementRef,o.ChangeDetectorRef,[2,t_],[2,l_]],null,null),o["ɵqud"](603979776,25,{_lines:1}),o["ɵqud"](603979776,26,{_avatar:0}),o["ɵqud"](603979776,27,{_icon:0}),(n()(),o["ɵand"](16777216,null,2,1,null,ZL)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,6,0,e.context.index%4==0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._avatar||o["ɵnov"](e,1)._icon,o["ɵnov"](e,1)._avatar||o["ɵnov"](e,1)._icon)}))}function XL(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","addNode mat-menu-trigger"],["mat-icon-button",""],["matTooltip","Add a node"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"],[null,"longpress"],[null,"touchend"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,2)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,2)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["ɵnov"](n,3).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,3)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,3)._handleTouchend()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),o["ɵdid"](3,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](5,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["add_to_queue"])),(n()(),o["ɵeld"](7,0,null,null,61,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](8,1294336,[["mainMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],null,null),o["ɵqud"](603979776,1,{_allItems:1}),o["ɵqud"](603979776,2,{items:1}),o["ɵqud"](603979776,3,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](14,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,15)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,15)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.openDialog()&&l),l}),Td,Ed)),o["ɵdid"](15,180224,[[1,4],[2,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](16,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](17,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["add"])),(n()(),o["ɵeld"](19,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Open dialog to configure"])),(n()(),o["ɵeld"](21,0,null,0,19,"mat-form-field",[["class","form-field mat-form-field"],["floatPlaceholder","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==t.stopPropagation()&&l),l}),Og,yg)),o["ɵdid"](22,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](32,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by name"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,39)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,39)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,39)._onInput()&&l),"keyup"===e&&(l=!1!==i.filterTemplates(t)&&l),"ngModelChange"===e&&(l=!1!==(i.searchText=t)&&l),l}),null,null)),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](36,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](38,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](39,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](41,0,null,0,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==t.stopPropagation()&&l),l}),Og,yg)),o["ɵdid"](42,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](52,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Filter templates by type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,58)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,58)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,58)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.filterTemplates(t)&&l),"ngModelChange"===e&&(l=!1!==(i.selectedType=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](54,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](55,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](57,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](58,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,22,{options:1}),o["ɵqud"](603979776,23,{optionGroups:1}),o["ɵqud"](603979776,24,{customTrigger:0}),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,UL)),o["ɵdid"](64,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](65,0,null,0,3,"div",[["class","menu"]],null,null,null,null,null)),(n()(),o["ɵeld"](66,0,null,null,2,"div",[["class","templateList"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,KL)),o["ɵdid"](68,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,2,0,o["ɵnov"](e,8)),n(e,3,0,"Add a node"),n(e,5,0),n(e,8,0),n(e,17,0);var l=t.searchText,i=n(e,36,0,!0);n(e,35,0,l,i),n(e,39,0,"Search by name");var r=t.selectedType,a=n(e,55,0,!0);n(e,54,0,r,a),n(e,58,0,"Filter templates by type"),n(e,64,0,t.templateTypes),n(e,68,0,t.filteredTemplates)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode,o["ɵnov"](e,2).menuOpen||null),n(e,4,0,o["ɵnov"](e,5).inline,"primary"!==o["ɵnov"](e,5).color&&"accent"!==o["ɵnov"](e,5).color&&"warn"!==o["ɵnov"](e,5).color),n(e,14,0,o["ɵnov"](e,15).role,o["ɵnov"](e,15)._highlighted,o["ɵnov"](e,15)._triggersSubmenu,o["ɵnov"](e,15)._getTabIndex(),o["ɵnov"](e,15).disabled.toString(),o["ɵnov"](e,15).disabled||null),n(e,16,0,o["ɵnov"](e,17).inline,"primary"!==o["ɵnov"](e,17).color&&"accent"!==o["ɵnov"](e,17).color&&"warn"!==o["ɵnov"](e,17).color),n(e,21,1,["standard"==o["ɵnov"](e,22).appearance,"fill"==o["ɵnov"](e,22).appearance,"outline"==o["ɵnov"](e,22).appearance,"legacy"==o["ɵnov"](e,22).appearance,o["ɵnov"](e,22)._control.errorState,o["ɵnov"](e,22)._canLabelFloat,o["ɵnov"](e,22)._shouldLabelFloat(),o["ɵnov"](e,22)._hasFloatingLabel(),o["ɵnov"](e,22)._hideControlPlaceholder(),o["ɵnov"](e,22)._control.disabled,o["ɵnov"](e,22)._control.autofilled,o["ɵnov"](e,22)._control.focused,"accent"==o["ɵnov"](e,22).color,"warn"==o["ɵnov"](e,22).color,o["ɵnov"](e,22)._shouldForward("untouched"),o["ɵnov"](e,22)._shouldForward("touched"),o["ɵnov"](e,22)._shouldForward("pristine"),o["ɵnov"](e,22)._shouldForward("dirty"),o["ɵnov"](e,22)._shouldForward("valid"),o["ɵnov"](e,22)._shouldForward("invalid"),o["ɵnov"](e,22)._shouldForward("pending"),!o["ɵnov"](e,22)._animationsEnabled]),n(e,32,1,[o["ɵnov"](e,38).ngClassUntouched,o["ɵnov"](e,38).ngClassTouched,o["ɵnov"](e,38).ngClassPristine,o["ɵnov"](e,38).ngClassDirty,o["ɵnov"](e,38).ngClassValid,o["ɵnov"](e,38).ngClassInvalid,o["ɵnov"](e,38).ngClassPending,o["ɵnov"](e,39)._isServer,o["ɵnov"](e,39).id,o["ɵnov"](e,39).placeholder,o["ɵnov"](e,39).disabled,o["ɵnov"](e,39).required,o["ɵnov"](e,39).readonly&&!o["ɵnov"](e,39)._isNativeSelect||null,o["ɵnov"](e,39)._ariaDescribedby||null,o["ɵnov"](e,39).errorState,o["ɵnov"](e,39).required.toString()]),n(e,41,1,["standard"==o["ɵnov"](e,42).appearance,"fill"==o["ɵnov"](e,42).appearance,"outline"==o["ɵnov"](e,42).appearance,"legacy"==o["ɵnov"](e,42).appearance,o["ɵnov"](e,42)._control.errorState,o["ɵnov"](e,42)._canLabelFloat,o["ɵnov"](e,42)._shouldLabelFloat(),o["ɵnov"](e,42)._hasFloatingLabel(),o["ɵnov"](e,42)._hideControlPlaceholder(),o["ɵnov"](e,42)._control.disabled,o["ɵnov"](e,42)._control.autofilled,o["ɵnov"](e,42)._control.focused,"accent"==o["ɵnov"](e,42).color,"warn"==o["ɵnov"](e,42).color,o["ɵnov"](e,42)._shouldForward("untouched"),o["ɵnov"](e,42)._shouldForward("touched"),o["ɵnov"](e,42)._shouldForward("pristine"),o["ɵnov"](e,42)._shouldForward("dirty"),o["ɵnov"](e,42)._shouldForward("valid"),o["ɵnov"](e,42)._shouldForward("invalid"),o["ɵnov"](e,42)._shouldForward("pending"),!o["ɵnov"](e,42)._animationsEnabled]),n(e,52,1,[o["ɵnov"](e,57).ngClassUntouched,o["ɵnov"](e,57).ngClassTouched,o["ɵnov"](e,57).ngClassPristine,o["ɵnov"](e,57).ngClassDirty,o["ɵnov"](e,57).ngClassValid,o["ɵnov"](e,57).ngClassInvalid,o["ɵnov"](e,57).ngClassPending,o["ɵnov"](e,58).id,o["ɵnov"](e,58).tabIndex,o["ɵnov"](e,58)._getAriaLabel(),o["ɵnov"](e,58)._getAriaLabelledby(),o["ɵnov"](e,58).required.toString(),o["ɵnov"](e,58).disabled.toString(),o["ɵnov"](e,58).errorState,o["ɵnov"](e,58).panelOpen?o["ɵnov"](e,58)._optionIds:null,o["ɵnov"](e,58).multiple,o["ɵnov"](e,58)._ariaDescribedby||null,o["ɵnov"](e,58)._getAriaActiveDescendant(),o["ɵnov"](e,58).disabled,o["ɵnov"](e,58).errorState,o["ɵnov"](e,58).required,o["ɵnov"](e,58).empty])}))}var YL=function(){return function(){}}(),$L=function(){function n(n,e,t,l,o,i){var r=this;this.dialogRef=n,this.formBuilder=e,this.toasterService=t,this.snapshotService=l,this.nodesDataSource=o,this.data=i,this.snapshot=new YL,this.snapshots=[],this.server=i.server,this.project=i.project,this.inputForm=this.formBuilder.group({snapshotName:new Em("",Xh.required)}),this.snapshotService.list(this.server,this.project.project_id).subscribe((function(n){n.forEach((function(n){r.snapshots.push(n.name)}))})),this.nodesDataSource.getItems().forEach((function(n){"stopped"===n.status||r.isAlwaysRunningNode(n.node_type)||(r.isInRunningState=!0)}))}return n.prototype.isAlwaysRunningNode=function(n){return!["qemu","docker","dynamips","vpcs","vmware","virtualbox","iou","traceng"].includes(n)},n.prototype.onAddClick=function(){this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.snapshots.includes(this.inputForm.get("snapshotName").value)?this.toasterService.error("Snapshot with this name already exists"):this.isInRunningState?this.toasterService.error("Project must be stopped in order to export it"):(this.snapshot.name=this.inputForm.get("snapshotName").value,this.dialogRef.close(this.snapshot))},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),QL=function(){function n(n,e,t,l){this.dialog=n,this.snapshotService=e,this.progressDialogService=t,this.toaster=l}return n.prototype.ngOnInit=function(){},n.prototype.createSnapshotModal=function(){var n=this;this.dialog.open($L,{width:"450px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){if(e){var t=n.snapshotService.create(n.server,n.project.project_id,e),l=n.progressDialogService.open(),o=t.subscribe((function(t){n.toaster.success("Snapshot '"+e.name+"' has been created."),l.close()}));l.afterClosed().subscribe((function(n){n===fC.CANCELLED&&o.unsubscribe()}))}}))},n}(),JL=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function nj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Manage snapshots"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.createSnapshotModal()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["snooze"]))],(function(n,e){n(e,2,0,"Manage snapshots"),n(e,4,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color)}))}var ej=function(){function n(n,e,t,l,o){this.toasterService=n,this.dockerService=e,this.qemuService=t,this.iouService=l,this.iosService=o}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new zg({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){n.toasterService.error("An error has occured")},this.uploader.onCompleteItem=function(e,t,l,o){"qemu"===n.template.template_type?n.qemuService.addTemplate(n.server,n.template).subscribe((function(){return n.onUploadComplete()})):"iou"===n.template.template_type?n.iouService.addTemplate(n.server,n.template).subscribe((function(){return n.onUploadComplete()})):"dynamips"===n.template.template_type?n.iosService.addTemplate(n.server,n.template).subscribe((function(){return n.onUploadComplete()})):"docker"===n.template.template_type&&n.dockerService.addTemplate(n.server,n.template).subscribe((function(){return n.onUploadComplete()}))}},n.prototype.onUploadComplete=function(){this.toasterService.success("Appliance imported successfully"),this.uploader.queue=[]},n.prototype.uploadAppliance=function(n){var e,t=this,l=n.target.files[0],o=l.name,i=new FileReader;i.onloadend=function(){var n=JSON.parse(i.result);if(n.qemu)(e=new xT).template_type="qemu",e.adapter_type=n.qemu.adapter_type,e.adapters=n.qemu.adapters,e.ram=n.qemu.ram,e.options=n.qemu.options,e.console_type=n.qemu.console_type;else if(n.iou)(e=new ID).template_type="iou",e.console_type=n.iou.console_type,e.console_auto_start=n.iou.console_auto_start,e.ethernet_adapters=n.iou.ethernet_adapters,e.l1_keepalives=n.iou.l1_keepalives,e.nvram=n.iou.nvram,e.ram=n.iou.ram,e.serial_adapters=n.iou.serial_adapters;else if(n.dynamips)(e=new Ik).template_type="dynamips",e.platform=n.dynamips.platform,e.ram=n.dynamips.ram,e.nvram=n.dynamips.nvram,e.startup_config=n.dynamips.startup_config,e.wic0=n.dynamips.wic0,e.wic1=n.dynamips.wic1,e.wic2=n.dynamips.wic2,e.slot0=n.dynamips.slot0,e.slot1=n.dynamips.slot1,e.slot2=n.dynamips.slot2,e.slot3=n.dynamips.slot3,e.slot4=n.dynamips.slot4,e.slot5=n.dynamips.slot5,e.slot6=n.dynamips.slot6,e.slot7=n.dynamips.slot7;else{if(!n.docker)return void t.toasterService.error("Template type not supported");(e=new zI).template_type="docker",e.adapters=n.docker.adapters,e.console_type=n.docker.console_type,e.image=n.docker.image}e.name=n.name,e.category=n.category,e.builtin=!1,e.default_name_format="{name}-{0}",e.compute_id="vm",e.symbol="guest"===e.category?":/symbols/computer.svg":":/symbols/"+e.category+"_guest.svg",t.template=e;var l=t.getUploadPath(t.server,e.template_type,o);t.uploader.queue.forEach((function(n){return n.url=l})),t.uploader.uploadItem(t.uploader.queue[0])},i.readAsText(l)},n.prototype.getUploadPath=function(n,e,t){return"http://"+n.host+":"+n.port+"/v2/"+e+"/images/"+t},n}(),tj=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function lj(n){return o["ɵvid"](0,[],null,null)}var oj=function(){function n(n,e,t,l,o,i){this.nodeService=n,this.nodesDataSource=e,this.toasterService=t,this.serverService=l,this.settingsService=o,this.electronService=i}return n.prototype.startConsoleForAllNodes=function(){return i.b(this,void 0,void 0,(function(){var n,e,t,l,o,r;return i.d(this,(function(i){switch(i.label){case 0:if(!this.electronService.isElectronApp)return[3,5];n=this.settingsService.get("console_command")?this.settingsService.get("console_command"):this.nodeService.getDefaultCommand(),e=this.nodesDataSource.getItems(),t=0,l=e,i.label=1;case 1:return t<l.length?(r={command:n,type:(o=l[t]).console_type,host:o.console_host,port:o.console,name:o.name,project_id:o.project_id,node_id:o.node_id,server_url:this.serverService.getServerUrl(this.server)},[4,this.electronService.remote.require("./console-executor.js").openConsole(r)]):[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[3,6];case 5:this.toasterService.error("Option to start all nodes not available in web browser."),i.label=6;case 6:return[2]}}))}))},n.prototype.startNodes=function(){var n=this;this.nodeService.startAll(this.server,this.project).subscribe((function(){n.toasterService.success("All nodes successfully started")}))},n.prototype.stopNodes=function(){var n=this;this.nodeService.stopAll(this.server,this.project).subscribe((function(){n.toasterService.success("All nodes successfully stopped")}))},n.prototype.suspendNodes=function(){var n=this;this.nodeService.suspendAll(this.server,this.project).subscribe((function(){n.toasterService.success("All nodes successfully suspended")}))},n.prototype.reloadNodes=function(){var n=this;this.nodeService.reloadAll(this.server,this.project).subscribe((function(){n.toasterService.success("All nodes successfully reloaded")}))},n}(),ij=function(){function n(n){this.httpServer=n}return n.prototype.getNodeById=function(n,e,t){return this.httpServer.get(n,"/projects/"+e+"/nodes/"+t)},n.prototype.start=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/start",{})},n.prototype.startAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/start",{})},n.prototype.stop=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/stop",{})},n.prototype.stopAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/stop",{})},n.prototype.suspend=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/suspend",{})},n.prototype.suspendAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/suspend",{})},n.prototype.reload=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/reload",{})},n.prototype.reloadAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/reload",{})},n.prototype.createFromTemplate=function(n,e,t,l,o,i){return this.httpServer.post(n,"/projects/"+e.project_id+"/templates/"+t.template_id,i?{x:Math.round(l),y:Math.round(o),compute_id:i}:{x:Math.round(l),y:Math.round(o),compute_id:"local"})},n.prototype.updatePosition=function(n,e,t,l,o){var i=Math.round(l),r=Math.round(o);return e.snap_to_grid&&(i=Math.round((i+t.width/2)/e.grid_size)*e.grid_size,r=Math.round((r+t.width/2)/e.grid_size)*e.grid_size,i=Math.round(i-t.width/2),r=Math.round(r-t.height/2)),this.httpServer.put(n,"/projects/"+t.project_id+"/nodes/"+t.node_id,{x:i,y:r})},n.prototype.updateLabel=function(n,e,t){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{label:{rotation:t.rotation,style:t.style,text:t.text,x:Math.round(t.x),y:Math.round(t.y)}})},n.prototype.updateSymbol=function(n,e,t){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{symbol:t})},n.prototype.update=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.updateNode=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{console_type:e.console_type,console_auto_start:e.console_auto_start,locked:e.locked,name:e.name,properties:e.properties})},n.prototype.updateNodeWithCustomAdapters=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{console_type:e.console_type,console_auto_start:e.console_auto_start,custom_adapters:e.custom_adapters,name:e.name,properties:e.properties})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/nodes/"+e.node_id)},n.prototype.duplicate=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/duplicate",{x:e.x+10,y:e.y+10,z:e.z})},n.prototype.getNode=function(n,e){return this.httpServer.get(n,"/projects/"+e.project_id+"/nodes/"+e.node_id)},n.prototype.getDefaultCommand=function(){return'putty.exe -telnet %h %p -wt "%d" -gns3 5 -skin 4'},n.prototype.getStartupConfiguration=function(n,e){var t="/projects/"+e.project_id+"/nodes/"+e.node_id;return"vpcs"===e.node_type?t+="/files/startup.vpc":"iou"===e.node_type?t+="/files/startup-config.cfg":"dynamips"===e.node_type&&(t+="/files/configs/i"+e.node_id+"_startup-config.cfg"),this.httpServer.get(n,t,{responseType:"text"})},n.prototype.getPrivateConfiguration=function(n,e){var t="/projects/"+e.project_id+"/nodes/"+e.node_id;return"iou"===e.node_type?t+="/files/private-config.cfg":"dynamips"===e.node_type&&(t+="/files/configs/i"+e.node_id+"_private-config.cfg"),this.httpServer.get(n,t,{responseType:"text"})},n.prototype.saveConfiguration=function(n,e,t){var l="/projects/"+e.project_id+"/nodes/"+e.node_id;return"vpcs"===e.node_type?l+="/files/startup.vpc":"iou"===e.node_type?l+="/files/startup-config.cfg":"dynamips"===e.node_type&&(l+="/files/configs/i"+e.node_id+"_startup-config.cfg"),this.httpServer.post(n,l,t)},n.prototype.savePrivateConfiguration=function(n,e,t){var l="/projects/"+e.project_id+"/nodes/"+e.node_id;return"iou"===e.node_type?l+="/files/private-config.cfg":"dynamips"===e.node_type&&(l+="/files/configs/i"+e.node_id+"_private-config.cfg"),this.httpServer.post(n,l,t)},n}(),rj=o["ɵcrt"]({encapsulation:0,styles:[[".menu-button[_ngcontent-%COMP%]{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"]],data:{}});function aj(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Console connect to all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.startConsoleForAllNodes()&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](4,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["web_asset"])),(n()(),o["ɵeld"](6,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Start/Resume all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,8).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,8)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,8)._handleTouchend()&&l),"click"===e&&(l=!1!==i.startNodes()&&l),l}),ou,lu)),o["ɵdid"](7,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](8,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](10,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["play_arrow"])),(n()(),o["ɵeld"](12,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Suspend all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,14).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,14)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,14)._handleTouchend()&&l),"click"===e&&(l=!1!==i.suspendNodes()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](14,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](16,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["pause"])),(n()(),o["ɵeld"](18,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Stop all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,20).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,20)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,20)._handleTouchend()&&l),"click"===e&&(l=!1!==i.stopNodes()&&l),l}),ou,lu)),o["ɵdid"](19,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](20,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](21,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](22,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["stop"])),(n()(),o["ɵeld"](24,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Reload all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,26).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,26)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,26)._handleTouchend()&&l),"click"===e&&(l=!1!==i.reloadNodes()&&l),l}),ou,lu)),o["ɵdid"](25,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](26,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](27,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](28,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["replay"]))],(function(n,e){n(e,2,0,"Console connect to all nodes"),n(e,4,0),n(e,8,0,"Start/Resume all nodes"),n(e,10,0),n(e,14,0,"Suspend all nodes"),n(e,16,0),n(e,20,0,"Stop all nodes"),n(e,22,0),n(e,26,0,"Reload all nodes"),n(e,28,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,4).inline,"primary"!==o["ɵnov"](e,4).color&&"accent"!==o["ɵnov"](e,4).color&&"warn"!==o["ɵnov"](e,4).color),n(e,6,0,o["ɵnov"](e,7).disabled||null,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,9,0,o["ɵnov"](e,10).inline,"primary"!==o["ɵnov"](e,10).color&&"accent"!==o["ɵnov"](e,10).color&&"warn"!==o["ɵnov"](e,10).color),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode),n(e,15,0,o["ɵnov"](e,16).inline,"primary"!==o["ɵnov"](e,16).color&&"accent"!==o["ɵnov"](e,16).color&&"warn"!==o["ɵnov"](e,16).color),n(e,18,0,o["ɵnov"](e,19).disabled||null,"NoopAnimations"===o["ɵnov"](e,19)._animationMode),n(e,21,0,o["ɵnov"](e,22).inline,"primary"!==o["ɵnov"](e,22).color&&"accent"!==o["ɵnov"](e,22).color&&"warn"!==o["ɵnov"](e,22).color),n(e,24,0,o["ɵnov"](e,25).disabled||null,"NoopAnimations"===o["ɵnov"](e,25)._animationMode),n(e,27,0,o["ɵnov"](e,28).inline,"primary"!==o["ɵnov"](e,28).color&&"accent"!==o["ɵnov"](e,28).color&&"warn"!==o["ɵnov"](e,28).color)}))}var uj=function(){function n(n,e,t,l,i){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=i,this.drawingSaved=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.pointToAddSelected=this.drawingsEventSource.pointToAddSelected.subscribe((function(e){return n.onDrawingSaved(e)}))},n.prototype.ngOnChanges=function(n){n.selectedDrawing&&!n.selectedDrawing.isFirstChange()&&(this.selectedDrawing=n.selectedDrawing.currentValue,"text"!==this.selectedDrawing&&this.drawingsEventSource.selected.emit(this.selectedDrawing))},n.prototype.onDrawingSaved=function(n){var e=this,t=this.drawingsFactory.getDrawingMock(this.selectedDrawing),l=this.mapDrawingToSvgConverter.convert(t);this.drawingService.add(this.server,this.project.project_id,n.x,n.y,l).subscribe((function(n){e.drawingsDataSource.add(n),e.drawingSaved.emit(!0)}))},n.prototype.ngOnDestroy=function(){this.pointToAddSelected.unsubscribe()},n}(),sj=function(){function n(n,e){this.httpServer=n,this.svgToDrawingConverter=e}return n.prototype.add=function(n,e,t,l,o){return this.httpServer.post(n,"/projects/"+e+"/drawings",{svg:o,x:Math.round(t),y:Math.round(l),z:1})},n.prototype.duplicate=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/drawings",{svg:t.svg,rotation:t.rotation,x:t.x+10,y:t.y+10,z:t.z})},n.prototype.updatePosition=function(n,e,t,l,o){var i=Math.round(l),r=Math.round(o);return e.snap_to_grid&&(t.element=this.svgToDrawingConverter.convert(t.svg),i=Math.round((i+t.element.width/2)/e.drawing_grid_size)*e.drawing_grid_size,r=Math.round((r+t.element.width/2)/e.drawing_grid_size)*e.drawing_grid_size,i=Math.round(i-t.element.width/2),r=Math.round(r-t.element.height/2)),this.httpServer.put(n,"/projects/"+t.project_id+"/drawings/"+t.drawing_id,{x:i,y:r})},n.prototype.updateSizeAndPosition=function(n,e,t,l,o){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{svg:o,x:Math.round(t),y:Math.round(l)})},n.prototype.updateText=function(n,e,t){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{svg:t,x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.update=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{locked:e.locked,svg:e.svg,rotation:e.rotation,x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id)},n}(),dj=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n.drawing_id},e}(OM),cj=function(){function n(n,e,t,l){this.textElementFactory=n,this.ellipseElementFactory=e,this.rectangleElementFactory=t,this.lineElementFactory=l,this.availableFactories={text:this.textElementFactory,ellipse:this.ellipseElementFactory,rectangle:this.rectangleElementFactory,line:this.lineElementFactory}}return n.prototype.getDrawingMock=function(n){this.factory=this.availableFactories[n];var e=new VM;return e.element=this.factory.getDrawingElement(),e},n}(),pj=function(){function n(){}return n.prototype.convert=function(n){var e="";if(n.element instanceof LO)e='<rect fill="'+n.element.fill+'" fill-opacity="'+n.element.fill_opacity+'" height="'+n.element.height+'" width="'+n.element.width+'" stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" />';else if(n.element instanceof HO)e='<ellipse fill="'+n.element.fill+'" fill-opacity="'+n.element.fill_opacity+'" cx="'+n.element.cx+'" cy="'+n.element.cy+'" rx="'+n.element.rx+'" ry="'+n.element.ry+'" stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" />';else if(n.element instanceof VO)e='<line stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" x1="'+n.element.x1+'" x2="'+n.element.x2+'" y1="'+n.element.y1+'" y2="'+n.element.y2+'" />';else{if(!(n.element instanceof NO))return"";e='<text fill="'+n.element.fill+'" fill-opacity="1.0" font-family="'+n.element.font_family+'" font-size="'+n.element.font_size+'" font-weight="'+n.element.font_weight+'">'+n.element.text+"</text>"}return'<svg height="'+n.element.height+'" width="'+n.element.width+'">'+e+"</svg>"},n}(),fj=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function hj(n){return o["ɵvid"](0,[],null,null)}var mj=t("vAVA"),vj=t("DlSv"),gj=t.n(vj),bj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.toasterService=e,this.formBuilder=t,this.electronService=l,this.deviceService=o,this.filetype="svg",this.nameForm=this.formBuilder.group({screenshotName:new Em("screenshot-"+Date.now(),[Xh.required])}),this.isPngAvailable=this.electronService.isWindows||"Windows"===this.deviceService.getDeviceInfo().os}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.nameForm.controls},enumerable:!0,configurable:!0}),n.prototype.onAddClick=function(){if(!this.nameForm.invalid){var n={name:this.nameForm.get("screenshotName").value,filetype:this.filetype};this.dialogRef.close(n)}},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.onAddClick()},n.prototype.setFiletype=function(n){this.isPngAvailable&&(this.filetype=n)},n}(),_j=function(){function n(n,e,t,l,o,i){this.toolsService=n,this.mapSettingsService=e,this.drawingService=t,this.symbolService=l,this.dialog=o,this.themeService=i,this.drawTools={isRectangleChosen:!1,isEllipseChosen:!1,isLineChosen:!1,isTextChosen:!1},this.isLocked=!1,this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.getCssClassForIcon=function(n){return"text"===n?{unmarkedLight:!this.drawTools.isTextChosen&&this.isLightThemeEnabled,marked:this.drawTools.isTextChosen}:"rectangle"===n?{unmarkedLight:!this.drawTools.isRectangleChosen&&this.isLightThemeEnabled,marked:this.drawTools.isRectangleChosen}:{unmarkedLight:!this.drawTools.isEllipseChosen&&this.isLightThemeEnabled,marked:this.drawTools.isEllipseChosen}},n.prototype.takeScreenshot=function(){var n=this;this.dialog.open(bj,{width:"400px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){e&&n.saveImage(e)}))},n.prototype.saveImage=function(n){return i.b(this,void 0,void 0,(function(){var e,t,l,o,r,a,u,s;return i.d(this,(function(i){switch(i.label){case 0:if("png"!==n.filetype)return[3,4];e=document.getElementsByTagName("svg")[0].outerHTML.split("image"),t=1,i.label=1;case 1:return t<e.length?(l=e[t].split('"'),o=l[1].split("/"),[4,this.symbolService.raw(this.server,o[7]).toPromise()]):[3,3];case 2:return r=i.sent(),a=r.split("--\x3e"),e[t]=a[1].substring(2),t+=2,[3,1];case 3:return u=e.join(),(s=document.createElement("div")).innerHTML=u,mj.saveSvgAsPng(s.firstChild,n.name+".png"),[3,5];case 4:nO("svg").attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node(),gj()(nO("svg").node(),""+n.name),i.label=5;case 5:return[2]}}))}))},n.prototype.addDrawing=function(n){switch(n){case"rectangle":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!this.drawTools.isRectangleChosen,this.drawTools.isLineChosen=!1;break;case"ellipse":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!this.drawTools.isEllipseChosen,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1;break;case"line":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!this.drawTools.isLineChosen;break;case"text":this.drawTools.isTextChosen=!this.drawTools.isTextChosen,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1,this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)}this.selectedDrawing=this.selectedDrawing===n?"":n},n.prototype.onDrawingSaved=function(){this.resetDrawToolChoice()},n.prototype.resetDrawToolChoice=function(){this.drawTools.isRectangleChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isLineChosen=!1,this.drawTools.isTextChosen=!1,this.selectedDrawing="",this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)},n.prototype.changeLockValue=function(){this.isLocked=!this.isLocked,this.mapSettingsService.changeMapLockValue(this.isLocked)},n.prototype.uploadImageFile=function(n){this.readImageFile(n.target)},n.prototype.readImageFile=function(n){var e=this,t=n.files[0],l=new FileReader,o=new Image;l.onloadend=function(){var n=e.createSvgFileForImage(l.result,o);e.drawingService.add(e.server,e.project.project_id,-o.width/2,-o.height/2,n).subscribe((function(){}))},o.onload=function(){l.readAsDataURL(t)},o.src=window.URL.createObjectURL(t)},n.prototype.createSvgFileForImage=function(n,e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'+e.height+'" \n width="'+e.width+'">\n<image height="'+e.height+'" width="'+e.width+'" xlink:href="'+n+'"/>\n</svg>'},n.prototype.ngOnDestroy=function(){},n}(),yj=o["ɵcrt"]({encapsulation:0,styles:[[".menu-button[_ngcontent-%COMP%]{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}mat-divider.divider[_ngcontent-%COMP%]{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}.non-visible[_ngcontent-%COMP%]{display:none}.unmarked[_ngcontent-%COMP%]{color:#fff!important}.unmarkedLight[_ngcontent-%COMP%]{color:#000!important}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"]],data:{}});function Cj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a line"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.addDrawing("line")&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,4,":svg:svg",[["height","40"],["width","40"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,3,":svg:line",[["style","stroke:white;stroke-width:2"],["x1","30"],["x2","10"],["y1","10"],["y2","30"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](6,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](7,{selected:0}),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){var t=e.component;n(e,2,0,"Draw a line");var l=n(e,7,0,t.drawTools.isLineChosen);n(e,6,0,l)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}function wj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a line"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.addDrawing("line")&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,4,":svg:svg",[["height","40"],["width","40"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,3,":svg:line",[["style","stroke:black;stroke-width:2"],["x1","30"],["x2","10"],["y1","10"],["y2","30"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](6,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](7,{selected:0}),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){var t=e.component;n(e,2,0,"Draw a line");var l=n(e,7,0,t.drawTools.isLineChosen);n(e,6,0,l)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode)}))}function Sj(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Add a note"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==i.addDrawing("text")&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](2,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](3,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](5,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["create"])),(n()(),o["ɵeld"](8,0,[["file",1]],null,0,"input",[["accept",".svg, .bmp, .jpeg, .jpg, .gif, .png"],["class","non-visible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadImageFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](9,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Insert a picture"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0;return"longpress"===e&&(l=!1!==o["ɵnov"](n,11).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,11)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,11)._handleTouchend()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,8).click()&&l),l}),ou,lu)),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](11,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](12,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](13,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["image"])),(n()(),o["ɵeld"](15,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a rectangle"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,17).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,17)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,17)._handleTouchend()&&l),"click"===e&&(l=!1!==i.addDrawing("rectangle")&&l),l}),ou,lu)),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](17,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](18,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](20,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵdid"](21,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["crop_3_2"])),(n()(),o["ɵeld"](23,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw an ellipse"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,25).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,25)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,25)._handleTouchend()&&l),"click"===e&&(l=!1!==i.addDrawing("ellipse")&&l),l}),ou,lu)),o["ɵdid"](24,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](25,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](26,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](28,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵdid"](29,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["panorama_fish_eye"])),(n()(),o["ɵand"](16777216,null,null,1,null,Cj)),o["ɵdid"](32,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,wj)),o["ɵdid"](34,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](35,16777216,null,null,8,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Lock or unlock all items"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,37).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,37)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,37)._handleTouchend()&&l),"click"===e&&(l=!1!==i.changeLockValue()&&l),l}),ou,lu)),o["ɵdid"](36,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](37,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](38,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](40,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](41,{unmarkedLight:0,marked:1}),o["ɵdid"](42,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["lock"])),(n()(),o["ɵeld"](44,16777216,null,null,8,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Take a screenshot"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,46).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,46)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,46)._handleTouchend()&&l),"click"===e&&(l=!1!==i.takeScreenshot()&&l),l}),ou,lu)),o["ɵdid"](45,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](46,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](47,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](49,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](50,{unmarkedLight:0}),o["ɵdid"](51,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["photo_camera"])),(n()(),o["ɵeld"](53,0,null,null,1,"app-drawing-added",[],null,[[null,"drawingSaved"]],(function(n,e,t){var l=!0;return"drawingSaved"===e&&(l=!1!==n.component.onDrawingSaved()&&l),l}),hj,fj)),o["ɵdid"](54,770048,null,0,uj,[sj,dj,DO,cj,pj],{server:[0,"server"],project:[1,"project"],selectedDrawing:[2,"selectedDrawing"]},{drawingSaved:"drawingSaved"}),(n()(),o["ɵeld"](55,0,null,null,0,"div",[["id","crowbar-workspace"]],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,2,0,"Add a note"),n(e,5,0,t.getCssClassForIcon("text")),n(e,6,0),n(e,11,0,"Insert a picture"),n(e,13,0),n(e,17,0,"Draw a rectangle"),n(e,20,0,t.getCssClassForIcon("rectangle")),n(e,21,0),n(e,25,0,"Draw an ellipse"),n(e,28,0,t.getCssClassForIcon("ellipse")),n(e,29,0),n(e,32,0,!t.isLightThemeEnabled),n(e,34,0,t.isLightThemeEnabled),n(e,37,0,"Lock or unlock all items");var l=n(e,41,0,!t.isLocked&&t.isLightThemeEnabled,t.isLocked);n(e,40,0,l),n(e,42,0),n(e,46,0,"Take a screenshot");var o=n(e,50,0,!t.isLocked&&t.isLightThemeEnabled);n(e,49,0,o),n(e,51,0),n(e,54,0,t.server,t.project,t.selectedDrawing)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,3,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color),n(e,9,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode),n(e,12,0,o["ɵnov"](e,13).inline,"primary"!==o["ɵnov"](e,13).color&&"accent"!==o["ɵnov"](e,13).color&&"warn"!==o["ɵnov"](e,13).color),n(e,15,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode),n(e,18,0,o["ɵnov"](e,21).inline,"primary"!==o["ɵnov"](e,21).color&&"accent"!==o["ɵnov"](e,21).color&&"warn"!==o["ɵnov"](e,21).color),n(e,23,0,o["ɵnov"](e,24).disabled||null,"NoopAnimations"===o["ɵnov"](e,24)._animationMode),n(e,26,0,o["ɵnov"](e,29).inline,"primary"!==o["ɵnov"](e,29).color&&"accent"!==o["ɵnov"](e,29).color&&"warn"!==o["ɵnov"](e,29).color),n(e,35,0,o["ɵnov"](e,36).disabled||null,"NoopAnimations"===o["ɵnov"](e,36)._animationMode),n(e,38,0,o["ɵnov"](e,42).inline,"primary"!==o["ɵnov"](e,42).color&&"accent"!==o["ɵnov"](e,42).color&&"warn"!==o["ɵnov"](e,42).color),n(e,44,0,o["ɵnov"](e,45).disabled||null,"NoopAnimations"===o["ɵnov"](e,45)._animationMode),n(e,47,0,o["ɵnov"](e,51).inline,"primary"!==o["ɵnov"](e,51).color&&"accent"!==o["ɵnov"](e,51).color&&"warn"!==o["ɵnov"](e,51).color)}))}var xj=function(){function n(n,e){this.dialogRef=n,this.infoService=e,this.infoList=[],this.usage="",this.commandLine=""}return n.prototype.ngOnInit=function(){this.infoList=this.infoService.getInfoAboutNode(this.node,this.server),this.commandLine=this.infoService.getCommandLine(this.node),this.usage=this.node.usage?this.node.usage:"No usage information has been provided for this node."},n.prototype.onCloseClick=function(){this.dialogRef.close()},n}(),kj=function(){function n(n){this.dialog=n}return n.prototype.showNode=function(){var n=this.dialog.open(xj,{width:"600px",maxHeight:"600px",autoFocus:!1,disableClose:!0}).componentInstance;n.node=this.node,n.server=this.server},n}(),Ej=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Tj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.showNode()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["info"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Show node information"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var Rj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.vpcsConfigurationService=o,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var n=this;this.inputForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Ij=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.vpcsConfigurationService=o,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=n.node.name,n.numberOfPorts=n.node.ports.length,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()},n.prototype.onSaveClick=function(){var n=this;if(this.inputForm.valid){this.node.properties.ports_mapping=[];for(var e=0;e<this.numberOfPorts;e++)this.node.properties.ports_mapping.push({name:"Ethernet"+e,port_number:e});this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))}else this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Dj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.ethernetSwitchesConfigurationService=o,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=n.node.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.ethernetSwitchesConfigurationService.getConsoleTypesForEthernetSwitches()},n.prototype.onSaveClick=function(){var n=this;this.inputForm.valid?(this.node.properties.ports_mapping=this.portsComponent.ethernetPorts,this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Fj=function(){function n(n,e,t,l){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceDlci="",this.destinationPort="",this.destinationDlci="",this.nameForm=this.formBuilder.group({name:new Em("",Xh.required)}),this.inputForm=this.formBuilder.group({sourcePort:new Em("",Xh.required),sourceDlci:new Em("",Xh.required),destinationPort:new Em("",Xh.required),destinationDlci:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name;var t=e.properties.mappings;Object.keys(t).forEach((function(e){n.nodeMappings.set(e,t[e])})),n.nodeMappings.forEach((function(e,t){n.nodeMappingsDataSource.push({portIn:t,portOut:e})}))}))},n.prototype.delete=function(n){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter((function(e){return e!==n}))},n.prototype.add=function(){if(this.inputForm.valid){var n={portIn:this.sourcePort+":"+this.sourceDlci,portOut:this.destinationPort+":"+this.destinationDlci};this.nodeMappingsDataSource.filter((function(e){return e.portIn===n.portIn})).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())}else this.toasterService.error("Fill all required fields.")},n.prototype.clearUserInput=function(){this.sourcePort="0",this.sourceDlci="0",this.destinationPort="0",this.destinationDlci="0"},n.prototype.strMapToObj=function(n){for(var e=Object.create(null),t=0,l=n;t<l.length;t++){var o=l[t];e[o[0]]=o[1]}return e},n.prototype.onSaveClick=function(){var n=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach((function(e){n.nodeMappings.set(e.portIn,e.portOut)})),this.node.properties.mappings=Array.from(this.nodeMappings).reduce((function(n,e){var t;return Object.assign(n,((t={})[e[0]]=e[1],t))}),{}),this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Oj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.virtualBoxConfigurationService=o,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required),ram:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach((function(e){n.node.custom_adapters.push({adapter_number:e.adapter_number,adapter_type:e.adapter_type})})),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Mj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.qemuService=o,this.formatOptions=["qcow2","qcow","vhd","vdi","vmdk","raw"],this.preallocationsOptions=["off","metadata","falloc","full"],this.clusterSizeOptions=[{name:"512",value:512},{name:"1k",value:1024},{name:"2k",value:2048},{name:"4k",value:4096},{name:"8k",value:8192},{name:"16k",value:16384},{name:"32k",value:32768},{name:"64k",value:65536},{name:"128k",value:131072},{name:"256k",value:262144},{name:"512k",value:524288},{name:"1024k",value:1048576},{name:"2048k",value:2097152}],this.lazyRefcountsOptions=["off","on"],this.refcountBitsOptions=[1,2,4,8,16,32,64],this.zeroedGrainOptions=["on","off"],this.inputForm=this.formBuilder.group({qemu_img:new Em("",Xh.required),path:new Em("",Xh.required),size:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){this.qemuImg={}},n.prototype.setSubformat=function(n){this.qemuImg.subformat=n},n.prototype.onSaveClick=function(){var n=this;this.inputForm.valid&&this.qemuImg.format?this.qemuService.addImage(this.server,this.qemuImg).subscribe((function(){n.dialogRef.close()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Nj=function(){function n(n,e,t,l,o,i,r){this.dialog=n,this.dialogRef=e,this.nodeService=t,this.toasterService=l,this.formBuilder=o,this.qemuService=i,this.qemuConfigurationService=r,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.qemuImages=[],this.conf={autoFocus:!1,width:"800px",disableClose:!0},this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required),ram:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()})),this.qemuService.getBinaries(this.server).subscribe((function(e){n.binaries=e})),this.qemuService.getImages(this.server).subscribe((function(e){n.qemuImages=e}))},n.prototype.openQemuImageCreator=function(){this.dialogRefQemuImageCreator=this.dialog.open(Mj,this.conf),this.dialogRefQemuImageCreator.componentInstance.server=this.server},n.prototype.uploadCdromImageFile=function(n){this.node.properties.cdrom_image=n.target.files[0].name},n.prototype.uploadInitrdFile=function(n){this.node.properties.initrd=n.target.files[0].name},n.prototype.uploadKernelImageFile=function(n){this.node.properties.kernel_image=n.target.files[0].name},n.prototype.uploadBiosFile=function(n){this.node.properties.bios_image=n.target.files[0].name},n.prototype.getConfiguration=function(){var n=this;this.consoleTypes=this.qemuConfigurationService.getConsoleTypes(),this.onCloseOptions=this.qemuConfigurationService.getOnCloseOptions(),this.qemuConfigurationService.getNetworkTypes().forEach((function(e){n.networkTypes.push(e)})),this.bootPriorities=this.qemuConfigurationService.getBootPriorities(),this.diskInterfaces=this.qemuConfigurationService.getDiskInterfaces()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach((function(e){n.node.custom_adapters.push({adapter_number:e.adapter_number,adapter_type:e.adapter_type})})),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Aj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.builtInTemplatesConfigurationService=o,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration(),n.portsMappingEthernet=n.node.properties.ports_mapping.filter((function(n){return"ethernet"===n.type})),n.portsMappingTap=n.node.properties.ports_mapping.filter((function(n){return"tap"===n.type})),n.portsMappingUdp=n.node.properties.ports_mapping.filter((function(n){return"udp"===n.type}))}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()},n.prototype.onAddEthernetInterface=function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})},n.prototype.onAddTapInterface=function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?(this.portsMappingUdp=this.udpTunnels.dataSourceUdp,this.node.properties.ports_mapping=this.portsMappingUdp.concat(this.portsMappingEthernet).concat(this.portsMappingTap),this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Pj=function(){function n(n,e,t,l){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceVpi="",this.sourceVci="",this.destinationPort="",this.destinationVpi="",this.destinationVci="",this.useVpiOnly=!1,this.nameForm=this.formBuilder.group({name:new Em("",Xh.required)}),this.inputForm=this.formBuilder.group({sourcePort:new Em("",Xh.required),sourceVci:new Em("",Xh.required),destinationPort:new Em("",Xh.required),destinationVci:new Em("",Xh.required)}),this.abstractForm=this.formBuilder.group({sourceVpi:new Em("",Xh.required),destinationVpi:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name;var t=e.properties.mappings;Object.keys(t).forEach((function(e){n.nodeMappings.set(e,t[e])})),n.nodeMappings.forEach((function(e,t){n.nodeMappingsDataSource.push({portIn:t,portOut:e})}))}))},n.prototype.delete=function(n){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter((function(e){return e!==n}))},n.prototype.add=function(){var n;this.inputForm.valid?this.useVpiOnly?(n={portIn:this.sourcePort+":"+this.sourceVci,portOut:this.destinationPort+":"+this.destinationVci},this.nodeMappingsDataSource.filter((function(e){return e.portIn===n.portIn})).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())):this.abstractForm.valid?(n={portIn:this.sourcePort+":"+this.sourceVpi+":"+this.sourceVci,portOut:this.destinationPort+":"+this.destinationVpi+":"+this.destinationVci},this.nodeMappingsDataSource.filter((function(e){return e.portIn===n.portIn})).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())):this.toasterService.error("Fill all required fields."):this.toasterService.error("Fill all required fields.")},n.prototype.clearUserInput=function(){this.sourcePort="0",this.sourceVpi="0",this.sourceVci="0",this.destinationPort="0",this.destinationVpi="0",this.sourceVci="0"},n.prototype.strMapToObj=function(n){for(var e=Object.create(null),t=0,l=n;t<l.length;t++){var o=l[t];e[o[0]]=o[1]}return e},n.prototype.onSaveClick=function(){var n=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach((function(e){n.nodeMappings.set(e.portIn,e.portOut)})),this.node.properties.mappings=Array.from(this.nodeMappings).reduce((function(n,e){var t;return Object.assign(n,((t={})[e[0]]=e[1],t))}),{}),this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),qj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.vmwareConfigurationService=o,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach((function(e){n.node.custom_adapters.push({adapter_number:e.adapter_number,adapter_type:e.adapter_type})})),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()}))):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Lj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.configurationService=o,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new Em("",Xh.required),serialAdapters:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid&&this.networkForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),jj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.configurationService=o,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)}),this.memoryForm=this.formBuilder.group({ram:new Em("",Xh.required),nvram:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid&&this.memoryForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Vj=function(){function n(n,e,t,l,o){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.dockerConfigurationService=o,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required),adapter:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name,n.getConfiguration()}))},n.prototype.getConfiguration=function(){this.consoleTypes=this.dockerConfigurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Bj=function(){function n(n,e,t,l){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name}))},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Hj=function(){function n(n,e,t,l){this.dialogRef=n,this.nodeService=e,this.toasterService=t,this.formBuilder=l,this.generalSettingsForm=this.formBuilder.group({name:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.name=e.name}))},n.prototype.onSaveClick=function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe((function(){n.toasterService.success("Node "+n.node.name+" updated."),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),Uj=function(){function n(n){this.dialog=n,this.conf={autoFocus:!1,width:"800px",disableClose:!0}}return n.prototype.configureNode=function(){"vpcs"===this.node.node_type?this.dialogRef=this.dialog.open(Rj,this.conf):"ethernet_hub"===this.node.node_type?this.dialogRef=this.dialog.open(Ij,this.conf):"ethernet_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Dj,this.conf):"cloud"===this.node.node_type?this.dialogRef=this.dialog.open(Aj,this.conf):"dynamips"===this.node.node_type?this.dialogRef=this.dialog.open(jj,this.conf):"iou"===this.node.node_type?this.dialogRef=this.dialog.open(Lj,this.conf):"qemu"===this.node.node_type?this.dialogRef=this.dialog.open(Nj,this.conf):"virtualbox"===this.node.node_type?this.dialogRef=this.dialog.open(Oj,this.conf):"vmware"===this.node.node_type?this.dialogRef=this.dialog.open(qj,this.conf):"docker"===this.node.node_type?this.dialogRef=this.dialog.open(Vj,this.conf):"nat"===this.node.node_type?this.dialogRef=this.dialog.open(Bj,this.conf):"frame_relay_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Fj,this.conf):"atm_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Pj,this.conf):"traceng"===this.node.node_type&&(this.dialogRef=this.dialog.open(Hj,this.conf));var n=this.dialogRef.componentInstance;n.server=this.server,n.node=this.node},n}(),zj=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Gj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.configureNode()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["settings_applications"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Configure"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var Wj=function(){function n(n,e){this.nodeService=n,this.toasterService=e}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){var e=this;n.nodes&&(this.isNodeWithStoppedStatus=!1,this.nodes.forEach((function(n){"stopped"===n.status&&(e.isNodeWithStoppedStatus=!0)})))},n.prototype.startNodes=function(){var n=this;this.nodes.forEach((function(e){n.nodeService.start(n.server,e).subscribe((function(n){}),(function(e){n.toasterService.error(e.error.message)}))}))},n}(),Zj=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Kj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.startNodes()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["play_arrow"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Start"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function Xj(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,Kj)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.isNodeWithStoppedStatus)}),null)}var Yj=function(){function n(n){this.nodeService=n}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){var e=this;n.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach((function(n){"started"===n.status&&(e.isNodeWithStartedStatus=!0)})))},n.prototype.suspendNodes=function(){var n=this;this.nodes.forEach((function(e){n.nodeService.suspend(n.server,e).subscribe((function(n){}))}))},n}(),$j=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function Qj(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.suspendNodes()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["pause"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Suspend"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function Jj(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,Qj)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.isNodeWithStartedStatus)}),null)}var nV=function(){function n(n){this.nodeService=n}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){var e=this;n.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach((function(n){"started"===n.status&&(e.isNodeWithStartedStatus=!0)})))},n.prototype.stopNodes=function(){var n=this;this.nodes.forEach((function(e){n.nodeService.stop(n.server,e).subscribe((function(n){}))}))},n}(),eV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function tV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.stopNodes()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["stop"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Stop"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function lV(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,tV)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.isNodeWithStartedStatus)}),null)}var oV=function(){function n(n){this.nodeService=n,this.filteredNodes=[]}return n.prototype.ngOnInit=function(){var n=this;this.nodes.forEach((function(e){"vpcs"!==e.node_type&&"qemu"!==e.node_type&&"virtualbox"!==e.node_type&&"vmware"!==e.node_type||n.filteredNodes.push(e)}))},n.prototype.reloadNodes=function(){var n=this;this.filteredNodes.forEach((function(e){n.nodeService.reload(n.server,e).subscribe((function(n){}))}))},n}(),iV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function rV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.reloadNodes()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["refresh"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Reload"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function aV(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,rV)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.filteredNodes.length>0)}),null)}var uV=function(){function n(n,e,t){this.consoleService=n,this.toasterService=e,this.mapSettingsService=t}return n.prototype.ngOnInit=function(){},n.prototype.openConsole=function(){var n=this;this.nodes.forEach((function(e){"started"===e.status?(n.mapSettingsService.logConsoleSubject.next(!0),n.consoleService.openConsoleForNode(e)):n.toasterService.error("To open console please start the node")}))},n}(),sV=function(){function n(){this.nodeConsoleTrigger=new o.EventEmitter,this.closeNodeConsoleTrigger=new Mn.b,this.consoleResized=new Mn.b,this.openConsoles=0,this.defaultConsoleWidth=720,this.defaultConsoleHeight=408,this.defaultNumberOfColumns=80,this.defaultNumberOfRows=24}return n.prototype.openConsoleForNode=function(n){this.nodeConsoleTrigger.emit(n)},n.prototype.closeConsoleForNode=function(n){this.closeNodeConsoleTrigger.next(n)},n.prototype.resizeTerminal=function(n){this.consoleResized.next(n)},n.prototype.getLineWidth=function(){return this.defaultConsoleWidth/this.defaultNumberOfColumns},n.prototype.getLineHeight=function(){return this.defaultConsoleHeight/this.defaultNumberOfRows},n}(),dV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function cV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.openConsole()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["http"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Web console"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var pV=function(){function n(n,e){this.toasterService=n,this.router=e}return n.prototype.ngOnInit=function(){},n.prototype.openConsole=function(){var n=this;this.nodes.forEach((function(e){if("started"===e.status){var t=n.router.url.split("/");window.open("/static/web-ui/"+t[1]+"/"+t[2]+"/"+t[3]+"/"+t[4]+"/nodes/"+e.node_id)}else n.toasterService.error("To open console please start the node")}))},n}(),fV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function hV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.openConsole()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["http"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Web console in new tab"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var mV=function(){function n(n,e,t,l,o){this.electronService=n,this.serverService=e,this.settingsService=t,this.toasterService=l,this.nodeService=o}return n.prototype.ngOnInit=function(){},n.prototype.console=function(){return i.b(this,void 0,void 0,(function(){var n,e,t,l,o;return i.d(this,(function(i){switch(i.label){case 0:if(n=this.settingsService.get("console_command")?this.settingsService.get("console_command"):this.nodeService.getDefaultCommand(),0===this.nodes.filter((function(n){return"started"===n.status})).length)return this.toasterService.error("Device needs to be started in order to console to it."),[2];e=0,t=this.nodes,i.label=1;case 1:return e<t.length?"started"!==(l=t[e]).status?[3,3]:(o={command:n,type:l.console_type,host:l.console_host,port:l.console,name:l.name,project_id:l.project_id,node_id:l.node_id,server_url:this.serverService.getServerUrl(this.server)},[4,this.openConsole(o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return e++,[3,1];case 4:return[2]}}))}))},n.prototype.openConsole=function(n){return i.b(this,void 0,void 0,(function(){return i.d(this,(function(e){switch(e.label){case 0:return[4,this.electronService.remote.require("./console-executor.js").openConsole(n)];case 1:return[2,e.sent()]}}))}))},n}(),vV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function gV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.console()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["web_asset"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Console"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var bV=function(){function n(n,e){this.toasterService=n,this.nodeService=e}return n.prototype.openConsole=function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe((function(e){n.node=e,n.startConsole()}))},n.prototype.startConsole=function(){"started"!==this.node.status?this.toasterService.error("This node must be started before a console can be opened"):"telnet"===this.node.console_type?location.assign("gns3+telnet://"+this.node.console_host+":"+this.node.console+"?name="+this.node.name+"&project_id="+this.node.project_id+"&node_id="+this.node.node_id):"vnc"===this.node.console_type?location.assign("gns3+vnc://"+this.node.console_host+":"+this.node.console+"?name="+this.node.name+"&project_id="+this.node.project_id+"&node_id="+this.node.node_id):"spice"===this.node.console_type?location.assign("gns3+spice://"+this.node.console_host+":"+this.node.console+"?name="+this.node.name+"&project_id="+this.node.project_id+"&node_id="+this.node.node_id):this.toasterService.error("Supported console types: telnet, vnc, spice.")},n}(),_V=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function yV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.openConsole()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["web_asset"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Console"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var CV=function(){function n(n){this.electronService=n}return n.prototype.ngOnInit=function(){},n.prototype.open=function(){this.electronService.shell.openItem(this.node.node_directory)},n}(),wV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function SV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.open()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["tab"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Open file explorer"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var xV=function(){function n(n,e){this.dialogRef=n,this.nodeService=e}return n.prototype.ngOnInit=function(){this.symbol=this.node.symbol},n.prototype.symbolChanged=function(n){this.symbol=n},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.prototype.onSelectClick=function(){var n=this;this.nodeService.updateSymbol(this.server,this.node,this.symbol).subscribe((function(){n.onCloseClick()}))},n}(),kV=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.changeSymbol=function(){var n=this.dialog.open(xV,{width:"1000px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.node=this.node},n}(),EV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function TV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.changeSymbol()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["edit"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Change symbol"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var RV=function(){function n(n,e,t,l,o){this.nodeService=n,this.nodesDataSource=e,this.drawingService=t,this.drawingsDataSource=l,this.toasterService=o}return n.prototype.duplicate=function(){for(var n=this,e="",t=0,l=this.nodes;t<l.length;t++){var o=l[t];"stopped"===o.status?this.nodeService.duplicate(this.server,o).subscribe((function(e){n.nodesDataSource.add(e)})):e+=o.name+", "}for(var i=0,r=this.drawings;i<r.length;i++){var a=r[i];this.drawingService.duplicate(this.server,a.project_id,a).subscribe((function(e){n.drawingsDataSource.add(e)}))}e.length>0&&(e=e.substring(0,e.length-2),this.toasterService.error("Cannot duplicate node data for nodes: "+e))},n}(),IV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function DV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.duplicate()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["filter_none"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Duplicate"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var FV=function(){function n(n,e,t,l,o,i,r,a,u){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o,this.formBuilder=i,this.toasterService=r,this.nonNegativeValidator=a,this.rotationValidator=u,this.formGroup=this.formBuilder.group({borderWidth:new Em("",[Xh.required,a.get]),rotation:new Em("",[Xh.required,u.get])})}return n.prototype.ngOnInit=function(){this.element=new OV,this.drawing.element instanceof LO||this.drawing.element instanceof HO?(this.element.fill=this.drawing.element.fill,this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width):this.drawing.element instanceof VO&&(this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width),void 0===this.element.stroke_width&&(this.element.stroke_width=0),this.formGroup.controls.borderWidth.setValue(this.element.stroke_width),this.formGroup.controls.rotation.setValue(this.drawing.rotation)},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;if(this.formGroup.valid){this.element.stroke_width=this.formGroup.get("borderWidth").value,this.drawing.rotation=this.formGroup.get("rotation").value,this.drawing.element instanceof LO||this.drawing.element instanceof HO?(this.drawing.element.fill=this.element.fill,this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width):this.drawing.element instanceof VO&&(this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width);var e=this.drawingToMapDrawingConverter.convert(this.drawing);e.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(e),this.drawingService.update(this.server,this.drawing).subscribe((function(e){n.drawingsDataSource.update(e),n.dialogRef.close()}))}else this.toasterService.error("Entered data is incorrect")},n}(),OV=function(){return function(){}}(),MV=function(){function n(n){this.dialog=n,this.isImageDrawing=!1}return n.prototype.ngOnChanges=function(){this.isImageDrawing=this.drawing.element instanceof PO},n.prototype.editStyle=function(){var n=this.dialog.open(FV,{width:"800px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing},n}(),NV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function AV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.editStyle()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["style"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Edit style"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function PV(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,AV)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,!e.component.isImageDrawing)}),null)}var qV=function(){function n(n,e,t,l,o,i,r,a,u,s,d,c,p,f){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o,this.renderer=i,this.nodeService=r,this.nodesDataSource=a,this.linkService=u,this.linksDataSource=s,this.formBuilder=d,this.toasterService=c,this.rotationValidator=p,this.fontFixer=f}return n.prototype.ngOnInit=function(){var n=this;this.formGroup=this.formBuilder.group({rotation:new Em("",[Xh.required,this.rotationValidator.get])}),this.label&&this.node?(this.isTextEditable=!1,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.linkNode&&this.link?(this.isTextEditable=!0,this.label=this.link.nodes.find((function(e){return e.node_id===n.linkNode.node_id})).label,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.drawing&&(this.isTextEditable=!0,this.rotation=this.drawing.rotation.toString(),this.element=this.drawing.element);var e={font_family:this.element.font_family,font_size:this.element.font_size,font_weight:this.element.font_weight};e=this.fontFixer.fix(e),this.formGroup.controls.rotation.setValue(this.rotation),this.renderer.setStyle(this.textArea.nativeElement,"color",this.element.fill),this.renderer.setStyle(this.textArea.nativeElement,"font-family",e.font_family),this.renderer.setStyle(this.textArea.nativeElement,"font-size",e.font_size+"pt"),this.renderer.setStyle(this.textArea.nativeElement,"font-weight",e.font_weight)},n.prototype.getTextElementFromLabel=function(){for(var n=[],e=new NO,t=0,l=this.label.style.split(";");t<l.length;t++){var o=l[t];n.push({property:o.split(": ")[0],value:o.split(": ")[1]})}return e.text=this.label.text?this.label.text:"",e.font_family=n.find((function(n){return"font-family"===n.property}))?n.find((function(n){return"font-family"===n.property})).value:"TypeWriter",e.font_size=n.find((function(n){return"font-size"===n.property}))?+n.find((function(n){return"font-size"===n.property})).value:10,e.font_weight=n.find((function(n){return"font-weight"===n.property}))?n.find((function(n){return"font-weight"===n.property})).value:"normal",e.fill=n.find((function(n){return"fill"===n.property}))?n.find((function(n){return"fill"===n.property})).value:"#000000",e.fill_opacity=n.find((function(n){return"fill-opacity"===n.property}))?+n.find((function(n){return"fill-opacity"===n.property})).value:1,e},n.prototype.getStyleFromTextElement=function(){return"font-family: "+this.element.font_family+";font-size: "+this.element.font_size+";font-weight: "+this.element.font_weight+";fill: "+this.element.fill+";fill-opacity: "+this.element.fill_opacity+";"},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;if(this.formGroup.valid){if(this.rotation=this.formGroup.get("rotation").value,this.label&&this.node)this.node.label.style=this.getStyleFromTextElement(),this.node.label.rotation=+this.rotation,this.nodeService.updateLabel(this.server,this.node,this.node.label).subscribe((function(e){n.nodesDataSource.update(e),n.dialogRef.close()}));else if(this.linkNode&&this.link)this.label.style=this.getStyleFromTextElement(),this.label.rotation=+this.rotation,this.label.text=this.element.text,this.linkService.updateLink(this.server,this.link).subscribe((function(e){n.linksDataSource.update(e),n.dialogRef.close()}));else if(this.drawing){this.drawing.rotation=+this.rotation,this.drawing.element=this.element;var e=this.drawingToMapDrawingConverter.convert(this.drawing);e.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(e),this.drawingService.update(this.server,this.drawing).subscribe((function(e){n.drawingsDataSource.update(e),n.dialogRef.close()}))}}else this.toasterService.error("Entered data is incorrect")},n.prototype.changeTextColor=function(n){this.renderer.setStyle(this.textArea.nativeElement,"color",n)},n}(),LV=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.editText=function(){var n=this.dialog.open(qV,{width:"300px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing,n.node=this.node,n.label=this.label,n.link=this.link,n.linkNode=this.linkNode},n}(),jV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function VV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.editText()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["text_format"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Edit text"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var BV=function(){function n(n,e,t){this.dialogRef=n,this.nodeService=e,this.toasterService=t}return n.prototype.ngOnInit=function(){var n=this;this.nodeService.getStartupConfiguration(this.server,this.node).subscribe((function(e){n.config=e})),"iou"!==this.node.node_type&&"dynamips"!==this.node.node_type||this.nodeService.getPrivateConfiguration(this.server,this.node).subscribe((function(e){n.privateConfig=e}))},n.prototype.onSaveClick=function(){var n=this;this.nodeService.saveConfiguration(this.server,this.node,this.config).subscribe((function(e){"iou"===n.node.node_type||"dynamips"===n.node.node_type?n.nodeService.savePrivateConfiguration(n.server,n.node,n.privateConfig).subscribe((function(e){n.dialogRef.close(),n.toasterService.success("Configuration for node "+n.node.name+" saved.")})):(n.dialogRef.close(),n.toasterService.success("Configuration for node "+n.node.name+" saved."))}))},n.prototype.onCancelClick=function(){this.dialogRef.close()},n}(),HV=function(){function n(n){this.dialog=n}return n.prototype.editConfig=function(){var n=this.dialog.open(BV,{width:"600px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project,n.node=this.node},n}(),UV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function zV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.editConfig()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["settings"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Edit config"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function GV(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,zV)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,"vpcs"===t.node.node_type||"iou"===t.node.node_type||"dynamips"===t.node.node_type)}),null)}var WV=function(){function n(n){this.dialogRef=n}return n.prototype.close=function(n){this.dialogRef.close(n)},n}(),ZV=function(){function n(n,e){this.nodeService=n,this.dialog=e}return n.prototype.exportConfig=function(){var n=this;"vpcs"===this.node.node_type?this.nodeService.getStartupConfiguration(this.server,this.node).subscribe((function(e){n.downloadByHtmlTag(e)})):this.dialog.open(WV,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){"startup-config"===e?n.nodeService.getStartupConfiguration(n.server,n.node).subscribe((function(e){n.downloadByHtmlTag(e)})):"private-config"===e&&n.nodeService.getPrivateConfiguration(n.server,n.node).subscribe((function(e){n.downloadByHtmlTag(e)}))}))},n.prototype.downloadByHtmlTag=function(n){var e=document.createElement("a");e.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(n)),"vpcs"===this.node.node_type?e.setAttribute("download",this.node.name+"_startup.vpc"):"iou"!==this.node.node_type&&"dynamips"!==this.node.node_type||e.setAttribute("download",this.node.name+"_startup.cfg");var t=new MouseEvent("click");e.dispatchEvent(t)},n}(),KV=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function XV(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.exportConfig()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["call_made"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Export config"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function YV(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,XV)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,"vpcs"===t.node.node_type||"dynamips"===t.node.node_type||"iou"===t.node.node_type)}),null)}var $V=function(){function n(n,e,t){this.nodeService=n,this.toasterService=e,this.dialog=t}return n.prototype.triggerClick=function(){var n=this;"vpcs"!==this.node.node_type?this.dialog.open(WV,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe((function(e){n.configType=e,n.fileInput.nativeElement.click()})):(this.configType="startup-config",this.fileInput.nativeElement.click())},n.prototype.importConfig=function(n){var e=this,t=n.target.files[0],l=new FileReader;l.onload=function(n){var t=l.result;"string"!=typeof t&&(t=t.toString()),"startup-config"===e.configType?e.nodeService.saveConfiguration(e.server,e.node,t).subscribe((function(){e.toasterService.success("Configuration for node "+e.node.name+" imported.")})):"private-config"===e.configType&&e.nodeService.savePrivateConfiguration(e.server,e.node,t).subscribe((function(){e.toasterService.success("Configuration for node "+e.node.name+" imported.")}))},l.readAsText(t)},n}(),QV=o["ɵcrt"]({encapsulation:0,styles:[[".non-visible[_ngcontent-%COMP%]{display:none}"]],data:{}});function JV(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{fileInput:0}),(n()(),o["ɵeld"](1,0,[[1,0],["fileInput",1]],null,0,"input",[["accept",".txt, .vpc"],["class","non-visible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.importConfig(t)&&l),l}),null,null)),(n()(),o["ɵeld"](2,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,3)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,3)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.triggerClick()&&l),l}),Td,Ed)),o["ɵdid"](3,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](5,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["call_received"])),(n()(),o["ɵeld"](7,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Import config"]))],(function(n,e){n(e,5,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).role,o["ɵnov"](e,3)._highlighted,o["ɵnov"](e,3)._triggersSubmenu,o["ɵnov"](e,3)._getTabIndex(),o["ɵnov"](e,3).disabled.toString(),o["ɵnov"](e,3).disabled||null),n(e,4,0,o["ɵnov"](e,5).inline,"primary"!==o["ɵnov"](e,5).color&&"accent"!==o["ɵnov"](e,5).color&&"warn"!==o["ɵnov"](e,5).color)}))}var nB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerUp=function(){var n=this;this.nodes.forEach((function(e){e.z++,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe((function(n){}))})),this.drawings.forEach((function(e){e.z++,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe((function(n){}))}))},n}(),eB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function tB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.moveLayerUp()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["keyboard_arrow_up"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Move layer up"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var lB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerDown=function(){var n=this;this.nodes.forEach((function(e){e.z--,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe((function(n){}))})),this.drawings.forEach((function(e){e.z--,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe((function(n){}))}))},n}(),oB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function iB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.moveLayerDown()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["keyboard_arrow_down"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Move layer down"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var rB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.bringToFront=function(){var n=this,e=Math.max.apply(Math,this.nodes.map((function(n){return n.z}))),t=Math.max.apply(Math,this.drawings.map((function(n){return n.z}))),l=Math.max(e,t);l<100&&l++,this.nodes.forEach((function(e){e.z=l,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe((function(n){}))})),this.drawings.forEach((function(e){e.z=l,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe((function(n){}))}))},n}(),aB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function uB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.bringToFront()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["vertical_align_top"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Bring to front"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var sB=function(){function n(n,e,t,l,o,i){this.dialogRef=n,this.linkService=e,this.formBuilder=t,this.toasterService=l,this.nodesDataSource=o,this.packetCaptureService=i,this.linkTypes=[],this.inputForm=this.formBuilder.group({linkType:new Em("",Xh.required),fileName:new Em("",Xh.required)})}return n.prototype.ngOnInit=function(){this.linkTypes="ethernet"===this.link.link_type?[["Ethernet","DLT_EN10MB"]]:[["Cisco HDLC","DLT_C_HDLC"],["Cisco PPP","DLT_PPP_SERIAL"],["Frame Relay","DLT_FRELAY"],["ATM","DLT_ATM_RFC1483"]];var n=this.nodesDataSource.get(this.link.nodes[0].node_id),e=this.nodesDataSource.get(this.link.nodes[1].node_id);this.inputForm.controls.fileName.setValue(n.name+"_"+n.ports[this.link.nodes[0].port_number].name+"_to_"+e.name+"_"+e.ports[this.link.nodes[1].port_number].name)},n.prototype.onYesClick=function(){var n=this,e=!1;if(this.link.nodes.forEach((function(t){"started"===n.nodesDataSource.get(t.node_id).status&&(e=!0)})),e)if(this.inputForm.invalid)this.toasterService.error("Fill all required fields");else{var t={capture_file_name:this.inputForm.get("fileName").value,data_link_type:this.inputForm.get("linkType").value};this.startProgram&&this.packetCaptureService.startCapture(this.server,this.project,this.link,t.capture_file_name),this.linkService.startCaptureOnLink(this.server,this.link,t).subscribe((function(){n.dialogRef.close()}))}else this.toasterService.error("Cannot capture because there is no running device on this link")},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),dB=function(){function n(n){this.dialog=n}return n.prototype.startCapture=function(){var n=this.dialog.open(sB,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project,n.link=this.link},n}(),cB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function pB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.startCapture()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["loupe"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Start capture"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function fB(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,pB)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,!e.component.link.capturing)}),null)}var hB=function(){function n(n){this.linkService=n}return n.prototype.stopCapture=function(){this.linkService.stopCaptureOnLink(this.server,this.link).subscribe((function(){}))},n}(),mB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function vB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.stopCapture()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["pause_circle_filled"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Stop capture"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function gB(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,vB)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.link.capturing)}),null)}var bB=function(){function n(n){this.packetCaptureService=n}return n.prototype.startCapture=function(){var n=this.link.capture_file_name.split(".");this.packetCaptureService.startCapture(this.server,this.project,this.link,n[0])},n}(),_B=function(){function n(){}return n.prototype.startCapture=function(n,e,t,l){location.assign("gns3+pcap://"+n.host+":"+n.port+"?project_id="+e.project_id+"&link_id="+t.link_id+"&name="+l)},n}(),yB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function CB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.startCapture()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["search"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Start Wireshark"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function wB(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,CB)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.link.capturing)}),null)}var SB=function(){function n(n){this.dialogRef=n}return n.prototype.onCloseClick=function(){this.dialogRef.close()},n}(),xB=function(){function n(n,e,t){this.dialogRef=n,this.linkService=e,this.dialog=t}return n.prototype.ngOnInit=function(){var n=this;this.linkService.getLink(this.server,this.link.project_id,this.link.link_id).subscribe((function(e){n.link=e,n.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},n.link.filters&&(n.filters.bpf=n.link.filters.bpf?n.link.filters.bpf:[],n.filters.corrupt=n.link.filters.corrupt?n.link.filters.corrupt:[0],n.filters.delay=n.link.filters.delay?n.link.filters.delay:[0,0],n.filters.frequency_drop=n.link.filters.frequency_drop?n.link.filters.frequency_drop:[0],n.filters.packet_loss=n.link.filters.packet_loss?n.link.filters.packet_loss:[0])})),this.linkService.getAvailableFilters(this.server,this.link).subscribe((function(e){n.availableFilters=e}))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onResetClick=function(){var n=this;this.link.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},this.linkService.updateLink(this.server,this.link).subscribe((function(e){n.dialogRef.close()}))},n.prototype.onYesClick=function(){var n=this;this.link.filters=this.filters,this.linkService.updateLink(this.server,this.link).subscribe((function(e){n.dialogRef.close()}))},n.prototype.onHelpClick=function(){var n=this.dialog.open(SB,{width:"500px",autoFocus:!1,disableClose:!0}).componentInstance;n.title="Help for filters";var e=[];this.availableFilters.forEach((function(n){e.push({name:n.name,description:n.description})})),n.messages=e},n}(),kB=function(){function n(n){this.dialog=n}return n.prototype.openPacketFilters=function(){var n=this.dialog.open(xB,{width:"900px",height:"400px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project,n.link=this.link},n}(),EB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function TB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.openPacketFilters()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["filter_list"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Packet filters"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var RB=function(){function n(n){this.linkService=n}return n.prototype.resumeLink=function(){this.link.suspend=!1,this.linkService.updateLink(this.server,this.link).subscribe((function(){}))},n}(),IB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function DB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.resumeLink()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["play_arrow"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Resume"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function FB(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,DB)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.component.link.suspend)}),null)}var OB=function(){function n(n){this.linkService=n}return n.prototype.suspendLink=function(){this.link.suspend=!0,this.linkService.updateLink(this.server,this.link).subscribe((function(){}))},n}(),MB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function NB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.suspendLink()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["pause"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Suspend"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function AB(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,NB)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,!e.component.link.suspend)}),null)}var PB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnChanges=function(){this.command=1===this.nodes.length&&0===this.drawings.length?this.nodes[0].locked?"Unlock item":"Lock item":0===this.nodes.length&&1===this.drawings.length?this.drawings[0].locked?"Unlock item":"Lock item":"Lock/unlock items"},n.prototype.lock=function(){var n=this;this.nodes.forEach((function(e){e.locked=!e.locked,n.nodeService.updateNode(n.server,e).subscribe((function(e){n.nodesDataSource.update(e)}))})),this.drawings.forEach((function(e){e.locked=!e.locked,n.drawingService.update(n.server,e).subscribe((function(e){n.drawingsDataSource.update(e)}))}))},n}(),qB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function LB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.lock()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["lock"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](6,null,["",""]))],(function(n,e){n(e,3,0)}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color),n(e,6,0,t.command)}))}var jB=function(){function n(n,e,t,l,o,i){this.nodesDataSource=n,this.drawingsDataSource=e,this.linksDataSource=t,this.nodeService=l,this.drawingService=o,this.linkService=i}return n.prototype.ngOnInit=function(){},n.prototype.delete=function(){var n=this;this.nodes.forEach((function(e){n.nodesDataSource.remove(e),n.nodeService.delete(n.server,e).subscribe((function(n){}))})),this.drawings.forEach((function(e){n.drawingsDataSource.remove(e),n.drawingService.delete(n.server,e).subscribe((function(n){}))})),this.links.forEach((function(e){n.linksDataSource.remove(e),n.linkService.deleteLink(n.server,e).subscribe((function(){}))}))},n}(),VB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function BB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.delete()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var HB=function(){function n(n,e){this.nodesDataSource=n,this.nodeService=e}return n.prototype.ngOnInit=function(){},n.prototype.alignHorizontally=function(){var n=this,e=0;this.nodes.forEach((function(n){e+=n.y})),e/=this.nodes.length,this.nodes.forEach((function(t){t.y=e,n.nodesDataSource.update(t),n.nodeService.update(n.server,t).subscribe((function(n){}))}))},n}(),UB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function zB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.alignHorizontally()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_horiz"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Align horizontally"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var GB=function(){function n(n,e){this.nodesDataSource=n,this.nodeService=e}return n.prototype.ngOnInit=function(){},n.prototype.alignVertically=function(){var n=this,e=0;this.nodes.forEach((function(n){e+=n.x})),e/=this.nodes.length,this.nodes.forEach((function(t){t.x=e,n.nodesDataSource.update(t),n.nodeService.update(n.server,t).subscribe((function(n){}))}))},n}(),WB=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function ZB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.alignVertically()&&l),l}),Td,Ed)),o["ɵdid"](1,180224,null,0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["more_vert"])),(n()(),o["ɵeld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Align vertically"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}var KB=function(){function n(n,e,t,l){this.sanitizer=n,this.changeDetector=e,this.electronService=t,this.projectService=l,this.drawings=[],this.nodes=[],this.labels=[],this.links=[],this.linkNodes=[],this.hasTextCapabilities=!1,this.isElectronApp=!1,this.isBundledServer=!1}return n.prototype.ngOnInit=function(){this.setPosition(0,0),this.isElectronApp=this.electronService.isElectronApp,this.isBundledServer="bundled"===this.server.location},n.prototype.setPosition=function(n,e){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(e+"px"),this.changeDetector.detectChanges()},n.prototype.openMenuForDrawing=function(n,e,t){this.resetCapabilities(),this.hasTextCapabilities=n.element instanceof NO,this.drawings=[n],this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.openMenuForNode=function(n,e,t){this.resetCapabilities(),this.nodes=[n],this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.openMenuForLabel=function(n,e,t,l){this.resetCapabilities(),this.labels=[n],this.nodes=[e],this.setPosition(t,l),this.contextMenu.openMenu()},n.prototype.openMenuForInterfaceLabel=function(n,e,t,l){this.resetCapabilities(),this.linkNodes=[n],this.links=[e],this.setPosition(t,l),this.contextMenu.openMenu()},n.prototype.openMenuForListOfElements=function(n,e,t,l,o,i){this.resetCapabilities(),this.drawings=n,this.nodes=e,this.labels=t,this.links=l,this.setPosition(o,i),this.contextMenu.openMenu()},n.prototype.resetCapabilities=function(){this.drawings=[],this.nodes=[],this.labels=[],this.linkNodes=[],this.links=[],this.hasTextCapabilities=!1},n}(),XB=o["ɵcrt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute;min-height:0}.mat-menu-panel[_ngcontent-%COMP%] ng-trigger[_ngcontent-%COMP%] ng-trigger-transformMenu[_ngcontent-%COMP%] ng-tns-c7-5[_ngcontent-%COMP%] context-menu-items[_ngcontent-%COMP%] mat-menu-after[_ngcontent-%COMP%] mat-menu-below[_ngcontent-%COMP%] ng-star-inserted[_ngcontent-%COMP%] mat-elevation-z4[_ngcontent-%COMP%]{min-height:0!important}"]],data:{}});function YB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-show-node-action",[],null,null,null,Tj,Ej)),o["ɵdid"](1,49152,null,0,kj,[av],{node:[0,"node"],server:[1,"server"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.nodes[0],t.server)}),null)}function $B(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-config-node-action",[],null,null,null,Gj,zj)),o["ɵdid"](1,49152,null,0,Uj,[av],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function QB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-start-node-action",[],null,null,null,Xj,Zj)),o["ɵdid"](1,638976,null,0,Wj,[ij,hc],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function JB(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-suspend-node-action",[],null,null,null,Jj,$j)),o["ɵdid"](1,638976,null,0,Yj,[ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function nH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-stop-node-action",[],null,null,null,lV,eV)),o["ɵdid"](1,638976,null,0,nV,[ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function eH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-reload-node-action",[],null,null,null,aV,iV)),o["ɵdid"](1,114688,null,0,oV,[ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function tH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-http-console-action",[],null,null,null,cV,dV)),o["ɵdid"](1,114688,null,0,uV,[sV,hc,YM],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function lH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-http-console-new-tab-action",[],null,null,null,hV,fV)),o["ɵdid"](1,114688,null,0,pV,[hc,vl],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function oH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-console-device-action",[],null,null,null,gV,vV)),o["ɵdid"](1,114688,null,0,mV,[sc,Dh,_b,hc,ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function iH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-console-device-action-browser",[],null,null,null,yV,_V)),o["ɵdid"](1,49152,null,0,bV,[hc,ij],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function rH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-open-file-explorer-action",[],null,null,null,SV,wV)),o["ɵdid"](1,114688,null,0,CV,[sc],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function aH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-change-symbol-action",[],null,null,null,TV,EV)),o["ɵdid"](1,114688,null,0,kV,[av],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function uH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-duplicate-action",[],null,null,null,DV,IV)),o["ɵdid"](1,49152,null,0,RV,[ij,NM,sj,dj,hc],{server:[0,"server"],project:[1,"project"],drawings:[2,"drawings"],nodes:[3,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings,t.nodes)}),null)}function sH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-edit-style-action",[],null,null,null,PV,NV)),o["ɵdid"](1,573440,null,0,MV,[av],{server:[0,"server"],project:[1,"project"],drawing:[2,"drawing"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings[0])}),null)}function dH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-edit-text-action",[],null,null,null,VV,jV)),o["ɵdid"](1,114688,null,0,LV,[av],{server:[0,"server"],project:[1,"project"],drawing:[2,"drawing"],node:[3,"node"],label:[4,"label"],link:[5,"link"],linkNode:[6,"linkNode"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings[0],t.nodes[0],t.labels[0],t.links[0],t.linkNodes[0])}),null)}function cH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-edit-config-action",[],null,null,null,GV,UV)),o["ɵdid"](1,49152,null,0,HV,[av],{server:[0,"server"],project:[1,"project"],node:[2,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.nodes[0])}),null)}function pH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-export-config-action",[],null,null,null,YV,KV)),o["ɵdid"](1,49152,null,0,ZV,[ij,av],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function fH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-import-config-action",[],null,null,null,JV,QV)),o["ɵdid"](1,49152,null,0,$V,[ij,hc,av],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes[0])}),null)}function hH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-move-layer-up-action",[],null,null,null,tB,eB)),o["ɵdid"](1,114688,null,0,nB,[NM,dj,ij,sj],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)}),null)}function mH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-move-layer-down-action",[],null,null,null,iB,oB)),o["ɵdid"](1,114688,null,0,lB,[NM,dj,ij,sj],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)}),null)}function vH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-bring-to-front-action",[],null,null,null,uB,aB)),o["ɵdid"](1,114688,null,0,rB,[NM,dj,ij,sj],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)}),null)}function gH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-start-capture-action",[],null,null,null,fB,cB)),o["ɵdid"](1,49152,null,0,dB,[av],{server:[0,"server"],project:[1,"project"],link:[2,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.links[0])}),null)}function bH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-stop-capture-action",[],null,null,null,gB,mB)),o["ɵdid"](1,49152,null,0,hB,[FM],{server:[0,"server"],link:[1,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])}),null)}function _H(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-start-capture-on-started-link-action",[],null,null,null,wB,yB)),o["ɵdid"](1,49152,null,0,bB,[_B],{server:[0,"server"],project:[1,"project"],link:[2,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.links[0])}),null)}function yH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-packet-filters-action",[],null,null,null,TB,EB)),o["ɵdid"](1,49152,null,0,kB,[av],{server:[0,"server"],project:[1,"project"],link:[2,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.links[0])}),null)}function CH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-resume-link-action",[],null,null,null,FB,IB)),o["ɵdid"](1,49152,null,0,RB,[FM],{server:[0,"server"],link:[1,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])}),null)}function wH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-suspend-link-action",[],null,null,null,AB,MB)),o["ɵdid"](1,49152,null,0,OB,[FM],{server:[0,"server"],link:[1,"link"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])}),null)}function SH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-lock-action",[],null,null,null,LB,qB)),o["ɵdid"](1,573440,null,0,PB,[NM,dj,ij,sj],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)}),null)}function xH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-delete-action",[],null,null,null,BB,VB)),o["ɵdid"](1,114688,null,0,jB,[NM,dj,MM,ij,sj,FM],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"],links:[3,"links"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings,t.links)}),null)}function kH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-align-horizontally-action",[],null,null,null,zB,UB)),o["ɵdid"](1,114688,null,0,HB,[NM,ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function EH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-align-vertically-action",[],null,null,null,ZB,WB)),o["ɵdid"](1,114688,null,0,GB,[NM,ij],{server:[0,"server"],nodes:[1,"nodes"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)}),null)}function TH(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{contextMenu:0}),(n()(),o["ɵeld"](1,0,null,null,71,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["ɵeld"](2,16777216,null,null,1,"span",[["aria-haspopup","true"],["class","mat-menu-trigger"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,3)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,3)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,3)._handleClick(t)&&l),l}),null,null)),o["ɵdid"](3,1196032,[[1,4]],0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](4,0,null,null,68,"mat-menu",[["class","context-menu-items"]],null,null,null,kd,Sd)),o["ɵprd"](6144,null,md,null,[vd]),o["ɵprd"](6144,null,pd,null,[md]),o["ɵdid"](7,1294336,[["contextMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{panelClass:[0,"panelClass"]},null),o["ɵqud"](603979776,2,{_allItems:1}),o["ɵqud"](603979776,3,{items:1}),o["ɵqud"](603979776,4,{lazyContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,YB)),o["ɵdid"](12,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,$B)),o["ɵdid"](14,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,QB)),o["ɵdid"](16,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,JB)),o["ɵdid"](18,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,nH)),o["ɵdid"](20,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,eH)),o["ɵdid"](22,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,tH)),o["ɵdid"](24,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,lH)),o["ɵdid"](26,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,oH)),o["ɵdid"](28,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,iH)),o["ɵdid"](30,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,rH)),o["ɵdid"](32,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,aH)),o["ɵdid"](34,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,uH)),o["ɵdid"](36,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,sH)),o["ɵdid"](38,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,dH)),o["ɵdid"](40,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,cH)),o["ɵdid"](42,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,pH)),o["ɵdid"](44,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,fH)),o["ɵdid"](46,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,hH)),o["ɵdid"](48,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,mH)),o["ɵdid"](50,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,vH)),o["ɵdid"](52,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,gH)),o["ɵdid"](54,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,bH)),o["ɵdid"](56,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,_H)),o["ɵdid"](58,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,yH)),o["ɵdid"](60,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,CH)),o["ɵdid"](62,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,wH)),o["ɵdid"](64,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,SH)),o["ɵdid"](66,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,xH)),o["ɵdid"](68,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,kH)),o["ɵdid"](70,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,EH)),o["ɵdid"](72,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0,o["ɵnov"](e,7)),n(e,7,0,"context-menu-items"),n(e,12,0,1===t.nodes.length),n(e,14,0,1===t.nodes.length),n(e,16,0,t.nodes.length),n(e,18,0,t.nodes.length),n(e,20,0,t.nodes.length),n(e,22,0,t.nodes.length),n(e,24,0,!t.projectService.isReadOnly(t.project)&&1===t.nodes.length),n(e,26,0,!t.projectService.isReadOnly(t.project)&&1===t.nodes.length),n(e,28,0,!t.projectService.isReadOnly(t.project)&&t.nodes.length&&t.isElectronApp),n(e,30,0,!t.projectService.isReadOnly(t.project)&&1===t.nodes.length&&!t.isElectronApp),n(e,32,0,!t.projectService.isReadOnly(t.project)&&1===t.nodes.length&&t.isElectronApp),n(e,34,0,!t.projectService.isReadOnly(t.project)&&1===t.nodes.length),n(e,36,0,t.drawings.length>0||t.nodes.length>0),n(e,38,0,!t.projectService.isReadOnly(t.project)&&1===t.drawings.length&&!t.hasTextCapabilities),n(e,40,0,!t.projectService.isReadOnly(t.project)&&(1===t.drawings.length&&t.hasTextCapabilities&&0===t.labels.length&&0===t.linkNodes.length||1===t.labels.length&&0===t.linkNodes.length&&0===t.drawings.length||1===t.linkNodes.length&&0===t.labels.length&&0===t.drawings.length)),n(e,42,0,1===t.nodes.length&&"vpcs"===t.nodes[0].node_type),n(e,44,0,1===t.nodes.length&&("vpcs"===t.nodes[0].node_type||"iou"===t.nodes[0].node_type||"dynamips"===t.nodes[0].node_type)),n(e,46,0,1===t.nodes.length&&("vpcs"===t.nodes[0].node_type||"iou"===t.nodes[0].node_type||"dynamips"===t.nodes[0].node_type)),n(e,48,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)),n(e,50,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)),n(e,52,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)),n(e,54,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,56,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,58,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,60,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,62,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,64,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,66,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length>0||t.nodes.length>0)),n(e,68,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length>0||t.nodes.length>0||t.links.length>0)&&0===t.linkNodes.length),n(e,70,0,!t.projectService.isReadOnly(t.project)&&t.nodes.length>1),n(e,72,0,!t.projectService.isReadOnly(t.project)&&t.nodes.length>1)}),(function(n,e){var t=e.component;n(e,1,0,t.leftPosition,t.topPosition),n(e,2,0,o["ɵnov"](e,3).menuOpen||null)}))}var RH=t("yccp"),IH=function(){function n(n,e,t,l,o,i){this.hotkeysService=n,this.toaster=e,this.nodesService=t,this.projectService=l,this.mapNodeToNode=o,this.selectionManager=i}return n.prototype.ngOnInit=function(){var n=this;this.deleteHotkey=new RH.Hotkey("del",(function(e){return n.onDeleteHandler(e)})),this.hotkeysService.add(this.deleteHotkey)},n.prototype.onDeleteHandler=function(n){var e=this;return this.projectService.isReadOnly(this.project)||this.selectionManager.getSelected().filter((function(n){return n instanceof jM})).forEach((function(n){var t=e.mapNodeToNode.convert(n);e.nodesService.delete(e.server,t).subscribe((function(n){e.toaster.success("Node has been deleted")}))})),!1},n.prototype.ngOnDestroy=function(){this.hotkeysService.remove(this.deleteHotkey)},n}(),DH=t("oVTH"),FH=function(){return function(){}}(),OH=function(){function n(n,e){this.mapLabelToLabel=n,this.mapPortToPort=e}return n.prototype.convert=function(n){var e=this,t=new FH;return t.node_id=n.id,t.command_line=n.commandLine,t.compute_id=n.computeId,t.console=n.console,t.console_host=n.consoleHost,t.console_type=n.consoleType,t.first_port_name=n.firstPortName,t.height=n.height,t.label=n.label?this.mapLabelToLabel.convert(n.label):void 0,t.locked=n.locked,t.name=n.name,t.node_directory=n.nodeDirectory,t.node_type=n.nodeType,t.port_name_format=n.portNameFormat,t.port_segment_size=n.portSegmentSize,t.ports=n.ports?n.ports.map((function(n){return e.mapPortToPort.convert(n)})):[],t.project_id=n.projectId,t.status=n.status,t.symbol=n.symbol,t.symbol_url=n.symbolUrl,t.usage=n.usage,t.width=n.width,t.x=n.x,t.y=n.y,t.z=n.z,t},n}(),MH=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function NH(n){return o["ɵvid"](0,[],null,null)}var AH=function(){function n(n,e){this.sanitizer=n,this.changeDetector=e,this.onChooseInterface=new o.EventEmitter}return n.prototype.ngOnInit=function(){this.setPosition(0,0)},n.prototype.setPosition=function(n,e){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(e+"px"),this.changeDetector.detectChanges()},n.prototype.open=function(n,e,t){this.node=n,this.filterNodePorts(),this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.filterNodePorts=function(){var n=this,e=[];this.links.forEach((function(t){t.nodes.forEach((function(t){t.node_id===n.node.node_id&&e.push(t)}))})),this.ports=[],this.node.ports.forEach((function(t){var l=e.filter((function(n){return n.adapter_number===t.adapter_number}));t.available=0===l.length||0===l.filter((function(n){return n.port_number===t.port_number})).length,n.ports.push(t)}))},n.prototype.chooseInterface=function(n){this.onChooseInterface.emit({node:this.node,port:n})},n}(),PH=o["ɵcrt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute}.context-menu-items[_ngcontent-%COMP%]{min-height:0!important}.status[_ngcontent-%COMP%]{margin-right:10px}.port[_ngcontent-%COMP%]{margin-left:10px}"]],data:{}});function qH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:rect",[["class","status"],["fill","green"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function LH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:rect",[["class","status"],["fill","red"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function jH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.chooseInterface(n.context.$implicit)&&l),l}),Td,Ed)),o["ɵdid"](1,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],{disabled:[0,"disabled"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,qH)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,LH)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](6,0,null,0,1,"span",[["class","port"]],null,null,null,null,null)),(n()(),o["ɵted"](7,null,["",""]))],(function(n,e){n(e,1,0,!e.context.$implicit.available),n(e,3,0,e.context.$implicit.available),n(e,5,0,!e.context.$implicit.available)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).role,o["ɵnov"](e,1)._highlighted,o["ɵnov"](e,1)._triggersSubmenu,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled||null),n(e,7,0,e.context.$implicit.name)}))}function VH(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,11,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["ɵeld"](1,16777216,null,null,1,"span",[["aria-haspopup","true"],["class","mat-menu-trigger"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,2)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,2)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,2)._handleClick(t)&&l),l}),null,null)),o["ɵdid"](2,1196032,[[1,4]],0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](3,0,null,null,8,"mat-menu",[["class","context-menu-items"]],[[4,"min-height",null]],null,null,kd,Sd)),o["ɵprd"](6144,null,md,null,[vd]),o["ɵprd"](6144,null,pd,null,[md]),o["ɵdid"](6,1294336,[["selectInterfaceMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{panelClass:[0,"panelClass"]},null),o["ɵqud"](603979776,2,{_allItems:1}),o["ɵqud"](603979776,3,{items:1}),o["ɵqud"](603979776,4,{lazyContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,jH)),o["ɵdid"](11,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,2,0,o["ɵnov"](e,6)),n(e,6,0,"context-menu-items"),n(e,11,0,t.ports)}),(function(n,e){var t=e.component;n(e,0,0,t.leftPosition,t.topPosition),n(e,1,0,o["ɵnov"](e,2).menuOpen||null),n(e,3,0,0)}))}function BH(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{contextMenu:0}),(n()(),o["ɵand"](16777216,null,null,1,null,VH)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,2,0,e.component.node)}),null)}var HH=function(){return function(n,e,t,l){this.sourceNode=n,this.sourcePort=e,this.targetNode=t,this.targetPort=l}}(),UH=function(){function n(n,e,t,l,o,i){this.drawingLineTool=n,this.nodesEventSource=e,this.linksEventSource=t,this.mapNodeToNode=l,this.nodeToMapNode=o,this.portToMapPort=i}return n.prototype.ngOnInit=function(){var n=this;this.nodeClicked$=this.nodesEventSource.clicked.subscribe((function(e){var t=n.mapNodeToNode.convert(e.datum);n.nodeSelectInterfaceMenu.open(t,e.y,e.x)}))},n.prototype.ngOnDestroy=function(){this.drawingLineTool.isDrawing()&&this.drawingLineTool.stop(),this.nodeClicked$.unsubscribe()},n.prototype.onChooseInterface=function(n){var e=this.nodeToMapNode.convert(n.node),t=this.portToMapPort.convert(n.port);if(this.drawingLineTool.isDrawing()){var l=this.drawingLineTool.stop();this.linksEventSource.created.emit(new HH(l.node,l.port,e,t))}else this.drawingLineTool.start(e.x+e.width/2,e.y+e.height/2,{node:e,port:t})},n}(),zH=function(n){return function(){return n}},GH=Math.abs,WH=Math.atan2,ZH=Math.cos,KH=Math.max,XH=Math.min,YH=Math.sin,$H=Math.sqrt,QH=1e-12,JH=Math.PI,nU=JH/2,eU=2*JH;function tU(n){return n>=1?nU:n<=-1?-nU:Math.asin(n)}function lU(n){return n.innerRadius}function oU(n){return n.outerRadius}function iU(n){return n.startAngle}function rU(n){return n.endAngle}function aU(n){return n&&n.padAngle}function uU(n,e,t,l,o,i,r){var a=n-t,u=e-l,s=(r?i:-i)/$H(a*a+u*u),d=s*u,c=-s*a,p=n+d,f=e+c,h=t+d,m=l+c,v=(p+h)/2,g=(f+m)/2,b=h-p,_=m-f,y=b*b+_*_,C=o-i,w=p*m-h*f,S=(_<0?-1:1)*$H(KH(0,C*C*y-w*w)),x=(w*_-b*S)/y,k=(-w*b-_*S)/y,E=(w*_+b*S)/y,T=(-w*b+_*S)/y,R=x-v,I=k-g,D=E-v,F=T-g;return R*R+I*I>D*D+F*F&&(x=E,k=T),{cx:x,cy:k,x01:-d,y01:-c,x11:x*(o/C-1),y11:k*(o/C-1)}}var sU=function(){var n=lU,e=oU,t=zH(0),l=null,o=iU,i=rU,r=aU,a=null;function u(){var u,s,d,c=+n.apply(this,arguments),p=+e.apply(this,arguments),f=o.apply(this,arguments)-nU,h=i.apply(this,arguments)-nU,m=GH(h-f),v=h>f;if(a||(a=u=Oq()),p<c&&(s=p,p=c,c=s),p>QH)if(m>eU-QH)a.moveTo(p*ZH(f),p*YH(f)),a.arc(0,0,p,f,h,!v),c>QH&&(a.moveTo(c*ZH(h),c*YH(h)),a.arc(0,0,c,h,f,v));else{var g,b,_=f,y=h,C=f,w=h,S=m,x=m,k=r.apply(this,arguments)/2,E=k>QH&&(l?+l.apply(this,arguments):$H(c*c+p*p)),T=XH(GH(p-c)/2,+t.apply(this,arguments)),R=T,I=T;if(E>QH){var D=tU(E/c*YH(k)),F=tU(E/p*YH(k));(S-=2*D)>QH?(C+=D*=v?1:-1,w-=D):(S=0,C=w=(f+h)/2),(x-=2*F)>QH?(_+=F*=v?1:-1,y-=F):(x=0,_=y=(f+h)/2)}var O=p*ZH(_),M=p*YH(_),N=c*ZH(w),A=c*YH(w);if(T>QH){var P,q=p*ZH(y),L=p*YH(y),j=c*ZH(C),V=c*YH(C);if(m<=eU-QH&&(P=function(n,e,t,l,o,i,r,a){var u=t-n,s=l-e,d=r-o,c=a-i,p=c*u-d*s;if(!(p*p<QH))return[n+(p=(d*(e-i)-c*(n-o))/p)*u,e+p*s]}(O,M,j,V,q,L,N,A))){var B=O-P[0],H=M-P[1],U=q-P[0],z=L-P[1],G=1/YH(((d=(B*U+H*z)/($H(B*B+H*H)*$H(U*U+z*z)))>1?0:d<-1?JH:Math.acos(d))/2),W=$H(P[0]*P[0]+P[1]*P[1]);R=XH(T,(c-W)/(G-1)),I=XH(T,(p-W)/(G+1))}}x>QH?I>QH?(g=uU(j,V,O,M,p,I,v),b=uU(q,L,N,A,p,I,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),I<T?a.arc(g.cx,g.cy,I,WH(g.y01,g.x01),WH(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,I,WH(g.y01,g.x01),WH(g.y11,g.x11),!v),a.arc(0,0,p,WH(g.cy+g.y11,g.cx+g.x11),WH(b.cy+b.y11,b.cx+b.x11),!v),a.arc(b.cx,b.cy,I,WH(b.y11,b.x11),WH(b.y01,b.x01),!v))):(a.moveTo(O,M),a.arc(0,0,p,_,y,!v)):a.moveTo(O,M),c>QH&&S>QH?R>QH?(g=uU(N,A,q,L,c,-R,v),b=uU(O,M,j,V,c,-R,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),R<T?a.arc(g.cx,g.cy,R,WH(g.y01,g.x01),WH(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,R,WH(g.y01,g.x01),WH(g.y11,g.x11),!v),a.arc(0,0,c,WH(g.cy+g.y11,g.cx+g.x11),WH(b.cy+b.y11,b.cx+b.x11),v),a.arc(b.cx,b.cy,R,WH(b.y11,b.x11),WH(b.y01,b.x01),!v))):a.arc(0,0,c,w,C,v):a.lineTo(N,A)}else a.moveTo(0,0);if(a.closePath(),u)return a=null,u+""||null}return u.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,l=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-JH/2;return[ZH(l)*t,YH(l)*t]},u.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:zH(+e),u):n},u.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:zH(+n),u):e},u.cornerRadius=function(n){return arguments.length?(t="function"==typeof n?n:zH(+n),u):t},u.padRadius=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:zH(+n),u):l},u.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:zH(+n),u):o},u.endAngle=function(n){return arguments.length?(i="function"==typeof n?n:zH(+n),u):i},u.padAngle=function(n){return arguments.length?(r="function"==typeof n?n:zH(+n),u):r},u.context=function(n){return arguments.length?(a=null==n?null:n,u):a},u};function dU(n){this._context=n}dU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:this._context.lineTo(n,e)}}};var cU=function(n){return new dU(n)};function pU(n){return n[0]}function fU(n){return n[1]}var hU=function(){var n=pU,e=fU,t=zH(!0),l=null,o=cU,i=null;function r(r){var a,u,s,d=r.length,c=!1;for(null==l&&(i=o(s=Oq())),a=0;a<=d;++a)!(a<d&&t(u=r[a],a,r))===c&&((c=!c)?i.lineStart():i.lineEnd()),c&&i.point(+n(u,a,r),+e(u,a,r));if(s)return i=null,s+""||null}return r.x=function(e){return arguments.length?(n="function"==typeof e?e:zH(+e),r):n},r.y=function(n){return arguments.length?(e="function"==typeof n?n:zH(+n),r):e},r.defined=function(n){return arguments.length?(t="function"==typeof n?n:zH(!!n),r):t},r.curve=function(n){return arguments.length?(o=n,null!=l&&(i=o(l)),r):o},r.context=function(n){return arguments.length?(null==n?l=i=null:i=o(l=n),r):l},r},mU=function(){var n=pU,e=null,t=zH(0),l=fU,o=zH(!0),i=null,r=cU,a=null;function u(u){var s,d,c,p,f,h=u.length,m=!1,v=new Array(h),g=new Array(h);for(null==i&&(a=r(f=Oq())),s=0;s<=h;++s){if(!(s<h&&o(p=u[s],s,u))===m)if(m=!m)d=s,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),c=s-1;c>=d;--c)a.point(v[c],g[c]);a.lineEnd(),a.areaEnd()}m&&(v[s]=+n(p,s,u),g[s]=+t(p,s,u),a.point(e?+e(p,s,u):v[s],l?+l(p,s,u):g[s]))}if(f)return a=null,f+""||null}function s(){return hU().defined(o).curve(r).context(i)}return u.x=function(t){return arguments.length?(n="function"==typeof t?t:zH(+t),e=null,u):n},u.x0=function(e){return arguments.length?(n="function"==typeof e?e:zH(+e),u):n},u.x1=function(n){return arguments.length?(e=null==n?null:"function"==typeof n?n:zH(+n),u):e},u.y=function(n){return arguments.length?(t="function"==typeof n?n:zH(+n),l=null,u):t},u.y0=function(n){return arguments.length?(t="function"==typeof n?n:zH(+n),u):t},u.y1=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:zH(+n),u):l},u.lineX0=u.lineY0=function(){return s().x(n).y(t)},u.lineY1=function(){return s().x(n).y(l)},u.lineX1=function(){return s().x(e).y(t)},u.defined=function(n){return arguments.length?(o="function"==typeof n?n:zH(!!n),u):o},u.curve=function(n){return arguments.length?(r=n,null!=i&&(a=r(i)),u):r},u.context=function(n){return arguments.length?(null==n?i=a=null:a=r(i=n),u):i},u},vU=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},gU=function(n){return n},bU=function(){var n=gU,e=vU,t=null,l=zH(0),o=zH(eU),i=zH(0);function r(r){var a,u,s,d,c,p=r.length,f=0,h=new Array(p),m=new Array(p),v=+l.apply(this,arguments),g=Math.min(eU,Math.max(-eU,o.apply(this,arguments)-v)),b=Math.min(Math.abs(g)/p,i.apply(this,arguments)),_=b*(g<0?-1:1);for(a=0;a<p;++a)(c=m[h[a]=a]=+n(r[a],a,r))>0&&(f+=c);for(null!=e?h.sort((function(n,t){return e(m[n],m[t])})):null!=t&&h.sort((function(n,e){return t(r[n],r[e])})),a=0,s=f?(g-p*_)/f:0;a<p;++a,v=d)m[u=h[a]]={data:r[u],index:a,value:c=m[u],startAngle:v,endAngle:d=v+(c>0?c*s:0)+_,padAngle:b};return m}return r.value=function(e){return arguments.length?(n="function"==typeof e?e:zH(+e),r):n},r.sortValues=function(n){return arguments.length?(e=n,t=null,r):e},r.sort=function(n){return arguments.length?(t=n,e=null,r):t},r.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:zH(+n),r):l},r.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:zH(+n),r):o},r.padAngle=function(n){return arguments.length?(i="function"==typeof n?n:zH(+n),r):i},r},_U=CU(cU);function yU(n){this._curve=n}function CU(n){function e(e){return new yU(n(e))}return e._curve=n,e}function wU(n){var e=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(n){return arguments.length?e(CU(n)):e()._curve},n}yU.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,e){this._curve.point(e*Math.sin(n),e*-Math.cos(n))}};var SU=function(){return wU(hU().curve(_U))},xU=function(){var n=mU().curve(_U),e=n.curve,t=n.lineX0,l=n.lineX1,o=n.lineY0,i=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return wU(t())},delete n.lineX0,n.lineEndAngle=function(){return wU(l())},delete n.lineX1,n.lineInnerRadius=function(){return wU(o())},delete n.lineY0,n.lineOuterRadius=function(){return wU(i())},delete n.lineY1,n.curve=function(n){return arguments.length?e(CU(n)):e()._curve},n},kU=function(n,e){return[(e=+e)*Math.cos(n-=Math.PI/2),e*Math.sin(n)]},EU=Array.prototype.slice;function TU(n){return n.source}function RU(n){return n.target}function IU(n){var e=TU,t=RU,l=pU,o=fU,i=null;function r(){var r,a=EU.call(arguments),u=e.apply(this,a),s=t.apply(this,a);if(i||(i=r=Oq()),n(i,+l.apply(this,(a[0]=u,a)),+o.apply(this,a),+l.apply(this,(a[0]=s,a)),+o.apply(this,a)),r)return i=null,r+""||null}return r.source=function(n){return arguments.length?(e=n,r):e},r.target=function(n){return arguments.length?(t=n,r):t},r.x=function(n){return arguments.length?(l="function"==typeof n?n:zH(+n),r):l},r.y=function(n){return arguments.length?(o="function"==typeof n?n:zH(+n),r):o},r.context=function(n){return arguments.length?(i=null==n?null:n,r):i},r}function DU(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e=(e+l)/2,t,e,o,l,o)}function FU(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e,t=(t+o)/2,l,t,l,o)}function OU(n,e,t,l,o){var i=kU(e,t),r=kU(e,t=(t+o)/2),a=kU(l,t),u=kU(l,o);n.moveTo(i[0],i[1]),n.bezierCurveTo(r[0],r[1],a[0],a[1],u[0],u[1])}function MU(){return IU(DU)}function NU(){return IU(FU)}function AU(){var n=IU(OU);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}var PU={draw:function(n,e){var t=Math.sqrt(e/JH);n.moveTo(t,0),n.arc(0,0,t,0,eU)}},qU={draw:function(n,e){var t=Math.sqrt(e/5)/2;n.moveTo(-3*t,-t),n.lineTo(-t,-t),n.lineTo(-t,-3*t),n.lineTo(t,-3*t),n.lineTo(t,-t),n.lineTo(3*t,-t),n.lineTo(3*t,t),n.lineTo(t,t),n.lineTo(t,3*t),n.lineTo(-t,3*t),n.lineTo(-t,t),n.lineTo(-3*t,t),n.closePath()}},LU=Math.sqrt(1/3),jU=2*LU,VU={draw:function(n,e){var t=Math.sqrt(e/jU),l=t*LU;n.moveTo(0,-t),n.lineTo(l,0),n.lineTo(0,t),n.lineTo(-l,0),n.closePath()}},BU=Math.sin(JH/10)/Math.sin(7*JH/10),HU=Math.sin(eU/10)*BU,UU=-Math.cos(eU/10)*BU,zU={draw:function(n,e){var t=Math.sqrt(.8908130915292852*e),l=HU*t,o=UU*t;n.moveTo(0,-t),n.lineTo(l,o);for(var i=1;i<5;++i){var r=eU*i/5,a=Math.cos(r),u=Math.sin(r);n.lineTo(u*t,-a*t),n.lineTo(a*l-u*o,u*l+a*o)}n.closePath()}},GU={draw:function(n,e){var t=Math.sqrt(e),l=-t/2;n.rect(l,l,t,t)}},WU=Math.sqrt(3),ZU={draw:function(n,e){var t=-Math.sqrt(e/(3*WU));n.moveTo(0,2*t),n.lineTo(-WU*t,-t),n.lineTo(WU*t,-t),n.closePath()}},KU=Math.sqrt(3)/2,XU=1/Math.sqrt(12),YU=3*(XU/2+1),$U={draw:function(n,e){var t=Math.sqrt(e/YU),l=t/2,o=t*XU,i=l,r=t*XU+t,a=-i,u=r;n.moveTo(l,o),n.lineTo(i,r),n.lineTo(a,u),n.lineTo(-.5*l-KU*o,KU*l+-.5*o),n.lineTo(-.5*i-KU*r,KU*i+-.5*r),n.lineTo(-.5*a-KU*u,KU*a+-.5*u),n.lineTo(-.5*l+KU*o,-.5*o-KU*l),n.lineTo(-.5*i+KU*r,-.5*r-KU*i),n.lineTo(-.5*a+KU*u,-.5*u-KU*a),n.closePath()}},QU=[PU,qU,VU,GU,zU,ZU,$U],JU=function(){var n=zH(PU),e=zH(64),t=null;function l(){var l;if(t||(t=l=Oq()),n.apply(this,arguments).draw(t,+e.apply(this,arguments)),l)return t=null,l+""||null}return l.type=function(e){return arguments.length?(n="function"==typeof e?e:zH(e),l):n},l.size=function(n){return arguments.length?(e="function"==typeof n?n:zH(+n),l):e},l.context=function(n){return arguments.length?(t=null==n?null:n,l):t},l},nz=function(){};function ez(n,e,t){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+e)/6,(n._y0+4*n._y1+t)/6)}function tz(n){this._context=n}tz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ez(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ez(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var lz=function(n){return new tz(n)};function oz(n){this._context=n}oz.prototype={areaStart:nz,areaEnd:nz,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._x2=n,this._y2=e;break;case 1:this._point=2,this._x3=n,this._y3=e;break;case 2:this._point=3,this._x4=n,this._y4=e,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+e)/6);break;default:ez(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var iz=function(n){return new oz(n)};function rz(n){this._context=n}rz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+n)/6,l=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(t,l):this._context.moveTo(t,l);break;case 3:this._point=4;default:ez(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var az=function(n){return new rz(n)};function uz(n,e){this._basis=new tz(n),this._beta=e}uz.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,e=this._y,t=n.length-1;if(t>0)for(var l,o=n[0],i=e[0],r=n[t]-o,a=e[t]-i,u=-1;++u<=t;)this._basis.point(this._beta*n[u]+(1-this._beta)*(o+(l=u/t)*r),this._beta*e[u]+(1-this._beta)*(i+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(n,e){this._x.push(+n),this._y.push(+e)}};var sz=function n(e){function t(n){return 1===e?new tz(n):new uz(n,e)}return t.beta=function(e){return n(+e)},t}(.85);function dz(n,e,t){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-e),n._y2+n._k*(n._y1-t),n._x2,n._y2)}function cz(n,e){this._context=n,this._k=(1-e)/6}cz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:dz(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2,this._x1=n,this._y1=e;break;case 2:this._point=3;default:dz(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var pz=function n(e){function t(n){return new cz(n,e)}return t.tension=function(e){return n(+e)},t}(0);function fz(n,e){this._context=n,this._k=(1-e)/6}fz.prototype={areaStart:nz,areaEnd:nz,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._x3=n,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=e);break;case 2:this._point=3,this._x5=n,this._y5=e;break;default:dz(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var hz=function n(e){function t(n){return new fz(n,e)}return t.tension=function(e){return n(+e)},t}(0);function mz(n,e){this._context=n,this._k=(1-e)/6}mz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:dz(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var vz=function n(e){function t(n){return new mz(n,e)}return t.tension=function(e){return n(+e)},t}(0);function gz(n,e,t){var l=n._x1,o=n._y1,i=n._x2,r=n._y2;if(n._l01_a>QH){var a=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,u=3*n._l01_a*(n._l01_a+n._l12_a);l=(l*a-n._x0*n._l12_2a+n._x2*n._l01_2a)/u,o=(o*a-n._y0*n._l12_2a+n._y2*n._l01_2a)/u}if(n._l23_a>QH){var s=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,d=3*n._l23_a*(n._l23_a+n._l12_a);i=(i*s+n._x1*n._l23_2a-e*n._l12_2a)/d,r=(r*s+n._y1*n._l23_2a-t*n._l12_2a)/d}n._context.bezierCurveTo(l,o,i,r,n._x2,n._y2)}function bz(n,e){this._context=n,this._alpha=e}bz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3;default:gz(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var _z=function n(e){function t(n){return e?new bz(n,e):new cz(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function yz(n,e){this._context=n,this._alpha=e}yz.prototype={areaStart:nz,areaEnd:nz,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=e);break;case 2:this._point=3,this._x5=n,this._y5=e;break;default:gz(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Cz=function n(e){function t(n){return e?new yz(n,e):new fz(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function wz(n,e){this._context=n,this._alpha=e}wz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gz(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Sz=function n(e){function t(n){return e?new wz(n,e):new mz(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function xz(n){this._context=n}xz.prototype={areaStart:nz,areaEnd:nz,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(n,e){n=+n,e=+e,this._point?this._context.lineTo(n,e):(this._point=1,this._context.moveTo(n,e))}};var kz=function(n){return new xz(n)};function Ez(n){return n<0?-1:1}function Tz(n,e,t){var l=n._x1-n._x0,o=e-n._x1,i=(n._y1-n._y0)/(l||o<0&&-0),r=(t-n._y1)/(o||l<0&&-0),a=(i*o+r*l)/(l+o);return(Ez(i)+Ez(r))*Math.min(Math.abs(i),Math.abs(r),.5*Math.abs(a))||0}function Rz(n,e){var t=n._x1-n._x0;return t?(3*(n._y1-n._y0)/t-e)/2:e}function Iz(n,e,t){var l=n._x0,o=n._x1,i=n._y1,r=(o-l)/3;n._context.bezierCurveTo(l+r,n._y0+r*e,o-r,i-r*t,o,i)}function Dz(n){this._context=n}function Fz(n){this._context=new Oz(n)}function Oz(n){this._context=n}function Mz(n){return new Dz(n)}function Nz(n){return new Fz(n)}function Az(n){this._context=n}function Pz(n){var e,t,l=n.length-1,o=new Array(l),i=new Array(l),r=new Array(l);for(o[0]=0,i[0]=2,r[0]=n[0]+2*n[1],e=1;e<l-1;++e)o[e]=1,i[e]=4,r[e]=4*n[e]+2*n[e+1];for(o[l-1]=2,i[l-1]=7,r[l-1]=8*n[l-1]+n[l],e=1;e<l;++e)i[e]-=t=o[e]/i[e-1],r[e]-=t*r[e-1];for(o[l-1]=r[l-1]/i[l-1],e=l-2;e>=0;--e)o[e]=(r[e]-o[e+1])/i[e];for(i[l-1]=(n[l]+o[l-1])/2,e=0;e<l-1;++e)i[e]=2*n[e+1]-o[e+1];return[o,i]}Dz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Iz(this,this._t0,Rz(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){var t=NaN;if(e=+e,(n=+n)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3,Iz(this,Rz(this,t=Tz(this,n,e)),t);break;default:Iz(this,this._t0,t=Tz(this,n,e))}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e,this._t0=t}}},(Fz.prototype=Object.create(Dz.prototype)).point=function(n,e){Dz.prototype.point.call(this,e,n)},Oz.prototype={moveTo:function(n,e){this._context.moveTo(e,n)},closePath:function(){this._context.closePath()},lineTo:function(n,e){this._context.lineTo(e,n)},bezierCurveTo:function(n,e,t,l,o,i){this._context.bezierCurveTo(e,n,l,t,i,o)}},Az.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var n=this._x,e=this._y,t=n.length;if(t)if(this._line?this._context.lineTo(n[0],e[0]):this._context.moveTo(n[0],e[0]),2===t)this._context.lineTo(n[1],e[1]);else for(var l=Pz(n),o=Pz(e),i=0,r=1;r<t;++i,++r)this._context.bezierCurveTo(l[0][i],o[0][i],l[1][i],o[1][i],n[r],e[r]);(this._line||0!==this._line&&1===t)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(n,e){this._x.push(+n),this._y.push(+e)}};var qz=function(n){return new Az(n)};function Lz(n,e){this._context=n,this._t=e}Lz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(n,e);else{var t=this._x*(1-this._t)+n*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,e)}}this._x=n,this._y=e}};var jz=function(n){return new Lz(n,.5)};function Vz(n){return new Lz(n,0)}function Bz(n){return new Lz(n,1)}var Hz=function(n,e){if((o=n.length)>1)for(var t,l,o,i=1,r=n[e[0]],a=r.length;i<o;++i)for(l=r,r=n[e[i]],t=0;t<a;++t)r[t][1]+=r[t][0]=isNaN(l[t][1])?l[t][0]:l[t][1]},Uz=function(n){for(var e=n.length,t=new Array(e);--e>=0;)t[e]=e;return t};function zz(n,e){return n[e]}var Gz=function(){var n=zH([]),e=Uz,t=Hz,l=zz;function o(o){var i,r,a=n.apply(this,arguments),u=o.length,s=a.length,d=new Array(s);for(i=0;i<s;++i){for(var c,p=a[i],f=d[i]=new Array(u),h=0;h<u;++h)f[h]=c=[0,+l(o[h],p,h,o)],c.data=o[h];f.key=p}for(i=0,r=e(d);i<s;++i)d[r[i]].index=i;return t(d,r),d}return o.keys=function(e){return arguments.length?(n="function"==typeof e?e:zH(EU.call(e)),o):n},o.value=function(n){return arguments.length?(l="function"==typeof n?n:zH(+n),o):l},o.order=function(n){return arguments.length?(e=null==n?Uz:"function"==typeof n?n:zH(EU.call(n)),o):e},o.offset=function(n){return arguments.length?(t=null==n?Hz:n,o):t},o},Wz=function(n,e){if((l=n.length)>0){for(var t,l,o,i=0,r=n[0].length;i<r;++i){for(o=t=0;t<l;++t)o+=n[t][i][1]||0;if(o)for(t=0;t<l;++t)n[t][i][1]/=o}Hz(n,e)}},Zz=function(n,e){if((a=n.length)>1)for(var t,l,o,i,r,a,u=0,s=n[e[0]].length;u<s;++u)for(i=r=0,t=0;t<a;++t)(o=(l=n[e[t]][u])[1]-l[0])>=0?(l[0]=i,l[1]=i+=o):o<0?(l[1]=r,l[0]=r+=o):l[0]=i},Kz=function(n,e){if((t=n.length)>0){for(var t,l=0,o=n[e[0]],i=o.length;l<i;++l){for(var r=0,a=0;r<t;++r)a+=n[r][l][1]||0;o[l][1]+=o[l][0]=-a/2}Hz(n,e)}},Xz=function(n,e){if((o=n.length)>0&&(l=(t=n[e[0]]).length)>0){for(var t,l,o,i=0,r=1;r<l;++r){for(var a=0,u=0,s=0;a<o;++a){for(var d=n[e[a]],c=d[r][1]||0,p=(c-(d[r-1][1]||0))/2,f=0;f<a;++f){var h=n[e[f]];p+=(h[r][1]||0)-(h[r-1][1]||0)}u+=c,s+=p*c}t[r-1][1]+=t[r-1][0]=i,u&&(i-=s/u)}t[r-1][1]+=t[r-1][0]=i,Hz(n,e)}},Yz=function(n){var e=n.map($z);return Uz(n).sort((function(n,t){return e[n]-e[t]}))};function $z(n){for(var e,t=0,l=-1,o=n.length;++l<o;)(e=+n[l][1])&&(t+=e);return t}var Qz=function(n){return Yz(n).reverse()},Jz=function(n){var e,t,l=n.length,o=n.map($z),i=Uz(n).sort((function(n,e){return o[e]-o[n]})),r=0,a=0,u=[],s=[];for(e=0;e<l;++e)t=i[e],r<a?(r+=o[t],u.push(t)):(a+=o[t],s.push(t));return s.reverse().concat(u)},nG=function(n){return Uz(n).reverse()},eG=function(){return function(){}}(),tG=function(){function n(){this.drawingLine=new eG,this.drawing=!1,this.data={}}return n.prototype.start=function(n,e,t){var l=this;this.drawing=!0,this.data=t,this.drawingLine.start=new hO(n,e),this.drawingLine.end=new hO(n,e),this.selection.on("mousemove",(function(n,e){var t=l.selection.select("g.canvas").node(),o=aO(t);l.drawingLine.end.x=o[0],l.drawingLine.end.y=o[1],l.draw(null,null)})),this.draw(null,null)},n.prototype.isDrawing=function(){return this.drawing},n.prototype.stop=function(){return this.drawing=!1,this.selection.on("mousemove",null),this.draw(null,null),this.data},n.prototype.connect=function(n,e){this.selection=n},n.prototype.draw=function(n,e){var t=this.selection.select("g.canvas");t.select("g.drawing-line-tool").node()||t.append("g").attr("class","drawing-line-tool");var l=[];this.drawing&&(l=[[[this.drawingLine.start.x,this.drawingLine.start.y],[this.drawingLine.end.x,this.drawingLine.end.y]]]);var o=hU(),i=this.selection.select("g.drawing-line-tool").selectAll("path").data(l),r=i.enter().append("path");i.merge(r).attr("d",o).attr("stroke","#000").attr("stroke-width","2"),i.exit().remove()},n}(),lG=function(){function n(n,e,t,l,o){this.labelToMapLabel=n,this.portToMapPort=e,this.fontBBoxCalculator=t,this.cssFixer=l,this.fontFixer=o}return n.prototype.convert=function(n){var e=this,t=new jM;if(t.id=n.node_id,t.commandLine=n.command_line,t.computeId=n.compute_id,t.console=n.console,t.consoleHost=n.console_host,t.consoleType=n.console_type,t.firstPortName=n.first_port_name,t.height=n.height,t.label=this.labelToMapLabel?this.labelToMapLabel.convert(n.label,{node_id:n.node_id}):void 0,t.locked=n.locked,t.name=n.name,t.nodeDirectory=n.node_directory,t.nodeType=n.node_type,t.portNameFormat=n.port_name_format,t.portSegmentSize=n.port_segment_size,t.ports=n.ports?n.ports.map((function(n){return e.portToMapPort.convert(n)})):[],t.projectId=n.project_id,t.status=n.status,t.symbol=n.symbol,t.symbolUrl=n.symbol_url,t.usage=n.usage,t.width=n.width,t.x=n.x,t.y=n.y,t.z=n.z,void 0!==t.label){var l=this.cssFixer.fix(t.label.style),o=this.fontFixer.fixStyles(l),i=this.fontBBoxCalculator.calculate(t.label.text,o);null!==n.label.x&&null!==n.label.y||(t.label.x=n.width/2-i.width/2+3,t.label.y=-8)}return t},n}(),oG=function(){return function(){}}(),iG=function(){function n(){}return n.prototype.convert=function(n){var e=new oG;return e.adapterNumber=n.adapter_number,e.linkType=n.link_type,e.name=n.name,e.portNumber=n.port_number,e.shortName=n.short_name,e},n}(),rG=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function aG(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{nodeSelectInterfaceMenu:0}),(n()(),o["ɵeld"](1,0,null,null,1,"app-node-select-interface",[],null,[[null,"onChooseInterface"]],(function(n,e,t){var l=!0;return"onChooseInterface"===e&&(l=!1!==n.component.onChooseInterface(t)&&l),l}),BH,PH)),o["ɵdid"](2,114688,[[1,4]],0,AH,[rn,o.ChangeDetectorRef],{links:[0,"links"]},{onChooseInterface:"onChooseInterface"})],(function(n,e){n(e,2,0,e.component.links)}),null)}var uG=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(n){return{left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"}}}}),sG=function(){function n(n,e,t,l){this._elementRef=n,this._ngZone=e,this._inkBarPositioner=t,this._animationMode=l}return n.prototype.alignToElement=function(n){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(n)}))})):this._setStyles(n)},n.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},n.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},n.prototype._setStyles=function(n){var e=this._inkBarPositioner(n),t=this._elementRef.nativeElement;t.style.left=e.left,t.style.width=e.width},n}(),dG=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(i.c)(e,n),e}(vs),cG=function(n){function e(e){var t=n.call(this)||this;return t._viewContainerRef=e,t.textLabel="",t._contentPortal=null,t._stateChanges=new Mn.b,t.position=null,t.origin=null,t.isActive=!1,t}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(n){(n.hasOwnProperty("textLabel")||n.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new fs(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(Vo(function(){return function(){}}())),pG=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o._host=l,o._centeringSub=co.a.EMPTY,o._leavingSub=co.a.EMPTY,o}return Object(i.c)(e,n),e.prototype.ngOnInit=function(){var e=this;n.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(zn.a)(this._host._isCenterPosition(this._host._position))).subscribe((function(n){n&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))},e.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(gs),fG=function(n){function e(e,t,l){return n.call(this,e,t,l)||this}return Object(i.c)(e,n),e}(function(){function n(n,e,t){var l=this;this._elementRef=n,this._dir=e,this._dirChangeSubscription=co.a.EMPTY,this._translateTabComplete=new Mn.b,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(n){l._computePositionAnimationState(n),t.markForCheck()}))),this._translateTabComplete.pipe(Object(Es.a)((function(n,e){return n.fromState===e.fromState&&n.toState===e.toState}))).subscribe((function(n){l._isCenterPosition(n.toState)&&l._isCenterPosition(l._position)&&l._onCentered.emit(),l._isCenterPosition(n.fromState)&&!l._isCenterPosition(l._position)&&l._afterLeavingCenter.emit()}))}return Object.defineProperty(n.prototype,"position",{set:function(n){this._positionIndex=n,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},n.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},n.prototype._onTranslateTabStarted=function(n){var e=this._isCenterPosition(n.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._isCenterPosition=function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n},n.prototype._computePositionAnimationState=function(n){void 0===n&&(n=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"},n.prototype._computePositionFromOrigin=function(){var n=this._getLayoutDirection();return"ltr"==n&&this.origin<=0||"rtl"==n&&this.origin>0?"left-origin-center":"right-origin-center"},n}()),hG=0,mG=function(){return function(){}}(),vG=new o.InjectionToken("MAT_TABS_CONFIG"),gG=function(n){function e(e,t,l,o){return n.call(this,e,t,l,o)||this}return Object(i.c)(e,n),e}(function(n){function e(e,t,l,i){var r=n.call(this,e)||this;return r._changeDetectorRef=t,r._animationMode=i,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=co.a.EMPTY,r._tabLabelSubscription=co.a.EMPTY,r._dynamicHeight=!1,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=hG++,r.animationDuration=l&&l.animationDuration?l.animationDuration:"500ms",r}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(n){this._dynamicHeight=$l(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){this._indexToSelect=Ql(n,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(n){this._animationDuration=/^\d+$/.test(n)?n+"ms":n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(n){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),n&&e.classList.add("mat-background-"+n),this._backgroundColor=n},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var n=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){n._tabs.forEach((function(n,t){return n.isActive=t===e})),t||n.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(t,l){t.position=l-e,null==n._selectedIndex||0!=t.position||t.origin||(t.origin=e-n._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var n=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(n._clampTabIndex(n._indexToSelect)===n._selectedIndex)for(var e=n._tabs.toArray(),t=0;t<e.length;t++)if(e[t].isActive){n._indexToSelect=n._selectedIndex=t;break}n._subscribeToTabLabels(),n._changeDetectorRef.markForCheck()}))},e.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(n){this.focusChange.emit(this._createChangeEvent(n))},e.prototype._createChangeEvent=function(n){var e=new mG;return e.index=n,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[n]),e},e.prototype._subscribeToTabLabels=function(){var n=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ys.a.apply(void 0,this._tabs.map((function(n){return n._stateChanges}))).subscribe((function(){return n._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(n){return Math.min(this._tabs.length-1,Math.max(n||0,0))},e.prototype._getTabLabelId=function(n){return"mat-tab-label-"+this._groupId+"-"+n},e.prototype._getTabContentId=function(n){return"mat-tab-content-"+this._groupId+"-"+n},e.prototype._setTabBodyWrapperHeight=function(n){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=n+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var n=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=n.clientHeight,n.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(n,e,t){n.disabled||(this.selectedIndex=e.focusIndex=t)},e.prototype._getTabIndex=function(n,e){return n.disabled?null:this.selectedIndex===e?0:-1},e}(Bo(Ho(function(){return function(n){this._elementRef=n}}()),"primary"))),bG=function(n){function e(e){var t=n.call(this)||this;return t.elementRef=e,t}return Object(i.c)(e,n),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(Vo(function(){return function(){}}())),_G=so({passive:!0}),yG=function(n){function e(e,t,l,o,i,r,a){return n.call(this,e,t,l,o,i,r,a)||this}return Object(i.c)(e,n),e}(function(n){function e(e,t,l,o,i,r,a){var u=n.call(this,e,t,l,o,i,r,a)||this;return u._disableRipple=!1,u}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=$l(n)},enumerable:!0,configurable:!0}),e.prototype._itemSelected=function(n){n.preventDefault()},e}(function(){function n(n,e,t,l,i,r,a){var u=this;this._elementRef=n,this._changeDetectorRef=e,this._viewportRuler=t,this._dir=l,this._ngZone=i,this._platform=r,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Mn.b,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Mn.b,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){Object(xs.a)(n.nativeElement,"mouseleave").pipe(Object(ws.a)(u._destroyed)).subscribe((function(){u._stopInterval()}))}))}return Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){n=Ql(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItemIndex(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;Object(xs.a)(this._previousPaginator.nativeElement,"touchstart",_G).pipe(Object(ws.a)(this._destroyed)).subscribe((function(){n._handlePaginatorPress("before")})),Object(xs.a)(this._nextPaginator.nativeElement,"touchstart",_G).pipe(Object(ws.a)(this._destroyed)).subscribe((function(){n._handlePaginatorPress("after")}))},n.prototype.ngAfterContentInit=function(){var n=this,e=this._dir?this._dir.change:Object(En.a)(null),t=this._viewportRuler.change(150),l=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new wo(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(l):l(),Object(ys.a)(e,t,this._items.changes).pipe(Object(ws.a)(this._destroyed)).subscribe((function(){l(),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())})),this._keyManager.change.pipe(Object(ws.a)(this._destroyed)).subscribe((function(e){n.indexFocused.emit(e),n._setTabFocus(e)}))},n.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},n.prototype._handleKeydown=function(n){if(!fo(n))switch(n.keyCode){case 36:this._keyManager.setFirstItemActive(),n.preventDefault();break;case 35:this._keyManager.setLastItemActive(),n.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n);break;default:this._keyManager.onKeydown(n)}},n.prototype._onContentChanges=function(){var n=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()})))},n.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(n.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){this._isValidIndex(n)&&this.focusIndex!==n&&this._keyManager&&this._keyManager.setActiveItem(n)},enumerable:!0,configurable:!0}),n.prototype._isValidIndex=function(n){if(!this._items)return!0;var e=this._items?this._items.toArray()[n]:null;return!!e&&!e.disabled},n.prototype._setTabFocus=function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var e=this._tabListContainer.nativeElement,t=this._getLayoutDirection();e.scrollLeft="ltr"==t?0:e.scrollWidth-e.offsetWidth}},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._updateTabScrollPosition=function(){var n=this.scrollDistance,e=this._platform,t="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX("+Math.round(t)+"px)",e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)},Object.defineProperty(n.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)},enumerable:!0,configurable:!0}),n.prototype._scrollHeader=function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},n.prototype._handlePaginatorClick=function(n){this._stopInterval(),this._scrollHeader(n)},n.prototype._scrollToLabel=function(n){var e=this._items?this._items.toArray()[n]:null;if(e){var t,l,o=this._tabListContainer.nativeElement.offsetWidth,i=e.elementRef.nativeElement,r=i.offsetLeft,a=i.offsetWidth;"ltr"==this._getLayoutDirection()?l=(t=r)+a:t=(l=this._tabList.nativeElement.offsetWidth-r)-a;var u=this.scrollDistance,s=this.scrollDistance+o;t<u?this.scrollDistance-=u-t+60:l>s&&(this.scrollDistance+=l-s+60)}},n.prototype._checkPaginationEnabled=function(){var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n},n.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},n.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},n.prototype._alignInkBarToSelectedTab=function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=n?n.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},n.prototype._stopInterval=function(){this._stopScrolling.next()},n.prototype._handlePaginatorPress=function(n){var e=this;this._stopInterval(),Object(Dp.a)(650,100).pipe(Object(ws.a)(Object(ys.a)(this._stopScrolling,this._destroyed))).subscribe((function(){var t=e._scrollHeader(n),l=t.distance;(0===l||l>=t.maxScrollDistance)&&e._stopInterval()}))},n.prototype._scrollTo=function(n){var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},n}())),CG=function(){return function(){}}(),wG=o["ɵcrt"]({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function SG(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function xG(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,SG)),o["ɵdid"](1,212992,null,0,gs,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function kG(n){return o["ɵvid"](0,[(n()(),o["ɵted"](0,null,["",""]))],null,(function(n,e){n(e,0,0,e.parent.context.$implicit.textLabel)}))}function EG(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component._handleClick(n.context.$implicit,o["ɵnov"](n.parent,3),n.context.index)&&l),l}),null,null)),o["ɵdid"](1,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"]},null),o["ɵdid"](2,147456,null,0,No,[o.ElementRef,Mo],null,null),o["ɵdid"](3,16384,[[3,4]],0,bG,[o.ElementRef],{disabled:[0,"disabled"]},null),(n()(),o["ɵeld"](4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,xG)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,kG)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),n(e,3,0,e.context.$implicit.disabled),n(e,6,0,e.context.$implicit.templateLabel),n(e,8,0,!e.context.$implicit.templateLabel)}),(function(n,e){var t=e.component;n(e,0,1,[t._getTabLabelId(e.context.index),t._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,t._tabs.length,t._getTabContentId(e.context.index),t.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,t.selectedIndex==e.context.index,o["ɵnov"](e,1).unbounded,o["ɵnov"](e,3).disabled,!!o["ɵnov"](e,3).disabled])}))}function TG(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(n,e,t){var l=!0,o=n.component;return"_onCentered"===e&&(l=!1!==o._removeTabBodyWrapperHeight()&&l),"_onCentering"===e&&(l=!1!==o._setTabBodyWrapperHeight(t)&&l),l}),FG,IG)),o["ɵdid"](1,245760,null,0,fG,[o.ElementRef,[2,ki],o.ChangeDetectorRef],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(n,e){n(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(n,e){var t=e.component;n(e,0,0,t._getTabContentId(e.context.index),t._getTabLabelId(e.context.index),t.selectedIndex==e.context.index)}))}function RG(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_tabBodyWrapper:0}),o["ɵqud"](671088640,2,{_tabHeader:0}),(n()(),o["ɵeld"](2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(n,e,t){var l=!0,o=n.component;return"indexFocused"===e&&(l=!1!==o._focusChanged(t)&&l),"selectFocusedIndex"===e&&(l=!1!==(o.selectedIndex=t)&&l),l}),MG,OG)),o["ɵdid"](3,7520256,[[2,4],["tabHeader",4]],1,yG,[o.ElementRef,o.ChangeDetectorRef,Ps,[2,ki],o.NgZone,io,[2,nu]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),o["ɵqud"](603979776,3,{_items:1}),(n()(),o["ɵand"](16777216,null,0,1,null,EG)),o["ɵdid"](6,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,TG)),o["ɵdid"](9,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,3,0,t.selectedIndex,t.disableRipple),n(e,6,0,t._tabs),n(e,9,0,t._tabs)}),(function(n,e){var t=e.component;n(e,2,0,o["ɵnov"](e,3)._showPaginationControls,"rtl"==o["ɵnov"](e,3)._getLayoutDirection()),n(e,7,0,"NoopAnimations"===t._animationMode)}))}var IG=o["ɵcrt"]({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function DG(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function FG(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_portalHost:0}),(n()(),o["ɵeld"](1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(n,e,t){var l=!0,o=n.component;return"@translateTab.start"===e&&(l=!1!==o._onTranslateTabStarted(t)&&l),"@translateTab.done"===e&&(l=!1!==o._translateTabComplete.next(t)&&l),l}),null,null)),o["ɵpod"](2,{animationDuration:0}),o["ɵpod"](3,{value:0,params:1}),(n()(),o["ɵand"](16777216,null,null,1,null,DG)),o["ɵdid"](5,212992,null,0,pG,[o.ComponentFactoryResolver,o.ViewContainerRef,fG],null,null)],(function(n,e){n(e,5,0)}),(function(n,e){var t=e.component,l=n(e,3,0,t._position,n(e,2,0,t.animationDuration));n(e,1,0,l)}))}var OG=o["ɵcrt"]({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function MG(n){return o["ɵvid"](2,[o["ɵqud"](402653184,1,{_inkBar:0}),o["ɵqud"](402653184,2,{_tabListContainer:0}),o["ɵqud"](402653184,3,{_tabList:0}),o["ɵqud"](671088640,4,{_nextPaginator:0}),o["ɵqud"](671088640,5,{_previousPaginator:0}),(n()(),o["ɵeld"](5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o._handlePaginatorClick("before")&&l),"mousedown"===e&&(l=!1!==o._handlePaginatorPress("before")&&l),"touchend"===e&&(l=!1!==o._stopInterval()&&l),l}),null,null)),o["ɵdid"](6,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"]},null),(n()(),o["ɵeld"](7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==n.component._handleKeydown(t)&&l),l}),null,null)),(n()(),o["ɵeld"](9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component._onContentChanges()&&l),l}),null,null)),o["ɵdid"](10,1196032,null,0,bg,[gg,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["ɵeld"](11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),o["ɵncd"](null,0),(n()(),o["ɵeld"](13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),o["ɵdid"](14,16384,[[1,4]],0,sG,[o.ElementRef,o.NgZone,uG,[2,nu]],null,null),(n()(),o["ɵeld"](15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(n,e,t){var l=!0,o=n.component;return"mousedown"===e&&(l=!1!==o._handlePaginatorPress("after")&&l),"click"===e&&(l=!1!==o._handlePaginatorClick("after")&&l),"touchend"===e&&(l=!1!==o._stopInterval()&&l),l}),null,null)),o["ɵdid"](16,212992,null,0,ri,[o.ElementRef,o.NgZone,io,[2,ii],[2,nu]],{disabled:[0,"disabled"]},null),(n()(),o["ɵeld"](17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,6,0,t._disableScrollBefore||t.disableRipple),n(e,16,0,t._disableScrollAfter||t.disableRipple)}),(function(n,e){var t=e.component;n(e,5,0,t._disableScrollBefore,o["ɵnov"](e,6).unbounded),n(e,9,0,"NoopAnimations"===t._animationMode),n(e,13,0,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,15,0,t._disableScrollAfter,o["ɵnov"](e,16).unbounded)}))}var NG=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function AG(n){return o["ɵvid"](0,[o["ɵncd"](null,0),(n()(),o["ɵand"](0,null,null,0))],null,null)}function PG(n){return o["ɵvid"](2,[o["ɵqud"](402653184,1,{_implicitContent:0}),(n()(),o["ɵand"](0,[[1,2]],null,0,null,AG))],null,null)}var qG=['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:text}.xterm.focus,.xterm:focus{outline:0}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],LG=t("/POA"),jG=t("Fzww"),VG=t("86bl"),BG=function(){function n(n){this.consoleService=n,this.term=new LG.Terminal,this.fitAddon=new VG.FitAddon,this.copiedText=""}return n.prototype.ngOnInit=function(){var n=this;this.consoleService.consoleResized.subscribe((function(e){n.fitAddon.fit()}))},n.prototype.ngAfterViewInit=function(){var n=this;this.term.open(this.terminal.nativeElement);var e=new WebSocket(this.getUrl());e.onerror=function(e){n.term.write("Connection lost")},e.onclose=function(e){n.consoleService.closeConsoleForNode(n.node)};var t=new jG.AttachAddon(e);this.term.loadAddon(t),this.term.setOption("cursorBlink",!0),this.term.loadAddon(this.fitAddon),this.fitAddon.activate(this.term),this.term.focus(),this.term.attachCustomKeyEventHandler((function(n){return"KeyC"!==n.code&&"KeyV"!==n.code||!n.ctrlKey}))},n.prototype.getUrl=function(){return"ws://"+this.server.host+":"+this.server.port+"/v2/projects/"+this.node.project_id+"/nodes/"+this.node.node_id+"/console/ws"},n}(),HG=o["ɵcrt"]({encapsulation:2,styles:[qG],data:{}});function UG(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{terminal:0}),(n()(),o["ɵeld"](1,0,[[1,0],["terminal",1]],null,0,"div",[["id","terminal"]],null,null,null,null,null))],null,null)}var zG=function(){function n(n,e,t,l,o,i,r){this.projectWebServiceHandler=n,this.nodeService=e,this.nodesDataSource=t,this.logEventsDataSource=l,this.httpService=o,this.themeService=i,this.cd=r,this.version=Sn,this.command="",this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.filteredEvents=[],this.regexStart=/^start (.*?)$/,this.regexStop=/^stop (.*?)$/,this.regexSuspend=/^suspend (.*?)$/,this.regexReload=/^reload (.*?)$/,this.regexShow=/^show (.*?)$/,this.regexConsole=/^console (.*?)$/,this.style={},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.selected=new Em(0)}return n.prototype.ngOnInit=function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"20px",width:"720px",height:"340px"},this.nodeSubscription=this.projectWebServiceHandler.nodeNotificationEmitter.subscribe((function(e){var t,l=e.event;t=l.label?"Event received: "+e.action+" - "+n.printNode(l)+".":"Event received: "+e.action+" - "+l.name+".",n.showMessage({type:"map update",message:t})})),this.linkSubscription=this.projectWebServiceHandler.linkNotificationEmitter.subscribe((function(e){var t="Event received: "+e.action+" - "+n.printLink(e.event)+".";n.showMessage({type:"map update",message:t})})),this.drawingSubscription=this.projectWebServiceHandler.drawingNotificationEmitter.subscribe((function(e){var t="Event received: "+e.action+" - "+n.printDrawing(e.event)+".";n.showMessage({type:"map update",message:t})})),this.serverRequestsSubscription=this.httpService.requestsNotificationEmitter.subscribe((function(e){n.showMessage({type:"server request",message:e})})),this.errorSubscription=this.projectWebServiceHandler.errorNotificationEmitter.subscribe((function(e){n.showMessage({type:"error",message:e})})),this.warningSubscription=this.projectWebServiceHandler.warningNotificationEmitter.subscribe((function(e){n.showMessage({type:"warning",message:e})})),this.infoSubscription=this.projectWebServiceHandler.infoNotificationEmitter.subscribe((function(e){n.showMessage({type:"info",message:e})}))},n.prototype.ngAfterViewInit=function(){this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight},n.prototype.ngOnDestroy=function(){this.nodeSubscription.unsubscribe(),this.linkSubscription.unsubscribe(),this.drawingSubscription.unsubscribe(),this.serverRequestsSubscription.unsubscribe(),this.errorSubscription.unsubscribe(),this.warningSubscription.unsubscribe(),this.infoSubscription.unsubscribe()},n.prototype.applyFilter=function(n){this.selectedFilter=n,this.filteredEvents=this.getFilteredEvents(),this.cd.detectChanges()},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.handleCommand()},n.prototype.handleCommand=function(){var n=this;if("help"===this.command||""===this.command)this.showCommand("Available commands: help, version, console {node name}, start all, start {node name}, stop all, stop {node name}, suspend all, suspend {node name}, reload all, reload {node name}, show {node name}.");else if("version"===this.command)this.showCommand("Current version: "+this.version);else if("start all"===this.command)this.showCommand("Starting all nodes..."),this.nodeService.startAll(this.server,this.project).subscribe((function(){n.showCommand("All nodes started.")}));else if("stop all"===this.command)this.showCommand("Stopping all nodes..."),this.nodeService.stopAll(this.server,this.project).subscribe((function(){n.showCommand("All nodes stopped.")}));else if("suspend all"===this.command)this.showCommand("Suspending all nodes..."),this.nodeService.suspendAll(this.server,this.project).subscribe((function(){n.showCommand("All nodes suspended.")}));else if("reload all"===this.command)this.showCommand("Reloading all nodes..."),this.nodeService.reloadAll(this.server,this.project).subscribe((function(){n.showCommand("All nodes reloaded.")}));else if(this.regexStart.test(this.command)||this.regexStop.test(this.command)||this.regexSuspend.test(this.command)||this.regexReload.test(this.command)||this.regexShow.test(this.command)||this.regexConsole.test(this.command)){var e=this.command.split(/[ ,]+/),t=this.nodesDataSource.getItems().find((function(n){return n.name.valueOf()===e[1].valueOf()}));t?this.regexStart.test(this.command)?(this.showCommand("Starting node "+e[1]+"..."),this.nodeService.start(this.server,t).subscribe((function(){return n.showCommand("Node "+t.name+" started.")}))):this.regexStop.test(this.command)?(this.showCommand("Stopping node "+e[1]+"..."),this.nodeService.stop(this.server,t).subscribe((function(){return n.showCommand("Node "+t.name+" stopped.")}))):this.regexSuspend.test(this.command)?(this.showCommand("Suspending node "+e[1]+"..."),this.nodeService.suspend(this.server,t).subscribe((function(){return n.showCommand("Node "+t.name+" suspended.")}))):this.regexReload.test(this.command)?(this.showCommand("Reloading node "+e[1]+"..."),this.nodeService.reload(this.server,t).subscribe((function(){return n.showCommand("Node "+t.name+" reloaded.")}))):this.regexConsole.test(this.command)?"started"===t.status?(this.showCommand("Launching console for node "+e[1]+"..."),"telnet"===t.console_type?location.assign("gns3+telnet://"+t.console_host+":"+t.console+"?name="+t.name+"&project_id="+t.project_id+"&node_id="+t.node_id):"vnc"===t.console_type?location.assign("gns3+vnc://"+t.console_host+":"+t.console+"?name="+t.name+"&project_id="+t.project_id+"&node_id="+t.node_id):"spice"===t.console_type?location.assign("gns3+spice://"+t.console_host+":"+t.console+"?name="+t.name+"&project_id="+t.project_id+"&node_id="+t.node_id):this.showCommand("Supported console types: telnet, vnc, spice.")):this.showCommand("This node must be started before a console can be opened."):this.regexShow.test(this.command)&&(this.showCommand("Information about node "+t.name+":"),this.showCommand(this.printNode(t))):this.showCommand("Node with "+e[1]+" name was not found.")}else this.showCommand("Unknown syntax: "+this.command);this.command="",this.cd.detectChanges()},n.prototype.clearConsole=function(){this.filteredEvents=[],this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight},n.prototype.showCommand=function(n){this.showMessage({type:"command",message:n})},n.prototype.showMessage=function(n){var e=this;this.logEventsDataSource.add(n),this.filteredEvents=this.getFilteredEvents(),this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight,setTimeout((function(){e.console.nativeElement.scrollTop=e.console.nativeElement.scrollHeight}),100),this.cd.detectChanges()},n.prototype.getFilteredEvents=function(){return"server requests"===this.selectedFilter?this.logEventsDataSource.getItems().filter((function(n){return"server request"===n.type})):"errors"===this.selectedFilter?this.logEventsDataSource.getItems().filter((function(n){return"error"===n.type})):"warnings"===this.selectedFilter?this.logEventsDataSource.getItems().filter((function(n){return"warning"===n.type})):"info"===this.selectedFilter?this.logEventsDataSource.getItems().filter((function(n){return"info"===n.type})):"map updates"===this.selectedFilter?this.logEventsDataSource.getItems().filter((function(n){return"map update"===n.type||"command"===n.type})):this.logEventsDataSource.getItems()},n.prototype.printNode=function(n){return"command_line: "+n.command_line+", \n compute_id: "+n.compute_id+", \n console: "+n.console+", \n console_host: "+n.console_host+", \n console_type: "+n.console_type+", \n first_port_name: "+n.first_port_name+", \n height: "+n.height+", \n label: "+n.label.text+", \n name: "+n.name+", \n node_directory: "+n.node_directory+", \n node_id: "+n.node_id+", \n node_type: "+n.node_type+", \n port_name_format: "+n.port_name_format+", \n port_segment_size: "+n.port_segment_size+", "+this.printPorts(n.ports)+"project_id: "+n.project_id+", \n status: "+n.status+", \n symbol: "+n.symbol+", \n symbol_url: "+n.symbol_url+", \n width: "+n.width+", \n x: "+n.x+", \n y: "+n.y+", \n z: "+n.z},n.prototype.printPorts=function(n){var e="ports: ";return n.forEach((function(n){e=e+"adapter_number: "+n.adapter_number+", \n link_type: "+n.link_type+", \n name: "+n.name+", \n port_number: "+n.port_number+", \n short_name: "+n.short_name+", "})),e},n.prototype.printLink=function(n){return"capture_file_name: "+n.capture_file_name+", \n capture_file_path: "+n.capture_file_path+", \n capturing: "+n.capturing+", \n link_id: "+n.link_id+", \n link_type: "+n.link_type+", \n project_id: "+n.project_id+", \n suspend: "+n.suspend+", "},n.prototype.printDrawing=function(n){return"drawing_id: "+n.drawing_id+", \n project_id: "+n.project_id+", \n rotation: "+n.rotation+", \n x: "+n.x+", \n y: "+n.y+", \n z: "+n.z},n}(),GG=function(){function n(n,e,t){this.nodesDataSource=n,this.linksDataSource=e,this.drawingsDataSource=t,this.nodeNotificationEmitter=new o.EventEmitter,this.linkNotificationEmitter=new o.EventEmitter,this.drawingNotificationEmitter=new o.EventEmitter,this.infoNotificationEmitter=new o.EventEmitter,this.warningNotificationEmitter=new o.EventEmitter,this.errorNotificationEmitter=new o.EventEmitter}return n.prototype.handleMessage=function(n){"node.updated"===n.action&&(this.nodesDataSource.update(n.event),this.nodeNotificationEmitter.emit(n)),"node.created"===n.action&&(this.nodesDataSource.add(n.event),this.nodeNotificationEmitter.emit(n)),"node.deleted"===n.action&&(this.nodesDataSource.remove(n.event),this.nodeNotificationEmitter.emit(n)),"link.created"===n.action&&(this.linksDataSource.add(n.event),this.linkNotificationEmitter.emit(n)),"link.updated"===n.action&&(this.linksDataSource.update(n.event),this.linkNotificationEmitter.emit(n)),"link.deleted"===n.action&&(this.linksDataSource.remove(n.event),this.linkNotificationEmitter.emit(n)),"drawing.created"===n.action&&(this.drawingsDataSource.add(n.event),this.drawingNotificationEmitter.emit(n)),"drawing.updated"===n.action&&(this.drawingsDataSource.update(n.event),this.drawingNotificationEmitter.emit(n)),"drawing.deleted"===n.action&&(this.drawingsDataSource.remove(n.event),this.drawingNotificationEmitter.emit(n)),"log.error"===n.action&&this.errorNotificationEmitter.emit(n.event),"log.warning"===n.action&&this.warningNotificationEmitter.emit(n.event),"log.info"===n.action&&this.infoNotificationEmitter.emit(n.event)},n}(),WG=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n},e}(OM),ZG=function(n){function e(e){return n.call(this,e)||this}return i.c(e,n),e.fromError=function(n,t){var l=new e(n);return l.originalError=t,l},e}(Error),KG=function(){function n(){}return n.prototype.handleError=function(n){var e=n;return"HttpErrorResponse"===n.name&&0===n.status&&(e=ZG.fromError("Server is unreachable",n)),Object(Gu.a)(e)},n}(),XG=function(){function n(n,e){this.http=n,this.errorHandler=e,this.requestsNotificationEmitter=new o.EventEmitter}return n.prototype.get=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.requestsNotificationEmitter.emit("GET "+l.url),this.http.get(l.url,l.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.getText=function(n,e,t){t=this.getTextOptions(t);var l=this.getOptionsForServer(n,e,t);return this.requestsNotificationEmitter.emit("GET "+l.url),this.http.get(l.url,l.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.post=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.requestsNotificationEmitter.emit("POST "+o.url),this.http.post(o.url,t,o.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.put=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.requestsNotificationEmitter.emit("PUT "+o.url),this.http.put(o.url,t,o.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.delete=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.requestsNotificationEmitter.emit("DELETE "+l.url),this.http.delete(l.url,l.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.patch=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.http.patch(o.url,t,o.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.head=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.head(l.url,l.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.options=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.options(l.url,l.options).pipe(Object(Ln.a)(this.errorHandler.handleError))},n.prototype.getJsonOptions=function(n){return n||{responseType:"json"}},n.prototype.getTextOptions=function(n){return n||{responseType:"text"}},n.prototype.getOptionsForServer=function(n,e,t){if(e=n.host&&n.port?"http://"+n.host+":"+n.port+"/v2"+e:"/v2"+e,t.headers||(t.headers={}),"basic"===n.authorization){var l=btoa(n.login+":"+n.password);t.headers.Authorization="Basic "+l}return{url:e,options:t}},n}(),YG=o["ɵcrt"]({encapsulation:0,styles:[[".consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);position:fixed;bottom:20px;left:20px;height:180px;width:600px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.lightTheme[_ngcontent-%COMP%]{background:#fff!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:0 0;border:none;margin-top:0;outline:0;color:#dbd5d5;font-weight:700;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;height:40px;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:0}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"]],data:{}});function $G(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"span",[["class","console-item"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," "])),(n()(),o["ɵeld"](2,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,e){n(e,1,0,e.context.$implicit.message)}))}function QG(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{console:0}),(n()(),o["ɵeld"](1,0,null,null,32,"div",[["class","consoleHeader"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,31,"div",[["class","consoleFiltering"]],null,null,null,null,null)),(n()(),o["ɵeld"](3,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","filterButton mat-menu-trigger"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,7)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,7)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,7)._handleClick(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](5,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](6,{lightTheme:0}),o["ɵdid"](7,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵted"](-1,null,[" Apply filter "])),(n()(),o["ɵeld"](9,0,null,null,24,"mat-menu",[["xPosition","after"]],null,null,null,kd,Sd)),o["ɵdid"](10,1294336,[["filterMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{xPosition:[0,"xPosition"]},null),o["ɵqud"](603979776,2,{_allItems:1}),o["ɵqud"](603979776,3,{items:1}),o["ɵqud"](603979776,4,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](16,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,17)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,17)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("all")&&l),l}),Td,Ed)),o["ɵdid"](17,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["all"])),(n()(),o["ɵeld"](19,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("errors")&&l),l}),Td,Ed)),o["ɵdid"](20,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["errors"])),(n()(),o["ɵeld"](22,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,23)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,23)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("warnings")&&l),l}),Td,Ed)),o["ɵdid"](23,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["warnings"])),(n()(),o["ɵeld"](25,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,26)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,26)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("info")&&l),l}),Td,Ed)),o["ɵdid"](26,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["info"])),(n()(),o["ɵeld"](28,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("map updates")&&l),l}),Td,Ed)),o["ɵdid"](29,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["map updates"])),(n()(),o["ɵeld"](31,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,32)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,32)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.applyFilter("server requests")&&l),l}),Td,Ed)),o["ɵdid"](32,180224,[[2,4],[3,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵted"](-1,0,["server requests"])),(n()(),o["ɵeld"](34,0,[[1,0],["console",1]],null,7,"div",[["class","console"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](36,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](37,{lightTheme:0}),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](39,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,$G)),o["ɵdid"](41,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](42,0,null,null,15,"div",[["class","consoleInput"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](44,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](45,{lightTheme:0}),(n()(),o["ɵeld"](46,0,null,null,2,"mat-icon",[["class","inputIcon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](47,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["keyboard_arrow_right"])),(n()(),o["ɵeld"](49,0,null,null,8,"input",[["autofocus",""],["class","commandLine"],["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,"keydown"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,53)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,53)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,53)._compositionEnd(t.target.value)&&l),"keydown"===e&&(l=!1!==i.onKeyDown(t)&&l),"ngModelChange"===e&&(l=!1!==(i.command=t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](51,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](52,{lightTheme:0}),o["ɵdid"](53,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](55,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](57,16384,null,0,Gh,[[4,Uh]],null,null)],(function(n,e){var t=e.component,l=n(e,6,0,t.isLightThemeEnabled);n(e,5,0,"filterButton",l),n(e,7,0,o["ɵnov"](e,10)),n(e,10,0,"after");var i=n(e,37,0,t.isLightThemeEnabled);n(e,36,0,"console",i),n(e,39,0,t.style),n(e,41,0,t.filteredEvents);var r=n(e,45,0,t.isLightThemeEnabled);n(e,44,0,"consoleInput",r),n(e,47,0);var a=n(e,52,0,t.isLightThemeEnabled);n(e,51,0,"commandLine",a),n(e,55,0,t.command)}),(function(n,e){n(e,3,0,o["ɵnov"](e,7).menuOpen||null),n(e,16,0,o["ɵnov"](e,17).role,o["ɵnov"](e,17)._highlighted,o["ɵnov"](e,17)._triggersSubmenu,o["ɵnov"](e,17)._getTabIndex(),o["ɵnov"](e,17).disabled.toString(),o["ɵnov"](e,17).disabled||null),n(e,19,0,o["ɵnov"](e,20).role,o["ɵnov"](e,20)._highlighted,o["ɵnov"](e,20)._triggersSubmenu,o["ɵnov"](e,20)._getTabIndex(),o["ɵnov"](e,20).disabled.toString(),o["ɵnov"](e,20).disabled||null),n(e,22,0,o["ɵnov"](e,23).role,o["ɵnov"](e,23)._highlighted,o["ɵnov"](e,23)._triggersSubmenu,o["ɵnov"](e,23)._getTabIndex(),o["ɵnov"](e,23).disabled.toString(),o["ɵnov"](e,23).disabled||null),n(e,25,0,o["ɵnov"](e,26).role,o["ɵnov"](e,26)._highlighted,o["ɵnov"](e,26)._triggersSubmenu,o["ɵnov"](e,26)._getTabIndex(),o["ɵnov"](e,26).disabled.toString(),o["ɵnov"](e,26).disabled||null),n(e,28,0,o["ɵnov"](e,29).role,o["ɵnov"](e,29)._highlighted,o["ɵnov"](e,29)._triggersSubmenu,o["ɵnov"](e,29)._getTabIndex(),o["ɵnov"](e,29).disabled.toString(),o["ɵnov"](e,29).disabled||null),n(e,31,0,o["ɵnov"](e,32).role,o["ɵnov"](e,32)._highlighted,o["ɵnov"](e,32)._triggersSubmenu,o["ɵnov"](e,32)._getTabIndex(),o["ɵnov"](e,32).disabled.toString(),o["ɵnov"](e,32).disabled||null),n(e,46,0,o["ɵnov"](e,47).inline,"primary"!==o["ɵnov"](e,47).color&&"accent"!==o["ɵnov"](e,47).color&&"warn"!==o["ɵnov"](e,47).color),n(e,49,0,o["ɵnov"](e,57).ngClassUntouched,o["ɵnov"](e,57).ngClassTouched,o["ɵnov"](e,57).ngClassPristine,o["ɵnov"](e,57).ngClassDirty,o["ɵnov"](e,57).ngClassValid,o["ɵnov"](e,57).ngClassInvalid,o["ɵnov"](e,57).ngClassPending)}))}var JG=function(){function n(n,e){this.consoleService=n,this.themeService=e,this.closeConsole=new o.EventEmitter,this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.style={},this.styleInside={height:"120px"},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.isMinimized=!1,this.nodes=[],this.selected=new Em(0)}return n.prototype.ngOnInit=function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"20px",width:"720px",height:"460px"},this.consoleService.nodeConsoleTrigger.subscribe((function(e){n.addTab(e,!0)})),this.consoleService.closeNodeConsoleTrigger.subscribe((function(e){var t=n.nodes.findIndex((function(n){return n.node_id===e.node_id}));n.removeTab(t)}))},n.prototype.minimize=function(n){this.isMinimized=n,this.style=n?{bottom:"20px",left:"20px",width:"720px",height:"56px"}:{bottom:"20px",left:"20px",width:"720px",height:"460px"}},n.prototype.addTab=function(n,e){this.minimize(!1),this.nodes.push(n),e&&this.selected.setValue(this.nodes.length),this.consoleService.openConsoles++},n.prototype.removeTab=function(n){this.nodes.splice(n,1),this.consoleService.openConsoles--},n.prototype.toggleDragging=function(n){this.isDraggingEnabled=n},n.prototype.dragWidget=function(n){var e=Number(n.movementX),t=Number(n.movementY),l=Number(this.style.width.split("px")[0]),o=Number(this.style.height.split("px")[0]),i=Number(this.style.left.split("px")[0])+e;if(this.style.top){var r=Number(this.style.top.split("px")[0])+t;this.style={position:"fixed",left:i+"px",top:r+"px",width:l+"px",height:o+"px"}}else{var a=Number(this.style.bottom.split("px")[0])-t;this.style={position:"fixed",left:i+"px",bottom:a+"px",width:l+"px",height:o+"px"}}},n.prototype.validate=function(n){return!(n.rectangle.width&&n.rectangle.height&&(n.rectangle.width<720||n.rectangle.height<460))},n.prototype.onResizeEnd=function(n){this.style={position:"fixed",left:n.rectangle.left+"px",top:n.rectangle.top+"px",width:n.rectangle.width+"px",height:n.rectangle.height+"px"},this.styleInside={height:n.rectangle.height-60+"px",width:n.rectangle.width+"px"}},n.prototype.close=function(){this.closeConsole.emit(!1)},n}(),nW=o["ɵcrt"]({encapsulation:0,styles:[[".consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);position:fixed;bottom:20px;left:20px;height:180px;width:600px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.lightTheme[_ngcontent-%COMP%]{background:#fff!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:0 0;border:none;margin-top:0;outline:0;color:#dbd5d5;font-weight:700;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between}.tabs[_ngcontent-%COMP%]{width:630px}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:0}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"]],data:{}});function eW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,"div",[],null,[["document","mousemove"],["document","mouseup"]],(function(n,e,t){var l=!0,o=n.component;return"document:mousemove"===e&&(l=!1!==o.dragWidget(t)&&l),"document:mouseup"===e&&(l=!1!==o.toggleDragging(!1)&&l),l}),null,null))],null,null)}function tW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","col"],["style","margin-left: 20px;"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["GNS3 console"]))],null,null)}function lW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[["class","col"],["style","margin-left: 20px;"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""])),(n()(),o["ɵeld"](2,0,null,null,4,"button",[["mat-icon-button",""],["style","color:white"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.removeTab(n.parent.context.index)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](5,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["close"]))],(function(n,e){n(e,5,0)}),(function(n,e){n(e,1,0,e.parent.context.$implicit.name),n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,4,0,o["ɵnov"](e,5).inline,"primary"!==o["ɵnov"](e,5).color&&"accent"!==o["ɵnov"](e,5).color&&"warn"!==o["ɵnov"](e,5).color)}))}function oW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,5,"mat-tab",[],null,null,null,PG,NG)),o["ɵdid"](1,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,4,{templateLabel:0}),o["ɵqud"](335544320,5,{_explicitContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,lW)),o["ɵdid"](5,16384,[[4,4]],0,dG,[o.TemplateRef,o.ViewContainerRef],null,null),(n()(),o["ɵand"](0,null,null,0))],(function(n,e){n(e,1,0,e.component.tab)}),null)}function iW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"button",[["mat-icon-button",""],["style","color:white"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.minimize(!0)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["remove"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function rW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"button",[["mat-icon-button",""],["style","color:white"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.minimize(!1)&&l),l}),ou,lu)),o["ɵdid"](1,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](3,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["web_asset"]))],(function(n,e){n(e,3,0)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).disabled||null,"NoopAnimations"===o["ɵnov"](e,1)._animationMode),n(e,2,0,o["ɵnov"](e,3).inline,"primary"!==o["ɵnov"](e,3).color&&"accent"!==o["ɵnov"](e,3).color&&"warn"!==o["ɵnov"](e,3).color)}))}function aW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"app-web-console",[],[[8,"hidden",0]],null,null,UG,HG)),o["ɵdid"](2,4308992,null,0,BG,[sV],{server:[0,"server"],node:[1,"node"]},null)],(function(n,e){var t=e.component;n(e,2,0,t.server,t.nodes[e.context.index])}),(function(n,e){var t=e.component;n(e,0,0,t.isMinimized),n(e,1,0,!(t.selected.value===e.context.index+1))}))}function uW(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,eW)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](2,0,null,null,30,"div",[["class","consoleWrapper"]],null,[[null,"mousedown"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==n.component.toggleDragging(!0)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](4,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](5,{lightTheme:0}),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](7,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["ɵeld"](8,0,null,null,20,"div",[["class","consoleHeader"]],null,null,null,null,null)),(n()(),o["ɵeld"](9,0,null,null,10,"mat-tab-group",[["class","tabs mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,e,t){var l=!0;return"selectedIndexChange"===e&&(l=!1!==n.component.selected.setValue(t)&&l),l}),RG,wG)),o["ɵdid"](10,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](12,16777216,null,null,5,"mat-tab",[],null,null,null,PG,NG)),o["ɵdid"](13,770048,[[1,4]],2,cG,[o.ViewContainerRef],null,null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,tW)),o["ɵdid"](17,16384,[[2,4]],0,dG,[o.TemplateRef,o.ViewContainerRef],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,oW)),o["ɵdid"](19,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,iW)),o["ɵdid"](21,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,rW)),o["ɵdid"](23,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](24,0,null,null,4,"button",[["mat-icon-button",""],["style","color:white"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.close()&&l),l}),ou,lu)),o["ɵdid"](25,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](26,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](27,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["close"])),(n()(),o["ɵeld"](29,0,null,null,1,"app-log-console",[],[[8,"hidden",0]],null,null,QG,YG)),o["ɵdid"](30,4440064,null,0,zG,[GG,ij,NM,WG,XG,A_,o.ChangeDetectorRef],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,aW)),o["ɵdid"](32,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.isDraggingEnabled);var l=n(e,5,0,t.isLightThemeEnabled);n(e,4,0,"consoleWrapper",l),n(e,7,0,t.style),n(e,10,0,t.selected.value),n(e,13,0),n(e,19,0,t.nodes),n(e,21,0,!t.isMinimized),n(e,23,0,t.isMinimized),n(e,27,0),n(e,30,0,t.server,t.project),n(e,32,0,t.nodes)}),(function(n,e){var t=e.component;n(e,9,0,o["ɵnov"](e,10).dynamicHeight,"below"===o["ɵnov"](e,10).headerPosition),n(e,24,0,o["ɵnov"](e,25).disabled||null,"NoopAnimations"===o["ɵnov"](e,25)._animationMode),n(e,26,0,o["ɵnov"](e,27).inline,"primary"!==o["ɵnov"](e,27).color&&"accent"!==o["ɵnov"](e,27).color&&"warn"!==o["ɵnov"](e,27).color),n(e,29,0,!(0===t.selected.value)||t.isMinimized)}))}function sW(n,e,t){return void 0===t&&(t=3),Math.abs(n-e)<t}function dW(n,e,t,l){var o={top:n.top,bottom:n.bottom,left:n.left,right:n.right};return e.top&&(o.top+=l),e.bottom&&(o.bottom+=l),e.left&&(o.left+=t),e.right&&(o.right+=t),o.height=o.bottom-o.top,o.width=o.right-o.left,o}function cW(n){var e=n.clientY,t=n.rect;return e>=t.top&&e<=t.bottom}function pW(n){var e=n.clientX,t=n.rect;return e>=t.left&&e<=t.right}function fW(n){var e=n.clientX,t=n.clientY,l=n.allowedEdges,o=n.cursorPrecision,i=n.elm.nativeElement.getBoundingClientRect(),r={};return l.left&&sW(e,i.left,o)&&cW({clientY:t,rect:i})&&(r.left=!0),l.right&&sW(e,i.right,o)&&cW({clientY:t,rect:i})&&(r.right=!0),l.top&&sW(t,i.top,o)&&pW({clientX:e,rect:i})&&(r.top=!0),l.bottom&&sW(t,i.bottom,o)&&pW({clientX:e,rect:i})&&(r.bottom=!0),r}var hW=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function mW(n,e){return n.left&&n.top?e.topLeft:n.right&&n.top?e.topRight:n.left&&n.bottom?e.bottomLeft:n.right&&n.bottom?e.bottomRight:n.left||n.right?e.leftOrRight:n.top||n.bottom?e.topOrBottom:""}function vW(n){var e=n.initialRectangle,t=n.newRectangle,l={};return Object.keys(n.edges).forEach((function(n){l[n]=(t[n]||0)-(e[n]||0)})),l}var gW=function(){function n(n,e,t,l){this.platformId=n,this.renderer=e,this.elm=t,this.zone=l,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=hW,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.resizeStart=new o.EventEmitter,this.resizing=new o.EventEmitter,this.resizeEnd=new o.EventEmitter,this.mouseup=new Mn.b,this.mousedown=new Mn.b,this.mousemove=new Mn.b,this.destroy$=new Mn.b,this.resizeEdges$=new Mn.b,this.pointerEventListeners=bW.getInstance(e,l)}return n.prototype.ngOnInit=function(){var n,e=this,t=Object(ys.a)(this.pointerEventListeners.pointerDown,this.mousedown),l=Object(ys.a)(this.pointerEventListeners.pointerMove,this.mousemove).pipe(Object(Xn.a)((function(e){n&&e.event.preventDefault()})),Object(Zu.a)()),o=Object(ys.a)(this.pointerEventListeners.pointerUp,this.mouseup),r=function(){n&&n.clonedNode&&(e.elm.nativeElement.parentElement.removeChild(n.clonedNode),e.renderer.setStyle(e.elm.nativeElement,"visibility","inherit"))},a=function(){return Object(i.a)({},hW,e.resizeCursors)};this.resizeEdges$.pipe(Object(zn.a)(this.resizeEdges),Object(An.a)((function(){return e.resizeEdges&&Object.keys(e.resizeEdges).some((function(n){return!!e.resizeEdges[n]}))})),Object(Hn.a)((function(n){return n?l:Nn.a})),Object(Ts.a)(50),Object(ws.a)(this.destroy$)).subscribe((function(t){var l=fW({clientX:t.clientX,clientY:t.clientY,elm:e.elm,allowedEdges:e.resizeEdges,cursorPrecision:e.resizeCursorPrecision}),o=a();if(!n){var i=mW(l,o);e.renderer.setStyle(e.elm.nativeElement,"cursor",i)}e.setElementClass(e.elm,"resize-left-hover",!0===l.left),e.setElementClass(e.elm,"resize-right-hover",!0===l.right),e.setElementClass(e.elm,"resize-top-hover",!0===l.top),e.setElementClass(e.elm,"resize-bottom-hover",!0===l.bottom)})),t.pipe(Object(Vn.a)((function(r){function a(n){return{clientX:n.clientX-r.clientX,clientY:n.clientY-r.clientY}}var u=function(){var t={x:1,y:1};return n&&(e.resizeSnapGrid.left&&n.edges.left?t.x=+e.resizeSnapGrid.left:e.resizeSnapGrid.right&&n.edges.right&&(t.x=+e.resizeSnapGrid.right),e.resizeSnapGrid.top&&n.edges.top?t.y=+e.resizeSnapGrid.top:e.resizeSnapGrid.bottom&&n.edges.bottom&&(t.y=+e.resizeSnapGrid.bottom)),t};function s(n,e){return{x:Math.ceil(n.clientX/e.x),y:Math.ceil(n.clientY/e.y)}}return Object(ys.a)(l.pipe(Object(Un.a)(1)).pipe(Object(An.a)((function(n){return[,n]}))),l.pipe(Object(Rs.a)())).pipe(Object(An.a)((function(n){var e=Object(i.e)(n,2),t=e[0],l=e[1];return[t?a(t):t,a(l)]}))).pipe(Object(Wn.a)((function(n){var e=Object(i.e)(n,2),t=e[0],l=e[1];if(!t)return!0;var o=u(),r=s(t,o),a=s(l,o);return r.x!==a.x||r.y!==a.y}))).pipe(Object(An.a)((function(n){var e=Object(i.e)(n,2)[1],t=u();return{clientX:Math.round(e.clientX/t.x)*t.x,clientY:Math.round(e.clientY/t.y)*t.y}}))).pipe(Object(ws.a)(Object(ys.a)(o,t)))}))).pipe(Object(Wn.a)((function(){return!!n}))).pipe(Object(An.a)((function(e){return dW(n.startingRect,n.edges,e.clientX,e.clientY)}))).pipe(Object(Wn.a)((function(n){return e.allowNegativeResizes||!!(n.height&&n.width&&n.height>0&&n.width>0)}))).pipe(Object(Wn.a)((function(t){return!e.validateResize||e.validateResize({rectangle:t,edges:vW({edges:n.edges,initialRectangle:n.startingRect,newRectangle:t})})})),Object(ws.a)(this.destroy$)).subscribe((function(t){n&&n.clonedNode&&(e.renderer.setStyle(n.clonedNode,"height",t.height+"px"),e.renderer.setStyle(n.clonedNode,"width",t.width+"px"),e.renderer.setStyle(n.clonedNode,"top",t.top+"px"),e.renderer.setStyle(n.clonedNode,"left",t.left+"px")),e.zone.run((function(){e.resizing.emit({edges:vW({edges:n.edges,initialRectangle:n.startingRect,newRectangle:t}),rectangle:t})})),n.currentRect=t})),t.pipe(Object(An.a)((function(n){return n.edges||fW({clientX:n.clientX,clientY:n.clientY,elm:e.elm,allowedEdges:e.resizeEdges,cursorPrecision:e.resizeCursorPrecision})}))).pipe(Object(Wn.a)((function(n){return Object.keys(n).length>0})),Object(ws.a)(this.destroy$)).subscribe((function(t){n&&r();var l=function(n,e){var t=0,l=0,o=n.nativeElement.style,i=["transform","-ms-transform","-moz-transform","-o-transform"].map((function(n){return o[n]})).find((function(n){return!!n}));if(i&&i.includes("translate")&&(t=i.replace(/.*translate\((.*)px, (.*)px\).*/,"$1"),l=i.replace(/.*translate\((.*)px, (.*)px\).*/,"$2")),"absolute"===e)return{height:n.nativeElement.offsetHeight,width:n.nativeElement.offsetWidth,top:n.nativeElement.offsetTop-l,bottom:n.nativeElement.offsetHeight+n.nativeElement.offsetTop-l,left:n.nativeElement.offsetLeft-t,right:n.nativeElement.offsetWidth+n.nativeElement.offsetLeft-t};var r=n.nativeElement.getBoundingClientRect();return{height:r.height,width:r.width,top:r.top-l,bottom:r.bottom-l,left:r.left-t,right:r.right-t,scrollTop:n.nativeElement.scrollTop,scrollLeft:n.nativeElement.scrollLeft}}(e.elm,e.ghostElementPositioning);n={edges:t,startingRect:l,currentRect:l};var o=a(),i=mW(n.edges,o);e.renderer.setStyle(document.body,"cursor",i),e.setElementClass(e.elm,"resize-active",!0),e.enableGhostResize&&(n.clonedNode=e.elm.nativeElement.cloneNode(!0),e.elm.nativeElement.parentElement.appendChild(n.clonedNode),e.renderer.setStyle(e.elm.nativeElement,"visibility","hidden"),e.renderer.setStyle(n.clonedNode,"position",e.ghostElementPositioning),e.renderer.setStyle(n.clonedNode,"left",n.startingRect.left+"px"),e.renderer.setStyle(n.clonedNode,"top",n.startingRect.top+"px"),e.renderer.setStyle(n.clonedNode,"height",n.startingRect.height+"px"),e.renderer.setStyle(n.clonedNode,"width",n.startingRect.width+"px"),e.renderer.setStyle(n.clonedNode,"cursor",mW(n.edges,o)),e.renderer.addClass(n.clonedNode,"resize-ghost-element"),n.clonedNode.scrollTop=n.startingRect.scrollTop,n.clonedNode.scrollLeft=n.startingRect.scrollLeft),e.zone.run((function(){e.resizeStart.emit({edges:vW({edges:t,initialRectangle:l,newRectangle:l}),rectangle:dW(l,{},0,0)})}))})),o.pipe(Object(ws.a)(this.destroy$)).subscribe((function(){n&&(e.renderer.removeClass(e.elm.nativeElement,"resize-active"),e.renderer.setStyle(document.body,"cursor",""),e.renderer.setStyle(e.elm.nativeElement,"cursor",""),e.zone.run((function(){e.resizeEnd.emit({edges:vW({edges:n.edges,initialRectangle:n.startingRect,newRectangle:n.currentRect}),rectangle:n.currentRect})})),r(),n=null)}))},n.prototype.ngOnChanges=function(n){n.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)},n.prototype.ngOnDestroy=function(){Object(r.isPlatformBrowser)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()},n.prototype.setElementClass=function(n,e,t){t?this.renderer.addClass(n.nativeElement,e):this.renderer.removeClass(n.nativeElement,e)},n}(),bW=function(){function n(n,e){this.pointerDown=new In.a((function(t){var l,o;return e.runOutsideAngular((function(){l=n.listen("document","mousedown",(function(n){t.next({clientX:n.clientX,clientY:n.clientY,event:n})})),o=n.listen("document","touchstart",(function(n){t.next({clientX:n.touches[0].clientX,clientY:n.touches[0].clientY,event:n})}))})),function(){l(),o()}})).pipe(Object(Zu.a)()),this.pointerMove=new In.a((function(t){var l,o;return e.runOutsideAngular((function(){l=n.listen("document","mousemove",(function(n){t.next({clientX:n.clientX,clientY:n.clientY,event:n})})),o=n.listen("document","touchmove",(function(n){t.next({clientX:n.targetTouches[0].clientX,clientY:n.targetTouches[0].clientY,event:n})}))})),function(){l(),o()}})).pipe(Object(Zu.a)()),this.pointerUp=new In.a((function(t){var l,o,i;return e.runOutsideAngular((function(){l=n.listen("document","mouseup",(function(n){t.next({clientX:n.clientX,clientY:n.clientY,event:n})})),o=n.listen("document","touchend",(function(n){t.next({clientX:n.changedTouches[0].clientX,clientY:n.changedTouches[0].clientY,event:n})})),i=n.listen("document","touchcancel",(function(n){t.next({clientX:n.changedTouches[0].clientX,clientY:n.changedTouches[0].clientY,event:n})}))})),function(){l(),o(),i()}})).pipe(Object(Zu.a)())}return n.getInstance=function(e,t){return n.instance||(n.instance=new n(e,t)),n.instance},n}(),_W=function(){return function(){}}(),yW=function(){function n(n,e,t,l,i){this.nodesDataSource=n,this.projectService=e,this.computeService=t,this.linksDataSource=l,this.themeService=i,this.closeTopologySummary=new o.EventEmitter,this.style={},this.styleInside={height:"280px"},this.subscriptions=[],this.nodes=[],this.filteredNodes=[],this.sortingOrder="asc",this.startedStatusFilterEnabled=!1,this.suspendedStatusFilterEnabled=!1,this.stoppedStatusFilterEnabled=!1,this.captureFilterEnabled=!1,this.packetFilterEnabled=!1,this.computes=[],this.isTopologyVisible=!0,this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.subscriptions.push(this.nodesDataSource.changes.subscribe((function(e){n.nodes=e,n.nodes.forEach((function(e){"0.0.0.0"===e.console_host&&(e.console_host=n.server.host)})),n.filteredNodes=e.sort("asc"===n.sortingOrder?n.compareAsc:n.compareDesc)}))),this.projectService.getStatistics(this.server,this.project.project_id).subscribe((function(e){n.projectsStatistics=e})),this.computeService.getComputes(this.server).subscribe((function(e){n.computes=e})),this.style={top:"20px",right:"20px",width:"300px",height:"400px"}},n.prototype.toggleDragging=function(n){this.isDraggingEnabled=n},n.prototype.dragWidget=function(n){var e=Number(n.movementX),t=Number(n.movementY),l=Number(this.style.width.split("px")[0]),o=Number(this.style.height.split("px")[0]),i=Number(this.style.top.split("px")[0])+t;if(this.style.left){var r=Number(this.style.left.split("px")[0])+e;this.style={position:"fixed",left:r+"px",top:i+"px",width:l+"px",height:o+"px"}}else{var a=Number(this.style.right.split("px")[0])-e;this.style={position:"fixed",right:a+"px",top:i+"px",width:l+"px",height:o+"px"}}},n.prototype.validate=function(n){return!(n.rectangle.width&&n.rectangle.height&&(n.rectangle.width<290||n.rectangle.height<260))},n.prototype.onResizeEnd=function(n){this.style={position:"fixed",left:n.rectangle.left+"px",top:n.rectangle.top+"px",width:n.rectangle.width+"px",height:n.rectangle.height+"px"},this.styleInside={height:n.rectangle.height-120+"px"}},n.prototype.toogleTopologyVisibility=function(n){this.isTopologyVisible=n},n.prototype.compareAsc=function(n,e){return n.name<e.name?-1:1},n.prototype.compareDesc=function(n,e){return n.name<e.name?1:-1},n.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(n){return n.unsubscribe()}))},n.prototype.setSortingOrder=function(){this.filteredNodes=this.filteredNodes.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},n.prototype.applyStatusFilter=function(n){"started"===n?this.startedStatusFilterEnabled=!this.startedStatusFilterEnabled:"stopped"===n?this.stoppedStatusFilterEnabled=!this.stoppedStatusFilterEnabled:"suspended"===n&&(this.suspendedStatusFilterEnabled=!this.suspendedStatusFilterEnabled),this.applyFilters()},n.prototype.applyCaptureFilter=function(n){"capture"===n?this.captureFilterEnabled=!this.captureFilterEnabled:"packet"===n&&(this.packetFilterEnabled=!this.packetFilterEnabled),this.applyFilters()},n.prototype.applyFilters=function(){var n=[];this.startedStatusFilterEnabled&&(n=n.concat(this.nodes.filter((function(n){return"started"===n.status})))),this.stoppedStatusFilterEnabled&&(n=n.concat(this.nodes.filter((function(n){return"stopped"===n.status})))),this.suspendedStatusFilterEnabled&&(n=n.concat(this.nodes.filter((function(n){return"suspended"===n.status})))),this.startedStatusFilterEnabled||this.stoppedStatusFilterEnabled||this.suspendedStatusFilterEnabled||(n=n.concat(this.nodes)),this.captureFilterEnabled&&(n=this.checkCapturing(n)),this.packetFilterEnabled&&(n=this.checkPacketFilters(n)),this.filteredNodes=n.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},n.prototype.checkCapturing=function(n){var e=this.linksDataSource.getItems(),t=[];e.forEach((function(n){n.capturing&&n.nodes.forEach((function(n){t.push(n.node_id)}))}));var l=[];return n.forEach((function(n){t.includes(n.node_id)&&l.push(n)})),l},n.prototype.checkPacketFilters=function(n){var e=this.linksDataSource.getItems(),t=[];e.forEach((function(n){(n.filters.bpf||n.filters.corrupt||n.filters.corrupt||n.filters.packet_loss||n.filters.frequency_drop)&&n.nodes.forEach((function(n){t.push(n.node_id)}))}));var l=[];return n.forEach((function(n){t.includes(n.node_id)&&l.push(n)})),l},n.prototype.close=function(){this.closeTopologySummary.emit(!1)},n}(),CW=o["ɵcrt"]({encapsulation:0,styles:[[".summaryWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);position:fixed;top:20px;right:20px;height:400px;width:300px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.lightTheme[_ngcontent-%COMP%]{background:#fff!important;color:#000}.summaryHeaderMenu[_ngcontent-%COMP%]{height:24px}.summaryHeader[_ngcontent-%COMP%]{width:100%;height:34px;display:flex;justify-content:space-between;margin-right:5px}.summaryFilters[_ngcontent-%COMP%], .summarySorting[_ngcontent-%COMP%]{height:25px;margin-left:5px;margin-right:5px}.summaryContent[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;overflow:auto;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.summaryContentServers[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;max-height:350px;overflow:auto;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.titleButton[_ngcontent-%COMP%]{margin-left:5px;margin-top:4px;outline:0}.marked[_ngcontent-%COMP%]{color:#0097a7}.divider[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px;width:100%;height:2px}.nodeRow[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;padding-right:5px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.radio-group-wrapper[_ngcontent-%COMP%]{margin-top:5px}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.closeButton[_ngcontent-%COMP%]{cursor:pointer;font-size:24px;margin-top:8px;margin-right:5px}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.notvisible[_ngcontent-%COMP%]{display:none}"]],data:{}});function wW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,"div",[],null,[["document","mousemove"],["document","mouseup"]],(function(n,e,t){var l=!0,o=n.component;return"document:mousemove"===e&&(l=!1!==o.dragWidget(t)&&l),"document:mouseup"===e&&(l=!1!==o.toggleDragging(!1)&&l),l}),null,null))],null,null)}function SW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:rect",[["class","status_started"],["fill","green"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function xW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,0,":svg:rect",[["class","status_stopped"],["fill","red"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function kW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," ",":"," "]))],null,(function(n,e){n(e,1,0,e.parent.context.$implicit.console_type,e.parent.context.$implicit.console_host,e.parent.context.$implicit.console)}))}function EW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" none "]))],null,null)}function TW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,10,"div",[["class","nodeRow"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,5,"div",[],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,SW)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,xW)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵted"](6,null,[" "," "])),(n()(),o["ɵand"](16777216,null,null,1,null,kW)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,EW)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,"started"===e.context.$implicit.status),n(e,5,0,"stopped"===e.context.$implicit.status),n(e,8,0,null!=e.context.$implicit.console&&null!=e.context.$implicit.console&&"none"!=e.context.$implicit.console_type),n(e,10,0,null==e.context.$implicit.console||"none"===e.context.$implicit.console_type)}),(function(n,e){n(e,6,0,e.context.$implicit.name)}))}function RW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","nodeRow"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](2,null,[" "," "])),(n()(),o["ɵeld"](3,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](4,null,[" "," "])),(n()(),o["ɵeld"](5,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](6,null,[" "," "]))],null,(function(n,e){var t=e.component;n(e,2,0,e.context.$implicit.name),n(e,4,0,e.context.$implicit.host),n(e,6,0,t.server.location)}))}function IW(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,86,"div",[["class","summaryWrapper"],["mwlResizable",""]],null,[[null,"mousedown"],[null,"resizeStart"],[null,"resizeEnd"]],(function(n,e,t){var l=!0,o=n.component;return"mousedown"===e&&(l=!1!==o.toggleDragging(!0)&&l),"resizeStart"===e&&(l=!1!==o.toggleDragging(!1)&&l),"resizeEnd"===e&&(l=!1!==o.onResizeEnd(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{lightTheme:0}),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](5,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),o["ɵdid"](6,737280,null,0,gW,[o.PLATFORM_ID,o.Renderer2,o.ElementRef,o.NgZone],{validateResize:[0,"validateResize"],resizeEdges:[1,"resizeEdges"],enableGhostResize:[2,"enableGhostResize"]},{resizeStart:"resizeStart",resizeEnd:"resizeEnd"}),o["ɵpod"](7,{right:0,left:1,bottom:2,top:3}),(n()(),o["ɵeld"](8,0,null,null,15,"div",[["class","summaryHeader"]],null,null,null,null,null)),(n()(),o["ɵeld"](9,0,null,null,5,"button",[["class","titleButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.toogleTopologyVisibility(!0)&&l),l}),ou,lu)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](11,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](12,{marked:0}),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Map topology"])),(n()(),o["ɵeld"](15,0,null,null,5,"button",[["class","titleButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.toogleTopologyVisibility(!1)&&l),l}),ou,lu)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](17,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](18,{marked:0}),o["ɵdid"](19,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Servers"])),(n()(),o["ɵeld"](21,0,null,null,2,"mat-icon",[["class","closeButton mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.close()&&l),l}),ss,us)),o["ɵdid"](22,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["close"])),(n()(),o["ɵeld"](24,0,null,null,53,"div",[],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](26,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](27,{notvisible:0}),(n()(),o["ɵeld"](28,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,gp,vp)),o["ɵdid"](29,49152,null,0,hp,[],null,null),(n()(),o["ɵeld"](30,0,null,null,26,"div",[["class","summaryFilters"]],null,null,null,null,null)),(n()(),o["ɵeld"](31,0,null,null,25,"mat-select",[["class","mat-select"],["multiple",""],["placeholder","Filter nodes"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["ɵnov"](n,33)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,33)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33)._onBlur()&&l),l}),ew,XC)),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](33,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[8,null],[8,null],zC,Do],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),o["ɵqud"](603979776,1,{options:1}),o["ɵqud"](603979776,2,{optionGroups:1}),o["ɵqud"](603979776,3,{customTrigger:0}),o["ɵprd"](2048,null,hi,null,[ZC]),(n()(),o["ɵeld"](38,0,null,1,10,"mat-optgroup",[["class","mat-optgroup"],["label","Status filter"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,d_,s_)),o["ɵdid"](39,49152,[[2,4]],0,ci,[],{label:[0,"label"]},null),(n()(),o["ɵeld"](40,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","started"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,41)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,41)._handleKeydown(t)&&l),"onSelectionChange"===e&&(l=!1!==i.applyStatusFilter("started")&&l),l}),u_,r_)),o["ɵdid"](41,8568832,[[1,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),o["ɵted"](-1,0,["started"])),(n()(),o["ɵeld"](43,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","suspended"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,44)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,44)._handleKeydown(t)&&l),"onSelectionChange"===e&&(l=!1!==i.applyStatusFilter("suspended")&&l),l}),u_,r_)),o["ɵdid"](44,8568832,[[1,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),o["ɵted"](-1,0,["suspended"])),(n()(),o["ɵeld"](46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","stopped"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,47)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,47)._handleKeydown(t)&&l),"onSelectionChange"===e&&(l=!1!==i.applyStatusFilter("stopped")&&l),l}),u_,r_)),o["ɵdid"](47,8568832,[[1,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),o["ɵted"](-1,0,["stopped"])),(n()(),o["ɵeld"](49,0,null,1,7,"mat-optgroup",[["class","mat-optgroup"],["label","Capture filter"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,d_,s_)),o["ɵdid"](50,49152,[[2,4]],0,ci,[],{label:[0,"label"]},null),(n()(),o["ɵeld"](51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","capture"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,52)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,52)._handleKeydown(t)&&l),"onSelectionChange"===e&&(l=!1!==i.applyCaptureFilter("capture")&&l),l}),u_,r_)),o["ɵdid"](52,8568832,[[1,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),o["ɵted"](-1,0,["active capture(s)"])),(n()(),o["ɵeld"](54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","packet"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,55)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,55)._handleKeydown(t)&&l),"onSelectionChange"===e&&(l=!1!==i.applyCaptureFilter("packet")&&l),l}),u_,r_)),o["ɵdid"](55,8568832,[[1,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),o["ɵted"](-1,0,["active packet captures"])),(n()(),o["ɵeld"](57,0,null,null,13,"div",[["class","summarySorting"]],null,null,null,null,null)),(n()(),o["ɵeld"](58,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","Sorting"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,60)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,60)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,60)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.setSortingOrder()&&l),"valueChange"===e&&(l=!1!==(i.sortingOrder=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](60,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[8,null],[8,null],zC,Do],{placeholder:[0,"placeholder"],value:[1,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),o["ɵqud"](603979776,4,{options:1}),o["ɵqud"](603979776,5,{optionGroups:1}),o["ɵqud"](603979776,6,{customTrigger:0}),o["ɵprd"](2048,null,hi,null,[ZC]),(n()(),o["ɵeld"](65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","asc"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,66)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,66)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](66,8568832,[[4,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["sort by name ascending"])),(n()(),o["ɵeld"](68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","desc"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,69)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,69)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](69,8568832,[[4,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["sort by name descending"])),(n()(),o["ɵeld"](71,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,gp,vp)),o["ɵdid"](72,49152,null,0,hp,[],null,null),(n()(),o["ɵeld"](73,0,null,null,4,"div",[["class","summaryContent"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](75,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,TW)),o["ɵdid"](77,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](78,0,null,null,8,"div",[],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](80,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](81,{notvisible:0}),(n()(),o["ɵeld"](82,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,gp,vp)),o["ɵdid"](83,49152,null,0,hp,[],null,null),(n()(),o["ɵeld"](84,0,null,null,2,"div",[["class","summaryContentServers"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,RW)),o["ɵdid"](86,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component,l=n(e,3,0,t.isLightThemeEnabled);n(e,2,0,"summaryWrapper",l),n(e,5,0,t.style);var o=t.validate,i=n(e,7,0,!0,!0,!0,!0);n(e,6,0,o,i,!0);var r=n(e,12,0,t.isTopologyVisible);n(e,11,0,"titleButton",r);var a=n(e,18,0,!t.isTopologyVisible);n(e,17,0,"titleButton",a),n(e,22,0);var u=n(e,27,0,!t.isTopologyVisible);n(e,26,0,u),n(e,33,0,"Filter nodes",""),n(e,39,0,"Status filter"),n(e,41,0,"started"),n(e,44,0,"suspended"),n(e,47,0,"stopped"),n(e,50,0,"Capture filter"),n(e,52,0,"capture"),n(e,55,0,"packet"),n(e,60,0,"Sorting",t.sortingOrder),n(e,66,0,"asc"),n(e,69,0,"desc"),n(e,75,0,t.styleInside),n(e,77,0,t.filteredNodes);var s=n(e,81,0,t.isTopologyVisible);n(e,80,0,s),n(e,86,0,t.computes)}),(function(n,e){n(e,9,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode),n(e,15,0,o["ɵnov"](e,19).disabled||null,"NoopAnimations"===o["ɵnov"](e,19)._animationMode),n(e,21,0,o["ɵnov"](e,22).inline,"primary"!==o["ɵnov"](e,22).color&&"accent"!==o["ɵnov"](e,22).color&&"warn"!==o["ɵnov"](e,22).color),n(e,28,0,o["ɵnov"](e,29).vertical?"vertical":"horizontal",o["ɵnov"](e,29).vertical,!o["ɵnov"](e,29).vertical,o["ɵnov"](e,29).inset),n(e,31,1,[o["ɵnov"](e,33).id,o["ɵnov"](e,33).tabIndex,o["ɵnov"](e,33)._getAriaLabel(),o["ɵnov"](e,33)._getAriaLabelledby(),o["ɵnov"](e,33).required.toString(),o["ɵnov"](e,33).disabled.toString(),o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).panelOpen?o["ɵnov"](e,33)._optionIds:null,o["ɵnov"](e,33).multiple,o["ɵnov"](e,33)._ariaDescribedby||null,o["ɵnov"](e,33)._getAriaActiveDescendant(),o["ɵnov"](e,33).disabled,o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).required,o["ɵnov"](e,33).empty]),n(e,38,0,o["ɵnov"](e,39).disabled,o["ɵnov"](e,39).disabled.toString(),o["ɵnov"](e,39)._labelId),n(e,40,0,o["ɵnov"](e,41)._getTabIndex(),o["ɵnov"](e,41).selected,o["ɵnov"](e,41).multiple,o["ɵnov"](e,41).active,o["ɵnov"](e,41).id,o["ɵnov"](e,41)._getAriaSelected(),o["ɵnov"](e,41).disabled.toString(),o["ɵnov"](e,41).disabled),n(e,43,0,o["ɵnov"](e,44)._getTabIndex(),o["ɵnov"](e,44).selected,o["ɵnov"](e,44).multiple,o["ɵnov"](e,44).active,o["ɵnov"](e,44).id,o["ɵnov"](e,44)._getAriaSelected(),o["ɵnov"](e,44).disabled.toString(),o["ɵnov"](e,44).disabled),n(e,46,0,o["ɵnov"](e,47)._getTabIndex(),o["ɵnov"](e,47).selected,o["ɵnov"](e,47).multiple,o["ɵnov"](e,47).active,o["ɵnov"](e,47).id,o["ɵnov"](e,47)._getAriaSelected(),o["ɵnov"](e,47).disabled.toString(),o["ɵnov"](e,47).disabled),n(e,49,0,o["ɵnov"](e,50).disabled,o["ɵnov"](e,50).disabled.toString(),o["ɵnov"](e,50)._labelId),n(e,51,0,o["ɵnov"](e,52)._getTabIndex(),o["ɵnov"](e,52).selected,o["ɵnov"](e,52).multiple,o["ɵnov"](e,52).active,o["ɵnov"](e,52).id,o["ɵnov"](e,52)._getAriaSelected(),o["ɵnov"](e,52).disabled.toString(),o["ɵnov"](e,52).disabled),n(e,54,0,o["ɵnov"](e,55)._getTabIndex(),o["ɵnov"](e,55).selected,o["ɵnov"](e,55).multiple,o["ɵnov"](e,55).active,o["ɵnov"](e,55).id,o["ɵnov"](e,55)._getAriaSelected(),o["ɵnov"](e,55).disabled.toString(),o["ɵnov"](e,55).disabled),n(e,58,1,[o["ɵnov"](e,60).id,o["ɵnov"](e,60).tabIndex,o["ɵnov"](e,60)._getAriaLabel(),o["ɵnov"](e,60)._getAriaLabelledby(),o["ɵnov"](e,60).required.toString(),o["ɵnov"](e,60).disabled.toString(),o["ɵnov"](e,60).errorState,o["ɵnov"](e,60).panelOpen?o["ɵnov"](e,60)._optionIds:null,o["ɵnov"](e,60).multiple,o["ɵnov"](e,60)._ariaDescribedby||null,o["ɵnov"](e,60)._getAriaActiveDescendant(),o["ɵnov"](e,60).disabled,o["ɵnov"](e,60).errorState,o["ɵnov"](e,60).required,o["ɵnov"](e,60).empty]),n(e,65,0,o["ɵnov"](e,66)._getTabIndex(),o["ɵnov"](e,66).selected,o["ɵnov"](e,66).multiple,o["ɵnov"](e,66).active,o["ɵnov"](e,66).id,o["ɵnov"](e,66)._getAriaSelected(),o["ɵnov"](e,66).disabled.toString(),o["ɵnov"](e,66).disabled),n(e,68,0,o["ɵnov"](e,69)._getTabIndex(),o["ɵnov"](e,69).selected,o["ɵnov"](e,69).multiple,o["ɵnov"](e,69).active,o["ɵnov"](e,69).id,o["ɵnov"](e,69)._getAriaSelected(),o["ɵnov"](e,69).disabled.toString(),o["ɵnov"](e,69).disabled),n(e,71,0,o["ɵnov"](e,72).vertical?"vertical":"horizontal",o["ɵnov"](e,72).vertical,!o["ɵnov"](e,72).vertical,o["ɵnov"](e,72).inset),n(e,82,0,o["ɵnov"](e,83).vertical?"vertical":"horizontal",o["ɵnov"](e,83).vertical,!o["ɵnov"](e,83).vertical,o["ɵnov"](e,83).inset)}))}function DW(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,wW)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,IW)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.isDraggingEnabled),n(e,3,0,t.projectsStatistics)}),null)}var FW=function(){function n(n,e,t){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.drawingDragged=this.drawingsEventSource.dragged.subscribe((function(e){return n.onDrawingDragged(e)}))},n.prototype.onDrawingDragged=function(n){var e=this,t=this.drawingsDataSource.get(n.datum.id);t.x+=n.dx,t.y+=n.dy,this.drawingService.updatePosition(this.server,this.project,t,t.x,t.y).subscribe((function(n){e.drawingsDataSource.update(n)}))},n.prototype.ngOnDestroy=function(){this.drawingDragged.unsubscribe()},n}(),OW=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function MW(n){return o["ɵvid"](0,[],null,null)}var NW=function(){function n(n,e,t,l){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.mapDrawingToSvgConverter=l}return n.prototype.ngOnInit=function(){var n=this;this.drawingResized=this.drawingsEventSource.resized.subscribe((function(e){return n.onDrawingResized(e)}))},n.prototype.onDrawingResized=function(n){var e=this,t=this.drawingsDataSource.get(n.datum.id),l=this.mapDrawingToSvgConverter.convert(n.datum);this.drawingService.updateSizeAndPosition(this.server,t,n.x,n.y,l).subscribe((function(n){e.drawingsDataSource.update(n)}))},n.prototype.ngOnDestroy=function(){this.drawingResized.unsubscribe()},n}(),AW=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function PW(n){return o["ɵvid"](0,[],null,null)}var qW=function(){function n(n,e,t){this.linkService=n,this.linksDataSource=e,this.linksEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.interfaceDragged=this.linksEventSource.interfaceDragged.subscribe((function(e){return n.onInterfaceLabelDragged(e)}))},n.prototype.onInterfaceLabelDragged=function(n){var e=this,t=this.linksDataSource.get(n.datum.linkId);t.nodes[0].node_id===n.datum.nodeId&&(t.nodes[0].label.x+=n.dx,t.nodes[0].label.y+=n.dy),t.nodes[1].node_id===n.datum.nodeId&&(t.nodes[1].label.x+=n.dx,t.nodes[1].label.y+=n.dy),this.linkService.updateNodes(this.server,t,t.nodes).subscribe((function(n){e.linksDataSource.update(n)}))},n.prototype.ngOnDestroy=function(){this.interfaceDragged.unsubscribe()},n}(),LW=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function jW(n){return o["ɵvid"](0,[],null,null)}var VW=function(){function n(n,e,t,l,o,i){this.projectService=n,this.linkService=e,this.linksDataSource=t,this.linksEventSource=l,this.mapNodeToNode=o,this.mapPortToPort=i}return n.prototype.ngOnInit=function(){var n=this;this.linkCreated=this.linksEventSource.created.subscribe((function(e){return n.onLinkCreated(e)}))},n.prototype.onLinkCreated=function(n){var e=this,t=Math.abs(n.sourceNode.x-n.targetNode.x),l=Math.abs(n.sourceNode.y-n.targetNode.y),o=Math.sqrt(Math.pow(t,2)+Math.pow(l,2)),i=l/o,r=45/o*t,a=45/o*l,u=0,s=0,d=0,c=0;n.sourceNode.x<=n.targetNode.x&&n.sourceNode.y<=n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)+Math.round(r)+5,s=Math.floor(n.sourceNode.height/2)+Math.round(a)+5,d=Math.floor(n.targetNode.width/2)-Math.round(r)-5-Math.round(20*i),c=Math.floor(n.targetNode.height/2)-Math.round(a)+5-Math.round(20*i)):n.sourceNode.x>n.targetNode.x&&n.sourceNode.y<n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)-Math.round(r)-5-Math.round(20*i),s=Math.floor(n.sourceNode.height/2)+Math.round(a)+5-Math.round(20*i),d=Math.floor(n.targetNode.width/2)+Math.round(r)+5,c=Math.floor(n.targetNode.height/2)-Math.round(a)-5):n.sourceNode.x<n.targetNode.x&&n.sourceNode.y>n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)+Math.round(r)+5-Math.round(20*i),s=Math.floor(n.sourceNode.height/2)-Math.round(a)-5-Math.round(20*i),d=Math.floor(n.targetNode.width/2)-Math.round(r)-5,c=Math.floor(n.targetNode.height/2)+Math.round(a)+5):n.sourceNode.x>=n.targetNode.x&&n.sourceNode.y>=n.targetNode.y&&(u=Math.floor(n.sourceNode.width/2)-Math.round(r)-5-Math.round(20*i),s=Math.floor(n.sourceNode.height/2)-Math.round(a)+5-Math.round(20*i),d=Math.floor(n.targetNode.width/2)+Math.round(r)+5,c=Math.floor(n.targetNode.height/2)+Math.round(a)+5);var p=this.mapNodeToNode.convert(n.sourceNode),f=this.mapPortToPort.convert(n.sourcePort),h=this.mapNodeToNode.convert(n.targetNode),m=this.mapPortToPort.convert(n.targetPort);this.linkService.createLink(this.server,p,f,h,m,u,s,d,c).subscribe((function(){e.projectService.links(e.server,e.project.project_id).subscribe((function(n){e.linksDataSource.set(n)}))}))},n.prototype.ngOnDestroy=function(){this.linkCreated.unsubscribe()},n}(),BW=function(){return function(){}}(),HW=function(){function n(){}return n.prototype.convert=function(n){var e=new BW;return e.adapter_number=n.adapterNumber,e.link_type=n.linkType,e.name=n.name,e.port_number=n.portNumber,e.short_name=n.shortName,e},n}(),UW=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function zW(n){return o["ɵvid"](0,[],null,null)}var GW=function(){function n(n,e,t){this.nodesDataSource=n,this.nodeService=e,this.nodesEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.nodeDragged=this.nodesEventSource.dragged.subscribe((function(e){return n.onNodeDragged(e)}))},n.prototype.onNodeDragged=function(n){var e=this,t=this.nodesDataSource.get(n.datum.id);t.x+=n.dx,t.y+=n.dy,this.nodeService.updatePosition(this.server,this.project,t,t.x,t.y).subscribe((function(n){e.nodesDataSource.update(n)}))},n.prototype.ngOnDestroy=function(){this.nodeDragged.unsubscribe()},n}(),WW=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function ZW(n){return o["ɵvid"](0,[],null,null)}var KW=function(){function n(n,e,t,l){this.nodesDataSource=n,this.nodeService=e,this.nodesEventSource=t,this.mapLabelToLabel=l}return n.prototype.ngOnInit=function(){var n=this;this.nodeLabelDragged=this.nodesEventSource.labelDragged.subscribe((function(e){return n.onNodeLabelDragged(e)}))},n.prototype.onNodeLabelDragged=function(n){var e=this,t=this.nodesDataSource.get(n.datum.nodeId),l=n.datum;l.x+=n.dx,l.y+=n.dy;var o=this.mapLabelToLabel.convert(l);t.label=o,this.nodeService.updateLabel(this.server,t,t.label).subscribe((function(n){e.nodesDataSource.update(n)}))},n.prototype.ngOnDestroy=function(){this.nodeLabelDragged.unsubscribe()},n}(),XW=function(){return function(){}}(),YW=function(){function n(n,e,t){this.fontBBoxCalculator=n,this.cssFixer=e,this.fontFixer=t}return n.prototype.convert=function(n){var e=this.cssFixer.fix(n.style),t=this.fontFixer.fixStyles(e),l=this.fontBBoxCalculator.calculate(n.text,t),o=new XW;return o.rotation=n.rotation,o.style=n.style,o.text=n.text,o.x=n.x,o.y=n.y,null!==o.x&&(o.x-=3),null!==o.y&&(o.y-=l.height),o},n}(),$W=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function QW(n){return o["ɵvid"](0,[],null,null)}var JW=function(){function n(n,e,t,l,i,r){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=i,this.context=r,this.drawingSaved=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.textAdded=this.drawingsEventSource.textAdded.subscribe((function(e){return n.onTextAdded(e)}))},n.prototype.onTextAdded=function(n){var e=this,t=this.drawingsFactory.getDrawingMock("text");t.element.text=n.savedText;var l=this.mapDrawingToSvgConverter.convert(t);this.drawingService.add(this.server,this.project.project_id,(n.x-(this.context.getZeroZeroTransformationPoint().x+this.context.transformation.x))/this.context.transformation.k,(n.y-(this.context.getZeroZeroTransformationPoint().y+this.context.transformation.y))/this.context.transformation.k,l).subscribe((function(n){e.drawingsDataSource.add(n),e.drawingSaved.emit(!0)}))},n.prototype.ngOnDestroy=function(){this.textAdded.unsubscribe()},n}(),nZ=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function eZ(n){return o["ɵvid"](0,[],null,null)}var tZ=function(){function n(n,e,t,l){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.mapDrawingToSvgConverter=l}return n.prototype.ngOnInit=function(){var n=this;this.textEdited=this.drawingsEventSource.textEdited.subscribe((function(e){return n.onTextEdited(e)}))},n.prototype.onTextEdited=function(n){var e=this,t=new VM;t.element=n.textElement,t.element.text=n.editedText;var l=this.mapDrawingToSvgConverter.convert(t),o=this.drawingsDataSource.get(n.textDrawingId);this.drawingService.updateText(this.server,o,l).subscribe((function(n){e.drawingsDataSource.update(n),e.drawingsEventSource.textSaved.emit(!0)}))},n.prototype.ngOnDestroy=function(){this.textEdited.unsubscribe()},n}(),lZ=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function oZ(n){return o["ɵvid"](0,[],null,null)}var iZ=function(){return function(){this.isSelected=!1}}(),rZ=function(){function n(n,e,t,l,i,r){this.dialogRef=n,this.projectService=e,this.nodesDataSource=t,this.toasterService=l,this.formBuilder=i,this.projectNameValidator=r,this.onAddProject=new o.EventEmitter,this.projectNameForm=this.formBuilder.group({projectName:new Em(null,[Xh.required,r.get])})}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.onAddClick=function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe((function(e){var t=n.projectNameForm.controls.projectName.value;e.find((function(n){return n.name===t}))?n.toasterService.error("Project with this name already exists."):n.nodesDataSource.getItems().filter((function(n){return"started"===n.status&&"vpcs"===n.node_type||"started"===n.status&&"virtualbox"===n.node_type||"started"===n.status&&"vmware"===n.node_type})).length>0?n.toasterService.error("Please stop all nodes in order to save project."):n.addProject()}))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var n=this;this.projectService.duplicate(this.server,this.project.project_id,this.projectNameForm.controls.projectName.value).subscribe((function(e){n.dialogRef.close(),n.toasterService.success("Project "+e.name+" added")}))},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.onAddClick()},n}(),aZ=function(){function n(n,e,t,l,o){this.dialogRef=n,this.formBuilder=e,this.projectService=t,this.toasterService=l,this.nonNegativeValidator=o,this.displayedColumns=["name","value","actions"],this.variables=[],this.formGroup=this.formBuilder.group({projectName:new Em("",[Xh.required]),width:new Em("",[Xh.required,o.get]),height:new Em("",[Xh.required,o.get]),nodeGridSize:new Em("",[Xh.required,o.get]),drawingGridSize:new Em("",[Xh.required,o.get])}),this.variableFormGroup=this.formBuilder.group({name:new Em("",[Xh.required]),value:new Em("",[Xh.required])})}return n.prototype.ngOnInit=function(){var n=this;this.formGroup.controls.projectName.setValue(this.project.name),this.formGroup.controls.width.setValue(this.project.scene_width),this.formGroup.controls.height.setValue(this.project.scene_height),this.formGroup.controls.nodeGridSize.setValue(this.project.grid_size),this.formGroup.controls.drawingGridSize.setValue(this.project.drawing_grid_size),this.project.variables&&this.project.variables.forEach((function(e){return n.variables.push(e)}))},n.prototype.addVariable=function(){if(this.variableFormGroup.valid){var n={name:this.variableFormGroup.get("name").value,value:this.variableFormGroup.get("value").value};this.variables=this.variables.concat([n])}else this.toasterService.error("Fill all required fields with correct values.")},n.prototype.deleteVariable=function(n){this.variables=this.variables.filter((function(e){return e!==n}))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;this.formGroup.valid?(this.project.name=this.formGroup.get("projectName").value,this.project.scene_width=this.formGroup.get("width").value,this.project.scene_height=this.formGroup.get("height").value,this.project.drawing_grid_size=this.formGroup.get("drawingGridSize").value,this.project.grid_size=this.formGroup.get("nodeGridSize").value,this.project.variables=this.variables,this.projectService.update(this.server,this.project).subscribe((function(e){n.toasterService.success("Project "+e.name+" updated."),n.onNoClick()}))):this.toasterService.error("Fill all required fields with correct values.")},n}(),uZ=function(){function n(n,e,t,l,o,i,r,a,u,s,d,c,p,f,h,m,v,g,b,_,y,C,w,S,x,k,E,T,R,I,D,F,O,M,N,A,P,q,L,j,V,B,H){this.route=n,this.serverService=e,this.projectService=t,this.nodeService=l,this.drawingService=o,this.progressService=i,this.projectWebServiceHandler=r,this.mapChangeDetectorRef=a,this.nodeWidget=u,this.drawingsWidget=s,this.linkWidget=d,this.labelWidget=c,this.interfaceLabelWidget=p,this.mapNodeToNode=f,this.mapDrawingToDrawing=h,this.mapLabelToLabel=m,this.mapLinkToLink=v,this.mapLinkNodeToLinkNode=g,this.nodesDataSource=b,this.linksDataSource=_,this.drawingsDataSource=y,this.settingsService=C,this.toolsService=w,this.selectionManager=S,this.selectionTool=x,this.recentlyOpenedProjectService=k,this.movingEventSource=E,this.mapScaleService=T,this.nodeCreatedLabelStylesFixer=R,this.toasterService=I,this.dialog=D,this.router=F,this.mapNodesDataSource=O,this.mapLinksDataSource=M,this.mapDrawingsDataSource=N,this.mapSymbolsDataSource=A,this.mapSettingsService=P,this.ethernetLinkWidget=q,this.serialLinkWidget=L,this.bottomSheet=j,this.notificationService=V,this.themeService=B,this.title=H,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.isProjectMapMenuVisible=!1,this.isConsoleVisible=!0,this.isTopologySummaryVisible=!0,this.isInterfaceLabelVisible=!1,this.notificationsVisibility=!1,this.layersVisibility=!1,this.gridVisibility=!1,this.toolbarVisibility=!0,this.tools={selection:!0,moving:!1,draw_link:!1,text_editing:!0},this.inReadOnlyMode=!1,this.scrollX=0,this.scrollY=0,this.scrollEnabled=!1,this.isLightThemeEnabled=!1,this.projectMapSubscription=new co.a}return n.prototype.ngOnInit=function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.settings=this.settingsService.getAll(),this.isTopologySummaryVisible=this.mapSettingsService.isTopologySummaryVisible,this.isConsoleVisible=this.mapSettingsService.isLogConsoleVisible,this.mapSettingsService.logConsoleSubject.subscribe((function(e){return n.isConsoleVisible=e})),this.progressService.activate();var e=this.route.paramMap.subscribe((function(e){var t=parseInt(e.get("server_id"),10);Object(Tn.a)(n.serverService.get(t)).pipe(Object(Vn.a)((function(t){return n.server=t,n.projectService.get(t,e.get("project_id")).pipe(Object(An.a)((function(n){return n})))})),Object(Vn.a)((function(e){return n.project=e,n.projectService.open(n.server,n.project.project_id),n.title.setTitle(n.project.name),n.isInterfaceLabelVisible=n.mapSettingsService.interfaceLabels.has(e.project_id)?n.mapSettingsService.interfaceLabels.get(e.project_id):n.project.show_interface_labels,n.recentlyOpenedProjectService.setServerId(n.server.id.toString()),n.recentlyOpenedProjectService.setProjectId(n.project.project_id),"opened"===n.project.status?new In.a((function(e){e.next(n.project)})):n.projectService.open(n.server,n.project.project_id)}))).subscribe((function(e){n.onProjectLoad(e)}),(function(e){n.progressService.setError(e)}),(function(){n.progressService.deactivate()}))}));this.projectMapSubscription.add(e),this.projectMapSubscription.add(this.mapSettingsService.mapRenderedEmitter.subscribe((function(e){n.scrollEnabled&&n.centerCanvas()}))),this.projectMapSubscription.add(this.drawingsDataSource.changes.subscribe((function(e){n.drawings=e,n.mapChangeDetectorRef.detectChanges()}))),this.projectMapSubscription.add(this.nodesDataSource.changes.subscribe((function(e){n.server&&(e.forEach((function(e){e.symbol_url="http://"+n.server.host+":"+n.server.port+"/v2/symbols/"+e.symbol+"/raw"})),n.nodes=e,n.mapChangeDetectorRef.detectChanges())}))),this.projectMapSubscription.add(this.linksDataSource.changes.subscribe((function(e){n.links=e,n.mapChangeDetectorRef.detectChanges()}))),this.projectMapSubscription.add(this.projectWebServiceHandler.errorNotificationEmitter.subscribe((function(e){n.showMessage({type:"error",message:e})}))),this.projectMapSubscription.add(this.projectWebServiceHandler.warningNotificationEmitter.subscribe((function(e){n.showMessage({type:"warning",message:e})}))),this.notificationsVisibility="true"===localStorage.getItem("notificationsVisibility"),this.layersVisibility="true"===localStorage.getItem("layersVisibility"),this.gridVisibility="true"===localStorage.getItem("gridVisibility"),this.addKeyboardListeners()},n.prototype.addKeyboardListeners=function(){var n=this;Mousetrap.bind("ctrl++",(function(e){e.preventDefault(),n.zoomIn()})),Mousetrap.bind("ctrl+-",(function(e){e.preventDefault(),n.zoomOut()})),Mousetrap.bind("ctrl+0",(function(e){e.preventDefault(),n.resetZoom()})),Mousetrap.bind("ctrl+a",(function(e){e.preventDefault();var t=n.mapNodesDataSource.getItems(),l=n.mapDrawingsDataSource.getItems(),o=n.mapLinksDataSource.getItems(),i=n.mapSymbolsDataSource.getItems();n.selectionManager.setSelected(t.concat(l).concat(o).concat(i))})),Mousetrap.bind("ctrl+h",(function(e){e.preventDefault(),n.toolbarVisibility=!n.toolbarVisibility})),Mousetrap.bind("ctrl+shift+a",(function(e){e.preventDefault(),n.selectionManager.setSelected([])})),Mousetrap.bind("ctrl+shift+s",(function(e){e.preventDefault(),n.router.navigate(["/server",n.server.id,"preferences"])}))},n.prototype.onProjectLoad=function(n){var e=this;this.readonly=this.projectService.isReadOnly(n);var t=this.projectService.nodes(this.server,n.project_id).pipe(Object(Vn.a)((function(t){return e.nodesDataSource.set(t),e.projectService.links(e.server,n.project_id)})),Object(Vn.a)((function(t){return e.linksDataSource.set(t),e.projectService.drawings(e.server,n.project_id)}))).subscribe((function(t){e.drawingsDataSource.set(t),e.setUpMapCallbacks(),e.setUpProjectWS(n),e.progressService.deactivate()}));this.projectMapSubscription.add(t)},n.prototype.setUpProjectWS=function(n){var e=this;this.projectws=new WebSocket(this.projectService.notificationsPath(this.server,n.project_id)),this.projectws.onmessage=function(n){e.projectWebServiceHandler.handleMessage(JSON.parse(n.data))},this.projectws.onerror=function(n){e.toasterService.error("Connection to host lost. Error: "+n.data)}},n.prototype.setUpWS=function(){this.ws=new WebSocket(this.notificationService.notificationsPath(this.server))},n.prototype.setUpMapCallbacks=function(){var n=this;this.readonly||this.toolsService.selectionToolActivation(!0);var e=this.linkWidget.onContextMenu.subscribe((function(e){var t=n.mapLinkToLink.convert(e.link);n.contextMenu.openMenuForListOfElements([],[],[],[t],e.event.pageY,e.event.pageX)})),t=this.ethernetLinkWidget.onContextMenu.subscribe((function(e){var t=n.mapLinkToLink.convert(e.link);n.contextMenu.openMenuForListOfElements([],[],[],[t],e.event.pageY,e.event.pageX)})),l=this.serialLinkWidget.onContextMenu.subscribe((function(e){var t=n.mapLinkToLink.convert(e.link);n.contextMenu.openMenuForListOfElements([],[],[],[t],e.event.pageY,e.event.pageX)})),o=this.nodeWidget.onContextMenu.subscribe((function(e){var t=n.mapNodeToNode.convert(e.node);n.contextMenu.openMenuForNode(t,e.event.pageY,e.event.pageX)})),i=this.drawingsWidget.onContextMenu.subscribe((function(e){var t=n.mapDrawingToDrawing.convert(e.drawing);n.contextMenu.openMenuForDrawing(t,e.event.pageY,e.event.pageX)})),r=this.labelWidget.onContextMenu.subscribe((function(e){var t=n.mapLabelToLabel.convert(e.label),l=n.nodes.find((function(n){return n.node_id===e.label.nodeId}));n.contextMenu.openMenuForLabel(t,l,e.event.pageY,e.event.pageX)})),a=this.interfaceLabelWidget.onContextMenu.subscribe((function(e){var t=n.mapLinkNodeToLinkNode.convert(e.interfaceLabel),l=n.links.find((function(n){return n.link_id===e.interfaceLabel.linkId}));n.contextMenu.openMenuForInterfaceLabel(t,l,e.event.pageY,e.event.pageX)})),u=this.selectionTool.contextMenuOpened.subscribe((function(e){var t=n.selectionManager.getSelected();if(!(t.length<2)&&e instanceof MouseEvent){var l=[],o=[],i=[],r=[];t.forEach((function(e){e instanceof VM?l.push(n.mapDrawingToDrawing.convert(e)):e instanceof jM?o.push(n.mapNodeToNode.convert(e)):e instanceof BM?i.push(n.mapLabelToLabel.convert(e)):e instanceof iZ&&r.push(n.mapLinkToLink.convert(e))})),n.contextMenu.openMenuForListOfElements(l,o,i,r,e.pageY,e.pageX)}}));this.projectMapSubscription.add(e),this.projectMapSubscription.add(t),this.projectMapSubscription.add(l),this.projectMapSubscription.add(o),this.projectMapSubscription.add(i),this.projectMapSubscription.add(u),this.projectMapSubscription.add(r),this.projectMapSubscription.add(a),this.mapChangeDetectorRef.detectChanges()},n.prototype.onNodeCreation=function(n){var e=this;n&&this.nodeService.createFromTemplate(this.server,this.project,n.template,n.x,n.y,n.server).subscribe((function(t){e.projectService.nodes(e.server,e.project.project_id).subscribe((function(t){t.filter((function(n){return null===n.label.style})).forEach((function(n){var t=e.nodeCreatedLabelStylesFixer.fix(n);e.nodeService.updateLabel(e.server,n,t.label).subscribe()})),e.nodesDataSource.set(t),n.numberOfNodes--,n.numberOfNodes>0&&(n.x=n.x+50<e.project.scene_width/2?n.x+50:n.x,n.y=n.y+50<e.project.scene_height/2?n.y+50:n.y,e.onNodeCreation(n))}))}))},n.prototype.fitInView=function(){if(this.drawings.forEach((function(n){var e=n.svg.split('"'),t=parseInt(e[1],10),l=parseInt(e[3],10);n.element={width:l,height:t}})),0!==this.nodes.length||0!==this.drawings.length){var n,e,t,l,o=[];this.nodes.forEach((function(n){var e=new sZ;e.node=n,e.top=n.y,e.left=n.x,e.bottom=n.y+n.height,e.right=n.x+n.width,n.y+n.label.y<e.top&&(e.top=n.y+n.label.y),n.x+n.label.x<e.left&&(e.left=n.x+n.label.x),n.y+n.label.y>e.bottom&&(e.bottom=n.y+n.label.y),n.x+n.label.x>e.right&&(e.right=n.x+n.label.x),o.push(e)}));var i=o.sort((function(n,e){return n.left-e.left}))[0],r=o.sort((function(n,e){return n.right-e.right}))[o.length-1],a=o.sort((function(n,e){return n.top-e.top}))[0],u=o.sort((function(n,e){return n.bottom-e.bottom}))[o.length-1],s=[];this.drawings.forEach((function(n){var e=new dZ;e.drawing=n,e.top=n.y,e.left=n.x,e.bottom=n.y+n.element.height,e.right=n.x+n.element.width,s.push(e)}));var d=s.sort((function(n,e){return n.left-e.left}))[0],c=s.sort((function(n,e){return n.right-e.right}))[s.length-1],p=s.sort((function(n,e){return n.top-e.top}))[0],f=s.sort((function(n,e){return n.bottom-e.bottom}))[s.length-1];d&&i?(n=i.left<d.left?i.left:d.left,e=r.right>c.right?r.right:c.right,t=a.top<p.top?a.top:p.top,l=u.bottom>f.bottom?u.bottom:f.bottom):i&&!d?(n=i.left,e=r.right,t=a.top,l=u.bottom):d&&!i?(n=d.left,e=c.right,t=p.top,l=f.bottom):(n=0,e=0,t=0,l=0),n-=20,e+=20,t-=20,l+=20;var h=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,v=e-n,g=l-t,b=g/m,_=1/Math.max(v/h,b);_!==this.mapScaleService.currentScale?(this.mapScaleService.setScale(_),this.project.scene_width=this.project.scene_width*_,this.project.scene_height=this.project.scene_height*_,b<v?(this.scrollX=n*_-(h-v*_)/2+this.project.scene_width/2,this.scrollY=t*_+this.project.scene_height/2):(this.scrollX=n*_+this.project.scene_width/2,this.scrollY=t*_-(m-g*_)/2+this.project.scene_height/2)):(this.scrollX=n*_+this.project.scene_width/2,this.scrollY=t*_+this.project.scene_height/2),this.scrollEnabled=!0}},n.prototype.centerCanvas=function(){window.scrollTo(this.scrollX,this.scrollY),this.scrollEnabled=!1},n.prototype.centerView=function(){if(this.project){var n=this.project.scene_width-document.documentElement.clientWidth>0?(this.project.scene_width-document.documentElement.clientWidth)/2:0,e=this.project.scene_height-document.documentElement.clientHeight>0?(this.project.scene_height-document.documentElement.clientHeight)/2:0;window.scrollTo(n,e)}else this.toasterService.error("Please wait until all components are loaded.")},n.prototype.onDrawingSaved=function(){this.projectMapMenuComponent.resetDrawToolChoice()},Object.defineProperty(n.prototype,"readonly",{get:function(){return this.inReadOnlyMode},set:function(n){this.inReadOnlyMode=n,n?(this.tools.selection=!1,this.toolsService.selectionToolActivation(!1)):(this.tools.selection=!0,this.toolsService.selectionToolActivation(!0))},enumerable:!0,configurable:!0}),n.prototype.toggleMovingMode=function(){this.tools.moving=!this.tools.moving,this.movingEventSource.movingModeState.emit(this.tools.moving),this.readonly||(this.tools.selection=!this.tools.moving,this.toolsService.selectionToolActivation(this.tools.selection))},n.prototype.toggleDrawLineMode=function(){this.tools.draw_link=!this.tools.draw_link,this.toolsService.drawLinkToolActivation(this.tools.draw_link)},n.prototype.toggleShowInterfaceLabels=function(n){this.isInterfaceLabelVisible=n,this.mapSettingsService.toggleShowInterfaceLabels(this.project.project_id,this.isInterfaceLabelVisible)},n.prototype.toggleShowConsole=function(n){this.isConsoleVisible=n,this.mapSettingsService.toggleLogConsole(this.isConsoleVisible)},n.prototype.toggleShowTopologySummary=function(n){this.isTopologySummaryVisible=n,this.mapSettingsService.toggleTopologySummary(this.isTopologySummaryVisible)},n.prototype.toggleNotifications=function(n){this.notificationsVisibility=n,this.notificationsVisibility?localStorage.setItem("notificationsVisibility","true"):localStorage.removeItem("notificationsVisibility")},n.prototype.toggleLayers=function(n){this.layersVisibility=n,this.mapSettingsService.toggleLayers(n),this.layersVisibility?localStorage.setItem("layersVisibility","true"):localStorage.removeItem("layersVisibility"),this.mapChild.applyMapSettingsChanges()},n.prototype.toggleGrid=function(n){this.gridVisibility=n,this.gridVisibility?localStorage.setItem("gridVisibility","true"):localStorage.removeItem("gridVisibility"),this.mapChild.gridVisibility=this.gridVisibility?1:0},n.prototype.toggleSnapToGrid=function(n){this.project.snap_to_grid=n},n.prototype.showMessage=function(n){this.notificationsVisibility&&("error"===n.type&&this.toasterService.error(n.message),"warning"===n.type&&this.toasterService.warning(n.message))},n.prototype.hideMenu=function(){this.projectMapMenuComponent.resetDrawToolChoice(),this.isProjectMapMenuVisible=!1},n.prototype.showMenu=function(){this.isProjectMapMenuVisible=!0},n.prototype.zoomIn=function(){this.mapScaleService.setScale(this.mapScaleService.getScale()+.1)},n.prototype.zoomOut=function(){var n=this.mapScaleService.getScale();n-.1>0&&this.mapScaleService.setScale(n-.1)},n.prototype.resetZoom=function(){this.mapScaleService.resetToDefault()},n.prototype.addNewProject=function(){this.dialog.open(Yg,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server},n.prototype.saveProject=function(){var n=this.dialog.open(rZ,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project},n.prototype.editProject=function(){var n=this.dialog.open(aZ,{width:"600px",autoFocus:!1,disableClose:!0}).componentInstance;n.server=this.server,n.project=this.project},n.prototype.importProject=function(){var n=this,e="",t=this.dialog.open(Xg,{width:"400px",autoFocus:!1,disableClose:!0});t.componentInstance.server=this.server;var l=t.componentInstance.onImportProject.subscribe((function(n){e=n}));t.afterClosed().subscribe((function(){if(l.unsubscribe(),e){n.bottomSheet.open(Qg);var t=n.bottomSheet._openedBottomSheetRef;t.instance.projectMessage="imported project",t.afterDismissed().subscribe((function(t){t&&n.projectService.open(n.server,e).subscribe((function(){n.router.navigate(["/server",n.server.id,"project",e])}))}))}}))},n.prototype.exportProject=function(){this.nodes.filter((function(n){return"virtualbox"===n.node_type})).length>0?this.toasterService.error("Map with VirtualBox machines cannot be exported."):this.nodes.filter((function(n){return"started"===n.status&&"vpcs"===n.node_type||"started"===n.status&&"virtualbox"===n.node_type||"started"===n.status&&"vmware"===n.node_type})).length>0?this.toasterService.error("Project with running nodes cannot be exported."):location.assign(this.projectService.getExportPath(this.server,this.project))},n.prototype.uploadImageFile=function(n){this.readImageFile(n.target)},n.prototype.readImageFile=function(n){var e=this,t=n.files[0],l=new FileReader,o=new Image;l.onloadend=function(){e.drawingService.add(e.server,e.project.project_id,-o.width/2,-o.height/2,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \n height="'+o.height+'" width="'+o.width+'">\n<image height="'+o.height+'" width="'+o.width+'" \n xlink:href="'+l.result+'"/>\n</svg>').subscribe((function(){}))},o.onload=function(){l.readAsDataURL(t)},o.src=window.URL.createObjectURL(t)},n.prototype.closeProject=function(){var n=this;this.bottomSheet.open(Xm);var e=this.bottomSheet._openedBottomSheetRef;e.instance.message="Do you want to close the project?",e.afterDismissed().subscribe((function(e){e&&n.projectService.close(n.server,n.project.project_id).subscribe((function(){n.router.navigate(["/server",n.server.id,"projects"])}))}))},n.prototype.deleteProject=function(){var n=this;this.bottomSheet.open(Xm);var e=this.bottomSheet._openedBottomSheetRef;e.instance.message="Do you want to delete the project?",e.afterDismissed().subscribe((function(e){e&&n.projectService.delete(n.server,n.project.project_id).subscribe((function(){n.router.navigate(["/server",n.server.id,"projects"])}))}))},n.prototype.ngOnDestroy=function(){this.title.setTitle("GNS3 Web UI"),this.drawingsDataSource.clear(),this.nodesDataSource.clear(),this.linksDataSource.clear(),this.projectws&&this.projectws.OPEN&&this.projectws.close(),this.ws&&this.ws.OPEN&&this.ws.close(),this.projectMapSubscription.unsubscribe()},n}(),sZ=function(){return function(){}}(),dZ=function(){return function(){}}(),cZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(function(){return function(n,e){this.event=n,this.node=e}}()),pZ=function(){function n(n,e,t,l,i){this.graphDataManager=n,this.selectionManager=e,this.labelWidget=t,this.nodesEventSource=l,this.mapSettingsService=i,this.onContextMenu=new o.EventEmitter,this.onNodeClicked=new o.EventEmitter}return n.prototype.draw=function(n){var e=this,t=this,l=n.selectAll("g.node_body").data((function(n){return[n]})),o=l.enter().append("g").attr("class","node_body");o.append("image");var i=l.merge(o).classed("selected",(function(n){return e.selectionManager.isSelected(n)})).on("click",(function(n){e.nodesEventSource.clicked.emit(new wO(n,VF.pageX,VF.pageY))}));i.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&i.append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",(function(n){return n.width/2-13})).attr("y",(function(n){return n.height/2-13})).attr("fill","red"),i.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&i.append("text").attr("class","layer_label").text((function(n){return n.z})).attr("x",(function(n){return n.z>=100?n.width/2-13:n.z>=10?n.width/2-9:n.width/2-5})).attr("y",(function(n){return n.height/2+5})).attr("style",(function(){var n=[];return n.push('font-family: "Noto Sans"'),n.push("font-size: 11pt"),n.push("font-weight: bold"),n.join("; ")})).attr("fill","#ffffff"),i.select("image").on("contextmenu",(function(n,e){VF.preventDefault(),t.onContextMenu.emit(new cZ(VF,n))})).attr("xnode:href",(function(n){return n.symbolUrl})).attr("width",(function(n){return n.width?n.width:60})).attr("height",(function(n){return n.height?n.height:60})).attr("x",(function(n){return 0})).attr("y",(function(n){return 0})).on("mouseover",(function(n){nO(this).attr("class","over")})).on("mouseout",(function(n){nO(this).attr("class","")})),i.attr("transform",(function(n){return"translate("+n.x+","+n.y+")"})),this.labelWidget.draw(i)},n}(),fZ=function(){function n(n,e,t,l,i,r){this.multiLinkCalculatorHelper=n,this.interfaceLabelWidget=e,this.interfaceStatusWidget=t,this.selectionManager=l,this.ethernetLinkWidget=i,this.serialLinkWidget=r,this.onContextMenu=new o.EventEmitter}return n.prototype.draw=function(n){var e=this,t=n.selectAll("g.link_body").data((function(n){return[n]})),l=t.enter().append("g").attr("class","link_body"),o=t.merge(l).attr("transform",(function(n){var t=e.multiLinkCalculatorHelper.linkTranslation(n.distance,n.source,n.target);return"translate ("+t.dx+", "+t.dy+")"}));t.select(".capture-icon").remove(),t.filter((function(n){return n.capturing&&!n.suspend&&!(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)})).append("g").on("contextmenu",(function(n){e.onContextMenu.emit(new EO(VF,n))})).attr("class","capture-icon").attr("transform",(function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"})).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/inspect.svg"),t.select(".filter-capture-icon").remove(),t.filter((function(n){return n.capturing&&!n.suspend&&(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)})).append("g").on("contextmenu",(function(n){e.onContextMenu.emit(new EO(VF,n))})).attr("class","filter-capture-icon").attr("transform",(function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"})).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/filter-capture.svg"),t.select(".filter-icon").remove(),t.filter((function(n){return!n.capturing&&(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)})).append("g").on("contextmenu",(function(n){e.onContextMenu.emit(new EO(VF,n))})).attr("class","filter-icon").attr("width","48px").attr("height","48px").attr("transform",(function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"})).attr("viewBox","0 0 20 20").append("image").attr("width","48px").attr("height","48px").attr("xlink:href","assets/resources/images/filter.svg"),t.select(".pause-icon").remove(),t.filter((function(n){return n.capturing&&n.suspend&&!(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)})).append("g").on("contextmenu",(function(n){e.onContextMenu.emit(new EO(VF,n))})).attr("class","pause-icon").attr("transform",(function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"})).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/pause.svg"),this.serialLinkWidget.draw(o),this.ethernetLinkWidget.draw(o),o.select("path").classed("selected",(function(n){return e.selectionManager.isSelected(n)})),this.interfaceLabelWidget.draw(o),this.interfaceStatusWidget.draw(o)},n}(),hZ=function(){return function(){}}(),mZ=function(){function n(){}return n.prototype.convert=function(n){var e=new hZ;return e.drawing_id=n.id,e.project_id=n.projectId,e.rotation=n.rotation,e.svg=n.svg,e.locked=n.locked,e.x=n.x,e.y=n.y,e.z=n.z,e.element=n.element,e},n}(),vZ=function(){return function(){}}(),gZ=function(){function n(n){this.mapLinkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new vZ;return t.link_id=n.id,t.capture_file_name=n.captureFileName,t.capture_file_path=n.captureFilePath,t.capturing=n.capturing,t.filters=n.filters,t.link_type=n.linkType,t.nodes=n.nodes.map((function(n){return e.mapLinkNodeToMapLinkNode.convert(n)})),t.project_id=n.projectId,t.suspend=n.suspend,t},n}(),bZ=function(){return function(){}}(),_Z=function(){function n(n){this.mapLabelToLabel=n}return n.prototype.convert=function(n){var e=new bZ;return e.node_id=n.nodeId,e.adapter_number=n.adapterNumber,e.port_number=n.portNumber,e.label=this.mapLabelToLabel.convert(n.label),e},n}(),yZ=function(){function n(n){this.fontBBCalculator=n,this.MARGIN_BETWEEN_NODE_AND_LABEL=8}return n.prototype.fix=function(n){n.label.style="font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;";var e=this.fontBBCalculator.calculate(n.label.text,n.label.style);return n.label.x=n.width/2-e.width/2,n.label.y=-e.height-this.MARGIN_BETWEEN_NODE_AND_LABEL,n},n}(),CZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n.id},e}(OM),wZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(CZ),SZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(CZ),xZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(CZ),kZ=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e}(CZ),EZ=function(){return function(n,e){this.source=n,this.target=e}}(),TZ=function(){function n(){this.onContextMenu=new o.EventEmitter}return n.prototype.linktoEthernetLink=function(n){return new EZ([n.source.x+n.source.width/2,n.source.y+n.source.height/2],[n.target.x+n.target.width/2,n.target.y+n.target.height/2])},n.prototype.draw=function(n){var e=this,t=n.selectAll("path.ethernet_link").data((function(n){return"ethernet"===n.linkType?[e.linktoEthernetLink(n)]:[]})),l=t.enter().append("path").attr("class","ethernet_link").on("contextmenu",(function(n){var t=event;e.onContextMenu.emit(new EO(t,n))}));l.attr("stroke","#000").attr("stroke-width","2").on("contextmenu",(function(n){var t=event;e.onContextMenu.emit(new EO(t,n))})),t.merge(l).attr("d",(function(n){var e=Oq();return e.moveTo(n.source[0],n.source[1]),e.lineTo(n.target[0],n.target[1]),e.toString()}))},n}(),RZ=function(){return function(n,e,t,l){this.source=n,this.source_angle=e,this.target_angle=t,this.target=l}}(),IZ=function(){function n(){this.onContextMenu=new o.EventEmitter}return n.prototype.linkToSerialLink=function(n){var e={x:n.source.x+n.source.width/2,y:n.source.y+n.source.height/2},t={x:n.target.x+n.target.width/2,y:n.target.y+n.target.height/2},l=t.x-e.x,o=t.y-e.y,i=Math.atan2(o,l),r=-Math.PI/4,a=[Math.cos(i+r),Math.sin(i+r)];return new RZ([e.x,e.y],[e.x+l/2+15*a[0],e.y+o/2+15*a[1]],[t.x-l/2-15*a[0],t.y-o/2-15*a[1]],[t.x,t.y])},n.prototype.draw=function(n){var e=this,t=n.selectAll("path.serial_link").data((function(n){return"serial"===n.linkType?[e.linkToSerialLink(n)]:[]})),l=t.enter().append("path").attr("class","serial_link").on("contextmenu",(function(n){var t=event;e.onContextMenu.emit(new EO(t,n))}));l.attr("stroke","#B22222").attr("fill","none").attr("stroke-width","2"),t.merge(l).attr("d",(function(n){var e=Oq();return e.moveTo(n.source[0],n.source[1]),e.lineTo(n.source_angle[0],n.source_angle[1]),e.lineTo(n.target_angle[0],n.target_angle[1]),e.lineTo(n.target[0],n.target[1]),e.toString()}))},n}(),DZ=function(){function n(n){this.httpServer=n}return n.prototype.notificationsPath=function(n){return"ws://"+n.host+":"+n.port+"/v2/notifications/ws"},n}(),FZ=o["ɵcrt"]({encapsulation:2,styles:[[".wrapper{height:600px}.project-map,app-map,app-project-map,app-root{width:auto}svg.map{background-color:#f0f0f0}g.node:hover{background-color:#0097a7}.project-toolbar{width:70px;position:fixed;top:20px;left:20px;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}img{-webkit-filter:invert(1);filter:invert(1)}.lightTheme{background:#fff!important;color:#000!important}#show-menu-wrapper{position:fixed;background:#263238;top:20px;left:92px;height:72px;padding-top:16px}#show-menu-wrapper .arrow-button{outline:0!important}.shadowed{box-shadow:0 4px 8px -4px rgba(0,0,0,.2),0 6px 20px -20px rgba(0,0,0,.19)}.non-visible{display:none}#menu-wrapper{position:fixed;background:#263238;top:20px;left:92px;height:72px;padding-top:16px;padding-bottom:16px;transition:35s;width:0;overflow:hidden;transition:.15s;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);display:flex}#menu-wrapper .menu-button{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}#menu-wrapper .arrow-button{outline:0!important;transition:.5s;margin-bottom:16px}.extended{width:830px!important;height:100%;overflow:hidden}mat-divider.divider{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}.zoom-buttons{position:fixed;background:#263238;bottom:20px;right:20px;display:grid;color:#fff}.zoom-buttons .zoom-button{outline:0;height:40px;width:40px;background:0 0;border:none;color:#fff;font-size:1.25rem;font-weight:700}.zoom-buttons .zoom-button mat-icon{margin-left:-6px}@-moz-document url-prefix(){.mat-drawer-content{display:inline!important}}.shadow{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.mat-drawer-backdrop.mat-drawer-shown{background-color:transparent}.project-toolbar .mat-toolbar-multiple-rows{width:auto!important}.loading-spinner{position:absolute;top:50%;width:100px;margin-left:-50px;margin-top:-50px;left:50%}line.selected{stroke:#0097a7!important}g.selected,svg.map image.chosen,svg.map image:hover{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray;-webkit-filter:url(#grayscale);filter:url(#grayscale)}path.selected{stroke:#8b0000}.selected>.interface_label_border{stroke:#000;fill:none}.selection-line-tool .selection{fill:#7ccbe1;stroke:#66aec2;fill-opacity:.3;stroke-opacity:.7;stroke-width:1;stroke-dasharray:5,5}.noselect,g.node text{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.project-toolbar button{outline:0;border:none;-moz-outline-style:none}.options-item{padding-left:15px;padding-right:15px}.context-menu-items .mat-menu-item{line-height:24px!important;height:24px!important;font-size:13px!important;padding:0 6px;outline:0!important}.context-menu-items .mat-menu-item .mat-icon{margin-right:3px}.context-menu-items .mat-menu-item:focus{background:0 0}.visible{display:none}mat-menu-panel{min-height:0}"]],data:{}});function OZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-d3-map",[],null,[[null,"nodeDragged"],[null,"drawingDragged"],[null,"onLinkCreated"],[null,"onDrawingResized"],["window","resize"]],(function(n,e,t){var l=!0,i=n.component;return"window:resize"===e&&(l=!1!==o["ɵnov"](n,1).onResize(t)&&l),"nodeDragged"===e&&(l=!1!==i.onNodeDragged(t)&&l),"drawingDragged"===e&&(l=!1!==i.onDrawingDragged(t)&&l),"onLinkCreated"===e&&(l=!1!==i.onLinkCreated(t)&&l),"onDrawingResized"===e&&(l=!1!==i.onDrawingResized(t)&&l),l}),vq,mq)),o["ɵdid"](1,770048,[[2,4]],0,JM,[yM,vO,EM,nN,eN,o.ElementRef,ZM,lN,fq,hq,DM,bO,YM],{nodes:[0,"nodes"],links:[1,"links"],drawings:[2,"drawings"],symbols:[3,"symbols"],project:[4,"project"],server:[5,"server"],width:[6,"width"],height:[7,"height"],showInterfaceLabels:[8,"showInterfaceLabels"],readonly:[9,"readonly"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.nodes,t.links,t.drawings,t.symbols,t.project,t.server,t.project.scene_width,t.project.scene_height,t.isInterfaceLabelVisible,t.inReadOnlyMode)}),null)}function MZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-experimental-map",[],null,[["window","resize"]],(function(n,e,t){var l=!0;return"window:resize"===e&&(l=!1!==o["ɵnov"](n,1).onResize(t)&&l),l}),ML,RL)),o["ɵdid"](1,770048,null,0,kL,[yM,vO,EM,nN,o.ChangeDetectorRef,TL,hq],{nodes:[0,"nodes"],links:[1,"links"],drawings:[2,"drawings"],symbols:[3,"symbols"],width:[4,"width"],height:[5,"height"],showInterfaceLabels:[6,"showInterfaceLabels"],movingTool:[7,"movingTool"],selectionTool:[8,"selectionTool"],drawLinkTool:[9,"drawLinkTool"],readonly:[10,"readonly"]},null)],(function(n,e){var t=e.component;n(e,1,1,[t.nodes,t.links,t.drawings,t.symbols,t.project.scene_width,t.project.scene_height,t.isInterfaceLabelVisible,t.tools.moving,t.tools.selection,t.tools.draw_link,t.inReadOnlyMode])}),null)}function NZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["matTooltip","Open menu"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"],[null,"longpress"],[null,"touchend"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,4)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,4)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["ɵnov"](n,5).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,5)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,5)._handleTouchend()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),o["ɵdid"](5,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](6,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","gns3"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](7,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],{svgIcon:[0,"svgIcon"]},null)],(function(n,e){n(e,4,0,o["ɵnov"](e.parent,12)),n(e,5,0,"Open menu"),n(e,7,0,"gns3")}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode,o["ɵnov"](e,4).menuOpen||null),n(e,6,0,o["ɵnov"](e,7).inline,"primary"!==o["ɵnov"](e,7).color&&"accent"!==o["ɵnov"](e,7).color&&"warn"!==o["ɵnov"](e,7).color)}))}function AZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["matTooltip","Open menu"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"],[null,"longpress"],[null,"touchend"]],(function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["ɵnov"](n,4)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,4)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["ɵnov"](n,5).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,5)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,5)._handleTouchend()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[8,null],[2,ki],Mo],{menu:[0,"menu"]},null),o["ɵdid"](5,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](6,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","gns3black"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](7,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],{svgIcon:[0,"svgIcon"]},null)],(function(n,e){n(e,4,0,o["ɵnov"](e.parent,12)),n(e,5,0,"Open menu"),n(e,7,0,"gns3black")}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode,o["ɵnov"](e,4).menuOpen||null),n(e,6,0,o["ɵnov"](e,7).inline,"primary"!==o["ɵnov"](e,7).color&&"accent"!==o["ɵnov"](e,7).color&&"warn"!==o["ɵnov"](e,7).color)}))}function PZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,0,null,null,1,"app-template",[],null,[[null,"onNodeCreation"]],(function(n,e,t){var l=!0;return"onNodeCreation"===e&&(l=!1!==n.component.onNodeCreation(t)&&l),l}),XL,HL)),o["ɵdid"](3,114688,null,0,BL,[av,kw,bO,Kw],{server:[0,"server"],project:[1,"project"]},{onNodeCreation:"onNodeCreation"})],(function(n,e){var t=e.component;n(e,3,0,t.server,t.project)}),null)}function qZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Add a link"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.toggleDrawLineMode()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["timeline"]))],(function(n,e){n(e,3,0,e.component.tools.draw_link?"primary":"basic"),n(e,4,0,"Add a link"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function LZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,0,null,null,1,"app-snapshot-menu-item",[],null,null,null,nj,JL)),o["ɵdid"](3,114688,null,0,QL,[av,mC,vC,hc],{project:[0,"project"],server:[1,"server"]},null)],(function(n,e){var t=e.component;n(e,3,0,t.project,t.server)}),null)}function jZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Fit in view"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.fitInView()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["fullscreen"]))],(function(n,e){n(e,4,0,"Fit in view"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function VZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](1,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Center view"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.centerView()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["center_focus_strong"]))],(function(n,e){n(e,4,0,"Center view"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function BZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,207,"div",[["class","project-toolbar"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,206,"mat-toolbar",[["class","project-toolbar mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,pu,cu)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{lightTheme:0}),o["ɵdid"](5,4243456,null,1,su,[o.ElementRef,io,r.DOCUMENT],{color:[0,"color"]},null),o["ɵqud"](603979776,4,{_toolbarRows:1}),(n()(),o["ɵand"](16777216,null,1,1,null,NZ)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,AZ)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,0,58,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](12,1294336,[["mainMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{overlapTrigger:[0,"overlapTrigger"]},null),o["ɵqud"](603979776,5,{_allItems:1}),o["ɵqud"](603979776,6,{items:1}),o["ɵqud"](603979776,7,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](18,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,19).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,21)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,21)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](19,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵpad"](20,3),o["ɵdid"](21,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](23,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["work"])),(n()(),o["ɵeld"](25,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Go to projects"])),(n()(),o["ɵeld"](27,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,28).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,30)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,30)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](28,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵpad"](29,1),o["ɵdid"](30,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](32,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["developer_board"])),(n()(),o["ɵeld"](34,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Go to servers"])),(n()(),o["ɵeld"](36,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,37).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,38)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,38)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](37,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](38,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](39,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](40,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["settings_applications"])),(n()(),o["ɵeld"](42,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Go to preferences"])),(n()(),o["ɵeld"](44,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,45).onClick()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,46)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,46)._handleMouseEnter()&&l),l}),Td,Ed)),o["ɵdid"](45,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](46,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](47,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](48,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["info"])),(n()(),o["ɵeld"](50,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Go to system status"])),(n()(),o["ɵeld"](52,0,null,0,1,"app-import-appliance",[],null,null,null,lj,tj)),o["ɵdid"](53,114688,null,0,ej,[hc,gI,kE,eD,Bx],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["ɵeld"](54,16777216,null,0,7,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,55)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,55)._handleMouseEnter()&&l),"mousedown"===e&&(l=!1!==o["ɵnov"](n,56)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,56)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,56)._handleClick(t)&&l),l}),Td,Ed)),o["ɵdid"](55,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),o["ɵdid"](56,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[6,fd],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](57,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](58,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["settings"])),(n()(),o["ɵeld"](60,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Project settings"])),(n()(),o["ɵeld"](62,16777216,null,0,7,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,63)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,63)._handleMouseEnter()&&l),"mousedown"===e&&(l=!1!==o["ɵnov"](n,64)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,64)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["ɵnov"](n,64)._handleClick(t)&&l),l}),Td,Ed)),o["ɵdid"](63,180224,[[5,4],[6,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),o["ɵdid"](64,1196032,null,0,yd,[id,o.ElementRef,o.ViewContainerRef,gd,[2,md],[6,fd],[2,ki],Mo],{menu:[0,"menu"]},null),(n()(),o["ɵeld"](65,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](66,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["view_module"])),(n()(),o["ɵeld"](68,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Map settings"])),(n()(),o["ɵeld"](70,0,null,0,56,"mat-menu",[],null,null,null,kd,Sd)),o["ɵdid"](71,1294336,[["projectMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{overlapTrigger:[0,"overlapTrigger"]},null),o["ɵqud"](603979776,8,{_allItems:1}),o["ɵqud"](603979776,9,{items:1}),o["ɵqud"](603979776,10,{lazyContent:0}),o["ɵprd"](2048,null,md,null,[vd]),o["ɵprd"](2048,null,pd,null,[md]),(n()(),o["ɵeld"](77,0,null,0,49,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](78,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,79)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,79)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.addNewProject()&&l),l}),Td,Ed)),o["ɵdid"](79,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](80,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](81,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["add"])),(n()(),o["ɵeld"](83,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Add new blank project"])),(n()(),o["ɵeld"](85,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,86)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,86)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.saveProject()&&l),l}),Td,Ed)),o["ɵdid"](86,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](87,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](88,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["save"])),(n()(),o["ɵeld"](90,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Save project as"])),(n()(),o["ɵeld"](92,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,93)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,93)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.editProject()&&l),l}),Td,Ed)),o["ɵdid"](93,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](94,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](95,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["edit"])),(n()(),o["ɵeld"](97,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Edit project"])),(n()(),o["ɵeld"](99,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,100)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,100)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.exportProject()&&l),l}),Td,Ed)),o["ɵdid"](100,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](101,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](102,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["call_made"])),(n()(),o["ɵeld"](104,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Export portable project"])),(n()(),o["ɵeld"](106,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,107)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,107)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.importProject()&&l),l}),Td,Ed)),o["ɵdid"](107,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](108,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](109,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["call_received"])),(n()(),o["ɵeld"](111,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Import portable project"])),(n()(),o["ɵeld"](113,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,114)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,114)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.closeProject()&&l),l}),Td,Ed)),o["ɵdid"](114,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](115,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](116,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["close"])),(n()(),o["ɵeld"](118,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Close project"])),(n()(),o["ɵeld"](120,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,121)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["ɵnov"](n,121)._handleMouseEnter()&&l),"click"===e&&(l=!1!==i.deleteProject()&&l),l}),Td,Ed)),o["ɵdid"](121,180224,[[8,4],[9,4]],0,fd,[o.ElementRef,r.DOCUMENT,Mo,[2,pd]],null,null),(n()(),o["ɵeld"](122,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](123,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"])),(n()(),o["ɵeld"](125,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Delete project"])),(n()(),o["ɵeld"](127,0,null,0,62,"mat-menu",[],null,null,null,kd,Sd)),o["ɵprd"](6144,null,md,null,[vd]),o["ɵprd"](6144,null,pd,null,[md]),o["ɵdid"](130,1294336,[["viewMenu",4]],3,vd,[o.ElementRef,o.NgZone,hd],{overlapTrigger:[0,"overlapTrigger"]},null),o["ɵqud"](603979776,11,{_allItems:1}),o["ɵqud"](603979776,12,{items:1}),o["ɵqud"](603979776,13,{lazyContent:0}),(n()(),o["ɵeld"](134,0,null,0,55,"div",[["class","options-item"]],null,null,null,null,null)),(n()(),o["ɵeld"](135,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleShowInterfaceLabels(t.checked)&&l),l}),O_,F_)),o["ɵdid"](136,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](138,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](140,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show interface labels "])),(n()(),o["ɵeld"](142,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](143,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleShowConsole(t.checked)&&l),l}),O_,F_)),o["ɵdid"](144,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](146,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](148,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show console "])),(n()(),o["ɵeld"](150,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](151,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleShowTopologySummary(t.checked)&&l),l}),O_,F_)),o["ɵdid"](152,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](154,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](156,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show topology/servers summary "])),(n()(),o["ɵeld"](158,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](159,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleNotifications(t.checked)&&l),l}),O_,F_)),o["ɵdid"](160,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](162,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](164,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show notifications "])),(n()(),o["ɵeld"](166,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](167,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleLayers(t.checked)&&l),l}),O_,F_)),o["ɵdid"](168,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](170,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](172,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show layers "])),(n()(),o["ɵeld"](174,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](175,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleGrid(t.checked)&&l),l}),O_,F_)),o["ɵdid"](176,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](178,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](180,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show grid "])),(n()(),o["ɵeld"](182,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](183,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleSnapToGrid(t.checked)&&l),l}),O_,F_)),o["ɵdid"](184,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,{change:"change"}),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](186,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},null),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](188,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Snap to grid "])),(n()(),o["ɵand"](16777216,null,1,1,null,PZ)),o["ɵdid"](191,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,qZ)),o["ɵdid"](193,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](194,0,null,1,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["ɵdid"](195,16384,[[4,4]],0,uu,[],null,null),(n()(),o["ɵeld"](196,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Enable/disable moving mode"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,198).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,198)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,198)._handleTouchend()&&l),"click"===e&&(l=!1!==i.toggleMovingMode()&&l),l}),ou,lu)),o["ɵdid"](197,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),o["ɵdid"](198,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](199,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](200,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["zoom_out_map"])),(n()(),o["ɵand"](16777216,null,1,1,null,LZ)),o["ɵdid"](203,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,jZ)),o["ɵdid"](205,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,1,1,null,VZ)),o["ɵdid"](207,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component,l=n(e,4,0,t.isLightThemeEnabled);n(e,3,0,"project-toolbar",l),n(e,5,0,"primary"),n(e,8,0,!t.isLightThemeEnabled),n(e,10,0,t.isLightThemeEnabled),n(e,12,0,!1);var i=n(e,20,0,"/server",t.server.id,"projects");n(e,19,0,i),n(e,23,0);var r=n(e,29,0,"/servers");n(e,28,0,r),n(e,32,0),n(e,37,0,o["ɵinlineInterpolate"](1,"/server/",t.server.id,"/preferences")),n(e,40,0),n(e,45,0,o["ɵinlineInterpolate"](1,"/server/",t.server.id,"/systemstatus")),n(e,48,0),n(e,53,0,t.project,t.server),n(e,56,0,o["ɵnov"](e,71)),n(e,58,0),n(e,64,0,o["ɵnov"](e,130)),n(e,66,0),n(e,71,0,!1),n(e,81,0),n(e,88,0),n(e,95,0),n(e,102,0),n(e,109,0),n(e,116,0),n(e,123,0),n(e,130,0,!1),n(e,138,0,t.isInterfaceLabelVisible),n(e,146,0,t.isConsoleVisible),n(e,154,0,t.isTopologySummaryVisible),n(e,162,0,t.notificationsVisibility),n(e,170,0,t.layersVisibility),n(e,178,0,t.gridVisibility),n(e,186,0,t.project.snap_to_grid),n(e,191,0,!t.readonly),n(e,193,0,!t.readonly),n(e,197,0,t.tools.moving?"primary":"basic"),n(e,198,0,"Enable/disable moving mode"),n(e,200,0),n(e,203,0,!t.readonly),n(e,205,0,!t.readonly),n(e,207,0,!t.readonly)}),(function(n,e){n(e,1,0,o["ɵnov"](e,5)._toolbarRows.length>0,0===o["ɵnov"](e,5)._toolbarRows.length),n(e,18,0,o["ɵnov"](e,21).role,o["ɵnov"](e,21)._highlighted,o["ɵnov"](e,21)._triggersSubmenu,o["ɵnov"](e,21)._getTabIndex(),o["ɵnov"](e,21).disabled.toString(),o["ɵnov"](e,21).disabled||null),n(e,22,0,o["ɵnov"](e,23).inline,"primary"!==o["ɵnov"](e,23).color&&"accent"!==o["ɵnov"](e,23).color&&"warn"!==o["ɵnov"](e,23).color),n(e,27,0,o["ɵnov"](e,30).role,o["ɵnov"](e,30)._highlighted,o["ɵnov"](e,30)._triggersSubmenu,o["ɵnov"](e,30)._getTabIndex(),o["ɵnov"](e,30).disabled.toString(),o["ɵnov"](e,30).disabled||null),n(e,31,0,o["ɵnov"](e,32).inline,"primary"!==o["ɵnov"](e,32).color&&"accent"!==o["ɵnov"](e,32).color&&"warn"!==o["ɵnov"](e,32).color),n(e,36,0,o["ɵnov"](e,38).role,o["ɵnov"](e,38)._highlighted,o["ɵnov"](e,38)._triggersSubmenu,o["ɵnov"](e,38)._getTabIndex(),o["ɵnov"](e,38).disabled.toString(),o["ɵnov"](e,38).disabled||null),n(e,39,0,o["ɵnov"](e,40).inline,"primary"!==o["ɵnov"](e,40).color&&"accent"!==o["ɵnov"](e,40).color&&"warn"!==o["ɵnov"](e,40).color),n(e,44,0,o["ɵnov"](e,46).role,o["ɵnov"](e,46)._highlighted,o["ɵnov"](e,46)._triggersSubmenu,o["ɵnov"](e,46)._getTabIndex(),o["ɵnov"](e,46).disabled.toString(),o["ɵnov"](e,46).disabled||null),n(e,47,0,o["ɵnov"](e,48).inline,"primary"!==o["ɵnov"](e,48).color&&"accent"!==o["ɵnov"](e,48).color&&"warn"!==o["ɵnov"](e,48).color),n(e,54,0,o["ɵnov"](e,55).role,o["ɵnov"](e,55)._highlighted,o["ɵnov"](e,55)._triggersSubmenu,o["ɵnov"](e,55)._getTabIndex(),o["ɵnov"](e,55).disabled.toString(),o["ɵnov"](e,55).disabled||null,o["ɵnov"](e,56).menuOpen||null),n(e,57,0,o["ɵnov"](e,58).inline,"primary"!==o["ɵnov"](e,58).color&&"accent"!==o["ɵnov"](e,58).color&&"warn"!==o["ɵnov"](e,58).color),n(e,62,0,o["ɵnov"](e,63).role,o["ɵnov"](e,63)._highlighted,o["ɵnov"](e,63)._triggersSubmenu,o["ɵnov"](e,63)._getTabIndex(),o["ɵnov"](e,63).disabled.toString(),o["ɵnov"](e,63).disabled||null,o["ɵnov"](e,64).menuOpen||null),n(e,65,0,o["ɵnov"](e,66).inline,"primary"!==o["ɵnov"](e,66).color&&"accent"!==o["ɵnov"](e,66).color&&"warn"!==o["ɵnov"](e,66).color),n(e,78,0,o["ɵnov"](e,79).role,o["ɵnov"](e,79)._highlighted,o["ɵnov"](e,79)._triggersSubmenu,o["ɵnov"](e,79)._getTabIndex(),o["ɵnov"](e,79).disabled.toString(),o["ɵnov"](e,79).disabled||null),n(e,80,0,o["ɵnov"](e,81).inline,"primary"!==o["ɵnov"](e,81).color&&"accent"!==o["ɵnov"](e,81).color&&"warn"!==o["ɵnov"](e,81).color),n(e,85,0,o["ɵnov"](e,86).role,o["ɵnov"](e,86)._highlighted,o["ɵnov"](e,86)._triggersSubmenu,o["ɵnov"](e,86)._getTabIndex(),o["ɵnov"](e,86).disabled.toString(),o["ɵnov"](e,86).disabled||null),n(e,87,0,o["ɵnov"](e,88).inline,"primary"!==o["ɵnov"](e,88).color&&"accent"!==o["ɵnov"](e,88).color&&"warn"!==o["ɵnov"](e,88).color),n(e,92,0,o["ɵnov"](e,93).role,o["ɵnov"](e,93)._highlighted,o["ɵnov"](e,93)._triggersSubmenu,o["ɵnov"](e,93)._getTabIndex(),o["ɵnov"](e,93).disabled.toString(),o["ɵnov"](e,93).disabled||null),n(e,94,0,o["ɵnov"](e,95).inline,"primary"!==o["ɵnov"](e,95).color&&"accent"!==o["ɵnov"](e,95).color&&"warn"!==o["ɵnov"](e,95).color),n(e,99,0,o["ɵnov"](e,100).role,o["ɵnov"](e,100)._highlighted,o["ɵnov"](e,100)._triggersSubmenu,o["ɵnov"](e,100)._getTabIndex(),o["ɵnov"](e,100).disabled.toString(),o["ɵnov"](e,100).disabled||null),n(e,101,0,o["ɵnov"](e,102).inline,"primary"!==o["ɵnov"](e,102).color&&"accent"!==o["ɵnov"](e,102).color&&"warn"!==o["ɵnov"](e,102).color),n(e,106,0,o["ɵnov"](e,107).role,o["ɵnov"](e,107)._highlighted,o["ɵnov"](e,107)._triggersSubmenu,o["ɵnov"](e,107)._getTabIndex(),o["ɵnov"](e,107).disabled.toString(),o["ɵnov"](e,107).disabled||null),n(e,108,0,o["ɵnov"](e,109).inline,"primary"!==o["ɵnov"](e,109).color&&"accent"!==o["ɵnov"](e,109).color&&"warn"!==o["ɵnov"](e,109).color),n(e,113,0,o["ɵnov"](e,114).role,o["ɵnov"](e,114)._highlighted,o["ɵnov"](e,114)._triggersSubmenu,o["ɵnov"](e,114)._getTabIndex(),o["ɵnov"](e,114).disabled.toString(),o["ɵnov"](e,114).disabled||null),n(e,115,0,o["ɵnov"](e,116).inline,"primary"!==o["ɵnov"](e,116).color&&"accent"!==o["ɵnov"](e,116).color&&"warn"!==o["ɵnov"](e,116).color),n(e,120,0,o["ɵnov"](e,121).role,o["ɵnov"](e,121)._highlighted,o["ɵnov"](e,121)._triggersSubmenu,o["ɵnov"](e,121)._getTabIndex(),o["ɵnov"](e,121).disabled.toString(),o["ɵnov"](e,121).disabled||null),n(e,122,0,o["ɵnov"](e,123).inline,"primary"!==o["ɵnov"](e,123).color&&"accent"!==o["ɵnov"](e,123).color&&"warn"!==o["ɵnov"](e,123).color),n(e,135,1,[o["ɵnov"](e,136).id,null,o["ɵnov"](e,136).indeterminate,o["ɵnov"](e,136).checked,o["ɵnov"](e,136).disabled,"before"==o["ɵnov"](e,136).labelPosition,"NoopAnimations"===o["ɵnov"](e,136)._animationMode,o["ɵnov"](e,140).ngClassUntouched,o["ɵnov"](e,140).ngClassTouched,o["ɵnov"](e,140).ngClassPristine,o["ɵnov"](e,140).ngClassDirty,o["ɵnov"](e,140).ngClassValid,o["ɵnov"](e,140).ngClassInvalid,o["ɵnov"](e,140).ngClassPending]),n(e,143,1,[o["ɵnov"](e,144).id,null,o["ɵnov"](e,144).indeterminate,o["ɵnov"](e,144).checked,o["ɵnov"](e,144).disabled,"before"==o["ɵnov"](e,144).labelPosition,"NoopAnimations"===o["ɵnov"](e,144)._animationMode,o["ɵnov"](e,148).ngClassUntouched,o["ɵnov"](e,148).ngClassTouched,o["ɵnov"](e,148).ngClassPristine,o["ɵnov"](e,148).ngClassDirty,o["ɵnov"](e,148).ngClassValid,o["ɵnov"](e,148).ngClassInvalid,o["ɵnov"](e,148).ngClassPending]),n(e,151,1,[o["ɵnov"](e,152).id,null,o["ɵnov"](e,152).indeterminate,o["ɵnov"](e,152).checked,o["ɵnov"](e,152).disabled,"before"==o["ɵnov"](e,152).labelPosition,"NoopAnimations"===o["ɵnov"](e,152)._animationMode,o["ɵnov"](e,156).ngClassUntouched,o["ɵnov"](e,156).ngClassTouched,o["ɵnov"](e,156).ngClassPristine,o["ɵnov"](e,156).ngClassDirty,o["ɵnov"](e,156).ngClassValid,o["ɵnov"](e,156).ngClassInvalid,o["ɵnov"](e,156).ngClassPending]),n(e,159,1,[o["ɵnov"](e,160).id,null,o["ɵnov"](e,160).indeterminate,o["ɵnov"](e,160).checked,o["ɵnov"](e,160).disabled,"before"==o["ɵnov"](e,160).labelPosition,"NoopAnimations"===o["ɵnov"](e,160)._animationMode,o["ɵnov"](e,164).ngClassUntouched,o["ɵnov"](e,164).ngClassTouched,o["ɵnov"](e,164).ngClassPristine,o["ɵnov"](e,164).ngClassDirty,o["ɵnov"](e,164).ngClassValid,o["ɵnov"](e,164).ngClassInvalid,o["ɵnov"](e,164).ngClassPending]),n(e,167,1,[o["ɵnov"](e,168).id,null,o["ɵnov"](e,168).indeterminate,o["ɵnov"](e,168).checked,o["ɵnov"](e,168).disabled,"before"==o["ɵnov"](e,168).labelPosition,"NoopAnimations"===o["ɵnov"](e,168)._animationMode,o["ɵnov"](e,172).ngClassUntouched,o["ɵnov"](e,172).ngClassTouched,o["ɵnov"](e,172).ngClassPristine,o["ɵnov"](e,172).ngClassDirty,o["ɵnov"](e,172).ngClassValid,o["ɵnov"](e,172).ngClassInvalid,o["ɵnov"](e,172).ngClassPending]),n(e,175,1,[o["ɵnov"](e,176).id,null,o["ɵnov"](e,176).indeterminate,o["ɵnov"](e,176).checked,o["ɵnov"](e,176).disabled,"before"==o["ɵnov"](e,176).labelPosition,"NoopAnimations"===o["ɵnov"](e,176)._animationMode,o["ɵnov"](e,180).ngClassUntouched,o["ɵnov"](e,180).ngClassTouched,o["ɵnov"](e,180).ngClassPristine,o["ɵnov"](e,180).ngClassDirty,o["ɵnov"](e,180).ngClassValid,o["ɵnov"](e,180).ngClassInvalid,o["ɵnov"](e,180).ngClassPending]),n(e,183,1,[o["ɵnov"](e,184).id,null,o["ɵnov"](e,184).indeterminate,o["ɵnov"](e,184).checked,o["ɵnov"](e,184).disabled,"before"==o["ɵnov"](e,184).labelPosition,"NoopAnimations"===o["ɵnov"](e,184)._animationMode,o["ɵnov"](e,188).ngClassUntouched,o["ɵnov"](e,188).ngClassTouched,o["ɵnov"](e,188).ngClassPristine,o["ɵnov"](e,188).ngClassDirty,o["ɵnov"](e,188).ngClassValid,o["ɵnov"](e,188).ngClassInvalid,o["ɵnov"](e,188).ngClassPending]),n(e,196,0,o["ɵnov"](e,197).disabled||null,"NoopAnimations"===o["ɵnov"](e,197)._animationMode),n(e,199,0,o["ɵnov"](e,200).inline,"primary"!==o["ɵnov"](e,200).color&&"accent"!==o["ɵnov"](e,200).color&&"warn"!==o["ɵnov"](e,200).color)}))}function HZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,11,"div",[["id","show-menu-wrapper"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](3,{lightTheme:0,shadowed:1}),(n()(),o["ɵeld"](4,0,null,null,7,"button",[["class","arrow-button"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.showMenu()&&l),l}),ou,lu)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](6,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](7,{lightTheme:0}),o["ɵdid"](8,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](9,0,null,0,2,"mat-icon",[["class","unmarked mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](10,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["keyboard_arrow_right"]))],(function(n,e){var t=e.component,l=n(e,3,0,t.isLightThemeEnabled,!t.isProjectMapMenuVisible);n(e,2,0,l);var o=n(e,7,0,t.isLightThemeEnabled);n(e,6,0,"arrow-button",o),n(e,10,0)}),(function(n,e){n(e,4,0,o["ɵnov"](e,8).disabled||null,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,9,0,o["ɵnov"](e,10).inline,"primary"!==o["ɵnov"](e,10).color&&"accent"!==o["ɵnov"](e,10).color&&"warn"!==o["ɵnov"](e,10).color)}))}function UZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,17,"div",[["id","menu-wrapper"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](3,{lightTheme:0,extended:1}),(n()(),o["ɵeld"](4,0,null,null,1,"app-nodes-menu",[],null,null,null,aj,rj)),o["ɵdid"](5,49152,null,0,oj,[ij,NM,hc,Dh,_b,sc],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["ɵeld"](6,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,gp,vp)),o["ɵdid"](7,49152,null,0,hp,[],{vertical:[0,"vertical"]},null),(n()(),o["ɵeld"](8,0,null,null,1,"app-project-map-menu",[],null,null,null,Sj,yj)),o["ɵdid"](9,245760,[[3,4]],0,_j,[DM,YM,sj,Kw,av,A_],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["ɵeld"](10,0,null,null,7,"button",[["class","arrow-button"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.hideMenu()&&l),l}),ou,lu)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](12,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](13,{lightTheme:0}),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵeld"](15,0,null,0,2,"mat-icon",[["class","unmarked mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](16,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["keyboard_arrow_left"]))],(function(n,e){var t=e.component,l=n(e,3,0,t.isLightThemeEnabled,t.isProjectMapMenuVisible);n(e,2,0,l),n(e,5,0,t.project,t.server),n(e,7,0,!0),n(e,9,0,t.project,t.server);var o=n(e,13,0,t.isLightThemeEnabled);n(e,12,0,"arrow-button",o),n(e,16,0)}),(function(n,e){n(e,6,0,o["ɵnov"](e,7).vertical?"vertical":"horizontal",o["ɵnov"](e,7).vertical,!o["ɵnov"](e,7).vertical,o["ɵnov"](e,7).inset),n(e,10,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,15,0,o["ɵnov"](e,16).inline,"primary"!==o["ɵnov"](e,16).color&&"accent"!==o["ɵnov"](e,16).color&&"warn"!==o["ɵnov"](e,16).color)}))}function zZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"div",[["class","project-map"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,OZ)),o["ɵdid"](2,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,MZ)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,BZ)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,HZ)),o["ɵdid"](8,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,UZ)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,1,"app-context-menu",[],null,null,null,TH,XB)),o["ɵdid"](12,114688,[[1,4]],0,KB,[rn,o.ChangeDetectorRef,sc,lb],{project:[0,"project"],server:[1,"server"]},null)],(function(n,e){var t=e.component;n(e,2,0,!t.settings.angular_map),n(e,4,0,t.settings.angular_map),n(e,6,0,t.toolbarVisibility),n(e,8,0,t.toolbarVisibility),n(e,10,0,t.toolbarVisibility),n(e,12,0,t.project,t.server)}),null)}function GZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-project-map-shortcuts",[],null,null,null,NH,MH)),o["ɵdid"](1,245760,null,0,IH,[DH.HotkeysService,hc,ij,lb,OH,wM],{project:[0,"project"],server:[1,"server"]},null)],(function(n,e){var t=e.component;n(e,1,0,t.project,t.server)}),null)}function WZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-draw-link-tool",[],null,null,null,aG,rG)),o["ɵdid"](1,245760,null,0,UH,[tG,KM,XM,OH,lG,iG],{links:[0,"links"]},null)],(function(n,e){n(e,1,0,e.component.links)}),null)}function ZZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-console-wrapper",[],null,[[null,"closeConsole"]],(function(n,e,t){var l=!0;return"closeConsole"===e&&(l=!1!==n.component.toggleShowConsole(t)&&l),l}),uW,nW)),o["ɵdid"](1,114688,null,0,JG,[sV,A_],{server:[0,"server"],project:[1,"project"]},{closeConsole:"closeConsole"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project)}),null)}function KZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-topology-summary",[],null,[[null,"closeTopologySummary"]],(function(n,e,t){var l=!0;return"closeTopologySummary"===e&&(l=!1!==n.component.toggleShowTopologySummary(t)&&l),l}),DW,CW)),o["ɵdid"](1,245760,null,0,yW,[NM,lb,$y,MM,A_],{server:[0,"server"],project:[1,"project"]},{closeTopologySummary:"closeTopologySummary"})],(function(n,e){var t=e.component;n(e,1,0,t.server,t.project)}),null)}function XZ(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{contextMenu:0}),o["ɵqud"](671088640,2,{mapChild:0}),o["ɵqud"](671088640,3,{projectMapMenuComponent:0}),(n()(),o["ɵand"](16777216,null,null,1,null,zZ)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](5,0,null,null,27,"div",[["class","zoom-buttons"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](7,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](8,{lightTheme:0}),(n()(),o["ɵeld"](9,16777216,null,null,7,"button",[["class","zoom-button"],["matTooltip","Zoom in"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,13).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,13)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,13)._handleTouchend()&&l),"click"===e&&(l=!1!==i.zoomIn()&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](11,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](12,{lightTheme:0}),o["ɵdid"](13,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](14,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](15,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["zoom_in"])),(n()(),o["ɵeld"](17,16777216,null,null,7,"button",[["class","zoom-button"],["matTooltip","Reset zoom"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,21).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,21)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,21)._handleTouchend()&&l),"click"===e&&(l=!1!==i.resetZoom()&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](19,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](20,{lightTheme:0}),o["ɵdid"](21,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](22,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](23,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["adjust"])),(n()(),o["ɵeld"](25,16777216,null,null,7,"button",[["class","zoom-button"],["matTooltip","Zoom out"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,29).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,29)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,29)._handleTouchend()&&l),"click"===e&&(l=!1!==i.zoomOut()&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](27,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](28,{lightTheme:0}),o["ɵdid"](29,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](30,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](31,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["zoom_out"])),(n()(),o["ɵeld"](33,0,null,null,1,"app-progress",[],null,null,null,ac,lc)),o["ɵdid"](34,245760,null,0,nc,[tc,vl],null,null),(n()(),o["ɵand"](16777216,null,null,1,null,GZ)),o["ɵdid"](36,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,WZ)),o["ɵdid"](38,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](39,0,null,null,1,"app-drawing-dragged",[],null,null,null,MW,OW)),o["ɵdid"](40,245760,null,0,FW,[sj,dj,DO],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["ɵeld"](41,0,null,null,1,"app-drawing-resized",[],null,null,null,PW,AW)),o["ɵdid"](42,245760,null,0,NW,[sj,dj,DO,pj],{server:[0,"server"]},null),(n()(),o["ɵeld"](43,0,null,null,1,"app-interface-label-dragged",[],null,null,null,jW,LW)),o["ɵdid"](44,245760,null,0,qW,[FM,MM,XM],{server:[0,"server"]},null),(n()(),o["ɵeld"](45,0,null,null,1,"app-link-created",[],null,null,null,zW,UW)),o["ɵdid"](46,245760,null,0,VW,[lb,FM,MM,XM,OH,HW],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["ɵeld"](47,0,null,null,1,"app-node-dragged",[],null,null,null,ZW,WW)),o["ɵdid"](48,245760,null,0,GW,[NM,ij,KM],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["ɵeld"](49,0,null,null,1,"app-node-label-dragged",[],null,null,null,QW,$W)),o["ɵdid"](50,245760,null,0,KW,[NM,ij,KM,YW],{server:[0,"server"]},null),(n()(),o["ɵeld"](51,0,null,null,1,"app-text-added",[],null,[[null,"drawingSaved"]],(function(n,e,t){var l=!0;return"drawingSaved"===e&&(l=!1!==n.component.onDrawingSaved()&&l),l}),eZ,nZ)),o["ɵdid"](52,245760,null,0,JW,[sj,dj,DO,cj,pj,vO],{server:[0,"server"],project:[1,"project"]},{drawingSaved:"drawingSaved"}),(n()(),o["ɵeld"](53,0,null,null,1,"app-text-edited",[],null,null,null,oZ,lZ)),o["ɵdid"](54,245760,null,0,tZ,[sj,dj,DO,pj],{server:[0,"server"]},null),(n()(),o["ɵeld"](55,0,null,null,5,"div",[],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](57,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](58,{visible:0}),(n()(),o["ɵand"](16777216,null,null,1,null,ZZ)),o["ɵdid"](60,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](61,0,null,null,5,"div",[],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](63,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](64,{visible:0}),(n()(),o["ɵand"](16777216,null,null,1,null,KZ)),o["ɵdid"](66,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,4,0,t.project);var l=n(e,8,0,t.isLightThemeEnabled);n(e,7,0,"zoom-buttons",l);var o=n(e,12,0,t.isLightThemeEnabled);n(e,11,0,"zoom-button",o),n(e,13,0,"Zoom in"),n(e,15,0);var i=n(e,20,0,t.isLightThemeEnabled);n(e,19,0,"zoom-button",i),n(e,21,0,"Reset zoom"),n(e,23,0);var r=n(e,28,0,t.isLightThemeEnabled);n(e,27,0,"zoom-button",r),n(e,29,0,"Zoom out"),n(e,31,0),n(e,34,0),n(e,36,0,t.project),n(e,38,0,t.tools.draw_link),n(e,40,0,t.server,t.project),n(e,42,0,t.server),n(e,44,0,t.server),n(e,46,0,t.server,t.project),n(e,48,0,t.server,t.project),n(e,50,0,t.server),n(e,52,0,t.server,t.project),n(e,54,0,t.server);var a=n(e,58,0,!t.isConsoleVisible);n(e,57,0,a),n(e,60,0,t.project);var u=n(e,64,0,!t.isTopologySummaryVisible);n(e,63,0,u),n(e,66,0,t.project)}),(function(n,e){n(e,14,0,o["ɵnov"](e,15).inline,"primary"!==o["ɵnov"](e,15).color&&"accent"!==o["ɵnov"](e,15).color&&"warn"!==o["ɵnov"](e,15).color),n(e,22,0,o["ɵnov"](e,23).inline,"primary"!==o["ɵnov"](e,23).color&&"accent"!==o["ɵnov"](e,23).color&&"warn"!==o["ɵnov"](e,23).color),n(e,30,0,o["ɵnov"](e,31).inline,"primary"!==o["ɵnov"](e,31).color&&"accent"!==o["ɵnov"](e,31).color&&"warn"!==o["ɵnov"](e,31).color)}))}function YZ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-project-map",[],null,null,null,XZ,FZ)),o["ɵdid"](1,245760,null,0,uZ,[rt,Dh,lb,ij,sj,tc,GG,EM,pZ,mM,fZ,WM,ZM,OH,mZ,YW,gZ,_Z,NM,MM,dj,_b,DM,wM,lN,pc,pO,bO,yZ,hc,av,vl,wZ,SZ,xZ,kZ,YM,TZ,IZ,yv,DZ,A_,bn],null,null)],(function(n,e){n(e,1,0)}),null)}var $Z=o["ɵccf"]("app-project-map",uZ,YZ,{},{},[]),QZ=function(){function n(n,e,t,l,o){this.consoleService=n,this.serverService=e,this.route=t,this.title=l,this.nodeService=o,this.term=new LG.Terminal,this.fitAddon=new VG.FitAddon}return n.prototype.ngOnInit=function(){var n=this;this.serverId=this.route.snapshot.paramMap.get("server_id"),this.projectId=this.route.snapshot.paramMap.get("project_id"),this.nodeId=this.route.snapshot.paramMap.get("node_id"),this.consoleService.consoleResized.subscribe((function(e){n.fitAddon.fit()})),this.serverService.get(+this.serverId).then((function(e){n.server=e,n.nodeService.getNodeById(n.server,n.projectId,n.nodeId).subscribe((function(e){n.node=e,n.title.setTitle(n.node.name),n.openTerminal()}))}))},n.prototype.openTerminal=function(){var n=this;setTimeout((function(){n.term.open(n.terminal.nativeElement);var e=new WebSocket(n.getUrl());e.onerror=function(e){n.term.write("Connection lost\r\n")},e.onclose=function(e){n.term.write("Connection closed\r\n")};var t=new jG.AttachAddon(e);n.term.loadAddon(t),n.term.setOption("cursorBlink",!0),n.term.loadAddon(n.fitAddon),n.fitAddon.activate(n.term),n.fitAddon.fit(),n.term.focus(),n.term.attachCustomKeyEventHandler((function(n){return"KeyC"!==n.code&&"KeyV"!==n.code||!n.ctrlKey}));var l=Math.round(window.innerWidth/n.consoleService.getLineWidth()),o=Math.round(window.innerHeight/n.consoleService.getLineHeight());n.term.resize(l,o)}),0)},n.prototype.getUrl=function(){return"ws://"+this.server.host+":"+this.server.port+"/v2/projects/"+this.projectId+"/nodes/"+this.nodeId+"/console/ws"},n}(),JZ=o["ɵcrt"]({encapsulation:2,styles:[qG],data:{}});function nK(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{terminal:0}),(n()(),o["ɵeld"](1,0,[[1,0],["terminal",1]],null,0,"div",[["id","terminal"],["style","width: 100%;height: 100%;"]],null,null,null,null,null))],null,null)}function eK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-web-console-full-window",[],null,null,null,nK,JZ)),o["ɵdid"](1,114688,null,0,QZ,[sV,Dh,rt,bn,ij],null,null)],(function(n,e){n(e,1,0)}),null)}var tK=o["ɵccf"]("app-web-console-full-window",QZ,eK,{},{},[]),lK=function(){return function(){}}(),oK=o["ɵcrt"]({encapsulation:0,styles:[["div[_ngcontent-%COMP%]{text-align:center}"]],data:{}});function iK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["404 Page not found"])),(n()(),o["ɵeld"](5,0,null,null,3,"button",[["mat-button",""],["routerLink","/servers"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,6).onClick()&&l),l}),ou,lu)),o["ɵdid"](6,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](7,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Navigate to homepage"]))],(function(n,e){n(e,6,0,"/servers")}),(function(n,e){n(e,5,0,o["ɵnov"](e,7).disabled||null,"NoopAnimations"===o["ɵnov"](e,7)._animationMode)}))}function rK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-page-not-found",[],null,null,null,iK,oK)),o["ɵdid"](1,49152,null,0,lK,[],null,null)],null,null)}var aK=o["ɵccf"]("app-page-not-found",lK,rK,{},{},[]),uK=o["ɵcrt"]({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function sK(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function dK(n){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{_portalOutlet:0}),(n()(),o["ɵand"](16777216,null,null,1,null,sK)),o["ɵdid"](2,212992,[[1,4]],0,gs,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],(function(n,e){n(e,2,0,"")}),null)}function cK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(n,e,t){var l=!0;return"component:@dialogContainer.start"===e&&(l=!1!==o["ɵnov"](n,1)._onAnimationStart(t)&&l),"component:@dialogContainer.done"===e&&(l=!1!==o["ɵnov"](n,1)._onAnimationDone(t)&&l),l}),dK,uK)),o["ɵdid"](1,49152,null,0,nv,[o.ElementRef,To,o.ChangeDetectorRef,[2,r.DOCUMENT],Qm],null,null)],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1)._id,o["ɵnov"](e,1)._config.role,o["ɵnov"](e,1)._config.ariaLabel?null:o["ɵnov"](e,1)._ariaLabelledBy,o["ɵnov"](e,1)._config.ariaLabel,o["ɵnov"](e,1)._config.ariaDescribedBy||null,o["ɵnov"](e,1)._state)}))}var pK=o["ɵccf"]("mat-dialog-container",nv,cK,{},{},[]),fK=function(){function n(n,e){var t=this;this._overlayRef=e,this._afterDismissed=new Mn.b,this._afterOpened=new Mn.b,this._onAction=new Mn.b,this._dismissedByAction=!1,this.containerInstance=n,this.onAction().subscribe((function(){return t.dismiss()})),n._onExit.subscribe((function(){return t._finishDismiss()}))}return n.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},n.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},n.prototype.closeWithAction=function(){this.dismissWithAction()},n.prototype._dismissAfter=function(n){var e=this;this._durationTimeoutId=setTimeout((function(){return e.dismiss()}),n)},n.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},n.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},n.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},n.prototype.afterOpened=function(){return this.containerInstance._onEnter},n.prototype.onAction=function(){return this._onAction.asObservable()},n}(),hK=new o.InjectionToken("MatSnackBarData"),mK=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),vK=function(){function n(n,e){this.snackBarRef=n,this.data=e}return n.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(n.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),n}(),gK=function(n){function e(e,t,l,o){var i=n.call(this)||this;return i._ngZone=e,i._elementRef=t,i._changeDetectorRef=l,i.snackBarConfig=o,i._destroyed=!1,i._onExit=new Mn.b,i._onEnter=new Mn.b,i._animationState="void",i._role="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?null:"status":"alert",i}return Object(i.c)(e,n),e.prototype.attachComponentPortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(n)},e.prototype.onAnimationEnd=function(n){var e=n.toState;if(("void"===e&&"void"!==n.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var t=this._onEnter;this._ngZone.run((function(){t.next(),t.complete()}))}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var n=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(Un.a)(1)).subscribe((function(){n._onExit.next(),n._onExit.complete()}))},e.prototype._applySnackBarClasses=function(){var n=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach((function(e){return n.classList.add(e)})):n.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&n.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&n.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(hs),bK=function(){return function(){}}(),_K=new o.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new mK}}),yK=function(){function n(n,e,t,l,o,i){this._overlay=n,this._live=e,this._injector=t,this._breakpointObserver=l,this._parentSnackBar=o,this._defaultConfig=i,this._snackBarRefAtThisLevel=null}return Object.defineProperty(n.prototype,"_openedSnackBarRef",{get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n},enumerable:!0,configurable:!0}),n.prototype.openFromComponent=function(n,e){return this._attach(n,e)},n.prototype.openFromTemplate=function(n,e){return this._attach(n,e)},n.prototype.open=function(n,e,t){void 0===e&&(e="");var l=Object(i.a)({},this._defaultConfig,t);return l.data={message:n,action:e},l.announcementMessage||(l.announcementMessage=n),this.openFromComponent(vK,l)},n.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},n.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},n.prototype._attachSnackBarContainer=function(n,e){var t=new _s(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[mK,e]])),l=new ps(gK,e.viewContainerRef,t),o=n.attach(l);return o.instance.snackBarConfig=e,o.instance},n.prototype._attach=function(n,e){var t=Object(i.a)({},new mK,this._defaultConfig,e),l=this._createOverlay(t),r=this._attachSnackBarContainer(l,t),a=new fK(r,l);if(n instanceof o.TemplateRef){var u=new fs(n,null,{$implicit:t.data,snackBarRef:a});a.instance=r.attachTemplatePortal(u)}else{var s=this._createInjector(t,a),d=(u=new ps(n,void 0,s),r.attachComponentPortal(u));a.instance=d.instance}return this._breakpointObserver.observe(Gd.HandsetPortrait).pipe(Object(ws.a)(l.detachments())).subscribe((function(n){var e=l.overlayElement.classList;n.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")})),this._animateSnackBar(a,t),this._openedSnackBarRef=a,this._openedSnackBarRef},n.prototype._animateSnackBar=function(n,e){var t=this;n.afterDismissed().subscribe((function(){t._openedSnackBarRef==n&&(t._openedSnackBarRef=null),e.announcementMessage&&t._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){n.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),e.duration&&e.duration>0&&n.afterOpened().subscribe((function(){return n._dismissAfter(e.duration)})),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},n.prototype._createOverlay=function(n){var e=new Gs;e.direction=n.direction;var t=this._overlay.position().global(),l="rtl"===n.direction,o="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!l||"end"===n.horizontalPosition&&l,i=!o&&"center"!==n.horizontalPosition;return o?t.left("0"):i?t.right("0"):t.centerHorizontally(),"top"===n.verticalPosition?t.top("0"):t.bottom("0"),e.positionStrategy=t,this._overlay.create(e)},n.prototype._createInjector=function(n,e){return new _s(n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,new WeakMap([[fK,e],[hK,n.data]]))},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(id),Object(o["ɵɵinject"])(Do),Object(o["ɵɵinject"])(o.INJECTOR),Object(o["ɵɵinject"])(Ud),Object(o["ɵɵinject"])(n,12),Object(o["ɵɵinject"])(_K))},token:n,providedIn:bK}),n}(),CK=o["ɵcrt"]({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function wK(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function SK(n){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{_portalOutlet:0}),(n()(),o["ɵand"](16777216,null,null,1,null,wK)),o["ɵdid"](2,212992,[[1,4]],0,gs,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],(function(n,e){n(e,2,0,"")}),null)}function xK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(n,e,t){var l=!0;return"component:@state.done"===e&&(l=!1!==o["ɵnov"](n,1).onAnimationEnd(t)&&l),l}),SK,CK)),o["ɵdid"](1,180224,null,0,gK,[o.NgZone,o.ElementRef,o.ChangeDetectorRef,mK],null,null)],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1)._role,o["ɵnov"](e,1)._animationState)}))}var kK=o["ɵccf"]("snack-bar-container",gK,xK,{},{},[]),EK=o["ɵcrt"]({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function TK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.action()&&l),l}),ou,lu)),o["ɵdid"](2,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](3,0,["",""]))],null,(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).disabled||null,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,t.data.action)}))}function RK(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""])),(n()(),o["ɵand"](16777216,null,null,1,null,TK)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){n(e,3,0,e.component.hasAction)}),(function(n,e){n(e,1,0,e.component.data.message)}))}function IK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,RK,EK)),o["ɵdid"](1,49152,null,0,vK,[fK,hK],null,null)],null,null)}var DK=o["ɵccf"]("simple-snack-bar",vK,IK,{},{},[]),FK=o["ɵcrt"]({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function OK(n){return o["ɵvid"](2,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(n,e,t){var l=!0,o=n.component;return"@state.start"===e&&(l=!1!==o._animationStart()&&l),"@state.done"===e&&(l=!1!==o._animationDone(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpid"](131072,r.AsyncPipe,[o.ChangeDetectorRef]),(n()(),o["ɵted"](4,null,["",""]))],(function(n,e){n(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(n,e){var t,l=e.component;n(e,0,0,null==(t=o["ɵunv"](e,0,0,o["ɵnov"](e,3).transform(l._isHandset)))?null:t.matches,l._visibility),n(e,4,0,l.message)}))}function MK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(n,e,t){var l=!0;return"body:click"===e&&(l=!1!==o["ɵnov"](n,1)._handleBodyInteraction()&&l),l}),OK,FK)),o["ɵdid"](1,180224,null,0,Qd,[o.ChangeDetectorRef,Ud],null,null)],null,(function(n,e){n(e,0,0,"visible"===o["ɵnov"](e,1)._visibility?1:null)}))}var NK=o["ɵccf"]("mat-tooltip-component",Qd,MK,{},{},[]),AK=o["ɵcrt"]({encapsulation:2,styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media (-ms-high-contrast:active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium,.mat-bottom-sheet-container-xlarge{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible => void, visible => hidden",animation:{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function PK(n){return o["ɵvid"](0,[(n()(),o["ɵand"](0,null,null,0))],null,null)}function qK(n){return o["ɵvid"](2,[o["ɵqud"](402653184,1,{_portalOutlet:0}),(n()(),o["ɵand"](16777216,null,null,1,null,PK)),o["ɵdid"](2,212992,[[1,4]],0,gs,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],(function(n,e){n(e,2,0,"")}),null)}function LK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"mat-bottom-sheet-container",[["aria-modal","true"],["class","mat-bottom-sheet-container"],["role","dialog"],["tabindex","-1"]],[[1,"aria-label",0],[40,"@state",0]],[["component","@state.start"],["component","@state.done"]],(function(n,e,t){var l=!0;return"component:@state.start"===e&&(l=!1!==o["ɵnov"](n,1)._onAnimationStart(t)&&l),"component:@state.done"===e&&(l=!1!==o["ɵnov"](n,1)._onAnimationDone(t)&&l),l}),qK,AK)),o["ɵdid"](1,180224,null,0,vv,[o.ElementRef,o.ChangeDetectorRef,To,Ud,[2,r.DOCUMENT],mv],null,null)],null,(function(n,e){n(e,0,0,null==o["ɵnov"](e,1).bottomSheetConfig?null:o["ɵnov"](e,1).bottomSheetConfig.ariaLabel,o["ɵnov"](e,1)._animationState)}))}var jK=o["ɵccf"]("mat-bottom-sheet-container",vv,LK,{},{},[]),VK=o["ɵcrt"]({encapsulation:2,styles:[],data:{}});function BK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["You must enter a value"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function HK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[19,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.key)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function UK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","Local server path"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,17)._onInput()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](14,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](16,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](17,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg])],(function(n,e){n(e,14,0,"path"),n(e,17,0,"Local server path")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,16).ngClassUntouched,o["ɵnov"](e,16).ngClassTouched,o["ɵnov"](e,16).ngClassPristine,o["ɵnov"](e,16).ngClassDirty,o["ɵnov"](e,16).ngClassValid,o["ɵnov"](e,16).ngClassInvalid,o["ɵnov"](e,16).ngClassPending,o["ɵnov"](e,17)._isServer,o["ɵnov"](e,17).id,o["ɵnov"](e,17).placeholder,o["ɵnov"](e,17).disabled,o["ɵnov"](e,17).required,o["ɵnov"](e,17).readonly&&!o["ɵnov"](e,17)._isNativeSelect||null,o["ɵnov"](e,17)._ariaDescribedby||null,o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).required.toString()])}))}function zK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ubridge_path"],["matInput",""],["placeholder","Ubridge path"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,17)._onInput()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](14,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](16,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](17,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[Lg])],(function(n,e){n(e,14,0,"ubridge_path"),n(e,17,0,"Ubridge path")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,16).ngClassUntouched,o["ɵnov"](e,16).ngClassTouched,o["ɵnov"](e,16).ngClassPristine,o["ɵnov"](e,16).ngClassDirty,o["ɵnov"](e,16).ngClassValid,o["ɵnov"](e,16).ngClassInvalid,o["ɵnov"](e,16).ngClassPending,o["ɵnov"](e,17)._isServer,o["ɵnov"](e,17).id,o["ɵnov"](e,17).placeholder,o["ɵnov"](e,17).disabled,o["ɵnov"](e,17).required,o["ɵnov"](e,17).readonly&&!o["ɵnov"](e,17)._isNativeSelect||null,o["ɵnov"](e,17)._ariaDescribedby||null,o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).required.toString()])}))}function GK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[67,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.key)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function WK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,58,{_controlNonStatic:0}),o["ɵqud"](335544320,59,{_controlStatic:0}),o["ɵqud"](603979776,60,{_labelChildNonStatic:0}),o["ɵqud"](335544320,61,{_labelChildStatic:0}),o["ɵqud"](603979776,62,{_placeholderChild:0}),o["ɵqud"](603979776,63,{_errorChildren:1}),o["ɵqud"](603979776,64,{_hintChildren:1}),o["ɵqud"](603979776,65,{_prefixChildren:1}),o["ɵqud"](603979776,66,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","authorization"],["placeholder","Authorization"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["ɵnov"](n,16)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,16)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,16)._onBlur()&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](13,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](15,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](16,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,67,{options:1}),o["ɵqud"](603979776,68,{optionGroups:1}),o["ɵqud"](603979776,69,{customTrigger:0}),o["ɵprd"](2048,[[58,4],[59,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,GK)),o["ɵdid"](22,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,13,0,"authorization"),n(e,16,0,"Authorization"),n(e,22,0,t.authorizations)}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,15).ngClassUntouched,o["ɵnov"](e,15).ngClassTouched,o["ɵnov"](e,15).ngClassPristine,o["ɵnov"](e,15).ngClassDirty,o["ɵnov"](e,15).ngClassValid,o["ɵnov"](e,15).ngClassInvalid,o["ɵnov"](e,15).ngClassPending,o["ɵnov"](e,16).id,o["ɵnov"](e,16).tabIndex,o["ɵnov"](e,16)._getAriaLabel(),o["ɵnov"](e,16)._getAriaLabelledby(),o["ɵnov"](e,16).required.toString(),o["ɵnov"](e,16).disabled.toString(),o["ɵnov"](e,16).errorState,o["ɵnov"](e,16).panelOpen?o["ɵnov"](e,16)._optionIds:null,o["ɵnov"](e,16).multiple,o["ɵnov"](e,16)._ariaDescribedby||null,o["ɵnov"](e,16)._getAriaActiveDescendant(),o["ɵnov"](e,16).disabled,o["ɵnov"](e,16).errorState,o["ɵnov"](e,16).required,o["ɵnov"](e,16).empty])}))}function ZK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,70,{_controlNonStatic:0}),o["ɵqud"](335544320,71,{_controlStatic:0}),o["ɵqud"](603979776,72,{_labelChildNonStatic:0}),o["ɵqud"](335544320,73,{_labelChildStatic:0}),o["ɵqud"](603979776,74,{_placeholderChild:0}),o["ɵqud"](603979776,75,{_errorChildren:1}),o["ɵqud"](603979776,76,{_hintChildren:1}),o["ɵqud"](603979776,77,{_prefixChildren:1}),o["ɵqud"](603979776,78,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","login"],["matInput",""],["placeholder","Login"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,17)._onInput()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](14,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](16,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](17,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[70,4],[71,4]],ag,null,[Lg])],(function(n,e){n(e,14,0,"login"),n(e,17,0,"Login")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,16).ngClassUntouched,o["ɵnov"](e,16).ngClassTouched,o["ɵnov"](e,16).ngClassPristine,o["ɵnov"](e,16).ngClassDirty,o["ɵnov"](e,16).ngClassValid,o["ɵnov"](e,16).ngClassInvalid,o["ɵnov"](e,16).ngClassPending,o["ɵnov"](e,17)._isServer,o["ɵnov"](e,17).id,o["ɵnov"](e,17).placeholder,o["ɵnov"](e,17).disabled,o["ɵnov"](e,17).required,o["ɵnov"](e,17).readonly&&!o["ɵnov"](e,17)._isNativeSelect||null,o["ɵnov"](e,17)._ariaDescribedby||null,o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).required.toString()])}))}function KK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,79,{_controlNonStatic:0}),o["ɵqud"](335544320,80,{_controlStatic:0}),o["ɵqud"](603979776,81,{_labelChildNonStatic:0}),o["ɵqud"](335544320,82,{_labelChildStatic:0}),o["ɵqud"](603979776,83,{_placeholderChild:0}),o["ɵqud"](603979776,84,{_errorChildren:1}),o["ɵqud"](603979776,85,{_hintChildren:1}),o["ɵqud"](603979776,86,{_prefixChildren:1}),o["ɵqud"](603979776,87,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","password"],["matInput",""],["placeholder","Password"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,17)._onInput()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](14,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](16,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](17,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[79,4],[80,4]],ag,null,[Lg])],(function(n,e){n(e,14,0,"password"),n(e,17,0,"Password")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,16).ngClassUntouched,o["ɵnov"](e,16).ngClassTouched,o["ɵnov"](e,16).ngClassPristine,o["ɵnov"](e,16).ngClassDirty,o["ɵnov"](e,16).ngClassValid,o["ɵnov"](e,16).ngClassInvalid,o["ɵnov"](e,16).ngClassPending,o["ɵnov"](e,17)._isServer,o["ɵnov"](e,17).id,o["ɵnov"](e,17).placeholder,o["ɵnov"](e,17).disabled,o["ɵnov"](e,17).required,o["ɵnov"](e,17).readonly&&!o["ɵnov"](e,17)._isNativeSelect||null,o["ɵnov"](e,17)._ariaDescribedby||null,o["ɵnov"](e,17).errorState,o["ɵnov"](e,17).required.toString()])}))}function XK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Add server"])),(n()(),o["ɵeld"](3,0,null,null,106,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,93,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["ɵdid"](9,16384,null,0,dv,[],null,null),(n()(),o["ɵeld"](10,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](11,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,22)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,27)._onInput()&&l),l}),null,null)),o["ɵdid"](22,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](24,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](26,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](27,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,5,1,null,BK)),o["ɵdid"](30,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](31,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](32,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](42,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","location"],["placeholder","Location"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["ɵnov"](n,47)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,47)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47)._onBlur()&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](44,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[8,null],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](46,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](47,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,19,{options:1}),o["ɵqud"](603979776,20,{optionGroups:1}),o["ɵqud"](603979776,21,{customTrigger:0}),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,HK)),o["ɵdid"](53,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,UK)),o["ɵdid"](55,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,zK)),o["ɵdid"](57,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](58,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](59,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,40,{_controlNonStatic:0}),o["ɵqud"](335544320,41,{_controlStatic:0}),o["ɵqud"](603979776,42,{_labelChildNonStatic:0}),o["ɵqud"](335544320,43,{_labelChildStatic:0}),o["ɵqud"](603979776,44,{_placeholderChild:0}),o["ɵqud"](603979776,45,{_errorChildren:1}),o["ɵqud"](603979776,46,{_hintChildren:1}),o["ɵqud"](603979776,47,{_prefixChildren:1}),o["ɵqud"](603979776,48,{_suffixChildren:1}),(n()(),o["ɵeld"](69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","host"],["matInput",""],["placeholder","Host"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,70)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,70).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,70)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,70)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,75)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,75)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,75)._onInput()&&l),l}),null,null)),o["ɵdid"](70,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](72,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](74,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](75,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[40,4],[41,4]],ag,null,[Lg]),(n()(),o["ɵeld"](77,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](78,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,49,{_controlNonStatic:0}),o["ɵqud"](335544320,50,{_controlStatic:0}),o["ɵqud"](603979776,51,{_labelChildNonStatic:0}),o["ɵqud"](335544320,52,{_labelChildStatic:0}),o["ɵqud"](603979776,53,{_placeholderChild:0}),o["ɵqud"](603979776,54,{_errorChildren:1}),o["ɵqud"](603979776,55,{_hintChildren:1}),o["ɵqud"](603979776,56,{_prefixChildren:1}),o["ɵqud"](603979776,57,{_suffixChildren:1}),(n()(),o["ɵeld"](88,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","port"],["matInput",""],["placeholder","Port"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,89)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,89).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,89)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,89)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,94)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,94)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,94)._onInput()&&l),l}),null,null)),o["ɵdid"](89,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](91,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](93,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](94,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[49,4],[50,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,null,1,null,WK)),o["ɵdid"](97,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,ZK)),o["ɵdid"](99,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,KK)),o["ɵdid"](101,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](102,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](103,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](104,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](105,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["No Thanks"])),(n()(),o["ɵeld"](107,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](108,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.serverForm),n(e,24,0,"name"),n(e,27,0,"Name"),n(e,30,0,t.serverForm.get("name").hasError("required")),n(e,44,0,"location"),n(e,47,0,"Location"),n(e,53,0,t.locations),n(e,55,0,"local"===t.serverForm.get("location").value),n(e,57,0,"local"===t.serverForm.get("location").value),n(e,72,0,"host"),n(e,75,0,"Host"),n(e,91,0,"port"),n(e,94,0,"Port"),n(e,97,0,"remote"===t.serverForm.get("location").value),n(e,99,0,"basic"===t.serverForm.get("authorization").value),n(e,101,0,"basic"===t.serverForm.get("authorization").value),n(e,105,0,"accent"),n(e,108,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,10,1,["standard"==o["ɵnov"](e,11).appearance,"fill"==o["ɵnov"](e,11).appearance,"outline"==o["ɵnov"](e,11).appearance,"legacy"==o["ɵnov"](e,11).appearance,o["ɵnov"](e,11)._control.errorState,o["ɵnov"](e,11)._canLabelFloat,o["ɵnov"](e,11)._shouldLabelFloat(),o["ɵnov"](e,11)._hasFloatingLabel(),o["ɵnov"](e,11)._hideControlPlaceholder(),o["ɵnov"](e,11)._control.disabled,o["ɵnov"](e,11)._control.autofilled,o["ɵnov"](e,11)._control.focused,"accent"==o["ɵnov"](e,11).color,"warn"==o["ɵnov"](e,11).color,o["ɵnov"](e,11)._shouldForward("untouched"),o["ɵnov"](e,11)._shouldForward("touched"),o["ɵnov"](e,11)._shouldForward("pristine"),o["ɵnov"](e,11)._shouldForward("dirty"),o["ɵnov"](e,11)._shouldForward("valid"),o["ɵnov"](e,11)._shouldForward("invalid"),o["ɵnov"](e,11)._shouldForward("pending"),!o["ɵnov"](e,11)._animationsEnabled]),n(e,21,1,[o["ɵnov"](e,26).ngClassUntouched,o["ɵnov"](e,26).ngClassTouched,o["ɵnov"](e,26).ngClassPristine,o["ɵnov"](e,26).ngClassDirty,o["ɵnov"](e,26).ngClassValid,o["ɵnov"](e,26).ngClassInvalid,o["ɵnov"](e,26).ngClassPending,o["ɵnov"](e,27)._isServer,o["ɵnov"](e,27).id,o["ɵnov"](e,27).placeholder,o["ɵnov"](e,27).disabled,o["ɵnov"](e,27).required,o["ɵnov"](e,27).readonly&&!o["ɵnov"](e,27)._isNativeSelect||null,o["ɵnov"](e,27)._ariaDescribedby||null,o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).required.toString()]),n(e,31,1,["standard"==o["ɵnov"](e,32).appearance,"fill"==o["ɵnov"](e,32).appearance,"outline"==o["ɵnov"](e,32).appearance,"legacy"==o["ɵnov"](e,32).appearance,o["ɵnov"](e,32)._control.errorState,o["ɵnov"](e,32)._canLabelFloat,o["ɵnov"](e,32)._shouldLabelFloat(),o["ɵnov"](e,32)._hasFloatingLabel(),o["ɵnov"](e,32)._hideControlPlaceholder(),o["ɵnov"](e,32)._control.disabled,o["ɵnov"](e,32)._control.autofilled,o["ɵnov"](e,32)._control.focused,"accent"==o["ɵnov"](e,32).color,"warn"==o["ɵnov"](e,32).color,o["ɵnov"](e,32)._shouldForward("untouched"),o["ɵnov"](e,32)._shouldForward("touched"),o["ɵnov"](e,32)._shouldForward("pristine"),o["ɵnov"](e,32)._shouldForward("dirty"),o["ɵnov"](e,32)._shouldForward("valid"),o["ɵnov"](e,32)._shouldForward("invalid"),o["ɵnov"](e,32)._shouldForward("pending"),!o["ɵnov"](e,32)._animationsEnabled]),n(e,42,1,[o["ɵnov"](e,46).ngClassUntouched,o["ɵnov"](e,46).ngClassTouched,o["ɵnov"](e,46).ngClassPristine,o["ɵnov"](e,46).ngClassDirty,o["ɵnov"](e,46).ngClassValid,o["ɵnov"](e,46).ngClassInvalid,o["ɵnov"](e,46).ngClassPending,o["ɵnov"](e,47).id,o["ɵnov"](e,47).tabIndex,o["ɵnov"](e,47)._getAriaLabel(),o["ɵnov"](e,47)._getAriaLabelledby(),o["ɵnov"](e,47).required.toString(),o["ɵnov"](e,47).disabled.toString(),o["ɵnov"](e,47).errorState,o["ɵnov"](e,47).panelOpen?o["ɵnov"](e,47)._optionIds:null,o["ɵnov"](e,47).multiple,o["ɵnov"](e,47)._ariaDescribedby||null,o["ɵnov"](e,47)._getAriaActiveDescendant(),o["ɵnov"](e,47).disabled,o["ɵnov"](e,47).errorState,o["ɵnov"](e,47).required,o["ɵnov"](e,47).empty]),n(e,58,1,["standard"==o["ɵnov"](e,59).appearance,"fill"==o["ɵnov"](e,59).appearance,"outline"==o["ɵnov"](e,59).appearance,"legacy"==o["ɵnov"](e,59).appearance,o["ɵnov"](e,59)._control.errorState,o["ɵnov"](e,59)._canLabelFloat,o["ɵnov"](e,59)._shouldLabelFloat(),o["ɵnov"](e,59)._hasFloatingLabel(),o["ɵnov"](e,59)._hideControlPlaceholder(),o["ɵnov"](e,59)._control.disabled,o["ɵnov"](e,59)._control.autofilled,o["ɵnov"](e,59)._control.focused,"accent"==o["ɵnov"](e,59).color,"warn"==o["ɵnov"](e,59).color,o["ɵnov"](e,59)._shouldForward("untouched"),o["ɵnov"](e,59)._shouldForward("touched"),o["ɵnov"](e,59)._shouldForward("pristine"),o["ɵnov"](e,59)._shouldForward("dirty"),o["ɵnov"](e,59)._shouldForward("valid"),o["ɵnov"](e,59)._shouldForward("invalid"),o["ɵnov"](e,59)._shouldForward("pending"),!o["ɵnov"](e,59)._animationsEnabled]),n(e,69,1,[o["ɵnov"](e,74).ngClassUntouched,o["ɵnov"](e,74).ngClassTouched,o["ɵnov"](e,74).ngClassPristine,o["ɵnov"](e,74).ngClassDirty,o["ɵnov"](e,74).ngClassValid,o["ɵnov"](e,74).ngClassInvalid,o["ɵnov"](e,74).ngClassPending,o["ɵnov"](e,75)._isServer,o["ɵnov"](e,75).id,o["ɵnov"](e,75).placeholder,o["ɵnov"](e,75).disabled,o["ɵnov"](e,75).required,o["ɵnov"](e,75).readonly&&!o["ɵnov"](e,75)._isNativeSelect||null,o["ɵnov"](e,75)._ariaDescribedby||null,o["ɵnov"](e,75).errorState,o["ɵnov"](e,75).required.toString()]),n(e,77,1,["standard"==o["ɵnov"](e,78).appearance,"fill"==o["ɵnov"](e,78).appearance,"outline"==o["ɵnov"](e,78).appearance,"legacy"==o["ɵnov"](e,78).appearance,o["ɵnov"](e,78)._control.errorState,o["ɵnov"](e,78)._canLabelFloat,o["ɵnov"](e,78)._shouldLabelFloat(),o["ɵnov"](e,78)._hasFloatingLabel(),o["ɵnov"](e,78)._hideControlPlaceholder(),o["ɵnov"](e,78)._control.disabled,o["ɵnov"](e,78)._control.autofilled,o["ɵnov"](e,78)._control.focused,"accent"==o["ɵnov"](e,78).color,"warn"==o["ɵnov"](e,78).color,o["ɵnov"](e,78)._shouldForward("untouched"),o["ɵnov"](e,78)._shouldForward("touched"),o["ɵnov"](e,78)._shouldForward("pristine"),o["ɵnov"](e,78)._shouldForward("dirty"),o["ɵnov"](e,78)._shouldForward("valid"),o["ɵnov"](e,78)._shouldForward("invalid"),o["ɵnov"](e,78)._shouldForward("pending"),!o["ɵnov"](e,78)._animationsEnabled]),n(e,88,1,[o["ɵnov"](e,93).ngClassUntouched,o["ɵnov"](e,93).ngClassTouched,o["ɵnov"](e,93).ngClassPristine,o["ɵnov"](e,93).ngClassDirty,o["ɵnov"](e,93).ngClassValid,o["ɵnov"](e,93).ngClassInvalid,o["ɵnov"](e,93).ngClassPending,o["ɵnov"](e,94)._isServer,o["ɵnov"](e,94).id,o["ɵnov"](e,94).placeholder,o["ɵnov"](e,94).disabled,o["ɵnov"](e,94).required,o["ɵnov"](e,94).readonly&&!o["ɵnov"](e,94)._isNativeSelect||null,o["ɵnov"](e,94)._ariaDescribedby||null,o["ɵnov"](e,94).errorState,o["ɵnov"](e,94).required.toString()]),n(e,104,0,o["ɵnov"](e,105).disabled||null,"NoopAnimations"===o["ɵnov"](e,105)._animationMode),n(e,107,0,o["ɵnov"](e,108).disabled||null,"NoopAnimations"===o["ɵnov"](e,108)._animationMode)}))}function YK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-add-server-dialog",[],null,null,null,XK,VK)),o["ɵdid"](1,114688,null,0,Km,[tv,sc,Dh,hc,lv],null,null)],(function(n,e){n(e,1,0)}),null)}var $K=o["ɵccf"]("app-add-server-dialog",Km,YK,{},{},[]),QK=o["ɵcrt"]({encapsulation:0,styles:[[".title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}.name-input[_ngcontent-%COMP%]{width:100%}.top-button[_ngcontent-%COMP%]{outline:0;box-shadow:none!important;background:0 0!important}button[_ngcontent-%COMP%]:focus{outline:0!important;border:0!important;box-shadow:none!important}"]],data:{}});function JK(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Create snapshot"])),(n()(),o["ɵeld"](4,0,null,null,3,"button",[["class","top-button"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,5).onClick()&&l),"click"===e&&(l=!1!==i.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](5,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](6,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Go to snapshots"])),(n()(),o["ɵeld"](8,0,null,null,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["ɵdid"](9,16384,null,0,dv,[],null,null),(n()(),o["ɵeld"](10,0,null,null,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,12).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,12).onReset()&&l),l}),null,null)),o["ɵdid"](11,16384,null,0,qm,[],null,null),o["ɵdid"](12,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](14,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](15,0,null,null,18,"mat-form-field",[["class","name-input mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](16,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","snapshotName"],["matInput",""],["placeholder","Name"],["tabindex","1"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,27)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,27)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,27)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,32)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,32)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,32)._onInput()&&l),l}),null,null)),o["ɵdid"](27,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](29,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](31,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](32,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](34,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](35,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](36,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](37,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["No Thanks"])),(n()(),o["ɵeld"](39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](40,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,5,0,o["ɵinlineInterpolate"](2,"/server/",t.server.id,"/project/",t.project.project_id,"/snapshots")),n(e,6,0,"accent"),n(e,12,0,t.inputForm),n(e,29,0,"snapshotName"),n(e,32,0,"Name"),n(e,37,0,"accent"),n(e,40,0,"primary")}),(function(n,e){n(e,1,0,o["ɵnov"](e,2).id),n(e,4,0,o["ɵnov"](e,6).disabled||null,"NoopAnimations"===o["ɵnov"](e,6)._animationMode),n(e,10,0,o["ɵnov"](e,14).ngClassUntouched,o["ɵnov"](e,14).ngClassTouched,o["ɵnov"](e,14).ngClassPristine,o["ɵnov"](e,14).ngClassDirty,o["ɵnov"](e,14).ngClassValid,o["ɵnov"](e,14).ngClassInvalid,o["ɵnov"](e,14).ngClassPending),n(e,15,1,["standard"==o["ɵnov"](e,16).appearance,"fill"==o["ɵnov"](e,16).appearance,"outline"==o["ɵnov"](e,16).appearance,"legacy"==o["ɵnov"](e,16).appearance,o["ɵnov"](e,16)._control.errorState,o["ɵnov"](e,16)._canLabelFloat,o["ɵnov"](e,16)._shouldLabelFloat(),o["ɵnov"](e,16)._hasFloatingLabel(),o["ɵnov"](e,16)._hideControlPlaceholder(),o["ɵnov"](e,16)._control.disabled,o["ɵnov"](e,16)._control.autofilled,o["ɵnov"](e,16)._control.focused,"accent"==o["ɵnov"](e,16).color,"warn"==o["ɵnov"](e,16).color,o["ɵnov"](e,16)._shouldForward("untouched"),o["ɵnov"](e,16)._shouldForward("touched"),o["ɵnov"](e,16)._shouldForward("pristine"),o["ɵnov"](e,16)._shouldForward("dirty"),o["ɵnov"](e,16)._shouldForward("valid"),o["ɵnov"](e,16)._shouldForward("invalid"),o["ɵnov"](e,16)._shouldForward("pending"),!o["ɵnov"](e,16)._animationsEnabled]),n(e,26,1,[o["ɵnov"](e,31).ngClassUntouched,o["ɵnov"](e,31).ngClassTouched,o["ɵnov"](e,31).ngClassPristine,o["ɵnov"](e,31).ngClassDirty,o["ɵnov"](e,31).ngClassValid,o["ɵnov"](e,31).ngClassInvalid,o["ɵnov"](e,31).ngClassPending,o["ɵnov"](e,32)._isServer,o["ɵnov"](e,32).id,o["ɵnov"](e,32).placeholder,o["ɵnov"](e,32).disabled,o["ɵnov"](e,32).required,o["ɵnov"](e,32).readonly&&!o["ɵnov"](e,32)._isNativeSelect||null,o["ɵnov"](e,32)._ariaDescribedby||null,o["ɵnov"](e,32).errorState,o["ɵnov"](e,32).required.toString()]),n(e,36,0,o["ɵnov"](e,37).disabled||null,"NoopAnimations"===o["ɵnov"](e,37)._animationMode),n(e,39,0,o["ɵnov"](e,40).disabled||null,"NoopAnimations"===o["ɵnov"](e,40)._animationMode)}))}function nX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-create-snapshot-dialog",[],null,null,null,JK,QK)),o["ɵdid"](1,49152,null,0,$L,[tv,Gm,hc,mC,NM,lv],null,null)],null,null)}var eX=o["ɵccf"]("app-create-snapshot-dialog",$L,nX,{},{},[]),tX=Bo(function(){return function(n){this._elementRef=n}}(),"primary"),lX=new o.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(r.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),oX=0,iX=function(n){function e(e,t,l,i){var r=n.call(this,e)||this;r._elementRef=e,r._ngZone=t,r._animationMode=l,r._isNoopAnimation=!1,r._value=0,r._bufferValue=0,r.animationEnd=new o.EventEmitter,r._animationEndSubscription=co.a.EMPTY,r.mode="determinate",r.progressbarId="mat-progress-bar-"+oX++;var a=i?i.getPathname().split("#")[0]:"";return r._rectangleFillValue="url('"+a+"#"+r.progressbarId+"')",r._isNoopAnimation="NoopAnimations"===l,r}return Object(i.c)(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this._value=rX(n||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(n){this._bufferValue=rX(n||0)},enumerable:!0,configurable:!0}),e.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},e.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},e.prototype.ngAfterViewInit=function(){var n=this;this._isNoopAnimation||this._ngZone.runOutsideAngular((function(){var e=n._primaryValueBar.nativeElement;n._animationEndSubscription=Object(xs.a)(e,"transitionend").pipe(Object(Wn.a)((function(n){return n.target===e}))).subscribe((function(){return n._ngZone.run((function(){return n._emitAnimationEnd()}))}))}))},e.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},e.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},e}(tX);function rX(n,e,t){return void 0===e&&(e=0),void 0===t&&(t=100),Math.max(e,Math.min(t,n))}var aX=function(){return function(){}}(),uX=o["ɵcrt"]({encapsulation:2,styles:[".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"],data:{}});function sX(n){return o["ɵvid"](2,[o["ɵqud"](671088640,1,{_primaryValueBar:0}),(n()(),o["ɵeld"](1,0,null,null,4,":svg:svg",[["class","mat-progress-bar-background mat-progress-bar-element"],["focusable","false"],["height","4"],["width","100%"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,1,":svg:pattern",[["height","4"],["patternUnits","userSpaceOnUse"],["width","8"],["x","4"],["y","0"]],[[8,"id",0]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](8,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["ɵeld"](9,0,[[1,0],["primaryValueBar",1]],null,2,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](11,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["ɵeld"](12,0,null,null,0,"div",[["class","mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null))],(function(n,e){var t=e.component;n(e,8,0,t._bufferTransform()),n(e,11,0,t._primaryTransform())}),(function(n,e){var t=e.component;n(e,3,0,t.progressbarId),n(e,5,0,t._rectangleFillValue)}))}var dX=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function cX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Operation in progress"])),(n()(),o["ɵeld"](3,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["ɵdid"](4,16384,null,0,dv,[],null,null),(n()(),o["ɵeld"](5,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["color","primary"],["mode","determinate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,sX,uX)),o["ɵdid"](6,4374528,null,0,iX,[o.ElementRef,o.NgZone,[2,nu],[2,lX]],{color:[0,"color"],value:[1,"value"],mode:[2,"mode"]},null),(n()(),o["ɵeld"](7,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](8,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](9,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,6,0,"primary",t.value,"determinate"),n(e,10,0,"accent")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,5,0,"indeterminate"===o["ɵnov"](e,6).mode||"query"===o["ɵnov"](e,6).mode?null:o["ɵnov"](e,6).value,o["ɵnov"](e,6).mode,o["ɵnov"](e,6)._isNoopAnimation),n(e,9,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode)}))}function pX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-progress-dialog",[],null,null,null,cX,dX)),o["ɵdid"](1,114688,null,0,fC,[tv,lv],null,null)],(function(n,e){n(e,1,0)}),null)}var fX=o["ɵccf"]("app-progress-dialog",fC,pX,{},{},[]),hX=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.filter((function(n){return n.name.toLowerCase().includes(e)}))):n:[]},n}(),mX=function(){function n(){}return n.prototype.get=function(n){return+n.value>=0?null:{negativeValue:!0}},n}(),vX=o["ɵcrt"]({encapsulation:0,styles:[[".header[_ngcontent-%COMP%]{min-height:64px;display:flex;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}.mat-table[_ngcontent-%COMP%]{height:200px;overflow:scroll}.mat-form-field[_ngcontent-%COMP%]{font-size:16px;flex-grow:1}.form-field[_ngcontent-%COMP%]{width:100%}div[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}h6[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px;color:#0097a7}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}"]],data:{}});function gX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[19,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function bX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[31,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function _X(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[43,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function yX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,8,"mat-select",[["class","mat-select"],["placeholder","Choose server for node"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,3)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,3)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,3)._onBlur()&&l),"valueChange"===e&&(l=!1!==(i.selectedTemplate.compute_id=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](3,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[8,null],[8,null],zC,Do],{placeholder:[0,"placeholder"],value:[1,"value"]},{valueChange:"valueChange"}),o["ɵqud"](603979776,43,{options:1}),o["ɵqud"](603979776,44,{optionGroups:1}),o["ɵqud"](603979776,45,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,_X)),o["ɵdid"](8,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,3,0,"Choose server for node",t.selectedTemplate.compute_id),n(e,8,0,t.nodeServers)}),(function(n,e){n(e,0,1,[o["ɵnov"](e,3).id,o["ɵnov"](e,3).tabIndex,o["ɵnov"](e,3)._getAriaLabel(),o["ɵnov"](e,3)._getAriaLabelledby(),o["ɵnov"](e,3).required.toString(),o["ɵnov"](e,3).disabled.toString(),o["ɵnov"](e,3).errorState,o["ɵnov"](e,3).panelOpen?o["ɵnov"](e,3)._optionIds:null,o["ɵnov"](e,3).multiple,o["ɵnov"](e,3)._ariaDescribedby||null,o["ɵnov"](e,3)._getAriaActiveDescendant(),o["ɵnov"](e,3).disabled,o["ɵnov"](e,3).errorState,o["ɵnov"](e,3).required,o["ɵnov"](e,3).empty])}))}function CX(n){return o["ɵvid"](0,[o["ɵpid"](0,hX,[]),(n()(),o["ɵeld"](1,0,null,null,7,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](3,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Add a node"])),(n()(),o["ɵeld"](5,0,null,null,3,"button",[["class","top-button"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0,i=n.component;return"click"===e&&(l=!1!==o["ɵnov"](n,6).onClick()&&l),"click"===e&&(l=!1!==i.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](6,16384,null,0,gl,[vl,rt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["ɵdid"](7,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Go to template preferences"])),(n()(),o["ɵeld"](9,0,null,null,153,"div",[["class","content mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["ɵdid"](10,16384,null,0,dv,[],null,null),(n()(),o["ɵeld"](11,0,null,null,2,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](12,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Template"])),(n()(),o["ɵeld"](14,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"],["floatPlaceholder","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](15,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](25,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by name"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,26)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,26).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,26)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,26)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,32)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,32)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,32)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.searchText=t)&&l),l}),null,null)),o["ɵdid"](26,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](28,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](29,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](31,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](32,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](34,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](35,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](45,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Filter templates by type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,51)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,51)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,51)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.filterTemplates(t)&&l),"ngModelChange"===e&&(l=!1!==(i.selectedType=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](47,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](48,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](50,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](51,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,19,{options:1}),o["ɵqud"](603979776,20,{optionGroups:1}),o["ɵqud"](603979776,21,{customTrigger:0}),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,gX)),o["ɵdid"](57,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](58,0,null,null,24,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](59,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](69,0,null,1,13,"mat-select",[["class","mat-select"],["placeholder","Choose template"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,75)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,75)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,75)._onBlur()&&l),"selectionChange"===e&&(l=!1!==i.chooseTemplate(t)&&l),"ngModelChange"===e&&(l=!1!==(i.selectedTemplate=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](71,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](72,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](74,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](75,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["ɵqud"](603979776,31,{options:1}),o["ɵqud"](603979776,32,{optionGroups:1}),o["ɵqud"](603979776,33,{customTrigger:0}),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,2,null,bX)),o["ɵdid"](81,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["ɵppd"](82,2),(n()(),o["ɵeld"](83,0,null,null,2,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](84,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Configuration"])),(n()(),o["ɵeld"](86,0,null,null,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,88).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,88).onReset()&&l),l}),null,null)),o["ɵdid"](87,16384,null,0,qm,[],null,null),o["ɵdid"](88,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](90,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](91,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](92,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,34,{_controlNonStatic:0}),o["ɵqud"](335544320,35,{_controlStatic:0}),o["ɵqud"](603979776,36,{_labelChildNonStatic:0}),o["ɵqud"](335544320,37,{_labelChildStatic:0}),o["ɵqud"](603979776,38,{_placeholderChild:0}),o["ɵqud"](603979776,39,{_errorChildren:1}),o["ɵqud"](603979776,40,{_hintChildren:1}),o["ɵqud"](603979776,41,{_prefixChildren:1}),o["ɵqud"](603979776,42,{_suffixChildren:1}),(n()(),o["ɵeld"](102,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfNodes"],["matInput",""],["placeholder","Enter number of nodes (default value is 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,103)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,103).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,103)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,103)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,104).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,104).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,104).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,109)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,109)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,109)._onInput()&&l),l}),null,null)),o["ɵdid"](103,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](104,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](106,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](108,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](109,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[34,4],[35,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,null,1,null,yX)),o["ɵdid"](112,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](113,0,null,null,2,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](114,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Position"])),(n()(),o["ɵeld"](116,0,null,null,46,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,118).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,118).onReset()&&l),l}),null,null)),o["ɵdid"](117,16384,null,0,qm,[],null,null),o["ɵdid"](118,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](120,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵted"](-1,null,[" Left: "])),(n()(),o["ɵeld"](122,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](123,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,46,{_controlNonStatic:0}),o["ɵqud"](335544320,47,{_controlStatic:0}),o["ɵqud"](603979776,48,{_labelChildNonStatic:0}),o["ɵqud"](335544320,49,{_labelChildStatic:0}),o["ɵqud"](603979776,50,{_placeholderChild:0}),o["ɵqud"](603979776,51,{_errorChildren:1}),o["ɵqud"](603979776,52,{_hintChildren:1}),o["ɵqud"](603979776,53,{_prefixChildren:1}),o["ɵqud"](603979776,54,{_suffixChildren:1}),(n()(),o["ɵeld"](133,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","left"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,134)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,134).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,134)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,134)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,135).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,135).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,135).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,140)._onInput()&&l),l}),null,null)),o["ɵdid"](134,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](135,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](137,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](139,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](140,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[46,4],[47,4]],ag,null,[Lg]),(n()(),o["ɵted"](-1,null,[" Top: "])),(n()(),o["ɵeld"](143,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](144,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,55,{_controlNonStatic:0}),o["ɵqud"](335544320,56,{_controlStatic:0}),o["ɵqud"](603979776,57,{_labelChildNonStatic:0}),o["ɵqud"](335544320,58,{_labelChildStatic:0}),o["ɵqud"](603979776,59,{_placeholderChild:0}),o["ɵqud"](603979776,60,{_errorChildren:1}),o["ɵqud"](603979776,61,{_hintChildren:1}),o["ɵqud"](603979776,62,{_prefixChildren:1}),o["ɵqud"](603979776,63,{_suffixChildren:1}),(n()(),o["ɵeld"](154,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","top"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,155)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,155).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,155)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,155)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,156).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,156).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,156).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,161)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,161)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,161)._onInput()&&l),l}),null,null)),o["ɵdid"](155,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](156,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](158,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](160,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](161,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[55,4],[56,4]],ag,null,[Lg]),(n()(),o["ɵeld"](163,0,null,null,7,"div",[["align","end"],["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](164,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](165,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](166,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Close"])),(n()(),o["ɵeld"](168,0,null,null,2,"button",[["class","addButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](169,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,3,0),n(e,6,0,o["ɵinlineInterpolate"](1,"/server/",t.server.id,"/preferences")),n(e,7,0,"accent");var l=t.searchText,i=n(e,29,0,!0);n(e,28,0,l,i),n(e,32,0,"Search by name");var r=t.selectedType,a=n(e,48,0,!0);n(e,47,0,r,a),n(e,51,0,"Filter templates by type"),n(e,57,0,t.templateTypes);var u=t.selectedTemplate,s=n(e,72,0,!0);n(e,71,0,u,s),n(e,75,0,"Choose template");var d=o["ɵunv"](e,81,0,n(e,82,0,o["ɵnov"](e,0),t.filteredTemplates,t.searchText));n(e,81,0,d),n(e,88,0,t.configurationForm),n(e,106,0,"numberOfNodes"),n(e,109,0,"Enter number of nodes (default value is 1)","number"),n(e,112,0,t.selectedTemplate),n(e,118,0,t.positionForm),n(e,137,0,"left"),n(e,140,0,"number"),n(e,158,0,"top"),n(e,161,0,"number"),n(e,166,0,"accent"),n(e,169,0,"primary")}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).id),n(e,5,0,o["ɵnov"](e,7).disabled||null,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,14,1,["standard"==o["ɵnov"](e,15).appearance,"fill"==o["ɵnov"](e,15).appearance,"outline"==o["ɵnov"](e,15).appearance,"legacy"==o["ɵnov"](e,15).appearance,o["ɵnov"](e,15)._control.errorState,o["ɵnov"](e,15)._canLabelFloat,o["ɵnov"](e,15)._shouldLabelFloat(),o["ɵnov"](e,15)._hasFloatingLabel(),o["ɵnov"](e,15)._hideControlPlaceholder(),o["ɵnov"](e,15)._control.disabled,o["ɵnov"](e,15)._control.autofilled,o["ɵnov"](e,15)._control.focused,"accent"==o["ɵnov"](e,15).color,"warn"==o["ɵnov"](e,15).color,o["ɵnov"](e,15)._shouldForward("untouched"),o["ɵnov"](e,15)._shouldForward("touched"),o["ɵnov"](e,15)._shouldForward("pristine"),o["ɵnov"](e,15)._shouldForward("dirty"),o["ɵnov"](e,15)._shouldForward("valid"),o["ɵnov"](e,15)._shouldForward("invalid"),o["ɵnov"](e,15)._shouldForward("pending"),!o["ɵnov"](e,15)._animationsEnabled]),n(e,25,1,[o["ɵnov"](e,31).ngClassUntouched,o["ɵnov"](e,31).ngClassTouched,o["ɵnov"](e,31).ngClassPristine,o["ɵnov"](e,31).ngClassDirty,o["ɵnov"](e,31).ngClassValid,o["ɵnov"](e,31).ngClassInvalid,o["ɵnov"](e,31).ngClassPending,o["ɵnov"](e,32)._isServer,o["ɵnov"](e,32).id,o["ɵnov"](e,32).placeholder,o["ɵnov"](e,32).disabled,o["ɵnov"](e,32).required,o["ɵnov"](e,32).readonly&&!o["ɵnov"](e,32)._isNativeSelect||null,o["ɵnov"](e,32)._ariaDescribedby||null,o["ɵnov"](e,32).errorState,o["ɵnov"](e,32).required.toString()]),n(e,34,1,["standard"==o["ɵnov"](e,35).appearance,"fill"==o["ɵnov"](e,35).appearance,"outline"==o["ɵnov"](e,35).appearance,"legacy"==o["ɵnov"](e,35).appearance,o["ɵnov"](e,35)._control.errorState,o["ɵnov"](e,35)._canLabelFloat,o["ɵnov"](e,35)._shouldLabelFloat(),o["ɵnov"](e,35)._hasFloatingLabel(),o["ɵnov"](e,35)._hideControlPlaceholder(),o["ɵnov"](e,35)._control.disabled,o["ɵnov"](e,35)._control.autofilled,o["ɵnov"](e,35)._control.focused,"accent"==o["ɵnov"](e,35).color,"warn"==o["ɵnov"](e,35).color,o["ɵnov"](e,35)._shouldForward("untouched"),o["ɵnov"](e,35)._shouldForward("touched"),o["ɵnov"](e,35)._shouldForward("pristine"),o["ɵnov"](e,35)._shouldForward("dirty"),o["ɵnov"](e,35)._shouldForward("valid"),o["ɵnov"](e,35)._shouldForward("invalid"),o["ɵnov"](e,35)._shouldForward("pending"),!o["ɵnov"](e,35)._animationsEnabled]),n(e,45,1,[o["ɵnov"](e,50).ngClassUntouched,o["ɵnov"](e,50).ngClassTouched,o["ɵnov"](e,50).ngClassPristine,o["ɵnov"](e,50).ngClassDirty,o["ɵnov"](e,50).ngClassValid,o["ɵnov"](e,50).ngClassInvalid,o["ɵnov"](e,50).ngClassPending,o["ɵnov"](e,51).id,o["ɵnov"](e,51).tabIndex,o["ɵnov"](e,51)._getAriaLabel(),o["ɵnov"](e,51)._getAriaLabelledby(),o["ɵnov"](e,51).required.toString(),o["ɵnov"](e,51).disabled.toString(),o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).panelOpen?o["ɵnov"](e,51)._optionIds:null,o["ɵnov"](e,51).multiple,o["ɵnov"](e,51)._ariaDescribedby||null,o["ɵnov"](e,51)._getAriaActiveDescendant(),o["ɵnov"](e,51).disabled,o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).required,o["ɵnov"](e,51).empty]),n(e,58,1,["standard"==o["ɵnov"](e,59).appearance,"fill"==o["ɵnov"](e,59).appearance,"outline"==o["ɵnov"](e,59).appearance,"legacy"==o["ɵnov"](e,59).appearance,o["ɵnov"](e,59)._control.errorState,o["ɵnov"](e,59)._canLabelFloat,o["ɵnov"](e,59)._shouldLabelFloat(),o["ɵnov"](e,59)._hasFloatingLabel(),o["ɵnov"](e,59)._hideControlPlaceholder(),o["ɵnov"](e,59)._control.disabled,o["ɵnov"](e,59)._control.autofilled,o["ɵnov"](e,59)._control.focused,"accent"==o["ɵnov"](e,59).color,"warn"==o["ɵnov"](e,59).color,o["ɵnov"](e,59)._shouldForward("untouched"),o["ɵnov"](e,59)._shouldForward("touched"),o["ɵnov"](e,59)._shouldForward("pristine"),o["ɵnov"](e,59)._shouldForward("dirty"),o["ɵnov"](e,59)._shouldForward("valid"),o["ɵnov"](e,59)._shouldForward("invalid"),o["ɵnov"](e,59)._shouldForward("pending"),!o["ɵnov"](e,59)._animationsEnabled]),n(e,69,1,[o["ɵnov"](e,74).ngClassUntouched,o["ɵnov"](e,74).ngClassTouched,o["ɵnov"](e,74).ngClassPristine,o["ɵnov"](e,74).ngClassDirty,o["ɵnov"](e,74).ngClassValid,o["ɵnov"](e,74).ngClassInvalid,o["ɵnov"](e,74).ngClassPending,o["ɵnov"](e,75).id,o["ɵnov"](e,75).tabIndex,o["ɵnov"](e,75)._getAriaLabel(),o["ɵnov"](e,75)._getAriaLabelledby(),o["ɵnov"](e,75).required.toString(),o["ɵnov"](e,75).disabled.toString(),o["ɵnov"](e,75).errorState,o["ɵnov"](e,75).panelOpen?o["ɵnov"](e,75)._optionIds:null,o["ɵnov"](e,75).multiple,o["ɵnov"](e,75)._ariaDescribedby||null,o["ɵnov"](e,75)._getAriaActiveDescendant(),o["ɵnov"](e,75).disabled,o["ɵnov"](e,75).errorState,o["ɵnov"](e,75).required,o["ɵnov"](e,75).empty]),n(e,86,0,o["ɵnov"](e,90).ngClassUntouched,o["ɵnov"](e,90).ngClassTouched,o["ɵnov"](e,90).ngClassPristine,o["ɵnov"](e,90).ngClassDirty,o["ɵnov"](e,90).ngClassValid,o["ɵnov"](e,90).ngClassInvalid,o["ɵnov"](e,90).ngClassPending),n(e,91,1,["standard"==o["ɵnov"](e,92).appearance,"fill"==o["ɵnov"](e,92).appearance,"outline"==o["ɵnov"](e,92).appearance,"legacy"==o["ɵnov"](e,92).appearance,o["ɵnov"](e,92)._control.errorState,o["ɵnov"](e,92)._canLabelFloat,o["ɵnov"](e,92)._shouldLabelFloat(),o["ɵnov"](e,92)._hasFloatingLabel(),o["ɵnov"](e,92)._hideControlPlaceholder(),o["ɵnov"](e,92)._control.disabled,o["ɵnov"](e,92)._control.autofilled,o["ɵnov"](e,92)._control.focused,"accent"==o["ɵnov"](e,92).color,"warn"==o["ɵnov"](e,92).color,o["ɵnov"](e,92)._shouldForward("untouched"),o["ɵnov"](e,92)._shouldForward("touched"),o["ɵnov"](e,92)._shouldForward("pristine"),o["ɵnov"](e,92)._shouldForward("dirty"),o["ɵnov"](e,92)._shouldForward("valid"),o["ɵnov"](e,92)._shouldForward("invalid"),o["ɵnov"](e,92)._shouldForward("pending"),!o["ɵnov"](e,92)._animationsEnabled]),n(e,102,1,[o["ɵnov"](e,108).ngClassUntouched,o["ɵnov"](e,108).ngClassTouched,o["ɵnov"](e,108).ngClassPristine,o["ɵnov"](e,108).ngClassDirty,o["ɵnov"](e,108).ngClassValid,o["ɵnov"](e,108).ngClassInvalid,o["ɵnov"](e,108).ngClassPending,o["ɵnov"](e,109)._isServer,o["ɵnov"](e,109).id,o["ɵnov"](e,109).placeholder,o["ɵnov"](e,109).disabled,o["ɵnov"](e,109).required,o["ɵnov"](e,109).readonly&&!o["ɵnov"](e,109)._isNativeSelect||null,o["ɵnov"](e,109)._ariaDescribedby||null,o["ɵnov"](e,109).errorState,o["ɵnov"](e,109).required.toString()]),n(e,116,0,o["ɵnov"](e,120).ngClassUntouched,o["ɵnov"](e,120).ngClassTouched,o["ɵnov"](e,120).ngClassPristine,o["ɵnov"](e,120).ngClassDirty,o["ɵnov"](e,120).ngClassValid,o["ɵnov"](e,120).ngClassInvalid,o["ɵnov"](e,120).ngClassPending),n(e,122,1,["standard"==o["ɵnov"](e,123).appearance,"fill"==o["ɵnov"](e,123).appearance,"outline"==o["ɵnov"](e,123).appearance,"legacy"==o["ɵnov"](e,123).appearance,o["ɵnov"](e,123)._control.errorState,o["ɵnov"](e,123)._canLabelFloat,o["ɵnov"](e,123)._shouldLabelFloat(),o["ɵnov"](e,123)._hasFloatingLabel(),o["ɵnov"](e,123)._hideControlPlaceholder(),o["ɵnov"](e,123)._control.disabled,o["ɵnov"](e,123)._control.autofilled,o["ɵnov"](e,123)._control.focused,"accent"==o["ɵnov"](e,123).color,"warn"==o["ɵnov"](e,123).color,o["ɵnov"](e,123)._shouldForward("untouched"),o["ɵnov"](e,123)._shouldForward("touched"),o["ɵnov"](e,123)._shouldForward("pristine"),o["ɵnov"](e,123)._shouldForward("dirty"),o["ɵnov"](e,123)._shouldForward("valid"),o["ɵnov"](e,123)._shouldForward("invalid"),o["ɵnov"](e,123)._shouldForward("pending"),!o["ɵnov"](e,123)._animationsEnabled]),n(e,133,1,[o["ɵnov"](e,139).ngClassUntouched,o["ɵnov"](e,139).ngClassTouched,o["ɵnov"](e,139).ngClassPristine,o["ɵnov"](e,139).ngClassDirty,o["ɵnov"](e,139).ngClassValid,o["ɵnov"](e,139).ngClassInvalid,o["ɵnov"](e,139).ngClassPending,o["ɵnov"](e,140)._isServer,o["ɵnov"](e,140).id,o["ɵnov"](e,140).placeholder,o["ɵnov"](e,140).disabled,o["ɵnov"](e,140).required,o["ɵnov"](e,140).readonly&&!o["ɵnov"](e,140)._isNativeSelect||null,o["ɵnov"](e,140)._ariaDescribedby||null,o["ɵnov"](e,140).errorState,o["ɵnov"](e,140).required.toString()]),n(e,143,1,["standard"==o["ɵnov"](e,144).appearance,"fill"==o["ɵnov"](e,144).appearance,"outline"==o["ɵnov"](e,144).appearance,"legacy"==o["ɵnov"](e,144).appearance,o["ɵnov"](e,144)._control.errorState,o["ɵnov"](e,144)._canLabelFloat,o["ɵnov"](e,144)._shouldLabelFloat(),o["ɵnov"](e,144)._hasFloatingLabel(),o["ɵnov"](e,144)._hideControlPlaceholder(),o["ɵnov"](e,144)._control.disabled,o["ɵnov"](e,144)._control.autofilled,o["ɵnov"](e,144)._control.focused,"accent"==o["ɵnov"](e,144).color,"warn"==o["ɵnov"](e,144).color,o["ɵnov"](e,144)._shouldForward("untouched"),o["ɵnov"](e,144)._shouldForward("touched"),o["ɵnov"](e,144)._shouldForward("pristine"),o["ɵnov"](e,144)._shouldForward("dirty"),o["ɵnov"](e,144)._shouldForward("valid"),o["ɵnov"](e,144)._shouldForward("invalid"),o["ɵnov"](e,144)._shouldForward("pending"),!o["ɵnov"](e,144)._animationsEnabled]),n(e,154,1,[o["ɵnov"](e,160).ngClassUntouched,o["ɵnov"](e,160).ngClassTouched,o["ɵnov"](e,160).ngClassPristine,o["ɵnov"](e,160).ngClassDirty,o["ɵnov"](e,160).ngClassValid,o["ɵnov"](e,160).ngClassInvalid,o["ɵnov"](e,160).ngClassPending,o["ɵnov"](e,161)._isServer,o["ɵnov"](e,161).id,o["ɵnov"](e,161).placeholder,o["ɵnov"](e,161).disabled,o["ɵnov"](e,161).required,o["ɵnov"](e,161).readonly&&!o["ɵnov"](e,161)._isNativeSelect||null,o["ɵnov"](e,161)._ariaDescribedby||null,o["ɵnov"](e,161).errorState,o["ɵnov"](e,161).required.toString()]),n(e,165,0,o["ɵnov"](e,166).disabled||null,"NoopAnimations"===o["ɵnov"](e,166)._animationMode),n(e,168,0,o["ɵnov"](e,169).disabled||null,"NoopAnimations"===o["ɵnov"](e,169)._animationMode)}))}function wX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-template-list-dialog",[],null,null,null,CX,vX)),o["ɵdid"](1,114688,null,0,VL,[tv,kw,Gm,lv,hc,mX],null,null)],(function(n,e){n(e,1,0)}),null)}var SX=o["ɵccf"]("app-template-list-dialog",VL,wX,{},{},[]),xX=function(){function n(){}return n.prototype.get=function(n){return new RegExp(/[~`!#$%\^&*+=\[\]\\';,/{}|\\":<>\?]/).test(n.value)?{invalidName:!0}:null},n}(),kX=o["ɵcrt"]({encapsulation:0,styles:[[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]],data:{}});function EX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is required"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function TX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is incorrect"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function RX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project with this name exists"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function IX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Create new project"])),(n()(),o["ɵeld"](3,0,null,null,40,"form",[["class","file-name-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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,27,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,28)._onInput()&&l),"keydown"===e&&(l=!1!==i.onKeyDown(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](21,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](22,{"is-invalid":0}),o["ɵdid"](23,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](25,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](27,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](28,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,5,1,null,EX)),o["ɵdid"](31,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,5,1,null,TX)),o["ɵdid"](33,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,5,1,null,RX)),o["ɵdid"](35,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](36,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](37,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](38,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](39,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](41,0,null,null,2,"button",[["class","add-project-button"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](42,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add project"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.projectNameForm);var l=n(e,22,0,null==t.form.projectName?null:t.form.projectName.errors);n(e,21,0,l),n(e,25,0,"projectName"),n(e,28,0,"Please enter name","text"),n(e,31,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.required)),n(e,33,0,(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.invalidName)),n(e,35,0,(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.projectExist)),n(e,39,0,"accent"),n(e,42,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,27).ngClassUntouched,o["ɵnov"](e,27).ngClassTouched,o["ɵnov"](e,27).ngClassPristine,o["ɵnov"](e,27).ngClassDirty,o["ɵnov"](e,27).ngClassValid,o["ɵnov"](e,27).ngClassInvalid,o["ɵnov"](e,27).ngClassPending,o["ɵnov"](e,28)._isServer,o["ɵnov"](e,28).id,o["ɵnov"](e,28).placeholder,o["ɵnov"](e,28).disabled,o["ɵnov"](e,28).required,o["ɵnov"](e,28).readonly&&!o["ɵnov"](e,28)._isNativeSelect||null,o["ɵnov"](e,28)._ariaDescribedby||null,o["ɵnov"](e,28).errorState,o["ɵnov"](e,28).required.toString()]),n(e,38,0,o["ɵnov"](e,39).disabled||null,"NoopAnimations"===o["ɵnov"](e,39)._animationMode),n(e,41,0,o["ɵnov"](e,42).disabled||null,"NoopAnimations"===o["ɵnov"](e,42)._animationMode)}))}function DX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"app-add-blank-project-dialog",[],null,null,null,IX,kX)),o["ɵprd"](512,null,xX,xX,[]),o["ɵdid"](2,114688,null,0,Yg,[tv,vl,av,lb,hc,Gm,xX],null,null)],(function(n,e){n(e,2,0)}),null)}var FX=o["ɵccf"]("app-add-blank-project-dialog",Yg,DX,{},{},[]),OX=o["ɵcrt"]({encapsulation:0,styles:[[".non-visible[_ngcontent-%COMP%]{display:none}.file-button[_ngcontent-%COMP%]{width:100%;margin-top:5px;margin-bottom:10px;padding:0}.file-name-form[_ngcontent-%COMP%]{float:right;width:100%}.file-name-form-field[_ngcontent-%COMP%]{width:90%}.empty[_ngcontent-%COMP%]{width:100%}.delete-button[_ngcontent-%COMP%]{background:0 0;border:none;outline:0;width:10%}.delete-icon[_ngcontent-%COMP%]{vertical-align:middle}.result-message-box[_ngcontent-%COMP%]{margin-top:10px;text-align:center}.progress-bar[_ngcontent-%COMP%]{background-color:#0097a7}"]],data:{}});function MX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is required"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function NX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is incorrect"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function AX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Import project"])),(n()(),o["ɵeld"](3,0,null,null,52,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,51,"form",[["class","file-name-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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,6).onReset()&&l),l}),null,null)),o["ɵdid"](5,16384,null,0,qm,[],null,null),o["ɵdid"](6,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](8,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](9,0,[["file",1]],null,1,"input",[["accept",".gns3project, .gns3p"],["class","non-visible"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0,i=n.component;return"change"===e&&(l=!1!==o["ɵnov"](n,10).onChange()&&l),"change"===e&&(l=!1!==i.uploadProjectFile(t)&&l),l}),null,null)),o["ɵdid"](10,16384,null,0,Gg,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["ɵeld"](11,16777216,null,null,3,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""],["matTooltip","Import your .gns3p or .gns3project file"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0;return"longpress"===e&&(l=!1!==o["ɵnov"](n,13).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,13)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,13)._handleTouchend()&&l),"click"===e&&(l=!1!==o["ɵnov"](n,9).click()&&l),l}),ou,lu)),o["ɵdid"](12,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),o["ɵdid"](13,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵted"](-1,0,["Choose file"])),(n()(),o["ɵeld"](15,0,null,null,28,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](17,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](18,{empty:0}),o["ɵdid"](19,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](29,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](31,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](32,{"is-invalid":0}),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,5,1,null,MX)),o["ɵdid"](41,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,5,1,null,NX)),o["ɵdid"](43,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](44,0,null,null,3,"button",[["class","delete-button"]],[[8,"hidden",0]],null,null,null,null)),(n()(),o["ɵeld"](45,0,null,null,2,"mat-icon",[["class","delete-icon mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onDeleteClick()&&l),l}),ss,us)),o["ɵdid"](46,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["clear"])),(n()(),o["ɵeld"](48,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](49,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](50,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](51,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](53,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onImportClick()&&l),l}),ou,lu)),o["ɵdid"](54,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["ɵted"](-1,0,[" Import "])),(n()(),o["ɵeld"](56,0,null,null,13,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["ɵeld"](57,0,null,null,4,"div",[["class","progress"]],null,null,null,null,null)),(n()(),o["ɵeld"](58,0,null,null,3,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgStyleImpl"],r["ɵNgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["ɵdid"](60,278528,null,0,r.NgStyle,[r["ɵNgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),o["ɵpod"](61,{width:0}),(n()(),o["ɵeld"](62,0,null,null,2,"div",[["class","result-message-box"]],null,null,null,null,null)),(n()(),o["ɵeld"](63,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](64,null,["",""])),(n()(),o["ɵeld"](65,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](66,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](67,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](68,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["ɵted"](-1,0,[" Finish "]))],(function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.projectNameForm),n(e,10,0,t.uploader),n(e,12,0,"primary"),n(e,13,0,"Import your .gns3p or .gns3project file");var l=n(e,18,0,!t.isDeleteVisible);n(e,17,0,"file-name-form-field",l);var o=n(e,32,0,t.form.projectName.errors);n(e,31,0,o),n(e,35,0,"projectName"),n(e,38,0,"Please enter name","text"),n(e,41,0,t.form.projectName.errors&&t.form.projectName.errors.required),n(e,43,0,t.form.projectName.errors&&t.form.projectName.errors.invalidName),n(e,46,0,"primary"),n(e,51,0,"accent"),n(e,54,0,!t.isImportEnabled,"primary");var i=n(e,61,0,t.uploader.progress+"%");n(e,60,0,i),n(e,68,0,!t.isFinishEnabled,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,3,0,t.isFirstStepCompleted),n(e,4,0,o["ɵnov"](e,8).ngClassUntouched,o["ɵnov"](e,8).ngClassTouched,o["ɵnov"](e,8).ngClassPristine,o["ɵnov"](e,8).ngClassDirty,o["ɵnov"](e,8).ngClassValid,o["ɵnov"](e,8).ngClassInvalid,o["ɵnov"](e,8).ngClassPending),n(e,11,0,o["ɵnov"](e,12).disabled||null,"NoopAnimations"===o["ɵnov"](e,12)._animationMode),n(e,15,1,["standard"==o["ɵnov"](e,19).appearance,"fill"==o["ɵnov"](e,19).appearance,"outline"==o["ɵnov"](e,19).appearance,"legacy"==o["ɵnov"](e,19).appearance,o["ɵnov"](e,19)._control.errorState,o["ɵnov"](e,19)._canLabelFloat,o["ɵnov"](e,19)._shouldLabelFloat(),o["ɵnov"](e,19)._hasFloatingLabel(),o["ɵnov"](e,19)._hideControlPlaceholder(),o["ɵnov"](e,19)._control.disabled,o["ɵnov"](e,19)._control.autofilled,o["ɵnov"](e,19)._control.focused,"accent"==o["ɵnov"](e,19).color,"warn"==o["ɵnov"](e,19).color,o["ɵnov"](e,19)._shouldForward("untouched"),o["ɵnov"](e,19)._shouldForward("touched"),o["ɵnov"](e,19)._shouldForward("pristine"),o["ɵnov"](e,19)._shouldForward("dirty"),o["ɵnov"](e,19)._shouldForward("valid"),o["ɵnov"](e,19)._shouldForward("invalid"),o["ɵnov"](e,19)._shouldForward("pending"),!o["ɵnov"](e,19)._animationsEnabled]),n(e,29,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,44,0,!t.isDeleteVisible),n(e,45,0,o["ɵnov"](e,46).inline,"primary"!==o["ɵnov"](e,46).color&&"accent"!==o["ɵnov"](e,46).color&&"warn"!==o["ɵnov"](e,46).color),n(e,50,0,o["ɵnov"](e,51).disabled||null,"NoopAnimations"===o["ɵnov"](e,51)._animationMode),n(e,53,0,o["ɵnov"](e,54).disabled||null,"NoopAnimations"===o["ɵnov"](e,54)._animationMode),n(e,56,0,!t.isFirstStepCompleted),n(e,64,0,t.resultMessage),n(e,67,0,o["ɵnov"](e,68).disabled||null,"NoopAnimations"===o["ɵnov"](e,68)._animationMode)}))}function PX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"app-import-project-dialog",[],null,null,null,AX,OX)),o["ɵprd"](512,null,xX,xX,[]),o["ɵdid"](2,114688,null,0,Xg,[av,tv,lv,Gm,lb,xX],null,null)],(function(n,e){n(e,2,0)}),null)}var qX=o["ɵccf"]("app-import-project-dialog",Xg,PX,{},{},[]),LX=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function jX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](2,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["No"])),(n()(),o["ɵeld"](5,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](6,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" Yes "]))],(function(n,e){n(e,3,0,"accent"),n(e,6,0,"primary")}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).disabled||null,"NoopAnimations"===o["ɵnov"](e,6)._animationMode)}))}function VX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](2,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Ok"]))],(function(n,e){n(e,3,0,"accent")}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode)}))}function BX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""])),(n()(),o["ɵand"](16777216,null,null,1,null,jX)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,VX)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,3,0,!t.isOpen),n(e,5,0,t.isOpen)}),(function(n,e){n(e,1,0,e.component.confirmationMessage)}))}function HX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-import-project-dialog",[],null,null,null,BX,LX)),o["ɵdid"](1,114688,null,0,Kg,[tv,lv],null,null)],(function(n,e){n(e,1,0)}),null)}var UX=o["ɵccf"]("app-import-project-dialog",Kg,HX,{},{},[]),zX=function(){function n(){}return n.prototype.convert=function(n){var e=new VM;return e.id=n.drawing_id,e.projectId=n.project_id,e.rotation=n.rotation,e.svg=n.svg,e.locked=n.locked,e.x=n.x,e.y=n.y,e.z=n.z,e},n}(),GX=function(){function n(){}return n.prototype.get=function(n){return+n.value>-360&&+n.value<=360?null:{negativeValue:!0}},n}(),WX=o["ɵcrt"]({encapsulation:0,styles:[[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-field[_ngcontent-%COMP%], .modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function ZX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,28,{_controlNonStatic:0}),o["ɵqud"](335544320,29,{_controlStatic:0}),o["ɵqud"](603979776,30,{_labelChildNonStatic:0}),o["ɵqud"](335544320,31,{_labelChildStatic:0}),o["ɵqud"](603979776,32,{_placeholderChild:0}),o["ɵqud"](603979776,33,{_errorChildren:1}),o["ɵqud"](603979776,34,{_hintChildren:1}),o["ɵqud"](603979776,35,{_prefixChildren:1}),o["ɵqud"](603979776,36,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Border style"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.element.stroke_dasharray=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](14,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](15,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[28,4],[29,4]],ag,null,[Lg])],(function(n,e){var t=e.component.element.stroke_dasharray,l=n(e,15,0,!0);n(e,14,0,t,l),n(e,18,0,"Border style","text")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function KX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Style editor"])),(n()(),o["ɵeld"](3,0,null,null,87,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,86,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,6).onReset()&&l),l}),null,null)),o["ɵdid"](5,16384,null,0,qm,[],null,null),o["ɵdid"](6,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](8,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](9,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](10,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](20,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Fill color"],["type","color"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,21)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,21).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,21)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,21)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,27)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.element.fill=t)&&l),l}),null,null)),o["ɵdid"](21,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](23,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](24,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](26,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](27,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](29,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](30,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](40,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Border color"],["type","color"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,41)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,41).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,41)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,41)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,47)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,47)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.element.stroke=t)&&l),l}),null,null)),o["ɵdid"](41,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](43,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](44,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](46,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](47,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[Lg]),(n()(),o["ɵeld"](49,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](50,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,19,{_controlNonStatic:0}),o["ɵqud"](335544320,20,{_controlStatic:0}),o["ɵqud"](603979776,21,{_labelChildNonStatic:0}),o["ɵqud"](335544320,22,{_labelChildStatic:0}),o["ɵqud"](603979776,23,{_placeholderChild:0}),o["ɵqud"](603979776,24,{_errorChildren:1}),o["ɵqud"](603979776,25,{_hintChildren:1}),o["ɵqud"](603979776,26,{_prefixChildren:1}),o["ɵqud"](603979776,27,{_suffixChildren:1}),(n()(),o["ɵeld"](60,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderWidth"],["matInput",""],["placeholder","Border width"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,61)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,61).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,61)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,61)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,62).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,62).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,62).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,67)._onInput()&&l),l}),null,null)),o["ɵdid"](61,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](62,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](64,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](66,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](67,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[19,4],[20,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,null,1,null,ZX)),o["ɵdid"](70,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](71,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](72,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,37,{_controlNonStatic:0}),o["ɵqud"](335544320,38,{_controlStatic:0}),o["ɵqud"](603979776,39,{_labelChildNonStatic:0}),o["ɵqud"](335544320,40,{_labelChildStatic:0}),o["ɵqud"](603979776,41,{_placeholderChild:0}),o["ɵqud"](603979776,42,{_errorChildren:1}),o["ɵqud"](603979776,43,{_hintChildren:1}),o["ɵqud"](603979776,44,{_prefixChildren:1}),o["ɵqud"](603979776,45,{_suffixChildren:1}),(n()(),o["ɵeld"](82,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rotation"],["matInput",""],["placeholder","Rotation"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,83)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,83).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,83)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,83)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,84).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,84).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,84).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,89)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,89)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,89)._onInput()&&l),l}),null,null)),o["ɵdid"](83,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](84,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](86,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](88,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](89,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[37,4],[38,4]],ag,null,[Lg]),(n()(),o["ɵeld"](91,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](92,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](93,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](94,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](96,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](97,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.formGroup);var l=t.element.fill,o=n(e,24,0,!0);n(e,23,0,l,o),n(e,27,0,"Fill color","color");var i=t.element.stroke,r=n(e,44,0,!0);n(e,43,0,i,r),n(e,47,0,"Border color","color"),n(e,64,0,"borderWidth"),n(e,67,0,"Border width","number"),n(e,70,0,t.element.stroke_dasharray),n(e,86,0,"rotation"),n(e,89,0,"Rotation","number"),n(e,94,0,"accent"),n(e,97,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,4,0,o["ɵnov"](e,8).ngClassUntouched,o["ɵnov"](e,8).ngClassTouched,o["ɵnov"](e,8).ngClassPristine,o["ɵnov"](e,8).ngClassDirty,o["ɵnov"](e,8).ngClassValid,o["ɵnov"](e,8).ngClassInvalid,o["ɵnov"](e,8).ngClassPending),n(e,9,1,["standard"==o["ɵnov"](e,10).appearance,"fill"==o["ɵnov"](e,10).appearance,"outline"==o["ɵnov"](e,10).appearance,"legacy"==o["ɵnov"](e,10).appearance,o["ɵnov"](e,10)._control.errorState,o["ɵnov"](e,10)._canLabelFloat,o["ɵnov"](e,10)._shouldLabelFloat(),o["ɵnov"](e,10)._hasFloatingLabel(),o["ɵnov"](e,10)._hideControlPlaceholder(),o["ɵnov"](e,10)._control.disabled,o["ɵnov"](e,10)._control.autofilled,o["ɵnov"](e,10)._control.focused,"accent"==o["ɵnov"](e,10).color,"warn"==o["ɵnov"](e,10).color,o["ɵnov"](e,10)._shouldForward("untouched"),o["ɵnov"](e,10)._shouldForward("touched"),o["ɵnov"](e,10)._shouldForward("pristine"),o["ɵnov"](e,10)._shouldForward("dirty"),o["ɵnov"](e,10)._shouldForward("valid"),o["ɵnov"](e,10)._shouldForward("invalid"),o["ɵnov"](e,10)._shouldForward("pending"),!o["ɵnov"](e,10)._animationsEnabled]),n(e,20,1,[o["ɵnov"](e,26).ngClassUntouched,o["ɵnov"](e,26).ngClassTouched,o["ɵnov"](e,26).ngClassPristine,o["ɵnov"](e,26).ngClassDirty,o["ɵnov"](e,26).ngClassValid,o["ɵnov"](e,26).ngClassInvalid,o["ɵnov"](e,26).ngClassPending,o["ɵnov"](e,27)._isServer,o["ɵnov"](e,27).id,o["ɵnov"](e,27).placeholder,o["ɵnov"](e,27).disabled,o["ɵnov"](e,27).required,o["ɵnov"](e,27).readonly&&!o["ɵnov"](e,27)._isNativeSelect||null,o["ɵnov"](e,27)._ariaDescribedby||null,o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).required.toString()]),n(e,29,1,["standard"==o["ɵnov"](e,30).appearance,"fill"==o["ɵnov"](e,30).appearance,"outline"==o["ɵnov"](e,30).appearance,"legacy"==o["ɵnov"](e,30).appearance,o["ɵnov"](e,30)._control.errorState,o["ɵnov"](e,30)._canLabelFloat,o["ɵnov"](e,30)._shouldLabelFloat(),o["ɵnov"](e,30)._hasFloatingLabel(),o["ɵnov"](e,30)._hideControlPlaceholder(),o["ɵnov"](e,30)._control.disabled,o["ɵnov"](e,30)._control.autofilled,o["ɵnov"](e,30)._control.focused,"accent"==o["ɵnov"](e,30).color,"warn"==o["ɵnov"](e,30).color,o["ɵnov"](e,30)._shouldForward("untouched"),o["ɵnov"](e,30)._shouldForward("touched"),o["ɵnov"](e,30)._shouldForward("pristine"),o["ɵnov"](e,30)._shouldForward("dirty"),o["ɵnov"](e,30)._shouldForward("valid"),o["ɵnov"](e,30)._shouldForward("invalid"),o["ɵnov"](e,30)._shouldForward("pending"),!o["ɵnov"](e,30)._animationsEnabled]),n(e,40,1,[o["ɵnov"](e,46).ngClassUntouched,o["ɵnov"](e,46).ngClassTouched,o["ɵnov"](e,46).ngClassPristine,o["ɵnov"](e,46).ngClassDirty,o["ɵnov"](e,46).ngClassValid,o["ɵnov"](e,46).ngClassInvalid,o["ɵnov"](e,46).ngClassPending,o["ɵnov"](e,47)._isServer,o["ɵnov"](e,47).id,o["ɵnov"](e,47).placeholder,o["ɵnov"](e,47).disabled,o["ɵnov"](e,47).required,o["ɵnov"](e,47).readonly&&!o["ɵnov"](e,47)._isNativeSelect||null,o["ɵnov"](e,47)._ariaDescribedby||null,o["ɵnov"](e,47).errorState,o["ɵnov"](e,47).required.toString()]),n(e,49,1,["standard"==o["ɵnov"](e,50).appearance,"fill"==o["ɵnov"](e,50).appearance,"outline"==o["ɵnov"](e,50).appearance,"legacy"==o["ɵnov"](e,50).appearance,o["ɵnov"](e,50)._control.errorState,o["ɵnov"](e,50)._canLabelFloat,o["ɵnov"](e,50)._shouldLabelFloat(),o["ɵnov"](e,50)._hasFloatingLabel(),o["ɵnov"](e,50)._hideControlPlaceholder(),o["ɵnov"](e,50)._control.disabled,o["ɵnov"](e,50)._control.autofilled,o["ɵnov"](e,50)._control.focused,"accent"==o["ɵnov"](e,50).color,"warn"==o["ɵnov"](e,50).color,o["ɵnov"](e,50)._shouldForward("untouched"),o["ɵnov"](e,50)._shouldForward("touched"),o["ɵnov"](e,50)._shouldForward("pristine"),o["ɵnov"](e,50)._shouldForward("dirty"),o["ɵnov"](e,50)._shouldForward("valid"),o["ɵnov"](e,50)._shouldForward("invalid"),o["ɵnov"](e,50)._shouldForward("pending"),!o["ɵnov"](e,50)._animationsEnabled]),n(e,60,1,[o["ɵnov"](e,66).ngClassUntouched,o["ɵnov"](e,66).ngClassTouched,o["ɵnov"](e,66).ngClassPristine,o["ɵnov"](e,66).ngClassDirty,o["ɵnov"](e,66).ngClassValid,o["ɵnov"](e,66).ngClassInvalid,o["ɵnov"](e,66).ngClassPending,o["ɵnov"](e,67)._isServer,o["ɵnov"](e,67).id,o["ɵnov"](e,67).placeholder,o["ɵnov"](e,67).disabled,o["ɵnov"](e,67).required,o["ɵnov"](e,67).readonly&&!o["ɵnov"](e,67)._isNativeSelect||null,o["ɵnov"](e,67)._ariaDescribedby||null,o["ɵnov"](e,67).errorState,o["ɵnov"](e,67).required.toString()]),n(e,71,1,["standard"==o["ɵnov"](e,72).appearance,"fill"==o["ɵnov"](e,72).appearance,"outline"==o["ɵnov"](e,72).appearance,"legacy"==o["ɵnov"](e,72).appearance,o["ɵnov"](e,72)._control.errorState,o["ɵnov"](e,72)._canLabelFloat,o["ɵnov"](e,72)._shouldLabelFloat(),o["ɵnov"](e,72)._hasFloatingLabel(),o["ɵnov"](e,72)._hideControlPlaceholder(),o["ɵnov"](e,72)._control.disabled,o["ɵnov"](e,72)._control.autofilled,o["ɵnov"](e,72)._control.focused,"accent"==o["ɵnov"](e,72).color,"warn"==o["ɵnov"](e,72).color,o["ɵnov"](e,72)._shouldForward("untouched"),o["ɵnov"](e,72)._shouldForward("touched"),o["ɵnov"](e,72)._shouldForward("pristine"),o["ɵnov"](e,72)._shouldForward("dirty"),o["ɵnov"](e,72)._shouldForward("valid"),o["ɵnov"](e,72)._shouldForward("invalid"),o["ɵnov"](e,72)._shouldForward("pending"),!o["ɵnov"](e,72)._animationsEnabled]),n(e,82,1,[o["ɵnov"](e,88).ngClassUntouched,o["ɵnov"](e,88).ngClassTouched,o["ɵnov"](e,88).ngClassPristine,o["ɵnov"](e,88).ngClassDirty,o["ɵnov"](e,88).ngClassValid,o["ɵnov"](e,88).ngClassInvalid,o["ɵnov"](e,88).ngClassPending,o["ɵnov"](e,89)._isServer,o["ɵnov"](e,89).id,o["ɵnov"](e,89).placeholder,o["ɵnov"](e,89).disabled,o["ɵnov"](e,89).required,o["ɵnov"](e,89).readonly&&!o["ɵnov"](e,89)._isNativeSelect||null,o["ɵnov"](e,89)._ariaDescribedby||null,o["ɵnov"](e,89).errorState,o["ɵnov"](e,89).required.toString()]),n(e,93,0,o["ɵnov"](e,94).disabled||null,"NoopAnimations"===o["ɵnov"](e,94)._animationMode),n(e,96,0,o["ɵnov"](e,97).disabled||null,"NoopAnimations"===o["ɵnov"](e,97)._animationMode)}))}function XX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-style-editor",[],null,null,null,KX,WX)),o["ɵdid"](1,114688,null,0,FV,[tv,zX,pj,sj,dj,Gm,hc,mX,GX],null,null)],(function(n,e){n(e,1,0)}),null)}var YX=o["ɵccf"]("app-style-editor",FV,XX,{},{},[]),$X=o["ɵcrt"]({encapsulation:0,styles:[[".spacer[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{height:260px}.item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-field[_ngcontent-%COMP%]{width:100%;margin-top:10px}.divider[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;flex:1 1 auto}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function QX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,141,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,23,"mat-tab",[["label","Frequency drop"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](8,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Frequency"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,19)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,19).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,19)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,19)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,20).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,20).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,20).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.frequency_drop[0]=t)&&l),l}),null,null)),o["ɵdid"](19,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](20,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](22,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](24,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](25,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](27,16777216,null,null,23,"mat-tab",[["label","Packet loss"]],null,null,null,PG,NG)),o["ɵdid"](28,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,13,{templateLabel:0}),o["ɵqud"](335544320,14,{_explicitContent:0}),(n()(),o["ɵeld"](31,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](32,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,15,{_controlNonStatic:0}),o["ɵqud"](335544320,16,{_controlStatic:0}),o["ɵqud"](603979776,17,{_labelChildNonStatic:0}),o["ɵqud"](335544320,18,{_labelChildStatic:0}),o["ɵqud"](603979776,19,{_placeholderChild:0}),o["ɵqud"](603979776,20,{_errorChildren:1}),o["ɵqud"](603979776,21,{_hintChildren:1}),o["ɵqud"](603979776,22,{_prefixChildren:1}),o["ɵqud"](603979776,23,{_suffixChildren:1}),(n()(),o["ɵeld"](42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Chance"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,43)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,43).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,43)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,43)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,44).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,44).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,49)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,49)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,49)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.packet_loss[0]=t)&&l),l}),null,null)),o["ɵdid"](43,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](44,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](46,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](48,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](49,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[15,4],[16,4]],ag,null,[Lg]),(n()(),o["ɵeld"](51,16777216,null,null,43,"mat-tab",[["label","Delay"]],null,null,null,PG,NG)),o["ɵdid"](52,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,24,{templateLabel:0}),o["ɵqud"](335544320,25,{_explicitContent:0}),(n()(),o["ɵeld"](55,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](56,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,26,{_controlNonStatic:0}),o["ɵqud"](335544320,27,{_controlStatic:0}),o["ɵqud"](603979776,28,{_labelChildNonStatic:0}),o["ɵqud"](335544320,29,{_labelChildStatic:0}),o["ɵqud"](603979776,30,{_placeholderChild:0}),o["ɵqud"](603979776,31,{_errorChildren:1}),o["ɵqud"](603979776,32,{_hintChildren:1}),o["ɵqud"](603979776,33,{_prefixChildren:1}),o["ɵqud"](603979776,34,{_suffixChildren:1}),(n()(),o["ɵeld"](66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latency"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,67)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,67).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,67)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,67)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,68).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,73)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.delay[0]=t)&&l),l}),null,null)),o["ɵdid"](67,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](68,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](70,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](72,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](73,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[26,4],[27,4]],ag,null,[Lg]),(n()(),o["ɵeld"](75,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](76,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,35,{_controlNonStatic:0}),o["ɵqud"](335544320,36,{_controlStatic:0}),o["ɵqud"](603979776,37,{_labelChildNonStatic:0}),o["ɵqud"](335544320,38,{_labelChildStatic:0}),o["ɵqud"](603979776,39,{_placeholderChild:0}),o["ɵqud"](603979776,40,{_errorChildren:1}),o["ɵqud"](603979776,41,{_hintChildren:1}),o["ɵqud"](603979776,42,{_prefixChildren:1}),o["ɵqud"](603979776,43,{_suffixChildren:1}),(n()(),o["ɵeld"](86,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Jitter"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,87)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,87).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,87)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,87)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,88).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,88).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,88).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,93)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,93)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,93)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.delay[1]=t)&&l),l}),null,null)),o["ɵdid"](87,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](88,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](90,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](92,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](93,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[35,4],[36,4]],ag,null,[Lg]),(n()(),o["ɵeld"](95,16777216,null,null,23,"mat-tab",[["label","Corrupt"]],null,null,null,PG,NG)),o["ɵdid"](96,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,44,{templateLabel:0}),o["ɵqud"](335544320,45,{_explicitContent:0}),(n()(),o["ɵeld"](99,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](100,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,46,{_controlNonStatic:0}),o["ɵqud"](335544320,47,{_controlStatic:0}),o["ɵqud"](603979776,48,{_labelChildNonStatic:0}),o["ɵqud"](335544320,49,{_labelChildStatic:0}),o["ɵqud"](603979776,50,{_placeholderChild:0}),o["ɵqud"](603979776,51,{_errorChildren:1}),o["ɵqud"](603979776,52,{_hintChildren:1}),o["ɵqud"](603979776,53,{_prefixChildren:1}),o["ɵqud"](603979776,54,{_suffixChildren:1}),(n()(),o["ɵeld"](110,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latency"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,111)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,111).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,111)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,111)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,112).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,112).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,112).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,117)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,117)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,117)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.corrupt[0]=t)&&l),l}),null,null)),o["ɵdid"](111,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](112,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](114,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](116,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](117,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[46,4],[47,4]],ag,null,[Lg]),(n()(),o["ɵeld"](119,16777216,null,null,22,"mat-tab",[["label","Berkeley Packet Filter (BPF)"]],null,null,null,PG,NG)),o["ɵdid"](120,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,55,{templateLabel:0}),o["ɵqud"](335544320,56,{_explicitContent:0}),(n()(),o["ɵeld"](123,0,null,0,18,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](124,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,57,{_controlNonStatic:0}),o["ɵqud"](335544320,58,{_controlStatic:0}),o["ɵqud"](603979776,59,{_labelChildNonStatic:0}),o["ɵqud"](335544320,60,{_labelChildStatic:0}),o["ɵqud"](603979776,61,{_placeholderChild:0}),o["ɵqud"](603979776,62,{_errorChildren:1}),o["ɵqud"](603979776,63,{_hintChildren:1}),o["ɵqud"](603979776,64,{_prefixChildren:1}),o["ɵqud"](603979776,65,{_suffixChildren:1}),(n()(),o["ɵeld"](134,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,135)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,135).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,135)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,135)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,140)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.filters.bpf[0]=t)&&l),l}),null,null)),o["ɵdid"](135,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](137,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](139,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](140,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[57,4],[58,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"Frequency drop"),n(e,22,0,t.filters.frequency_drop[0]),n(e,25,0,"Frequency","number"),n(e,28,0,"Packet loss"),n(e,46,0,t.filters.packet_loss[0]),n(e,49,0,"Chance","number"),n(e,52,0,"Delay"),n(e,70,0,t.filters.delay[0]),n(e,73,0,"Latency","number"),n(e,90,0,t.filters.delay[1]),n(e,93,0,"Jitter","number"),n(e,96,0,"Corrupt"),n(e,114,0,t.filters.corrupt[0]),n(e,117,0,"Latency","number"),n(e,120,0,"Berkeley Packet Filter (BPF)"),n(e,137,0,t.filters.bpf[0]),n(e,140,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,7,1,["standard"==o["ɵnov"](e,8).appearance,"fill"==o["ɵnov"](e,8).appearance,"outline"==o["ɵnov"](e,8).appearance,"legacy"==o["ɵnov"](e,8).appearance,o["ɵnov"](e,8)._control.errorState,o["ɵnov"](e,8)._canLabelFloat,o["ɵnov"](e,8)._shouldLabelFloat(),o["ɵnov"](e,8)._hasFloatingLabel(),o["ɵnov"](e,8)._hideControlPlaceholder(),o["ɵnov"](e,8)._control.disabled,o["ɵnov"](e,8)._control.autofilled,o["ɵnov"](e,8)._control.focused,"accent"==o["ɵnov"](e,8).color,"warn"==o["ɵnov"](e,8).color,o["ɵnov"](e,8)._shouldForward("untouched"),o["ɵnov"](e,8)._shouldForward("touched"),o["ɵnov"](e,8)._shouldForward("pristine"),o["ɵnov"](e,8)._shouldForward("dirty"),o["ɵnov"](e,8)._shouldForward("valid"),o["ɵnov"](e,8)._shouldForward("invalid"),o["ɵnov"](e,8)._shouldForward("pending"),!o["ɵnov"](e,8)._animationsEnabled]),n(e,18,1,[o["ɵnov"](e,24).ngClassUntouched,o["ɵnov"](e,24).ngClassTouched,o["ɵnov"](e,24).ngClassPristine,o["ɵnov"](e,24).ngClassDirty,o["ɵnov"](e,24).ngClassValid,o["ɵnov"](e,24).ngClassInvalid,o["ɵnov"](e,24).ngClassPending,o["ɵnov"](e,25)._isServer,o["ɵnov"](e,25).id,o["ɵnov"](e,25).placeholder,o["ɵnov"](e,25).disabled,o["ɵnov"](e,25).required,o["ɵnov"](e,25).readonly&&!o["ɵnov"](e,25)._isNativeSelect||null,o["ɵnov"](e,25)._ariaDescribedby||null,o["ɵnov"](e,25).errorState,o["ɵnov"](e,25).required.toString()]),n(e,31,1,["standard"==o["ɵnov"](e,32).appearance,"fill"==o["ɵnov"](e,32).appearance,"outline"==o["ɵnov"](e,32).appearance,"legacy"==o["ɵnov"](e,32).appearance,o["ɵnov"](e,32)._control.errorState,o["ɵnov"](e,32)._canLabelFloat,o["ɵnov"](e,32)._shouldLabelFloat(),o["ɵnov"](e,32)._hasFloatingLabel(),o["ɵnov"](e,32)._hideControlPlaceholder(),o["ɵnov"](e,32)._control.disabled,o["ɵnov"](e,32)._control.autofilled,o["ɵnov"](e,32)._control.focused,"accent"==o["ɵnov"](e,32).color,"warn"==o["ɵnov"](e,32).color,o["ɵnov"](e,32)._shouldForward("untouched"),o["ɵnov"](e,32)._shouldForward("touched"),o["ɵnov"](e,32)._shouldForward("pristine"),o["ɵnov"](e,32)._shouldForward("dirty"),o["ɵnov"](e,32)._shouldForward("valid"),o["ɵnov"](e,32)._shouldForward("invalid"),o["ɵnov"](e,32)._shouldForward("pending"),!o["ɵnov"](e,32)._animationsEnabled]),n(e,42,1,[o["ɵnov"](e,48).ngClassUntouched,o["ɵnov"](e,48).ngClassTouched,o["ɵnov"](e,48).ngClassPristine,o["ɵnov"](e,48).ngClassDirty,o["ɵnov"](e,48).ngClassValid,o["ɵnov"](e,48).ngClassInvalid,o["ɵnov"](e,48).ngClassPending,o["ɵnov"](e,49)._isServer,o["ɵnov"](e,49).id,o["ɵnov"](e,49).placeholder,o["ɵnov"](e,49).disabled,o["ɵnov"](e,49).required,o["ɵnov"](e,49).readonly&&!o["ɵnov"](e,49)._isNativeSelect||null,o["ɵnov"](e,49)._ariaDescribedby||null,o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).required.toString()]),n(e,55,1,["standard"==o["ɵnov"](e,56).appearance,"fill"==o["ɵnov"](e,56).appearance,"outline"==o["ɵnov"](e,56).appearance,"legacy"==o["ɵnov"](e,56).appearance,o["ɵnov"](e,56)._control.errorState,o["ɵnov"](e,56)._canLabelFloat,o["ɵnov"](e,56)._shouldLabelFloat(),o["ɵnov"](e,56)._hasFloatingLabel(),o["ɵnov"](e,56)._hideControlPlaceholder(),o["ɵnov"](e,56)._control.disabled,o["ɵnov"](e,56)._control.autofilled,o["ɵnov"](e,56)._control.focused,"accent"==o["ɵnov"](e,56).color,"warn"==o["ɵnov"](e,56).color,o["ɵnov"](e,56)._shouldForward("untouched"),o["ɵnov"](e,56)._shouldForward("touched"),o["ɵnov"](e,56)._shouldForward("pristine"),o["ɵnov"](e,56)._shouldForward("dirty"),o["ɵnov"](e,56)._shouldForward("valid"),o["ɵnov"](e,56)._shouldForward("invalid"),o["ɵnov"](e,56)._shouldForward("pending"),!o["ɵnov"](e,56)._animationsEnabled]),n(e,66,1,[o["ɵnov"](e,72).ngClassUntouched,o["ɵnov"](e,72).ngClassTouched,o["ɵnov"](e,72).ngClassPristine,o["ɵnov"](e,72).ngClassDirty,o["ɵnov"](e,72).ngClassValid,o["ɵnov"](e,72).ngClassInvalid,o["ɵnov"](e,72).ngClassPending,o["ɵnov"](e,73)._isServer,o["ɵnov"](e,73).id,o["ɵnov"](e,73).placeholder,o["ɵnov"](e,73).disabled,o["ɵnov"](e,73).required,o["ɵnov"](e,73).readonly&&!o["ɵnov"](e,73)._isNativeSelect||null,o["ɵnov"](e,73)._ariaDescribedby||null,o["ɵnov"](e,73).errorState,o["ɵnov"](e,73).required.toString()]),n(e,75,1,["standard"==o["ɵnov"](e,76).appearance,"fill"==o["ɵnov"](e,76).appearance,"outline"==o["ɵnov"](e,76).appearance,"legacy"==o["ɵnov"](e,76).appearance,o["ɵnov"](e,76)._control.errorState,o["ɵnov"](e,76)._canLabelFloat,o["ɵnov"](e,76)._shouldLabelFloat(),o["ɵnov"](e,76)._hasFloatingLabel(),o["ɵnov"](e,76)._hideControlPlaceholder(),o["ɵnov"](e,76)._control.disabled,o["ɵnov"](e,76)._control.autofilled,o["ɵnov"](e,76)._control.focused,"accent"==o["ɵnov"](e,76).color,"warn"==o["ɵnov"](e,76).color,o["ɵnov"](e,76)._shouldForward("untouched"),o["ɵnov"](e,76)._shouldForward("touched"),o["ɵnov"](e,76)._shouldForward("pristine"),o["ɵnov"](e,76)._shouldForward("dirty"),o["ɵnov"](e,76)._shouldForward("valid"),o["ɵnov"](e,76)._shouldForward("invalid"),o["ɵnov"](e,76)._shouldForward("pending"),!o["ɵnov"](e,76)._animationsEnabled]),n(e,86,1,[o["ɵnov"](e,92).ngClassUntouched,o["ɵnov"](e,92).ngClassTouched,o["ɵnov"](e,92).ngClassPristine,o["ɵnov"](e,92).ngClassDirty,o["ɵnov"](e,92).ngClassValid,o["ɵnov"](e,92).ngClassInvalid,o["ɵnov"](e,92).ngClassPending,o["ɵnov"](e,93)._isServer,o["ɵnov"](e,93).id,o["ɵnov"](e,93).placeholder,o["ɵnov"](e,93).disabled,o["ɵnov"](e,93).required,o["ɵnov"](e,93).readonly&&!o["ɵnov"](e,93)._isNativeSelect||null,o["ɵnov"](e,93)._ariaDescribedby||null,o["ɵnov"](e,93).errorState,o["ɵnov"](e,93).required.toString()]),n(e,99,1,["standard"==o["ɵnov"](e,100).appearance,"fill"==o["ɵnov"](e,100).appearance,"outline"==o["ɵnov"](e,100).appearance,"legacy"==o["ɵnov"](e,100).appearance,o["ɵnov"](e,100)._control.errorState,o["ɵnov"](e,100)._canLabelFloat,o["ɵnov"](e,100)._shouldLabelFloat(),o["ɵnov"](e,100)._hasFloatingLabel(),o["ɵnov"](e,100)._hideControlPlaceholder(),o["ɵnov"](e,100)._control.disabled,o["ɵnov"](e,100)._control.autofilled,o["ɵnov"](e,100)._control.focused,"accent"==o["ɵnov"](e,100).color,"warn"==o["ɵnov"](e,100).color,o["ɵnov"](e,100)._shouldForward("untouched"),o["ɵnov"](e,100)._shouldForward("touched"),o["ɵnov"](e,100)._shouldForward("pristine"),o["ɵnov"](e,100)._shouldForward("dirty"),o["ɵnov"](e,100)._shouldForward("valid"),o["ɵnov"](e,100)._shouldForward("invalid"),o["ɵnov"](e,100)._shouldForward("pending"),!o["ɵnov"](e,100)._animationsEnabled]),n(e,110,1,[o["ɵnov"](e,116).ngClassUntouched,o["ɵnov"](e,116).ngClassTouched,o["ɵnov"](e,116).ngClassPristine,o["ɵnov"](e,116).ngClassDirty,o["ɵnov"](e,116).ngClassValid,o["ɵnov"](e,116).ngClassInvalid,o["ɵnov"](e,116).ngClassPending,o["ɵnov"](e,117)._isServer,o["ɵnov"](e,117).id,o["ɵnov"](e,117).placeholder,o["ɵnov"](e,117).disabled,o["ɵnov"](e,117).required,o["ɵnov"](e,117).readonly&&!o["ɵnov"](e,117)._isNativeSelect||null,o["ɵnov"](e,117)._ariaDescribedby||null,o["ɵnov"](e,117).errorState,o["ɵnov"](e,117).required.toString()]),n(e,123,1,["standard"==o["ɵnov"](e,124).appearance,"fill"==o["ɵnov"](e,124).appearance,"outline"==o["ɵnov"](e,124).appearance,"legacy"==o["ɵnov"](e,124).appearance,o["ɵnov"](e,124)._control.errorState,o["ɵnov"](e,124)._canLabelFloat,o["ɵnov"](e,124)._shouldLabelFloat(),o["ɵnov"](e,124)._hasFloatingLabel(),o["ɵnov"](e,124)._hideControlPlaceholder(),o["ɵnov"](e,124)._control.disabled,o["ɵnov"](e,124)._control.autofilled,o["ɵnov"](e,124)._control.focused,"accent"==o["ɵnov"](e,124).color,"warn"==o["ɵnov"](e,124).color,o["ɵnov"](e,124)._shouldForward("untouched"),o["ɵnov"](e,124)._shouldForward("touched"),o["ɵnov"](e,124)._shouldForward("pristine"),o["ɵnov"](e,124)._shouldForward("dirty"),o["ɵnov"](e,124)._shouldForward("valid"),o["ɵnov"](e,124)._shouldForward("invalid"),o["ɵnov"](e,124)._shouldForward("pending"),!o["ɵnov"](e,124)._animationsEnabled]),n(e,134,1,[o["ɵnov"](e,139).ngClassUntouched,o["ɵnov"](e,139).ngClassTouched,o["ɵnov"](e,139).ngClassPristine,o["ɵnov"](e,139).ngClassDirty,o["ɵnov"](e,139).ngClassValid,o["ɵnov"](e,139).ngClassInvalid,o["ɵnov"](e,139).ngClassPending,o["ɵnov"](e,140)._isServer,o["ɵnov"](e,140).id,o["ɵnov"](e,140).placeholder,o["ɵnov"](e,140).disabled,o["ɵnov"](e,140).required,o["ɵnov"](e,140).readonly&&!o["ɵnov"](e,140)._isNativeSelect||null,o["ɵnov"](e,140)._ariaDescribedby||null,o["ɵnov"](e,140).errorState,o["ɵnov"](e,140).required.toString()])}))}function JX(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Packet filters"])),(n()(),o["ɵeld"](3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,QX)),o["ɵdid"](5,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](6,0,null,null,16,"div",[["class","bottom-bar"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,14,"div",[["class","dialog-actions mat-dialog-actions"],["layout","row"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](9,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onResetClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Reset"])),(n()(),o["ɵeld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](17,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"])),(n()(),o["ɵeld"](19,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(n()(),o["ɵeld"](20,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onHelpClick()&&l),l}),ou,lu)),o["ɵdid"](21,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Help"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.filters),n(e,11,0,"accent"),n(e,14,0,"accent"),n(e,17,0,"primary"),n(e,21,0,"accent")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,16,0,o["ɵnov"](e,17).disabled||null,"NoopAnimations"===o["ɵnov"](e,17)._animationMode),n(e,20,0,o["ɵnov"](e,21).disabled||null,"NoopAnimations"===o["ɵnov"](e,21)._animationMode)}))}function nY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-packet-filters",[],null,null,null,JX,$X)),o["ɵdid"](1,114688,null,0,xB,[tv,FM,av],null,null)],(function(n,e){n(e,1,0)}),null)}var eY=o["ɵccf"]("app-packet-filters",xB,nY,{},{},[]),tY=o["ɵcrt"]({encapsulation:0,styles:[[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.text[_ngcontent-%COMP%]{width:100%;height:150px}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-field[_ngcontent-%COMP%], .modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function lY(n){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{textArea:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Text editor"])),(n()(),o["ɵeld"](4,0,null,null,49,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](6,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Fill color"],["type","color"]],[[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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,17)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,17).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,17)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,17)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,22)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,22)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,22)._onInput()&&l),"ngModelChange"===e&&(l=!1!==i.changeTextColor(t)&&l),"ngModelChange"===e&&(l=!1!==(i.element.fill=t)&&l),l}),null,null)),o["ɵdid"](17,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](19,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](21,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](22,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](24,0,null,null,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,26).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,26).onReset()&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,qm,[],null,null),o["ɵdid"](26,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](28,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](29,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](30,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,11,{_controlNonStatic:0}),o["ɵqud"](335544320,12,{_controlStatic:0}),o["ɵqud"](603979776,13,{_labelChildNonStatic:0}),o["ɵqud"](335544320,14,{_labelChildStatic:0}),o["ɵqud"](603979776,15,{_placeholderChild:0}),o["ɵqud"](603979776,16,{_errorChildren:1}),o["ɵqud"](603979776,17,{_hintChildren:1}),o["ɵqud"](603979776,18,{_prefixChildren:1}),o["ɵqud"](603979776,19,{_suffixChildren:1}),(n()(),o["ɵeld"](40,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rotation"],["matInput",""],["placeholder","Rotation"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,41)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,41).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,41)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,41)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,46)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,46)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,46)._onInput()&&l),l}),null,null)),o["ɵdid"](41,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](43,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](45,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](46,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[11,4],[12,4]],ag,null,[Lg]),(n()(),o["ɵeld"](48,0,[[1,0],["textArea",1]],null,5,"textarea",[["class","text"],["id","textArea"]],[[8,"readOnly",0],[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,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,49)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,49).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,49)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,49)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(i.element.text=t)&&l),l}),null,null)),o["ɵdid"](49,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](51,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](53,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵeld"](54,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](55,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](56,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](57,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](59,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](60,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,19,0,t.element.fill),n(e,22,0,"Fill color","color"),n(e,26,0,t.formGroup),n(e,43,0,"rotation"),n(e,46,0,"Rotation","text"),n(e,51,0,t.element.text),n(e,57,0,"accent"),n(e,60,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,5,1,["standard"==o["ɵnov"](e,6).appearance,"fill"==o["ɵnov"](e,6).appearance,"outline"==o["ɵnov"](e,6).appearance,"legacy"==o["ɵnov"](e,6).appearance,o["ɵnov"](e,6)._control.errorState,o["ɵnov"](e,6)._canLabelFloat,o["ɵnov"](e,6)._shouldLabelFloat(),o["ɵnov"](e,6)._hasFloatingLabel(),o["ɵnov"](e,6)._hideControlPlaceholder(),o["ɵnov"](e,6)._control.disabled,o["ɵnov"](e,6)._control.autofilled,o["ɵnov"](e,6)._control.focused,"accent"==o["ɵnov"](e,6).color,"warn"==o["ɵnov"](e,6).color,o["ɵnov"](e,6)._shouldForward("untouched"),o["ɵnov"](e,6)._shouldForward("touched"),o["ɵnov"](e,6)._shouldForward("pristine"),o["ɵnov"](e,6)._shouldForward("dirty"),o["ɵnov"](e,6)._shouldForward("valid"),o["ɵnov"](e,6)._shouldForward("invalid"),o["ɵnov"](e,6)._shouldForward("pending"),!o["ɵnov"](e,6)._animationsEnabled]),n(e,16,1,[o["ɵnov"](e,21).ngClassUntouched,o["ɵnov"](e,21).ngClassTouched,o["ɵnov"](e,21).ngClassPristine,o["ɵnov"](e,21).ngClassDirty,o["ɵnov"](e,21).ngClassValid,o["ɵnov"](e,21).ngClassInvalid,o["ɵnov"](e,21).ngClassPending,o["ɵnov"](e,22)._isServer,o["ɵnov"](e,22).id,o["ɵnov"](e,22).placeholder,o["ɵnov"](e,22).disabled,o["ɵnov"](e,22).required,o["ɵnov"](e,22).readonly&&!o["ɵnov"](e,22)._isNativeSelect||null,o["ɵnov"](e,22)._ariaDescribedby||null,o["ɵnov"](e,22).errorState,o["ɵnov"](e,22).required.toString()]),n(e,24,0,o["ɵnov"](e,28).ngClassUntouched,o["ɵnov"](e,28).ngClassTouched,o["ɵnov"](e,28).ngClassPristine,o["ɵnov"](e,28).ngClassDirty,o["ɵnov"](e,28).ngClassValid,o["ɵnov"](e,28).ngClassInvalid,o["ɵnov"](e,28).ngClassPending),n(e,29,1,["standard"==o["ɵnov"](e,30).appearance,"fill"==o["ɵnov"](e,30).appearance,"outline"==o["ɵnov"](e,30).appearance,"legacy"==o["ɵnov"](e,30).appearance,o["ɵnov"](e,30)._control.errorState,o["ɵnov"](e,30)._canLabelFloat,o["ɵnov"](e,30)._shouldLabelFloat(),o["ɵnov"](e,30)._hasFloatingLabel(),o["ɵnov"](e,30)._hideControlPlaceholder(),o["ɵnov"](e,30)._control.disabled,o["ɵnov"](e,30)._control.autofilled,o["ɵnov"](e,30)._control.focused,"accent"==o["ɵnov"](e,30).color,"warn"==o["ɵnov"](e,30).color,o["ɵnov"](e,30)._shouldForward("untouched"),o["ɵnov"](e,30)._shouldForward("touched"),o["ɵnov"](e,30)._shouldForward("pristine"),o["ɵnov"](e,30)._shouldForward("dirty"),o["ɵnov"](e,30)._shouldForward("valid"),o["ɵnov"](e,30)._shouldForward("invalid"),o["ɵnov"](e,30)._shouldForward("pending"),!o["ɵnov"](e,30)._animationsEnabled]),n(e,40,1,[o["ɵnov"](e,45).ngClassUntouched,o["ɵnov"](e,45).ngClassTouched,o["ɵnov"](e,45).ngClassPristine,o["ɵnov"](e,45).ngClassDirty,o["ɵnov"](e,45).ngClassValid,o["ɵnov"](e,45).ngClassInvalid,o["ɵnov"](e,45).ngClassPending,o["ɵnov"](e,46)._isServer,o["ɵnov"](e,46).id,o["ɵnov"](e,46).placeholder,o["ɵnov"](e,46).disabled,o["ɵnov"](e,46).required,o["ɵnov"](e,46).readonly&&!o["ɵnov"](e,46)._isNativeSelect||null,o["ɵnov"](e,46)._ariaDescribedby||null,o["ɵnov"](e,46).errorState,o["ɵnov"](e,46).required.toString()]),n(e,48,0,!t.isTextEditable,o["ɵnov"](e,53).ngClassUntouched,o["ɵnov"](e,53).ngClassTouched,o["ɵnov"](e,53).ngClassPristine,o["ɵnov"](e,53).ngClassDirty,o["ɵnov"](e,53).ngClassValid,o["ɵnov"](e,53).ngClassInvalid,o["ɵnov"](e,53).ngClassPending),n(e,56,0,o["ɵnov"](e,57).disabled||null,"NoopAnimations"===o["ɵnov"](e,57)._animationMode),n(e,59,0,o["ɵnov"](e,60).disabled||null,"NoopAnimations"===o["ɵnov"](e,60)._animationMode)}))}function oY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-text-editor",[],null,null,null,lY,tY)),o["ɵdid"](1,114688,null,0,qV,[tv,zX,pj,sj,dj,o.Renderer2,ij,NM,FM,MM,Gm,hc,GX,PM],null,null)],(function(n,e){n(e,1,0)}),null)}var iY=o["ɵccf"]("app-text-editor",qV,oY,{},{},[]),rY=o["ɵcrt"]({encapsulation:0,styles:[[".dialogcontainer[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]],data:{}});function aY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,15,"div",[["class","dialogcontainer"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Delete template"])),(n()(),o["ɵeld"](4,0,null,null,2,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["ɵdid"](5,16384,null,0,dv,[],null,null),(n()(),o["ɵted"](6,null,["Are you sure you want to delete template ","?"])),(n()(),o["ɵeld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](9,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" No "])),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" Yes "]))],(function(n,e){n(e,2,0),n(e,11,0,"accent"),n(e,14,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,6,0,t.templateName),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode)}))}function uY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-delete-confirmation-dialog",[],null,null,null,aY,rY)),o["ɵdid"](1,114688,null,0,Sw,[tv,lv],null,null)],(function(n,e){n(e,1,0)}),null)}var sY=o["ɵccf"]("app-delete-confirmation-dialog",Sw,uY,{},{},[]),dY=o["ɵcrt"]({encapsulation:0,styles:[[".message[_ngcontent-%COMP%]{margin-bottom:10px}.description[_ngcontent-%COMP%]{color:#b0bec5}"]],data:{}});function cY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","message"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](2,null,[" "," "])),(n()(),o["ɵeld"](3,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(n()(),o["ɵted"](4,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.name),n(e,4,0,e.context.$implicit.description)}))}function pY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,2,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,cY)),o["ɵdid"](5,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](6,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](7,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](8,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l}),ou,lu)),o["ɵdid"](9,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Close"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.messages),n(e,9,0,"accent")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.title),n(e,8,0,o["ɵnov"](e,9).disabled||null,"NoopAnimations"===o["ɵnov"](e,9)._animationMode)}))}function fY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-help-dialog",[],null,null,null,pY,dY)),o["ɵdid"](1,49152,null,0,SB,[tv],null,null)],null,null)}var hY=o["ɵccf"]("app-help-dialog",SB,fY,{title:"title",messages:"messages"},{},[]),mY=o["ɵcrt"]({encapsulation:0,styles:[[".input-field[_ngcontent-%COMP%]{width:100%}"]],data:{}});function vY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[10,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function gY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Packet capture"])),(n()(),o["ɵeld"](3,0,null,null,57,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,56,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,6).onReset()&&l),l}),null,null)),o["ɵdid"](5,16384,null,0,qm,[],null,null),o["ɵdid"](6,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](8,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](9,0,null,null,24,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](10,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](20,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","linkType"],["ngDefaultControl",""],["placeholder","Link type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"keydown"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,22)._compositionEnd(t.target.value)&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,27)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,27)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,27)._onBlur()&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](22,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](24,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](26,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](27,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,10,{options:1}),o["ɵqud"](603979776,11,{optionGroups:1}),o["ɵqud"](603979776,12,{customTrigger:0}),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,vY)),o["ɵdid"](33,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](34,0,null,null,18,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](35,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fileName"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,46)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,46).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,46)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,46)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,51)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,51)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,51)._onInput()&&l),l}),null,null)),o["ɵdid"](46,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](48,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](50,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](51,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](53,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.startProgram=t)&&l),l}),O_,F_)),o["ɵdid"](54,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](56,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](57,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](59,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start the capture visualization program "])),(n()(),o["ɵeld"](61,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](62,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](63,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](64,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](66,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](67,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Ok"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.inputForm),n(e,24,0,"linkType"),n(e,27,0,"Link type"),n(e,33,0,t.linkTypes),n(e,48,0,"fileName"),n(e,51,0,"File name","text");var l=t.startProgram,o=n(e,57,0,!0);n(e,56,0,l,o),n(e,64,0,"accent"),n(e,67,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,4,0,o["ɵnov"](e,8).ngClassUntouched,o["ɵnov"](e,8).ngClassTouched,o["ɵnov"](e,8).ngClassPristine,o["ɵnov"](e,8).ngClassDirty,o["ɵnov"](e,8).ngClassValid,o["ɵnov"](e,8).ngClassInvalid,o["ɵnov"](e,8).ngClassPending),n(e,9,1,["standard"==o["ɵnov"](e,10).appearance,"fill"==o["ɵnov"](e,10).appearance,"outline"==o["ɵnov"](e,10).appearance,"legacy"==o["ɵnov"](e,10).appearance,o["ɵnov"](e,10)._control.errorState,o["ɵnov"](e,10)._canLabelFloat,o["ɵnov"](e,10)._shouldLabelFloat(),o["ɵnov"](e,10)._hasFloatingLabel(),o["ɵnov"](e,10)._hideControlPlaceholder(),o["ɵnov"](e,10)._control.disabled,o["ɵnov"](e,10)._control.autofilled,o["ɵnov"](e,10)._control.focused,"accent"==o["ɵnov"](e,10).color,"warn"==o["ɵnov"](e,10).color,o["ɵnov"](e,10)._shouldForward("untouched"),o["ɵnov"](e,10)._shouldForward("touched"),o["ɵnov"](e,10)._shouldForward("pristine"),o["ɵnov"](e,10)._shouldForward("dirty"),o["ɵnov"](e,10)._shouldForward("valid"),o["ɵnov"](e,10)._shouldForward("invalid"),o["ɵnov"](e,10)._shouldForward("pending"),!o["ɵnov"](e,10)._animationsEnabled]),n(e,20,1,[o["ɵnov"](e,26).ngClassUntouched,o["ɵnov"](e,26).ngClassTouched,o["ɵnov"](e,26).ngClassPristine,o["ɵnov"](e,26).ngClassDirty,o["ɵnov"](e,26).ngClassValid,o["ɵnov"](e,26).ngClassInvalid,o["ɵnov"](e,26).ngClassPending,o["ɵnov"](e,27).id,o["ɵnov"](e,27).tabIndex,o["ɵnov"](e,27)._getAriaLabel(),o["ɵnov"](e,27)._getAriaLabelledby(),o["ɵnov"](e,27).required.toString(),o["ɵnov"](e,27).disabled.toString(),o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).panelOpen?o["ɵnov"](e,27)._optionIds:null,o["ɵnov"](e,27).multiple,o["ɵnov"](e,27)._ariaDescribedby||null,o["ɵnov"](e,27)._getAriaActiveDescendant(),o["ɵnov"](e,27).disabled,o["ɵnov"](e,27).errorState,o["ɵnov"](e,27).required,o["ɵnov"](e,27).empty]),n(e,34,1,["standard"==o["ɵnov"](e,35).appearance,"fill"==o["ɵnov"](e,35).appearance,"outline"==o["ɵnov"](e,35).appearance,"legacy"==o["ɵnov"](e,35).appearance,o["ɵnov"](e,35)._control.errorState,o["ɵnov"](e,35)._canLabelFloat,o["ɵnov"](e,35)._shouldLabelFloat(),o["ɵnov"](e,35)._hasFloatingLabel(),o["ɵnov"](e,35)._hideControlPlaceholder(),o["ɵnov"](e,35)._control.disabled,o["ɵnov"](e,35)._control.autofilled,o["ɵnov"](e,35)._control.focused,"accent"==o["ɵnov"](e,35).color,"warn"==o["ɵnov"](e,35).color,o["ɵnov"](e,35)._shouldForward("untouched"),o["ɵnov"](e,35)._shouldForward("touched"),o["ɵnov"](e,35)._shouldForward("pristine"),o["ɵnov"](e,35)._shouldForward("dirty"),o["ɵnov"](e,35)._shouldForward("valid"),o["ɵnov"](e,35)._shouldForward("invalid"),o["ɵnov"](e,35)._shouldForward("pending"),!o["ɵnov"](e,35)._animationsEnabled]),n(e,45,1,[o["ɵnov"](e,50).ngClassUntouched,o["ɵnov"](e,50).ngClassTouched,o["ɵnov"](e,50).ngClassPristine,o["ɵnov"](e,50).ngClassDirty,o["ɵnov"](e,50).ngClassValid,o["ɵnov"](e,50).ngClassInvalid,o["ɵnov"](e,50).ngClassPending,o["ɵnov"](e,51)._isServer,o["ɵnov"](e,51).id,o["ɵnov"](e,51).placeholder,o["ɵnov"](e,51).disabled,o["ɵnov"](e,51).required,o["ɵnov"](e,51).readonly&&!o["ɵnov"](e,51)._isNativeSelect||null,o["ɵnov"](e,51)._ariaDescribedby||null,o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).required.toString()]),n(e,53,1,[o["ɵnov"](e,54).id,null,o["ɵnov"](e,54).indeterminate,o["ɵnov"](e,54).checked,o["ɵnov"](e,54).disabled,"before"==o["ɵnov"](e,54).labelPosition,"NoopAnimations"===o["ɵnov"](e,54)._animationMode,o["ɵnov"](e,59).ngClassUntouched,o["ɵnov"](e,59).ngClassTouched,o["ɵnov"](e,59).ngClassPristine,o["ɵnov"](e,59).ngClassDirty,o["ɵnov"](e,59).ngClassValid,o["ɵnov"](e,59).ngClassInvalid,o["ɵnov"](e,59).ngClassPending]),n(e,63,0,o["ɵnov"](e,64).disabled||null,"NoopAnimations"===o["ɵnov"](e,64)._animationMode),n(e,66,0,o["ɵnov"](e,67).disabled||null,"NoopAnimations"===o["ɵnov"](e,67)._animationMode)}))}function bY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-start-capture",[],null,null,null,gY,mY)),o["ɵdid"](1,114688,null,0,sB,[tv,FM,Gm,hc,NM,_B],null,null)],(function(n,e){n(e,1,0)}),null)}var _Y=o["ɵccf"]("app-start-capture",sB,bY,{},{},[]),yY=o["ɵcrt"]({encapsulation:0,styles:[[".textArea[_ngcontent-%COMP%]{width:100%;height:350px}.textAreaTab[_ngcontent-%COMP%]{width:100%;height:300px}"]],data:{}});function CY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,[["textArea",1]],null,5,"textarea",[["class","textArea"],["id","textArea"]],[[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,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,2)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,2).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,2)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,2)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(i.config=t)&&l),l}),null,null)),o["ɵdid"](2,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](4,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](6,16384,null,0,Gh,[[4,Uh]],null,null)],(function(n,e){n(e,4,0,e.component.config)}),(function(n,e){n(e,1,0,o["ɵnov"](e,6).ngClassUntouched,o["ɵnov"](e,6).ngClassTouched,o["ɵnov"](e,6).ngClassPristine,o["ɵnov"](e,6).ngClassDirty,o["ɵnov"](e,6).ngClassValid,o["ɵnov"](e,6).ngClassInvalid,o["ɵnov"](e,6).ngClassPending)}))}function wY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,22,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,9,"mat-tab",[["label","Startup config"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,[["textArea",1]],0,5,"textarea",[["class","textAreaTab"],["id","textArea"]],[[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,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,8)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,8).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,8)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,8)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(i.config=t)&&l),l}),null,null)),o["ɵdid"](8,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](10,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](12,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵeld"](13,16777216,null,null,9,"mat-tab",[["label","Private config"]],null,null,null,PG,NG)),o["ɵdid"](14,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,4,{templateLabel:0}),o["ɵqud"](335544320,5,{_explicitContent:0}),(n()(),o["ɵeld"](17,0,[["textArea",1]],0,5,"textarea",[["class","textAreaTab"],["id","textArea"]],[[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,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,18)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,18)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,18)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(i.privateConfig=t)&&l),l}),null,null)),o["ɵdid"](18,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](20,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](22,16384,null,0,Gh,[[4,Uh]],null,null)],(function(n,e){var t=e.component;n(e,4,0,"Startup config"),n(e,10,0,t.config),n(e,14,0,"Private config"),n(e,20,0,t.privateConfig)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,7,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,17,0,o["ɵnov"](e,22).ngClassUntouched,o["ɵnov"](e,22).ngClassTouched,o["ɵnov"](e,22).ngClassPristine,o["ɵnov"](e,22).ngClassDirty,o["ɵnov"](e,22).ngClassValid,o["ɵnov"](e,22).ngClassInvalid,o["ɵnov"](e,22).ngClassPending)}))}function SY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configuration for node ",""])),(n()(),o["ɵand"](16777216,null,null,1,null,CY)),o["ɵdid"](4,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,wY)),o["ɵdid"](6,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](7,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](8,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](9,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,4,0,"vpcs"===t.node.node_type),n(e,6,0,"iou"===t.node.node_type||"dynamips"===t.node.node_type),n(e,10,0,"accent"),n(e,13,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.node.name),n(e,9,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode)}))}function xY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-config-editor",[],null,null,null,SY,yY)),o["ɵdid"](1,114688,null,0,BV,[tv,ij,hc],null,null)],(function(n,e){n(e,1,0)}),null)}var kY=o["ɵccf"]("app-config-editor",BV,xY,{},{},[]),EY=o["ɵcrt"]({encapsulation:0,styles:[[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]],data:{}});function TY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is required"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function RY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[6,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Project name is incorrect"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function IY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Save project as"])),(n()(),o["ɵeld"](3,0,null,null,38,"form",[["class","file-name-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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,25,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,28)._onInput()&&l),"keydown"===e&&(l=!1!==i.onKeyDown(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](21,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](22,{"is-invalid":0}),o["ɵdid"](23,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](25,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](27,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](28,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,5,1,null,TY)),o["ɵdid"](31,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,5,1,null,RY)),o["ɵdid"](33,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](34,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](35,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](36,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](37,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](40,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Save project"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.projectNameForm);var l=n(e,22,0,null==t.form.projectName?null:t.form.projectName.errors);n(e,21,0,l),n(e,25,0,"projectName"),n(e,28,0,"Please enter name","text"),n(e,31,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.required)),n(e,33,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.invalidName)),n(e,37,0,"accent"),n(e,40,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,27).ngClassUntouched,o["ɵnov"](e,27).ngClassTouched,o["ɵnov"](e,27).ngClassPristine,o["ɵnov"](e,27).ngClassDirty,o["ɵnov"](e,27).ngClassValid,o["ɵnov"](e,27).ngClassInvalid,o["ɵnov"](e,27).ngClassPending,o["ɵnov"](e,28)._isServer,o["ɵnov"](e,28).id,o["ɵnov"](e,28).placeholder,o["ɵnov"](e,28).disabled,o["ɵnov"](e,28).required,o["ɵnov"](e,28).readonly&&!o["ɵnov"](e,28)._isNativeSelect||null,o["ɵnov"](e,28)._ariaDescribedby||null,o["ɵnov"](e,28).errorState,o["ɵnov"](e,28).required.toString()]),n(e,36,0,o["ɵnov"](e,37).disabled||null,"NoopAnimations"===o["ɵnov"](e,37)._animationMode),n(e,39,0,o["ɵnov"](e,40).disabled||null,"NoopAnimations"===o["ɵnov"](e,40)._animationMode)}))}function DY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"app-save-project-dialog",[],null,null,null,IY,EY)),o["ɵprd"](512,null,xX,xX,[]),o["ɵdid"](2,114688,null,0,rZ,[tv,lb,NM,hc,Gm,xX],null,null)],(function(n,e){n(e,2,0)}),null)}var FY=o["ɵccf"]("app-save-project-dialog",rZ,DY,{},{},[]),OY=function(){function n(){}return n.prototype.getInfoAboutNode=function(n,e){var t=[];return"cloud"===n.node_type?t.push("Cloud "+n.name+" is always on."):"nat"===n.node_type?t.push("NAT "+n.name+" is always on."):"ethernet-hub"===n.node_type?t.push("Ethernet hub "+n.name+" is always on."):"ethernet_switch"===n.node_type?t.push("Ethernet switch "+n.name+" is always on."):"frame_relay_switch"===n.node_type?t.push("Frame relay switch "+n.name+" is always on."):"atm_switch"===n.node_type?t.push("ATM switch "+n.name+" is always on."):"docker"===n.node_type?t.push("Docker "+n.name+" is "+n.status+"."):"dynamips"===n.node_type?t.push("Dynamips "+n.name+" is always on."):"traceng"===n.node_type?t.push("TraceNG "+n.name+" is always on."):"virtualbox"===n.node_type?t.push("VirtualBox VM "+n.name+" is "+n.status+"."):"vmware"===n.node_type?t.push("VMware VM "+n.name+" is "+n.status+"."):"qemu"===n.node_type?t.push("QEMU VM "+n.name+" is "+n.status+"."):"iou"===n.node_type?t.push("IOU "+n.name+" is always on."):"vpcs"===n.node_type&&t.push("Node "+n.name+" is "+n.status+"."),t.push("Running on server "+e.name+" with port "+e.port+"."),t.push("Server ID is "+e.id+"."),"none"!==n.console_type&&"null"!==n.console_type&&t.push("Console is on port "+n.console+" and type is "+n.console_type+"."),t.concat(this.getInfoAboutPorts(n.ports))},n.prototype.getInfoAboutPorts=function(n){var e="Ports: ";return n.forEach((function(n){e+="link_type: "+n.link_type+", \n name: "+n.name+"; "})),e=e.substring(0,e.length-2)},n.prototype.getCommandLine=function(n){return"cloud"===n.node_type||"nat"===n.node_type||"ethernet_hub"===n.node_type||"ethernet_switch"===n.node_type||"frame_relay_switch"===n.node_type||"atm_switch"===n.node_type||"dynamips"===n.node_type||"traceng"===n.node_type||"iou"===n.node_type?"Command line information is not supported for this type of node.":n.command_line?n.command_line:"Please start the node in order to get the command line information."},n}(),MY=o["ɵcrt"]({encapsulation:0,styles:[[".textBox[_ngcontent-%COMP%]{margin-top:10px}"]],data:{}});function NY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](1,null,[" "," "]))],null,(function(n,e){n(e,1,0,e.context.$implicit)}))}function AY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,22,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,21,"mat-tab-group",[["animationDuration","0ms"],["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](5,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],{animationDuration:[0,"animationDuration"]},null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](7,16777216,null,null,6,"mat-tab",[["label","General information"]],null,null,null,PG,NG)),o["ɵdid"](8,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](11,0,null,0,2,"div",[["class","textBox"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,NY)),o["ɵdid"](13,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](14,16777216,null,null,5,"mat-tab",[["label","Usage instructions"]],null,null,null,PG,NG)),o["ɵdid"](15,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,4,{templateLabel:0}),o["ɵqud"](335544320,5,{_explicitContent:0}),(n()(),o["ɵeld"](18,0,null,0,1,"div",[["class","textBox"]],null,null,null,null,null)),(n()(),o["ɵted"](19,null,[" "," "])),(n()(),o["ɵeld"](20,16777216,null,null,5,"mat-tab",[["label","Command line"]],null,null,null,PG,NG)),o["ɵdid"](21,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,6,{templateLabel:0}),o["ɵqud"](335544320,7,{_explicitContent:0}),(n()(),o["ɵeld"](24,0,null,0,1,"div",[["class","textBox"]],null,null,null,null,null)),(n()(),o["ɵted"](25,null,[" "," "])),(n()(),o["ɵeld"](26,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](27,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](28,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l}),ou,lu)),o["ɵdid"](29,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Close"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,5,0,"0ms"),n(e,8,0,"General information"),n(e,13,0,t.infoList),n(e,15,0,"Usage instructions"),n(e,21,0,"Command line"),n(e,29,0,"accent")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.node.name),n(e,4,0,o["ɵnov"](e,5).dynamicHeight,"below"===o["ɵnov"](e,5).headerPosition),n(e,19,0,t.usage),n(e,25,0,t.commandLine),n(e,28,0,o["ɵnov"](e,29).disabled||null,"NoopAnimations"===o["ɵnov"](e,29)._animationMode)}))}function PY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-info-dialog",[],null,null,null,AY,MY)),o["ɵdid"](1,114688,null,0,xj,[tv,OY],null,null)],(function(n,e){n(e,1,0)}),null)}var qY=o["ɵccf"]("app-info-dialog",xj,PY,{server:"server",node:"node"},{},[]),LY=o["ɵcrt"]({encapsulation:0,styles:[[".symbolsWrapper[_ngcontent-%COMP%]{height:350px;overflow-y:scroll;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}"]],data:{}});function jY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Change symbol for node: ",""])),(n()(),o["ɵeld"](3,0,null,null,3,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,2,"div",[["class","symbolsWrapper"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,1,"app-symbols",[],null,[[null,"symbolChanged"]],(function(n,e,t){var l=!0;return"symbolChanged"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l}),$w,Xw)),o["ɵdid"](6,114688,null,0,Zw,[Kw],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChanged:"symbolChanged"}),(n()(),o["ɵeld"](7,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](8,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](9,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l}),ou,lu)),o["ɵdid"](10,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSelectClick()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.server,t.symbol),n(e,10,0,"accent"),n(e,13,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.node.name),n(e,9,0,o["ɵnov"](e,10).disabled||null,"NoopAnimations"===o["ɵnov"](e,10)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode)}))}function VY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-change-symbol-dialog",[],null,null,null,jY,LY)),o["ɵdid"](1,114688,null,0,xV,[tv,ij],null,null)],(function(n,e){n(e,1,0)}),null)}var BY=o["ɵccf"]("app-change-symbol-dialog",xV,VY,{server:"server",node:"node"},{},[]),HY=o["ɵcrt"]({encapsulation:0,styles:[[".form-field[_ngcontent-%COMP%]{width:100%}th[_ngcontent-%COMP%]{border:0!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}"]],data:{}});function UY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,["Name"]))],null,null)}function zY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[""," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function GY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,["Value"]))],null,null)}function WY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,["",""]))],null,(function(n,e){n(e,2,0,e.context.$implicit.value)}))}function ZY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,["Actions"]))],null,null)}function KY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete variable"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.deleteVariable(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete adapter"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete variable"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function XY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function YY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function $Y(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Edit project"])),(n()(),o["ɵeld"](3,0,null,null,245,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,244,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](5,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](7,16777216,null,null,139,"mat-tab",[["label","General"]],null,null,null,PG,NG)),o["ɵdid"](8,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](11,0,null,0,103,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,13).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,13).onReset()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,qm,[],null,null),o["ɵdid"](13,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](15,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](16,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](17,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Project 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,28)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,28)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,28)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,33)._onInput()&&l),l}),null,null)),o["ɵdid"](28,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](30,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](32,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](33,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](35,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](36,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](46,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","width"],["matInput",""],["placeholder","Scene width (px)"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,47)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,47).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,47)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,47)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,48).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,48).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,53)._onInput()&&l),l}),null,null)),o["ɵdid"](47,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](48,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](50,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](52,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](53,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](55,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](56,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","height"],["matInput",""],["placeholder","Scene height (px)"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,67)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,67).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,67)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,67)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,68).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,73)._onInput()&&l),l}),null,null)),o["ɵdid"](67,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](68,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](70,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](72,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](73,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[Lg]),(n()(),o["ɵeld"](75,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](76,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,31,{_controlNonStatic:0}),o["ɵqud"](335544320,32,{_controlStatic:0}),o["ɵqud"](603979776,33,{_labelChildNonStatic:0}),o["ɵqud"](335544320,34,{_labelChildStatic:0}),o["ɵqud"](603979776,35,{_placeholderChild:0}),o["ɵqud"](603979776,36,{_errorChildren:1}),o["ɵqud"](603979776,37,{_hintChildren:1}),o["ɵqud"](603979776,38,{_prefixChildren:1}),o["ɵqud"](603979776,39,{_suffixChildren:1}),(n()(),o["ɵeld"](86,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nodeGridSize"],["matInput",""],["placeholder","Node grid size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,87)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,87).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,87)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,87)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,88).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,88).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,88).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,93)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,93)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,93)._onInput()&&l),l}),null,null)),o["ɵdid"](87,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](88,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](90,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](92,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](93,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[31,4],[32,4]],ag,null,[Lg]),(n()(),o["ɵeld"](95,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](96,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,40,{_controlNonStatic:0}),o["ɵqud"](335544320,41,{_controlStatic:0}),o["ɵqud"](603979776,42,{_labelChildNonStatic:0}),o["ɵqud"](335544320,43,{_labelChildStatic:0}),o["ɵqud"](603979776,44,{_placeholderChild:0}),o["ɵqud"](603979776,45,{_errorChildren:1}),o["ɵqud"](603979776,46,{_hintChildren:1}),o["ɵqud"](603979776,47,{_prefixChildren:1}),o["ɵqud"](603979776,48,{_suffixChildren:1}),(n()(),o["ɵeld"](106,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","drawingGridSize"],["matInput",""],["placeholder","Drawing grid size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,107)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,107).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,107)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,107)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,108).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,108).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,108).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,113)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,113)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,113)._onInput()&&l),l}),null,null)),o["ɵdid"](107,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](108,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](110,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](112,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](113,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[40,4],[41,4]],ag,null,[Lg]),(n()(),o["ɵeld"](115,0,null,0,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.project.auto_open=t)&&l),l}),O_,F_)),o["ɵdid"](116,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](118,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](119,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](121,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Open this project in the background when GNS3 server starts "])),(n()(),o["ɵeld"](123,0,null,0,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.project.auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](124,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](126,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](127,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](129,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start all nodes when this project is opened "])),(n()(),o["ɵeld"](131,0,null,0,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=0!=!(n.component.project.auto_close=t)&&l),l}),O_,F_)),o["ɵdid"](132,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](134,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](135,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](137,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Leave this project running in the background after closing "])),(n()(),o["ɵeld"](139,0,null,0,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.project.show_interface_labels=t)&&l),l}),O_,F_)),o["ɵdid"](140,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](142,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](143,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](145,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Show interface labels at start "])),(n()(),o["ɵeld"](147,16777216,null,null,101,"mat-tab",[["label","Global variables"]],null,null,null,PG,NG)),o["ɵdid"](148,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,49,{templateLabel:0}),o["ɵqud"](335544320,50,{_explicitContent:0}),(n()(),o["ɵeld"](151,0,null,0,42,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,153).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,153).onReset()&&l),l}),null,null)),o["ɵdid"](152,16384,null,0,qm,[],null,null),o["ɵdid"](153,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](155,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](156,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](157,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,51,{_controlNonStatic:0}),o["ɵqud"](335544320,52,{_controlStatic:0}),o["ɵqud"](603979776,53,{_labelChildNonStatic:0}),o["ɵqud"](335544320,54,{_labelChildStatic:0}),o["ɵqud"](603979776,55,{_placeholderChild:0}),o["ɵqud"](603979776,56,{_errorChildren:1}),o["ɵqud"](603979776,57,{_hintChildren:1}),o["ɵqud"](603979776,58,{_prefixChildren:1}),o["ɵqud"](603979776,59,{_suffixChildren:1}),(n()(),o["ɵeld"](167,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,168)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,168).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,168)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,168)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,173)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,173)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,173)._onInput()&&l),l}),null,null)),o["ɵdid"](168,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](170,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](172,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](173,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[51,4],[52,4]],ag,null,[Lg]),(n()(),o["ɵeld"](175,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](176,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,60,{_controlNonStatic:0}),o["ɵqud"](335544320,61,{_controlStatic:0}),o["ɵqud"](603979776,62,{_labelChildNonStatic:0}),o["ɵqud"](335544320,63,{_labelChildStatic:0}),o["ɵqud"](603979776,64,{_placeholderChild:0}),o["ɵqud"](603979776,65,{_errorChildren:1}),o["ɵqud"](603979776,66,{_hintChildren:1}),o["ɵqud"](603979776,67,{_prefixChildren:1}),o["ɵqud"](603979776,68,{_suffixChildren:1}),(n()(),o["ɵeld"](186,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["ɵnov"](n,187)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,187).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,187)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,187)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,192)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,192)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,192)._onInput()&&l),l}),null,null)),o["ɵdid"](187,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](189,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](191,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](192,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[60,4],[61,4]],ag,null,[Lg]),(n()(),o["ɵeld"](194,0,null,0,2,"button",[["class","form-field"],["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addVariable()&&l),l}),ou,lu)),o["ɵdid"](195,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Add variable"])),(n()(),o["ɵeld"](197,0,null,0,51,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](199,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,69,{_contentColumnDefs:1}),o["ɵqud"](603979776,70,{_contentRowDefs:1}),o["ɵqud"](603979776,71,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,72,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](204,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](206,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,73,{cell:0}),o["ɵqud"](603979776,74,{headerCell:0}),o["ɵqud"](603979776,75,{footerCell:0}),o["ɵprd"](2048,[[69,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,UY)),o["ɵdid"](212,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[74,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,zY)),o["ɵdid"](215,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[73,4]],Cc,null,[zc]),(n()(),o["ɵeld"](217,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](219,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,76,{cell:0}),o["ɵqud"](603979776,77,{headerCell:0}),o["ɵqud"](603979776,78,{footerCell:0}),o["ɵprd"](2048,[[69,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,GY)),o["ɵdid"](225,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[77,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,WY)),o["ɵdid"](228,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[76,4]],Cc,null,[zc]),(n()(),o["ɵeld"](230,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](232,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,79,{cell:0}),o["ɵqud"](603979776,80,{headerCell:0}),o["ɵqud"](603979776,81,{footerCell:0}),o["ɵprd"](2048,[[69,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,ZY)),o["ɵdid"](238,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[80,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,KY)),o["ɵdid"](241,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[79,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,XY)),o["ɵdid"](244,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[71,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,YY)),o["ɵdid"](247,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[70,4]],Dc,null,[Yc]),(n()(),o["ɵeld"](249,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](250,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](251,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](252,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](254,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](255,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,8,0,"General"),n(e,13,0,t.formGroup),n(e,30,0,"projectName"),n(e,33,0,"Project name","text"),n(e,50,0,"width"),n(e,53,0,"Scene width (px)","number"),n(e,70,0,"height"),n(e,73,0,"Scene height (px)","number"),n(e,90,0,"nodeGridSize"),n(e,93,0,"Node grid size","number"),n(e,110,0,"drawingGridSize"),n(e,113,0,"Drawing grid size","number");var l=t.project.auto_open,o=n(e,119,0,!0);n(e,118,0,l,o);var i=t.project.auto_start,r=n(e,127,0,!0);n(e,126,0,i,r);var a=!t.project.auto_close,u=n(e,135,0,!0);n(e,134,0,a,u);var s=t.project.show_interface_labels,d=n(e,143,0,!0);n(e,142,0,s,d),n(e,148,0,"Global variables"),n(e,153,0,t.variableFormGroup),n(e,170,0,"name"),n(e,173,0,"Name","text"),n(e,189,0,"value"),n(e,192,0,"Value","text"),n(e,195,0,"primary"),n(e,199,0,t.variables),n(e,206,0,"name"),n(e,219,0,"value"),n(e,232,0,"actions"),n(e,244,0,t.displayedColumns),n(e,247,0,t.displayedColumns),n(e,252,0,"accent"),n(e,255,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,4,0,o["ɵnov"](e,5).dynamicHeight,"below"===o["ɵnov"](e,5).headerPosition),n(e,11,0,o["ɵnov"](e,15).ngClassUntouched,o["ɵnov"](e,15).ngClassTouched,o["ɵnov"](e,15).ngClassPristine,o["ɵnov"](e,15).ngClassDirty,o["ɵnov"](e,15).ngClassValid,o["ɵnov"](e,15).ngClassInvalid,o["ɵnov"](e,15).ngClassPending),n(e,16,1,["standard"==o["ɵnov"](e,17).appearance,"fill"==o["ɵnov"](e,17).appearance,"outline"==o["ɵnov"](e,17).appearance,"legacy"==o["ɵnov"](e,17).appearance,o["ɵnov"](e,17)._control.errorState,o["ɵnov"](e,17)._canLabelFloat,o["ɵnov"](e,17)._shouldLabelFloat(),o["ɵnov"](e,17)._hasFloatingLabel(),o["ɵnov"](e,17)._hideControlPlaceholder(),o["ɵnov"](e,17)._control.disabled,o["ɵnov"](e,17)._control.autofilled,o["ɵnov"](e,17)._control.focused,"accent"==o["ɵnov"](e,17).color,"warn"==o["ɵnov"](e,17).color,o["ɵnov"](e,17)._shouldForward("untouched"),o["ɵnov"](e,17)._shouldForward("touched"),o["ɵnov"](e,17)._shouldForward("pristine"),o["ɵnov"](e,17)._shouldForward("dirty"),o["ɵnov"](e,17)._shouldForward("valid"),o["ɵnov"](e,17)._shouldForward("invalid"),o["ɵnov"](e,17)._shouldForward("pending"),!o["ɵnov"](e,17)._animationsEnabled]),n(e,27,1,[o["ɵnov"](e,32).ngClassUntouched,o["ɵnov"](e,32).ngClassTouched,o["ɵnov"](e,32).ngClassPristine,o["ɵnov"](e,32).ngClassDirty,o["ɵnov"](e,32).ngClassValid,o["ɵnov"](e,32).ngClassInvalid,o["ɵnov"](e,32).ngClassPending,o["ɵnov"](e,33)._isServer,o["ɵnov"](e,33).id,o["ɵnov"](e,33).placeholder,o["ɵnov"](e,33).disabled,o["ɵnov"](e,33).required,o["ɵnov"](e,33).readonly&&!o["ɵnov"](e,33)._isNativeSelect||null,o["ɵnov"](e,33)._ariaDescribedby||null,o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).required.toString()]),n(e,35,1,["standard"==o["ɵnov"](e,36).appearance,"fill"==o["ɵnov"](e,36).appearance,"outline"==o["ɵnov"](e,36).appearance,"legacy"==o["ɵnov"](e,36).appearance,o["ɵnov"](e,36)._control.errorState,o["ɵnov"](e,36)._canLabelFloat,o["ɵnov"](e,36)._shouldLabelFloat(),o["ɵnov"](e,36)._hasFloatingLabel(),o["ɵnov"](e,36)._hideControlPlaceholder(),o["ɵnov"](e,36)._control.disabled,o["ɵnov"](e,36)._control.autofilled,o["ɵnov"](e,36)._control.focused,"accent"==o["ɵnov"](e,36).color,"warn"==o["ɵnov"](e,36).color,o["ɵnov"](e,36)._shouldForward("untouched"),o["ɵnov"](e,36)._shouldForward("touched"),o["ɵnov"](e,36)._shouldForward("pristine"),o["ɵnov"](e,36)._shouldForward("dirty"),o["ɵnov"](e,36)._shouldForward("valid"),o["ɵnov"](e,36)._shouldForward("invalid"),o["ɵnov"](e,36)._shouldForward("pending"),!o["ɵnov"](e,36)._animationsEnabled]),n(e,46,1,[o["ɵnov"](e,52).ngClassUntouched,o["ɵnov"](e,52).ngClassTouched,o["ɵnov"](e,52).ngClassPristine,o["ɵnov"](e,52).ngClassDirty,o["ɵnov"](e,52).ngClassValid,o["ɵnov"](e,52).ngClassInvalid,o["ɵnov"](e,52).ngClassPending,o["ɵnov"](e,53)._isServer,o["ɵnov"](e,53).id,o["ɵnov"](e,53).placeholder,o["ɵnov"](e,53).disabled,o["ɵnov"](e,53).required,o["ɵnov"](e,53).readonly&&!o["ɵnov"](e,53)._isNativeSelect||null,o["ɵnov"](e,53)._ariaDescribedby||null,o["ɵnov"](e,53).errorState,o["ɵnov"](e,53).required.toString()]),n(e,55,1,["standard"==o["ɵnov"](e,56).appearance,"fill"==o["ɵnov"](e,56).appearance,"outline"==o["ɵnov"](e,56).appearance,"legacy"==o["ɵnov"](e,56).appearance,o["ɵnov"](e,56)._control.errorState,o["ɵnov"](e,56)._canLabelFloat,o["ɵnov"](e,56)._shouldLabelFloat(),o["ɵnov"](e,56)._hasFloatingLabel(),o["ɵnov"](e,56)._hideControlPlaceholder(),o["ɵnov"](e,56)._control.disabled,o["ɵnov"](e,56)._control.autofilled,o["ɵnov"](e,56)._control.focused,"accent"==o["ɵnov"](e,56).color,"warn"==o["ɵnov"](e,56).color,o["ɵnov"](e,56)._shouldForward("untouched"),o["ɵnov"](e,56)._shouldForward("touched"),o["ɵnov"](e,56)._shouldForward("pristine"),o["ɵnov"](e,56)._shouldForward("dirty"),o["ɵnov"](e,56)._shouldForward("valid"),o["ɵnov"](e,56)._shouldForward("invalid"),o["ɵnov"](e,56)._shouldForward("pending"),!o["ɵnov"](e,56)._animationsEnabled]),n(e,66,1,[o["ɵnov"](e,72).ngClassUntouched,o["ɵnov"](e,72).ngClassTouched,o["ɵnov"](e,72).ngClassPristine,o["ɵnov"](e,72).ngClassDirty,o["ɵnov"](e,72).ngClassValid,o["ɵnov"](e,72).ngClassInvalid,o["ɵnov"](e,72).ngClassPending,o["ɵnov"](e,73)._isServer,o["ɵnov"](e,73).id,o["ɵnov"](e,73).placeholder,o["ɵnov"](e,73).disabled,o["ɵnov"](e,73).required,o["ɵnov"](e,73).readonly&&!o["ɵnov"](e,73)._isNativeSelect||null,o["ɵnov"](e,73)._ariaDescribedby||null,o["ɵnov"](e,73).errorState,o["ɵnov"](e,73).required.toString()]),n(e,75,1,["standard"==o["ɵnov"](e,76).appearance,"fill"==o["ɵnov"](e,76).appearance,"outline"==o["ɵnov"](e,76).appearance,"legacy"==o["ɵnov"](e,76).appearance,o["ɵnov"](e,76)._control.errorState,o["ɵnov"](e,76)._canLabelFloat,o["ɵnov"](e,76)._shouldLabelFloat(),o["ɵnov"](e,76)._hasFloatingLabel(),o["ɵnov"](e,76)._hideControlPlaceholder(),o["ɵnov"](e,76)._control.disabled,o["ɵnov"](e,76)._control.autofilled,o["ɵnov"](e,76)._control.focused,"accent"==o["ɵnov"](e,76).color,"warn"==o["ɵnov"](e,76).color,o["ɵnov"](e,76)._shouldForward("untouched"),o["ɵnov"](e,76)._shouldForward("touched"),o["ɵnov"](e,76)._shouldForward("pristine"),o["ɵnov"](e,76)._shouldForward("dirty"),o["ɵnov"](e,76)._shouldForward("valid"),o["ɵnov"](e,76)._shouldForward("invalid"),o["ɵnov"](e,76)._shouldForward("pending"),!o["ɵnov"](e,76)._animationsEnabled]),n(e,86,1,[o["ɵnov"](e,92).ngClassUntouched,o["ɵnov"](e,92).ngClassTouched,o["ɵnov"](e,92).ngClassPristine,o["ɵnov"](e,92).ngClassDirty,o["ɵnov"](e,92).ngClassValid,o["ɵnov"](e,92).ngClassInvalid,o["ɵnov"](e,92).ngClassPending,o["ɵnov"](e,93)._isServer,o["ɵnov"](e,93).id,o["ɵnov"](e,93).placeholder,o["ɵnov"](e,93).disabled,o["ɵnov"](e,93).required,o["ɵnov"](e,93).readonly&&!o["ɵnov"](e,93)._isNativeSelect||null,o["ɵnov"](e,93)._ariaDescribedby||null,o["ɵnov"](e,93).errorState,o["ɵnov"](e,93).required.toString()]),n(e,95,1,["standard"==o["ɵnov"](e,96).appearance,"fill"==o["ɵnov"](e,96).appearance,"outline"==o["ɵnov"](e,96).appearance,"legacy"==o["ɵnov"](e,96).appearance,o["ɵnov"](e,96)._control.errorState,o["ɵnov"](e,96)._canLabelFloat,o["ɵnov"](e,96)._shouldLabelFloat(),o["ɵnov"](e,96)._hasFloatingLabel(),o["ɵnov"](e,96)._hideControlPlaceholder(),o["ɵnov"](e,96)._control.disabled,o["ɵnov"](e,96)._control.autofilled,o["ɵnov"](e,96)._control.focused,"accent"==o["ɵnov"](e,96).color,"warn"==o["ɵnov"](e,96).color,o["ɵnov"](e,96)._shouldForward("untouched"),o["ɵnov"](e,96)._shouldForward("touched"),o["ɵnov"](e,96)._shouldForward("pristine"),o["ɵnov"](e,96)._shouldForward("dirty"),o["ɵnov"](e,96)._shouldForward("valid"),o["ɵnov"](e,96)._shouldForward("invalid"),o["ɵnov"](e,96)._shouldForward("pending"),!o["ɵnov"](e,96)._animationsEnabled]),n(e,106,1,[o["ɵnov"](e,112).ngClassUntouched,o["ɵnov"](e,112).ngClassTouched,o["ɵnov"](e,112).ngClassPristine,o["ɵnov"](e,112).ngClassDirty,o["ɵnov"](e,112).ngClassValid,o["ɵnov"](e,112).ngClassInvalid,o["ɵnov"](e,112).ngClassPending,o["ɵnov"](e,113)._isServer,o["ɵnov"](e,113).id,o["ɵnov"](e,113).placeholder,o["ɵnov"](e,113).disabled,o["ɵnov"](e,113).required,o["ɵnov"](e,113).readonly&&!o["ɵnov"](e,113)._isNativeSelect||null,o["ɵnov"](e,113)._ariaDescribedby||null,o["ɵnov"](e,113).errorState,o["ɵnov"](e,113).required.toString()]),n(e,115,1,[o["ɵnov"](e,116).id,null,o["ɵnov"](e,116).indeterminate,o["ɵnov"](e,116).checked,o["ɵnov"](e,116).disabled,"before"==o["ɵnov"](e,116).labelPosition,"NoopAnimations"===o["ɵnov"](e,116)._animationMode,o["ɵnov"](e,121).ngClassUntouched,o["ɵnov"](e,121).ngClassTouched,o["ɵnov"](e,121).ngClassPristine,o["ɵnov"](e,121).ngClassDirty,o["ɵnov"](e,121).ngClassValid,o["ɵnov"](e,121).ngClassInvalid,o["ɵnov"](e,121).ngClassPending]),n(e,123,1,[o["ɵnov"](e,124).id,null,o["ɵnov"](e,124).indeterminate,o["ɵnov"](e,124).checked,o["ɵnov"](e,124).disabled,"before"==o["ɵnov"](e,124).labelPosition,"NoopAnimations"===o["ɵnov"](e,124)._animationMode,o["ɵnov"](e,129).ngClassUntouched,o["ɵnov"](e,129).ngClassTouched,o["ɵnov"](e,129).ngClassPristine,o["ɵnov"](e,129).ngClassDirty,o["ɵnov"](e,129).ngClassValid,o["ɵnov"](e,129).ngClassInvalid,o["ɵnov"](e,129).ngClassPending]),n(e,131,1,[o["ɵnov"](e,132).id,null,o["ɵnov"](e,132).indeterminate,o["ɵnov"](e,132).checked,o["ɵnov"](e,132).disabled,"before"==o["ɵnov"](e,132).labelPosition,"NoopAnimations"===o["ɵnov"](e,132)._animationMode,o["ɵnov"](e,137).ngClassUntouched,o["ɵnov"](e,137).ngClassTouched,o["ɵnov"](e,137).ngClassPristine,o["ɵnov"](e,137).ngClassDirty,o["ɵnov"](e,137).ngClassValid,o["ɵnov"](e,137).ngClassInvalid,o["ɵnov"](e,137).ngClassPending]),n(e,139,1,[o["ɵnov"](e,140).id,null,o["ɵnov"](e,140).indeterminate,o["ɵnov"](e,140).checked,o["ɵnov"](e,140).disabled,"before"==o["ɵnov"](e,140).labelPosition,"NoopAnimations"===o["ɵnov"](e,140)._animationMode,o["ɵnov"](e,145).ngClassUntouched,o["ɵnov"](e,145).ngClassTouched,o["ɵnov"](e,145).ngClassPristine,o["ɵnov"](e,145).ngClassDirty,o["ɵnov"](e,145).ngClassValid,o["ɵnov"](e,145).ngClassInvalid,o["ɵnov"](e,145).ngClassPending]),n(e,151,0,o["ɵnov"](e,155).ngClassUntouched,o["ɵnov"](e,155).ngClassTouched,o["ɵnov"](e,155).ngClassPristine,o["ɵnov"](e,155).ngClassDirty,o["ɵnov"](e,155).ngClassValid,o["ɵnov"](e,155).ngClassInvalid,o["ɵnov"](e,155).ngClassPending),n(e,156,1,["standard"==o["ɵnov"](e,157).appearance,"fill"==o["ɵnov"](e,157).appearance,"outline"==o["ɵnov"](e,157).appearance,"legacy"==o["ɵnov"](e,157).appearance,o["ɵnov"](e,157)._control.errorState,o["ɵnov"](e,157)._canLabelFloat,o["ɵnov"](e,157)._shouldLabelFloat(),o["ɵnov"](e,157)._hasFloatingLabel(),o["ɵnov"](e,157)._hideControlPlaceholder(),o["ɵnov"](e,157)._control.disabled,o["ɵnov"](e,157)._control.autofilled,o["ɵnov"](e,157)._control.focused,"accent"==o["ɵnov"](e,157).color,"warn"==o["ɵnov"](e,157).color,o["ɵnov"](e,157)._shouldForward("untouched"),o["ɵnov"](e,157)._shouldForward("touched"),o["ɵnov"](e,157)._shouldForward("pristine"),o["ɵnov"](e,157)._shouldForward("dirty"),o["ɵnov"](e,157)._shouldForward("valid"),o["ɵnov"](e,157)._shouldForward("invalid"),o["ɵnov"](e,157)._shouldForward("pending"),!o["ɵnov"](e,157)._animationsEnabled]),n(e,167,1,[o["ɵnov"](e,172).ngClassUntouched,o["ɵnov"](e,172).ngClassTouched,o["ɵnov"](e,172).ngClassPristine,o["ɵnov"](e,172).ngClassDirty,o["ɵnov"](e,172).ngClassValid,o["ɵnov"](e,172).ngClassInvalid,o["ɵnov"](e,172).ngClassPending,o["ɵnov"](e,173)._isServer,o["ɵnov"](e,173).id,o["ɵnov"](e,173).placeholder,o["ɵnov"](e,173).disabled,o["ɵnov"](e,173).required,o["ɵnov"](e,173).readonly&&!o["ɵnov"](e,173)._isNativeSelect||null,o["ɵnov"](e,173)._ariaDescribedby||null,o["ɵnov"](e,173).errorState,o["ɵnov"](e,173).required.toString()]),n(e,175,1,["standard"==o["ɵnov"](e,176).appearance,"fill"==o["ɵnov"](e,176).appearance,"outline"==o["ɵnov"](e,176).appearance,"legacy"==o["ɵnov"](e,176).appearance,o["ɵnov"](e,176)._control.errorState,o["ɵnov"](e,176)._canLabelFloat,o["ɵnov"](e,176)._shouldLabelFloat(),o["ɵnov"](e,176)._hasFloatingLabel(),o["ɵnov"](e,176)._hideControlPlaceholder(),o["ɵnov"](e,176)._control.disabled,o["ɵnov"](e,176)._control.autofilled,o["ɵnov"](e,176)._control.focused,"accent"==o["ɵnov"](e,176).color,"warn"==o["ɵnov"](e,176).color,o["ɵnov"](e,176)._shouldForward("untouched"),o["ɵnov"](e,176)._shouldForward("touched"),o["ɵnov"](e,176)._shouldForward("pristine"),o["ɵnov"](e,176)._shouldForward("dirty"),o["ɵnov"](e,176)._shouldForward("valid"),o["ɵnov"](e,176)._shouldForward("invalid"),o["ɵnov"](e,176)._shouldForward("pending"),!o["ɵnov"](e,176)._animationsEnabled]),n(e,186,1,[o["ɵnov"](e,191).ngClassUntouched,o["ɵnov"](e,191).ngClassTouched,o["ɵnov"](e,191).ngClassPristine,o["ɵnov"](e,191).ngClassDirty,o["ɵnov"](e,191).ngClassValid,o["ɵnov"](e,191).ngClassInvalid,o["ɵnov"](e,191).ngClassPending,o["ɵnov"](e,192)._isServer,o["ɵnov"](e,192).id,o["ɵnov"](e,192).placeholder,o["ɵnov"](e,192).disabled,o["ɵnov"](e,192).required,o["ɵnov"](e,192).readonly&&!o["ɵnov"](e,192)._isNativeSelect||null,o["ɵnov"](e,192)._ariaDescribedby||null,o["ɵnov"](e,192).errorState,o["ɵnov"](e,192).required.toString()]),n(e,194,0,o["ɵnov"](e,195).disabled||null,"NoopAnimations"===o["ɵnov"](e,195)._animationMode),n(e,251,0,o["ɵnov"](e,252).disabled||null,"NoopAnimations"===o["ɵnov"](e,252)._animationMode),n(e,254,0,o["ɵnov"](e,255).disabled||null,"NoopAnimations"===o["ɵnov"](e,255)._animationMode)}))}function QY(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-edit-project-dialog",[],null,null,null,$Y,HY)),o["ɵdid"](1,114688,null,0,aZ,[tv,Gm,lb,hc,mX],null,null)],(function(n,e){n(e,1,0)}),null)}var JY=o["ɵccf"]("app-edit-project-dialog",aZ,QY,{},{},[]),n$=o["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function e$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"span",[["class","message"]],null,null,null,null,null)),(n()(),o["ɵted"](1,null,["",""])),(n()(),o["ɵeld"](2,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](3,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](4,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](5,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["No"])),(n()(),o["ɵeld"](7,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](8,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" Yes "]))],(function(n,e){n(e,5,0,"accent"),n(e,8,0,"primary")}),(function(n,e){n(e,1,0,e.component.message),n(e,4,0,o["ɵnov"](e,5).disabled||null,"NoopAnimations"===o["ɵnov"](e,5)._animationMode),n(e,7,0,o["ɵnov"](e,8).disabled||null,"NoopAnimations"===o["ɵnov"](e,8)._animationMode)}))}function t$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configure-gns3-vm-dialog",[],null,null,null,e$,n$)),o["ɵdid"](1,114688,null,0,Jg,[tv],null,null)],(function(n,e){n(e,1,0)}),null)}var l$=o["ɵccf"]("app-configure-gns3-vm-dialog",Jg,t$,{},{},[]),o$=[".configButton[_ngcontent-%COMP%], .form-field[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}"],i$=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function r$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[19,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function a$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,60,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,59,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,58,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,57,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,55,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,49)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,49)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,49)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](46,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](48,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](49,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,19,{options:1}),o["ɵqud"](603979776,20,{optionGroups:1}),o["ɵqud"](603979776,21,{customTrigger:0}),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,r$)),o["ɵdid"](55,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](56,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](57,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](59,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](60,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](62,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](64,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](65,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](66,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](67,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](69,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](70,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,10,0,t.inputForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text");var l=t.node.console_type,o=n(e,46,0,!0);n(e,45,0,l,o),n(e,49,0,"Console type"),n(e,55,0,t.consoleTypes);var i=t.node.console_auto_start,r=n(e,60,0,!0);n(e,59,0,i,r),n(e,67,0,"accent"),n(e,70,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,48).ngClassUntouched,o["ɵnov"](e,48).ngClassTouched,o["ɵnov"](e,48).ngClassPristine,o["ɵnov"](e,48).ngClassDirty,o["ɵnov"](e,48).ngClassValid,o["ɵnov"](e,48).ngClassInvalid,o["ɵnov"](e,48).ngClassPending,o["ɵnov"](e,49).id,o["ɵnov"](e,49).tabIndex,o["ɵnov"](e,49)._getAriaLabel(),o["ɵnov"](e,49)._getAriaLabelledby(),o["ɵnov"](e,49).required.toString(),o["ɵnov"](e,49).disabled.toString(),o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).panelOpen?o["ɵnov"](e,49)._optionIds:null,o["ɵnov"](e,49).multiple,o["ɵnov"](e,49)._ariaDescribedby||null,o["ɵnov"](e,49)._getAriaActiveDescendant(),o["ɵnov"](e,49).disabled,o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).required,o["ɵnov"](e,49).empty]),n(e,56,1,[o["ɵnov"](e,57).id,null,o["ɵnov"](e,57).indeterminate,o["ɵnov"](e,57).checked,o["ɵnov"](e,57).disabled,"before"==o["ɵnov"](e,57).labelPosition,"NoopAnimations"===o["ɵnov"](e,57)._animationMode,o["ɵnov"](e,62).ngClassUntouched,o["ɵnov"](e,62).ngClassTouched,o["ɵnov"](e,62).ngClassPristine,o["ɵnov"](e,62).ngClassDirty,o["ɵnov"](e,62).ngClassValid,o["ɵnov"](e,62).ngClassInvalid,o["ɵnov"](e,62).ngClassPending]),n(e,66,0,o["ɵnov"](e,67).disabled||null,"NoopAnimations"===o["ɵnov"](e,67)._animationMode),n(e,69,0,o["ɵnov"](e,70).disabled||null,"NoopAnimations"===o["ɵnov"](e,70)._animationMode)}))}function u$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-vpcs",[],null,null,null,a$,i$)),o["ɵdid"](1,114688,null,0,Rj,[tv,ij,hc,Gm,KT],null,null)],(function(n,e){n(e,1,0)}),null)}var s$=o["ɵccf"]("app-configurator-vpcs",Rj,u$,{},{},[]),d$=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function c$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,49,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,48,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,47,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,46,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,44,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Number of ports"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,44)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,44)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,44)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,45).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,51)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,51)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,51)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.numberOfPorts=t)&&l),l}),null,null)),o["ɵdid"](44,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](45,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](47,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](48,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](50,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](51,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[Lg]),(n()(),o["ɵeld"](53,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](54,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](55,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](56,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](58,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](59,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,10,0,t.inputForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text");var l=t.numberOfPorts,o=n(e,48,0,!0);n(e,47,0,l,o),n(e,51,0,"Number of ports","number"),n(e,56,0,"accent"),n(e,59,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,50).ngClassUntouched,o["ɵnov"](e,50).ngClassTouched,o["ɵnov"](e,50).ngClassPristine,o["ɵnov"](e,50).ngClassDirty,o["ɵnov"](e,50).ngClassValid,o["ɵnov"](e,50).ngClassInvalid,o["ɵnov"](e,50).ngClassPending,o["ɵnov"](e,51)._isServer,o["ɵnov"](e,51).id,o["ɵnov"](e,51).placeholder,o["ɵnov"](e,51).disabled,o["ɵnov"](e,51).required,o["ɵnov"](e,51).readonly&&!o["ɵnov"](e,51)._isNativeSelect||null,o["ɵnov"](e,51)._ariaDescribedby||null,o["ɵnov"](e,51).errorState,o["ɵnov"](e,51).required.toString()]),n(e,55,0,o["ɵnov"](e,56).disabled||null,"NoopAnimations"===o["ɵnov"](e,56)._animationMode),n(e,58,0,o["ɵnov"](e,59).disabled||null,"NoopAnimations"===o["ɵnov"](e,59)._animationMode)}))}function p$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-ethernet-hub",[],null,null,null,c$,d$)),o["ɵdid"](1,114688,null,0,Ij,[tv,ij,hc,Gm,KT],null,null)],(function(n,e){n(e,1,0)}),null)}var f$=o["ɵccf"]("app-configurator-ethernet-hub",Ij,p$,{},{},[]),h$=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function m$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[20,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function v$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-ports",[],null,null,null,zS,IS)),o["ɵdid"](1,114688,[[1,4],["ports",4]],0,RS,[oS],{ethernetPorts:[0,"ethernetPorts"]},null)],(function(n,e){n(e,1,0,e.component.node.properties.ports_mapping)}),null)}function g$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,52,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,51,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](2,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](3,0,null,0,47,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,5).onReset()&&l),l}),null,null)),o["ɵdid"](4,16384,null,0,qm,[],null,null),o["ɵdid"](5,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](7,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](8,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](9,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](20,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](22,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](24,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](25,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵeld"](27,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](28,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,11,{_controlNonStatic:0}),o["ɵqud"](335544320,12,{_controlStatic:0}),o["ɵqud"](603979776,13,{_labelChildNonStatic:0}),o["ɵqud"](335544320,14,{_labelChildStatic:0}),o["ɵqud"](603979776,15,{_placeholderChild:0}),o["ɵqud"](603979776,16,{_errorChildren:1}),o["ɵqud"](603979776,17,{_hintChildren:1}),o["ɵqud"](603979776,18,{_prefixChildren:1}),o["ɵqud"](603979776,19,{_suffixChildren:1}),(n()(),o["ɵeld"](38,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,44)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,44)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](40,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](41,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](43,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](44,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,20,{options:1}),o["ɵqud"](603979776,21,{optionGroups:1}),o["ɵqud"](603979776,22,{customTrigger:0}),o["ɵprd"](2048,[[11,4],[12,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,m$)),o["ɵdid"](50,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,v$)),o["ɵdid"](52,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,22,0,"name",t.node.name),n(e,25,0,"Name","text");var l=t.node.console_type,o=n(e,41,0,!0);n(e,40,0,l,o),n(e,44,0,"Console type"),n(e,50,0,t.consoleTypes),n(e,52,0,t.node.properties)}),(function(n,e){n(e,1,0,"NoopAnimations"===o["ɵnov"](e,2)._animationMode),n(e,3,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending),n(e,8,1,["standard"==o["ɵnov"](e,9).appearance,"fill"==o["ɵnov"](e,9).appearance,"outline"==o["ɵnov"](e,9).appearance,"legacy"==o["ɵnov"](e,9).appearance,o["ɵnov"](e,9)._control.errorState,o["ɵnov"](e,9)._canLabelFloat,o["ɵnov"](e,9)._shouldLabelFloat(),o["ɵnov"](e,9)._hasFloatingLabel(),o["ɵnov"](e,9)._hideControlPlaceholder(),o["ɵnov"](e,9)._control.disabled,o["ɵnov"](e,9)._control.autofilled,o["ɵnov"](e,9)._control.focused,"accent"==o["ɵnov"](e,9).color,"warn"==o["ɵnov"](e,9).color,o["ɵnov"](e,9)._shouldForward("untouched"),o["ɵnov"](e,9)._shouldForward("touched"),o["ɵnov"](e,9)._shouldForward("pristine"),o["ɵnov"](e,9)._shouldForward("dirty"),o["ɵnov"](e,9)._shouldForward("valid"),o["ɵnov"](e,9)._shouldForward("invalid"),o["ɵnov"](e,9)._shouldForward("pending"),!o["ɵnov"](e,9)._animationsEnabled]),n(e,19,1,[o["ɵnov"](e,24).ngClassUntouched,o["ɵnov"](e,24).ngClassTouched,o["ɵnov"](e,24).ngClassPristine,o["ɵnov"](e,24).ngClassDirty,o["ɵnov"](e,24).ngClassValid,o["ɵnov"](e,24).ngClassInvalid,o["ɵnov"](e,24).ngClassPending,o["ɵnov"](e,25)._isServer,o["ɵnov"](e,25).id,o["ɵnov"](e,25).placeholder,o["ɵnov"](e,25).disabled,o["ɵnov"](e,25).required,o["ɵnov"](e,25).readonly&&!o["ɵnov"](e,25)._isNativeSelect||null,o["ɵnov"](e,25)._ariaDescribedby||null,o["ɵnov"](e,25).errorState,o["ɵnov"](e,25).required.toString()]),n(e,27,1,["standard"==o["ɵnov"](e,28).appearance,"fill"==o["ɵnov"](e,28).appearance,"outline"==o["ɵnov"](e,28).appearance,"legacy"==o["ɵnov"](e,28).appearance,o["ɵnov"](e,28)._control.errorState,o["ɵnov"](e,28)._canLabelFloat,o["ɵnov"](e,28)._shouldLabelFloat(),o["ɵnov"](e,28)._hasFloatingLabel(),o["ɵnov"](e,28)._hideControlPlaceholder(),o["ɵnov"](e,28)._control.disabled,o["ɵnov"](e,28)._control.autofilled,o["ɵnov"](e,28)._control.focused,"accent"==o["ɵnov"](e,28).color,"warn"==o["ɵnov"](e,28).color,o["ɵnov"](e,28)._shouldForward("untouched"),o["ɵnov"](e,28)._shouldForward("touched"),o["ɵnov"](e,28)._shouldForward("pristine"),o["ɵnov"](e,28)._shouldForward("dirty"),o["ɵnov"](e,28)._shouldForward("valid"),o["ɵnov"](e,28)._shouldForward("invalid"),o["ɵnov"](e,28)._shouldForward("pending"),!o["ɵnov"](e,28)._animationsEnabled]),n(e,38,1,[o["ɵnov"](e,43).ngClassUntouched,o["ɵnov"](e,43).ngClassTouched,o["ɵnov"](e,43).ngClassPristine,o["ɵnov"](e,43).ngClassDirty,o["ɵnov"](e,43).ngClassValid,o["ɵnov"](e,43).ngClassInvalid,o["ɵnov"](e,43).ngClassPending,o["ɵnov"](e,44).id,o["ɵnov"](e,44).tabIndex,o["ɵnov"](e,44)._getAriaLabel(),o["ɵnov"](e,44)._getAriaLabelledby(),o["ɵnov"](e,44).required.toString(),o["ɵnov"](e,44).disabled.toString(),o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).panelOpen?o["ɵnov"](e,44)._optionIds:null,o["ɵnov"](e,44).multiple,o["ɵnov"](e,44)._ariaDescribedby||null,o["ɵnov"](e,44)._getAriaActiveDescendant(),o["ɵnov"](e,44).disabled,o["ɵnov"](e,44).errorState,o["ɵnov"](e,44).required,o["ɵnov"](e,44).empty])}))}function b$(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{portsComponent:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](3,null,["Configurator for node ",""])),(n()(),o["ɵeld"](4,0,null,null,3,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵand"](16777216,null,null,1,null,g$)),o["ɵdid"](7,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](8,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](9,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,7,0,t.node),n(e,11,0,"accent"),n(e,14,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,3,0,t.name),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode)}))}function _$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-ethernet-switch",[],null,null,null,b$,h$)),o["ɵdid"](1,114688,null,0,Dj,[tv,ij,hc,Gm,oS],null,null)],(function(n,e){n(e,1,0)}),null)}var y$=o["ɵccf"]("app-configurator-ethernet-switch",Dj,_$,{},{},[]),C$=o["ɵcrt"]({encapsulation:0,styles:[o$,IC],data:{}});function w$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port : DLCI"]))],null,null)}function S$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.portIn)}))}function x$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port : DLCI "]))],null,null)}function k$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.portOut)}))}function E$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function T$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete port"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete port"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete port"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function R$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function I$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function D$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,51,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,w$)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,S$)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,x$)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,k$)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,E$)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,T$)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,R$)),o["ɵdid"](47,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,I$)),o["ɵdid"](50,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,2,0,t.nodeMappingsDataSource),n(e,9,0,"portIn"),n(e,22,0,"portOut"),n(e,35,0,"actions"),n(e,47,0,t.displayedColumns),n(e,50,0,t.displayedColumns)}),null)}function F$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,121,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,120,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,119,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,118,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,D$)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,13).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,13).onReset()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,qm,[],null,null),o["ɵdid"](13,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](15,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](16,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](17,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,14,{_controlNonStatic:0}),o["ɵqud"](335544320,15,{_controlStatic:0}),o["ɵqud"](603979776,16,{_labelChildNonStatic:0}),o["ɵqud"](335544320,17,{_labelChildStatic:0}),o["ɵqud"](603979776,18,{_placeholderChild:0}),o["ɵqud"](603979776,19,{_errorChildren:1}),o["ɵqud"](603979776,20,{_hintChildren:1}),o["ɵqud"](603979776,21,{_prefixChildren:1}),o["ɵqud"](603979776,22,{_suffixChildren:1}),(n()(),o["ɵeld"](27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,28)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,28)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,28)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,33)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](28,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](30,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](32,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](33,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[14,4],[15,4]],ag,null,[Lg]),(n()(),o["ɵeld"](35,0,null,0,86,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,37).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,37).onReset()&&l),l}),null,null)),o["ɵdid"](36,16384,null,0,qm,[],null,null),o["ɵdid"](37,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](39,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵted"](-1,null,[" Source "])),(n()(),o["ɵeld"](41,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](42,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,23,{_controlNonStatic:0}),o["ɵqud"](335544320,24,{_controlStatic:0}),o["ɵqud"](603979776,25,{_labelChildNonStatic:0}),o["ɵqud"](335544320,26,{_labelChildStatic:0}),o["ɵqud"](603979776,27,{_placeholderChild:0}),o["ɵqud"](603979776,28,{_errorChildren:1}),o["ɵqud"](603979776,29,{_hintChildren:1}),o["ɵqud"](603979776,30,{_prefixChildren:1}),o["ɵqud"](603979776,31,{_suffixChildren:1}),(n()(),o["ɵeld"](52,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourcePort"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,53)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,53).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,53)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,53)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,54).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,54).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,54).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,59)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.sourcePort=t)&&l),l}),null,null)),o["ɵdid"](53,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](54,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](56,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](58,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](59,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[23,4],[24,4]],ag,null,[Lg]),(n()(),o["ɵeld"](61,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](62,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,32,{_controlNonStatic:0}),o["ɵqud"](335544320,33,{_controlStatic:0}),o["ɵqud"](603979776,34,{_labelChildNonStatic:0}),o["ɵqud"](335544320,35,{_labelChildStatic:0}),o["ɵqud"](603979776,36,{_placeholderChild:0}),o["ɵqud"](603979776,37,{_errorChildren:1}),o["ɵqud"](603979776,38,{_hintChildren:1}),o["ɵqud"](603979776,39,{_prefixChildren:1}),o["ɵqud"](603979776,40,{_suffixChildren:1}),(n()(),o["ɵeld"](72,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourceDlci"],["matInput",""],["placeholder","DLCI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,73)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,73).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,73)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,73)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,74).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,74).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,74).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,79)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,79)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,79)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.sourceDlci=t)&&l),l}),null,null)),o["ɵdid"](73,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](74,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](76,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](78,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](79,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[32,4],[33,4]],ag,null,[Lg]),(n()(),o["ɵted"](-1,null,[" Destination "])),(n()(),o["ɵeld"](82,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](83,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,41,{_controlNonStatic:0}),o["ɵqud"](335544320,42,{_controlStatic:0}),o["ɵqud"](603979776,43,{_labelChildNonStatic:0}),o["ɵqud"](335544320,44,{_labelChildStatic:0}),o["ɵqud"](603979776,45,{_placeholderChild:0}),o["ɵqud"](603979776,46,{_errorChildren:1}),o["ɵqud"](603979776,47,{_hintChildren:1}),o["ɵqud"](603979776,48,{_prefixChildren:1}),o["ɵqud"](603979776,49,{_suffixChildren:1}),(n()(),o["ɵeld"](93,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","destinationPort"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,94)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,94).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,94)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,94)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,95).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,95).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,95).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,100)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,100)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,100)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.destinationPort=t)&&l),l}),null,null)),o["ɵdid"](94,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](95,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](97,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](99,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](100,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[41,4],[42,4]],ag,null,[Lg]),(n()(),o["ɵeld"](102,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](103,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,50,{_controlNonStatic:0}),o["ɵqud"](335544320,51,{_controlStatic:0}),o["ɵqud"](603979776,52,{_labelChildNonStatic:0}),o["ɵqud"](335544320,53,{_labelChildStatic:0}),o["ɵqud"](603979776,54,{_placeholderChild:0}),o["ɵqud"](603979776,55,{_errorChildren:1}),o["ɵqud"](603979776,56,{_hintChildren:1}),o["ɵqud"](603979776,57,{_prefixChildren:1}),o["ɵqud"](603979776,58,{_suffixChildren:1}),(n()(),o["ɵeld"](113,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","destinationDlci"],["matInput",""],["placeholder","DLCI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,114)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,114).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,114)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,114)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,115).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,115).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,115).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,120)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,120)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,120)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.destinationDlci=t)&&l),l}),null,null)),o["ɵdid"](114,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](115,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](117,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](119,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](120,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[50,4],[51,4]],ag,null,[Lg]),(n()(),o["ɵeld"](122,0,null,0,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.add()&&l),l}),ou,lu)),o["ɵdid"](123,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](125,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](126,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](127,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](128,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](130,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](131,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,9,0,t.nodeMappingsDataSource.length),n(e,13,0,t.nameForm),n(e,30,0,"name",t.node.name),n(e,33,0,"Name","text"),n(e,37,0,t.inputForm),n(e,56,0,"sourcePort",t.sourcePort),n(e,59,0,"Port","number"),n(e,76,0,"sourceDlci",t.sourceDlci),n(e,79,0,"DLCI","number"),n(e,97,0,"destinationPort",t.destinationPort),n(e,100,0,"Port","number"),n(e,117,0,"destinationDlci",t.destinationDlci),n(e,120,0,"DLCI","number"),n(e,128,0,"accent"),n(e,131,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,11,0,o["ɵnov"](e,15).ngClassUntouched,o["ɵnov"](e,15).ngClassTouched,o["ɵnov"](e,15).ngClassPristine,o["ɵnov"](e,15).ngClassDirty,o["ɵnov"](e,15).ngClassValid,o["ɵnov"](e,15).ngClassInvalid,o["ɵnov"](e,15).ngClassPending),n(e,16,1,["standard"==o["ɵnov"](e,17).appearance,"fill"==o["ɵnov"](e,17).appearance,"outline"==o["ɵnov"](e,17).appearance,"legacy"==o["ɵnov"](e,17).appearance,o["ɵnov"](e,17)._control.errorState,o["ɵnov"](e,17)._canLabelFloat,o["ɵnov"](e,17)._shouldLabelFloat(),o["ɵnov"](e,17)._hasFloatingLabel(),o["ɵnov"](e,17)._hideControlPlaceholder(),o["ɵnov"](e,17)._control.disabled,o["ɵnov"](e,17)._control.autofilled,o["ɵnov"](e,17)._control.focused,"accent"==o["ɵnov"](e,17).color,"warn"==o["ɵnov"](e,17).color,o["ɵnov"](e,17)._shouldForward("untouched"),o["ɵnov"](e,17)._shouldForward("touched"),o["ɵnov"](e,17)._shouldForward("pristine"),o["ɵnov"](e,17)._shouldForward("dirty"),o["ɵnov"](e,17)._shouldForward("valid"),o["ɵnov"](e,17)._shouldForward("invalid"),o["ɵnov"](e,17)._shouldForward("pending"),!o["ɵnov"](e,17)._animationsEnabled]),n(e,27,1,[o["ɵnov"](e,32).ngClassUntouched,o["ɵnov"](e,32).ngClassTouched,o["ɵnov"](e,32).ngClassPristine,o["ɵnov"](e,32).ngClassDirty,o["ɵnov"](e,32).ngClassValid,o["ɵnov"](e,32).ngClassInvalid,o["ɵnov"](e,32).ngClassPending,o["ɵnov"](e,33)._isServer,o["ɵnov"](e,33).id,o["ɵnov"](e,33).placeholder,o["ɵnov"](e,33).disabled,o["ɵnov"](e,33).required,o["ɵnov"](e,33).readonly&&!o["ɵnov"](e,33)._isNativeSelect||null,o["ɵnov"](e,33)._ariaDescribedby||null,o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).required.toString()]),n(e,35,0,o["ɵnov"](e,39).ngClassUntouched,o["ɵnov"](e,39).ngClassTouched,o["ɵnov"](e,39).ngClassPristine,o["ɵnov"](e,39).ngClassDirty,o["ɵnov"](e,39).ngClassValid,o["ɵnov"](e,39).ngClassInvalid,o["ɵnov"](e,39).ngClassPending),n(e,41,1,["standard"==o["ɵnov"](e,42).appearance,"fill"==o["ɵnov"](e,42).appearance,"outline"==o["ɵnov"](e,42).appearance,"legacy"==o["ɵnov"](e,42).appearance,o["ɵnov"](e,42)._control.errorState,o["ɵnov"](e,42)._canLabelFloat,o["ɵnov"](e,42)._shouldLabelFloat(),o["ɵnov"](e,42)._hasFloatingLabel(),o["ɵnov"](e,42)._hideControlPlaceholder(),o["ɵnov"](e,42)._control.disabled,o["ɵnov"](e,42)._control.autofilled,o["ɵnov"](e,42)._control.focused,"accent"==o["ɵnov"](e,42).color,"warn"==o["ɵnov"](e,42).color,o["ɵnov"](e,42)._shouldForward("untouched"),o["ɵnov"](e,42)._shouldForward("touched"),o["ɵnov"](e,42)._shouldForward("pristine"),o["ɵnov"](e,42)._shouldForward("dirty"),o["ɵnov"](e,42)._shouldForward("valid"),o["ɵnov"](e,42)._shouldForward("invalid"),o["ɵnov"](e,42)._shouldForward("pending"),!o["ɵnov"](e,42)._animationsEnabled]),n(e,52,1,[o["ɵnov"](e,58).ngClassUntouched,o["ɵnov"](e,58).ngClassTouched,o["ɵnov"](e,58).ngClassPristine,o["ɵnov"](e,58).ngClassDirty,o["ɵnov"](e,58).ngClassValid,o["ɵnov"](e,58).ngClassInvalid,o["ɵnov"](e,58).ngClassPending,o["ɵnov"](e,59)._isServer,o["ɵnov"](e,59).id,o["ɵnov"](e,59).placeholder,o["ɵnov"](e,59).disabled,o["ɵnov"](e,59).required,o["ɵnov"](e,59).readonly&&!o["ɵnov"](e,59)._isNativeSelect||null,o["ɵnov"](e,59)._ariaDescribedby||null,o["ɵnov"](e,59).errorState,o["ɵnov"](e,59).required.toString()]),n(e,61,1,["standard"==o["ɵnov"](e,62).appearance,"fill"==o["ɵnov"](e,62).appearance,"outline"==o["ɵnov"](e,62).appearance,"legacy"==o["ɵnov"](e,62).appearance,o["ɵnov"](e,62)._control.errorState,o["ɵnov"](e,62)._canLabelFloat,o["ɵnov"](e,62)._shouldLabelFloat(),o["ɵnov"](e,62)._hasFloatingLabel(),o["ɵnov"](e,62)._hideControlPlaceholder(),o["ɵnov"](e,62)._control.disabled,o["ɵnov"](e,62)._control.autofilled,o["ɵnov"](e,62)._control.focused,"accent"==o["ɵnov"](e,62).color,"warn"==o["ɵnov"](e,62).color,o["ɵnov"](e,62)._shouldForward("untouched"),o["ɵnov"](e,62)._shouldForward("touched"),o["ɵnov"](e,62)._shouldForward("pristine"),o["ɵnov"](e,62)._shouldForward("dirty"),o["ɵnov"](e,62)._shouldForward("valid"),o["ɵnov"](e,62)._shouldForward("invalid"),o["ɵnov"](e,62)._shouldForward("pending"),!o["ɵnov"](e,62)._animationsEnabled]),n(e,72,1,[o["ɵnov"](e,78).ngClassUntouched,o["ɵnov"](e,78).ngClassTouched,o["ɵnov"](e,78).ngClassPristine,o["ɵnov"](e,78).ngClassDirty,o["ɵnov"](e,78).ngClassValid,o["ɵnov"](e,78).ngClassInvalid,o["ɵnov"](e,78).ngClassPending,o["ɵnov"](e,79)._isServer,o["ɵnov"](e,79).id,o["ɵnov"](e,79).placeholder,o["ɵnov"](e,79).disabled,o["ɵnov"](e,79).required,o["ɵnov"](e,79).readonly&&!o["ɵnov"](e,79)._isNativeSelect||null,o["ɵnov"](e,79)._ariaDescribedby||null,o["ɵnov"](e,79).errorState,o["ɵnov"](e,79).required.toString()]),n(e,82,1,["standard"==o["ɵnov"](e,83).appearance,"fill"==o["ɵnov"](e,83).appearance,"outline"==o["ɵnov"](e,83).appearance,"legacy"==o["ɵnov"](e,83).appearance,o["ɵnov"](e,83)._control.errorState,o["ɵnov"](e,83)._canLabelFloat,o["ɵnov"](e,83)._shouldLabelFloat(),o["ɵnov"](e,83)._hasFloatingLabel(),o["ɵnov"](e,83)._hideControlPlaceholder(),o["ɵnov"](e,83)._control.disabled,o["ɵnov"](e,83)._control.autofilled,o["ɵnov"](e,83)._control.focused,"accent"==o["ɵnov"](e,83).color,"warn"==o["ɵnov"](e,83).color,o["ɵnov"](e,83)._shouldForward("untouched"),o["ɵnov"](e,83)._shouldForward("touched"),o["ɵnov"](e,83)._shouldForward("pristine"),o["ɵnov"](e,83)._shouldForward("dirty"),o["ɵnov"](e,83)._shouldForward("valid"),o["ɵnov"](e,83)._shouldForward("invalid"),o["ɵnov"](e,83)._shouldForward("pending"),!o["ɵnov"](e,83)._animationsEnabled]),n(e,93,1,[o["ɵnov"](e,99).ngClassUntouched,o["ɵnov"](e,99).ngClassTouched,o["ɵnov"](e,99).ngClassPristine,o["ɵnov"](e,99).ngClassDirty,o["ɵnov"](e,99).ngClassValid,o["ɵnov"](e,99).ngClassInvalid,o["ɵnov"](e,99).ngClassPending,o["ɵnov"](e,100)._isServer,o["ɵnov"](e,100).id,o["ɵnov"](e,100).placeholder,o["ɵnov"](e,100).disabled,o["ɵnov"](e,100).required,o["ɵnov"](e,100).readonly&&!o["ɵnov"](e,100)._isNativeSelect||null,o["ɵnov"](e,100)._ariaDescribedby||null,o["ɵnov"](e,100).errorState,o["ɵnov"](e,100).required.toString()]),n(e,102,1,["standard"==o["ɵnov"](e,103).appearance,"fill"==o["ɵnov"](e,103).appearance,"outline"==o["ɵnov"](e,103).appearance,"legacy"==o["ɵnov"](e,103).appearance,o["ɵnov"](e,103)._control.errorState,o["ɵnov"](e,103)._canLabelFloat,o["ɵnov"](e,103)._shouldLabelFloat(),o["ɵnov"](e,103)._hasFloatingLabel(),o["ɵnov"](e,103)._hideControlPlaceholder(),o["ɵnov"](e,103)._control.disabled,o["ɵnov"](e,103)._control.autofilled,o["ɵnov"](e,103)._control.focused,"accent"==o["ɵnov"](e,103).color,"warn"==o["ɵnov"](e,103).color,o["ɵnov"](e,103)._shouldForward("untouched"),o["ɵnov"](e,103)._shouldForward("touched"),o["ɵnov"](e,103)._shouldForward("pristine"),o["ɵnov"](e,103)._shouldForward("dirty"),o["ɵnov"](e,103)._shouldForward("valid"),o["ɵnov"](e,103)._shouldForward("invalid"),o["ɵnov"](e,103)._shouldForward("pending"),!o["ɵnov"](e,103)._animationsEnabled]),n(e,113,1,[o["ɵnov"](e,119).ngClassUntouched,o["ɵnov"](e,119).ngClassTouched,o["ɵnov"](e,119).ngClassPristine,o["ɵnov"](e,119).ngClassDirty,o["ɵnov"](e,119).ngClassValid,o["ɵnov"](e,119).ngClassInvalid,o["ɵnov"](e,119).ngClassPending,o["ɵnov"](e,120)._isServer,o["ɵnov"](e,120).id,o["ɵnov"](e,120).placeholder,o["ɵnov"](e,120).disabled,o["ɵnov"](e,120).required,o["ɵnov"](e,120).readonly&&!o["ɵnov"](e,120)._isNativeSelect||null,o["ɵnov"](e,120)._ariaDescribedby||null,o["ɵnov"](e,120).errorState,o["ɵnov"](e,120).required.toString()]),n(e,122,0,o["ɵnov"](e,123).disabled||null,"NoopAnimations"===o["ɵnov"](e,123)._animationMode),n(e,127,0,o["ɵnov"](e,128).disabled||null,"NoopAnimations"===o["ɵnov"](e,128)._animationMode),n(e,130,0,o["ɵnov"](e,131).disabled||null,"NoopAnimations"===o["ɵnov"](e,131)._animationMode)}))}function O$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-switch",[],null,null,null,F$,C$)),o["ɵdid"](1,114688,null,0,Fj,[tv,ij,hc,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var M$=o["ɵccf"]("app-configurator-switch",Fj,O$,{},{},[]),N$=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function A$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[23,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function P$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[44,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function q$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,154,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,2,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,114,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,3,{templateLabel:0}),o["ɵqud"](335544320,4,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,102,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,5,{_controlNonStatic:0}),o["ɵqud"](335544320,6,{_controlStatic:0}),o["ɵqud"](603979776,7,{_labelChildNonStatic:0}),o["ɵqud"](335544320,8,{_labelChildStatic:0}),o["ɵqud"](603979776,9,{_placeholderChild:0}),o["ɵqud"](603979776,10,{_errorChildren:1}),o["ɵqud"](603979776,11,{_hintChildren:1}),o["ɵqud"](603979776,12,{_prefixChildren:1}),o["ɵqud"](603979776,13,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[5,4],[6,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,14,{_controlNonStatic:0}),o["ɵqud"](335544320,15,{_controlStatic:0}),o["ɵqud"](603979776,16,{_labelChildNonStatic:0}),o["ɵqud"](335544320,17,{_labelChildStatic:0}),o["ɵqud"](603979776,18,{_placeholderChild:0}),o["ɵqud"](603979776,19,{_errorChildren:1}),o["ɵqud"](603979776,20,{_hintChildren:1}),o["ɵqud"](603979776,21,{_prefixChildren:1}),o["ɵqud"](603979776,22,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,49)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,49)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,49)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](46,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](48,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](49,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,23,{options:1}),o["ɵqud"](603979776,24,{optionGroups:1}),o["ɵqud"](603979776,25,{customTrigger:0}),o["ɵprd"](2048,[[14,4],[15,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,A$)),o["ɵdid"](55,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](56,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](57,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](59,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](60,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](62,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](64,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](65,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,26,{_controlNonStatic:0}),o["ɵqud"](335544320,27,{_controlStatic:0}),o["ɵqud"](603979776,28,{_labelChildNonStatic:0}),o["ɵqud"](335544320,29,{_labelChildStatic:0}),o["ɵqud"](603979776,30,{_placeholderChild:0}),o["ɵqud"](603979776,31,{_errorChildren:1}),o["ɵqud"](603979776,32,{_hintChildren:1}),o["ɵqud"](603979776,33,{_prefixChildren:1}),o["ɵqud"](603979776,34,{_suffixChildren:1}),(n()(),o["ɵeld"](75,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,76)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,76)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,76)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,77).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,77).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,77).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,82)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,82)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,82)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.ram=t)&&l),l}),null,null)),o["ɵdid"](76,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](77,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](79,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](81,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](82,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[26,4],[27,4]],ag,null,[Lg]),(n()(),o["ɵeld"](84,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](85,16384,[[34,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](87,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](88,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,35,{_controlNonStatic:0}),o["ɵqud"](335544320,36,{_controlStatic:0}),o["ɵqud"](603979776,37,{_labelChildNonStatic:0}),o["ɵqud"](335544320,38,{_labelChildStatic:0}),o["ɵqud"](603979776,39,{_placeholderChild:0}),o["ɵqud"](603979776,40,{_errorChildren:1}),o["ɵqud"](603979776,41,{_hintChildren:1}),o["ɵqud"](603979776,42,{_prefixChildren:1}),o["ɵqud"](603979776,43,{_suffixChildren:1}),(n()(),o["ɵeld"](98,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,104)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,104)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,104)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](100,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](101,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](103,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](104,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,44,{options:1}),o["ɵqud"](603979776,45,{optionGroups:1}),o["ɵqud"](603979776,46,{customTrigger:0}),o["ɵprd"](2048,[[35,4],[36,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,P$)),o["ɵdid"](110,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](111,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.headless=t)&&l),l}),O_,F_)),o["ɵdid"](112,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](114,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](116,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start VM in headless mode "])),(n()(),o["ɵeld"](118,16777216,null,null,13,"mat-tab",[["label","Network"]],null,null,null,PG,NG)),o["ɵdid"](119,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,47,{templateLabel:0}),o["ɵqud"](335544320,48,{_explicitContent:0}),(n()(),o["ɵeld"](122,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](123,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.use_any_adapter=t)&&l),l}),O_,F_)),o["ɵdid"](124,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](126,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](128,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Allow GNS3 to use any configured VirtualBox adapter "])),(n()(),o["ɵeld"](130,0,null,0,1,"app-custom-adapters-table",[],null,null,null,nT,HE)),o["ɵdid"](131,49152,[[1,4],["customAdapters",4]],0,BE,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"],adapters:[2,"adapters"]},null),(n()(),o["ɵeld"](132,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](133,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,49,{templateLabel:0}),o["ɵqud"](335544320,50,{_explicitContent:0}),(n()(),o["ɵeld"](136,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](137,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,51,{_controlNonStatic:0}),o["ɵqud"](335544320,52,{_controlStatic:0}),o["ɵqud"](603979776,53,{_labelChildNonStatic:0}),o["ɵqud"](335544320,54,{_labelChildStatic:0}),o["ɵqud"](603979776,55,{_placeholderChild:0}),o["ɵqud"](603979776,56,{_errorChildren:1}),o["ɵqud"](603979776,57,{_hintChildren:1}),o["ɵqud"](603979776,58,{_prefixChildren:1}),o["ɵqud"](603979776,59,{_suffixChildren:1}),(n()(),o["ɵeld"](147,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,148)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,148).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,148)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,148)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,153)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,153)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,153)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](148,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](150,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](152,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](153,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[51,4],[52,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text");var l=t.node.console_type,o=n(e,46,0,!0);n(e,45,0,l,o),n(e,49,0,"Console type"),n(e,55,0,t.consoleTypes);var i=t.node.console_auto_start,r=n(e,60,0,!0);n(e,59,0,i,r),n(e,79,0,"ram",t.node.properties.ram),n(e,82,0,"RAM","number");var a=t.node.properties.on_close,u=n(e,101,0,!0);n(e,100,0,a,u),n(e,104,0,"On close"),n(e,110,0,t.onCloseOptions),n(e,114,0,t.node.properties.headless),n(e,119,0,"Network"),n(e,126,0,t.node.properties.use_any_adapter),n(e,131,0,t.networkTypes,t.displayedColumns,t.node.ports),n(e,133,0,"Usage"),n(e,150,0,t.node.properties.usage),n(e,153,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,48).ngClassUntouched,o["ɵnov"](e,48).ngClassTouched,o["ɵnov"](e,48).ngClassPristine,o["ɵnov"](e,48).ngClassDirty,o["ɵnov"](e,48).ngClassValid,o["ɵnov"](e,48).ngClassInvalid,o["ɵnov"](e,48).ngClassPending,o["ɵnov"](e,49).id,o["ɵnov"](e,49).tabIndex,o["ɵnov"](e,49)._getAriaLabel(),o["ɵnov"](e,49)._getAriaLabelledby(),o["ɵnov"](e,49).required.toString(),o["ɵnov"](e,49).disabled.toString(),o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).panelOpen?o["ɵnov"](e,49)._optionIds:null,o["ɵnov"](e,49).multiple,o["ɵnov"](e,49)._ariaDescribedby||null,o["ɵnov"](e,49)._getAriaActiveDescendant(),o["ɵnov"](e,49).disabled,o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).required,o["ɵnov"](e,49).empty]),n(e,56,1,[o["ɵnov"](e,57).id,null,o["ɵnov"](e,57).indeterminate,o["ɵnov"](e,57).checked,o["ɵnov"](e,57).disabled,"before"==o["ɵnov"](e,57).labelPosition,"NoopAnimations"===o["ɵnov"](e,57)._animationMode,o["ɵnov"](e,62).ngClassUntouched,o["ɵnov"](e,62).ngClassTouched,o["ɵnov"](e,62).ngClassPristine,o["ɵnov"](e,62).ngClassDirty,o["ɵnov"](e,62).ngClassValid,o["ɵnov"](e,62).ngClassInvalid,o["ɵnov"](e,62).ngClassPending]),n(e,64,1,["standard"==o["ɵnov"](e,65).appearance,"fill"==o["ɵnov"](e,65).appearance,"outline"==o["ɵnov"](e,65).appearance,"legacy"==o["ɵnov"](e,65).appearance,o["ɵnov"](e,65)._control.errorState,o["ɵnov"](e,65)._canLabelFloat,o["ɵnov"](e,65)._shouldLabelFloat(),o["ɵnov"](e,65)._hasFloatingLabel(),o["ɵnov"](e,65)._hideControlPlaceholder(),o["ɵnov"](e,65)._control.disabled,o["ɵnov"](e,65)._control.autofilled,o["ɵnov"](e,65)._control.focused,"accent"==o["ɵnov"](e,65).color,"warn"==o["ɵnov"](e,65).color,o["ɵnov"](e,65)._shouldForward("untouched"),o["ɵnov"](e,65)._shouldForward("touched"),o["ɵnov"](e,65)._shouldForward("pristine"),o["ɵnov"](e,65)._shouldForward("dirty"),o["ɵnov"](e,65)._shouldForward("valid"),o["ɵnov"](e,65)._shouldForward("invalid"),o["ɵnov"](e,65)._shouldForward("pending"),!o["ɵnov"](e,65)._animationsEnabled]),n(e,75,1,[o["ɵnov"](e,81).ngClassUntouched,o["ɵnov"](e,81).ngClassTouched,o["ɵnov"](e,81).ngClassPristine,o["ɵnov"](e,81).ngClassDirty,o["ɵnov"](e,81).ngClassValid,o["ɵnov"](e,81).ngClassInvalid,o["ɵnov"](e,81).ngClassPending,o["ɵnov"](e,82)._isServer,o["ɵnov"](e,82).id,o["ɵnov"](e,82).placeholder,o["ɵnov"](e,82).disabled,o["ɵnov"](e,82).required,o["ɵnov"](e,82).readonly&&!o["ɵnov"](e,82)._isNativeSelect||null,o["ɵnov"](e,82)._ariaDescribedby||null,o["ɵnov"](e,82).errorState,o["ɵnov"](e,82).required.toString()]),n(e,87,1,["standard"==o["ɵnov"](e,88).appearance,"fill"==o["ɵnov"](e,88).appearance,"outline"==o["ɵnov"](e,88).appearance,"legacy"==o["ɵnov"](e,88).appearance,o["ɵnov"](e,88)._control.errorState,o["ɵnov"](e,88)._canLabelFloat,o["ɵnov"](e,88)._shouldLabelFloat(),o["ɵnov"](e,88)._hasFloatingLabel(),o["ɵnov"](e,88)._hideControlPlaceholder(),o["ɵnov"](e,88)._control.disabled,o["ɵnov"](e,88)._control.autofilled,o["ɵnov"](e,88)._control.focused,"accent"==o["ɵnov"](e,88).color,"warn"==o["ɵnov"](e,88).color,o["ɵnov"](e,88)._shouldForward("untouched"),o["ɵnov"](e,88)._shouldForward("touched"),o["ɵnov"](e,88)._shouldForward("pristine"),o["ɵnov"](e,88)._shouldForward("dirty"),o["ɵnov"](e,88)._shouldForward("valid"),o["ɵnov"](e,88)._shouldForward("invalid"),o["ɵnov"](e,88)._shouldForward("pending"),!o["ɵnov"](e,88)._animationsEnabled]),n(e,98,1,[o["ɵnov"](e,103).ngClassUntouched,o["ɵnov"](e,103).ngClassTouched,o["ɵnov"](e,103).ngClassPristine,o["ɵnov"](e,103).ngClassDirty,o["ɵnov"](e,103).ngClassValid,o["ɵnov"](e,103).ngClassInvalid,o["ɵnov"](e,103).ngClassPending,o["ɵnov"](e,104).id,o["ɵnov"](e,104).tabIndex,o["ɵnov"](e,104)._getAriaLabel(),o["ɵnov"](e,104)._getAriaLabelledby(),o["ɵnov"](e,104).required.toString(),o["ɵnov"](e,104).disabled.toString(),o["ɵnov"](e,104).errorState,o["ɵnov"](e,104).panelOpen?o["ɵnov"](e,104)._optionIds:null,o["ɵnov"](e,104).multiple,o["ɵnov"](e,104)._ariaDescribedby||null,o["ɵnov"](e,104)._getAriaActiveDescendant(),o["ɵnov"](e,104).disabled,o["ɵnov"](e,104).errorState,o["ɵnov"](e,104).required,o["ɵnov"](e,104).empty]),n(e,111,1,[o["ɵnov"](e,112).id,null,o["ɵnov"](e,112).indeterminate,o["ɵnov"](e,112).checked,o["ɵnov"](e,112).disabled,"before"==o["ɵnov"](e,112).labelPosition,"NoopAnimations"===o["ɵnov"](e,112)._animationMode,o["ɵnov"](e,116).ngClassUntouched,o["ɵnov"](e,116).ngClassTouched,o["ɵnov"](e,116).ngClassPristine,o["ɵnov"](e,116).ngClassDirty,o["ɵnov"](e,116).ngClassValid,o["ɵnov"](e,116).ngClassInvalid,o["ɵnov"](e,116).ngClassPending]),n(e,123,1,[o["ɵnov"](e,124).id,null,o["ɵnov"](e,124).indeterminate,o["ɵnov"](e,124).checked,o["ɵnov"](e,124).disabled,"before"==o["ɵnov"](e,124).labelPosition,"NoopAnimations"===o["ɵnov"](e,124)._animationMode,o["ɵnov"](e,128).ngClassUntouched,o["ɵnov"](e,128).ngClassTouched,o["ɵnov"](e,128).ngClassPristine,o["ɵnov"](e,128).ngClassDirty,o["ɵnov"](e,128).ngClassValid,o["ɵnov"](e,128).ngClassInvalid,o["ɵnov"](e,128).ngClassPending]),n(e,136,1,["standard"==o["ɵnov"](e,137).appearance,"fill"==o["ɵnov"](e,137).appearance,"outline"==o["ɵnov"](e,137).appearance,"legacy"==o["ɵnov"](e,137).appearance,o["ɵnov"](e,137)._control.errorState,o["ɵnov"](e,137)._canLabelFloat,o["ɵnov"](e,137)._shouldLabelFloat(),o["ɵnov"](e,137)._hasFloatingLabel(),o["ɵnov"](e,137)._hideControlPlaceholder(),o["ɵnov"](e,137)._control.disabled,o["ɵnov"](e,137)._control.autofilled,o["ɵnov"](e,137)._control.focused,"accent"==o["ɵnov"](e,137).color,"warn"==o["ɵnov"](e,137).color,o["ɵnov"](e,137)._shouldForward("untouched"),o["ɵnov"](e,137)._shouldForward("touched"),o["ɵnov"](e,137)._shouldForward("pristine"),o["ɵnov"](e,137)._shouldForward("dirty"),o["ɵnov"](e,137)._shouldForward("valid"),o["ɵnov"](e,137)._shouldForward("invalid"),o["ɵnov"](e,137)._shouldForward("pending"),!o["ɵnov"](e,137)._animationsEnabled]),n(e,147,1,[o["ɵnov"](e,152).ngClassUntouched,o["ɵnov"](e,152).ngClassTouched,o["ɵnov"](e,152).ngClassPristine,o["ɵnov"](e,152).ngClassDirty,o["ɵnov"](e,152).ngClassValid,o["ɵnov"](e,152).ngClassInvalid,o["ɵnov"](e,152).ngClassPending,o["ɵnov"](e,153)._isServer,o["ɵnov"](e,153).id,o["ɵnov"](e,153).placeholder,o["ɵnov"](e,153).disabled,o["ɵnov"](e,153).required,o["ɵnov"](e,153).readonly&&!o["ɵnov"](e,153)._isNativeSelect||null,o["ɵnov"](e,153)._ariaDescribedby||null,o["ɵnov"](e,153).errorState,o["ɵnov"](e,153).required.toString()])}))}function L$(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdapters:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](3,null,["Configurator for node ",""])),(n()(),o["ɵeld"](4,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](8,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,q$)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](12,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](17,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,10,0,t.name),n(e,14,0,"accent"),n(e,17,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,3,0,t.name),n(e,7,0,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,16,0,o["ɵnov"](e,17).disabled||null,"NoopAnimations"===o["ɵnov"](e,17)._animationMode)}))}function j$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-virtualbox",[],null,null,null,L$,N$)),o["ɵdid"](1,114688,null,0,Oj,[tv,ij,hc,Gm,CR],null,null)],(function(n,e){n(e,1,0)}),null)}var V$=o["ɵccf"]("app-configurator-virtualbox",Oj,j$,{},{},[]),B$=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function H$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[41,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.path)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)}))}function U$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[53,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function z$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[65,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function G$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[77,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function W$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[82,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.filename)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function Z$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[94,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function K$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[97,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.filename)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function X$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[109,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function Y$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[112,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.filename)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function $$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[124,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function Q$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[127,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.filename)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)}))}function J$(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[139,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function nQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](1,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,193,{_controlNonStatic:0}),o["ɵqud"](335544320,194,{_controlStatic:0}),o["ɵqud"](603979776,195,{_labelChildNonStatic:0}),o["ɵqud"](335544320,196,{_labelChildStatic:0}),o["ɵqud"](603979776,197,{_placeholderChild:0}),o["ɵqud"](603979776,198,{_errorChildren:1}),o["ɵqud"](603979776,199,{_hintChildren:1}),o["ɵqud"](603979776,200,{_prefixChildren:1}),o["ɵqud"](603979776,201,{_suffixChildren:1}),(n()(),o["ɵeld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Perecentage of CPU allowed"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.cpu_throttling=t)&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](13,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](15,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[193,4],[194,4]],ag,null,[Lg])],(function(n,e){n(e,15,0,e.component.node.properties.cpu_throttling),n(e,18,0,"Perecentage of CPU allowed","number")}),(function(n,e){n(e,0,1,["standard"==o["ɵnov"](e,1).appearance,"fill"==o["ɵnov"](e,1).appearance,"outline"==o["ɵnov"](e,1).appearance,"legacy"==o["ɵnov"](e,1).appearance,o["ɵnov"](e,1)._control.errorState,o["ɵnov"](e,1)._canLabelFloat,o["ɵnov"](e,1)._shouldLabelFloat(),o["ɵnov"](e,1)._hasFloatingLabel(),o["ɵnov"](e,1)._hideControlPlaceholder(),o["ɵnov"](e,1)._control.disabled,o["ɵnov"](e,1)._control.autofilled,o["ɵnov"](e,1)._control.focused,"accent"==o["ɵnov"](e,1).color,"warn"==o["ɵnov"](e,1).color,o["ɵnov"](e,1)._shouldForward("untouched"),o["ɵnov"](e,1)._shouldForward("touched"),o["ɵnov"](e,1)._shouldForward("pristine"),o["ɵnov"](e,1)._shouldForward("dirty"),o["ɵnov"](e,1)._shouldForward("valid"),o["ɵnov"](e,1)._shouldForward("invalid"),o["ɵnov"](e,1)._shouldForward("pending"),!o["ɵnov"](e,1)._animationsEnabled]),n(e,11,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18)._isServer,o["ɵnov"](e,18).id,o["ɵnov"](e,18).placeholder,o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).required,o["ɵnov"](e,18).readonly&&!o["ɵnov"](e,18)._isNativeSelect||null,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required.toString()])}))}function eQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[211,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function tQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,603,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,2,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,170,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,3,{templateLabel:0}),o["ɵqud"](335544320,4,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,46,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,5,{_controlNonStatic:0}),o["ɵqud"](335544320,6,{_controlStatic:0}),o["ɵqud"](603979776,7,{_labelChildNonStatic:0}),o["ɵqud"](335544320,8,{_labelChildStatic:0}),o["ɵqud"](603979776,9,{_placeholderChild:0}),o["ɵqud"](603979776,10,{_errorChildren:1}),o["ɵqud"](603979776,11,{_hintChildren:1}),o["ɵqud"](603979776,12,{_prefixChildren:1}),o["ɵqud"](603979776,13,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[5,4],[6,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,14,{_controlNonStatic:0}),o["ɵqud"](335544320,15,{_controlStatic:0}),o["ɵqud"](603979776,16,{_labelChildNonStatic:0}),o["ɵqud"](335544320,17,{_labelChildStatic:0}),o["ɵqud"](603979776,18,{_placeholderChild:0}),o["ɵqud"](603979776,19,{_errorChildren:1}),o["ɵqud"](603979776,20,{_hintChildren:1}),o["ɵqud"](603979776,21,{_prefixChildren:1}),o["ɵqud"](603979776,22,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,44)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,44)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,44)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,45).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,50)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,50)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,50)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.ram=t)&&l),l}),null,null)),o["ɵdid"](44,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](45,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](47,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](49,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](50,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[14,4],[15,4]],ag,null,[Lg]),(n()(),o["ɵeld"](52,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](53,16384,[[22,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](55,0,null,0,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](56,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,23,{_controlNonStatic:0}),o["ɵqud"](335544320,24,{_controlStatic:0}),o["ɵqud"](603979776,25,{_labelChildNonStatic:0}),o["ɵqud"](335544320,26,{_labelChildStatic:0}),o["ɵqud"](603979776,27,{_placeholderChild:0}),o["ɵqud"](603979776,28,{_errorChildren:1}),o["ɵqud"](603979776,29,{_hintChildren:1}),o["ɵqud"](603979776,30,{_prefixChildren:1}),o["ɵqud"](603979776,31,{_suffixChildren:1}),(n()(),o["ɵeld"](66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","vCPUs"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,67)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,67).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,67)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,67)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,68).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,68).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,73)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,73)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.cpus=t)&&l),l}),null,null)),o["ɵdid"](67,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](68,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](70,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](72,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](73,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[23,4],[24,4]],ag,null,[Lg]),(n()(),o["ɵeld"](75,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](76,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,32,{_controlNonStatic:0}),o["ɵqud"](335544320,33,{_controlStatic:0}),o["ɵqud"](603979776,34,{_labelChildNonStatic:0}),o["ɵqud"](335544320,35,{_labelChildStatic:0}),o["ɵqud"](603979776,36,{_placeholderChild:0}),o["ɵqud"](603979776,37,{_errorChildren:1}),o["ɵqud"](603979776,38,{_hintChildren:1}),o["ɵqud"](603979776,39,{_prefixChildren:1}),o["ɵqud"](603979776,40,{_suffixChildren:1}),(n()(),o["ɵeld"](86,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Qemu binary"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,91)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,91)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.qemu_path=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](88,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](90,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](91,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,41,{options:1}),o["ɵqud"](603979776,42,{optionGroups:1}),o["ɵqud"](603979776,43,{customTrigger:0}),o["ɵprd"](2048,[[32,4],[33,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,H$)),o["ɵdid"](97,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](98,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](99,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,44,{_controlNonStatic:0}),o["ɵqud"](335544320,45,{_controlStatic:0}),o["ɵqud"](603979776,46,{_labelChildNonStatic:0}),o["ɵqud"](335544320,47,{_labelChildStatic:0}),o["ɵqud"](603979776,48,{_placeholderChild:0}),o["ɵqud"](603979776,49,{_errorChildren:1}),o["ɵqud"](603979776,50,{_hintChildren:1}),o["ɵqud"](603979776,51,{_prefixChildren:1}),o["ɵqud"](603979776,52,{_suffixChildren:1}),(n()(),o["ɵeld"](109,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Boot priority"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,114)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,114)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,114)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.boot_priority=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](111,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](113,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](114,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,53,{options:1}),o["ɵqud"](603979776,54,{optionGroups:1}),o["ɵqud"](603979776,55,{customTrigger:0}),o["ɵprd"](2048,[[44,4],[45,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,U$)),o["ɵdid"](120,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](121,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](122,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,56,{_controlNonStatic:0}),o["ɵqud"](335544320,57,{_controlStatic:0}),o["ɵqud"](603979776,58,{_labelChildNonStatic:0}),o["ɵqud"](335544320,59,{_labelChildStatic:0}),o["ɵqud"](603979776,60,{_placeholderChild:0}),o["ɵqud"](603979776,61,{_errorChildren:1}),o["ɵqud"](603979776,62,{_hintChildren:1}),o["ɵqud"](603979776,63,{_prefixChildren:1}),o["ɵqud"](603979776,64,{_suffixChildren:1}),(n()(),o["ɵeld"](132,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,137)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,137)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,137)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](134,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](136,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](137,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,65,{options:1}),o["ɵqud"](603979776,66,{optionGroups:1}),o["ɵqud"](603979776,67,{customTrigger:0}),o["ɵprd"](2048,[[56,4],[57,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,z$)),o["ɵdid"](143,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](144,0,null,0,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](145,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,68,{_controlNonStatic:0}),o["ɵqud"](335544320,69,{_controlStatic:0}),o["ɵqud"](603979776,70,{_labelChildNonStatic:0}),o["ɵqud"](335544320,71,{_labelChildStatic:0}),o["ɵqud"](603979776,72,{_placeholderChild:0}),o["ɵqud"](603979776,73,{_errorChildren:1}),o["ɵqud"](603979776,74,{_hintChildren:1}),o["ɵqud"](603979776,75,{_prefixChildren:1}),o["ɵqud"](603979776,76,{_suffixChildren:1}),(n()(),o["ɵeld"](155,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,160)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,160)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,160)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](157,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](159,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](160,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,77,{options:1}),o["ɵqud"](603979776,78,{optionGroups:1}),o["ɵqud"](603979776,79,{customTrigger:0}),o["ɵprd"](2048,[[68,4],[69,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,G$)),o["ɵdid"](166,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](167,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](168,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](170,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](172,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](174,16777216,null,null,182,"mat-tab",[["label","HDD"]],null,null,null,PG,NG)),o["ɵdid"](175,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,80,{templateLabel:0}),o["ɵqud"](335544320,81,{_explicitContent:0}),(n()(),o["ɵeld"](178,0,null,0,46,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](179,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](180,0,null,0,2,"button",[["class","create-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.openQemuImageCreator()&&l),l}),ou,lu)),o["ɵdid"](181,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Create Qemu image"])),(n()(),o["ɵeld"](183,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](184,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](185,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](186,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDA (Primary Master) "])),(n()(),o["ɵeld"](188,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](189,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](190,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Disk image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,196)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,196)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,196)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hda_disk_image=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](193,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](195,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](196,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,82,{options:1}),o["ɵqud"](603979776,83,{optionGroups:1}),o["ɵqud"](603979776,84,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,W$)),o["ɵdid"](201,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](202,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](203,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,85,{_controlNonStatic:0}),o["ɵqud"](335544320,86,{_controlStatic:0}),o["ɵqud"](603979776,87,{_labelChildNonStatic:0}),o["ɵqud"](335544320,88,{_labelChildStatic:0}),o["ɵqud"](603979776,89,{_placeholderChild:0}),o["ɵqud"](603979776,90,{_errorChildren:1}),o["ɵqud"](603979776,91,{_hintChildren:1}),o["ɵqud"](603979776,92,{_prefixChildren:1}),o["ɵqud"](603979776,93,{_suffixChildren:1}),(n()(),o["ɵeld"](213,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,218)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,218)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,218)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hda_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](215,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](217,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](218,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,94,{options:1}),o["ɵqud"](603979776,95,{optionGroups:1}),o["ɵqud"](603979776,96,{customTrigger:0}),o["ɵprd"](2048,[[85,4],[86,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,Z$)),o["ɵdid"](224,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](225,0,null,0,43,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](226,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](227,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](228,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](229,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](230,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDB (Primary Slave) "])),(n()(),o["ɵeld"](232,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](233,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](234,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Disk image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,240)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,240)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,240)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdb_disk_image=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](237,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](239,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](240,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,97,{options:1}),o["ɵqud"](603979776,98,{optionGroups:1}),o["ɵqud"](603979776,99,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,K$)),o["ɵdid"](245,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](246,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](247,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,100,{_controlNonStatic:0}),o["ɵqud"](335544320,101,{_controlStatic:0}),o["ɵqud"](603979776,102,{_labelChildNonStatic:0}),o["ɵqud"](335544320,103,{_labelChildStatic:0}),o["ɵqud"](603979776,104,{_placeholderChild:0}),o["ɵqud"](603979776,105,{_errorChildren:1}),o["ɵqud"](603979776,106,{_hintChildren:1}),o["ɵqud"](603979776,107,{_prefixChildren:1}),o["ɵqud"](603979776,108,{_suffixChildren:1}),(n()(),o["ɵeld"](257,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,262)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,262)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,262)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdb_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](259,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](261,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](262,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,109,{options:1}),o["ɵqud"](603979776,110,{optionGroups:1}),o["ɵqud"](603979776,111,{customTrigger:0}),o["ɵprd"](2048,[[100,4],[101,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,X$)),o["ɵdid"](268,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](269,0,null,0,43,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](270,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](271,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](272,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](273,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](274,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDC (Secondary Master) "])),(n()(),o["ɵeld"](276,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](277,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](278,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Disk image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,284)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,284)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,284)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdc_disk_image=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](281,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](283,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](284,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,112,{options:1}),o["ɵqud"](603979776,113,{optionGroups:1}),o["ɵqud"](603979776,114,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,Y$)),o["ɵdid"](289,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](290,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](291,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,115,{_controlNonStatic:0}),o["ɵqud"](335544320,116,{_controlStatic:0}),o["ɵqud"](603979776,117,{_labelChildNonStatic:0}),o["ɵqud"](335544320,118,{_labelChildStatic:0}),o["ɵqud"](603979776,119,{_placeholderChild:0}),o["ɵqud"](603979776,120,{_errorChildren:1}),o["ɵqud"](603979776,121,{_hintChildren:1}),o["ɵqud"](603979776,122,{_prefixChildren:1}),o["ɵqud"](603979776,123,{_suffixChildren:1}),(n()(),o["ɵeld"](301,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,306)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,306)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,306)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdc_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](303,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](305,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](306,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,124,{options:1}),o["ɵqud"](603979776,125,{optionGroups:1}),o["ɵqud"](603979776,126,{customTrigger:0}),o["ɵprd"](2048,[[115,4],[116,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,$$)),o["ɵdid"](312,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](313,0,null,0,43,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](314,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](315,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](316,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](317,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](318,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" HDD (Secondary Slave) "])),(n()(),o["ɵeld"](320,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](321,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](322,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Disk image"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,328)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,328)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,328)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdd_disk_image=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](325,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](327,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](328,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,127,{options:1}),o["ɵqud"](603979776,128,{optionGroups:1}),o["ɵqud"](603979776,129,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,Q$)),o["ɵdid"](333,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](334,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](335,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,130,{_controlNonStatic:0}),o["ɵqud"](335544320,131,{_controlStatic:0}),o["ɵqud"](603979776,132,{_labelChildNonStatic:0}),o["ɵqud"](335544320,133,{_labelChildStatic:0}),o["ɵqud"](603979776,134,{_placeholderChild:0}),o["ɵqud"](603979776,135,{_errorChildren:1}),o["ɵqud"](603979776,136,{_hintChildren:1}),o["ɵqud"](603979776,137,{_prefixChildren:1}),o["ɵqud"](603979776,138,{_suffixChildren:1}),(n()(),o["ɵeld"](345,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,350)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,350)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,350)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.hdd_disk_interface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](347,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](349,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](350,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,139,{options:1}),o["ɵqud"](603979776,140,{optionGroups:1}),o["ɵqud"](603979776,141,{customTrigger:0}),o["ɵprd"](2048,[[130,4],[131,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,J$)),o["ɵdid"](356,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](357,16777216,null,null,27,"mat-tab",[["label","CD/DVD"]],null,null,null,PG,NG)),o["ɵdid"](358,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,142,{templateLabel:0}),o["ɵqud"](335544320,143,{_explicitContent:0}),(n()(),o["ɵeld"](361,0,null,0,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](362,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,365).click()&&l),l}),ou,lu)),o["ɵdid"](363,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](365,0,[["filecdrom",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadCdromImageFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](366,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](367,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,144,{_controlNonStatic:0}),o["ɵqud"](335544320,145,{_controlStatic:0}),o["ɵqud"](603979776,146,{_labelChildNonStatic:0}),o["ɵqud"](335544320,147,{_labelChildStatic:0}),o["ɵqud"](603979776,148,{_placeholderChild:0}),o["ɵqud"](603979776,149,{_errorChildren:1}),o["ɵqud"](603979776,150,{_hintChildren:1}),o["ɵqud"](603979776,151,{_prefixChildren:1}),o["ɵqud"](603979776,152,{_suffixChildren:1}),(n()(),o["ɵeld"](377,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,378)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,378).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,378)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,378)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,383)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,383)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,383)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.cdrom_image=t)&&l),l}),null,null)),o["ɵdid"](378,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](380,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](382,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](383,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[144,4],[145,4]],ag,null,[Lg]),(n()(),o["ɵeld"](385,16777216,null,null,13,"mat-tab",[["label","Network"]],null,null,null,PG,NG)),o["ɵdid"](386,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,153,{templateLabel:0}),o["ɵqud"](335544320,154,{_explicitContent:0}),(n()(),o["ɵeld"](389,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](390,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.legacy_networking=t)&&l),l}),O_,F_)),o["ɵdid"](391,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](393,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](395,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use the legacy networking mode "])),(n()(),o["ɵeld"](397,0,null,0,1,"app-custom-adapters-table",[],null,null,null,nT,HE)),o["ɵdid"](398,49152,[[1,4],["customAdapters",4]],0,BE,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"],adapters:[2,"adapters"]},null),(n()(),o["ɵeld"](399,16777216,null,null,181,"mat-tab",[["label","Advanced"]],null,null,null,PG,NG)),o["ɵdid"](400,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,155,{templateLabel:0}),o["ɵqud"](335544320,156,{_explicitContent:0}),(n()(),o["ɵeld"](403,0,null,0,75,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](404,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](405,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](406,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](407,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](408,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Linux boot specific settings "])),(n()(),o["ɵeld"](410,0,null,0,68,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](411,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](412,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](413,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,416).click()&&l),l}),ou,lu)),o["ɵdid"](414,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](416,0,[["fileinitrd",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadInitrdFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](417,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](418,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,157,{_controlNonStatic:0}),o["ɵqud"](335544320,158,{_controlStatic:0}),o["ɵqud"](603979776,159,{_labelChildNonStatic:0}),o["ɵqud"](335544320,160,{_labelChildStatic:0}),o["ɵqud"](603979776,161,{_placeholderChild:0}),o["ɵqud"](603979776,162,{_errorChildren:1}),o["ɵqud"](603979776,163,{_hintChildren:1}),o["ɵqud"](603979776,164,{_prefixChildren:1}),o["ɵqud"](603979776,165,{_suffixChildren:1}),(n()(),o["ɵeld"](428,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Initial RAM disk (initrd)"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,429)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,429).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,429)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,429)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,434)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,434)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,434)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.initrd=t)&&l),l}),null,null)),o["ɵdid"](429,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](431,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](433,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](434,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[157,4],[158,4]],ag,null,[Lg]),(n()(),o["ɵeld"](436,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](437,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.filekerenelimage.click()&&l),l}),ou,lu)),o["ɵdid"](438,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](440,0,[["filekernelimage",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadKernelImageFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](441,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](442,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,166,{_controlNonStatic:0}),o["ɵqud"](335544320,167,{_controlStatic:0}),o["ɵqud"](603979776,168,{_labelChildNonStatic:0}),o["ɵqud"](335544320,169,{_labelChildStatic:0}),o["ɵqud"](603979776,170,{_placeholderChild:0}),o["ɵqud"](603979776,171,{_errorChildren:1}),o["ɵqud"](603979776,172,{_hintChildren:1}),o["ɵqud"](603979776,173,{_prefixChildren:1}),o["ɵqud"](603979776,174,{_suffixChildren:1}),(n()(),o["ɵeld"](452,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,453)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,453).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,453)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,453)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,458)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,458)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,458)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.kernel_image=t)&&l),l}),null,null)),o["ɵdid"](453,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](455,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](457,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](458,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[166,4],[167,4]],ag,null,[Lg]),(n()(),o["ɵeld"](460,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](461,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,175,{_controlNonStatic:0}),o["ɵqud"](335544320,176,{_controlStatic:0}),o["ɵqud"](603979776,177,{_labelChildNonStatic:0}),o["ɵqud"](335544320,178,{_labelChildStatic:0}),o["ɵqud"](603979776,179,{_placeholderChild:0}),o["ɵqud"](603979776,180,{_errorChildren:1}),o["ɵqud"](603979776,181,{_hintChildren:1}),o["ɵqud"](603979776,182,{_prefixChildren:1}),o["ɵqud"](603979776,183,{_suffixChildren:1}),(n()(),o["ɵeld"](471,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel command line"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,472)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,472).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,472)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,472)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,477)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,477)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,477)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.kernel_command_line=t)&&l),l}),null,null)),o["ɵdid"](472,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](474,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](476,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](477,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[175,4],[176,4]],ag,null,[Lg]),(n()(),o["ɵeld"](479,0,null,0,32,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](480,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](481,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](482,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](483,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](484,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Bios "])),(n()(),o["ɵeld"](486,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](487,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](488,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](489,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,492).click()&&l),l}),ou,lu)),o["ɵdid"](490,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Browse"])),(n()(),o["ɵeld"](492,0,[["filebios",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],(function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadBiosFile(t)&&l),l}),null,null)),(n()(),o["ɵeld"](493,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](494,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,184,{_controlNonStatic:0}),o["ɵqud"](335544320,185,{_controlStatic:0}),o["ɵqud"](603979776,186,{_labelChildNonStatic:0}),o["ɵqud"](335544320,187,{_labelChildStatic:0}),o["ɵqud"](603979776,188,{_placeholderChild:0}),o["ɵqud"](603979776,189,{_errorChildren:1}),o["ɵqud"](603979776,190,{_hintChildren:1}),o["ɵqud"](603979776,191,{_prefixChildren:1}),o["ɵqud"](603979776,192,{_suffixChildren:1}),(n()(),o["ɵeld"](504,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bios image"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,505)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,505).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,505)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,505)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,510)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,510)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,510)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.bios_image=t)&&l),l}),null,null)),o["ɵdid"](505,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](507,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](509,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](510,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[184,4],[185,4]],ag,null,[Lg]),(n()(),o["ɵeld"](512,0,null,0,40,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](513,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](514,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](515,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](516,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](517,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Optimization "])),(n()(),o["ɵeld"](519,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](520,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](521,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.activateCpuThrottling=t)&&l),l}),O_,F_)),o["ɵdid"](522,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](524,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](526,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Activate CPU throttling "])),(n()(),o["ɵand"](16777216,null,null,1,null,nQ)),o["ɵdid"](529,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](530,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](531,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,202,{_controlNonStatic:0}),o["ɵqud"](335544320,203,{_controlStatic:0}),o["ɵqud"](603979776,204,{_labelChildNonStatic:0}),o["ɵqud"](335544320,205,{_labelChildStatic:0}),o["ɵqud"](603979776,206,{_placeholderChild:0}),o["ɵqud"](603979776,207,{_errorChildren:1}),o["ɵqud"](603979776,208,{_hintChildren:1}),o["ɵqud"](603979776,209,{_prefixChildren:1}),o["ɵqud"](603979776,210,{_suffixChildren:1}),(n()(),o["ɵeld"](541,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Process priority"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,546)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,546)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,546)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.process_priority=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](543,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](545,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](546,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,211,{options:1}),o["ɵqud"](603979776,212,{optionGroups:1}),o["ɵqud"](603979776,213,{customTrigger:0}),o["ɵprd"](2048,[[202,4],[203,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,eQ)),o["ɵdid"](552,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](553,0,null,0,27,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](554,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](555,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["ɵdid"](556,16384,null,0,ap,[],null,null),(n()(),o["ɵeld"](557,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["ɵdid"](558,16384,null,0,up,[],null,null),(n()(),o["ɵted"](-1,null,[" Additional settings "])),(n()(),o["ɵeld"](560,0,null,0,20,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["ɵdid"](561,16384,null,0,rp,[],null,null),(n()(),o["ɵeld"](562,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](563,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,214,{_controlNonStatic:0}),o["ɵqud"](335544320,215,{_controlStatic:0}),o["ɵqud"](603979776,216,{_labelChildNonStatic:0}),o["ɵqud"](335544320,217,{_labelChildStatic:0}),o["ɵqud"](603979776,218,{_placeholderChild:0}),o["ɵqud"](603979776,219,{_errorChildren:1}),o["ɵqud"](603979776,220,{_hintChildren:1}),o["ɵqud"](603979776,221,{_prefixChildren:1}),o["ɵqud"](603979776,222,{_suffixChildren:1}),(n()(),o["ɵeld"](573,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Options"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,574)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,574).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,574)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,574)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,579)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,579)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,579)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.options=t)&&l),l}),null,null)),o["ɵdid"](574,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](576,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](578,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](579,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[214,4],[215,4]],ag,null,[Lg]),(n()(),o["ɵeld"](581,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](582,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,223,{templateLabel:0}),o["ɵqud"](335544320,224,{_explicitContent:0}),(n()(),o["ɵeld"](585,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](586,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,225,{_controlNonStatic:0}),o["ɵqud"](335544320,226,{_controlStatic:0}),o["ɵqud"](603979776,227,{_labelChildNonStatic:0}),o["ɵqud"](335544320,228,{_labelChildStatic:0}),o["ɵqud"](603979776,229,{_placeholderChild:0}),o["ɵqud"](603979776,230,{_errorChildren:1}),o["ɵqud"](603979776,231,{_hintChildren:1}),o["ɵqud"](603979776,232,{_prefixChildren:1}),o["ɵqud"](603979776,233,{_suffixChildren:1}),(n()(),o["ɵeld"](596,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,597)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,597).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,597)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,597)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,602)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,602)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,602)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](597,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](599,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](601,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](602,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[225,4],[226,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,47,0,"ram",t.node.properties.ram),n(e,50,0,"RAM","number"),n(e,70,0,t.node.properties.cpus),n(e,73,0,"vCPUs","number"),n(e,88,0,t.node.properties.qemu_path),n(e,91,0,"Qemu binary"),n(e,97,0,t.binaries),n(e,111,0,t.node.properties.boot_priority),n(e,114,0,"Boot priority"),n(e,120,0,t.bootPriorities),n(e,134,0,t.node.properties.on_close),n(e,137,0,"On close"),n(e,143,0,t.onCloseOptions),n(e,157,0,t.node.console_type),n(e,160,0,"Console type"),n(e,166,0,t.consoleTypes),n(e,170,0,t.node.properties.console_auto_start),n(e,175,0,"HDD"),n(e,181,0,"primary"),n(e,193,0,t.node.properties.hda_disk_image),n(e,196,0,"Disk image"),n(e,201,0,t.qemuImages),n(e,215,0,t.node.properties.hda_disk_interface),n(e,218,0,"Disk interface"),n(e,224,0,t.diskInterfaces),n(e,237,0,t.node.properties.hdb_disk_image),n(e,240,0,"Disk image"),n(e,245,0,t.qemuImages),n(e,259,0,t.node.properties.hdb_disk_interface),n(e,262,0,"Disk interface"),n(e,268,0,t.diskInterfaces),n(e,281,0,t.node.properties.hdc_disk_image),n(e,284,0,"Disk image"),n(e,289,0,t.qemuImages),n(e,303,0,t.node.properties.hdc_disk_interface),n(e,306,0,"Disk interface"),n(e,312,0,t.diskInterfaces),n(e,325,0,t.node.properties.hdd_disk_image),n(e,328,0,"Disk image"),n(e,333,0,t.qemuImages),n(e,347,0,t.node.properties.hdd_disk_interface),n(e,350,0,"Disk interface"),n(e,356,0,t.diskInterfaces),n(e,358,0,"CD/DVD"),n(e,363,0,"primary"),n(e,380,0,t.node.properties.cdrom_image),n(e,383,0,"Image","text"),n(e,386,0,"Network"),n(e,393,0,t.node.properties.legacy_networking),n(e,398,0,t.networkTypes,t.displayedColumns,t.node.ports),n(e,400,0,"Advanced"),n(e,414,0,"primary"),n(e,431,0,t.node.properties.initrd),n(e,434,0,"Initial RAM disk (initrd)","text"),n(e,438,0,"primary"),n(e,455,0,t.node.properties.kernel_image),n(e,458,0,"Kernel image","text"),n(e,474,0,t.node.properties.kernel_command_line),n(e,477,0,"Kernel command line","text"),n(e,490,0,"primary"),n(e,507,0,t.node.properties.bios_image),n(e,510,0,"Bios image","text"),n(e,524,0,t.activateCpuThrottling),n(e,529,0,t.activateCpuThrottling),n(e,543,0,t.node.properties.process_priority),n(e,546,0,"Process priority"),n(e,552,0,t.priorities),n(e,576,0,t.node.properties.options),n(e,579,0,"Options","text"),n(e,582,0,"Usage"),n(e,599,0,t.node.properties.usage),n(e,602,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,49).ngClassUntouched,o["ɵnov"](e,49).ngClassTouched,o["ɵnov"](e,49).ngClassPristine,o["ɵnov"](e,49).ngClassDirty,o["ɵnov"](e,49).ngClassValid,o["ɵnov"](e,49).ngClassInvalid,o["ɵnov"](e,49).ngClassPending,o["ɵnov"](e,50)._isServer,o["ɵnov"](e,50).id,o["ɵnov"](e,50).placeholder,o["ɵnov"](e,50).disabled,o["ɵnov"](e,50).required,o["ɵnov"](e,50).readonly&&!o["ɵnov"](e,50)._isNativeSelect||null,o["ɵnov"](e,50)._ariaDescribedby||null,o["ɵnov"](e,50).errorState,o["ɵnov"](e,50).required.toString()]),n(e,55,1,["standard"==o["ɵnov"](e,56).appearance,"fill"==o["ɵnov"](e,56).appearance,"outline"==o["ɵnov"](e,56).appearance,"legacy"==o["ɵnov"](e,56).appearance,o["ɵnov"](e,56)._control.errorState,o["ɵnov"](e,56)._canLabelFloat,o["ɵnov"](e,56)._shouldLabelFloat(),o["ɵnov"](e,56)._hasFloatingLabel(),o["ɵnov"](e,56)._hideControlPlaceholder(),o["ɵnov"](e,56)._control.disabled,o["ɵnov"](e,56)._control.autofilled,o["ɵnov"](e,56)._control.focused,"accent"==o["ɵnov"](e,56).color,"warn"==o["ɵnov"](e,56).color,o["ɵnov"](e,56)._shouldForward("untouched"),o["ɵnov"](e,56)._shouldForward("touched"),o["ɵnov"](e,56)._shouldForward("pristine"),o["ɵnov"](e,56)._shouldForward("dirty"),o["ɵnov"](e,56)._shouldForward("valid"),o["ɵnov"](e,56)._shouldForward("invalid"),o["ɵnov"](e,56)._shouldForward("pending"),!o["ɵnov"](e,56)._animationsEnabled]),n(e,66,1,[o["ɵnov"](e,72).ngClassUntouched,o["ɵnov"](e,72).ngClassTouched,o["ɵnov"](e,72).ngClassPristine,o["ɵnov"](e,72).ngClassDirty,o["ɵnov"](e,72).ngClassValid,o["ɵnov"](e,72).ngClassInvalid,o["ɵnov"](e,72).ngClassPending,o["ɵnov"](e,73)._isServer,o["ɵnov"](e,73).id,o["ɵnov"](e,73).placeholder,o["ɵnov"](e,73).disabled,o["ɵnov"](e,73).required,o["ɵnov"](e,73).readonly&&!o["ɵnov"](e,73)._isNativeSelect||null,o["ɵnov"](e,73)._ariaDescribedby||null,o["ɵnov"](e,73).errorState,o["ɵnov"](e,73).required.toString()]),n(e,75,1,["standard"==o["ɵnov"](e,76).appearance,"fill"==o["ɵnov"](e,76).appearance,"outline"==o["ɵnov"](e,76).appearance,"legacy"==o["ɵnov"](e,76).appearance,o["ɵnov"](e,76)._control.errorState,o["ɵnov"](e,76)._canLabelFloat,o["ɵnov"](e,76)._shouldLabelFloat(),o["ɵnov"](e,76)._hasFloatingLabel(),o["ɵnov"](e,76)._hideControlPlaceholder(),o["ɵnov"](e,76)._control.disabled,o["ɵnov"](e,76)._control.autofilled,o["ɵnov"](e,76)._control.focused,"accent"==o["ɵnov"](e,76).color,"warn"==o["ɵnov"](e,76).color,o["ɵnov"](e,76)._shouldForward("untouched"),o["ɵnov"](e,76)._shouldForward("touched"),o["ɵnov"](e,76)._shouldForward("pristine"),o["ɵnov"](e,76)._shouldForward("dirty"),o["ɵnov"](e,76)._shouldForward("valid"),o["ɵnov"](e,76)._shouldForward("invalid"),o["ɵnov"](e,76)._shouldForward("pending"),!o["ɵnov"](e,76)._animationsEnabled]),n(e,86,1,[o["ɵnov"](e,90).ngClassUntouched,o["ɵnov"](e,90).ngClassTouched,o["ɵnov"](e,90).ngClassPristine,o["ɵnov"](e,90).ngClassDirty,o["ɵnov"](e,90).ngClassValid,o["ɵnov"](e,90).ngClassInvalid,o["ɵnov"](e,90).ngClassPending,o["ɵnov"](e,91).id,o["ɵnov"](e,91).tabIndex,o["ɵnov"](e,91)._getAriaLabel(),o["ɵnov"](e,91)._getAriaLabelledby(),o["ɵnov"](e,91).required.toString(),o["ɵnov"](e,91).disabled.toString(),o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).panelOpen?o["ɵnov"](e,91)._optionIds:null,o["ɵnov"](e,91).multiple,o["ɵnov"](e,91)._ariaDescribedby||null,o["ɵnov"](e,91)._getAriaActiveDescendant(),o["ɵnov"](e,91).disabled,o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).required,o["ɵnov"](e,91).empty]),n(e,98,1,["standard"==o["ɵnov"](e,99).appearance,"fill"==o["ɵnov"](e,99).appearance,"outline"==o["ɵnov"](e,99).appearance,"legacy"==o["ɵnov"](e,99).appearance,o["ɵnov"](e,99)._control.errorState,o["ɵnov"](e,99)._canLabelFloat,o["ɵnov"](e,99)._shouldLabelFloat(),o["ɵnov"](e,99)._hasFloatingLabel(),o["ɵnov"](e,99)._hideControlPlaceholder(),o["ɵnov"](e,99)._control.disabled,o["ɵnov"](e,99)._control.autofilled,o["ɵnov"](e,99)._control.focused,"accent"==o["ɵnov"](e,99).color,"warn"==o["ɵnov"](e,99).color,o["ɵnov"](e,99)._shouldForward("untouched"),o["ɵnov"](e,99)._shouldForward("touched"),o["ɵnov"](e,99)._shouldForward("pristine"),o["ɵnov"](e,99)._shouldForward("dirty"),o["ɵnov"](e,99)._shouldForward("valid"),o["ɵnov"](e,99)._shouldForward("invalid"),o["ɵnov"](e,99)._shouldForward("pending"),!o["ɵnov"](e,99)._animationsEnabled]),n(e,109,1,[o["ɵnov"](e,113).ngClassUntouched,o["ɵnov"](e,113).ngClassTouched,o["ɵnov"](e,113).ngClassPristine,o["ɵnov"](e,113).ngClassDirty,o["ɵnov"](e,113).ngClassValid,o["ɵnov"](e,113).ngClassInvalid,o["ɵnov"](e,113).ngClassPending,o["ɵnov"](e,114).id,o["ɵnov"](e,114).tabIndex,o["ɵnov"](e,114)._getAriaLabel(),o["ɵnov"](e,114)._getAriaLabelledby(),o["ɵnov"](e,114).required.toString(),o["ɵnov"](e,114).disabled.toString(),o["ɵnov"](e,114).errorState,o["ɵnov"](e,114).panelOpen?o["ɵnov"](e,114)._optionIds:null,o["ɵnov"](e,114).multiple,o["ɵnov"](e,114)._ariaDescribedby||null,o["ɵnov"](e,114)._getAriaActiveDescendant(),o["ɵnov"](e,114).disabled,o["ɵnov"](e,114).errorState,o["ɵnov"](e,114).required,o["ɵnov"](e,114).empty]),n(e,121,1,["standard"==o["ɵnov"](e,122).appearance,"fill"==o["ɵnov"](e,122).appearance,"outline"==o["ɵnov"](e,122).appearance,"legacy"==o["ɵnov"](e,122).appearance,o["ɵnov"](e,122)._control.errorState,o["ɵnov"](e,122)._canLabelFloat,o["ɵnov"](e,122)._shouldLabelFloat(),o["ɵnov"](e,122)._hasFloatingLabel(),o["ɵnov"](e,122)._hideControlPlaceholder(),o["ɵnov"](e,122)._control.disabled,o["ɵnov"](e,122)._control.autofilled,o["ɵnov"](e,122)._control.focused,"accent"==o["ɵnov"](e,122).color,"warn"==o["ɵnov"](e,122).color,o["ɵnov"](e,122)._shouldForward("untouched"),o["ɵnov"](e,122)._shouldForward("touched"),o["ɵnov"](e,122)._shouldForward("pristine"),o["ɵnov"](e,122)._shouldForward("dirty"),o["ɵnov"](e,122)._shouldForward("valid"),o["ɵnov"](e,122)._shouldForward("invalid"),o["ɵnov"](e,122)._shouldForward("pending"),!o["ɵnov"](e,122)._animationsEnabled]),n(e,132,1,[o["ɵnov"](e,136).ngClassUntouched,o["ɵnov"](e,136).ngClassTouched,o["ɵnov"](e,136).ngClassPristine,o["ɵnov"](e,136).ngClassDirty,o["ɵnov"](e,136).ngClassValid,o["ɵnov"](e,136).ngClassInvalid,o["ɵnov"](e,136).ngClassPending,o["ɵnov"](e,137).id,o["ɵnov"](e,137).tabIndex,o["ɵnov"](e,137)._getAriaLabel(),o["ɵnov"](e,137)._getAriaLabelledby(),o["ɵnov"](e,137).required.toString(),o["ɵnov"](e,137).disabled.toString(),o["ɵnov"](e,137).errorState,o["ɵnov"](e,137).panelOpen?o["ɵnov"](e,137)._optionIds:null,o["ɵnov"](e,137).multiple,o["ɵnov"](e,137)._ariaDescribedby||null,o["ɵnov"](e,137)._getAriaActiveDescendant(),o["ɵnov"](e,137).disabled,o["ɵnov"](e,137).errorState,o["ɵnov"](e,137).required,o["ɵnov"](e,137).empty]),n(e,144,1,["standard"==o["ɵnov"](e,145).appearance,"fill"==o["ɵnov"](e,145).appearance,"outline"==o["ɵnov"](e,145).appearance,"legacy"==o["ɵnov"](e,145).appearance,o["ɵnov"](e,145)._control.errorState,o["ɵnov"](e,145)._canLabelFloat,o["ɵnov"](e,145)._shouldLabelFloat(),o["ɵnov"](e,145)._hasFloatingLabel(),o["ɵnov"](e,145)._hideControlPlaceholder(),o["ɵnov"](e,145)._control.disabled,o["ɵnov"](e,145)._control.autofilled,o["ɵnov"](e,145)._control.focused,"accent"==o["ɵnov"](e,145).color,"warn"==o["ɵnov"](e,145).color,o["ɵnov"](e,145)._shouldForward("untouched"),o["ɵnov"](e,145)._shouldForward("touched"),o["ɵnov"](e,145)._shouldForward("pristine"),o["ɵnov"](e,145)._shouldForward("dirty"),o["ɵnov"](e,145)._shouldForward("valid"),o["ɵnov"](e,145)._shouldForward("invalid"),o["ɵnov"](e,145)._shouldForward("pending"),!o["ɵnov"](e,145)._animationsEnabled]),n(e,155,1,[o["ɵnov"](e,159).ngClassUntouched,o["ɵnov"](e,159).ngClassTouched,o["ɵnov"](e,159).ngClassPristine,o["ɵnov"](e,159).ngClassDirty,o["ɵnov"](e,159).ngClassValid,o["ɵnov"](e,159).ngClassInvalid,o["ɵnov"](e,159).ngClassPending,o["ɵnov"](e,160).id,o["ɵnov"](e,160).tabIndex,o["ɵnov"](e,160)._getAriaLabel(),o["ɵnov"](e,160)._getAriaLabelledby(),o["ɵnov"](e,160).required.toString(),o["ɵnov"](e,160).disabled.toString(),o["ɵnov"](e,160).errorState,o["ɵnov"](e,160).panelOpen?o["ɵnov"](e,160)._optionIds:null,o["ɵnov"](e,160).multiple,o["ɵnov"](e,160)._ariaDescribedby||null,o["ɵnov"](e,160)._getAriaActiveDescendant(),o["ɵnov"](e,160).disabled,o["ɵnov"](e,160).errorState,o["ɵnov"](e,160).required,o["ɵnov"](e,160).empty]),n(e,167,1,[o["ɵnov"](e,168).id,null,o["ɵnov"](e,168).indeterminate,o["ɵnov"](e,168).checked,o["ɵnov"](e,168).disabled,"before"==o["ɵnov"](e,168).labelPosition,"NoopAnimations"===o["ɵnov"](e,168)._animationMode,o["ɵnov"](e,172).ngClassUntouched,o["ɵnov"](e,172).ngClassTouched,o["ɵnov"](e,172).ngClassPristine,o["ɵnov"](e,172).ngClassDirty,o["ɵnov"](e,172).ngClassValid,o["ɵnov"](e,172).ngClassInvalid,o["ɵnov"](e,172).ngClassPending]),n(e,178,0,"NoopAnimations"===o["ɵnov"](e,179)._animationMode),n(e,180,0,o["ɵnov"](e,181).disabled||null,"NoopAnimations"===o["ɵnov"](e,181)._animationMode),n(e,190,1,[o["ɵnov"](e,195).ngClassUntouched,o["ɵnov"](e,195).ngClassTouched,o["ɵnov"](e,195).ngClassPristine,o["ɵnov"](e,195).ngClassDirty,o["ɵnov"](e,195).ngClassValid,o["ɵnov"](e,195).ngClassInvalid,o["ɵnov"](e,195).ngClassPending,o["ɵnov"](e,196).id,o["ɵnov"](e,196).tabIndex,o["ɵnov"](e,196)._getAriaLabel(),o["ɵnov"](e,196)._getAriaLabelledby(),o["ɵnov"](e,196).required.toString(),o["ɵnov"](e,196).disabled.toString(),o["ɵnov"](e,196).errorState,o["ɵnov"](e,196).panelOpen?o["ɵnov"](e,196)._optionIds:null,o["ɵnov"](e,196).multiple,o["ɵnov"](e,196)._ariaDescribedby||null,o["ɵnov"](e,196)._getAriaActiveDescendant(),o["ɵnov"](e,196).disabled,o["ɵnov"](e,196).errorState,o["ɵnov"](e,196).required,o["ɵnov"](e,196).empty]),n(e,202,1,["standard"==o["ɵnov"](e,203).appearance,"fill"==o["ɵnov"](e,203).appearance,"outline"==o["ɵnov"](e,203).appearance,"legacy"==o["ɵnov"](e,203).appearance,o["ɵnov"](e,203)._control.errorState,o["ɵnov"](e,203)._canLabelFloat,o["ɵnov"](e,203)._shouldLabelFloat(),o["ɵnov"](e,203)._hasFloatingLabel(),o["ɵnov"](e,203)._hideControlPlaceholder(),o["ɵnov"](e,203)._control.disabled,o["ɵnov"](e,203)._control.autofilled,o["ɵnov"](e,203)._control.focused,"accent"==o["ɵnov"](e,203).color,"warn"==o["ɵnov"](e,203).color,o["ɵnov"](e,203)._shouldForward("untouched"),o["ɵnov"](e,203)._shouldForward("touched"),o["ɵnov"](e,203)._shouldForward("pristine"),o["ɵnov"](e,203)._shouldForward("dirty"),o["ɵnov"](e,203)._shouldForward("valid"),o["ɵnov"](e,203)._shouldForward("invalid"),o["ɵnov"](e,203)._shouldForward("pending"),!o["ɵnov"](e,203)._animationsEnabled]),n(e,213,1,[o["ɵnov"](e,217).ngClassUntouched,o["ɵnov"](e,217).ngClassTouched,o["ɵnov"](e,217).ngClassPristine,o["ɵnov"](e,217).ngClassDirty,o["ɵnov"](e,217).ngClassValid,o["ɵnov"](e,217).ngClassInvalid,o["ɵnov"](e,217).ngClassPending,o["ɵnov"](e,218).id,o["ɵnov"](e,218).tabIndex,o["ɵnov"](e,218)._getAriaLabel(),o["ɵnov"](e,218)._getAriaLabelledby(),o["ɵnov"](e,218).required.toString(),o["ɵnov"](e,218).disabled.toString(),o["ɵnov"](e,218).errorState,o["ɵnov"](e,218).panelOpen?o["ɵnov"](e,218)._optionIds:null,o["ɵnov"](e,218).multiple,o["ɵnov"](e,218)._ariaDescribedby||null,o["ɵnov"](e,218)._getAriaActiveDescendant(),o["ɵnov"](e,218).disabled,o["ɵnov"](e,218).errorState,o["ɵnov"](e,218).required,o["ɵnov"](e,218).empty]),n(e,225,0,"NoopAnimations"===o["ɵnov"](e,226)._animationMode),n(e,234,1,[o["ɵnov"](e,239).ngClassUntouched,o["ɵnov"](e,239).ngClassTouched,o["ɵnov"](e,239).ngClassPristine,o["ɵnov"](e,239).ngClassDirty,o["ɵnov"](e,239).ngClassValid,o["ɵnov"](e,239).ngClassInvalid,o["ɵnov"](e,239).ngClassPending,o["ɵnov"](e,240).id,o["ɵnov"](e,240).tabIndex,o["ɵnov"](e,240)._getAriaLabel(),o["ɵnov"](e,240)._getAriaLabelledby(),o["ɵnov"](e,240).required.toString(),o["ɵnov"](e,240).disabled.toString(),o["ɵnov"](e,240).errorState,o["ɵnov"](e,240).panelOpen?o["ɵnov"](e,240)._optionIds:null,o["ɵnov"](e,240).multiple,o["ɵnov"](e,240)._ariaDescribedby||null,o["ɵnov"](e,240)._getAriaActiveDescendant(),o["ɵnov"](e,240).disabled,o["ɵnov"](e,240).errorState,o["ɵnov"](e,240).required,o["ɵnov"](e,240).empty]),n(e,246,1,["standard"==o["ɵnov"](e,247).appearance,"fill"==o["ɵnov"](e,247).appearance,"outline"==o["ɵnov"](e,247).appearance,"legacy"==o["ɵnov"](e,247).appearance,o["ɵnov"](e,247)._control.errorState,o["ɵnov"](e,247)._canLabelFloat,o["ɵnov"](e,247)._shouldLabelFloat(),o["ɵnov"](e,247)._hasFloatingLabel(),o["ɵnov"](e,247)._hideControlPlaceholder(),o["ɵnov"](e,247)._control.disabled,o["ɵnov"](e,247)._control.autofilled,o["ɵnov"](e,247)._control.focused,"accent"==o["ɵnov"](e,247).color,"warn"==o["ɵnov"](e,247).color,o["ɵnov"](e,247)._shouldForward("untouched"),o["ɵnov"](e,247)._shouldForward("touched"),o["ɵnov"](e,247)._shouldForward("pristine"),o["ɵnov"](e,247)._shouldForward("dirty"),o["ɵnov"](e,247)._shouldForward("valid"),o["ɵnov"](e,247)._shouldForward("invalid"),o["ɵnov"](e,247)._shouldForward("pending"),!o["ɵnov"](e,247)._animationsEnabled]),n(e,257,1,[o["ɵnov"](e,261).ngClassUntouched,o["ɵnov"](e,261).ngClassTouched,o["ɵnov"](e,261).ngClassPristine,o["ɵnov"](e,261).ngClassDirty,o["ɵnov"](e,261).ngClassValid,o["ɵnov"](e,261).ngClassInvalid,o["ɵnov"](e,261).ngClassPending,o["ɵnov"](e,262).id,o["ɵnov"](e,262).tabIndex,o["ɵnov"](e,262)._getAriaLabel(),o["ɵnov"](e,262)._getAriaLabelledby(),o["ɵnov"](e,262).required.toString(),o["ɵnov"](e,262).disabled.toString(),o["ɵnov"](e,262).errorState,o["ɵnov"](e,262).panelOpen?o["ɵnov"](e,262)._optionIds:null,o["ɵnov"](e,262).multiple,o["ɵnov"](e,262)._ariaDescribedby||null,o["ɵnov"](e,262)._getAriaActiveDescendant(),o["ɵnov"](e,262).disabled,o["ɵnov"](e,262).errorState,o["ɵnov"](e,262).required,o["ɵnov"](e,262).empty]),n(e,269,0,"NoopAnimations"===o["ɵnov"](e,270)._animationMode),n(e,278,1,[o["ɵnov"](e,283).ngClassUntouched,o["ɵnov"](e,283).ngClassTouched,o["ɵnov"](e,283).ngClassPristine,o["ɵnov"](e,283).ngClassDirty,o["ɵnov"](e,283).ngClassValid,o["ɵnov"](e,283).ngClassInvalid,o["ɵnov"](e,283).ngClassPending,o["ɵnov"](e,284).id,o["ɵnov"](e,284).tabIndex,o["ɵnov"](e,284)._getAriaLabel(),o["ɵnov"](e,284)._getAriaLabelledby(),o["ɵnov"](e,284).required.toString(),o["ɵnov"](e,284).disabled.toString(),o["ɵnov"](e,284).errorState,o["ɵnov"](e,284).panelOpen?o["ɵnov"](e,284)._optionIds:null,o["ɵnov"](e,284).multiple,o["ɵnov"](e,284)._ariaDescribedby||null,o["ɵnov"](e,284)._getAriaActiveDescendant(),o["ɵnov"](e,284).disabled,o["ɵnov"](e,284).errorState,o["ɵnov"](e,284).required,o["ɵnov"](e,284).empty]),n(e,290,1,["standard"==o["ɵnov"](e,291).appearance,"fill"==o["ɵnov"](e,291).appearance,"outline"==o["ɵnov"](e,291).appearance,"legacy"==o["ɵnov"](e,291).appearance,o["ɵnov"](e,291)._control.errorState,o["ɵnov"](e,291)._canLabelFloat,o["ɵnov"](e,291)._shouldLabelFloat(),o["ɵnov"](e,291)._hasFloatingLabel(),o["ɵnov"](e,291)._hideControlPlaceholder(),o["ɵnov"](e,291)._control.disabled,o["ɵnov"](e,291)._control.autofilled,o["ɵnov"](e,291)._control.focused,"accent"==o["ɵnov"](e,291).color,"warn"==o["ɵnov"](e,291).color,o["ɵnov"](e,291)._shouldForward("untouched"),o["ɵnov"](e,291)._shouldForward("touched"),o["ɵnov"](e,291)._shouldForward("pristine"),o["ɵnov"](e,291)._shouldForward("dirty"),o["ɵnov"](e,291)._shouldForward("valid"),o["ɵnov"](e,291)._shouldForward("invalid"),o["ɵnov"](e,291)._shouldForward("pending"),!o["ɵnov"](e,291)._animationsEnabled]),n(e,301,1,[o["ɵnov"](e,305).ngClassUntouched,o["ɵnov"](e,305).ngClassTouched,o["ɵnov"](e,305).ngClassPristine,o["ɵnov"](e,305).ngClassDirty,o["ɵnov"](e,305).ngClassValid,o["ɵnov"](e,305).ngClassInvalid,o["ɵnov"](e,305).ngClassPending,o["ɵnov"](e,306).id,o["ɵnov"](e,306).tabIndex,o["ɵnov"](e,306)._getAriaLabel(),o["ɵnov"](e,306)._getAriaLabelledby(),o["ɵnov"](e,306).required.toString(),o["ɵnov"](e,306).disabled.toString(),o["ɵnov"](e,306).errorState,o["ɵnov"](e,306).panelOpen?o["ɵnov"](e,306)._optionIds:null,o["ɵnov"](e,306).multiple,o["ɵnov"](e,306)._ariaDescribedby||null,o["ɵnov"](e,306)._getAriaActiveDescendant(),o["ɵnov"](e,306).disabled,o["ɵnov"](e,306).errorState,o["ɵnov"](e,306).required,o["ɵnov"](e,306).empty]),n(e,313,0,"NoopAnimations"===o["ɵnov"](e,314)._animationMode),n(e,322,1,[o["ɵnov"](e,327).ngClassUntouched,o["ɵnov"](e,327).ngClassTouched,o["ɵnov"](e,327).ngClassPristine,o["ɵnov"](e,327).ngClassDirty,o["ɵnov"](e,327).ngClassValid,o["ɵnov"](e,327).ngClassInvalid,o["ɵnov"](e,327).ngClassPending,o["ɵnov"](e,328).id,o["ɵnov"](e,328).tabIndex,o["ɵnov"](e,328)._getAriaLabel(),o["ɵnov"](e,328)._getAriaLabelledby(),o["ɵnov"](e,328).required.toString(),o["ɵnov"](e,328).disabled.toString(),o["ɵnov"](e,328).errorState,o["ɵnov"](e,328).panelOpen?o["ɵnov"](e,328)._optionIds:null,o["ɵnov"](e,328).multiple,o["ɵnov"](e,328)._ariaDescribedby||null,o["ɵnov"](e,328)._getAriaActiveDescendant(),o["ɵnov"](e,328).disabled,o["ɵnov"](e,328).errorState,o["ɵnov"](e,328).required,o["ɵnov"](e,328).empty]),n(e,334,1,["standard"==o["ɵnov"](e,335).appearance,"fill"==o["ɵnov"](e,335).appearance,"outline"==o["ɵnov"](e,335).appearance,"legacy"==o["ɵnov"](e,335).appearance,o["ɵnov"](e,335)._control.errorState,o["ɵnov"](e,335)._canLabelFloat,o["ɵnov"](e,335)._shouldLabelFloat(),o["ɵnov"](e,335)._hasFloatingLabel(),o["ɵnov"](e,335)._hideControlPlaceholder(),o["ɵnov"](e,335)._control.disabled,o["ɵnov"](e,335)._control.autofilled,o["ɵnov"](e,335)._control.focused,"accent"==o["ɵnov"](e,335).color,"warn"==o["ɵnov"](e,335).color,o["ɵnov"](e,335)._shouldForward("untouched"),o["ɵnov"](e,335)._shouldForward("touched"),o["ɵnov"](e,335)._shouldForward("pristine"),o["ɵnov"](e,335)._shouldForward("dirty"),o["ɵnov"](e,335)._shouldForward("valid"),o["ɵnov"](e,335)._shouldForward("invalid"),o["ɵnov"](e,335)._shouldForward("pending"),!o["ɵnov"](e,335)._animationsEnabled]),n(e,345,1,[o["ɵnov"](e,349).ngClassUntouched,o["ɵnov"](e,349).ngClassTouched,o["ɵnov"](e,349).ngClassPristine,o["ɵnov"](e,349).ngClassDirty,o["ɵnov"](e,349).ngClassValid,o["ɵnov"](e,349).ngClassInvalid,o["ɵnov"](e,349).ngClassPending,o["ɵnov"](e,350).id,o["ɵnov"](e,350).tabIndex,o["ɵnov"](e,350)._getAriaLabel(),o["ɵnov"](e,350)._getAriaLabelledby(),o["ɵnov"](e,350).required.toString(),o["ɵnov"](e,350).disabled.toString(),o["ɵnov"](e,350).errorState,o["ɵnov"](e,350).panelOpen?o["ɵnov"](e,350)._optionIds:null,o["ɵnov"](e,350).multiple,o["ɵnov"](e,350)._ariaDescribedby||null,o["ɵnov"](e,350)._getAriaActiveDescendant(),o["ɵnov"](e,350).disabled,o["ɵnov"](e,350).errorState,o["ɵnov"](e,350).required,o["ɵnov"](e,350).empty]),n(e,362,0,o["ɵnov"](e,363).disabled||null,"NoopAnimations"===o["ɵnov"](e,363)._animationMode),n(e,366,1,["standard"==o["ɵnov"](e,367).appearance,"fill"==o["ɵnov"](e,367).appearance,"outline"==o["ɵnov"](e,367).appearance,"legacy"==o["ɵnov"](e,367).appearance,o["ɵnov"](e,367)._control.errorState,o["ɵnov"](e,367)._canLabelFloat,o["ɵnov"](e,367)._shouldLabelFloat(),o["ɵnov"](e,367)._hasFloatingLabel(),o["ɵnov"](e,367)._hideControlPlaceholder(),o["ɵnov"](e,367)._control.disabled,o["ɵnov"](e,367)._control.autofilled,o["ɵnov"](e,367)._control.focused,"accent"==o["ɵnov"](e,367).color,"warn"==o["ɵnov"](e,367).color,o["ɵnov"](e,367)._shouldForward("untouched"),o["ɵnov"](e,367)._shouldForward("touched"),o["ɵnov"](e,367)._shouldForward("pristine"),o["ɵnov"](e,367)._shouldForward("dirty"),o["ɵnov"](e,367)._shouldForward("valid"),o["ɵnov"](e,367)._shouldForward("invalid"),o["ɵnov"](e,367)._shouldForward("pending"),!o["ɵnov"](e,367)._animationsEnabled]),n(e,377,1,[o["ɵnov"](e,382).ngClassUntouched,o["ɵnov"](e,382).ngClassTouched,o["ɵnov"](e,382).ngClassPristine,o["ɵnov"](e,382).ngClassDirty,o["ɵnov"](e,382).ngClassValid,o["ɵnov"](e,382).ngClassInvalid,o["ɵnov"](e,382).ngClassPending,o["ɵnov"](e,383)._isServer,o["ɵnov"](e,383).id,o["ɵnov"](e,383).placeholder,o["ɵnov"](e,383).disabled,o["ɵnov"](e,383).required,o["ɵnov"](e,383).readonly&&!o["ɵnov"](e,383)._isNativeSelect||null,o["ɵnov"](e,383)._ariaDescribedby||null,o["ɵnov"](e,383).errorState,o["ɵnov"](e,383).required.toString()]),n(e,390,1,[o["ɵnov"](e,391).id,null,o["ɵnov"](e,391).indeterminate,o["ɵnov"](e,391).checked,o["ɵnov"](e,391).disabled,"before"==o["ɵnov"](e,391).labelPosition,"NoopAnimations"===o["ɵnov"](e,391)._animationMode,o["ɵnov"](e,395).ngClassUntouched,o["ɵnov"](e,395).ngClassTouched,o["ɵnov"](e,395).ngClassPristine,o["ɵnov"](e,395).ngClassDirty,o["ɵnov"](e,395).ngClassValid,o["ɵnov"](e,395).ngClassInvalid,o["ɵnov"](e,395).ngClassPending]),n(e,403,0,"NoopAnimations"===o["ɵnov"](e,404)._animationMode),n(e,413,0,o["ɵnov"](e,414).disabled||null,"NoopAnimations"===o["ɵnov"](e,414)._animationMode),n(e,417,1,["standard"==o["ɵnov"](e,418).appearance,"fill"==o["ɵnov"](e,418).appearance,"outline"==o["ɵnov"](e,418).appearance,"legacy"==o["ɵnov"](e,418).appearance,o["ɵnov"](e,418)._control.errorState,o["ɵnov"](e,418)._canLabelFloat,o["ɵnov"](e,418)._shouldLabelFloat(),o["ɵnov"](e,418)._hasFloatingLabel(),o["ɵnov"](e,418)._hideControlPlaceholder(),o["ɵnov"](e,418)._control.disabled,o["ɵnov"](e,418)._control.autofilled,o["ɵnov"](e,418)._control.focused,"accent"==o["ɵnov"](e,418).color,"warn"==o["ɵnov"](e,418).color,o["ɵnov"](e,418)._shouldForward("untouched"),o["ɵnov"](e,418)._shouldForward("touched"),o["ɵnov"](e,418)._shouldForward("pristine"),o["ɵnov"](e,418)._shouldForward("dirty"),o["ɵnov"](e,418)._shouldForward("valid"),o["ɵnov"](e,418)._shouldForward("invalid"),o["ɵnov"](e,418)._shouldForward("pending"),!o["ɵnov"](e,418)._animationsEnabled]),n(e,428,1,[o["ɵnov"](e,433).ngClassUntouched,o["ɵnov"](e,433).ngClassTouched,o["ɵnov"](e,433).ngClassPristine,o["ɵnov"](e,433).ngClassDirty,o["ɵnov"](e,433).ngClassValid,o["ɵnov"](e,433).ngClassInvalid,o["ɵnov"](e,433).ngClassPending,o["ɵnov"](e,434)._isServer,o["ɵnov"](e,434).id,o["ɵnov"](e,434).placeholder,o["ɵnov"](e,434).disabled,o["ɵnov"](e,434).required,o["ɵnov"](e,434).readonly&&!o["ɵnov"](e,434)._isNativeSelect||null,o["ɵnov"](e,434)._ariaDescribedby||null,o["ɵnov"](e,434).errorState,o["ɵnov"](e,434).required.toString()]),n(e,437,0,o["ɵnov"](e,438).disabled||null,"NoopAnimations"===o["ɵnov"](e,438)._animationMode),n(e,441,1,["standard"==o["ɵnov"](e,442).appearance,"fill"==o["ɵnov"](e,442).appearance,"outline"==o["ɵnov"](e,442).appearance,"legacy"==o["ɵnov"](e,442).appearance,o["ɵnov"](e,442)._control.errorState,o["ɵnov"](e,442)._canLabelFloat,o["ɵnov"](e,442)._shouldLabelFloat(),o["ɵnov"](e,442)._hasFloatingLabel(),o["ɵnov"](e,442)._hideControlPlaceholder(),o["ɵnov"](e,442)._control.disabled,o["ɵnov"](e,442)._control.autofilled,o["ɵnov"](e,442)._control.focused,"accent"==o["ɵnov"](e,442).color,"warn"==o["ɵnov"](e,442).color,o["ɵnov"](e,442)._shouldForward("untouched"),o["ɵnov"](e,442)._shouldForward("touched"),o["ɵnov"](e,442)._shouldForward("pristine"),o["ɵnov"](e,442)._shouldForward("dirty"),o["ɵnov"](e,442)._shouldForward("valid"),o["ɵnov"](e,442)._shouldForward("invalid"),o["ɵnov"](e,442)._shouldForward("pending"),!o["ɵnov"](e,442)._animationsEnabled]),n(e,452,1,[o["ɵnov"](e,457).ngClassUntouched,o["ɵnov"](e,457).ngClassTouched,o["ɵnov"](e,457).ngClassPristine,o["ɵnov"](e,457).ngClassDirty,o["ɵnov"](e,457).ngClassValid,o["ɵnov"](e,457).ngClassInvalid,o["ɵnov"](e,457).ngClassPending,o["ɵnov"](e,458)._isServer,o["ɵnov"](e,458).id,o["ɵnov"](e,458).placeholder,o["ɵnov"](e,458).disabled,o["ɵnov"](e,458).required,o["ɵnov"](e,458).readonly&&!o["ɵnov"](e,458)._isNativeSelect||null,o["ɵnov"](e,458)._ariaDescribedby||null,o["ɵnov"](e,458).errorState,o["ɵnov"](e,458).required.toString()]),n(e,460,1,["standard"==o["ɵnov"](e,461).appearance,"fill"==o["ɵnov"](e,461).appearance,"outline"==o["ɵnov"](e,461).appearance,"legacy"==o["ɵnov"](e,461).appearance,o["ɵnov"](e,461)._control.errorState,o["ɵnov"](e,461)._canLabelFloat,o["ɵnov"](e,461)._shouldLabelFloat(),o["ɵnov"](e,461)._hasFloatingLabel(),o["ɵnov"](e,461)._hideControlPlaceholder(),o["ɵnov"](e,461)._control.disabled,o["ɵnov"](e,461)._control.autofilled,o["ɵnov"](e,461)._control.focused,"accent"==o["ɵnov"](e,461).color,"warn"==o["ɵnov"](e,461).color,o["ɵnov"](e,461)._shouldForward("untouched"),o["ɵnov"](e,461)._shouldForward("touched"),o["ɵnov"](e,461)._shouldForward("pristine"),o["ɵnov"](e,461)._shouldForward("dirty"),o["ɵnov"](e,461)._shouldForward("valid"),o["ɵnov"](e,461)._shouldForward("invalid"),o["ɵnov"](e,461)._shouldForward("pending"),!o["ɵnov"](e,461)._animationsEnabled]),n(e,471,1,[o["ɵnov"](e,476).ngClassUntouched,o["ɵnov"](e,476).ngClassTouched,o["ɵnov"](e,476).ngClassPristine,o["ɵnov"](e,476).ngClassDirty,o["ɵnov"](e,476).ngClassValid,o["ɵnov"](e,476).ngClassInvalid,o["ɵnov"](e,476).ngClassPending,o["ɵnov"](e,477)._isServer,o["ɵnov"](e,477).id,o["ɵnov"](e,477).placeholder,o["ɵnov"](e,477).disabled,o["ɵnov"](e,477).required,o["ɵnov"](e,477).readonly&&!o["ɵnov"](e,477)._isNativeSelect||null,o["ɵnov"](e,477)._ariaDescribedby||null,o["ɵnov"](e,477).errorState,o["ɵnov"](e,477).required.toString()]),n(e,479,0,"NoopAnimations"===o["ɵnov"](e,480)._animationMode),n(e,489,0,o["ɵnov"](e,490).disabled||null,"NoopAnimations"===o["ɵnov"](e,490)._animationMode),n(e,493,1,["standard"==o["ɵnov"](e,494).appearance,"fill"==o["ɵnov"](e,494).appearance,"outline"==o["ɵnov"](e,494).appearance,"legacy"==o["ɵnov"](e,494).appearance,o["ɵnov"](e,494)._control.errorState,o["ɵnov"](e,494)._canLabelFloat,o["ɵnov"](e,494)._shouldLabelFloat(),o["ɵnov"](e,494)._hasFloatingLabel(),o["ɵnov"](e,494)._hideControlPlaceholder(),o["ɵnov"](e,494)._control.disabled,o["ɵnov"](e,494)._control.autofilled,o["ɵnov"](e,494)._control.focused,"accent"==o["ɵnov"](e,494).color,"warn"==o["ɵnov"](e,494).color,o["ɵnov"](e,494)._shouldForward("untouched"),o["ɵnov"](e,494)._shouldForward("touched"),o["ɵnov"](e,494)._shouldForward("pristine"),o["ɵnov"](e,494)._shouldForward("dirty"),o["ɵnov"](e,494)._shouldForward("valid"),o["ɵnov"](e,494)._shouldForward("invalid"),o["ɵnov"](e,494)._shouldForward("pending"),!o["ɵnov"](e,494)._animationsEnabled]),n(e,504,1,[o["ɵnov"](e,509).ngClassUntouched,o["ɵnov"](e,509).ngClassTouched,o["ɵnov"](e,509).ngClassPristine,o["ɵnov"](e,509).ngClassDirty,o["ɵnov"](e,509).ngClassValid,o["ɵnov"](e,509).ngClassInvalid,o["ɵnov"](e,509).ngClassPending,o["ɵnov"](e,510)._isServer,o["ɵnov"](e,510).id,o["ɵnov"](e,510).placeholder,o["ɵnov"](e,510).disabled,o["ɵnov"](e,510).required,o["ɵnov"](e,510).readonly&&!o["ɵnov"](e,510)._isNativeSelect||null,o["ɵnov"](e,510)._ariaDescribedby||null,o["ɵnov"](e,510).errorState,o["ɵnov"](e,510).required.toString()]),n(e,512,0,"NoopAnimations"===o["ɵnov"](e,513)._animationMode),n(e,521,1,[o["ɵnov"](e,522).id,null,o["ɵnov"](e,522).indeterminate,o["ɵnov"](e,522).checked,o["ɵnov"](e,522).disabled,"before"==o["ɵnov"](e,522).labelPosition,"NoopAnimations"===o["ɵnov"](e,522)._animationMode,o["ɵnov"](e,526).ngClassUntouched,o["ɵnov"](e,526).ngClassTouched,o["ɵnov"](e,526).ngClassPristine,o["ɵnov"](e,526).ngClassDirty,o["ɵnov"](e,526).ngClassValid,o["ɵnov"](e,526).ngClassInvalid,o["ɵnov"](e,526).ngClassPending]),n(e,530,1,["standard"==o["ɵnov"](e,531).appearance,"fill"==o["ɵnov"](e,531).appearance,"outline"==o["ɵnov"](e,531).appearance,"legacy"==o["ɵnov"](e,531).appearance,o["ɵnov"](e,531)._control.errorState,o["ɵnov"](e,531)._canLabelFloat,o["ɵnov"](e,531)._shouldLabelFloat(),o["ɵnov"](e,531)._hasFloatingLabel(),o["ɵnov"](e,531)._hideControlPlaceholder(),o["ɵnov"](e,531)._control.disabled,o["ɵnov"](e,531)._control.autofilled,o["ɵnov"](e,531)._control.focused,"accent"==o["ɵnov"](e,531).color,"warn"==o["ɵnov"](e,531).color,o["ɵnov"](e,531)._shouldForward("untouched"),o["ɵnov"](e,531)._shouldForward("touched"),o["ɵnov"](e,531)._shouldForward("pristine"),o["ɵnov"](e,531)._shouldForward("dirty"),o["ɵnov"](e,531)._shouldForward("valid"),o["ɵnov"](e,531)._shouldForward("invalid"),o["ɵnov"](e,531)._shouldForward("pending"),!o["ɵnov"](e,531)._animationsEnabled]),n(e,541,1,[o["ɵnov"](e,545).ngClassUntouched,o["ɵnov"](e,545).ngClassTouched,o["ɵnov"](e,545).ngClassPristine,o["ɵnov"](e,545).ngClassDirty,o["ɵnov"](e,545).ngClassValid,o["ɵnov"](e,545).ngClassInvalid,o["ɵnov"](e,545).ngClassPending,o["ɵnov"](e,546).id,o["ɵnov"](e,546).tabIndex,o["ɵnov"](e,546)._getAriaLabel(),o["ɵnov"](e,546)._getAriaLabelledby(),o["ɵnov"](e,546).required.toString(),o["ɵnov"](e,546).disabled.toString(),o["ɵnov"](e,546).errorState,o["ɵnov"](e,546).panelOpen?o["ɵnov"](e,546)._optionIds:null,o["ɵnov"](e,546).multiple,o["ɵnov"](e,546)._ariaDescribedby||null,o["ɵnov"](e,546)._getAriaActiveDescendant(),o["ɵnov"](e,546).disabled,o["ɵnov"](e,546).errorState,o["ɵnov"](e,546).required,o["ɵnov"](e,546).empty]),n(e,553,0,"NoopAnimations"===o["ɵnov"](e,554)._animationMode),n(e,562,1,["standard"==o["ɵnov"](e,563).appearance,"fill"==o["ɵnov"](e,563).appearance,"outline"==o["ɵnov"](e,563).appearance,"legacy"==o["ɵnov"](e,563).appearance,o["ɵnov"](e,563)._control.errorState,o["ɵnov"](e,563)._canLabelFloat,o["ɵnov"](e,563)._shouldLabelFloat(),o["ɵnov"](e,563)._hasFloatingLabel(),o["ɵnov"](e,563)._hideControlPlaceholder(),o["ɵnov"](e,563)._control.disabled,o["ɵnov"](e,563)._control.autofilled,o["ɵnov"](e,563)._control.focused,"accent"==o["ɵnov"](e,563).color,"warn"==o["ɵnov"](e,563).color,o["ɵnov"](e,563)._shouldForward("untouched"),o["ɵnov"](e,563)._shouldForward("touched"),o["ɵnov"](e,563)._shouldForward("pristine"),o["ɵnov"](e,563)._shouldForward("dirty"),o["ɵnov"](e,563)._shouldForward("valid"),o["ɵnov"](e,563)._shouldForward("invalid"),o["ɵnov"](e,563)._shouldForward("pending"),!o["ɵnov"](e,563)._animationsEnabled]),n(e,573,1,[o["ɵnov"](e,578).ngClassUntouched,o["ɵnov"](e,578).ngClassTouched,o["ɵnov"](e,578).ngClassPristine,o["ɵnov"](e,578).ngClassDirty,o["ɵnov"](e,578).ngClassValid,o["ɵnov"](e,578).ngClassInvalid,o["ɵnov"](e,578).ngClassPending,o["ɵnov"](e,579)._isServer,o["ɵnov"](e,579).id,o["ɵnov"](e,579).placeholder,o["ɵnov"](e,579).disabled,o["ɵnov"](e,579).required,o["ɵnov"](e,579).readonly&&!o["ɵnov"](e,579)._isNativeSelect||null,o["ɵnov"](e,579)._ariaDescribedby||null,o["ɵnov"](e,579).errorState,o["ɵnov"](e,579).required.toString()]),n(e,585,1,["standard"==o["ɵnov"](e,586).appearance,"fill"==o["ɵnov"](e,586).appearance,"outline"==o["ɵnov"](e,586).appearance,"legacy"==o["ɵnov"](e,586).appearance,o["ɵnov"](e,586)._control.errorState,o["ɵnov"](e,586)._canLabelFloat,o["ɵnov"](e,586)._shouldLabelFloat(),o["ɵnov"](e,586)._hasFloatingLabel(),o["ɵnov"](e,586)._hideControlPlaceholder(),o["ɵnov"](e,586)._control.disabled,o["ɵnov"](e,586)._control.autofilled,o["ɵnov"](e,586)._control.focused,"accent"==o["ɵnov"](e,586).color,"warn"==o["ɵnov"](e,586).color,o["ɵnov"](e,586)._shouldForward("untouched"),o["ɵnov"](e,586)._shouldForward("touched"),o["ɵnov"](e,586)._shouldForward("pristine"),o["ɵnov"](e,586)._shouldForward("dirty"),o["ɵnov"](e,586)._shouldForward("valid"),o["ɵnov"](e,586)._shouldForward("invalid"),o["ɵnov"](e,586)._shouldForward("pending"),!o["ɵnov"](e,586)._animationsEnabled]),n(e,596,1,[o["ɵnov"](e,601).ngClassUntouched,o["ɵnov"](e,601).ngClassTouched,o["ɵnov"](e,601).ngClassPristine,o["ɵnov"](e,601).ngClassDirty,o["ɵnov"](e,601).ngClassValid,o["ɵnov"](e,601).ngClassInvalid,o["ɵnov"](e,601).ngClassPending,o["ɵnov"](e,602)._isServer,o["ɵnov"](e,602).id,o["ɵnov"](e,602).placeholder,o["ɵnov"](e,602).disabled,o["ɵnov"](e,602).required,o["ɵnov"](e,602).readonly&&!o["ɵnov"](e,602)._isNativeSelect||null,o["ɵnov"](e,602)._ariaDescribedby||null,o["ɵnov"](e,602).errorState,o["ɵnov"](e,602).required.toString()])}))}function lQ(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdapters:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](3,null,["Configurator for node ",""])),(n()(),o["ɵeld"](4,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](8,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,tQ)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](12,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](17,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,10,0,t.name),n(e,14,0,"accent"),n(e,17,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,3,0,t.name),n(e,7,0,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,16,0,o["ɵnov"](e,17).disabled||null,"NoopAnimations"===o["ɵnov"](e,17)._animationMode)}))}function oQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-qemu",[],null,null,null,lQ,B$)),o["ɵdid"](1,114688,null,0,Nj,[av,tv,ij,hc,Gm,kE,iT],null,null)],(function(n,e){n(e,1,0)}),null)}var iQ=o["ɵccf"]("app-configurator-qemu",Nj,oQ,{},{},[]),rQ=function(){function n(n){this.builtInTemplatesConfigurationService=n,this.dataSourceUdp=[],this.displayedColumns=["name","lport","rhost","rport","action"],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[]}return n.prototype.ngOnInit=function(){this.getConfiguration()},n.prototype.getConfiguration=function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()},n.prototype.onAddUdpInterface=function(){this.dataSourceUdp=this.dataSourceUdp.concat([this.newPort]),this.newPort={name:"",port_number:0}},n.prototype.delete=function(n){this.dataSourceUdp=this.dataSourceUdp.filter((function(e){return e!==n}))},n}(),aQ=o["ɵcrt"]({encapsulation:0,styles:[IC],data:{}});function uQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Name "]))],null,null)}function sQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function dQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Local port "]))],null,null)}function cQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.rport)}))}function pQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Type "]))],null,null)}function fQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.rhost)}))}function hQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Remote port "]))],null,null)}function mQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.lport)}))}function vQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function gQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete port"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete port"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete port"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function bQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function _Q(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function yQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,77,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,uQ)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,sQ)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,dQ)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,cQ)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,pQ)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,fQ)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵeld"](46,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](48,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,14,{cell:0}),o["ɵqud"](603979776,15,{headerCell:0}),o["ɵqud"](603979776,16,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,hQ)),o["ɵdid"](54,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[15,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,mQ)),o["ɵdid"](57,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[14,4]],Cc,null,[zc]),(n()(),o["ɵeld"](59,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](61,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,17,{cell:0}),o["ɵqud"](603979776,18,{headerCell:0}),o["ɵqud"](603979776,19,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,vQ)),o["ɵdid"](67,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[18,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,gQ)),o["ɵdid"](70,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[17,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,bQ)),o["ɵdid"](73,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,_Q)),o["ɵdid"](76,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,2,0,t.dataSourceUdp),n(e,9,0,"name"),n(e,22,0,"rport"),n(e,35,0,"rhost"),n(e,48,0,"lport"),n(e,61,0,"action"),n(e,73,0,t.displayedColumns),n(e,76,0,t.displayedColumns)}),null)}function CQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function wQ(n){return o["ɵvid"](0,[(n()(),o["ɵand"](16777216,null,null,1,null,yQ)),o["ɵdid"](1,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,null,1,null,CQ)),o["ɵdid"](3,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](4,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](5,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,20,{_controlNonStatic:0}),o["ɵqud"](335544320,21,{_controlStatic:0}),o["ɵqud"](603979776,22,{_labelChildNonStatic:0}),o["ɵqud"](335544320,23,{_labelChildStatic:0}),o["ɵqud"](603979776,24,{_placeholderChild:0}),o["ɵqud"](603979776,25,{_errorChildren:1}),o["ɵqud"](603979776,26,{_hintChildren:1}),o["ɵqud"](603979776,27,{_prefixChildren:1}),o["ɵqud"](603979776,28,{_suffixChildren:1}),(n()(),o["ɵeld"](15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,16)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,16).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,16)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,16)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,21)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,21)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,21)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.name=t)&&l),l}),null,null)),o["ɵdid"](16,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](18,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](20,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](21,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[20,4],[21,4]],ag,null,[Lg]),(n()(),o["ɵeld"](23,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](24,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,29,{_controlNonStatic:0}),o["ɵqud"](335544320,30,{_controlStatic:0}),o["ɵqud"](603979776,31,{_labelChildNonStatic:0}),o["ɵqud"](335544320,32,{_labelChildStatic:0}),o["ɵqud"](603979776,33,{_placeholderChild:0}),o["ɵqud"](603979776,34,{_errorChildren:1}),o["ɵqud"](603979776,35,{_hintChildren:1}),o["ɵqud"](603979776,36,{_prefixChildren:1}),o["ɵqud"](603979776,37,{_suffixChildren:1}),(n()(),o["ɵeld"](34,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Local port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,35)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,36).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,36).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,36).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,41)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,41)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,41)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.lport=t)&&l),l}),null,null)),o["ɵdid"](35,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](36,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](38,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](40,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](41,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[29,4],[30,4]],ag,null,[Lg]),(n()(),o["ɵeld"](43,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](44,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,38,{_controlNonStatic:0}),o["ɵqud"](335544320,39,{_controlStatic:0}),o["ɵqud"](603979776,40,{_labelChildNonStatic:0}),o["ɵqud"](335544320,41,{_labelChildStatic:0}),o["ɵqud"](603979776,42,{_placeholderChild:0}),o["ɵqud"](603979776,43,{_errorChildren:1}),o["ɵqud"](603979776,44,{_hintChildren:1}),o["ɵqud"](603979776,45,{_prefixChildren:1}),o["ɵqud"](603979776,46,{_suffixChildren:1}),(n()(),o["ɵeld"](54,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote host"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,55)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,55).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,55)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,55)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,60)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,60)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.rhost=t)&&l),l}),null,null)),o["ɵdid"](55,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](57,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](59,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](60,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[38,4],[39,4]],ag,null,[Lg]),(n()(),o["ɵeld"](62,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](63,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,47,{_controlNonStatic:0}),o["ɵqud"](335544320,48,{_controlStatic:0}),o["ɵqud"](603979776,49,{_labelChildNonStatic:0}),o["ɵqud"](335544320,50,{_labelChildStatic:0}),o["ɵqud"](603979776,51,{_placeholderChild:0}),o["ɵqud"](603979776,52,{_errorChildren:1}),o["ɵqud"](603979776,53,{_hintChildren:1}),o["ɵqud"](603979776,54,{_prefixChildren:1}),o["ɵqud"](603979776,55,{_suffixChildren:1}),(n()(),o["ɵeld"](73,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,74)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,74).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,74)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,74)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,75).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,75).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,75).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,80)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,80)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,80)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.newPort.rport=t)&&l),l}),null,null)),o["ɵdid"](74,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](75,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](77,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](79,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](80,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[47,4],[48,4]],ag,null,[Lg]),(n()(),o["ɵeld"](82,0,null,null,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddUdpInterface()&&l),l}),ou,lu)),o["ɵdid"](83,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"]))],(function(n,e){var t=e.component;n(e,1,0,t.dataSourceUdp.length),n(e,3,0,t.dataSourceUdp.length),n(e,18,0,t.newPort.name),n(e,21,0,"Name","text"),n(e,38,0,t.newPort.lport),n(e,41,0,"Local port","number"),n(e,57,0,t.newPort.rhost),n(e,60,0,"Remote host","text"),n(e,77,0,t.newPort.rport),n(e,80,0,"Remote port","number")}),(function(n,e){n(e,4,1,["standard"==o["ɵnov"](e,5).appearance,"fill"==o["ɵnov"](e,5).appearance,"outline"==o["ɵnov"](e,5).appearance,"legacy"==o["ɵnov"](e,5).appearance,o["ɵnov"](e,5)._control.errorState,o["ɵnov"](e,5)._canLabelFloat,o["ɵnov"](e,5)._shouldLabelFloat(),o["ɵnov"](e,5)._hasFloatingLabel(),o["ɵnov"](e,5)._hideControlPlaceholder(),o["ɵnov"](e,5)._control.disabled,o["ɵnov"](e,5)._control.autofilled,o["ɵnov"](e,5)._control.focused,"accent"==o["ɵnov"](e,5).color,"warn"==o["ɵnov"](e,5).color,o["ɵnov"](e,5)._shouldForward("untouched"),o["ɵnov"](e,5)._shouldForward("touched"),o["ɵnov"](e,5)._shouldForward("pristine"),o["ɵnov"](e,5)._shouldForward("dirty"),o["ɵnov"](e,5)._shouldForward("valid"),o["ɵnov"](e,5)._shouldForward("invalid"),o["ɵnov"](e,5)._shouldForward("pending"),!o["ɵnov"](e,5)._animationsEnabled]),n(e,15,1,[o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending,o["ɵnov"](e,21)._isServer,o["ɵnov"](e,21).id,o["ɵnov"](e,21).placeholder,o["ɵnov"](e,21).disabled,o["ɵnov"](e,21).required,o["ɵnov"](e,21).readonly&&!o["ɵnov"](e,21)._isNativeSelect||null,o["ɵnov"](e,21)._ariaDescribedby||null,o["ɵnov"](e,21).errorState,o["ɵnov"](e,21).required.toString()]),n(e,23,1,["standard"==o["ɵnov"](e,24).appearance,"fill"==o["ɵnov"](e,24).appearance,"outline"==o["ɵnov"](e,24).appearance,"legacy"==o["ɵnov"](e,24).appearance,o["ɵnov"](e,24)._control.errorState,o["ɵnov"](e,24)._canLabelFloat,o["ɵnov"](e,24)._shouldLabelFloat(),o["ɵnov"](e,24)._hasFloatingLabel(),o["ɵnov"](e,24)._hideControlPlaceholder(),o["ɵnov"](e,24)._control.disabled,o["ɵnov"](e,24)._control.autofilled,o["ɵnov"](e,24)._control.focused,"accent"==o["ɵnov"](e,24).color,"warn"==o["ɵnov"](e,24).color,o["ɵnov"](e,24)._shouldForward("untouched"),o["ɵnov"](e,24)._shouldForward("touched"),o["ɵnov"](e,24)._shouldForward("pristine"),o["ɵnov"](e,24)._shouldForward("dirty"),o["ɵnov"](e,24)._shouldForward("valid"),o["ɵnov"](e,24)._shouldForward("invalid"),o["ɵnov"](e,24)._shouldForward("pending"),!o["ɵnov"](e,24)._animationsEnabled]),n(e,34,1,[o["ɵnov"](e,40).ngClassUntouched,o["ɵnov"](e,40).ngClassTouched,o["ɵnov"](e,40).ngClassPristine,o["ɵnov"](e,40).ngClassDirty,o["ɵnov"](e,40).ngClassValid,o["ɵnov"](e,40).ngClassInvalid,o["ɵnov"](e,40).ngClassPending,o["ɵnov"](e,41)._isServer,o["ɵnov"](e,41).id,o["ɵnov"](e,41).placeholder,o["ɵnov"](e,41).disabled,o["ɵnov"](e,41).required,o["ɵnov"](e,41).readonly&&!o["ɵnov"](e,41)._isNativeSelect||null,o["ɵnov"](e,41)._ariaDescribedby||null,o["ɵnov"](e,41).errorState,o["ɵnov"](e,41).required.toString()]),n(e,43,1,["standard"==o["ɵnov"](e,44).appearance,"fill"==o["ɵnov"](e,44).appearance,"outline"==o["ɵnov"](e,44).appearance,"legacy"==o["ɵnov"](e,44).appearance,o["ɵnov"](e,44)._control.errorState,o["ɵnov"](e,44)._canLabelFloat,o["ɵnov"](e,44)._shouldLabelFloat(),o["ɵnov"](e,44)._hasFloatingLabel(),o["ɵnov"](e,44)._hideControlPlaceholder(),o["ɵnov"](e,44)._control.disabled,o["ɵnov"](e,44)._control.autofilled,o["ɵnov"](e,44)._control.focused,"accent"==o["ɵnov"](e,44).color,"warn"==o["ɵnov"](e,44).color,o["ɵnov"](e,44)._shouldForward("untouched"),o["ɵnov"](e,44)._shouldForward("touched"),o["ɵnov"](e,44)._shouldForward("pristine"),o["ɵnov"](e,44)._shouldForward("dirty"),o["ɵnov"](e,44)._shouldForward("valid"),o["ɵnov"](e,44)._shouldForward("invalid"),o["ɵnov"](e,44)._shouldForward("pending"),!o["ɵnov"](e,44)._animationsEnabled]),n(e,54,1,[o["ɵnov"](e,59).ngClassUntouched,o["ɵnov"](e,59).ngClassTouched,o["ɵnov"](e,59).ngClassPristine,o["ɵnov"](e,59).ngClassDirty,o["ɵnov"](e,59).ngClassValid,o["ɵnov"](e,59).ngClassInvalid,o["ɵnov"](e,59).ngClassPending,o["ɵnov"](e,60)._isServer,o["ɵnov"](e,60).id,o["ɵnov"](e,60).placeholder,o["ɵnov"](e,60).disabled,o["ɵnov"](e,60).required,o["ɵnov"](e,60).readonly&&!o["ɵnov"](e,60)._isNativeSelect||null,o["ɵnov"](e,60)._ariaDescribedby||null,o["ɵnov"](e,60).errorState,o["ɵnov"](e,60).required.toString()]),n(e,62,1,["standard"==o["ɵnov"](e,63).appearance,"fill"==o["ɵnov"](e,63).appearance,"outline"==o["ɵnov"](e,63).appearance,"legacy"==o["ɵnov"](e,63).appearance,o["ɵnov"](e,63)._control.errorState,o["ɵnov"](e,63)._canLabelFloat,o["ɵnov"](e,63)._shouldLabelFloat(),o["ɵnov"](e,63)._hasFloatingLabel(),o["ɵnov"](e,63)._hideControlPlaceholder(),o["ɵnov"](e,63)._control.disabled,o["ɵnov"](e,63)._control.autofilled,o["ɵnov"](e,63)._control.focused,"accent"==o["ɵnov"](e,63).color,"warn"==o["ɵnov"](e,63).color,o["ɵnov"](e,63)._shouldForward("untouched"),o["ɵnov"](e,63)._shouldForward("touched"),o["ɵnov"](e,63)._shouldForward("pristine"),o["ɵnov"](e,63)._shouldForward("dirty"),o["ɵnov"](e,63)._shouldForward("valid"),o["ɵnov"](e,63)._shouldForward("invalid"),o["ɵnov"](e,63)._shouldForward("pending"),!o["ɵnov"](e,63)._animationsEnabled]),n(e,73,1,[o["ɵnov"](e,79).ngClassUntouched,o["ɵnov"](e,79).ngClassTouched,o["ɵnov"](e,79).ngClassPristine,o["ɵnov"](e,79).ngClassDirty,o["ɵnov"](e,79).ngClassValid,o["ɵnov"](e,79).ngClassInvalid,o["ɵnov"](e,79).ngClassPending,o["ɵnov"](e,80)._isServer,o["ɵnov"](e,80).id,o["ɵnov"](e,80).placeholder,o["ɵnov"](e,80).disabled,o["ɵnov"](e,80).required,o["ɵnov"](e,80).readonly&&!o["ɵnov"](e,80)._isNativeSelect||null,o["ɵnov"](e,80)._ariaDescribedby||null,o["ɵnov"](e,80).errorState,o["ɵnov"](e,80).required.toString()]),n(e,82,0,o["ɵnov"](e,83).disabled||null,"NoopAnimations"===o["ɵnov"](e,83)._animationMode)}))}var SQ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function xQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function kQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[14,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function EQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["ɵted"](2,null,["",""])),(n()(),o["ɵeld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,e){n(e,2,0,e.context.$implicit.name)}))}function TQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[50,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function RQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,177,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,2,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,32,"mat-tab",[["label","Ethernet interfaces"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,3,{templateLabel:0}),o["ɵqud"](335544320,4,{_explicitContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,xQ)),o["ɵdid"](8,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](9,0,null,0,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](10,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,5,{_controlNonStatic:0}),o["ɵqud"](335544320,6,{_controlStatic:0}),o["ɵqud"](603979776,7,{_labelChildNonStatic:0}),o["ɵqud"](335544320,8,{_labelChildStatic:0}),o["ɵqud"](603979776,9,{_placeholderChild:0}),o["ɵqud"](603979776,10,{_errorChildren:1}),o["ɵqud"](603979776,11,{_hintChildren:1}),o["ɵqud"](603979776,12,{_prefixChildren:1}),o["ɵqud"](603979776,13,{_suffixChildren:1}),(n()(),o["ɵeld"](20,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Ethernet interface"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,26)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,26)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,26)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.ethernetInterface=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](22,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](23,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](25,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](26,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,14,{options:1}),o["ɵqud"](603979776,15,{optionGroups:1}),o["ɵqud"](603979776,16,{customTrigger:0}),o["ɵprd"](2048,[[5,4],[6,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,kQ)),o["ɵdid"](32,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](33,0,null,0,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddEthernetInterface()&&l),l}),ou,lu)),o["ɵdid"](34,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](36,16777216,null,null,27,"mat-tab",[["label","TAP interfaces"]],null,null,null,PG,NG)),o["ɵdid"](37,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,17,{templateLabel:0}),o["ɵqud"](335544320,18,{_explicitContent:0}),(n()(),o["ɵand"](16777216,null,0,1,null,EQ)),o["ɵdid"](41,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](42,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](43,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,19,{_controlNonStatic:0}),o["ɵqud"](335544320,20,{_controlStatic:0}),o["ɵqud"](603979776,21,{_labelChildNonStatic:0}),o["ɵqud"](335544320,22,{_labelChildStatic:0}),o["ɵqud"](603979776,23,{_placeholderChild:0}),o["ɵqud"](603979776,24,{_errorChildren:1}),o["ɵqud"](603979776,25,{_hintChildren:1}),o["ɵqud"](603979776,26,{_prefixChildren:1}),o["ɵqud"](603979776,27,{_suffixChildren:1}),(n()(),o["ɵeld"](53,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","TAP interface"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,54)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,54).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,54)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,54)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,59)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,59)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.tapInterface=t)&&l),l}),null,null)),o["ɵdid"](54,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](56,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](58,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](59,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[19,4],[20,4]],ag,null,[Lg]),(n()(),o["ɵeld"](61,0,null,0,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddTapInterface()&&l),l}),ou,lu)),o["ɵdid"](62,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](64,16777216,null,null,5,"mat-tab",[["label","UDP tunnels"]],null,null,null,PG,NG)),o["ɵdid"](65,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,28,{templateLabel:0}),o["ɵqud"](335544320,29,{_explicitContent:0}),(n()(),o["ɵeld"](68,0,null,0,1,"app-udp-tunnels",[],null,null,null,wQ,aQ)),o["ɵdid"](69,114688,[[1,4],["udpTunnels",4]],0,rQ,[oS],{dataSourceUdp:[0,"dataSourceUdp"]},null),(n()(),o["ɵeld"](70,16777216,null,null,107,"mat-tab",[["label","Miscellaneous"]],null,null,null,PG,NG)),o["ɵdid"](71,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,30,{templateLabel:0}),o["ɵqud"](335544320,31,{_explicitContent:0}),(n()(),o["ɵeld"](74,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,76).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,76).onReset()&&l),l}),null,null)),o["ɵdid"](75,16384,null,0,qm,[],null,null),o["ɵdid"](76,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](78,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](79,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](80,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,32,{_controlNonStatic:0}),o["ɵqud"](335544320,33,{_controlStatic:0}),o["ɵqud"](603979776,34,{_labelChildNonStatic:0}),o["ɵqud"](335544320,35,{_labelChildStatic:0}),o["ɵqud"](603979776,36,{_placeholderChild:0}),o["ɵqud"](603979776,37,{_errorChildren:1}),o["ɵqud"](603979776,38,{_hintChildren:1}),o["ɵqud"](603979776,39,{_prefixChildren:1}),o["ɵqud"](603979776,40,{_suffixChildren:1}),(n()(),o["ɵeld"](90,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,91)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,91)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,91)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,96)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,96)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,96)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](91,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](93,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](95,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](96,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[32,4],[33,4]],ag,null,[Lg]),(n()(),o["ɵeld"](98,0,null,0,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](99,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,41,{_controlNonStatic:0}),o["ɵqud"](335544320,42,{_controlStatic:0}),o["ɵqud"](603979776,43,{_labelChildNonStatic:0}),o["ɵqud"](335544320,44,{_labelChildStatic:0}),o["ɵqud"](603979776,45,{_placeholderChild:0}),o["ɵqud"](603979776,46,{_errorChildren:1}),o["ɵqud"](603979776,47,{_hintChildren:1}),o["ɵqud"](603979776,48,{_prefixChildren:1}),o["ɵqud"](603979776,49,{_suffixChildren:1}),(n()(),o["ɵeld"](109,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,114)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,114)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,114)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](111,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](113,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](114,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,50,{options:1}),o["ɵqud"](603979776,51,{optionGroups:1}),o["ɵqud"](603979776,52,{customTrigger:0}),o["ɵprd"](2048,[[41,4],[42,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,TQ)),o["ɵdid"](120,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](121,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](122,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,53,{_controlNonStatic:0}),o["ɵqud"](335544320,54,{_controlStatic:0}),o["ɵqud"](603979776,55,{_labelChildNonStatic:0}),o["ɵqud"](335544320,56,{_labelChildStatic:0}),o["ɵqud"](603979776,57,{_placeholderChild:0}),o["ɵqud"](603979776,58,{_errorChildren:1}),o["ɵqud"](603979776,59,{_hintChildren:1}),o["ɵqud"](603979776,60,{_prefixChildren:1}),o["ɵqud"](603979776,61,{_suffixChildren:1}),(n()(),o["ɵeld"](132,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console host"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,133)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,133).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,133)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,133)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,138)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,138)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,138)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.remote_console_host=t)&&l),l}),null,null)),o["ɵdid"](133,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](135,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](137,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](138,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[53,4],[54,4]],ag,null,[Lg]),(n()(),o["ɵeld"](140,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](141,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,62,{_controlNonStatic:0}),o["ɵqud"](335544320,63,{_controlStatic:0}),o["ɵqud"](603979776,64,{_labelChildNonStatic:0}),o["ɵqud"](335544320,65,{_labelChildStatic:0}),o["ɵqud"](603979776,66,{_placeholderChild:0}),o["ɵqud"](603979776,67,{_errorChildren:1}),o["ɵqud"](603979776,68,{_hintChildren:1}),o["ɵqud"](603979776,69,{_prefixChildren:1}),o["ɵqud"](603979776,70,{_suffixChildren:1}),(n()(),o["ɵeld"](151,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,152)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,152).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,152)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,152)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,157)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.remote_console_port=t)&&l),l}),null,null)),o["ɵdid"](152,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](154,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](156,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](157,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[62,4],[63,4]],ag,null,[Lg]),(n()(),o["ɵeld"](159,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](160,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,71,{_controlNonStatic:0}),o["ɵqud"](335544320,72,{_controlStatic:0}),o["ɵqud"](603979776,73,{_labelChildNonStatic:0}),o["ɵqud"](335544320,74,{_labelChildStatic:0}),o["ɵqud"](603979776,75,{_placeholderChild:0}),o["ɵqud"](603979776,76,{_errorChildren:1}),o["ɵqud"](603979776,77,{_hintChildren:1}),o["ɵqud"](603979776,78,{_prefixChildren:1}),o["ɵqud"](603979776,79,{_suffixChildren:1}),(n()(),o["ɵeld"](170,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console HTTP path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,171)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,171).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,171)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,171)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,176)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,176)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,176)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.remote_console_http_path=t)&&l),l}),null,null)),o["ɵdid"](171,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](173,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](175,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](176,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[71,4],[72,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"Ethernet interfaces"),n(e,8,0,t.portsMappingEthernet);var l=t.ethernetInterface,o=n(e,23,0,!0);n(e,22,0,l,o),n(e,26,0,"Ethernet interface"),n(e,32,0,t.ethernetInterfaces),n(e,37,0,"TAP interfaces"),n(e,41,0,t.portsMappingTap),n(e,56,0,t.tapInterface),n(e,59,0,"TAP interface","text"),n(e,65,0,"UDP tunnels"),n(e,69,0,t.portsMappingUdp),n(e,71,0,"Miscellaneous"),n(e,76,0,t.generalSettingsForm),n(e,93,0,"name",t.node.name),n(e,96,0,"Name","text"),n(e,111,0,t.node.console_type),n(e,114,0,"Console type"),n(e,120,0,t.consoleTypes),n(e,135,0,t.node.properties.remote_console_host),n(e,138,0,"Console host","text"),n(e,154,0,t.node.properties.remote_console_port),n(e,157,0,"Console port","text"),n(e,173,0,t.node.properties.remote_console_http_path),n(e,176,0,"Console HTTP path","text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,9,1,["standard"==o["ɵnov"](e,10).appearance,"fill"==o["ɵnov"](e,10).appearance,"outline"==o["ɵnov"](e,10).appearance,"legacy"==o["ɵnov"](e,10).appearance,o["ɵnov"](e,10)._control.errorState,o["ɵnov"](e,10)._canLabelFloat,o["ɵnov"](e,10)._shouldLabelFloat(),o["ɵnov"](e,10)._hasFloatingLabel(),o["ɵnov"](e,10)._hideControlPlaceholder(),o["ɵnov"](e,10)._control.disabled,o["ɵnov"](e,10)._control.autofilled,o["ɵnov"](e,10)._control.focused,"accent"==o["ɵnov"](e,10).color,"warn"==o["ɵnov"](e,10).color,o["ɵnov"](e,10)._shouldForward("untouched"),o["ɵnov"](e,10)._shouldForward("touched"),o["ɵnov"](e,10)._shouldForward("pristine"),o["ɵnov"](e,10)._shouldForward("dirty"),o["ɵnov"](e,10)._shouldForward("valid"),o["ɵnov"](e,10)._shouldForward("invalid"),o["ɵnov"](e,10)._shouldForward("pending"),!o["ɵnov"](e,10)._animationsEnabled]),n(e,20,1,[o["ɵnov"](e,25).ngClassUntouched,o["ɵnov"](e,25).ngClassTouched,o["ɵnov"](e,25).ngClassPristine,o["ɵnov"](e,25).ngClassDirty,o["ɵnov"](e,25).ngClassValid,o["ɵnov"](e,25).ngClassInvalid,o["ɵnov"](e,25).ngClassPending,o["ɵnov"](e,26).id,o["ɵnov"](e,26).tabIndex,o["ɵnov"](e,26)._getAriaLabel(),o["ɵnov"](e,26)._getAriaLabelledby(),o["ɵnov"](e,26).required.toString(),o["ɵnov"](e,26).disabled.toString(),o["ɵnov"](e,26).errorState,o["ɵnov"](e,26).panelOpen?o["ɵnov"](e,26)._optionIds:null,o["ɵnov"](e,26).multiple,o["ɵnov"](e,26)._ariaDescribedby||null,o["ɵnov"](e,26)._getAriaActiveDescendant(),o["ɵnov"](e,26).disabled,o["ɵnov"](e,26).errorState,o["ɵnov"](e,26).required,o["ɵnov"](e,26).empty]),n(e,33,0,o["ɵnov"](e,34).disabled||null,"NoopAnimations"===o["ɵnov"](e,34)._animationMode),n(e,42,1,["standard"==o["ɵnov"](e,43).appearance,"fill"==o["ɵnov"](e,43).appearance,"outline"==o["ɵnov"](e,43).appearance,"legacy"==o["ɵnov"](e,43).appearance,o["ɵnov"](e,43)._control.errorState,o["ɵnov"](e,43)._canLabelFloat,o["ɵnov"](e,43)._shouldLabelFloat(),o["ɵnov"](e,43)._hasFloatingLabel(),o["ɵnov"](e,43)._hideControlPlaceholder(),o["ɵnov"](e,43)._control.disabled,o["ɵnov"](e,43)._control.autofilled,o["ɵnov"](e,43)._control.focused,"accent"==o["ɵnov"](e,43).color,"warn"==o["ɵnov"](e,43).color,o["ɵnov"](e,43)._shouldForward("untouched"),o["ɵnov"](e,43)._shouldForward("touched"),o["ɵnov"](e,43)._shouldForward("pristine"),o["ɵnov"](e,43)._shouldForward("dirty"),o["ɵnov"](e,43)._shouldForward("valid"),o["ɵnov"](e,43)._shouldForward("invalid"),o["ɵnov"](e,43)._shouldForward("pending"),!o["ɵnov"](e,43)._animationsEnabled]),n(e,53,1,[o["ɵnov"](e,58).ngClassUntouched,o["ɵnov"](e,58).ngClassTouched,o["ɵnov"](e,58).ngClassPristine,o["ɵnov"](e,58).ngClassDirty,o["ɵnov"](e,58).ngClassValid,o["ɵnov"](e,58).ngClassInvalid,o["ɵnov"](e,58).ngClassPending,o["ɵnov"](e,59)._isServer,o["ɵnov"](e,59).id,o["ɵnov"](e,59).placeholder,o["ɵnov"](e,59).disabled,o["ɵnov"](e,59).required,o["ɵnov"](e,59).readonly&&!o["ɵnov"](e,59)._isNativeSelect||null,o["ɵnov"](e,59)._ariaDescribedby||null,o["ɵnov"](e,59).errorState,o["ɵnov"](e,59).required.toString()]),n(e,61,0,o["ɵnov"](e,62).disabled||null,"NoopAnimations"===o["ɵnov"](e,62)._animationMode),n(e,74,0,o["ɵnov"](e,78).ngClassUntouched,o["ɵnov"](e,78).ngClassTouched,o["ɵnov"](e,78).ngClassPristine,o["ɵnov"](e,78).ngClassDirty,o["ɵnov"](e,78).ngClassValid,o["ɵnov"](e,78).ngClassInvalid,o["ɵnov"](e,78).ngClassPending),n(e,79,1,["standard"==o["ɵnov"](e,80).appearance,"fill"==o["ɵnov"](e,80).appearance,"outline"==o["ɵnov"](e,80).appearance,"legacy"==o["ɵnov"](e,80).appearance,o["ɵnov"](e,80)._control.errorState,o["ɵnov"](e,80)._canLabelFloat,o["ɵnov"](e,80)._shouldLabelFloat(),o["ɵnov"](e,80)._hasFloatingLabel(),o["ɵnov"](e,80)._hideControlPlaceholder(),o["ɵnov"](e,80)._control.disabled,o["ɵnov"](e,80)._control.autofilled,o["ɵnov"](e,80)._control.focused,"accent"==o["ɵnov"](e,80).color,"warn"==o["ɵnov"](e,80).color,o["ɵnov"](e,80)._shouldForward("untouched"),o["ɵnov"](e,80)._shouldForward("touched"),o["ɵnov"](e,80)._shouldForward("pristine"),o["ɵnov"](e,80)._shouldForward("dirty"),o["ɵnov"](e,80)._shouldForward("valid"),o["ɵnov"](e,80)._shouldForward("invalid"),o["ɵnov"](e,80)._shouldForward("pending"),!o["ɵnov"](e,80)._animationsEnabled]),n(e,90,1,[o["ɵnov"](e,95).ngClassUntouched,o["ɵnov"](e,95).ngClassTouched,o["ɵnov"](e,95).ngClassPristine,o["ɵnov"](e,95).ngClassDirty,o["ɵnov"](e,95).ngClassValid,o["ɵnov"](e,95).ngClassInvalid,o["ɵnov"](e,95).ngClassPending,o["ɵnov"](e,96)._isServer,o["ɵnov"](e,96).id,o["ɵnov"](e,96).placeholder,o["ɵnov"](e,96).disabled,o["ɵnov"](e,96).required,o["ɵnov"](e,96).readonly&&!o["ɵnov"](e,96)._isNativeSelect||null,o["ɵnov"](e,96)._ariaDescribedby||null,o["ɵnov"](e,96).errorState,o["ɵnov"](e,96).required.toString()]),n(e,98,1,["standard"==o["ɵnov"](e,99).appearance,"fill"==o["ɵnov"](e,99).appearance,"outline"==o["ɵnov"](e,99).appearance,"legacy"==o["ɵnov"](e,99).appearance,o["ɵnov"](e,99)._control.errorState,o["ɵnov"](e,99)._canLabelFloat,o["ɵnov"](e,99)._shouldLabelFloat(),o["ɵnov"](e,99)._hasFloatingLabel(),o["ɵnov"](e,99)._hideControlPlaceholder(),o["ɵnov"](e,99)._control.disabled,o["ɵnov"](e,99)._control.autofilled,o["ɵnov"](e,99)._control.focused,"accent"==o["ɵnov"](e,99).color,"warn"==o["ɵnov"](e,99).color,o["ɵnov"](e,99)._shouldForward("untouched"),o["ɵnov"](e,99)._shouldForward("touched"),o["ɵnov"](e,99)._shouldForward("pristine"),o["ɵnov"](e,99)._shouldForward("dirty"),o["ɵnov"](e,99)._shouldForward("valid"),o["ɵnov"](e,99)._shouldForward("invalid"),o["ɵnov"](e,99)._shouldForward("pending"),!o["ɵnov"](e,99)._animationsEnabled]),n(e,109,1,[o["ɵnov"](e,113).ngClassUntouched,o["ɵnov"](e,113).ngClassTouched,o["ɵnov"](e,113).ngClassPristine,o["ɵnov"](e,113).ngClassDirty,o["ɵnov"](e,113).ngClassValid,o["ɵnov"](e,113).ngClassInvalid,o["ɵnov"](e,113).ngClassPending,o["ɵnov"](e,114).id,o["ɵnov"](e,114).tabIndex,o["ɵnov"](e,114)._getAriaLabel(),o["ɵnov"](e,114)._getAriaLabelledby(),o["ɵnov"](e,114).required.toString(),o["ɵnov"](e,114).disabled.toString(),o["ɵnov"](e,114).errorState,o["ɵnov"](e,114).panelOpen?o["ɵnov"](e,114)._optionIds:null,o["ɵnov"](e,114).multiple,o["ɵnov"](e,114)._ariaDescribedby||null,o["ɵnov"](e,114)._getAriaActiveDescendant(),o["ɵnov"](e,114).disabled,o["ɵnov"](e,114).errorState,o["ɵnov"](e,114).required,o["ɵnov"](e,114).empty]),n(e,121,1,["standard"==o["ɵnov"](e,122).appearance,"fill"==o["ɵnov"](e,122).appearance,"outline"==o["ɵnov"](e,122).appearance,"legacy"==o["ɵnov"](e,122).appearance,o["ɵnov"](e,122)._control.errorState,o["ɵnov"](e,122)._canLabelFloat,o["ɵnov"](e,122)._shouldLabelFloat(),o["ɵnov"](e,122)._hasFloatingLabel(),o["ɵnov"](e,122)._hideControlPlaceholder(),o["ɵnov"](e,122)._control.disabled,o["ɵnov"](e,122)._control.autofilled,o["ɵnov"](e,122)._control.focused,"accent"==o["ɵnov"](e,122).color,"warn"==o["ɵnov"](e,122).color,o["ɵnov"](e,122)._shouldForward("untouched"),o["ɵnov"](e,122)._shouldForward("touched"),o["ɵnov"](e,122)._shouldForward("pristine"),o["ɵnov"](e,122)._shouldForward("dirty"),o["ɵnov"](e,122)._shouldForward("valid"),o["ɵnov"](e,122)._shouldForward("invalid"),o["ɵnov"](e,122)._shouldForward("pending"),!o["ɵnov"](e,122)._animationsEnabled]),n(e,132,1,[o["ɵnov"](e,137).ngClassUntouched,o["ɵnov"](e,137).ngClassTouched,o["ɵnov"](e,137).ngClassPristine,o["ɵnov"](e,137).ngClassDirty,o["ɵnov"](e,137).ngClassValid,o["ɵnov"](e,137).ngClassInvalid,o["ɵnov"](e,137).ngClassPending,o["ɵnov"](e,138)._isServer,o["ɵnov"](e,138).id,o["ɵnov"](e,138).placeholder,o["ɵnov"](e,138).disabled,o["ɵnov"](e,138).required,o["ɵnov"](e,138).readonly&&!o["ɵnov"](e,138)._isNativeSelect||null,o["ɵnov"](e,138)._ariaDescribedby||null,o["ɵnov"](e,138).errorState,o["ɵnov"](e,138).required.toString()]),n(e,140,1,["standard"==o["ɵnov"](e,141).appearance,"fill"==o["ɵnov"](e,141).appearance,"outline"==o["ɵnov"](e,141).appearance,"legacy"==o["ɵnov"](e,141).appearance,o["ɵnov"](e,141)._control.errorState,o["ɵnov"](e,141)._canLabelFloat,o["ɵnov"](e,141)._shouldLabelFloat(),o["ɵnov"](e,141)._hasFloatingLabel(),o["ɵnov"](e,141)._hideControlPlaceholder(),o["ɵnov"](e,141)._control.disabled,o["ɵnov"](e,141)._control.autofilled,o["ɵnov"](e,141)._control.focused,"accent"==o["ɵnov"](e,141).color,"warn"==o["ɵnov"](e,141).color,o["ɵnov"](e,141)._shouldForward("untouched"),o["ɵnov"](e,141)._shouldForward("touched"),o["ɵnov"](e,141)._shouldForward("pristine"),o["ɵnov"](e,141)._shouldForward("dirty"),o["ɵnov"](e,141)._shouldForward("valid"),o["ɵnov"](e,141)._shouldForward("invalid"),o["ɵnov"](e,141)._shouldForward("pending"),!o["ɵnov"](e,141)._animationsEnabled]),n(e,151,1,[o["ɵnov"](e,156).ngClassUntouched,o["ɵnov"](e,156).ngClassTouched,o["ɵnov"](e,156).ngClassPristine,o["ɵnov"](e,156).ngClassDirty,o["ɵnov"](e,156).ngClassValid,o["ɵnov"](e,156).ngClassInvalid,o["ɵnov"](e,156).ngClassPending,o["ɵnov"](e,157)._isServer,o["ɵnov"](e,157).id,o["ɵnov"](e,157).placeholder,o["ɵnov"](e,157).disabled,o["ɵnov"](e,157).required,o["ɵnov"](e,157).readonly&&!o["ɵnov"](e,157)._isNativeSelect||null,o["ɵnov"](e,157)._ariaDescribedby||null,o["ɵnov"](e,157).errorState,o["ɵnov"](e,157).required.toString()]),n(e,159,1,["standard"==o["ɵnov"](e,160).appearance,"fill"==o["ɵnov"](e,160).appearance,"outline"==o["ɵnov"](e,160).appearance,"legacy"==o["ɵnov"](e,160).appearance,o["ɵnov"](e,160)._control.errorState,o["ɵnov"](e,160)._canLabelFloat,o["ɵnov"](e,160)._shouldLabelFloat(),o["ɵnov"](e,160)._hasFloatingLabel(),o["ɵnov"](e,160)._hideControlPlaceholder(),o["ɵnov"](e,160)._control.disabled,o["ɵnov"](e,160)._control.autofilled,o["ɵnov"](e,160)._control.focused,"accent"==o["ɵnov"](e,160).color,"warn"==o["ɵnov"](e,160).color,o["ɵnov"](e,160)._shouldForward("untouched"),o["ɵnov"](e,160)._shouldForward("touched"),o["ɵnov"](e,160)._shouldForward("pristine"),o["ɵnov"](e,160)._shouldForward("dirty"),o["ɵnov"](e,160)._shouldForward("valid"),o["ɵnov"](e,160)._shouldForward("invalid"),o["ɵnov"](e,160)._shouldForward("pending"),!o["ɵnov"](e,160)._animationsEnabled]),n(e,170,1,[o["ɵnov"](e,175).ngClassUntouched,o["ɵnov"](e,175).ngClassTouched,o["ɵnov"](e,175).ngClassPristine,o["ɵnov"](e,175).ngClassDirty,o["ɵnov"](e,175).ngClassValid,o["ɵnov"](e,175).ngClassInvalid,o["ɵnov"](e,175).ngClassPending,o["ɵnov"](e,176)._isServer,o["ɵnov"](e,176).id,o["ɵnov"](e,176).placeholder,o["ɵnov"](e,176).disabled,o["ɵnov"](e,176).required,o["ɵnov"](e,176).readonly&&!o["ɵnov"](e,176)._isNativeSelect||null,o["ɵnov"](e,176)._ariaDescribedby||null,o["ɵnov"](e,176).errorState,o["ɵnov"](e,176).required.toString()])}))}function IQ(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{udpTunnels:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](3,null,["Configurator for node ",""])),(n()(),o["ɵeld"](4,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](8,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,RQ)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](12,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](17,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,10,0,t.name),n(e,14,0,"accent"),n(e,17,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,3,0,t.name),n(e,7,0,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,16,0,o["ɵnov"](e,17).disabled||null,"NoopAnimations"===o["ɵnov"](e,17)._animationMode)}))}function DQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-cloud",[],null,null,null,IQ,SQ)),o["ɵdid"](1,114688,null,0,Aj,[tv,ij,hc,Gm,oS],null,null)],(function(n,e){n(e,1,0)}),null)}var FQ=o["ɵccf"]("app-configurator-cloud",Aj,DQ,{},{},[]),OQ=o["ɵcrt"]({encapsulation:0,styles:[o$,IC],data:{}});function MQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port : VPI : VCI "]))],null,null)}function NQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.portIn)}))}function AQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Port : VPI : VCI "]))],null,null)}function PQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](2,null,[" "," "]))],null,(function(n,e){n(e,2,0,e.context.$implicit.portOut)}))}function qQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Zc,[Sc,o.ElementRef],null,null),(n()(),o["ɵted"](-1,null,[" Actions "]))],null,null)}function LQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,Kc,[Sc,o.ElementRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete port"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,e,t){var l=!0,i=n.component;return"longpress"===e&&(l=!1!==o["ɵnov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["ɵnov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==i.delete(n.context.$implicit)&&l),l}),ou,lu)),o["ɵdid"](3,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),o["ɵdid"](4,212992,null,0,$d,[id,o.ElementRef,Ns,o.ViewContainerRef,o.NgZone,io,_o,Mo,Kd,[2,ki],[2,Yd],[2,J]],{message:[0,"message"]},null),(n()(),o["ɵeld"](5,0,null,0,2,"mat-icon",[["aria-label","Delete port"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,ss,us)),o["ɵdid"](6,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["delete"]))],(function(n,e){n(e,4,0,"Delete port"),n(e,6,0)}),(function(n,e){n(e,2,0,o["ɵnov"](e,3).disabled||null,"NoopAnimations"===o["ɵnov"](e,3)._animationMode),n(e,5,0,o["ɵnov"](e,6).inline,"primary"!==o["ɵnov"](e,6).color&&"accent"!==o["ɵnov"](e,6).color&&"warn"!==o["ɵnov"](e,6).color)}))}function jQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,lp,tp)),o["ɵprd"](6144,null,Oc,null,[$c]),o["ɵdid"](2,49152,null,0,$c,[],null,null)],null,null)}function VQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,ip,op)),o["ɵprd"](6144,null,Mc,null,[Qc]),o["ɵdid"](2,49152,null,0,Qc,[],null,null)],null,null)}function BQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,51,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ep,np)),o["ɵprd"](6144,null,Vc,null,[Uc]),o["ɵdid"](2,2342912,null,4,Uc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,ki],r.DOCUMENT,io],{dataSource:[0,"dataSource"]},null),o["ɵqud"](603979776,1,{_contentColumnDefs:1}),o["ɵqud"](603979776,2,{_contentRowDefs:1}),o["ɵqud"](603979776,3,{_contentHeaderRowDefs:1}),o["ɵqud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["ɵeld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](9,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,5,{cell:0}),o["ɵqud"](603979776,6,{headerCell:0}),o["ɵqud"](603979776,7,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,MQ)),o["ɵdid"](15,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[6,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,NQ)),o["ɵdid"](18,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[5,4]],Cc,null,[zc]),(n()(),o["ɵeld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](22,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,8,{cell:0}),o["ɵqud"](603979776,9,{headerCell:0}),o["ɵqud"](603979776,10,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,AQ)),o["ɵdid"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[9,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,PQ)),o["ɵdid"](31,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[8,4]],Cc,null,[zc]),(n()(),o["ɵeld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["ɵprd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Wc]),o["ɵdid"](35,16384,null,3,Wc,[],{name:[0,"name"]},null),o["ɵqud"](603979776,11,{cell:0}),o["ɵqud"](603979776,12,{headerCell:0}),o["ɵqud"](603979776,13,{footerCell:0}),o["ɵprd"](2048,[[1,4]],Sc,null,[Wc]),(n()(),o["ɵand"](0,null,null,2,null,qQ)),o["ɵdid"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[12,4]],wc,null,[Gc]),(n()(),o["ɵand"](0,null,null,2,null,LQ)),o["ɵdid"](44,16384,null,0,zc,[o.TemplateRef],null,null),o["ɵprd"](2048,[[11,4]],Cc,null,[zc]),(n()(),o["ɵand"](0,null,null,2,null,jQ)),o["ɵdid"](47,540672,null,0,Xc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[3,4]],Rc,null,[Xc]),(n()(),o["ɵand"](0,null,null,2,null,VQ)),o["ɵdid"](50,540672,null,0,Yc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["ɵprd"](2048,[[2,4]],Dc,null,[Yc])],(function(n,e){var t=e.component;n(e,2,0,t.nodeMappingsDataSource),n(e,9,0,"portIn"),n(e,22,0,"portOut"),n(e,35,0,"actions"),n(e,47,0,t.displayedColumns),n(e,50,0,t.displayedColumns)}),null)}function HQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,188,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,187,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,186,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,185,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,BQ)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](11,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,13).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,13).onReset()&&l),l}),null,null)),o["ɵdid"](12,16384,null,0,qm,[],null,null),o["ɵdid"](13,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](15,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](16,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](17,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,14,{_controlNonStatic:0}),o["ɵqud"](335544320,15,{_controlStatic:0}),o["ɵqud"](603979776,16,{_labelChildNonStatic:0}),o["ɵqud"](335544320,17,{_labelChildStatic:0}),o["ɵqud"](603979776,18,{_placeholderChild:0}),o["ɵqud"](603979776,19,{_errorChildren:1}),o["ɵqud"](603979776,20,{_hintChildren:1}),o["ɵqud"](603979776,21,{_prefixChildren:1}),o["ɵqud"](603979776,22,{_suffixChildren:1}),(n()(),o["ɵeld"](27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,28)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,28).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,28)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,28)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,33)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,33)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](28,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](30,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](32,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](33,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[14,4],[15,4]],ag,null,[Lg]),(n()(),o["ɵeld"](35,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.useVpiOnly=t)&&l),l}),O_,F_)),o["ɵdid"](36,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](38,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](40,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use VPI only (VP tunnel) "])),(n()(),o["ɵeld"](42,0,null,0,25,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,44).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,44).onReset()&&l),l}),null,null)),o["ɵdid"](43,16384,null,0,qm,[],null,null),o["ɵdid"](44,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](46,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵted"](-1,null,[" Source "])),(n()(),o["ɵeld"](48,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](49,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,23,{_controlNonStatic:0}),o["ɵqud"](335544320,24,{_controlStatic:0}),o["ɵqud"](603979776,25,{_labelChildNonStatic:0}),o["ɵqud"](335544320,26,{_labelChildStatic:0}),o["ɵqud"](603979776,27,{_placeholderChild:0}),o["ɵqud"](603979776,28,{_errorChildren:1}),o["ɵqud"](603979776,29,{_hintChildren:1}),o["ɵqud"](603979776,30,{_prefixChildren:1}),o["ɵqud"](603979776,31,{_suffixChildren:1}),(n()(),o["ɵeld"](59,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourcePort"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,60)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,60).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,60)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,60)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,61).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,61).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,61).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,66)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,66)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,66)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.sourcePort=t)&&l),l}),null,null)),o["ɵdid"](60,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](61,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](63,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](65,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](66,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[23,4],[24,4]],ag,null,[Lg]),(n()(),o["ɵeld"](68,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,70).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,70).onReset()&&l),l}),null,null)),o["ɵdid"](69,16384,null,0,qm,[],null,null),o["ɵdid"](70,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](72,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](73,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](74,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,32,{_controlNonStatic:0}),o["ɵqud"](335544320,33,{_controlStatic:0}),o["ɵqud"](603979776,34,{_labelChildNonStatic:0}),o["ɵqud"](335544320,35,{_labelChildStatic:0}),o["ɵqud"](603979776,36,{_placeholderChild:0}),o["ɵqud"](603979776,37,{_errorChildren:1}),o["ɵqud"](603979776,38,{_hintChildren:1}),o["ɵqud"](603979776,39,{_prefixChildren:1}),o["ɵqud"](603979776,40,{_suffixChildren:1}),(n()(),o["ɵeld"](84,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourceVpi"],["matInput",""],["placeholder","VPI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,85)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,85).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,85)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,85)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,86).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,86).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,86).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,91)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,91)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.sourceVpi=t)&&l),l}),null,null)),o["ɵdid"](85,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](86,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](88,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](90,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](91,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[32,4],[33,4]],ag,null,[Lg]),(n()(),o["ɵeld"](93,0,null,0,45,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,95).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,95).onReset()&&l),l}),null,null)),o["ɵdid"](94,16384,null,0,qm,[],null,null),o["ɵdid"](95,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](97,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](98,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](99,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,41,{_controlNonStatic:0}),o["ɵqud"](335544320,42,{_controlStatic:0}),o["ɵqud"](603979776,43,{_labelChildNonStatic:0}),o["ɵqud"](335544320,44,{_labelChildStatic:0}),o["ɵqud"](603979776,45,{_placeholderChild:0}),o["ɵqud"](603979776,46,{_errorChildren:1}),o["ɵqud"](603979776,47,{_hintChildren:1}),o["ɵqud"](603979776,48,{_prefixChildren:1}),o["ɵqud"](603979776,49,{_suffixChildren:1}),(n()(),o["ɵeld"](109,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourceVci"],["matInput",""],["placeholder","VCI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,110)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,110).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,110)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,110)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,111).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,111).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,111).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,116)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,116)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,116)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.sourceVci=t)&&l),l}),null,null)),o["ɵdid"](110,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](111,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](113,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](115,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](116,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[41,4],[42,4]],ag,null,[Lg]),(n()(),o["ɵted"](-1,null,[" Destination "])),(n()(),o["ɵeld"](119,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](120,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,50,{_controlNonStatic:0}),o["ɵqud"](335544320,51,{_controlStatic:0}),o["ɵqud"](603979776,52,{_labelChildNonStatic:0}),o["ɵqud"](335544320,53,{_labelChildStatic:0}),o["ɵqud"](603979776,54,{_placeholderChild:0}),o["ɵqud"](603979776,55,{_errorChildren:1}),o["ɵqud"](603979776,56,{_hintChildren:1}),o["ɵqud"](603979776,57,{_prefixChildren:1}),o["ɵqud"](603979776,58,{_suffixChildren:1}),(n()(),o["ɵeld"](130,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","destinationPort"],["matInput",""],["placeholder","Port"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,131)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,131).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,131)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,131)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,132).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,132).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,132).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,137)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,137)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,137)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.destinationPort=t)&&l),l}),null,null)),o["ɵdid"](131,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](132,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](134,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](136,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](137,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[50,4],[51,4]],ag,null,[Lg]),(n()(),o["ɵeld"](139,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,141).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,141).onReset()&&l),l}),null,null)),o["ɵdid"](140,16384,null,0,qm,[],null,null),o["ɵdid"](141,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](143,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](144,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](145,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,59,{_controlNonStatic:0}),o["ɵqud"](335544320,60,{_controlStatic:0}),o["ɵqud"](603979776,61,{_labelChildNonStatic:0}),o["ɵqud"](335544320,62,{_labelChildStatic:0}),o["ɵqud"](603979776,63,{_placeholderChild:0}),o["ɵqud"](603979776,64,{_errorChildren:1}),o["ɵqud"](603979776,65,{_hintChildren:1}),o["ɵqud"](603979776,66,{_prefixChildren:1}),o["ɵqud"](603979776,67,{_suffixChildren:1}),(n()(),o["ɵeld"](155,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","destinationVpi"],["matInput",""],["placeholder","VPI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,156)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,156).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,156)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,156)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,157).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,157).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,157).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,162)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,162)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,162)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.destinationVpi=t)&&l),l}),null,null)),o["ɵdid"](156,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](157,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](159,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](161,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](162,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[59,4],[60,4]],ag,null,[Lg]),(n()(),o["ɵeld"](164,0,null,0,24,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,166).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,166).onReset()&&l),l}),null,null)),o["ɵdid"](165,16384,null,0,qm,[],null,null),o["ɵdid"](166,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](168,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](169,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](170,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,68,{_controlNonStatic:0}),o["ɵqud"](335544320,69,{_controlStatic:0}),o["ɵqud"](603979776,70,{_labelChildNonStatic:0}),o["ɵqud"](335544320,71,{_labelChildStatic:0}),o["ɵqud"](603979776,72,{_placeholderChild:0}),o["ɵqud"](603979776,73,{_errorChildren:1}),o["ɵqud"](603979776,74,{_hintChildren:1}),o["ɵqud"](603979776,75,{_prefixChildren:1}),o["ɵqud"](603979776,76,{_suffixChildren:1}),(n()(),o["ɵeld"](180,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","destinationVci"],["matInput",""],["placeholder","VCI"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,181)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,181).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,181)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,181)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,182).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,182).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,182).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,187)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,187)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,187)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.destinationVci=t)&&l),l}),null,null)),o["ɵdid"](181,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](182,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](184,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](186,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](187,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[68,4],[69,4]],ag,null,[Lg]),(n()(),o["ɵeld"](189,0,null,0,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.add()&&l),l}),ou,lu)),o["ɵdid"](190,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Add"])),(n()(),o["ɵeld"](192,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](193,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](194,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](195,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](197,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](198,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,9,0,t.nodeMappingsDataSource.length),n(e,13,0,t.nameForm),n(e,30,0,"name",t.node.name),n(e,33,0,"Name","text"),n(e,38,0,t.useVpiOnly),n(e,44,0,t.inputForm),n(e,63,0,"sourcePort",t.sourcePort),n(e,66,0,"Port","number"),n(e,70,0,t.abstractForm),n(e,88,0,"sourceVpi",t.sourceVpi),n(e,91,0,"VPI","number"),n(e,95,0,t.inputForm),n(e,113,0,"sourceVci",t.sourceVci),n(e,116,0,"VCI","number"),n(e,134,0,"destinationPort",t.destinationPort),n(e,137,0,"Port","number"),n(e,141,0,t.abstractForm),n(e,159,0,"destinationVpi",t.destinationVpi),n(e,162,0,"VPI","number"),n(e,166,0,t.inputForm),n(e,184,0,"destinationVci",t.destinationVci),n(e,187,0,"VCI","number"),n(e,195,0,"accent"),n(e,198,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,11,0,o["ɵnov"](e,15).ngClassUntouched,o["ɵnov"](e,15).ngClassTouched,o["ɵnov"](e,15).ngClassPristine,o["ɵnov"](e,15).ngClassDirty,o["ɵnov"](e,15).ngClassValid,o["ɵnov"](e,15).ngClassInvalid,o["ɵnov"](e,15).ngClassPending),n(e,16,1,["standard"==o["ɵnov"](e,17).appearance,"fill"==o["ɵnov"](e,17).appearance,"outline"==o["ɵnov"](e,17).appearance,"legacy"==o["ɵnov"](e,17).appearance,o["ɵnov"](e,17)._control.errorState,o["ɵnov"](e,17)._canLabelFloat,o["ɵnov"](e,17)._shouldLabelFloat(),o["ɵnov"](e,17)._hasFloatingLabel(),o["ɵnov"](e,17)._hideControlPlaceholder(),o["ɵnov"](e,17)._control.disabled,o["ɵnov"](e,17)._control.autofilled,o["ɵnov"](e,17)._control.focused,"accent"==o["ɵnov"](e,17).color,"warn"==o["ɵnov"](e,17).color,o["ɵnov"](e,17)._shouldForward("untouched"),o["ɵnov"](e,17)._shouldForward("touched"),o["ɵnov"](e,17)._shouldForward("pristine"),o["ɵnov"](e,17)._shouldForward("dirty"),o["ɵnov"](e,17)._shouldForward("valid"),o["ɵnov"](e,17)._shouldForward("invalid"),o["ɵnov"](e,17)._shouldForward("pending"),!o["ɵnov"](e,17)._animationsEnabled]),n(e,27,1,[o["ɵnov"](e,32).ngClassUntouched,o["ɵnov"](e,32).ngClassTouched,o["ɵnov"](e,32).ngClassPristine,o["ɵnov"](e,32).ngClassDirty,o["ɵnov"](e,32).ngClassValid,o["ɵnov"](e,32).ngClassInvalid,o["ɵnov"](e,32).ngClassPending,o["ɵnov"](e,33)._isServer,o["ɵnov"](e,33).id,o["ɵnov"](e,33).placeholder,o["ɵnov"](e,33).disabled,o["ɵnov"](e,33).required,o["ɵnov"](e,33).readonly&&!o["ɵnov"](e,33)._isNativeSelect||null,o["ɵnov"](e,33)._ariaDescribedby||null,o["ɵnov"](e,33).errorState,o["ɵnov"](e,33).required.toString()]),n(e,35,1,[o["ɵnov"](e,36).id,null,o["ɵnov"](e,36).indeterminate,o["ɵnov"](e,36).checked,o["ɵnov"](e,36).disabled,"before"==o["ɵnov"](e,36).labelPosition,"NoopAnimations"===o["ɵnov"](e,36)._animationMode,o["ɵnov"](e,40).ngClassUntouched,o["ɵnov"](e,40).ngClassTouched,o["ɵnov"](e,40).ngClassPristine,o["ɵnov"](e,40).ngClassDirty,o["ɵnov"](e,40).ngClassValid,o["ɵnov"](e,40).ngClassInvalid,o["ɵnov"](e,40).ngClassPending]),n(e,42,0,o["ɵnov"](e,46).ngClassUntouched,o["ɵnov"](e,46).ngClassTouched,o["ɵnov"](e,46).ngClassPristine,o["ɵnov"](e,46).ngClassDirty,o["ɵnov"](e,46).ngClassValid,o["ɵnov"](e,46).ngClassInvalid,o["ɵnov"](e,46).ngClassPending),n(e,48,1,["standard"==o["ɵnov"](e,49).appearance,"fill"==o["ɵnov"](e,49).appearance,"outline"==o["ɵnov"](e,49).appearance,"legacy"==o["ɵnov"](e,49).appearance,o["ɵnov"](e,49)._control.errorState,o["ɵnov"](e,49)._canLabelFloat,o["ɵnov"](e,49)._shouldLabelFloat(),o["ɵnov"](e,49)._hasFloatingLabel(),o["ɵnov"](e,49)._hideControlPlaceholder(),o["ɵnov"](e,49)._control.disabled,o["ɵnov"](e,49)._control.autofilled,o["ɵnov"](e,49)._control.focused,"accent"==o["ɵnov"](e,49).color,"warn"==o["ɵnov"](e,49).color,o["ɵnov"](e,49)._shouldForward("untouched"),o["ɵnov"](e,49)._shouldForward("touched"),o["ɵnov"](e,49)._shouldForward("pristine"),o["ɵnov"](e,49)._shouldForward("dirty"),o["ɵnov"](e,49)._shouldForward("valid"),o["ɵnov"](e,49)._shouldForward("invalid"),o["ɵnov"](e,49)._shouldForward("pending"),!o["ɵnov"](e,49)._animationsEnabled]),n(e,59,1,[o["ɵnov"](e,65).ngClassUntouched,o["ɵnov"](e,65).ngClassTouched,o["ɵnov"](e,65).ngClassPristine,o["ɵnov"](e,65).ngClassDirty,o["ɵnov"](e,65).ngClassValid,o["ɵnov"](e,65).ngClassInvalid,o["ɵnov"](e,65).ngClassPending,o["ɵnov"](e,66)._isServer,o["ɵnov"](e,66).id,o["ɵnov"](e,66).placeholder,o["ɵnov"](e,66).disabled,o["ɵnov"](e,66).required,o["ɵnov"](e,66).readonly&&!o["ɵnov"](e,66)._isNativeSelect||null,o["ɵnov"](e,66)._ariaDescribedby||null,o["ɵnov"](e,66).errorState,o["ɵnov"](e,66).required.toString()]),n(e,68,0,o["ɵnov"](e,72).ngClassUntouched,o["ɵnov"](e,72).ngClassTouched,o["ɵnov"](e,72).ngClassPristine,o["ɵnov"](e,72).ngClassDirty,o["ɵnov"](e,72).ngClassValid,o["ɵnov"](e,72).ngClassInvalid,o["ɵnov"](e,72).ngClassPending),n(e,73,1,["standard"==o["ɵnov"](e,74).appearance,"fill"==o["ɵnov"](e,74).appearance,"outline"==o["ɵnov"](e,74).appearance,"legacy"==o["ɵnov"](e,74).appearance,o["ɵnov"](e,74)._control.errorState,o["ɵnov"](e,74)._canLabelFloat,o["ɵnov"](e,74)._shouldLabelFloat(),o["ɵnov"](e,74)._hasFloatingLabel(),o["ɵnov"](e,74)._hideControlPlaceholder(),o["ɵnov"](e,74)._control.disabled,o["ɵnov"](e,74)._control.autofilled,o["ɵnov"](e,74)._control.focused,"accent"==o["ɵnov"](e,74).color,"warn"==o["ɵnov"](e,74).color,o["ɵnov"](e,74)._shouldForward("untouched"),o["ɵnov"](e,74)._shouldForward("touched"),o["ɵnov"](e,74)._shouldForward("pristine"),o["ɵnov"](e,74)._shouldForward("dirty"),o["ɵnov"](e,74)._shouldForward("valid"),o["ɵnov"](e,74)._shouldForward("invalid"),o["ɵnov"](e,74)._shouldForward("pending"),!o["ɵnov"](e,74)._animationsEnabled]),n(e,84,1,[o["ɵnov"](e,90).ngClassUntouched,o["ɵnov"](e,90).ngClassTouched,o["ɵnov"](e,90).ngClassPristine,o["ɵnov"](e,90).ngClassDirty,o["ɵnov"](e,90).ngClassValid,o["ɵnov"](e,90).ngClassInvalid,o["ɵnov"](e,90).ngClassPending,o["ɵnov"](e,91)._isServer,o["ɵnov"](e,91).id,o["ɵnov"](e,91).placeholder,o["ɵnov"](e,91).disabled,o["ɵnov"](e,91).required,o["ɵnov"](e,91).readonly&&!o["ɵnov"](e,91)._isNativeSelect||null,o["ɵnov"](e,91)._ariaDescribedby||null,o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).required.toString()]),n(e,93,0,o["ɵnov"](e,97).ngClassUntouched,o["ɵnov"](e,97).ngClassTouched,o["ɵnov"](e,97).ngClassPristine,o["ɵnov"](e,97).ngClassDirty,o["ɵnov"](e,97).ngClassValid,o["ɵnov"](e,97).ngClassInvalid,o["ɵnov"](e,97).ngClassPending),n(e,98,1,["standard"==o["ɵnov"](e,99).appearance,"fill"==o["ɵnov"](e,99).appearance,"outline"==o["ɵnov"](e,99).appearance,"legacy"==o["ɵnov"](e,99).appearance,o["ɵnov"](e,99)._control.errorState,o["ɵnov"](e,99)._canLabelFloat,o["ɵnov"](e,99)._shouldLabelFloat(),o["ɵnov"](e,99)._hasFloatingLabel(),o["ɵnov"](e,99)._hideControlPlaceholder(),o["ɵnov"](e,99)._control.disabled,o["ɵnov"](e,99)._control.autofilled,o["ɵnov"](e,99)._control.focused,"accent"==o["ɵnov"](e,99).color,"warn"==o["ɵnov"](e,99).color,o["ɵnov"](e,99)._shouldForward("untouched"),o["ɵnov"](e,99)._shouldForward("touched"),o["ɵnov"](e,99)._shouldForward("pristine"),o["ɵnov"](e,99)._shouldForward("dirty"),o["ɵnov"](e,99)._shouldForward("valid"),o["ɵnov"](e,99)._shouldForward("invalid"),o["ɵnov"](e,99)._shouldForward("pending"),!o["ɵnov"](e,99)._animationsEnabled]),n(e,109,1,[o["ɵnov"](e,115).ngClassUntouched,o["ɵnov"](e,115).ngClassTouched,o["ɵnov"](e,115).ngClassPristine,o["ɵnov"](e,115).ngClassDirty,o["ɵnov"](e,115).ngClassValid,o["ɵnov"](e,115).ngClassInvalid,o["ɵnov"](e,115).ngClassPending,o["ɵnov"](e,116)._isServer,o["ɵnov"](e,116).id,o["ɵnov"](e,116).placeholder,o["ɵnov"](e,116).disabled,o["ɵnov"](e,116).required,o["ɵnov"](e,116).readonly&&!o["ɵnov"](e,116)._isNativeSelect||null,o["ɵnov"](e,116)._ariaDescribedby||null,o["ɵnov"](e,116).errorState,o["ɵnov"](e,116).required.toString()]),n(e,119,1,["standard"==o["ɵnov"](e,120).appearance,"fill"==o["ɵnov"](e,120).appearance,"outline"==o["ɵnov"](e,120).appearance,"legacy"==o["ɵnov"](e,120).appearance,o["ɵnov"](e,120)._control.errorState,o["ɵnov"](e,120)._canLabelFloat,o["ɵnov"](e,120)._shouldLabelFloat(),o["ɵnov"](e,120)._hasFloatingLabel(),o["ɵnov"](e,120)._hideControlPlaceholder(),o["ɵnov"](e,120)._control.disabled,o["ɵnov"](e,120)._control.autofilled,o["ɵnov"](e,120)._control.focused,"accent"==o["ɵnov"](e,120).color,"warn"==o["ɵnov"](e,120).color,o["ɵnov"](e,120)._shouldForward("untouched"),o["ɵnov"](e,120)._shouldForward("touched"),o["ɵnov"](e,120)._shouldForward("pristine"),o["ɵnov"](e,120)._shouldForward("dirty"),o["ɵnov"](e,120)._shouldForward("valid"),o["ɵnov"](e,120)._shouldForward("invalid"),o["ɵnov"](e,120)._shouldForward("pending"),!o["ɵnov"](e,120)._animationsEnabled]),n(e,130,1,[o["ɵnov"](e,136).ngClassUntouched,o["ɵnov"](e,136).ngClassTouched,o["ɵnov"](e,136).ngClassPristine,o["ɵnov"](e,136).ngClassDirty,o["ɵnov"](e,136).ngClassValid,o["ɵnov"](e,136).ngClassInvalid,o["ɵnov"](e,136).ngClassPending,o["ɵnov"](e,137)._isServer,o["ɵnov"](e,137).id,o["ɵnov"](e,137).placeholder,o["ɵnov"](e,137).disabled,o["ɵnov"](e,137).required,o["ɵnov"](e,137).readonly&&!o["ɵnov"](e,137)._isNativeSelect||null,o["ɵnov"](e,137)._ariaDescribedby||null,o["ɵnov"](e,137).errorState,o["ɵnov"](e,137).required.toString()]),n(e,139,0,o["ɵnov"](e,143).ngClassUntouched,o["ɵnov"](e,143).ngClassTouched,o["ɵnov"](e,143).ngClassPristine,o["ɵnov"](e,143).ngClassDirty,o["ɵnov"](e,143).ngClassValid,o["ɵnov"](e,143).ngClassInvalid,o["ɵnov"](e,143).ngClassPending),n(e,144,1,["standard"==o["ɵnov"](e,145).appearance,"fill"==o["ɵnov"](e,145).appearance,"outline"==o["ɵnov"](e,145).appearance,"legacy"==o["ɵnov"](e,145).appearance,o["ɵnov"](e,145)._control.errorState,o["ɵnov"](e,145)._canLabelFloat,o["ɵnov"](e,145)._shouldLabelFloat(),o["ɵnov"](e,145)._hasFloatingLabel(),o["ɵnov"](e,145)._hideControlPlaceholder(),o["ɵnov"](e,145)._control.disabled,o["ɵnov"](e,145)._control.autofilled,o["ɵnov"](e,145)._control.focused,"accent"==o["ɵnov"](e,145).color,"warn"==o["ɵnov"](e,145).color,o["ɵnov"](e,145)._shouldForward("untouched"),o["ɵnov"](e,145)._shouldForward("touched"),o["ɵnov"](e,145)._shouldForward("pristine"),o["ɵnov"](e,145)._shouldForward("dirty"),o["ɵnov"](e,145)._shouldForward("valid"),o["ɵnov"](e,145)._shouldForward("invalid"),o["ɵnov"](e,145)._shouldForward("pending"),!o["ɵnov"](e,145)._animationsEnabled]),n(e,155,1,[o["ɵnov"](e,161).ngClassUntouched,o["ɵnov"](e,161).ngClassTouched,o["ɵnov"](e,161).ngClassPristine,o["ɵnov"](e,161).ngClassDirty,o["ɵnov"](e,161).ngClassValid,o["ɵnov"](e,161).ngClassInvalid,o["ɵnov"](e,161).ngClassPending,o["ɵnov"](e,162)._isServer,o["ɵnov"](e,162).id,o["ɵnov"](e,162).placeholder,o["ɵnov"](e,162).disabled,o["ɵnov"](e,162).required,o["ɵnov"](e,162).readonly&&!o["ɵnov"](e,162)._isNativeSelect||null,o["ɵnov"](e,162)._ariaDescribedby||null,o["ɵnov"](e,162).errorState,o["ɵnov"](e,162).required.toString()]),n(e,164,0,o["ɵnov"](e,168).ngClassUntouched,o["ɵnov"](e,168).ngClassTouched,o["ɵnov"](e,168).ngClassPristine,o["ɵnov"](e,168).ngClassDirty,o["ɵnov"](e,168).ngClassValid,o["ɵnov"](e,168).ngClassInvalid,o["ɵnov"](e,168).ngClassPending),n(e,169,1,["standard"==o["ɵnov"](e,170).appearance,"fill"==o["ɵnov"](e,170).appearance,"outline"==o["ɵnov"](e,170).appearance,"legacy"==o["ɵnov"](e,170).appearance,o["ɵnov"](e,170)._control.errorState,o["ɵnov"](e,170)._canLabelFloat,o["ɵnov"](e,170)._shouldLabelFloat(),o["ɵnov"](e,170)._hasFloatingLabel(),o["ɵnov"](e,170)._hideControlPlaceholder(),o["ɵnov"](e,170)._control.disabled,o["ɵnov"](e,170)._control.autofilled,o["ɵnov"](e,170)._control.focused,"accent"==o["ɵnov"](e,170).color,"warn"==o["ɵnov"](e,170).color,o["ɵnov"](e,170)._shouldForward("untouched"),o["ɵnov"](e,170)._shouldForward("touched"),o["ɵnov"](e,170)._shouldForward("pristine"),o["ɵnov"](e,170)._shouldForward("dirty"),o["ɵnov"](e,170)._shouldForward("valid"),o["ɵnov"](e,170)._shouldForward("invalid"),o["ɵnov"](e,170)._shouldForward("pending"),!o["ɵnov"](e,170)._animationsEnabled]),n(e,180,1,[o["ɵnov"](e,186).ngClassUntouched,o["ɵnov"](e,186).ngClassTouched,o["ɵnov"](e,186).ngClassPristine,o["ɵnov"](e,186).ngClassDirty,o["ɵnov"](e,186).ngClassValid,o["ɵnov"](e,186).ngClassInvalid,o["ɵnov"](e,186).ngClassPending,o["ɵnov"](e,187)._isServer,o["ɵnov"](e,187).id,o["ɵnov"](e,187).placeholder,o["ɵnov"](e,187).disabled,o["ɵnov"](e,187).required,o["ɵnov"](e,187).readonly&&!o["ɵnov"](e,187)._isNativeSelect||null,o["ɵnov"](e,187)._ariaDescribedby||null,o["ɵnov"](e,187).errorState,o["ɵnov"](e,187).required.toString()]),n(e,189,0,o["ɵnov"](e,190).disabled||null,"NoopAnimations"===o["ɵnov"](e,190)._animationMode),n(e,194,0,o["ɵnov"](e,195).disabled||null,"NoopAnimations"===o["ɵnov"](e,195)._animationMode),n(e,197,0,o["ɵnov"](e,198).disabled||null,"NoopAnimations"===o["ɵnov"](e,198)._animationMode)}))}function UQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-atm-switch",[],null,null,null,HQ,OQ)),o["ɵdid"](1,114688,null,0,Pj,[tv,ij,hc,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var zQ=o["ɵccf"]("app-configurator-atm-switch",Pj,UQ,{},{},[]),GQ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function WQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[23,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function ZQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[35,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit[1])}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])}))}function KQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,139,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,2,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,99,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,3,{templateLabel:0}),o["ɵqud"](335544320,4,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,79,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,5,{_controlNonStatic:0}),o["ɵqud"](335544320,6,{_controlStatic:0}),o["ɵqud"](603979776,7,{_labelChildNonStatic:0}),o["ɵqud"](335544320,8,{_labelChildStatic:0}),o["ɵqud"](603979776,9,{_placeholderChild:0}),o["ɵqud"](603979776,10,{_errorChildren:1}),o["ɵqud"](603979776,11,{_hintChildren:1}),o["ɵqud"](603979776,12,{_prefixChildren:1}),o["ɵqud"](603979776,13,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[5,4],[6,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,14,{_controlNonStatic:0}),o["ɵqud"](335544320,15,{_controlStatic:0}),o["ɵqud"](603979776,16,{_labelChildNonStatic:0}),o["ɵqud"](335544320,17,{_labelChildStatic:0}),o["ɵqud"](603979776,18,{_placeholderChild:0}),o["ɵqud"](603979776,19,{_errorChildren:1}),o["ɵqud"](603979776,20,{_hintChildren:1}),o["ɵqud"](603979776,21,{_prefixChildren:1}),o["ɵqud"](603979776,22,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,49)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,49)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,49)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](46,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](48,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](49,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,23,{options:1}),o["ɵqud"](603979776,24,{optionGroups:1}),o["ɵqud"](603979776,25,{customTrigger:0}),o["ɵprd"](2048,[[14,4],[15,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,WQ)),o["ɵdid"](55,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](56,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](57,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](59,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](60,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](62,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](64,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](65,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,26,{_controlNonStatic:0}),o["ɵqud"](335544320,27,{_controlStatic:0}),o["ɵqud"](603979776,28,{_labelChildNonStatic:0}),o["ɵqud"](335544320,29,{_labelChildStatic:0}),o["ɵqud"](603979776,30,{_placeholderChild:0}),o["ɵqud"](603979776,31,{_errorChildren:1}),o["ɵqud"](603979776,32,{_hintChildren:1}),o["ɵqud"](603979776,33,{_prefixChildren:1}),o["ɵqud"](603979776,34,{_suffixChildren:1}),(n()(),o["ɵeld"](75,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,81)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,81)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,81)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.on_close=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](77,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](78,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](80,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](81,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,35,{options:1}),o["ɵqud"](603979776,36,{optionGroups:1}),o["ɵqud"](603979776,37,{customTrigger:0}),o["ɵprd"](2048,[[26,4],[27,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,ZQ)),o["ɵdid"](87,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](88,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.headless=t)&&l),l}),O_,F_)),o["ɵdid"](89,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](91,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](93,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Start VM in headless mode "])),(n()(),o["ɵeld"](95,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](96,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.linked_clone=t)&&l),l}),O_,F_)),o["ɵdid"](97,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](99,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](101,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Use a linked base VM (experimental) "])),(n()(),o["ɵeld"](103,16777216,null,null,13,"mat-tab",[["label","Network"]],null,null,null,PG,NG)),o["ɵdid"](104,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,38,{templateLabel:0}),o["ɵqud"](335544320,39,{_explicitContent:0}),(n()(),o["ɵeld"](107,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](108,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.properties.use_any_adapter=t)&&l),l}),O_,F_)),o["ɵdid"](109,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](111,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](113,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Allow GNS3 to override non custom VMware adapter "])),(n()(),o["ɵeld"](115,0,null,0,1,"app-custom-adapters-table",[],null,null,null,nT,HE)),o["ɵdid"](116,49152,[[1,4],["customAdapters",4]],0,BE,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"],adapters:[2,"adapters"]},null),(n()(),o["ɵeld"](117,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](118,770048,[[2,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,40,{templateLabel:0}),o["ɵqud"](335544320,41,{_explicitContent:0}),(n()(),o["ɵeld"](121,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](122,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,42,{_controlNonStatic:0}),o["ɵqud"](335544320,43,{_controlStatic:0}),o["ɵqud"](603979776,44,{_labelChildNonStatic:0}),o["ɵqud"](335544320,45,{_labelChildStatic:0}),o["ɵqud"](603979776,46,{_placeholderChild:0}),o["ɵqud"](603979776,47,{_errorChildren:1}),o["ɵqud"](603979776,48,{_hintChildren:1}),o["ɵqud"](603979776,49,{_prefixChildren:1}),o["ɵqud"](603979776,50,{_suffixChildren:1}),(n()(),o["ɵeld"](132,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,133)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,133).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,133)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,133)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,138)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,138)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,138)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](133,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](135,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](137,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](138,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[42,4],[43,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text");var l=t.node.console_type,o=n(e,46,0,!0);n(e,45,0,l,o),n(e,49,0,"Console type"),n(e,55,0,t.consoleTypes);var i=t.node.console_auto_start,r=n(e,60,0,!0);n(e,59,0,i,r);var a=t.node.properties.on_close,u=n(e,78,0,!0);n(e,77,0,a,u),n(e,81,0,"On close"),n(e,87,0,t.onCloseOptions),n(e,91,0,t.node.properties.headless),n(e,99,0,t.node.properties.linked_clone),n(e,104,0,"Network"),n(e,111,0,t.node.properties.use_any_adapter),n(e,116,0,t.networkTypes,t.displayedColumns,t.node.ports),n(e,118,0,"Usage"),n(e,135,0,t.node.properties.usage),n(e,138,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,48).ngClassUntouched,o["ɵnov"](e,48).ngClassTouched,o["ɵnov"](e,48).ngClassPristine,o["ɵnov"](e,48).ngClassDirty,o["ɵnov"](e,48).ngClassValid,o["ɵnov"](e,48).ngClassInvalid,o["ɵnov"](e,48).ngClassPending,o["ɵnov"](e,49).id,o["ɵnov"](e,49).tabIndex,o["ɵnov"](e,49)._getAriaLabel(),o["ɵnov"](e,49)._getAriaLabelledby(),o["ɵnov"](e,49).required.toString(),o["ɵnov"](e,49).disabled.toString(),o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).panelOpen?o["ɵnov"](e,49)._optionIds:null,o["ɵnov"](e,49).multiple,o["ɵnov"](e,49)._ariaDescribedby||null,o["ɵnov"](e,49)._getAriaActiveDescendant(),o["ɵnov"](e,49).disabled,o["ɵnov"](e,49).errorState,o["ɵnov"](e,49).required,o["ɵnov"](e,49).empty]),n(e,56,1,[o["ɵnov"](e,57).id,null,o["ɵnov"](e,57).indeterminate,o["ɵnov"](e,57).checked,o["ɵnov"](e,57).disabled,"before"==o["ɵnov"](e,57).labelPosition,"NoopAnimations"===o["ɵnov"](e,57)._animationMode,o["ɵnov"](e,62).ngClassUntouched,o["ɵnov"](e,62).ngClassTouched,o["ɵnov"](e,62).ngClassPristine,o["ɵnov"](e,62).ngClassDirty,o["ɵnov"](e,62).ngClassValid,o["ɵnov"](e,62).ngClassInvalid,o["ɵnov"](e,62).ngClassPending]),n(e,64,1,["standard"==o["ɵnov"](e,65).appearance,"fill"==o["ɵnov"](e,65).appearance,"outline"==o["ɵnov"](e,65).appearance,"legacy"==o["ɵnov"](e,65).appearance,o["ɵnov"](e,65)._control.errorState,o["ɵnov"](e,65)._canLabelFloat,o["ɵnov"](e,65)._shouldLabelFloat(),o["ɵnov"](e,65)._hasFloatingLabel(),o["ɵnov"](e,65)._hideControlPlaceholder(),o["ɵnov"](e,65)._control.disabled,o["ɵnov"](e,65)._control.autofilled,o["ɵnov"](e,65)._control.focused,"accent"==o["ɵnov"](e,65).color,"warn"==o["ɵnov"](e,65).color,o["ɵnov"](e,65)._shouldForward("untouched"),o["ɵnov"](e,65)._shouldForward("touched"),o["ɵnov"](e,65)._shouldForward("pristine"),o["ɵnov"](e,65)._shouldForward("dirty"),o["ɵnov"](e,65)._shouldForward("valid"),o["ɵnov"](e,65)._shouldForward("invalid"),o["ɵnov"](e,65)._shouldForward("pending"),!o["ɵnov"](e,65)._animationsEnabled]),n(e,75,1,[o["ɵnov"](e,80).ngClassUntouched,o["ɵnov"](e,80).ngClassTouched,o["ɵnov"](e,80).ngClassPristine,o["ɵnov"](e,80).ngClassDirty,o["ɵnov"](e,80).ngClassValid,o["ɵnov"](e,80).ngClassInvalid,o["ɵnov"](e,80).ngClassPending,o["ɵnov"](e,81).id,o["ɵnov"](e,81).tabIndex,o["ɵnov"](e,81)._getAriaLabel(),o["ɵnov"](e,81)._getAriaLabelledby(),o["ɵnov"](e,81).required.toString(),o["ɵnov"](e,81).disabled.toString(),o["ɵnov"](e,81).errorState,o["ɵnov"](e,81).panelOpen?o["ɵnov"](e,81)._optionIds:null,o["ɵnov"](e,81).multiple,o["ɵnov"](e,81)._ariaDescribedby||null,o["ɵnov"](e,81)._getAriaActiveDescendant(),o["ɵnov"](e,81).disabled,o["ɵnov"](e,81).errorState,o["ɵnov"](e,81).required,o["ɵnov"](e,81).empty]),n(e,88,1,[o["ɵnov"](e,89).id,null,o["ɵnov"](e,89).indeterminate,o["ɵnov"](e,89).checked,o["ɵnov"](e,89).disabled,"before"==o["ɵnov"](e,89).labelPosition,"NoopAnimations"===o["ɵnov"](e,89)._animationMode,o["ɵnov"](e,93).ngClassUntouched,o["ɵnov"](e,93).ngClassTouched,o["ɵnov"](e,93).ngClassPristine,o["ɵnov"](e,93).ngClassDirty,o["ɵnov"](e,93).ngClassValid,o["ɵnov"](e,93).ngClassInvalid,o["ɵnov"](e,93).ngClassPending]),n(e,96,1,[o["ɵnov"](e,97).id,null,o["ɵnov"](e,97).indeterminate,o["ɵnov"](e,97).checked,o["ɵnov"](e,97).disabled,"before"==o["ɵnov"](e,97).labelPosition,"NoopAnimations"===o["ɵnov"](e,97)._animationMode,o["ɵnov"](e,101).ngClassUntouched,o["ɵnov"](e,101).ngClassTouched,o["ɵnov"](e,101).ngClassPristine,o["ɵnov"](e,101).ngClassDirty,o["ɵnov"](e,101).ngClassValid,o["ɵnov"](e,101).ngClassInvalid,o["ɵnov"](e,101).ngClassPending]),n(e,108,1,[o["ɵnov"](e,109).id,null,o["ɵnov"](e,109).indeterminate,o["ɵnov"](e,109).checked,o["ɵnov"](e,109).disabled,"before"==o["ɵnov"](e,109).labelPosition,"NoopAnimations"===o["ɵnov"](e,109)._animationMode,o["ɵnov"](e,113).ngClassUntouched,o["ɵnov"](e,113).ngClassTouched,o["ɵnov"](e,113).ngClassPristine,o["ɵnov"](e,113).ngClassDirty,o["ɵnov"](e,113).ngClassValid,o["ɵnov"](e,113).ngClassInvalid,o["ɵnov"](e,113).ngClassPending]),n(e,121,1,["standard"==o["ɵnov"](e,122).appearance,"fill"==o["ɵnov"](e,122).appearance,"outline"==o["ɵnov"](e,122).appearance,"legacy"==o["ɵnov"](e,122).appearance,o["ɵnov"](e,122)._control.errorState,o["ɵnov"](e,122)._canLabelFloat,o["ɵnov"](e,122)._shouldLabelFloat(),o["ɵnov"](e,122)._hasFloatingLabel(),o["ɵnov"](e,122)._hideControlPlaceholder(),o["ɵnov"](e,122)._control.disabled,o["ɵnov"](e,122)._control.autofilled,o["ɵnov"](e,122)._control.focused,"accent"==o["ɵnov"](e,122).color,"warn"==o["ɵnov"](e,122).color,o["ɵnov"](e,122)._shouldForward("untouched"),o["ɵnov"](e,122)._shouldForward("touched"),o["ɵnov"](e,122)._shouldForward("pristine"),o["ɵnov"](e,122)._shouldForward("dirty"),o["ɵnov"](e,122)._shouldForward("valid"),o["ɵnov"](e,122)._shouldForward("invalid"),o["ɵnov"](e,122)._shouldForward("pending"),!o["ɵnov"](e,122)._animationsEnabled]),n(e,132,1,[o["ɵnov"](e,137).ngClassUntouched,o["ɵnov"](e,137).ngClassTouched,o["ɵnov"](e,137).ngClassPristine,o["ɵnov"](e,137).ngClassDirty,o["ɵnov"](e,137).ngClassValid,o["ɵnov"](e,137).ngClassInvalid,o["ɵnov"](e,137).ngClassPending,o["ɵnov"](e,138)._isServer,o["ɵnov"](e,138).id,o["ɵnov"](e,138).placeholder,o["ɵnov"](e,138).disabled,o["ɵnov"](e,138).required,o["ɵnov"](e,138).readonly&&!o["ɵnov"](e,138)._isNativeSelect||null,o["ɵnov"](e,138)._ariaDescribedby||null,o["ɵnov"](e,138).errorState,o["ɵnov"](e,138).required.toString()])}))}function XQ(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{customAdapters:0}),(n()(),o["ɵeld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](2,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](3,null,["Configurator for node ",""])),(n()(),o["ɵeld"](4,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](8,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,KQ)),o["ɵdid"](10,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](11,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](12,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](14,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](17,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,2,0),n(e,10,0,t.name),n(e,14,0,"accent"),n(e,17,0,"primary")}),(function(n,e){var t=e.component;n(e,1,0,o["ɵnov"](e,2).id),n(e,3,0,t.name),n(e,7,0,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,13,0,o["ɵnov"](e,14).disabled||null,"NoopAnimations"===o["ɵnov"](e,14)._animationMode),n(e,16,0,o["ɵnov"](e,17).disabled||null,"NoopAnimations"===o["ɵnov"](e,17)._animationMode)}))}function YQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-vmware",[],null,null,null,XQ,GQ)),o["ɵdid"](1,114688,null,0,qj,[tv,ij,hc,Gm,QR],null,null)],(function(n,e){n(e,1,0)}),null)}var $Q=o["ɵccf"]("app-configurator-vmware",qj,YQ,{},{},[]),QQ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function JQ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[22,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function nJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,181,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,105,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,0,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,48)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,48)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](47,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](48,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,22,{options:1}),o["ɵqud"](603979776,23,{optionGroups:1}),o["ɵqud"](603979776,24,{customTrigger:0}),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,JQ)),o["ɵdid"](54,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](55,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](56,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](58,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](60,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](62,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](63,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](64,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,25,{_controlNonStatic:0}),o["ɵqud"](335544320,26,{_controlStatic:0}),o["ɵqud"](603979776,27,{_labelChildNonStatic:0}),o["ɵqud"](335544320,28,{_labelChildStatic:0}),o["ɵqud"](603979776,29,{_placeholderChild:0}),o["ɵqud"](603979776,30,{_errorChildren:1}),o["ɵqud"](603979776,31,{_hintChildren:1}),o["ɵqud"](603979776,32,{_prefixChildren:1}),o["ɵqud"](603979776,33,{_suffixChildren:1}),(n()(),o["ɵeld"](74,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","RAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,75)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,75).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,75)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,75)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,76).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,76).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,76).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,81)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,81)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,81)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.ram=t)&&l),l}),null,null)),o["ɵdid"](75,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](76,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](78,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](80,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](81,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[25,4],[26,4]],ag,null,[Lg]),(n()(),o["ɵeld"](83,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](84,16384,[[33,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](86,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](87,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,34,{_controlNonStatic:0}),o["ɵqud"](335544320,35,{_controlStatic:0}),o["ɵqud"](603979776,36,{_labelChildNonStatic:0}),o["ɵqud"](335544320,37,{_labelChildStatic:0}),o["ɵqud"](603979776,38,{_placeholderChild:0}),o["ɵqud"](603979776,39,{_errorChildren:1}),o["ɵqud"](603979776,40,{_hintChildren:1}),o["ɵqud"](603979776,41,{_prefixChildren:1}),o["ɵqud"](603979776,42,{_suffixChildren:1}),(n()(),o["ɵeld"](97,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","NVRAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,98)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,98).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,98)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,98)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,99).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,99).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,99).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,104)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,104)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,104)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.nvram=t)&&l),l}),null,null)),o["ɵdid"](98,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](99,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](101,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](103,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](104,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[34,4],[35,4]],ag,null,[Lg]),(n()(),o["ɵeld"](106,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](107,16384,[[42,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](109,16777216,null,null,49,"mat-tab",[["label","Network"]],null,null,null,PG,NG)),o["ɵdid"](110,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,43,{templateLabel:0}),o["ɵqud"](335544320,44,{_explicitContent:0}),(n()(),o["ɵeld"](113,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](114,0,null,0,44,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,116).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,116).onReset()&&l),l}),null,null)),o["ɵdid"](115,16384,null,0,qm,[],null,null),o["ɵdid"](116,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](118,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](119,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](120,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,45,{_controlNonStatic:0}),o["ɵqud"](335544320,46,{_controlStatic:0}),o["ɵqud"](603979776,47,{_labelChildNonStatic:0}),o["ɵqud"](335544320,48,{_labelChildStatic:0}),o["ɵqud"](603979776,49,{_placeholderChild:0}),o["ɵqud"](603979776,50,{_errorChildren:1}),o["ɵqud"](603979776,51,{_hintChildren:1}),o["ɵqud"](603979776,52,{_prefixChildren:1}),o["ɵqud"](603979776,53,{_suffixChildren:1}),(n()(),o["ɵeld"](130,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ethernetAdapters"],["matInput",""],["placeholder","Ethernet adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,131)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,131).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,131)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,131)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,132).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,132).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,132).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,137)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,137)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,137)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.ethernet_adapters=t)&&l),l}),null,null)),o["ɵdid"](131,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](132,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](134,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](136,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](137,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[45,4],[46,4]],ag,null,[Lg]),(n()(),o["ɵeld"](139,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](140,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,54,{_controlNonStatic:0}),o["ɵqud"](335544320,55,{_controlStatic:0}),o["ɵqud"](603979776,56,{_labelChildNonStatic:0}),o["ɵqud"](335544320,57,{_labelChildStatic:0}),o["ɵqud"](603979776,58,{_placeholderChild:0}),o["ɵqud"](603979776,59,{_errorChildren:1}),o["ɵqud"](603979776,60,{_hintChildren:1}),o["ɵqud"](603979776,61,{_prefixChildren:1}),o["ɵqud"](603979776,62,{_suffixChildren:1}),(n()(),o["ɵeld"](150,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","serialAdapters"],["matInput",""],["placeholder","Serial adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,151)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,151).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,151)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,151)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,152).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,152).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,152).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,157)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,157)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.serial_adapters=t)&&l),l}),null,null)),o["ɵdid"](151,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](152,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](154,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](156,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](157,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[54,4],[55,4]],ag,null,[Lg]),(n()(),o["ɵeld"](159,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](160,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,63,{templateLabel:0}),o["ɵqud"](335544320,64,{_explicitContent:0}),(n()(),o["ɵeld"](163,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](164,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,65,{_controlNonStatic:0}),o["ɵqud"](335544320,66,{_controlStatic:0}),o["ɵqud"](603979776,67,{_labelChildNonStatic:0}),o["ɵqud"](335544320,68,{_labelChildStatic:0}),o["ɵqud"](603979776,69,{_placeholderChild:0}),o["ɵqud"](603979776,70,{_errorChildren:1}),o["ɵqud"](603979776,71,{_hintChildren:1}),o["ɵqud"](603979776,72,{_prefixChildren:1}),o["ɵqud"](603979776,73,{_suffixChildren:1}),(n()(),o["ɵeld"](174,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,175)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,175).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,175)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,175)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,180)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,180)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,180)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](175,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](177,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](179,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](180,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[65,4],[66,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,45,0,t.node.console_type),n(e,48,0,"Console type"),n(e,54,0,t.consoleTypes),n(e,58,0,t.node.console_auto_start),n(e,78,0,t.node.properties.ram),n(e,81,0,"RAM size","number"),n(e,101,0,t.node.properties.nvram),n(e,104,0,"NVRAM size","number"),n(e,110,0,"Network"),n(e,116,0,t.networkForm),n(e,134,0,"ethernetAdapters",t.node.ethernet_adapters),n(e,137,0,"Ethernet adapters","number"),n(e,154,0,"serialAdapters",t.node.serial_adapters),n(e,157,0,"Serial adapters","number"),n(e,160,0,"Usage"),n(e,177,0,t.node.properties.usage),n(e,180,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[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,o["ɵnov"](e,48).id,o["ɵnov"](e,48).tabIndex,o["ɵnov"](e,48)._getAriaLabel(),o["ɵnov"](e,48)._getAriaLabelledby(),o["ɵnov"](e,48).required.toString(),o["ɵnov"](e,48).disabled.toString(),o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).panelOpen?o["ɵnov"](e,48)._optionIds:null,o["ɵnov"](e,48).multiple,o["ɵnov"](e,48)._ariaDescribedby||null,o["ɵnov"](e,48)._getAriaActiveDescendant(),o["ɵnov"](e,48).disabled,o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).required,o["ɵnov"](e,48).empty]),n(e,55,1,[o["ɵnov"](e,56).id,null,o["ɵnov"](e,56).indeterminate,o["ɵnov"](e,56).checked,o["ɵnov"](e,56).disabled,"before"==o["ɵnov"](e,56).labelPosition,"NoopAnimations"===o["ɵnov"](e,56)._animationMode,o["ɵnov"](e,60).ngClassUntouched,o["ɵnov"](e,60).ngClassTouched,o["ɵnov"](e,60).ngClassPristine,o["ɵnov"](e,60).ngClassDirty,o["ɵnov"](e,60).ngClassValid,o["ɵnov"](e,60).ngClassInvalid,o["ɵnov"](e,60).ngClassPending]),n(e,63,1,["standard"==o["ɵnov"](e,64).appearance,"fill"==o["ɵnov"](e,64).appearance,"outline"==o["ɵnov"](e,64).appearance,"legacy"==o["ɵnov"](e,64).appearance,o["ɵnov"](e,64)._control.errorState,o["ɵnov"](e,64)._canLabelFloat,o["ɵnov"](e,64)._shouldLabelFloat(),o["ɵnov"](e,64)._hasFloatingLabel(),o["ɵnov"](e,64)._hideControlPlaceholder(),o["ɵnov"](e,64)._control.disabled,o["ɵnov"](e,64)._control.autofilled,o["ɵnov"](e,64)._control.focused,"accent"==o["ɵnov"](e,64).color,"warn"==o["ɵnov"](e,64).color,o["ɵnov"](e,64)._shouldForward("untouched"),o["ɵnov"](e,64)._shouldForward("touched"),o["ɵnov"](e,64)._shouldForward("pristine"),o["ɵnov"](e,64)._shouldForward("dirty"),o["ɵnov"](e,64)._shouldForward("valid"),o["ɵnov"](e,64)._shouldForward("invalid"),o["ɵnov"](e,64)._shouldForward("pending"),!o["ɵnov"](e,64)._animationsEnabled]),n(e,74,1,[o["ɵnov"](e,80).ngClassUntouched,o["ɵnov"](e,80).ngClassTouched,o["ɵnov"](e,80).ngClassPristine,o["ɵnov"](e,80).ngClassDirty,o["ɵnov"](e,80).ngClassValid,o["ɵnov"](e,80).ngClassInvalid,o["ɵnov"](e,80).ngClassPending,o["ɵnov"](e,81)._isServer,o["ɵnov"](e,81).id,o["ɵnov"](e,81).placeholder,o["ɵnov"](e,81).disabled,o["ɵnov"](e,81).required,o["ɵnov"](e,81).readonly&&!o["ɵnov"](e,81)._isNativeSelect||null,o["ɵnov"](e,81)._ariaDescribedby||null,o["ɵnov"](e,81).errorState,o["ɵnov"](e,81).required.toString()]),n(e,86,1,["standard"==o["ɵnov"](e,87).appearance,"fill"==o["ɵnov"](e,87).appearance,"outline"==o["ɵnov"](e,87).appearance,"legacy"==o["ɵnov"](e,87).appearance,o["ɵnov"](e,87)._control.errorState,o["ɵnov"](e,87)._canLabelFloat,o["ɵnov"](e,87)._shouldLabelFloat(),o["ɵnov"](e,87)._hasFloatingLabel(),o["ɵnov"](e,87)._hideControlPlaceholder(),o["ɵnov"](e,87)._control.disabled,o["ɵnov"](e,87)._control.autofilled,o["ɵnov"](e,87)._control.focused,"accent"==o["ɵnov"](e,87).color,"warn"==o["ɵnov"](e,87).color,o["ɵnov"](e,87)._shouldForward("untouched"),o["ɵnov"](e,87)._shouldForward("touched"),o["ɵnov"](e,87)._shouldForward("pristine"),o["ɵnov"](e,87)._shouldForward("dirty"),o["ɵnov"](e,87)._shouldForward("valid"),o["ɵnov"](e,87)._shouldForward("invalid"),o["ɵnov"](e,87)._shouldForward("pending"),!o["ɵnov"](e,87)._animationsEnabled]),n(e,97,1,[o["ɵnov"](e,103).ngClassUntouched,o["ɵnov"](e,103).ngClassTouched,o["ɵnov"](e,103).ngClassPristine,o["ɵnov"](e,103).ngClassDirty,o["ɵnov"](e,103).ngClassValid,o["ɵnov"](e,103).ngClassInvalid,o["ɵnov"](e,103).ngClassPending,o["ɵnov"](e,104)._isServer,o["ɵnov"](e,104).id,o["ɵnov"](e,104).placeholder,o["ɵnov"](e,104).disabled,o["ɵnov"](e,104).required,o["ɵnov"](e,104).readonly&&!o["ɵnov"](e,104)._isNativeSelect||null,o["ɵnov"](e,104)._ariaDescribedby||null,o["ɵnov"](e,104).errorState,o["ɵnov"](e,104).required.toString()]),n(e,114,0,o["ɵnov"](e,118).ngClassUntouched,o["ɵnov"](e,118).ngClassTouched,o["ɵnov"](e,118).ngClassPristine,o["ɵnov"](e,118).ngClassDirty,o["ɵnov"](e,118).ngClassValid,o["ɵnov"](e,118).ngClassInvalid,o["ɵnov"](e,118).ngClassPending),n(e,119,1,["standard"==o["ɵnov"](e,120).appearance,"fill"==o["ɵnov"](e,120).appearance,"outline"==o["ɵnov"](e,120).appearance,"legacy"==o["ɵnov"](e,120).appearance,o["ɵnov"](e,120)._control.errorState,o["ɵnov"](e,120)._canLabelFloat,o["ɵnov"](e,120)._shouldLabelFloat(),o["ɵnov"](e,120)._hasFloatingLabel(),o["ɵnov"](e,120)._hideControlPlaceholder(),o["ɵnov"](e,120)._control.disabled,o["ɵnov"](e,120)._control.autofilled,o["ɵnov"](e,120)._control.focused,"accent"==o["ɵnov"](e,120).color,"warn"==o["ɵnov"](e,120).color,o["ɵnov"](e,120)._shouldForward("untouched"),o["ɵnov"](e,120)._shouldForward("touched"),o["ɵnov"](e,120)._shouldForward("pristine"),o["ɵnov"](e,120)._shouldForward("dirty"),o["ɵnov"](e,120)._shouldForward("valid"),o["ɵnov"](e,120)._shouldForward("invalid"),o["ɵnov"](e,120)._shouldForward("pending"),!o["ɵnov"](e,120)._animationsEnabled]),n(e,130,1,[o["ɵnov"](e,136).ngClassUntouched,o["ɵnov"](e,136).ngClassTouched,o["ɵnov"](e,136).ngClassPristine,o["ɵnov"](e,136).ngClassDirty,o["ɵnov"](e,136).ngClassValid,o["ɵnov"](e,136).ngClassInvalid,o["ɵnov"](e,136).ngClassPending,o["ɵnov"](e,137)._isServer,o["ɵnov"](e,137).id,o["ɵnov"](e,137).placeholder,o["ɵnov"](e,137).disabled,o["ɵnov"](e,137).required,o["ɵnov"](e,137).readonly&&!o["ɵnov"](e,137)._isNativeSelect||null,o["ɵnov"](e,137)._ariaDescribedby||null,o["ɵnov"](e,137).errorState,o["ɵnov"](e,137).required.toString()]),n(e,139,1,["standard"==o["ɵnov"](e,140).appearance,"fill"==o["ɵnov"](e,140).appearance,"outline"==o["ɵnov"](e,140).appearance,"legacy"==o["ɵnov"](e,140).appearance,o["ɵnov"](e,140)._control.errorState,o["ɵnov"](e,140)._canLabelFloat,o["ɵnov"](e,140)._shouldLabelFloat(),o["ɵnov"](e,140)._hasFloatingLabel(),o["ɵnov"](e,140)._hideControlPlaceholder(),o["ɵnov"](e,140)._control.disabled,o["ɵnov"](e,140)._control.autofilled,o["ɵnov"](e,140)._control.focused,"accent"==o["ɵnov"](e,140).color,"warn"==o["ɵnov"](e,140).color,o["ɵnov"](e,140)._shouldForward("untouched"),o["ɵnov"](e,140)._shouldForward("touched"),o["ɵnov"](e,140)._shouldForward("pristine"),o["ɵnov"](e,140)._shouldForward("dirty"),o["ɵnov"](e,140)._shouldForward("valid"),o["ɵnov"](e,140)._shouldForward("invalid"),o["ɵnov"](e,140)._shouldForward("pending"),!o["ɵnov"](e,140)._animationsEnabled]),n(e,150,1,[o["ɵnov"](e,156).ngClassUntouched,o["ɵnov"](e,156).ngClassTouched,o["ɵnov"](e,156).ngClassPristine,o["ɵnov"](e,156).ngClassDirty,o["ɵnov"](e,156).ngClassValid,o["ɵnov"](e,156).ngClassInvalid,o["ɵnov"](e,156).ngClassPending,o["ɵnov"](e,157)._isServer,o["ɵnov"](e,157).id,o["ɵnov"](e,157).placeholder,o["ɵnov"](e,157).disabled,o["ɵnov"](e,157).required,o["ɵnov"](e,157).readonly&&!o["ɵnov"](e,157)._isNativeSelect||null,o["ɵnov"](e,157)._ariaDescribedby||null,o["ɵnov"](e,157).errorState,o["ɵnov"](e,157).required.toString()]),n(e,163,1,["standard"==o["ɵnov"](e,164).appearance,"fill"==o["ɵnov"](e,164).appearance,"outline"==o["ɵnov"](e,164).appearance,"legacy"==o["ɵnov"](e,164).appearance,o["ɵnov"](e,164)._control.errorState,o["ɵnov"](e,164)._canLabelFloat,o["ɵnov"](e,164)._shouldLabelFloat(),o["ɵnov"](e,164)._hasFloatingLabel(),o["ɵnov"](e,164)._hideControlPlaceholder(),o["ɵnov"](e,164)._control.disabled,o["ɵnov"](e,164)._control.autofilled,o["ɵnov"](e,164)._control.focused,"accent"==o["ɵnov"](e,164).color,"warn"==o["ɵnov"](e,164).color,o["ɵnov"](e,164)._shouldForward("untouched"),o["ɵnov"](e,164)._shouldForward("touched"),o["ɵnov"](e,164)._shouldForward("pristine"),o["ɵnov"](e,164)._shouldForward("dirty"),o["ɵnov"](e,164)._shouldForward("valid"),o["ɵnov"](e,164)._shouldForward("invalid"),o["ɵnov"](e,164)._shouldForward("pending"),!o["ɵnov"](e,164)._animationsEnabled]),n(e,174,1,[o["ɵnov"](e,179).ngClassUntouched,o["ɵnov"](e,179).ngClassTouched,o["ɵnov"](e,179).ngClassPristine,o["ɵnov"](e,179).ngClassDirty,o["ɵnov"](e,179).ngClassValid,o["ɵnov"](e,179).ngClassInvalid,o["ɵnov"](e,179).ngClassPending,o["ɵnov"](e,180)._isServer,o["ɵnov"](e,180).id,o["ɵnov"](e,180).placeholder,o["ɵnov"](e,180).disabled,o["ɵnov"](e,180).required,o["ɵnov"](e,180).readonly&&!o["ɵnov"](e,180)._isNativeSelect||null,o["ɵnov"](e,180)._ariaDescribedby||null,o["ɵnov"](e,180).errorState,o["ɵnov"](e,180).required.toString()])}))}function eJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,nJ)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](11,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](15,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,9,0,t.name),n(e,13,0,"accent"),n(e,16,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode),n(e,15,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode)}))}function tJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-iou",[],null,null,null,eJ,QQ)),o["ɵdid"](1,114688,null,0,Lj,[tv,ij,hc,Gm,fD],null,null)],(function(n,e){n(e,1,0)}),null)}var lJ=o["ɵccf"]("app-configurator-iou",Lj,tJ,{},{},[]),oJ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function iJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[22,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function rJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,141,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,59,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,0,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,48)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,48)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](47,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](48,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,22,{options:1}),o["ɵqud"](603979776,23,{optionGroups:1}),o["ɵqud"](603979776,24,{customTrigger:0}),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,iJ)),o["ɵdid"](54,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](55,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](56,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](58,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](60,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](62,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](63,16777216,null,null,55,"mat-tab",[["label","Memories and disks"]],null,null,null,PG,NG)),o["ɵdid"](64,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,25,{templateLabel:0}),o["ɵqud"](335544320,26,{_explicitContent:0}),(n()(),o["ɵeld"](67,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](68,0,null,0,50,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,70).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,70).onReset()&&l),l}),null,null)),o["ɵdid"](69,16384,null,0,qm,[],null,null),o["ɵdid"](70,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](72,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](73,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](74,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,27,{_controlNonStatic:0}),o["ɵqud"](335544320,28,{_controlStatic:0}),o["ɵqud"](603979776,29,{_labelChildNonStatic:0}),o["ɵqud"](335544320,30,{_labelChildStatic:0}),o["ɵqud"](603979776,31,{_placeholderChild:0}),o["ɵqud"](603979776,32,{_errorChildren:1}),o["ɵqud"](603979776,33,{_hintChildren:1}),o["ɵqud"](603979776,34,{_prefixChildren:1}),o["ɵqud"](603979776,35,{_suffixChildren:1}),(n()(),o["ɵeld"](84,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,85)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,85).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,85)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,85)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,86).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,86).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,86).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,91)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,91)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,91)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.ram=t)&&l),l}),null,null)),o["ɵdid"](85,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](86,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](88,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](90,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](91,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[27,4],[28,4]],ag,null,[Lg]),(n()(),o["ɵeld"](93,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](94,16384,[[35,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](96,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](97,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,36,{_controlNonStatic:0}),o["ɵqud"](335544320,37,{_controlStatic:0}),o["ɵqud"](603979776,38,{_labelChildNonStatic:0}),o["ɵqud"](335544320,39,{_labelChildStatic:0}),o["ɵqud"](603979776,40,{_placeholderChild:0}),o["ɵqud"](603979776,41,{_errorChildren:1}),o["ɵqud"](603979776,42,{_hintChildren:1}),o["ɵqud"](603979776,43,{_prefixChildren:1}),o["ɵqud"](603979776,44,{_suffixChildren:1}),(n()(),o["ɵeld"](107,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nvram"],["matInput",""],["placeholder","NVRAM size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,108)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,108).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,108)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,108)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,109).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,109).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,109).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,114)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,114)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,114)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.nvram=t)&&l),l}),null,null)),o["ɵdid"](108,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](109,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](111,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](113,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](114,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[36,4],[37,4]],ag,null,[Lg]),(n()(),o["ɵeld"](116,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),o["ɵdid"](117,16384,[[44,4]],0,dg,[],null,null),(n()(),o["ɵted"](-1,null,["MB"])),(n()(),o["ɵeld"](119,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](120,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,45,{templateLabel:0}),o["ɵqud"](335544320,46,{_explicitContent:0}),(n()(),o["ɵeld"](123,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](124,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,47,{_controlNonStatic:0}),o["ɵqud"](335544320,48,{_controlStatic:0}),o["ɵqud"](603979776,49,{_labelChildNonStatic:0}),o["ɵqud"](335544320,50,{_labelChildStatic:0}),o["ɵqud"](603979776,51,{_placeholderChild:0}),o["ɵqud"](603979776,52,{_errorChildren:1}),o["ɵqud"](603979776,53,{_hintChildren:1}),o["ɵqud"](603979776,54,{_prefixChildren:1}),o["ɵqud"](603979776,55,{_suffixChildren:1}),(n()(),o["ɵeld"](134,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,135)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,135).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,135)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,135)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,140)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,140)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](135,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](137,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](139,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](140,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[47,4],[48,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,45,0,t.node.console_type),n(e,48,0,"Console type"),n(e,54,0,t.consoleTypes),n(e,58,0,t.node.console_auto_start),n(e,64,0,"Memories and disks"),n(e,70,0,t.memoryForm),n(e,88,0,"ram",t.node.properties.ram),n(e,91,0,"RAM size","number"),n(e,111,0,"nvram",t.node.properties.nvram),n(e,114,0,"NVRAM size","number"),n(e,120,0,"Usage"),n(e,137,0,t.node.properties.usage),n(e,140,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[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,o["ɵnov"](e,48).id,o["ɵnov"](e,48).tabIndex,o["ɵnov"](e,48)._getAriaLabel(),o["ɵnov"](e,48)._getAriaLabelledby(),o["ɵnov"](e,48).required.toString(),o["ɵnov"](e,48).disabled.toString(),o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).panelOpen?o["ɵnov"](e,48)._optionIds:null,o["ɵnov"](e,48).multiple,o["ɵnov"](e,48)._ariaDescribedby||null,o["ɵnov"](e,48)._getAriaActiveDescendant(),o["ɵnov"](e,48).disabled,o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).required,o["ɵnov"](e,48).empty]),n(e,55,1,[o["ɵnov"](e,56).id,null,o["ɵnov"](e,56).indeterminate,o["ɵnov"](e,56).checked,o["ɵnov"](e,56).disabled,"before"==o["ɵnov"](e,56).labelPosition,"NoopAnimations"===o["ɵnov"](e,56)._animationMode,o["ɵnov"](e,60).ngClassUntouched,o["ɵnov"](e,60).ngClassTouched,o["ɵnov"](e,60).ngClassPristine,o["ɵnov"](e,60).ngClassDirty,o["ɵnov"](e,60).ngClassValid,o["ɵnov"](e,60).ngClassInvalid,o["ɵnov"](e,60).ngClassPending]),n(e,68,0,o["ɵnov"](e,72).ngClassUntouched,o["ɵnov"](e,72).ngClassTouched,o["ɵnov"](e,72).ngClassPristine,o["ɵnov"](e,72).ngClassDirty,o["ɵnov"](e,72).ngClassValid,o["ɵnov"](e,72).ngClassInvalid,o["ɵnov"](e,72).ngClassPending),n(e,73,1,["standard"==o["ɵnov"](e,74).appearance,"fill"==o["ɵnov"](e,74).appearance,"outline"==o["ɵnov"](e,74).appearance,"legacy"==o["ɵnov"](e,74).appearance,o["ɵnov"](e,74)._control.errorState,o["ɵnov"](e,74)._canLabelFloat,o["ɵnov"](e,74)._shouldLabelFloat(),o["ɵnov"](e,74)._hasFloatingLabel(),o["ɵnov"](e,74)._hideControlPlaceholder(),o["ɵnov"](e,74)._control.disabled,o["ɵnov"](e,74)._control.autofilled,o["ɵnov"](e,74)._control.focused,"accent"==o["ɵnov"](e,74).color,"warn"==o["ɵnov"](e,74).color,o["ɵnov"](e,74)._shouldForward("untouched"),o["ɵnov"](e,74)._shouldForward("touched"),o["ɵnov"](e,74)._shouldForward("pristine"),o["ɵnov"](e,74)._shouldForward("dirty"),o["ɵnov"](e,74)._shouldForward("valid"),o["ɵnov"](e,74)._shouldForward("invalid"),o["ɵnov"](e,74)._shouldForward("pending"),!o["ɵnov"](e,74)._animationsEnabled]),n(e,84,1,[o["ɵnov"](e,90).ngClassUntouched,o["ɵnov"](e,90).ngClassTouched,o["ɵnov"](e,90).ngClassPristine,o["ɵnov"](e,90).ngClassDirty,o["ɵnov"](e,90).ngClassValid,o["ɵnov"](e,90).ngClassInvalid,o["ɵnov"](e,90).ngClassPending,o["ɵnov"](e,91)._isServer,o["ɵnov"](e,91).id,o["ɵnov"](e,91).placeholder,o["ɵnov"](e,91).disabled,o["ɵnov"](e,91).required,o["ɵnov"](e,91).readonly&&!o["ɵnov"](e,91)._isNativeSelect||null,o["ɵnov"](e,91)._ariaDescribedby||null,o["ɵnov"](e,91).errorState,o["ɵnov"](e,91).required.toString()]),n(e,96,1,["standard"==o["ɵnov"](e,97).appearance,"fill"==o["ɵnov"](e,97).appearance,"outline"==o["ɵnov"](e,97).appearance,"legacy"==o["ɵnov"](e,97).appearance,o["ɵnov"](e,97)._control.errorState,o["ɵnov"](e,97)._canLabelFloat,o["ɵnov"](e,97)._shouldLabelFloat(),o["ɵnov"](e,97)._hasFloatingLabel(),o["ɵnov"](e,97)._hideControlPlaceholder(),o["ɵnov"](e,97)._control.disabled,o["ɵnov"](e,97)._control.autofilled,o["ɵnov"](e,97)._control.focused,"accent"==o["ɵnov"](e,97).color,"warn"==o["ɵnov"](e,97).color,o["ɵnov"](e,97)._shouldForward("untouched"),o["ɵnov"](e,97)._shouldForward("touched"),o["ɵnov"](e,97)._shouldForward("pristine"),o["ɵnov"](e,97)._shouldForward("dirty"),o["ɵnov"](e,97)._shouldForward("valid"),o["ɵnov"](e,97)._shouldForward("invalid"),o["ɵnov"](e,97)._shouldForward("pending"),!o["ɵnov"](e,97)._animationsEnabled]),n(e,107,1,[o["ɵnov"](e,113).ngClassUntouched,o["ɵnov"](e,113).ngClassTouched,o["ɵnov"](e,113).ngClassPristine,o["ɵnov"](e,113).ngClassDirty,o["ɵnov"](e,113).ngClassValid,o["ɵnov"](e,113).ngClassInvalid,o["ɵnov"](e,113).ngClassPending,o["ɵnov"](e,114)._isServer,o["ɵnov"](e,114).id,o["ɵnov"](e,114).placeholder,o["ɵnov"](e,114).disabled,o["ɵnov"](e,114).required,o["ɵnov"](e,114).readonly&&!o["ɵnov"](e,114)._isNativeSelect||null,o["ɵnov"](e,114)._ariaDescribedby||null,o["ɵnov"](e,114).errorState,o["ɵnov"](e,114).required.toString()]),n(e,123,1,["standard"==o["ɵnov"](e,124).appearance,"fill"==o["ɵnov"](e,124).appearance,"outline"==o["ɵnov"](e,124).appearance,"legacy"==o["ɵnov"](e,124).appearance,o["ɵnov"](e,124)._control.errorState,o["ɵnov"](e,124)._canLabelFloat,o["ɵnov"](e,124)._shouldLabelFloat(),o["ɵnov"](e,124)._hasFloatingLabel(),o["ɵnov"](e,124)._hideControlPlaceholder(),o["ɵnov"](e,124)._control.disabled,o["ɵnov"](e,124)._control.autofilled,o["ɵnov"](e,124)._control.focused,"accent"==o["ɵnov"](e,124).color,"warn"==o["ɵnov"](e,124).color,o["ɵnov"](e,124)._shouldForward("untouched"),o["ɵnov"](e,124)._shouldForward("touched"),o["ɵnov"](e,124)._shouldForward("pristine"),o["ɵnov"](e,124)._shouldForward("dirty"),o["ɵnov"](e,124)._shouldForward("valid"),o["ɵnov"](e,124)._shouldForward("invalid"),o["ɵnov"](e,124)._shouldForward("pending"),!o["ɵnov"](e,124)._animationsEnabled]),n(e,134,1,[o["ɵnov"](e,139).ngClassUntouched,o["ɵnov"](e,139).ngClassTouched,o["ɵnov"](e,139).ngClassPristine,o["ɵnov"](e,139).ngClassDirty,o["ɵnov"](e,139).ngClassValid,o["ɵnov"](e,139).ngClassInvalid,o["ɵnov"](e,139).ngClassPending,o["ɵnov"](e,140)._isServer,o["ɵnov"](e,140).id,o["ɵnov"](e,140).placeholder,o["ɵnov"](e,140).disabled,o["ɵnov"](e,140).required,o["ɵnov"](e,140).readonly&&!o["ɵnov"](e,140)._isNativeSelect||null,o["ɵnov"](e,140)._ariaDescribedby||null,o["ɵnov"](e,140).errorState,o["ɵnov"](e,140).required.toString()])}))}function aJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,rJ)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](11,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](15,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,9,0,t.name),n(e,13,0,"accent"),n(e,16,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode),n(e,15,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode)}))}function uJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-ios",[],null,null,null,aJ,oJ)),o["ɵdid"](1,114688,null,0,jj,[tv,ij,hc,Gm,Fk],null,null)],(function(n,e){n(e,1,0)}),null)}var sJ=o["ɵccf"]("app-configurator-ios",jj,uJ,{},{},[]),dJ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function cJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[31,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function pJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,152,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,RG,wG)),o["ɵdid"](1,3325952,null,1,gG,[o.ElementRef,o.ChangeDetectorRef,[2,vG],[2,nu]],null,null),o["ɵqud"](603979776,1,{_tabs:1}),(n()(),o["ɵeld"](3,16777216,null,null,101,"mat-tab",[["label","General settings"]],null,null,null,PG,NG)),o["ɵdid"](4,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,2,{templateLabel:0}),o["ɵqud"](335544320,3,{_explicitContent:0}),(n()(),o["ɵeld"](7,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,0,75,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,4,{_controlNonStatic:0}),o["ɵqud"](335544320,5,{_controlStatic:0}),o["ɵqud"](603979776,6,{_labelChildNonStatic:0}),o["ɵqud"](335544320,7,{_labelChildStatic:0}),o["ɵqud"](603979776,8,{_placeholderChild:0}),o["ɵqud"](603979776,9,{_errorChildren:1}),o["ɵqud"](603979776,10,{_hintChildren:1}),o["ɵqud"](603979776,11,{_prefixChildren:1}),o["ɵqud"](603979776,12,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[4,4],[5,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,13,{_controlNonStatic:0}),o["ɵqud"](335544320,14,{_controlStatic:0}),o["ɵqud"](603979776,15,{_labelChildNonStatic:0}),o["ɵqud"](335544320,16,{_labelChildStatic:0}),o["ɵqud"](603979776,17,{_placeholderChild:0}),o["ɵqud"](603979776,18,{_errorChildren:1}),o["ɵqud"](603979776,19,{_hintChildren:1}),o["ɵqud"](603979776,20,{_prefixChildren:1}),o["ɵqud"](603979776,21,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","adapter"],["matInput",""],["placeholder","Adapters"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,44)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,44).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,44)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,44)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,45).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,45).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,50)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,50)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,50)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.adapters=t)&&l),l}),null,null)),o["ɵdid"](44,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](45,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](47,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](49,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](50,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[13,4],[14,4]],ag,null,[Lg]),(n()(),o["ɵeld"](52,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](53,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](63,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,69)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,69)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,69)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.node.console_type=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](65,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](66,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](68,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](69,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,31,{options:1}),o["ɵqud"](603979776,32,{optionGroups:1}),o["ɵqud"](603979776,33,{customTrigger:0}),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,cJ)),o["ɵdid"](75,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](76,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[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(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.node.console_auto_start=t)&&l),l}),O_,F_)),o["ɵdid"](77,8568832,null,0,R_,[o.ElementRef,o.ChangeDetectorRef,Mo,o.NgZone,[8,null],[2,x_],[2,nu]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[R_]),o["ɵdid"](79,671744,null,0,Pm,[[2,Bh],[8,null],[8,null],[6,Ph]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](80,{standalone:0}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](82,16384,null,0,Gh,[[4,Uh]],null,null),(n()(),o["ɵted"](-1,0,[" Auto start console "])),(n()(),o["ɵeld"](84,0,null,0,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Environment"])),(n()(),o["ɵeld"](86,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](87,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,34,{_controlNonStatic:0}),o["ɵqud"](335544320,35,{_controlStatic:0}),o["ɵqud"](603979776,36,{_labelChildNonStatic:0}),o["ɵqud"](335544320,37,{_labelChildStatic:0}),o["ɵqud"](603979776,38,{_placeholderChild:0}),o["ɵqud"](603979776,39,{_errorChildren:1}),o["ɵqud"](603979776,40,{_hintChildren:1}),o["ɵqud"](603979776,41,{_prefixChildren:1}),o["ɵqud"](603979776,42,{_suffixChildren:1}),(n()(),o["ɵeld"](97,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,98)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,98).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,98)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,98)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,103)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,103)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,103)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.environment=t)&&l),l}),null,null)),o["ɵdid"](98,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](100,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](102,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](103,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[34,4],[35,4]],ag,null,[Lg]),(n()(),o["ɵeld"](105,16777216,null,null,24,"mat-tab",[["label","Advanced"]],null,null,null,PG,NG)),o["ɵdid"](106,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,43,{templateLabel:0}),o["ɵqud"](335544320,44,{_explicitContent:0}),(n()(),o["ɵeld"](109,0,null,0,1,"h6",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["Extra hosts"])),(n()(),o["ɵeld"](111,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](112,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,45,{_controlNonStatic:0}),o["ɵqud"](335544320,46,{_controlStatic:0}),o["ɵqud"](603979776,47,{_labelChildNonStatic:0}),o["ɵqud"](335544320,48,{_labelChildStatic:0}),o["ɵqud"](603979776,49,{_placeholderChild:0}),o["ɵqud"](603979776,50,{_errorChildren:1}),o["ɵqud"](603979776,51,{_hintChildren:1}),o["ɵqud"](603979776,52,{_prefixChildren:1}),o["ɵqud"](603979776,53,{_suffixChildren:1}),(n()(),o["ɵeld"](122,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,123)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,123).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,123)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,123)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,128)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,128)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,128)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.extra_hosts=t)&&l),l}),null,null)),o["ɵdid"](123,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](125,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](127,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](128,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[45,4],[46,4]],ag,null,[Lg]),(n()(),o["ɵeld"](130,16777216,null,null,22,"mat-tab",[["label","Usage"]],null,null,null,PG,NG)),o["ɵdid"](131,770048,[[1,4]],2,cG,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["ɵqud"](603979776,54,{templateLabel:0}),o["ɵqud"](335544320,55,{_explicitContent:0}),(n()(),o["ɵeld"](134,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](135,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,56,{_controlNonStatic:0}),o["ɵqud"](335544320,57,{_controlStatic:0}),o["ɵqud"](603979776,58,{_labelChildNonStatic:0}),o["ɵqud"](335544320,59,{_labelChildStatic:0}),o["ɵqud"](603979776,60,{_placeholderChild:0}),o["ɵqud"](603979776,61,{_errorChildren:1}),o["ɵqud"](603979776,62,{_hintChildren:1}),o["ɵqud"](603979776,63,{_prefixChildren:1}),o["ɵqud"](603979776,64,{_suffixChildren:1}),(n()(),o["ɵeld"](145,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,146)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,146).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,146)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,146)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,151)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,151)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,151)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.properties.usage=t)&&l),l}),null,null)),o["ɵdid"](146,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](148,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](150,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](151,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{type:[0,"type"]},null),o["ɵprd"](2048,[[56,4],[57,4]],ag,null,[Lg])],(function(n,e){var t=e.component;n(e,4,0,"General settings"),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,47,0,"adapter",t.node.properties.adapters),n(e,50,0,"Adapters","number");var l=t.node.console_type,o=n(e,66,0,!0);n(e,65,0,l,o),n(e,69,0,"Console type"),n(e,75,0,t.consoleTypes);var i=t.node.console_auto_start,r=n(e,80,0,!0);n(e,79,0,i,r),n(e,100,0,t.node.properties.environment),n(e,103,0,"text"),n(e,106,0,"Advanced"),n(e,125,0,t.node.properties.extra_hosts),n(e,128,0,"text"),n(e,131,0,"Usage"),n(e,148,0,t.node.properties.usage),n(e,151,0,"text")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).dynamicHeight,"below"===o["ɵnov"](e,1).headerPosition),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[o["ɵnov"](e,49).ngClassUntouched,o["ɵnov"](e,49).ngClassTouched,o["ɵnov"](e,49).ngClassPristine,o["ɵnov"](e,49).ngClassDirty,o["ɵnov"](e,49).ngClassValid,o["ɵnov"](e,49).ngClassInvalid,o["ɵnov"](e,49).ngClassPending,o["ɵnov"](e,50)._isServer,o["ɵnov"](e,50).id,o["ɵnov"](e,50).placeholder,o["ɵnov"](e,50).disabled,o["ɵnov"](e,50).required,o["ɵnov"](e,50).readonly&&!o["ɵnov"](e,50)._isNativeSelect||null,o["ɵnov"](e,50)._ariaDescribedby||null,o["ɵnov"](e,50).errorState,o["ɵnov"](e,50).required.toString()]),n(e,52,1,["standard"==o["ɵnov"](e,53).appearance,"fill"==o["ɵnov"](e,53).appearance,"outline"==o["ɵnov"](e,53).appearance,"legacy"==o["ɵnov"](e,53).appearance,o["ɵnov"](e,53)._control.errorState,o["ɵnov"](e,53)._canLabelFloat,o["ɵnov"](e,53)._shouldLabelFloat(),o["ɵnov"](e,53)._hasFloatingLabel(),o["ɵnov"](e,53)._hideControlPlaceholder(),o["ɵnov"](e,53)._control.disabled,o["ɵnov"](e,53)._control.autofilled,o["ɵnov"](e,53)._control.focused,"accent"==o["ɵnov"](e,53).color,"warn"==o["ɵnov"](e,53).color,o["ɵnov"](e,53)._shouldForward("untouched"),o["ɵnov"](e,53)._shouldForward("touched"),o["ɵnov"](e,53)._shouldForward("pristine"),o["ɵnov"](e,53)._shouldForward("dirty"),o["ɵnov"](e,53)._shouldForward("valid"),o["ɵnov"](e,53)._shouldForward("invalid"),o["ɵnov"](e,53)._shouldForward("pending"),!o["ɵnov"](e,53)._animationsEnabled]),n(e,63,1,[o["ɵnov"](e,68).ngClassUntouched,o["ɵnov"](e,68).ngClassTouched,o["ɵnov"](e,68).ngClassPristine,o["ɵnov"](e,68).ngClassDirty,o["ɵnov"](e,68).ngClassValid,o["ɵnov"](e,68).ngClassInvalid,o["ɵnov"](e,68).ngClassPending,o["ɵnov"](e,69).id,o["ɵnov"](e,69).tabIndex,o["ɵnov"](e,69)._getAriaLabel(),o["ɵnov"](e,69)._getAriaLabelledby(),o["ɵnov"](e,69).required.toString(),o["ɵnov"](e,69).disabled.toString(),o["ɵnov"](e,69).errorState,o["ɵnov"](e,69).panelOpen?o["ɵnov"](e,69)._optionIds:null,o["ɵnov"](e,69).multiple,o["ɵnov"](e,69)._ariaDescribedby||null,o["ɵnov"](e,69)._getAriaActiveDescendant(),o["ɵnov"](e,69).disabled,o["ɵnov"](e,69).errorState,o["ɵnov"](e,69).required,o["ɵnov"](e,69).empty]),n(e,76,1,[o["ɵnov"](e,77).id,null,o["ɵnov"](e,77).indeterminate,o["ɵnov"](e,77).checked,o["ɵnov"](e,77).disabled,"before"==o["ɵnov"](e,77).labelPosition,"NoopAnimations"===o["ɵnov"](e,77)._animationMode,o["ɵnov"](e,82).ngClassUntouched,o["ɵnov"](e,82).ngClassTouched,o["ɵnov"](e,82).ngClassPristine,o["ɵnov"](e,82).ngClassDirty,o["ɵnov"](e,82).ngClassValid,o["ɵnov"](e,82).ngClassInvalid,o["ɵnov"](e,82).ngClassPending]),n(e,86,1,["standard"==o["ɵnov"](e,87).appearance,"fill"==o["ɵnov"](e,87).appearance,"outline"==o["ɵnov"](e,87).appearance,"legacy"==o["ɵnov"](e,87).appearance,o["ɵnov"](e,87)._control.errorState,o["ɵnov"](e,87)._canLabelFloat,o["ɵnov"](e,87)._shouldLabelFloat(),o["ɵnov"](e,87)._hasFloatingLabel(),o["ɵnov"](e,87)._hideControlPlaceholder(),o["ɵnov"](e,87)._control.disabled,o["ɵnov"](e,87)._control.autofilled,o["ɵnov"](e,87)._control.focused,"accent"==o["ɵnov"](e,87).color,"warn"==o["ɵnov"](e,87).color,o["ɵnov"](e,87)._shouldForward("untouched"),o["ɵnov"](e,87)._shouldForward("touched"),o["ɵnov"](e,87)._shouldForward("pristine"),o["ɵnov"](e,87)._shouldForward("dirty"),o["ɵnov"](e,87)._shouldForward("valid"),o["ɵnov"](e,87)._shouldForward("invalid"),o["ɵnov"](e,87)._shouldForward("pending"),!o["ɵnov"](e,87)._animationsEnabled]),n(e,97,1,[o["ɵnov"](e,102).ngClassUntouched,o["ɵnov"](e,102).ngClassTouched,o["ɵnov"](e,102).ngClassPristine,o["ɵnov"](e,102).ngClassDirty,o["ɵnov"](e,102).ngClassValid,o["ɵnov"](e,102).ngClassInvalid,o["ɵnov"](e,102).ngClassPending,o["ɵnov"](e,103)._isServer,o["ɵnov"](e,103).id,o["ɵnov"](e,103).placeholder,o["ɵnov"](e,103).disabled,o["ɵnov"](e,103).required,o["ɵnov"](e,103).readonly&&!o["ɵnov"](e,103)._isNativeSelect||null,o["ɵnov"](e,103)._ariaDescribedby||null,o["ɵnov"](e,103).errorState,o["ɵnov"](e,103).required.toString()]),n(e,111,1,["standard"==o["ɵnov"](e,112).appearance,"fill"==o["ɵnov"](e,112).appearance,"outline"==o["ɵnov"](e,112).appearance,"legacy"==o["ɵnov"](e,112).appearance,o["ɵnov"](e,112)._control.errorState,o["ɵnov"](e,112)._canLabelFloat,o["ɵnov"](e,112)._shouldLabelFloat(),o["ɵnov"](e,112)._hasFloatingLabel(),o["ɵnov"](e,112)._hideControlPlaceholder(),o["ɵnov"](e,112)._control.disabled,o["ɵnov"](e,112)._control.autofilled,o["ɵnov"](e,112)._control.focused,"accent"==o["ɵnov"](e,112).color,"warn"==o["ɵnov"](e,112).color,o["ɵnov"](e,112)._shouldForward("untouched"),o["ɵnov"](e,112)._shouldForward("touched"),o["ɵnov"](e,112)._shouldForward("pristine"),o["ɵnov"](e,112)._shouldForward("dirty"),o["ɵnov"](e,112)._shouldForward("valid"),o["ɵnov"](e,112)._shouldForward("invalid"),o["ɵnov"](e,112)._shouldForward("pending"),!o["ɵnov"](e,112)._animationsEnabled]),n(e,122,1,[o["ɵnov"](e,127).ngClassUntouched,o["ɵnov"](e,127).ngClassTouched,o["ɵnov"](e,127).ngClassPristine,o["ɵnov"](e,127).ngClassDirty,o["ɵnov"](e,127).ngClassValid,o["ɵnov"](e,127).ngClassInvalid,o["ɵnov"](e,127).ngClassPending,o["ɵnov"](e,128)._isServer,o["ɵnov"](e,128).id,o["ɵnov"](e,128).placeholder,o["ɵnov"](e,128).disabled,o["ɵnov"](e,128).required,o["ɵnov"](e,128).readonly&&!o["ɵnov"](e,128)._isNativeSelect||null,o["ɵnov"](e,128)._ariaDescribedby||null,o["ɵnov"](e,128).errorState,o["ɵnov"](e,128).required.toString()]),n(e,134,1,["standard"==o["ɵnov"](e,135).appearance,"fill"==o["ɵnov"](e,135).appearance,"outline"==o["ɵnov"](e,135).appearance,"legacy"==o["ɵnov"](e,135).appearance,o["ɵnov"](e,135)._control.errorState,o["ɵnov"](e,135)._canLabelFloat,o["ɵnov"](e,135)._shouldLabelFloat(),o["ɵnov"](e,135)._hasFloatingLabel(),o["ɵnov"](e,135)._hideControlPlaceholder(),o["ɵnov"](e,135)._control.disabled,o["ɵnov"](e,135)._control.autofilled,o["ɵnov"](e,135)._control.focused,"accent"==o["ɵnov"](e,135).color,"warn"==o["ɵnov"](e,135).color,o["ɵnov"](e,135)._shouldForward("untouched"),o["ɵnov"](e,135)._shouldForward("touched"),o["ɵnov"](e,135)._shouldForward("pristine"),o["ɵnov"](e,135)._shouldForward("dirty"),o["ɵnov"](e,135)._shouldForward("valid"),o["ɵnov"](e,135)._shouldForward("invalid"),o["ɵnov"](e,135)._shouldForward("pending"),!o["ɵnov"](e,135)._animationsEnabled]),n(e,145,1,[o["ɵnov"](e,150).ngClassUntouched,o["ɵnov"](e,150).ngClassTouched,o["ɵnov"](e,150).ngClassPristine,o["ɵnov"](e,150).ngClassDirty,o["ɵnov"](e,150).ngClassValid,o["ɵnov"](e,150).ngClassInvalid,o["ɵnov"](e,150).ngClassPending,o["ɵnov"](e,151)._isServer,o["ɵnov"](e,151).id,o["ɵnov"](e,151).placeholder,o["ɵnov"](e,151).disabled,o["ɵnov"](e,151).required,o["ɵnov"](e,151).readonly&&!o["ɵnov"](e,151)._isNativeSelect||null,o["ɵnov"](e,151)._ariaDescribedby||null,o["ɵnov"](e,151).errorState,o["ɵnov"](e,151).required.toString()])}))}function fJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,6,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵand"](16777216,null,0,1,null,pJ)),o["ɵdid"](9,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](10,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](11,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](12,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](13,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](15,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](16,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,9,0,t.name),n(e,13,0,"accent"),n(e,16,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,12,0,o["ɵnov"](e,13).disabled||null,"NoopAnimations"===o["ɵnov"](e,13)._animationMode),n(e,15,0,o["ɵnov"](e,16).disabled||null,"NoopAnimations"===o["ɵnov"](e,16)._animationMode)}))}function hJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-docker",[],null,null,null,fJ,dJ)),o["ɵdid"](1,114688,null,0,Vj,[tv,ij,hc,Gm,II],null,null)],(function(n,e){n(e,1,0)}),null)}var mJ=o["ɵccf"]("app-configurator-docker",Vj,hJ,{},{},[]),vJ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function gJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,28,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,27,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,26,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](33,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](34,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](35,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](37,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](38,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,35,0,"accent"),n(e,38,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,34,0,o["ɵnov"](e,35).disabled||null,"NoopAnimations"===o["ɵnov"](e,35)._animationMode),n(e,37,0,o["ɵnov"](e,38).disabled||null,"NoopAnimations"===o["ɵnov"](e,38)._animationMode)}))}function bJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-nat",[],null,null,null,gJ,vJ)),o["ɵdid"](1,114688,null,0,Bj,[tv,ij,hc,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var _J=o["ɵccf"]("app-configurator-nat",Bj,bJ,{},{},[]),yJ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function CJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](2,null,["Configurator for node ",""])),(n()(),o["ɵeld"](3,0,null,null,28,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,27,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,26,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.node.name=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](33,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](34,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](35,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](37,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](38,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,10,0,t.generalSettingsForm),n(e,27,0,"name",t.node.name),n(e,30,0,"Name","text"),n(e,35,0,"accent"),n(e,38,0,"primary")}),(function(n,e){var t=e.component;n(e,0,0,o["ɵnov"](e,1).id),n(e,2,0,t.name),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,34,0,o["ɵnov"](e,35).disabled||null,"NoopAnimations"===o["ɵnov"](e,35)._animationMode),n(e,37,0,o["ɵnov"](e,38).disabled||null,"NoopAnimations"===o["ɵnov"](e,38)._animationMode)}))}function wJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-configurator-traceng",[],null,null,null,CJ,yJ)),o["ɵdid"](1,114688,null,0,Hj,[tv,ij,hc,Gm],null,null)],(function(n,e){n(e,1,0)}),null)}var SJ=o["ɵccf"]("app-configurator-traceng",Hj,wJ,{},{},[]),xJ=o["ɵcrt"]({encapsulation:0,styles:[o$],data:{}});function kJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[19,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function EJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[31,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function TJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[43,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.value)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function RJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[55,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function IJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[67,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit.value)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)}))}function DJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,94,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" Size options "])),(n()(),o["ɵeld"](2,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](3,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,22,{_controlNonStatic:0}),o["ɵqud"](335544320,23,{_controlStatic:0}),o["ɵqud"](603979776,24,{_labelChildNonStatic:0}),o["ɵqud"](335544320,25,{_labelChildStatic:0}),o["ɵqud"](603979776,26,{_placeholderChild:0}),o["ɵqud"](603979776,27,{_errorChildren:1}),o["ɵqud"](603979776,28,{_hintChildren:1}),o["ɵqud"](603979776,29,{_prefixChildren:1}),o["ɵqud"](603979776,30,{_suffixChildren:1}),(n()(),o["ɵeld"](13,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Image format"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,18)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,18)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.preallocation=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](15,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](17,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](18,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,31,{options:1}),o["ɵqud"](603979776,32,{optionGroups:1}),o["ɵqud"](603979776,33,{customTrigger:0}),o["ɵprd"](2048,[[22,4],[23,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,EJ)),o["ɵdid"](24,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](25,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](26,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,34,{_controlNonStatic:0}),o["ɵqud"](335544320,35,{_controlStatic:0}),o["ɵqud"](603979776,36,{_labelChildNonStatic:0}),o["ɵqud"](335544320,37,{_labelChildStatic:0}),o["ɵqud"](603979776,38,{_placeholderChild:0}),o["ɵqud"](603979776,39,{_errorChildren:1}),o["ɵqud"](603979776,40,{_hintChildren:1}),o["ɵqud"](603979776,41,{_prefixChildren:1}),o["ɵqud"](603979776,42,{_suffixChildren:1}),(n()(),o["ɵeld"](36,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Cluster size"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,41)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,41)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,41)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.cluster_size=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](38,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](40,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](41,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,43,{options:1}),o["ɵqud"](603979776,44,{optionGroups:1}),o["ɵqud"](603979776,45,{customTrigger:0}),o["ɵprd"](2048,[[34,4],[35,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,TJ)),o["ɵdid"](47,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵted"](-1,null,[" Refcounts "])),(n()(),o["ɵeld"](49,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](50,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,46,{_controlNonStatic:0}),o["ɵqud"](335544320,47,{_controlStatic:0}),o["ɵqud"](603979776,48,{_labelChildNonStatic:0}),o["ɵqud"](335544320,49,{_labelChildStatic:0}),o["ɵqud"](603979776,50,{_placeholderChild:0}),o["ɵqud"](603979776,51,{_errorChildren:1}),o["ɵqud"](603979776,52,{_hintChildren:1}),o["ɵqud"](603979776,53,{_prefixChildren:1}),o["ɵqud"](603979776,54,{_suffixChildren:1}),(n()(),o["ɵeld"](60,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Lazy refcounts"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,65)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,65)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,65)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.lazy_refcounts=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](62,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](64,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](65,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,55,{options:1}),o["ɵqud"](603979776,56,{optionGroups:1}),o["ɵqud"](603979776,57,{customTrigger:0}),o["ɵprd"](2048,[[46,4],[47,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,RJ)),o["ɵdid"](71,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵeld"](72,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](73,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,58,{_controlNonStatic:0}),o["ɵqud"](335544320,59,{_controlStatic:0}),o["ɵqud"](603979776,60,{_labelChildNonStatic:0}),o["ɵqud"](335544320,61,{_labelChildStatic:0}),o["ɵqud"](603979776,62,{_placeholderChild:0}),o["ɵqud"](603979776,63,{_errorChildren:1}),o["ɵqud"](603979776,64,{_hintChildren:1}),o["ɵqud"](603979776,65,{_prefixChildren:1}),o["ɵqud"](603979776,66,{_suffixChildren:1}),(n()(),o["ɵeld"](83,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Refcount entry size"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,88)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,88)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,88)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.refcount_bits=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](85,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](87,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](88,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,67,{options:1}),o["ɵqud"](603979776,68,{optionGroups:1}),o["ɵqud"](603979776,69,{customTrigger:0}),o["ɵprd"](2048,[[58,4],[59,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,IJ)),o["ɵdid"](94,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,15,0,t.qemuImg.preallocation),n(e,18,0,"Image format"),n(e,24,0,t.preallocationsOptions),n(e,38,0,t.qemuImg.cluster_size),n(e,41,0,"Cluster size"),n(e,47,0,t.clusterSizeOptions),n(e,62,0,t.qemuImg.lazy_refcounts),n(e,65,0,"Lazy refcounts"),n(e,71,0,t.lazyRefcountsOptions),n(e,85,0,t.qemuImg.refcount_bits),n(e,88,0,"Refcount entry size"),n(e,94,0,t.clusterSizeOptions)}),(function(n,e){n(e,2,1,["standard"==o["ɵnov"](e,3).appearance,"fill"==o["ɵnov"](e,3).appearance,"outline"==o["ɵnov"](e,3).appearance,"legacy"==o["ɵnov"](e,3).appearance,o["ɵnov"](e,3)._control.errorState,o["ɵnov"](e,3)._canLabelFloat,o["ɵnov"](e,3)._shouldLabelFloat(),o["ɵnov"](e,3)._hasFloatingLabel(),o["ɵnov"](e,3)._hideControlPlaceholder(),o["ɵnov"](e,3)._control.disabled,o["ɵnov"](e,3)._control.autofilled,o["ɵnov"](e,3)._control.focused,"accent"==o["ɵnov"](e,3).color,"warn"==o["ɵnov"](e,3).color,o["ɵnov"](e,3)._shouldForward("untouched"),o["ɵnov"](e,3)._shouldForward("touched"),o["ɵnov"](e,3)._shouldForward("pristine"),o["ɵnov"](e,3)._shouldForward("dirty"),o["ɵnov"](e,3)._shouldForward("valid"),o["ɵnov"](e,3)._shouldForward("invalid"),o["ɵnov"](e,3)._shouldForward("pending"),!o["ɵnov"](e,3)._animationsEnabled]),n(e,13,1,[o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending,o["ɵnov"](e,18).id,o["ɵnov"](e,18).tabIndex,o["ɵnov"](e,18)._getAriaLabel(),o["ɵnov"](e,18)._getAriaLabelledby(),o["ɵnov"](e,18).required.toString(),o["ɵnov"](e,18).disabled.toString(),o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).panelOpen?o["ɵnov"](e,18)._optionIds:null,o["ɵnov"](e,18).multiple,o["ɵnov"](e,18)._ariaDescribedby||null,o["ɵnov"](e,18)._getAriaActiveDescendant(),o["ɵnov"](e,18).disabled,o["ɵnov"](e,18).errorState,o["ɵnov"](e,18).required,o["ɵnov"](e,18).empty]),n(e,25,1,["standard"==o["ɵnov"](e,26).appearance,"fill"==o["ɵnov"](e,26).appearance,"outline"==o["ɵnov"](e,26).appearance,"legacy"==o["ɵnov"](e,26).appearance,o["ɵnov"](e,26)._control.errorState,o["ɵnov"](e,26)._canLabelFloat,o["ɵnov"](e,26)._shouldLabelFloat(),o["ɵnov"](e,26)._hasFloatingLabel(),o["ɵnov"](e,26)._hideControlPlaceholder(),o["ɵnov"](e,26)._control.disabled,o["ɵnov"](e,26)._control.autofilled,o["ɵnov"](e,26)._control.focused,"accent"==o["ɵnov"](e,26).color,"warn"==o["ɵnov"](e,26).color,o["ɵnov"](e,26)._shouldForward("untouched"),o["ɵnov"](e,26)._shouldForward("touched"),o["ɵnov"](e,26)._shouldForward("pristine"),o["ɵnov"](e,26)._shouldForward("dirty"),o["ɵnov"](e,26)._shouldForward("valid"),o["ɵnov"](e,26)._shouldForward("invalid"),o["ɵnov"](e,26)._shouldForward("pending"),!o["ɵnov"](e,26)._animationsEnabled]),n(e,36,1,[o["ɵnov"](e,40).ngClassUntouched,o["ɵnov"](e,40).ngClassTouched,o["ɵnov"](e,40).ngClassPristine,o["ɵnov"](e,40).ngClassDirty,o["ɵnov"](e,40).ngClassValid,o["ɵnov"](e,40).ngClassInvalid,o["ɵnov"](e,40).ngClassPending,o["ɵnov"](e,41).id,o["ɵnov"](e,41).tabIndex,o["ɵnov"](e,41)._getAriaLabel(),o["ɵnov"](e,41)._getAriaLabelledby(),o["ɵnov"](e,41).required.toString(),o["ɵnov"](e,41).disabled.toString(),o["ɵnov"](e,41).errorState,o["ɵnov"](e,41).panelOpen?o["ɵnov"](e,41)._optionIds:null,o["ɵnov"](e,41).multiple,o["ɵnov"](e,41)._ariaDescribedby||null,o["ɵnov"](e,41)._getAriaActiveDescendant(),o["ɵnov"](e,41).disabled,o["ɵnov"](e,41).errorState,o["ɵnov"](e,41).required,o["ɵnov"](e,41).empty]),n(e,49,1,["standard"==o["ɵnov"](e,50).appearance,"fill"==o["ɵnov"](e,50).appearance,"outline"==o["ɵnov"](e,50).appearance,"legacy"==o["ɵnov"](e,50).appearance,o["ɵnov"](e,50)._control.errorState,o["ɵnov"](e,50)._canLabelFloat,o["ɵnov"](e,50)._shouldLabelFloat(),o["ɵnov"](e,50)._hasFloatingLabel(),o["ɵnov"](e,50)._hideControlPlaceholder(),o["ɵnov"](e,50)._control.disabled,o["ɵnov"](e,50)._control.autofilled,o["ɵnov"](e,50)._control.focused,"accent"==o["ɵnov"](e,50).color,"warn"==o["ɵnov"](e,50).color,o["ɵnov"](e,50)._shouldForward("untouched"),o["ɵnov"](e,50)._shouldForward("touched"),o["ɵnov"](e,50)._shouldForward("pristine"),o["ɵnov"](e,50)._shouldForward("dirty"),o["ɵnov"](e,50)._shouldForward("valid"),o["ɵnov"](e,50)._shouldForward("invalid"),o["ɵnov"](e,50)._shouldForward("pending"),!o["ɵnov"](e,50)._animationsEnabled]),n(e,60,1,[o["ɵnov"](e,64).ngClassUntouched,o["ɵnov"](e,64).ngClassTouched,o["ɵnov"](e,64).ngClassPristine,o["ɵnov"](e,64).ngClassDirty,o["ɵnov"](e,64).ngClassValid,o["ɵnov"](e,64).ngClassInvalid,o["ɵnov"](e,64).ngClassPending,o["ɵnov"](e,65).id,o["ɵnov"](e,65).tabIndex,o["ɵnov"](e,65)._getAriaLabel(),o["ɵnov"](e,65)._getAriaLabelledby(),o["ɵnov"](e,65).required.toString(),o["ɵnov"](e,65).disabled.toString(),o["ɵnov"](e,65).errorState,o["ɵnov"](e,65).panelOpen?o["ɵnov"](e,65)._optionIds:null,o["ɵnov"](e,65).multiple,o["ɵnov"](e,65)._ariaDescribedby||null,o["ɵnov"](e,65)._getAriaActiveDescendant(),o["ɵnov"](e,65).disabled,o["ɵnov"](e,65).errorState,o["ɵnov"](e,65).required,o["ɵnov"](e,65).empty]),n(e,72,1,["standard"==o["ɵnov"](e,73).appearance,"fill"==o["ɵnov"](e,73).appearance,"outline"==o["ɵnov"](e,73).appearance,"legacy"==o["ɵnov"](e,73).appearance,o["ɵnov"](e,73)._control.errorState,o["ɵnov"](e,73)._canLabelFloat,o["ɵnov"](e,73)._shouldLabelFloat(),o["ɵnov"](e,73)._hasFloatingLabel(),o["ɵnov"](e,73)._hideControlPlaceholder(),o["ɵnov"](e,73)._control.disabled,o["ɵnov"](e,73)._control.autofilled,o["ɵnov"](e,73)._control.focused,"accent"==o["ɵnov"](e,73).color,"warn"==o["ɵnov"](e,73).color,o["ɵnov"](e,73)._shouldForward("untouched"),o["ɵnov"](e,73)._shouldForward("touched"),o["ɵnov"](e,73)._shouldForward("pristine"),o["ɵnov"](e,73)._shouldForward("dirty"),o["ɵnov"](e,73)._shouldForward("valid"),o["ɵnov"](e,73)._shouldForward("invalid"),o["ɵnov"](e,73)._shouldForward("pending"),!o["ɵnov"](e,73)._animationsEnabled]),n(e,83,1,[o["ɵnov"](e,87).ngClassUntouched,o["ɵnov"](e,87).ngClassTouched,o["ɵnov"](e,87).ngClassPristine,o["ɵnov"](e,87).ngClassDirty,o["ɵnov"](e,87).ngClassValid,o["ɵnov"](e,87).ngClassInvalid,o["ɵnov"](e,87).ngClassPending,o["ɵnov"](e,88).id,o["ɵnov"](e,88).tabIndex,o["ɵnov"](e,88)._getAriaLabel(),o["ɵnov"](e,88)._getAriaLabelledby(),o["ɵnov"](e,88).required.toString(),o["ɵnov"](e,88).disabled.toString(),o["ɵnov"](e,88).errorState,o["ɵnov"](e,88).panelOpen?o["ɵnov"](e,88)._optionIds:null,o["ɵnov"](e,88).multiple,o["ɵnov"](e,88)._ariaDescribedby||null,o["ɵnov"](e,88)._getAriaActiveDescendant(),o["ɵnov"](e,88).disabled,o["ɵnov"](e,88).errorState,o["ɵnov"](e,88).required,o["ɵnov"](e,88).empty])}))}function FJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,10,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](1,0,null,null,9,"mat-radio-group",[["aria-label","Image file sizing mode"],["class","radio-selection mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](3,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,70,{_radios:1}),(n()(),o["ɵeld"](5,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,6)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("dynamic")&&l),l}),HC,BC)),o["ɵdid"](6,4440064,[[70,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Dynamic"])),(n()(),o["ɵeld"](8,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,9)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("fixed")&&l),l}),HC,BC)),o["ɵdid"](9,4440064,[[70,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Fixed"]))],(function(n,e){n(e,6,0,"","1"),n(e,9,0,"2")}),(function(n,e){n(e,5,1,[o["ɵnov"](e,6).checked,o["ɵnov"](e,6).disabled,"NoopAnimations"===o["ɵnov"](e,6)._animationMode,"primary"===o["ɵnov"](e,6).color,"accent"===o["ɵnov"](e,6).color,"warn"===o["ɵnov"](e,6).color,-1,o["ɵnov"](e,6).id,null,null,null]),n(e,8,1,[o["ɵnov"](e,9).checked,o["ɵnov"](e,9).disabled,"NoopAnimations"===o["ɵnov"](e,9)._animationMode,"primary"===o["ɵnov"](e,9).color,"accent"===o["ɵnov"](e,9).color,"warn"===o["ɵnov"](e,9).color,-1,o["ɵnov"](e,9).id,null,null,null])}))}function OJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["ɵnov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["ɵnov"](n,1)._handleKeydown(t)&&l),l}),u_,r_)),o["ɵdid"](1,8568832,[[73,4]],0,mi,[o.ElementRef,o.ChangeDetectorRef,[2,hi],[2,ci]],{value:[0,"value"]},null),(n()(),o["ɵted"](2,0,[" "," "]))],(function(n,e){n(e,1,0,e.context.$implicit)}),(function(n,e){n(e,0,0,o["ɵnov"](e,1)._getTabIndex(),o["ɵnov"](e,1).selected,o["ɵnov"](e,1).multiple,o["ɵnov"](e,1).active,o["ɵnov"](e,1).id,o["ɵnov"](e,1)._getAriaSelected(),o["ɵnov"](e,1).disabled.toString(),o["ɵnov"](e,1).disabled),n(e,2,0,e.context.$implicit)}))}function MJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,55,"div",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" Adapter type"])),(n()(),o["ɵeld"](2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](3,0,null,null,15,"mat-radio-group",[["aria-label","Adapter type"],["class","radio-selection mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](5,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,71,{_radios:1}),(n()(),o["ɵeld"](7,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,8)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setAdapterType("ide")&&l),l}),HC,BC)),o["ɵdid"](8,4440064,[[71,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["IDE"])),(n()(),o["ɵeld"](10,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,11)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setAdapterType("lsilogic")&&l),l}),HC,BC)),o["ɵdid"](11,4440064,[[71,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["LSI Logic"])),(n()(),o["ɵeld"](13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","3"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,14)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setAdapterType("buslogic")&&l),l}),HC,BC)),o["ɵdid"](14,4440064,[[71,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["BusLogic"])),(n()(),o["ɵeld"](16,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","4"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,17)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setAdapterType("legacyESX")&&l),l}),HC,BC)),o["ɵdid"](17,4440064,[[71,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Legacy (ESX)"])),(n()(),o["ɵeld"](19,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](20,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,[" Image file sizing mode"])),(n()(),o["ɵeld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](23,0,null,null,18,"mat-radio-group",[["aria-label","Image file sizing mode"],["class","radio-selection mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](25,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,72,{_radios:1}),(n()(),o["ɵeld"](27,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,28)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("streamOptimized")&&l),l}),HC,BC)),o["ɵdid"](28,4440064,[[72,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["Stream optimized"])),(n()(),o["ɵeld"](30,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,31)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("twoGbMaxExtentSparse")&&l),l}),HC,BC)),o["ɵdid"](31,4440064,[[72,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Split every 2GB (sparse)"])),(n()(),o["ɵeld"](33,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","3"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,34)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("twoGbMaxExtentFlat")&&l),l}),HC,BC)),o["ɵdid"](34,4440064,[[72,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Split every 2GB (flat)"])),(n()(),o["ɵeld"](36,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","4"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,37)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("monolithicSparse")&&l),l}),HC,BC)),o["ɵdid"](37,4440064,[[72,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Monolithic sparse"])),(n()(),o["ɵeld"](39,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","5"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,40)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setSubformat("monolithicFlat")&&l),l}),HC,BC)),o["ɵdid"](40,4440064,[[72,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"]},null),(n()(),o["ɵted"](-1,0,["Monolithic flat"])),(n()(),o["ɵeld"](42,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](43,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["ɵeld"](44,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Zeroed grain"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,50)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,50)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,50)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.zeroed_grain=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵprd"](6144,null,ag,null,[ZC]),o["ɵdid"](47,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](49,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](50,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,73,{options:1}),o["ɵqud"](603979776,74,{optionGroups:1}),o["ɵqud"](603979776,75,{customTrigger:0}),(n()(),o["ɵand"](16777216,null,1,1,null,OJ)),o["ɵdid"](55,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(n,e){var t=e.component;n(e,8,0,"","1"),n(e,11,0,"2"),n(e,14,0,"3"),n(e,17,0,"4"),n(e,28,0,"","1"),n(e,31,0,"2"),n(e,34,0,"3"),n(e,37,0,"4"),n(e,40,0,"5"),n(e,47,0,t.qemuImg.zeroed_grain),n(e,50,0,"Zeroed grain"),n(e,55,0,t.zeroedGrainOptions)}),(function(n,e){n(e,7,1,[o["ɵnov"](e,8).checked,o["ɵnov"](e,8).disabled,"NoopAnimations"===o["ɵnov"](e,8)._animationMode,"primary"===o["ɵnov"](e,8).color,"accent"===o["ɵnov"](e,8).color,"warn"===o["ɵnov"](e,8).color,-1,o["ɵnov"](e,8).id,null,null,null]),n(e,10,1,[o["ɵnov"](e,11).checked,o["ɵnov"](e,11).disabled,"NoopAnimations"===o["ɵnov"](e,11)._animationMode,"primary"===o["ɵnov"](e,11).color,"accent"===o["ɵnov"](e,11).color,"warn"===o["ɵnov"](e,11).color,-1,o["ɵnov"](e,11).id,null,null,null]),n(e,13,1,[o["ɵnov"](e,14).checked,o["ɵnov"](e,14).disabled,"NoopAnimations"===o["ɵnov"](e,14)._animationMode,"primary"===o["ɵnov"](e,14).color,"accent"===o["ɵnov"](e,14).color,"warn"===o["ɵnov"](e,14).color,-1,o["ɵnov"](e,14).id,null,null,null]),n(e,16,1,[o["ɵnov"](e,17).checked,o["ɵnov"](e,17).disabled,"NoopAnimations"===o["ɵnov"](e,17)._animationMode,"primary"===o["ɵnov"](e,17).color,"accent"===o["ɵnov"](e,17).color,"warn"===o["ɵnov"](e,17).color,-1,o["ɵnov"](e,17).id,null,null,null]),n(e,27,1,[o["ɵnov"](e,28).checked,o["ɵnov"](e,28).disabled,"NoopAnimations"===o["ɵnov"](e,28)._animationMode,"primary"===o["ɵnov"](e,28).color,"accent"===o["ɵnov"](e,28).color,"warn"===o["ɵnov"](e,28).color,-1,o["ɵnov"](e,28).id,null,null,null]),n(e,30,1,[o["ɵnov"](e,31).checked,o["ɵnov"](e,31).disabled,"NoopAnimations"===o["ɵnov"](e,31)._animationMode,"primary"===o["ɵnov"](e,31).color,"accent"===o["ɵnov"](e,31).color,"warn"===o["ɵnov"](e,31).color,-1,o["ɵnov"](e,31).id,null,null,null]),n(e,33,1,[o["ɵnov"](e,34).checked,o["ɵnov"](e,34).disabled,"NoopAnimations"===o["ɵnov"](e,34)._animationMode,"primary"===o["ɵnov"](e,34).color,"accent"===o["ɵnov"](e,34).color,"warn"===o["ɵnov"](e,34).color,-1,o["ɵnov"](e,34).id,null,null,null]),n(e,36,1,[o["ɵnov"](e,37).checked,o["ɵnov"](e,37).disabled,"NoopAnimations"===o["ɵnov"](e,37)._animationMode,"primary"===o["ɵnov"](e,37).color,"accent"===o["ɵnov"](e,37).color,"warn"===o["ɵnov"](e,37).color,-1,o["ɵnov"](e,37).id,null,null,null]),n(e,39,1,[o["ɵnov"](e,40).checked,o["ɵnov"](e,40).disabled,"NoopAnimations"===o["ɵnov"](e,40)._animationMode,"primary"===o["ɵnov"](e,40).color,"accent"===o["ɵnov"](e,40).color,"warn"===o["ɵnov"](e,40).color,-1,o["ɵnov"](e,40).id,null,null,null]),n(e,44,1,[o["ɵnov"](e,49).ngClassUntouched,o["ɵnov"](e,49).ngClassTouched,o["ɵnov"](e,49).ngClassPristine,o["ɵnov"](e,49).ngClassDirty,o["ɵnov"](e,49).ngClassValid,o["ɵnov"](e,49).ngClassInvalid,o["ɵnov"](e,49).ngClassPending,o["ɵnov"](e,50).id,o["ɵnov"](e,50).tabIndex,o["ɵnov"](e,50)._getAriaLabel(),o["ɵnov"](e,50)._getAriaLabelledby(),o["ɵnov"](e,50).required.toString(),o["ɵnov"](e,50).disabled.toString(),o["ɵnov"](e,50).errorState,o["ɵnov"](e,50).panelOpen?o["ɵnov"](e,50)._optionIds:null,o["ɵnov"](e,50).multiple,o["ɵnov"](e,50)._ariaDescribedby||null,o["ɵnov"](e,50)._getAriaActiveDescendant(),o["ɵnov"](e,50).disabled,o["ɵnov"](e,50).errorState,o["ɵnov"](e,50).required,o["ɵnov"](e,50).empty])}))}function NJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Qemu image configurator"])),(n()(),o["ɵeld"](3,0,null,null,101,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,100,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,99,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,98,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,fp,pp)),o["ɵdid"](7,49152,null,0,dp,[[2,nu]],null,null),(n()(),o["ɵeld"](8,0,null,0,23,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,10).onReset()&&l),l}),null,null)),o["ɵdid"](9,16384,null,0,qm,[],null,null),o["ɵdid"](10,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](12,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](14,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","qemu_img"],["matInput",""],["placeholder","Qemu image path"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.qemu_img=t)&&l),l}),null,null)),o["ɵdid"](25,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](27,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](29,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](30,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](32,0,null,0,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](33,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,10,{_controlNonStatic:0}),o["ɵqud"](335544320,11,{_controlStatic:0}),o["ɵqud"](603979776,12,{_labelChildNonStatic:0}),o["ɵqud"](335544320,13,{_labelChildStatic:0}),o["ɵqud"](603979776,14,{_placeholderChild:0}),o["ɵqud"](603979776,15,{_errorChildren:1}),o["ɵqud"](603979776,16,{_hintChildren:1}),o["ɵqud"](603979776,17,{_prefixChildren:1}),o["ɵqud"](603979776,18,{_suffixChildren:1}),(n()(),o["ɵeld"](43,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Image format"],["role","listbox"]],[[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],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,e,t){var l=!0,i=n.component;return"keydown"===e&&(l=!1!==o["ɵnov"](n,48)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,48)._onFocus()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,48)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.format=t)&&l),l}),ew,XC)),o["ɵprd"](6144,null,hi,null,[ZC]),o["ɵdid"](45,671744,null,0,Pm,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](47,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](48,2080768,null,3,ZC,[Ps,o.ChangeDetectorRef,o.NgZone,Wo,o.ElementRef,[2,ki],[2,Dm],[2,jm],[2,hg],[6,Uh],[8,null],zC,Do],{placeholder:[0,"placeholder"]},null),o["ɵqud"](603979776,19,{options:1}),o["ɵqud"](603979776,20,{optionGroups:1}),o["ɵqud"](603979776,21,{customTrigger:0}),o["ɵprd"](2048,[[10,4],[11,4]],ag,null,[ZC]),(n()(),o["ɵand"](16777216,null,1,1,null,kJ)),o["ɵdid"](54,278528,null,0,r.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,DJ)),o["ɵdid"](56,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,FJ)),o["ɵdid"](58,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,0,1,null,MJ)),o["ɵdid"](60,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](61,0,null,0,43,"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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,63).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,63).onReset()&&l),l}),null,null)),o["ɵdid"](62,16384,null,0,qm,[],null,null),o["ɵdid"](63,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](65,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](66,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](67,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,76,{_controlNonStatic:0}),o["ɵqud"](335544320,77,{_controlStatic:0}),o["ɵqud"](603979776,78,{_labelChildNonStatic:0}),o["ɵqud"](335544320,79,{_labelChildStatic:0}),o["ɵqud"](603979776,80,{_placeholderChild:0}),o["ɵqud"](603979776,81,{_errorChildren:1}),o["ɵqud"](603979776,82,{_hintChildren:1}),o["ɵqud"](603979776,83,{_prefixChildren:1}),o["ɵqud"](603979776,84,{_suffixChildren:1}),(n()(),o["ɵeld"](77,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","File location"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,78)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,78).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,78)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,78)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,83)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,83)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,83)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.path=t)&&l),l}),null,null)),o["ɵdid"](78,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](80,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](82,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](83,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[76,4],[77,4]],ag,null,[Lg]),(n()(),o["ɵeld"](85,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](86,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,85,{_controlNonStatic:0}),o["ɵqud"](335544320,86,{_controlStatic:0}),o["ɵqud"](603979776,87,{_labelChildNonStatic:0}),o["ɵqud"](335544320,88,{_labelChildStatic:0}),o["ɵqud"](603979776,89,{_placeholderChild:0}),o["ɵqud"](603979776,90,{_errorChildren:1}),o["ɵqud"](603979776,91,{_hintChildren:1}),o["ɵqud"](603979776,92,{_prefixChildren:1}),o["ɵqud"](603979776,93,{_suffixChildren:1}),(n()(),o["ɵeld"](96,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","size"],["matInput",""],["placeholder","Disk size"],["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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,97)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,97).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,97)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,97)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["ɵnov"](n,98).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,98).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,98).onTouched()&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,103)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,103)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,103)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.qemuImg.size=t)&&l),l}),null,null)),o["ɵdid"](97,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵdid"](98,16384,null,0,em,[o.Renderer2,o.ElementRef],null,null),o["ɵprd"](1024,null,Ph,(function(n,e){return[n,e]}),[jh,em]),o["ɵdid"](100,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](102,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](103,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[85,4],[86,4]],ag,null,[Lg]),(n()(),o["ɵeld"](105,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](106,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](107,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l}),ou,lu)),o["ɵdid"](108,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](110,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](111,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,10,0,t.inputForm),n(e,27,0,"qemu_img",t.qemuImg.qemu_img),n(e,30,0,"Qemu image path","text"),n(e,45,0,t.qemuImg.format),n(e,48,0,"Image format"),n(e,54,0,t.formatOptions),n(e,56,0,"qcow2"===t.qemuImg.format),n(e,58,0,"vhd"===t.qemuImg.format||"vdi"===t.qemuImg.format),n(e,60,0,"vmdk"===t.qemuImg.format),n(e,63,0,t.inputForm),n(e,80,0,"path",t.qemuImg.path),n(e,83,0,"File location","text"),n(e,100,0,"size",t.qemuImg.size),n(e,103,0,"Disk size","number"),n(e,108,0,"accent"),n(e,111,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,6,0,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,8,0,o["ɵnov"](e,12).ngClassUntouched,o["ɵnov"](e,12).ngClassTouched,o["ɵnov"](e,12).ngClassPristine,o["ɵnov"](e,12).ngClassDirty,o["ɵnov"](e,12).ngClassValid,o["ɵnov"](e,12).ngClassInvalid,o["ɵnov"](e,12).ngClassPending),n(e,13,1,["standard"==o["ɵnov"](e,14).appearance,"fill"==o["ɵnov"](e,14).appearance,"outline"==o["ɵnov"](e,14).appearance,"legacy"==o["ɵnov"](e,14).appearance,o["ɵnov"](e,14)._control.errorState,o["ɵnov"](e,14)._canLabelFloat,o["ɵnov"](e,14)._shouldLabelFloat(),o["ɵnov"](e,14)._hasFloatingLabel(),o["ɵnov"](e,14)._hideControlPlaceholder(),o["ɵnov"](e,14)._control.disabled,o["ɵnov"](e,14)._control.autofilled,o["ɵnov"](e,14)._control.focused,"accent"==o["ɵnov"](e,14).color,"warn"==o["ɵnov"](e,14).color,o["ɵnov"](e,14)._shouldForward("untouched"),o["ɵnov"](e,14)._shouldForward("touched"),o["ɵnov"](e,14)._shouldForward("pristine"),o["ɵnov"](e,14)._shouldForward("dirty"),o["ɵnov"](e,14)._shouldForward("valid"),o["ɵnov"](e,14)._shouldForward("invalid"),o["ɵnov"](e,14)._shouldForward("pending"),!o["ɵnov"](e,14)._animationsEnabled]),n(e,24,1,[o["ɵnov"](e,29).ngClassUntouched,o["ɵnov"](e,29).ngClassTouched,o["ɵnov"](e,29).ngClassPristine,o["ɵnov"](e,29).ngClassDirty,o["ɵnov"](e,29).ngClassValid,o["ɵnov"](e,29).ngClassInvalid,o["ɵnov"](e,29).ngClassPending,o["ɵnov"](e,30)._isServer,o["ɵnov"](e,30).id,o["ɵnov"](e,30).placeholder,o["ɵnov"](e,30).disabled,o["ɵnov"](e,30).required,o["ɵnov"](e,30).readonly&&!o["ɵnov"](e,30)._isNativeSelect||null,o["ɵnov"](e,30)._ariaDescribedby||null,o["ɵnov"](e,30).errorState,o["ɵnov"](e,30).required.toString()]),n(e,32,1,["standard"==o["ɵnov"](e,33).appearance,"fill"==o["ɵnov"](e,33).appearance,"outline"==o["ɵnov"](e,33).appearance,"legacy"==o["ɵnov"](e,33).appearance,o["ɵnov"](e,33)._control.errorState,o["ɵnov"](e,33)._canLabelFloat,o["ɵnov"](e,33)._shouldLabelFloat(),o["ɵnov"](e,33)._hasFloatingLabel(),o["ɵnov"](e,33)._hideControlPlaceholder(),o["ɵnov"](e,33)._control.disabled,o["ɵnov"](e,33)._control.autofilled,o["ɵnov"](e,33)._control.focused,"accent"==o["ɵnov"](e,33).color,"warn"==o["ɵnov"](e,33).color,o["ɵnov"](e,33)._shouldForward("untouched"),o["ɵnov"](e,33)._shouldForward("touched"),o["ɵnov"](e,33)._shouldForward("pristine"),o["ɵnov"](e,33)._shouldForward("dirty"),o["ɵnov"](e,33)._shouldForward("valid"),o["ɵnov"](e,33)._shouldForward("invalid"),o["ɵnov"](e,33)._shouldForward("pending"),!o["ɵnov"](e,33)._animationsEnabled]),n(e,43,1,[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,o["ɵnov"](e,48).id,o["ɵnov"](e,48).tabIndex,o["ɵnov"](e,48)._getAriaLabel(),o["ɵnov"](e,48)._getAriaLabelledby(),o["ɵnov"](e,48).required.toString(),o["ɵnov"](e,48).disabled.toString(),o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).panelOpen?o["ɵnov"](e,48)._optionIds:null,o["ɵnov"](e,48).multiple,o["ɵnov"](e,48)._ariaDescribedby||null,o["ɵnov"](e,48)._getAriaActiveDescendant(),o["ɵnov"](e,48).disabled,o["ɵnov"](e,48).errorState,o["ɵnov"](e,48).required,o["ɵnov"](e,48).empty]),n(e,61,0,o["ɵnov"](e,65).ngClassUntouched,o["ɵnov"](e,65).ngClassTouched,o["ɵnov"](e,65).ngClassPristine,o["ɵnov"](e,65).ngClassDirty,o["ɵnov"](e,65).ngClassValid,o["ɵnov"](e,65).ngClassInvalid,o["ɵnov"](e,65).ngClassPending),n(e,66,1,["standard"==o["ɵnov"](e,67).appearance,"fill"==o["ɵnov"](e,67).appearance,"outline"==o["ɵnov"](e,67).appearance,"legacy"==o["ɵnov"](e,67).appearance,o["ɵnov"](e,67)._control.errorState,o["ɵnov"](e,67)._canLabelFloat,o["ɵnov"](e,67)._shouldLabelFloat(),o["ɵnov"](e,67)._hasFloatingLabel(),o["ɵnov"](e,67)._hideControlPlaceholder(),o["ɵnov"](e,67)._control.disabled,o["ɵnov"](e,67)._control.autofilled,o["ɵnov"](e,67)._control.focused,"accent"==o["ɵnov"](e,67).color,"warn"==o["ɵnov"](e,67).color,o["ɵnov"](e,67)._shouldForward("untouched"),o["ɵnov"](e,67)._shouldForward("touched"),o["ɵnov"](e,67)._shouldForward("pristine"),o["ɵnov"](e,67)._shouldForward("dirty"),o["ɵnov"](e,67)._shouldForward("valid"),o["ɵnov"](e,67)._shouldForward("invalid"),o["ɵnov"](e,67)._shouldForward("pending"),!o["ɵnov"](e,67)._animationsEnabled]),n(e,77,1,[o["ɵnov"](e,82).ngClassUntouched,o["ɵnov"](e,82).ngClassTouched,o["ɵnov"](e,82).ngClassPristine,o["ɵnov"](e,82).ngClassDirty,o["ɵnov"](e,82).ngClassValid,o["ɵnov"](e,82).ngClassInvalid,o["ɵnov"](e,82).ngClassPending,o["ɵnov"](e,83)._isServer,o["ɵnov"](e,83).id,o["ɵnov"](e,83).placeholder,o["ɵnov"](e,83).disabled,o["ɵnov"](e,83).required,o["ɵnov"](e,83).readonly&&!o["ɵnov"](e,83)._isNativeSelect||null,o["ɵnov"](e,83)._ariaDescribedby||null,o["ɵnov"](e,83).errorState,o["ɵnov"](e,83).required.toString()]),n(e,85,1,["standard"==o["ɵnov"](e,86).appearance,"fill"==o["ɵnov"](e,86).appearance,"outline"==o["ɵnov"](e,86).appearance,"legacy"==o["ɵnov"](e,86).appearance,o["ɵnov"](e,86)._control.errorState,o["ɵnov"](e,86)._canLabelFloat,o["ɵnov"](e,86)._shouldLabelFloat(),o["ɵnov"](e,86)._hasFloatingLabel(),o["ɵnov"](e,86)._hideControlPlaceholder(),o["ɵnov"](e,86)._control.disabled,o["ɵnov"](e,86)._control.autofilled,o["ɵnov"](e,86)._control.focused,"accent"==o["ɵnov"](e,86).color,"warn"==o["ɵnov"](e,86).color,o["ɵnov"](e,86)._shouldForward("untouched"),o["ɵnov"](e,86)._shouldForward("touched"),o["ɵnov"](e,86)._shouldForward("pristine"),o["ɵnov"](e,86)._shouldForward("dirty"),o["ɵnov"](e,86)._shouldForward("valid"),o["ɵnov"](e,86)._shouldForward("invalid"),o["ɵnov"](e,86)._shouldForward("pending"),!o["ɵnov"](e,86)._animationsEnabled]),n(e,96,1,[o["ɵnov"](e,102).ngClassUntouched,o["ɵnov"](e,102).ngClassTouched,o["ɵnov"](e,102).ngClassPristine,o["ɵnov"](e,102).ngClassDirty,o["ɵnov"](e,102).ngClassValid,o["ɵnov"](e,102).ngClassInvalid,o["ɵnov"](e,102).ngClassPending,o["ɵnov"](e,103)._isServer,o["ɵnov"](e,103).id,o["ɵnov"](e,103).placeholder,o["ɵnov"](e,103).disabled,o["ɵnov"](e,103).required,o["ɵnov"](e,103).readonly&&!o["ɵnov"](e,103)._isNativeSelect||null,o["ɵnov"](e,103)._ariaDescribedby||null,o["ɵnov"](e,103).errorState,o["ɵnov"](e,103).required.toString()]),n(e,107,0,o["ɵnov"](e,108).disabled||null,"NoopAnimations"===o["ɵnov"](e,108)._animationMode),n(e,110,0,o["ɵnov"](e,111).disabled||null,"NoopAnimations"===o["ɵnov"](e,111)._animationMode)}))}function AJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-qemu-image-creator",[],null,null,null,NJ,xJ)),o["ɵdid"](1,114688,null,0,Mj,[tv,ij,hc,Gm,kE],null,null)],(function(n,e){n(e,1,0)}),null)}var PJ=o["ɵccf"]("app-qemu-image-creator",Mj,AJ,{},{},[]),qJ=o["ɵcrt"]({encapsulation:0,styles:[[".form-field[_ngcontent-%COMP%]{width:100%}"]],data:{}});function LJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Please choose name for exporting project"])),(n()(),o["ɵeld"](3,0,null,null,19,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](5,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,1,{_controlNonStatic:0}),o["ɵqud"](335544320,2,{_controlStatic:0}),o["ɵqud"](603979776,3,{_labelChildNonStatic:0}),o["ɵqud"](335544320,4,{_labelChildStatic:0}),o["ɵqud"](603979776,5,{_placeholderChild:0}),o["ɵqud"](603979776,6,{_errorChildren:1}),o["ɵqud"](603979776,7,{_hintChildren:1}),o["ɵqud"](603979776,8,{_prefixChildren:1}),o["ɵqud"](603979776,9,{_suffixChildren:1}),(n()(),o["ɵeld"](15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Project 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,16)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,16).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,16)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,16)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,21)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,21)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,21)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(i.name=t)&&l),l}),null,null)),o["ɵdid"](16,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](18,671744,null,0,Pm,[[8,null],[8,null],[8,null],[6,Ph]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,Uh,null,[Pm]),o["ɵdid"](20,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](21,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[1,4],[2,4]],ag,null,[Lg]),(n()(),o["ɵeld"](23,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](24,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](25,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l}),ou,lu)),o["ɵdid"](26,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](28,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSaveClick()&&l),l}),ou,lu)),o["ɵdid"](29,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Apply"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,18,0,t.name),n(e,21,0,"Project name","text"),n(e,26,0,"accent"),n(e,29,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,4,1,["standard"==o["ɵnov"](e,5).appearance,"fill"==o["ɵnov"](e,5).appearance,"outline"==o["ɵnov"](e,5).appearance,"legacy"==o["ɵnov"](e,5).appearance,o["ɵnov"](e,5)._control.errorState,o["ɵnov"](e,5)._canLabelFloat,o["ɵnov"](e,5)._shouldLabelFloat(),o["ɵnov"](e,5)._hasFloatingLabel(),o["ɵnov"](e,5)._hideControlPlaceholder(),o["ɵnov"](e,5)._control.disabled,o["ɵnov"](e,5)._control.autofilled,o["ɵnov"](e,5)._control.focused,"accent"==o["ɵnov"](e,5).color,"warn"==o["ɵnov"](e,5).color,o["ɵnov"](e,5)._shouldForward("untouched"),o["ɵnov"](e,5)._shouldForward("touched"),o["ɵnov"](e,5)._shouldForward("pristine"),o["ɵnov"](e,5)._shouldForward("dirty"),o["ɵnov"](e,5)._shouldForward("valid"),o["ɵnov"](e,5)._shouldForward("invalid"),o["ɵnov"](e,5)._shouldForward("pending"),!o["ɵnov"](e,5)._animationsEnabled]),n(e,15,1,[o["ɵnov"](e,20).ngClassUntouched,o["ɵnov"](e,20).ngClassTouched,o["ɵnov"](e,20).ngClassPristine,o["ɵnov"](e,20).ngClassDirty,o["ɵnov"](e,20).ngClassValid,o["ɵnov"](e,20).ngClassInvalid,o["ɵnov"](e,20).ngClassPending,o["ɵnov"](e,21)._isServer,o["ɵnov"](e,21).id,o["ɵnov"](e,21).placeholder,o["ɵnov"](e,21).disabled,o["ɵnov"](e,21).required,o["ɵnov"](e,21).readonly&&!o["ɵnov"](e,21)._isNativeSelect||null,o["ɵnov"](e,21)._ariaDescribedby||null,o["ɵnov"](e,21).errorState,o["ɵnov"](e,21).required.toString()]),n(e,25,0,o["ɵnov"](e,26).disabled||null,"NoopAnimations"===o["ɵnov"](e,26)._animationMode),n(e,28,0,o["ɵnov"](e,29).disabled||null,"NoopAnimations"===o["ɵnov"](e,29)._animationMode)}))}function jJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-choose-name-dialog",[],null,null,null,LJ,qJ)),o["ɵdid"](1,114688,null,0,$g,[tv,lb],null,null)],(function(n,e){n(e,1,0)}),null)}var VJ=o["ɵccf"]("app-choose-name-dialog",$g,jJ,{server:"server",project:"project"},{},[]),BJ=o["ɵcrt"]({encapsulation:0,styles:[[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]],data:{}});function HJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"div",[["class","dialogWrapper"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{lightTheme:0}),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","title"]],null,null,null,null,null)),(n()(),o["ɵted"](5,null,[" Do you want to navigate to ","?"])),(n()(),o["ɵeld"](6,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](8,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["No"])),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["class","confirmButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Yes"]))],(function(n,e){var t=n(e,3,0,e.component.isLightThemeEnabled);n(e,2,0,"dialogWrapper",t)}),(function(n,e){n(e,5,0,e.component.projectMessage),n(e,7,0,o["ɵnov"](e,8).disabled||null,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode)}))}function UJ(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-navigation-dialog",[],null,null,null,HJ,BJ)),o["ɵdid"](1,114688,null,0,Qg,[bv,A_],null,null)],(function(n,e){n(e,1,0)}),null)}var zJ=o["ɵccf"]("app-navigation-dialog",Qg,UJ,{},{},[]),GJ={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},WJ={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},ZJ={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},KJ={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},XJ=Object(i.a)({},WJ,ZJ,{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/}),YJ={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},$J={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},QJ=Object.keys(YJ).reduce((function(n,e){return n[e]=YJ[e],n}),{}),JJ=Object.keys($J).reduce((function(n,e){return n[GJ[e]]=$J[e],n}),{}),n0=Object.freeze({BROWSERS:GJ,MOBILES_RE:WJ,TABLETS_RE:ZJ,DEVICES:KJ,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:XJ,OS_VERSIONS_RE_MAP:YJ,BROWSER_VERSIONS_RE_MAP:$J,OS_VERSIONS_RE:QJ,BROWSER_VERSIONS_RE:JJ}),e0=function(){function n(){}return n.prototype.test=function(n,e){var t=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.test(n):e&&Array.isArray(e.and)?e.and.every((function(e){return t.test(n,e)})):e&&Array.isArray(e.or)?e.or.some((function(e){return t.test(n,e)})):!(!e||!e.not||t.test(n,e.not))},n.prototype.exec=function(n,e){var t=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.exec(n):e&&Array.isArray(e)?e.reduce((function(e,l){return e||t.exec(n,l)}),null):null},n}(),t0=function(){function n(n){this.platformId=n,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new e0,Object(r.isPlatformBrowser)(this.platformId)&&(this.userAgent=window.navigator.userAgent),this._setDeviceInfo(this.userAgent)}return n.prototype._setDeviceInfo=function(n){var e=this;void 0===n&&(n=this.userAgent),n!==this.userAgent&&(this.userAgent=n);var t=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(t.forEach((function(t){e[t.prop]=Object.keys(n0[t.const]).reduce((function(l,o){return"device"===n0[t.const][o]&&Object(r.isPlatformBrowser)(e.platformId)&&(e.reTree.test(e.userAgent,ZJ.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(l[n0[t.const][o]]="iPad",Object):(l[n0[t.const][o]]=e.reTree.test(n,n0[t.const+"_RE"][o]),l)}),{})})),t.forEach((function(n){e[n.prop]=Object.keys(n0[n.const]).map((function(e){return n0[n.const][e]})).reduce((function(t,l){return"device"===n.prop&&t===n0[n.const].ANDROID?e[n.prop][l]?l:t:t===n0[n.const].UNKNOWN&&e[n.prop][l]?l:t}),n0[n.const].UNKNOWN)})),this.browser_version="0",this.browser!==GJ.UNKNOWN){var l=this.reTree.exec(n,JJ[this.browser]);l&&(this.browser_version=l[1])}},n.prototype.getDeviceInfo=function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}},n.prototype.isMobile=function(n){var e=this;return void 0===n&&(n=this.userAgent),!this.isTablet(n)&&!!Object.keys(WJ).find((function(t){return e.reTree.test(n,WJ[t])}))},n.prototype.isTablet=function(n){var e=this;return void 0===n&&(n=this.userAgent),!(!Object(r.isPlatformBrowser)(this.platformId)||!(this.reTree.test(this.userAgent,ZJ.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(ZJ).find((function(t){return!!e.reTree.test(n,ZJ[t])}))},n.prototype.isDesktop=function(n){void 0===n&&(n=this.userAgent);var e=[KJ.PS4,KJ.CHROME_BOOK,KJ.UNKNOWN];return(this.device!==KJ.UNKNOWN||!this.isMobile(n)&&!this.isTablet(n))&&e.indexOf(this.device)>-1},n}(),l0=function(){function n(){}var e;return e=n,n.forRoot=function(){return{ngModule:e,providers:[t0]}},n}(),o0=o["ɵcrt"]({encapsulation:0,styles:[[".name-form[_ngcontent-%COMP%]{width:100%}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]],data:{}});function i0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[7,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Name for screenshot is required"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function r0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["ɵdid"](1,16384,[[7,4]],0,rg,[],null,null),(n()(),o["ɵted"](-1,null,["Entered name is incorrect"]))],null,(function(n,e){n(e,0,0,o["ɵnov"](e,1).id)}))}function a0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Take a screenshot"])),(n()(),o["ɵeld"](3,0,null,null,9,"mat-radio-group",[["aria-label","Sorting"],["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["ɵprd"](5120,null,Ph,(function(n){return[n]}),[LC]),o["ɵdid"](5,1064960,null,1,LC,[o.ChangeDetectorRef],null,null),o["ɵqud"](603979776,1,{_radios:1}),(n()(),o["ɵeld"](7,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,8)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setFiletype("svg")&&l),l}),HC,BC)),o["ɵdid"](8,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["ɵted"](-1,0,["SVG"])),(n()(),o["ɵeld"](10,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"focus"===e&&(l=!1!==o["ɵnov"](n,11)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==i.setFiletype("png")&&l),l}),HC,BC)),o["ɵdid"](11,4440064,[[1,4]],0,jC,[[2,LC],o.ElementRef,o.ChangeDetectorRef,Mo,Ms,[2,nu],[2,AC]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),o["ɵted"](-1,0,["PNG"])),(n()(),o["ɵeld"](13,0,null,null,38,"form",[["class","name-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,e,t){var l=!0;return"submit"===e&&(l=!1!==o["ɵnov"](n,15).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["ɵnov"](n,15).onReset()&&l),l}),null,null)),o["ɵdid"](14,16384,null,0,qm,[],null,null),o["ɵdid"](15,540672,null,0,jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["ɵprd"](2048,null,Bh,null,[jm]),o["ɵdid"](17,16384,null,0,Wh,[[4,Bh]],null,null),(n()(),o["ɵeld"](18,0,null,null,25,"mat-form-field",[["class","name-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[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],[2,"_mat-animation-noopable",null]],null,null,Og,yg)),o["ɵdid"](19,7520256,null,9,hg,[o.ElementRef,o.ChangeDetectorRef,[2,bi],[2,ki],[2,fg],io,o.NgZone,[2,nu]],null,null),o["ɵqud"](603979776,2,{_controlNonStatic:0}),o["ɵqud"](335544320,3,{_controlStatic:0}),o["ɵqud"](603979776,4,{_labelChildNonStatic:0}),o["ɵqud"](335544320,5,{_labelChildStatic:0}),o["ɵqud"](603979776,6,{_placeholderChild:0}),o["ɵqud"](603979776,7,{_errorChildren:1}),o["ɵqud"](603979776,8,{_hintChildren:1}),o["ɵqud"](603979776,9,{_prefixChildren:1}),o["ɵqud"](603979776,10,{_suffixChildren:1}),(n()(),o["ɵeld"](29,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","screenshotName"],["matInput",""],["placeholder","Please enter 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],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,e,t){var l=!0,i=n.component;return"input"===e&&(l=!1!==o["ɵnov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["ɵnov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["ɵnov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["ɵnov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["ɵnov"](n,38)._onInput()&&l),"keydown"===e&&(l=!1!==i.onKeyDown(t)&&l),l}),null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](31,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["ɵpod"](32,{"is-invalid":0}),o["ɵdid"](33,16384,null,0,jh,[o.Renderer2,o.ElementRef,[2,Lh]],null,null),o["ɵprd"](1024,null,Ph,(function(n){return[n]}),[jh]),o["ɵdid"](35,671744,null,0,Um,[[3,Bh],[8,null],[8,null],[6,Ph],[2,Lm]],{name:[0,"name"]},null),o["ɵprd"](2048,null,Uh,null,[Um]),o["ɵdid"](37,16384,null,0,Gh,[[4,Uh]],null,null),o["ɵdid"](38,999424,null,0,Lg,[o.ElementRef,io,[6,Uh],[2,Dm],[2,jm],Wo,[8,null],Ng,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["ɵprd"](2048,[[2,4],[3,4]],ag,null,[Lg]),(n()(),o["ɵand"](16777216,null,5,1,null,i0)),o["ɵdid"](41,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵand"](16777216,null,5,1,null,r0)),o["ɵdid"](43,16384,null,0,r.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["ɵeld"](44,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["ɵdid"](45,16384,null,0,cv,[],null,null),(n()(),o["ɵeld"](46,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](47,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Cancel"])),(n()(),o["ɵeld"](49,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l}),ou,lu)),o["ɵdid"](50,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,["Take a screenshot"]))],(function(n,e){var t=e.component;n(e,1,0),n(e,8,0,"","1"),n(e,11,0,"2",!t.isPngAvailable),n(e,15,0,t.nameForm);var l=n(e,32,0,null==t.form.acreenshotName?null:t.form.acreenshotName.errors);n(e,31,0,l),n(e,35,0,"screenshotName"),n(e,38,0,"Please enter name","text"),n(e,41,0,(null==t.form.screenshotName?null:t.form.screenshotName.touched)&&(null==t.form.screenshotName?null:t.form.screenshotName.errors)&&(null==t.form.screenshotName?null:t.form.screenshotName.errors.required)),n(e,43,0,(null==t.form.screenshotName?null:t.form.screenshotName.touched)&&(null==t.form.screenshotName?null:t.form.screenshotName.errors)&&(null==t.form.acreenshotName?null:t.form.acreenshotName.errors.invalidName)),n(e,47,0,"accent"),n(e,50,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,7,1,[o["ɵnov"](e,8).checked,o["ɵnov"](e,8).disabled,"NoopAnimations"===o["ɵnov"](e,8)._animationMode,"primary"===o["ɵnov"](e,8).color,"accent"===o["ɵnov"](e,8).color,"warn"===o["ɵnov"](e,8).color,-1,o["ɵnov"](e,8).id,null,null,null]),n(e,10,1,[o["ɵnov"](e,11).checked,o["ɵnov"](e,11).disabled,"NoopAnimations"===o["ɵnov"](e,11)._animationMode,"primary"===o["ɵnov"](e,11).color,"accent"===o["ɵnov"](e,11).color,"warn"===o["ɵnov"](e,11).color,-1,o["ɵnov"](e,11).id,null,null,null]),n(e,13,0,o["ɵnov"](e,17).ngClassUntouched,o["ɵnov"](e,17).ngClassTouched,o["ɵnov"](e,17).ngClassPristine,o["ɵnov"](e,17).ngClassDirty,o["ɵnov"](e,17).ngClassValid,o["ɵnov"](e,17).ngClassInvalid,o["ɵnov"](e,17).ngClassPending),n(e,18,1,["standard"==o["ɵnov"](e,19).appearance,"fill"==o["ɵnov"](e,19).appearance,"outline"==o["ɵnov"](e,19).appearance,"legacy"==o["ɵnov"](e,19).appearance,o["ɵnov"](e,19)._control.errorState,o["ɵnov"](e,19)._canLabelFloat,o["ɵnov"](e,19)._shouldLabelFloat(),o["ɵnov"](e,19)._hasFloatingLabel(),o["ɵnov"](e,19)._hideControlPlaceholder(),o["ɵnov"](e,19)._control.disabled,o["ɵnov"](e,19)._control.autofilled,o["ɵnov"](e,19)._control.focused,"accent"==o["ɵnov"](e,19).color,"warn"==o["ɵnov"](e,19).color,o["ɵnov"](e,19)._shouldForward("untouched"),o["ɵnov"](e,19)._shouldForward("touched"),o["ɵnov"](e,19)._shouldForward("pristine"),o["ɵnov"](e,19)._shouldForward("dirty"),o["ɵnov"](e,19)._shouldForward("valid"),o["ɵnov"](e,19)._shouldForward("invalid"),o["ɵnov"](e,19)._shouldForward("pending"),!o["ɵnov"](e,19)._animationsEnabled]),n(e,29,1,[o["ɵnov"](e,37).ngClassUntouched,o["ɵnov"](e,37).ngClassTouched,o["ɵnov"](e,37).ngClassPristine,o["ɵnov"](e,37).ngClassDirty,o["ɵnov"](e,37).ngClassValid,o["ɵnov"](e,37).ngClassInvalid,o["ɵnov"](e,37).ngClassPending,o["ɵnov"](e,38)._isServer,o["ɵnov"](e,38).id,o["ɵnov"](e,38).placeholder,o["ɵnov"](e,38).disabled,o["ɵnov"](e,38).required,o["ɵnov"](e,38).readonly&&!o["ɵnov"](e,38)._isNativeSelect||null,o["ɵnov"](e,38)._ariaDescribedby||null,o["ɵnov"](e,38).errorState,o["ɵnov"](e,38).required.toString()]),n(e,46,0,o["ɵnov"](e,47).disabled||null,"NoopAnimations"===o["ɵnov"](e,47)._animationMode),n(e,49,0,o["ɵnov"](e,50).disabled||null,"NoopAnimations"===o["ɵnov"](e,50)._animationMode)}))}function u0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-screenshot-dialog",[],null,null,null,a0,o0)),o["ɵdid"](1,114688,null,0,bj,[tv,hc,Gm,sc,t0],null,null)],(function(n,e){n(e,1,0)}),null)}var s0=o["ɵccf"]("app-screenshot-dialog",bj,u0,{},{},[]),d0=o["ɵcrt"]({encapsulation:0,styles:[[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]],data:{}});function c0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,12,"div",[["class","dialogWrapper"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](2,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](3,{lightTheme:0}),(n()(),o["ɵeld"](4,0,null,null,1,"div",[["class","title"]],null,null,null,null,null)),(n()(),o["ɵted"](5,null,["",""])),(n()(),o["ɵeld"](6,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](7,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l}),ou,lu)),o["ɵdid"](8,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["No"])),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],null,null),(n()(),o["ɵted"](-1,0,["Yes"]))],(function(n,e){var t=n(e,3,0,e.component.isLightThemeEnabled);n(e,2,0,"dialogWrapper",t)}),(function(n,e){n(e,5,0,e.component.message),n(e,7,0,o["ɵnov"](e,8).disabled||null,"NoopAnimations"===o["ɵnov"](e,8)._animationMode),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode)}))}function p0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-confirmation-bottomsheet",[],null,null,null,c0,d0)),o["ɵdid"](1,114688,null,0,Xm,[bv,A_],null,null)],(function(n,e){n(e,1,0)}),null)}var f0=o["ɵccf"]("app-confirmation-bottomsheet",Xm,p0,{},{},[]),h0=o["ɵcrt"]({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}"]],data:{}});function m0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["ɵdid"](1,81920,null,0,sv,[[2,tv],o.ElementRef,av],null,null),(n()(),o["ɵted"](-1,null,["Choose configuration file"])),(n()(),o["ɵeld"](3,0,null,null,9,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["ɵeld"](4,0,null,null,8,"div",[["class","container"]],null,null,null,null,null)),(n()(),o["ɵeld"](5,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](6,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.close("startup-config")&&l),l}),ou,lu)),o["ɵdid"](7,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" startup configuration "])),(n()(),o["ɵeld"](9,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["ɵeld"](10,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.close("private-config")&&l),l}),ou,lu)),o["ɵdid"](11,180224,null,0,Ci,[o.ElementRef,Mo,[2,nu]],{color:[0,"color"]},null),(n()(),o["ɵted"](-1,0,[" private configuration "]))],(function(n,e){n(e,1,0),n(e,7,0,"primary"),n(e,11,0,"primary")}),(function(n,e){n(e,0,0,o["ɵnov"](e,1).id),n(e,6,0,o["ɵnov"](e,7).disabled||null,"NoopAnimations"===o["ɵnov"](e,7)._animationMode),n(e,10,0,o["ɵnov"](e,11).disabled||null,"NoopAnimations"===o["ɵnov"](e,11)._animationMode)}))}function v0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-config-dialog",[],null,null,null,m0,h0)),o["ɵdid"](1,49152,null,0,WV,[tv],null,null)],null,null)}var g0=o["ɵccf"]("app-config-dialog",WV,v0,{},{},[]),b0=function(){function n(n,e,t,l){this.themeService=n,this.componentFactoryResolver=e,this.viewContainerRef=t,this.location=l,this.viewsCounter=0,this.ticks=1e3,this.progress=0,this.isAdLoaded=!1,this.isVisible=!1,this.interval=10,this.delayTime=5e3,this.breakTime=20,this.isEndless=!1,this.numberOfViews=1,this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){var n=localStorage.getItem("adbutler"),e=(new Date).toISOString().substring(0,10);this.location.path().includes("nodes")||n==e||this.startTimer(),this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.ngAfterViewInit=function(){this.createDynamicAdComponent()},n.prototype.createDynamicAdComponent=function(){var n=this,e=this.componentFactoryResolver.resolveComponentFactory(G_),t=this.dynamicComponentContainer.createComponent(e);t.instance.theme="light"===this.themeService.getActualTheme(),t.instance.onLoad.subscribe((function(e){n.onLoadingAdbutler(e)})),t.changeDetectorRef.detectChanges()},n.prototype.startTimer=function(){var n=this;this.timer=Object(Dp.a)(this.delayTime,1e3),this.timerSubscription=this.timer.subscribe((function(){n.ticks++,n.ticks>n.breakTime&&!n.isVisible&&navigator.onLine&&n.isAdLoaded&&(n.ticks=0,n.showNotification(),n.viewsCounter++,n.isEndless||n.viewsCounter===n.numberOfViews&&n.timerSubscription.unsubscribe())}))},n.prototype.onLoadingAdbutler=function(n){this.isAdLoaded=n},n.prototype.showNotification=function(){var n=this;localStorage.setItem("adbutler",(new Date).toISOString().substring(0,10)),this.viewTimer=Object(Dp.a)(0,100),this.progress=0,this.isVisible=!0,this.viewTimerSubscription=this.viewTimer.subscribe((function(){n.progress+=1,n.progress>100&&(n.isVisible=!1,n.viewTimerSubscription.unsubscribe())}))},n.prototype.closeNotification=function(){this.isVisible=!1},n.prototype.ngOnDestroy=function(){this.timerSubscription.unsubscribe(),this.viewTimerSubscription.unsubscribe()},n}(),_0=o["ɵcrt"]({encapsulation:0,styles:[[".notification-box[_ngcontent-%COMP%]{position:fixed;bottom:20px;right:20px;width:412px;height:108px}.content[_ngcontent-%COMP%]{background-color:#263238;padding-left:8px;border-left:2px solid #0097a7;border-right:2px solid #0097a7;border-bottom:2px solid #0097a7}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.close-button[_ngcontent-%COMP%]{position:fixed;bottom:90px;right:30px;cursor:pointer}.mat-icon[_ngcontent-%COMP%]:hover{color:#0097a7}.check-button[_ngcontent-%COMP%]{background-color:#0097a7;margin-top:-10px}.hidden[_ngcontent-%COMP%]{visibility:hidden}"]],data:{}});function y0(n){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{dynamicComponentContainer:0}),(n()(),o["ɵeld"](1,0,null,null,14,"div",[["class","notification-box"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](3,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](4,{hidden:0}),(n()(),o["ɵeld"](5,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","determinate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,sX,uX)),o["ɵdid"](6,4374528,null,0,iX,[o.ElementRef,o.NgZone,[2,nu],[2,lX]],{value:[0,"value"],mode:[1,"mode"]},null),(n()(),o["ɵeld"](7,0,null,null,8,"div",[["style","display: flex; height: 102px;"]],null,null,null,null,null)),(n()(),o["ɵeld"](8,0,null,null,7,"div",[["class","content"]],null,null,null,null,null)),o["ɵprd"](512,null,r["ɵNgClassImpl"],r["ɵNgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["ɵdid"](10,278528,null,0,r.NgClass,[r["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["ɵpod"](11,{lightTheme:0}),(n()(),o["ɵeld"](12,16777216,[[1,3],["dynamicComponentContainer",1]],null,0,"template",[],null,null,null,null,null)),(n()(),o["ɵeld"](13,0,null,null,2,"mat-icon",[["class","close-button mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.closeNotification()&&l),l}),ss,us)),o["ɵdid"](14,9158656,null,0,rs,[o.ElementRef,Qu,[8,null],[2,ts],[2,o.ErrorHandler]],null,null),(n()(),o["ɵted"](-1,0,["close"]))],(function(n,e){var t=e.component,l=n(e,4,0,!t.isVisible);n(e,3,0,"notification-box",l),n(e,6,0,t.progress,"determinate");var o=n(e,11,0,t.isLightThemeEnabled);n(e,10,0,"content",o),n(e,14,0)}),(function(n,e){n(e,5,0,"indeterminate"===o["ɵnov"](e,6).mode||"query"===o["ɵnov"](e,6).mode?null:o["ɵnov"](e,6).value,o["ɵnov"](e,6).mode,o["ɵnov"](e,6)._isNoopAnimation),n(e,13,0,o["ɵnov"](e,14).inline,"primary"!==o["ɵnov"](e,14).color&&"accent"!==o["ɵnov"](e,14).color&&"warn"!==o["ɵnov"](e,14).color)}))}var C0=o["ɵcrt"]({encapsulation:0,styles:[["mat-menu-panel[_ngcontent-%COMP%]{min-height:0}"]],data:{}});function w0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["ɵdid"](1,212992,null,0,wl,[Cl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null),(n()(),o["ɵeld"](2,16777216,null,null,1,"app-notification-box",[],null,null,null,y0,_0)),o["ɵdid"](3,4440064,null,0,b0,[A_,o.ComponentFactoryResolver,o.ViewContainerRef,r.Location],null,null)],(function(n,e){n(e,1,0),n(e,3,0)}),null)}function S0(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"app-root",[],null,null,null,w0,C0)),o["ɵdid"](1,114688,null,0,zl,[Qu,rn,_b,sc,A_,vl,tc],null,null)],(function(n,e){n(e,1,0)}),null)}var x0=o["ɵccf"]("app-root",zl,S0,{},{},[]),k0=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new NO;return n.height=100,n.width=100,n.fill="#000000",n.fill_opacity=0,n.font_family="Noto Sans",n.font_size=11,n.font_weight="bold",n},n}(),E0=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new HO;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.cx=100,n.cy=100,n.rx=100,n.ry=100,n.width=200,n.height=200,n},n}(),T0=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new LO;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.width=200,n.height=100,n},n}(),R0=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new VO;return n.stroke="#000000",n.stroke_width=2,n.x1=0,n.x2=200,n.y1=0,n.y2=0,n.width=100,n.height=0,n},n}(),I0=function(){function n(){}return n.prototype.calculate=function(n,e){var t=document.createElement("text");t.innerText=n,t.setAttribute("fill","#00000"),t.setAttribute("fill-opacity","0"),t.setAttribute("style",e),document.documentElement.appendChild(t);var l=t.getBoundingClientRect();return document.documentElement.removeChild(t),{width:l.width,height:l.height}},n}(),D0=function(){function n(n,e,t){this.fontBBoxCalculator=n,this.cssFixer=e,this.fontFixer=t}return n.prototype.convert=function(n,e){var t=new BM;t.rotation=n.rotation,t.style=n.style,t.text=n.text,t.x=n.x,t.y=n.y,t.originalX=n.x,t.originalY=n.y,void 0!==e&&(t.id=e.node_id,t.nodeId=e.node_id);var l=this.cssFixer.fix(t.style),o=this.fontFixer.fixStyles(l),i=this.fontBBoxCalculator.calculate(t.text,o);return null!==t.x&&(t.x+=3),null!==t.y&&(t.y+=i.height),t},n}(),F0=function(){function n(n){this.labelToMapLabel=n}return n.prototype.convert=function(n,e){var t=new HM;return t.nodeId=n.node_id,t.adapterNumber=n.adapter_number,t.portNumber=n.port_number,t.label=this.labelToMapLabel.convert(n.label),void 0!==e&&(t.linkId=e.link_id,t.id=t.nodeId+"-"+t.linkId),t},n}(),O0=function(){function n(n){this.linkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new iZ;return t.id=n.link_id,t.captureFileName=n.capture_file_name,t.captureFilePath=n.capture_file_path,t.capturing=n.capturing,t.filters=n.filters,t.linkType=n.link_type,t.nodes=n.nodes.map((function(t){return e.linkNodeToMapLinkNode.convert(t,{link_id:n.link_id})})),t.projectId=n.project_id,t.suspend=n.suspend,t},n}(),M0=function(){return function(){}}(),N0=function(){function n(){}return n.prototype.convert=function(n){var e=new M0;return e.symbol_id=n.id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),A0=function(){return function(){}}(),P0=function(){function n(){}return n.prototype.convert=function(n){var e=new A0;return e.id=n.symbol_id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),q0=function(){function n(){}return n.prototype.convert=function(n){var e={font_family:void 0,font_size:void 0,font_weight:void 0};return AM.parse(n,{context:"declarationList"}).children.forEach((function(n){"font-size"===n.property&&n.value.children.forEach((function(n){"Dimension"===n.type&&(e.font_size=parseInt(n.value))})),"font-family"===n.property&&n.value.children.forEach((function(n){"Identifier"===n.type&&(e.font_family=n.name)})),"font-weight"===n.property&&n.value.children.forEach((function(n){"Identifier"===n.type&&(e.font_weight=n.name)}))})),e},n}(),L0=function(){return function(n,e,t){this.x=n,this.y=e,this.status=t}}(),j0=function(){function n(){}return n.prototype.draw=function(n){n.each((function(n){var e=nO(this),t=e.select("path"),l=[];if(t.node()){var o=t.node().getPointAtLength(45),i=t.node().getPointAtLength(t.node().getTotalLength()-45);t.node().getTotalLength()>100&&n.source&&n.target&&(l=[new L0(o.x,o.y,n.capturing&&n.suspend?"suspended":n.source.status),new L0(i.x,i.y,n.capturing&&n.suspend?"suspended":n.target.status)])}var r=e.selectAll("circle.status_started").data(l.filter((function(n){return"started"===n.status}))),a=r.enter().append("circle");r.merge(a).attr("class","status_started").attr("cx",(function(n){return n.x})).attr("cy",(function(n){return n.y})).attr("r",6).attr("fill","#2ecc71"),r.exit().remove();var u=e.selectAll("rect.status_stopped").data(l.filter((function(n){return"stopped"===n.status}))),s=u.enter().append("rect");u.merge(s).attr("class","status_stopped").attr("x",(function(n){return n.x-5})).attr("y",(function(n){return n.y-5})).attr("width",10).attr("height",10).attr("fill","red"),u.exit().remove();var d=e.selectAll("circle.status_suspended").data(l.filter((function(n){return"suspended"===n.status}))),c=d.enter().append("circle");d.merge(c).attr("class","status_suspended").attr("cx",(function(n){return n.x})).attr("cy",(function(n){return n.y})).attr("r",6).attr("fill","#FFFF00"),d.exit().remove()}))},n}(),V0=function(){function n(n){this.fontFixer=n}return n.prototype.draw=function(e){var t=this,l=e.selectAll("text.text_element").data((function(n){return n.element&&n.element instanceof NO?[n.element]:[]})),o=l.enter().append("text").attr("class","text_element noselect"),i=l.merge(o);i.attr("style",(function(n){var e=t.fontFixer.fix(n),l=[];return e.font_family&&l.push('font-family: "'+n.font_family+'"'),e.font_size&&l.push("font-size: "+n.font_size+"pt"),e.font_weight&&l.push("font-weight: "+n.font_weight),l.join("; ")})).attr("fill",(function(n){return n.fill})).attr("text-decoration",(function(n){return n.text_decoration}));var r=i.selectAll("tspan").data((function(n){return n.text.split(/\r?\n/)})),a=r.enter().append("tspan");r.merge(a).text((function(n){return n})).attr("xml:space","preserve").attr("x",0).attr("dy",(function(n,e){return 0===e?"0em":"1.4em"})),r.exit().remove(),i.attr("transform",(function(){var e=nO(this).selectAll("tspan"),t=this.getBBox().height/e.size();return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"})),l.exit().remove()},n.MARGIN=4,n}(),B0=function(){function n(){}return n.prototype.draw=function(n){var e=n.selectAll("image.image_element").data((function(n){return n.element&&n.element instanceof PO?[n.element]:[]})),t=e.enter().append("image").attr("class","image_element noselect");e.merge(t).attr("xlink:href",(function(n){return n.data})).attr("width",(function(n){return n.width})).attr("height",(function(n){return n.height})),e.exit().remove()},n}(),H0=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("rect.rect_element").data((function(n){return n.element&&n.element instanceof LO?[n.element]:[]}));t.enter().append("line").attr("class","top"),t.enter().append("line").attr("class","bottom"),t.enter().append("line").attr("class","right"),t.enter().append("line").attr("class","left");var l=t.enter().append("rect").attr("class","rect_element noselect");t.merge(l).attr("fill",(function(n){return n.fill})).attr("fill-opacity",(function(n){return n.fill_opacity})).attr("stroke",(function(n){return n.stroke})).attr("stroke-width",(function(n){return n.stroke_width})).attr("stroke-dasharray",(function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)})).attr("width",(function(n){return n.width})).attr("height",(function(n){return n.height})),t.exit().remove()},n}(),U0=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("line.line_element").data((function(n){return n.element&&n.element instanceof VO?[n.element]:[]}));t.enter().append("circle").attr("class","right"),t.enter().append("circle").attr("class","left");var l=t.enter().append("line").attr("class","line_element noselect");t.merge(l).attr("stroke",(function(n){return n.stroke})).attr("stroke-width",(function(n){return n.stroke_width})).attr("stroke-dasharray",(function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)})).attr("x1",(function(n){return n.x1})).attr("x2",(function(n){return n.x2})).attr("y1",(function(n){return n.y1})).attr("y2",(function(n){return n.y2})),t.exit().remove()},n}(),z0=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("ellipse.ellipse_element").data((function(n){return n.element&&n.element instanceof HO?[n.element]:[]}));t.enter().append("line").attr("class","top"),t.enter().append("line").attr("class","bottom"),t.enter().append("line").attr("class","right"),t.enter().append("line").attr("class","left");var l=t.enter().append("ellipse").attr("class","ellipse_element noselect");t.merge(l).attr("fill",(function(n){return n.fill})).attr("fill-opacity",(function(n){return n.fill_opacity})).attr("stroke",(function(n){return n.stroke})).attr("stroke-width",(function(n){return n.stroke_width})).attr("stroke-dasharray",(function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)})).attr("cx",(function(n){return n.cx})).attr("cy",(function(n){return n.cy})).attr("rx",(function(n){return n.rx})).attr("ry",(function(n){return n.ry})),t.exit().remove()},n}(),G0=function(){function n(n,e,t,l,o,i,r){this.textDrawingWidget=n,this.imageDrawingWidget=e,this.rectDrawingWidget=t,this.lineDrawingWidget=l,this.ellipseDrawingWidget=o,this.selectionManager=i,this.mapSettingsService=r,this.drawingWidgets=[],this.drawingWidgets=[this.textDrawingWidget,this.imageDrawingWidget,this.rectDrawingWidget,this.lineDrawingWidget,this.ellipseDrawingWidget]}return n.prototype.draw=function(n){var e=this,t=n.selectAll("g.drawing_body").data((function(n){return[n]})),l=t.enter().append("g").attr("class","drawing_body"),o=t.merge(l).attr("transform",(function(n){return"translate("+n.x+","+n.y+") rotate("+n.rotation+")"}));this.drawingWidgets.forEach((function(n){n.draw(o)})),o.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&o.filter((function(n){return n.element instanceof LO||n.element instanceof HO})).append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",(function(n){return n.element?n.element.width/2-13:0})).attr("y",(function(n){return n.element?n.element.height/2-13:0})).attr("fill","red"),o.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&o.filter((function(n){return n.element instanceof LO||n.element instanceof HO})).append("text").attr("class","layer_label").text((function(n){return n.z})).attr("x",(function(n){return n.z>=100?n.element?n.element.width/2-13:0:n.z>=10?n.element?n.element.width/2-9:0:n.element.width/2-5})).attr("y",(function(n){return n.element?n.element.height/2+5:0})).attr("style",(function(){var n=[];return n.push('font-family: "Noto Sans"'),n.push("font-size: 11pt"),n.push("font-weight: bold"),n.join("; ")})).attr("fill","#ffffff"),o.select("line.top").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",(function(n){return n.element instanceof HO?n.element.cx-n.element.width/10:"0"})).attr("x2",(function(n){return n.element instanceof HO?n.element.cx+n.element.width/10:n.element.width})).attr("y1","0").attr("y2","0").attr("draggable","true").attr("cursor","ns-resize"),o.select("line.bottom").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",(function(n){return n.element instanceof HO?n.element.cx-n.element.width/10:"0"})).attr("x2",(function(n){return n.element instanceof HO?n.element.cx+n.element.width/10:n.element.width})).attr("y1",(function(n){return n.element.height})).attr("y2",(function(n){return n.element.height})).attr("draggable","true").attr("cursor","ns-resize"),o.select("line.right").attr("stroke","transparent").attr("stroke-width","8px").attr("x1","0").attr("x2","0").attr("y1",(function(n){return n.element instanceof HO?n.element.cy-n.element.height/10:"0"})).attr("y2",(function(n){return n.element instanceof HO?n.element.cy+n.element.height/10:n.element.height})).attr("draggable","true").attr("cursor","ew-resize"),o.select("line.left").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",(function(n){return n.element.width})).attr("x2",(function(n){return n.element.width})).attr("y1",(function(n){return n.element instanceof HO?n.element.cy-n.element.height/10:"0"})).attr("y2",(function(n){return n.element instanceof HO?n.element.cy+n.element.height/10:n.element.height})).attr("draggable","true").attr("cursor","ew-resize"),o.select("circle.left").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",(function(n){return n.element.x1})).attr("cy",(function(n){return n.element.y1})).attr("r",10).attr("cursor","move"),o.select("circle.right").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",(function(n){return n.element.x2})).attr("cy",(function(n){return n.element.y2})).attr("r",10).attr("cursor","move"),o.classed("drawing_selected",(function(n){return e.selectionManager.isSelected(n)}))},n}(),W0=function(){function n(n,e,t){this.linksWidget=n,this.nodesWidget=e,this.drawingsWidget=t}return n.prototype.draw=function(n,e){var t=n.selectAll("g.layer").data(e,(function(n){return n.index.toString()})),l=t.enter().append("g").attr("class","layer");l.append("g").attr("class","links"),l.append("g").attr("class","nodes"),l.append("g").attr("class","drawings");var o=t.merge(l);o.attr("data-index",(function(n){return n.index}));var i=o.select("g.links"),r=o.select("g.nodes"),a=o.select("g.drawings");t.exit().remove(),this.linksWidget.draw(i),this.nodesWidget.draw(r),this.drawingsWidget.draw(a)},n}();function Z0(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function K0(n,e){var t=e?"":"none";Z0(n.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:t,msUserSelect:t,webkitUserSelect:t,MozUserSelect:t})}function X0(n){var e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function Y0(n,e){return n.getPropertyValue(e).split(",").map((function(n){return n.trim()}))}var $0=so({passive:!0}),Q0=so({passive:!1}),J0=function(){function n(n,e,t,l,o,i){var r=this;this._config=e,this._document=t,this._ngZone=l,this._viewportRuler=o,this._dragDropRegistry=i,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new Mn.b,this._pointerMoveSubscription=co.a.EMPTY,this._pointerUpSubscription=co.a.EMPTY,this._scrollSubscription=co.a.EMPTY,this._resizeSubscription=co.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Mn.b,this.started=new Mn.b,this.released=new Mn.b,this.ended=new Mn.b,this.entered=new Mn.b,this.exited=new Mn.b,this.dropped=new Mn.b,this.moved=this._moveEvents.asObservable(),this._pointerDown=function(n){if(r.beforeStarted.next(),r._handles.length){var e=r._handles.find((function(e){var t=n.target;return!!t&&(t===e||e.contains(t))}));!e||r._disabledHandles.has(e)||r.disabled||r._initializeDragSequence(e,n)}else r.disabled||r._initializeDragSequence(r._rootElement,n)},this._pointerMove=function(n){if(r._hasStartedDragging){r._boundaryElement&&(r._previewRect&&(r._previewRect.width||r._previewRect.height)||(r._previewRect=(r._preview||r._rootElement).getBoundingClientRect()));var e=r._getConstrainedPointerPosition(n);if(r._hasMoved=!0,n.preventDefault(),r._updatePointerDirectionDelta(e),r._dropContainer)r._updateActiveDropContainer(e);else{var t=r._activeTransform;t.x=e.x-r._pickupPositionOnPage.x+r._passiveTransform.x,t.y=e.y-r._pickupPositionOnPage.y+r._passiveTransform.y,r._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&r._rootElement instanceof SVGElement&&r._rootElement.setAttribute("transform","translate("+t.x+" "+t.y+")")}r._moveEvents.observers.length&&r._ngZone.run((function(){r._moveEvents.next({source:r,pointerPosition:e,event:n,distance:r._getDragDistance(e),delta:r._pointerDirectionDelta})}))}else{var l=r._getPointerPositionOnPage(n);if(Math.abs(l.x-r._pickupPositionOnPage.x)+Math.abs(l.y-r._pickupPositionOnPage.y)>=r._config.dragStartThreshold){if(!(Date.now()>=r._dragStartTime+(r.dragStartDelay||0)))return void r._endDragSequence(n);r._dropContainer&&r._dropContainer.isDragging()||(r._hasStartedDragging=!0,r._ngZone.run((function(){return r._startDragSequence(n)})))}}},this._pointerUp=function(n){r._endDragSequence(n)},this.withRootElement(n),i.registerDragItem(this)}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(n){var e=$l(n);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())},enumerable:!0,configurable:!0}),n.prototype.getPlaceholderElement=function(){return this._placeholder},n.prototype.getRootElement=function(){return this._rootElement},n.prototype.withHandles=function(n){return this._handles=n.map((function(n){return eo(n)})),this._handles.forEach((function(n){return K0(n,!1)})),this._toggleNativeDragInteractions(),this},n.prototype.withPreviewTemplate=function(n){return this._previewTemplate=n,this},n.prototype.withPlaceholderTemplate=function(n){return this._placeholderTemplate=n,this},n.prototype.withRootElement=function(n){var e=eo(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,Q0),e.addEventListener("touchstart",this._pointerDown,$0),this._initialTransform=void 0,this._rootElement=e),this},n.prototype.withBoundaryElement=function(n){var e=this;return this._boundaryElement=n?eo(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return e._containInsideBoundaryOnResize()}))),this},n.prototype.dispose=function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&l1(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null},n.prototype.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)},n.prototype.reset=function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}},n.prototype.disableHandle=function(n){this._handles.indexOf(n)>-1&&this._disabledHandles.add(n)},n.prototype.enableHandle=function(n){this._disabledHandles.delete(n)},n.prototype.withDirection=function(n){return this._direction=n,this},n.prototype._withDropContainer=function(n){this._dropContainer=n},n.prototype.getFreeDragPosition=function(){var n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}},n.prototype.setFreeDragPosition=function(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this},n.prototype._sortFromLastPointerPosition=function(){var n=this._pointerPositionAtLastDirectionChange;n&&this._dropContainer&&this._updateActiveDropContainer(n)},n.prototype._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()},n.prototype._destroyPreview=function(){this._preview&&l1(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null},n.prototype._destroyPlaceholder=function(){this._placeholder&&l1(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null},n.prototype._endDragSequence=function(n){var e=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){e._cleanupDragArtifacts(n),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){e.ended.next({source:e,distance:e._getDragDistance(e._getPointerPositionOnPage(n))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))},n.prototype._startDragSequence=function(n){if(this.started.next({source:this}),o1(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions(),this._dropContainer){var e=this._rootElement;this._nextSibling=e.nextSibling;var t=this._preview=this._createPreviewElement(),l=this._placeholder=this._createPlaceholderElement();e.style.display="none",this._document.body.appendChild(e.parentNode.replaceChild(l,e)),(o=this._document,o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body).appendChild(t),this._dropContainer.start()}var o},n.prototype._initializeDragSequence=function(n,e){var t=this;e.stopPropagation();var l=this.isDragging(),o=o1(e),i=!o&&0!==e.button,r=this._rootElement,a=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(l||i||a)){this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.pipe(Object(zn.a)(null)).subscribe((function(){t._scrollPosition=t._viewportRuler.getViewportScrollPosition()})),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(n,e);var u=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}},n.prototype._cleanupDragArtifacts=function(n){var e=this;this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):eo(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var t=e._dropContainer,l=t.getItemIndex(e),o=e._getPointerPositionOnPage(n),i=e._getDragDistance(e._getPointerPositionOnPage(n)),r=t._isOverContainer(o.x,o.y);e.ended.next({source:e,distance:i}),e.dropped.next({item:e,currentIndex:l,previousIndex:e._initialContainer.getItemIndex(e),container:t,previousContainer:e._initialContainer,isPointerOverContainer:r,distance:i}),t.drop(e,l,e._initialContainer,r,i),e._dropContainer=e._initialContainer}))},n.prototype._updateActiveDropContainer=function(n){var e=this,t=n.x,l=n.y,o=this._initialContainer._getSiblingContainerFromPosition(this,t,l);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,l)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run((function(){e.exited.next({item:e,container:e._dropContainer}),e._dropContainer.exit(e),e._dropContainer=o,e._dropContainer.enter(e,t,l),e.entered.next({item:e,container:o,currentIndex:o.getItemIndex(e)})})),this._dropContainer._startScrollingIfNecessary(t,l),this._dropContainer._sortItem(this,t,l,this._pointerDirectionDelta),this._preview.style.transform=n1(t-this._pickupPositionInElement.x,l-this._pickupPositionInElement.y)},n.prototype._createPreviewElement=function(){var n,e=this._previewTemplate,t=e?e.template:null;if(t){var l=e.viewContainer.createEmbeddedView(t,e.context);n=i1(l,this._document),this._previewRef=l,n.style.transform=n1(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement,i=o.getBoundingClientRect();(n=e1(o)).style.width=i.width+"px",n.style.height=i.height+"px",n.style.transform=n1(i.left,i.top)}return Z0(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"1000"}),K0(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n},n.prototype._animatePreviewToPlaceholder=function(){var n=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=n1(e.left,e.top);var t=function(n){var e=getComputedStyle(n),t=Y0(e,"transition-property"),l=t.find((function(n){return"transform"===n||"all"===n}));if(!l)return 0;var o=t.indexOf(l),i=Y0(e,"transition-duration"),r=Y0(e,"transition-delay");return X0(i[o])+X0(r[o])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular((function(){return new Promise((function(e){var l=function(t){(!t||t.target===n._preview&&"transform"===t.propertyName)&&(n._preview.removeEventListener("transitionend",l),e(),clearTimeout(o))},o=setTimeout(l,1.5*t);n._preview.addEventListener("transitionend",l)}))}))},n.prototype._createPlaceholderElement=function(){var n,e=this._placeholderTemplate,t=e?e.template:null;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),n=i1(this._placeholderRef,this._document)):n=e1(this._rootElement),n.classList.add("cdk-drag-placeholder"),n},n.prototype._getPointerPositionInElement=function(n,e){var t=this._rootElement.getBoundingClientRect(),l=n===this._rootElement?null:n,o=l?l.getBoundingClientRect():t,i=o1(e)?e.targetTouches[0]:e;return{x:o.left-t.left+(i.pageX-o.left-this._scrollPosition.left),y:o.top-t.top+(i.pageY-o.top-this._scrollPosition.top)}},n.prototype._getPointerPositionOnPage=function(n){var e=o1(n)?n.touches[0]||n.changedTouches[0]:n;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}},n.prototype._getConstrainedPointerPosition=function(n){var e=this._getPointerPositionOnPage(n),t=this.constrainPosition?this.constrainPosition(e,this):e,l=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===l?t.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==l||(t.x=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,i=o.x,r=o.y,a=this._boundaryRect,u=this._previewRect,s=a.top+r,d=a.bottom-(u.height-r);t.x=t1(t.x,a.left+i,a.right-(u.width-i)),t.y=t1(t.y,s,d)}return t},n.prototype._updatePointerDirectionDelta=function(n){var e=n.x,t=n.y,l=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,i=Math.abs(e-o.x),r=Math.abs(t-o.y);return i>this._config.pointerDirectionChangeThreshold&&(l.x=e>o.x?1:-1,o.x=e),r>this._config.pointerDirectionChangeThreshold&&(l.y=t>o.y?1:-1,o.y=t),l},n.prototype._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,K0(this._rootElement,n))}},n.prototype._removeRootElementListeners=function(n){n.removeEventListener("mousedown",this._pointerDown,Q0),n.removeEventListener("touchstart",this._pointerDown,$0)},n.prototype._applyRootElementTransform=function(n,e){var t=n1(n,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?t+" "+this._initialTransform:t},n.prototype._getDragDistance=function(n){var e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}},n.prototype._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0},n.prototype._containInsideBoundaryOnResize=function(){var n=this._passiveTransform,e=n.x,t=n.y;if(!(0===e&&0===t||this.isDragging())&&this._boundaryElement){var l=this._boundaryElement.getBoundingClientRect(),o=this._rootElement.getBoundingClientRect(),i=l.left-o.left,r=o.right-l.right,a=l.top-o.top,u=o.bottom-l.bottom;l.width>o.width?(i>0&&(e+=i),r>0&&(e-=r)):e=0,l.height>o.height?(a>0&&(t+=a),u>0&&(t-=u)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}},n}();function n1(n,e){return"translate3d("+Math.round(n)+"px, "+Math.round(e)+"px, 0)"}function e1(n){var e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),l=n.querySelectorAll("canvas");e.removeAttribute("id");for(var o=0;o<t.length;o++)t[o].removeAttribute("id");if(l.length){var i=e.querySelectorAll("canvas");for(o=0;o<l.length;o++){var r=i[o].getContext("2d");r&&r.drawImage(l[o],0,0)}}return e}function t1(n,e,t){return Math.max(e,Math.min(t,n))}function l1(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function o1(n){return"t"===n.type[0]}function i1(n,e){var t=n.rootNodes[0];if(t.nodeType!==e.ELEMENT_NODE){var l=e.createElement("div");return l.appendChild(t),l}return t}function r1(n,e){return Math.max(0,Math.min(e,n))}var a1=0,u1=.05,s1=2,d1=function(){function n(n,e,t,l,o){var i=this;this._dragDropRegistry=e,this._ngZone=l,this._viewportRuler=o,this.id="cdk-drop-list-ref-"+a1++,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=function(){return!0},this.beforeStarted=new Mn.b,this.entered=new Mn.b,this.exited=new Mn.b,this.dropped=new Mn.b,this.sorted=new Mn.b,this._isDragging=!1,this._itemPositions=[],this._scrollPosition={top:0,left:0},this._viewportScrollPosition={top:0,left:0},this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=co.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Mn.b,this._handleScroll=function(){if(i.isDragging()){var n=eo(i.element);i._updateAfterScroll(i._scrollPosition,n.scrollTop,n.scrollLeft)}},this._startScrollInterval=function(){i._stopScrolling(),Object(Sp.a)(0,ks.a).pipe(Object(ws.a)(i._stopScrollTimers)).subscribe((function(){var n=i._scrollNode;1===i._verticalScrollDirection?m1(n,-s1):2===i._verticalScrollDirection&&m1(n,s1),1===i._horizontalScrollDirection?v1(n,-s1):2===i._horizontalScrollDirection&&v1(n,s1)}))};var r=this.element=eo(n);this._shadowRoot=function(n){if(function(){if(null==oo){var n="undefined"!=typeof document?document.head:null;oo=!(!n||!n.createShadowRoot&&!n.attachShadow)}return oo}()){var e=n.getRootNode?n.getRootNode():null;if(e instanceof ShadowRoot)return e}return null}(r)||t,e.registerDropContainer(this)}return n.prototype.dispose=function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._removeListeners(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._dragDropRegistry.removeDropContainer(this)},n.prototype.isDragging=function(){return this._isDragging},n.prototype.start=function(){var n=this,e=eo(this.element);this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach((function(e){return e._startReceiving(n)})),this._removeListeners(),this._ngZone?this._ngZone.runOutsideAngular((function(){return e.addEventListener("scroll",n._handleScroll)})):e.addEventListener("scroll",this._handleScroll),this._viewportRuler&&this._listenToScrollEvents()},n.prototype.enter=function(n,e,t){this.start();var l=this.sortingDisabled?this._draggables.indexOf(n):-1;-1===l&&(l=this._getItemIndexFromPointerPosition(n,e,t));var o=this._activeDraggables,i=o.indexOf(n),r=n.getPlaceholderElement(),a=o[l];if(a===n&&(a=o[l+1]),i>-1&&o.splice(i,1),a&&!this._dragDropRegistry.isDragging(a)){var u=a.getRootElement();u.parentElement.insertBefore(r,u),o.splice(l,0,n)}else eo(this.element).appendChild(r),o.push(n);r.style.transform="",this._cacheItemPositions(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})},n.prototype.exit=function(n){this._reset(),this.exited.next({item:n,container:this})},n.prototype.drop=function(n,e,t,l,o){void 0===o&&(o={x:0,y:0}),this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:t.getItemIndex(n),container:this,previousContainer:t,isPointerOverContainer:l,distance:o})},n.prototype.withItems=function(n){var e=this;return this._draggables=n,n.forEach((function(n){return n._withDropContainer(e)})),this.isDragging()&&this._cacheItems(),this},n.prototype.withDirection=function(n){return this._direction=n,this},n.prototype.connectedTo=function(n){return this._siblings=n.slice(),this},n.prototype.withOrientation=function(n){return this._orientation=n,this},n.prototype.getItemIndex=function(n){return this._isDragging?p1("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,(function(e){return e.drag===n})):this._draggables.indexOf(n)},n.prototype.isReceiving=function(){return this._activeSiblings.size>0},n.prototype._sortItem=function(n,e,t,l){if(!this.sortingDisabled&&this._isPointerNearDropContainer(e,t)){var o=this._itemPositions,i=this._getItemIndexFromPointerPosition(n,e,t,l);if(!(-1===i&&o.length>0)){var r="horizontal"===this._orientation,a=p1(o,(function(e){return e.drag===n})),u=o[i],s=o[a].clientRect,d=u.clientRect,c=a>i?1:-1;this._previousSwap.drag=u.drag,this._previousSwap.delta=r?l.x:l.y;var p=this._getItemOffsetPx(s,d,c),f=this._getSiblingOffsetPx(a,o,c),h=o.slice();!function(n,e,t){var l=r1(e,n.length-1),o=r1(t,n.length-1);if(l!==o){for(var i=n[l],r=o<l?-1:1,a=l;a!==o;a+=r)n[a]=n[a+r];n[o]=i}}(o,a,i),this.sorted.next({previousIndex:a,currentIndex:i,container:this,item:n}),o.forEach((function(e,t){if(h[t]!==e){var l=e.drag===n,o=l?p:f,i=l?n.getPlaceholderElement():e.drag.getRootElement();e.offset+=o,r?(i.style.transform="translate3d("+Math.round(e.offset)+"px, 0, 0)",c1(e.clientRect,0,o)):(i.style.transform="translate3d(0, "+Math.round(e.offset)+"px, 0)",c1(e.clientRect,o,0))}}))}}},n.prototype._startScrollingIfNecessary=function(n,e){var t;if(!this.autoScrollDisabled){var l,o=0,i=0;if(this._isPointerNearDropContainer(n,e)){var r=eo(this.element);t=function(n,e,t,l){var o=g1(e,l),i=b1(e,t),r=0,a=0;if(o){var u=n.scrollTop;1===o?u>0&&(r=1):n.scrollHeight-u>n.clientHeight&&(r=2)}if(i){var s=n.scrollLeft;1===i?s>0&&(a=1):n.scrollWidth-s>n.clientWidth&&(a=2)}return[r,a]}(r,this._clientRect,n,e),i=t[1],((o=t[0])||i)&&(l=r)}if(this._viewportRuler&&!o&&!i){var a=this._viewportRuler.getViewportSize(),u=a.width,s=a.height,d={width:u,height:s,top:0,right:u,bottom:s,left:0};o=g1(d,e),i=b1(d,n),l=window}!l||o===this._verticalScrollDirection&&i===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=o,this._horizontalScrollDirection=i,this._scrollNode=l,(o||i)&&l?this._ngZone?this._ngZone.runOutsideAngular(this._startScrollInterval):this._startScrollInterval():this._stopScrolling())}},n.prototype._stopScrolling=function(){this._stopScrollTimers.next()},n.prototype._cacheOwnPosition=function(){var n=eo(this.element);this._clientRect=h1(n),this._scrollPosition={top:n.scrollTop,left:n.scrollLeft}},n.prototype._cacheItemPositions=function(){var n=this,e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map((function(e){var t=n._dragDropRegistry.isDragging(e)?e.getPlaceholderElement():e.getRootElement();return{drag:e,offset:0,clientRect:h1(t)}})).sort((function(n,t){return e?n.clientRect.left-t.clientRect.left:n.clientRect.top-t.clientRect.top}))},n.prototype._reset=function(){var n=this;this._isDragging=!1,this._activeDraggables.forEach((function(n){return n.getRootElement().style.transform=""})),this._siblings.forEach((function(e){return e._stopReceiving(n)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._removeListeners()},n.prototype._getSiblingOffsetPx=function(n,e,t){var l="horizontal"===this._orientation,o=e[n].clientRect,i=e[n+-1*t],r=o[l?"width":"height"]*t;if(i){var a=l?"left":"top",u=l?"right":"bottom";-1===t?r-=i.clientRect[a]-o[u]:r+=o[a]-i.clientRect[u]}return r},n.prototype._isPointerNearDropContainer=function(n,e){var t=this._clientRect,l=.05*t.width,o=.05*t.height;return e>t.top-o&&e<t.bottom+o&&n>t.left-l&&n<t.right+l},n.prototype._getItemOffsetPx=function(n,e,t){var l="horizontal"===this._orientation,o=l?e.left-n.left:e.top-n.top;return-1===t&&(o+=l?e.width-n.width:e.height-n.height),o},n.prototype._getItemIndexFromPointerPosition=function(n,e,t,l){var o=this,i="horizontal"===this._orientation;return p1(this._itemPositions,(function(r,a,u){var s=r.drag,d=r.clientRect;return s===n?u.length<2:(!l||s!==o._previousSwap.drag||(i?l.x:l.y)!==o._previousSwap.delta)&&(i?e>=Math.floor(d.left)&&e<=Math.floor(d.right):t>=Math.floor(d.top)&&t<=Math.floor(d.bottom))}))},n.prototype._cacheItems=function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()},n.prototype._updateAfterScroll=function(n,e,t,l){var o=this,i=n.top-e,r=n.left-t;l&&c1(l,i,r),this._itemPositions.forEach((function(n){c1(n.clientRect,i,r)})),this._itemPositions.forEach((function(n){var e=n.drag;o._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})),n.top=e,n.left=t},n.prototype._removeListeners=function(){eo(this.element).removeEventListener("scroll",this._handleScroll),this._viewportScrollSubscription.unsubscribe()},n.prototype._isOverContainer=function(n,e){return f1(this._clientRect,n,e)},n.prototype._getSiblingContainerFromPosition=function(n,e,t){return this._siblings.find((function(l){return l._canReceive(n,e,t)}))},n.prototype._canReceive=function(n,e,t){if(!this.enterPredicate(n,this)||!f1(this._clientRect,e,t))return!1;var l=this._shadowRoot.elementFromPoint(e,t);if(!l)return!1;var o=eo(this.element);return l===o||o.contains(l)},n.prototype._startReceiving=function(n){var e=this._activeSiblings;e.has(n)||(e.add(n),this._cacheOwnPosition(),this._listenToScrollEvents())},n.prototype._stopReceiving=function(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()},n.prototype._listenToScrollEvents=function(){var n=this;this._viewportScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe((function(){if(n.isDragging()){var e=n._viewportRuler.getViewportScrollPosition();n._updateAfterScroll(n._viewportScrollPosition,e.top,e.left,n._clientRect)}else n.isReceiving()&&n._cacheOwnPosition()}))},n}();function c1(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function p1(n,e){for(var t=0;t<n.length;t++)if(e(n[t],t,n))return t;return-1}function f1(n,e,t){return t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right}function h1(n){var e=n.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function m1(n,e){n===window?n.scrollBy(0,e):n.scrollTop+=e}function v1(n,e){n===window?n.scrollBy(e,0):n.scrollLeft+=e}function g1(n,e){var t=n.top,l=n.bottom,o=n.height*u1;return e>=t-o&&e<=t+o?1:e>=l-o&&e<=l+o?2:0}function b1(n,e){var t=n.left,l=n.right,o=n.width*u1;return e>=t-o&&e<=t+o?1:e>=l-o&&e<=l+o?2:0}var _1=so({passive:!1,capture:!0}),y1=function(){function n(n,e){var t=this;this._ngZone=n,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new Mn.b,this.pointerUp=new Mn.b,this.scroll=new Mn.b,this._preventDefaultWhileDragging=function(n){t._activeDragInstances.size&&n.preventDefault()},this._document=e}return n.prototype.registerDropContainer=function(n){if(!this._dropInstances.has(n)){if(this.getDropContainer(n.id))throw Error('Drop instance with id "'+n.id+'" has already been registered.');this._dropInstances.add(n)}},n.prototype.registerDragItem=function(n){var e=this;this._dragInstances.add(n),1===this._dragInstances.size&&this._ngZone.runOutsideAngular((function(){e._document.addEventListener("touchmove",e._preventDefaultWhileDragging,_1)}))},n.prototype.removeDropContainer=function(n){this._dropInstances.delete(n)},n.prototype.removeDragItem=function(n){this._dragInstances.delete(n),this.stopDragging(n),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,_1)},n.prototype.startDragging=function(n,e){var t=this;if(!this._activeDragInstances.has(n)&&(this._activeDragInstances.add(n),1===this._activeDragInstances.size)){var l=e.type.startsWith("touch"),o=l?"touchend":"mouseup";this._globalListeners.set(l?"touchmove":"mousemove",{handler:function(n){return t.pointerMove.next(n)},options:_1}).set(o,{handler:function(n){return t.pointerUp.next(n)},options:!0}).set("scroll",{handler:function(n){return t.scroll.next(n)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:_1}),this._ngZone.runOutsideAngular((function(){t._globalListeners.forEach((function(n,e){t._document.addEventListener(e,n.handler,n.options)}))}))}},n.prototype.stopDragging=function(n){this._activeDragInstances.delete(n),0===this._activeDragInstances.size&&this._clearGlobalListeners()},n.prototype.isDragging=function(n){return this._activeDragInstances.has(n)},n.prototype.getDropContainer=function(n){return Array.from(this._dropInstances).find((function(e){return e.id===n}))},n.prototype.ngOnDestroy=function(){var n=this;this._dragInstances.forEach((function(e){return n.removeDragItem(e)})),this._dropInstances.forEach((function(e){return n.removeDropContainer(e)})),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()},n.prototype._clearGlobalListeners=function(){var n=this;this._globalListeners.forEach((function(e,t){n._document.removeEventListener(t,e.handler,e.options)})),this._globalListeners.clear()},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(r.DOCUMENT))},token:n,providedIn:"root"}),n}(),C1={dragStartThreshold:5,pointerDirectionChangeThreshold:5},w1=function(){function n(n,e,t,l){this._document=n,this._ngZone=e,this._viewportRuler=t,this._dragDropRegistry=l}return n.prototype.createDrag=function(n,e){return void 0===e&&(e=C1),new J0(n,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)},n.prototype.createDropList=function(n){return new d1(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)},n.ngInjectableDef=Object(o["ɵɵdefineInjectable"])({factory:function(){return new n(Object(o["ɵɵinject"])(r.DOCUMENT),Object(o["ɵɵinject"])(o.NgZone),Object(o["ɵɵinject"])(Ps),Object(o["ɵɵinject"])(y1))},token:n,providedIn:"root"}),n}(),S1=function(){return function(){}}(),x1=function(n){function e(){return n.call(this)||this}return Object(i.c)(e,n),e}(fv),k1=function(){return function(n){this.template=n}}(),E1=function(){return function(){}}(),T1=t("+ryv"),R1=function(n,e){return n<e?-1:n>e?1:n>=e?0:NaN},I1=function(n){var e;return 1===n.length&&(e=n,n=function(n,t){return R1(e(n),t)}),{left:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var i=l+o>>>1;n(e[i],t)<0?l=i+1:o=i}return l},right:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var i=l+o>>>1;n(e[i],t)>0?o=i:l=i+1}return l}}},D1=I1(R1),F1=D1.right,O1=D1.left,M1=F1,N1=function(n,e){null==e&&(e=A1);for(var t=0,l=n.length-1,o=n[0],i=new Array(l<0?0:l);t<l;)i[t]=e(o,o=n[++t]);return i};function A1(n,e){return[n,e]}var P1=function(n,e,t){var l,o,i,r,a=n.length,u=e.length,s=new Array(a*u);for(null==t&&(t=A1),l=i=0;l<a;++l)for(r=n[l],o=0;o<u;++o,++i)s[i]=t(r,e[o]);return s},q1=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},L1=function(n){return null===n?NaN:+n},j1=function(n,e){var t,l,o=n.length,i=0,r=-1,a=0,u=0;if(null==e)for(;++r<o;)isNaN(t=L1(n[r]))||(u+=(l=t-a)*(t-(a+=l/++i)));else for(;++r<o;)isNaN(t=L1(e(n[r],r,n)))||(u+=(l=t-a)*(t-(a+=l/++i)));if(i>1)return u/(i-1)},V1=function(n,e){var t=j1(n,e);return t?Math.sqrt(t):t},B1=function(n,e){var t,l,o,i=n.length,r=-1;if(null==e){for(;++r<i;)if(null!=(t=n[r])&&t>=t)for(l=o=t;++r<i;)null!=(t=n[r])&&(l>t&&(l=t),o<t&&(o=t))}else for(;++r<i;)if(null!=(t=e(n[r],r,n))&&t>=t)for(l=o=t;++r<i;)null!=(t=e(n[r],r,n))&&(l>t&&(l=t),o<t&&(o=t));return[l,o]},H1=Array.prototype,U1=H1.slice,z1=H1.map,G1=function(n){return function(){return n}},W1=function(n){return n},Z1=function(n,e,t){n=+n,e=+e,t=(o=arguments.length)<2?(e=n,n=0,1):o<3?1:+t;for(var l=-1,o=0|Math.max(0,Math.ceil((e-n)/t)),i=new Array(o);++l<o;)i[l]=n+l*t;return i},K1=Math.sqrt(50),X1=Math.sqrt(10),Y1=Math.sqrt(2),$1=function(n,e,t){var l,o,i,r,a=-1;if(t=+t,(n=+n)==(e=+e)&&t>0)return[n];if((l=e<n)&&(o=n,n=e,e=o),0===(r=Q1(n,e,t))||!isFinite(r))return[];if(r>0)for(n=Math.ceil(n/r),e=Math.floor(e/r),i=new Array(o=Math.ceil(e-n+1));++a<o;)i[a]=(n+a)*r;else for(n=Math.floor(n*r),e=Math.ceil(e*r),i=new Array(o=Math.ceil(n-e+1));++a<o;)i[a]=(n-a)/r;return l&&i.reverse(),i};function Q1(n,e,t){var l=(e-n)/Math.max(0,t),o=Math.floor(Math.log(l)/Math.LN10),i=l/Math.pow(10,o);return o>=0?(i>=K1?10:i>=X1?5:i>=Y1?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=K1?10:i>=X1?5:i>=Y1?2:1)}function J1(n,e,t){var l=Math.abs(e-n)/Math.max(0,t),o=Math.pow(10,Math.floor(Math.log(l)/Math.LN10)),i=l/o;return i>=K1?o*=10:i>=X1?o*=5:i>=Y1&&(o*=2),e<n?-o:o}var n2=function(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1},e2=function(){var n=W1,e=B1,t=n2;function l(l){var o,i,r=l.length,a=new Array(r);for(o=0;o<r;++o)a[o]=n(l[o],o,l);var u=e(a),s=u[0],d=u[1],c=t(a,s,d);Array.isArray(c)||(c=J1(s,d,c),c=Z1(Math.ceil(s/c)*c,d,c));for(var p=c.length;c[0]<=s;)c.shift(),--p;for(;c[p-1]>d;)c.pop(),--p;var f,h=new Array(p+1);for(o=0;o<=p;++o)(f=h[o]=[]).x0=o>0?c[o-1]:s,f.x1=o<p?c[o]:d;for(o=0;o<r;++o)s<=(i=a[o])&&i<=d&&h[M1(c,i,0,p)].push(l[o]);return h}return l.value=function(e){return arguments.length?(n="function"==typeof e?e:G1(e),l):n},l.domain=function(n){return arguments.length?(e="function"==typeof n?n:G1([n[0],n[1]]),l):e},l.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?G1(U1.call(n)):G1(n),l):t},l},t2=function(n,e,t){if(null==t&&(t=L1),l=n.length){if((e=+e)<=0||l<2)return+t(n[0],0,n);if(e>=1)return+t(n[l-1],l-1,n);var l,o=(l-1)*e,i=Math.floor(o),r=+t(n[i],i,n);return r+(+t(n[i+1],i+1,n)-r)*(o-i)}},l2=function(n,e,t){return n=z1.call(n,L1).sort(R1),Math.ceil((t-e)/(2*(t2(n,.75)-t2(n,.25))*Math.pow(n.length,-1/3)))},o2=function(n,e,t){return Math.ceil((t-e)/(3.5*V1(n)*Math.pow(n.length,-1/3)))},i2=function(n,e){var t,l,o=n.length,i=-1;if(null==e){for(;++i<o;)if(null!=(t=n[i])&&t>=t)for(l=t;++i<o;)null!=(t=n[i])&&t>l&&(l=t)}else for(;++i<o;)if(null!=(t=e(n[i],i,n))&&t>=t)for(l=t;++i<o;)null!=(t=e(n[i],i,n))&&t>l&&(l=t);return l},r2=function(n,e){var t,l=n.length,o=l,i=-1,r=0;if(null==e)for(;++i<l;)isNaN(t=L1(n[i]))?--o:r+=t;else for(;++i<l;)isNaN(t=L1(e(n[i],i,n)))?--o:r+=t;if(o)return r/o},a2=function(n,e){var t,l=n.length,o=-1,i=[];if(null==e)for(;++o<l;)isNaN(t=L1(n[o]))||i.push(t);else for(;++o<l;)isNaN(t=L1(e(n[o],o,n)))||i.push(t);return t2(i.sort(R1),.5)},u2=function(n){for(var e,t,l,o=n.length,i=-1,r=0;++i<o;)r+=n[i].length;for(t=new Array(r);--o>=0;)for(e=(l=n[o]).length;--e>=0;)t[--r]=l[e];return t},s2=function(n,e){var t,l,o=n.length,i=-1;if(null==e){for(;++i<o;)if(null!=(t=n[i])&&t>=t)for(l=t;++i<o;)null!=(t=n[i])&&l>t&&(l=t)}else for(;++i<o;)if(null!=(t=e(n[i],i,n))&&t>=t)for(l=t;++i<o;)null!=(t=e(n[i],i,n))&&l>t&&(l=t);return l},d2=function(n,e){for(var t=e.length,l=new Array(t);t--;)l[t]=n[e[t]];return l},c2=function(n,e){if(t=n.length){var t,l,o=0,i=0,r=n[i];for(null==e&&(e=R1);++o<t;)(e(l=n[o],r)<0||0!==e(r,r))&&(r=l,i=o);return 0===e(r,r)?i:void 0}},p2=function(n,e,t){for(var l,o,i=(null==t?n.length:t)-(e=null==e?0:+e);i;)o=Math.random()*i--|0,l=n[i+e],n[i+e]=n[o+e],n[o+e]=l;return n},f2=function(n,e){var t,l=n.length,o=-1,i=0;if(null==e)for(;++o<l;)(t=+n[o])&&(i+=t);else for(;++o<l;)(t=+e(n[o],o,n))&&(i+=t);return i},h2=function(n){if(!(o=n.length))return[];for(var e=-1,t=s2(n,m2),l=new Array(t);++e<t;)for(var o,i=-1,r=l[e]=new Array(o);++i<o;)r[i]=n[i][e];return l};function m2(n){return n.length}var v2=function(){return h2(arguments)},g2=Array.prototype.slice,b2=function(n){return n},_2=1,y2=2,C2=3,w2=4,S2=1e-6;function x2(n){return"translate("+(n+.5)+",0)"}function k2(n){return"translate(0,"+(n+.5)+")"}function E2(n){return function(e){return+n(e)}}function T2(n){var e=Math.max(0,n.bandwidth()-1)/2;return n.round()&&(e=Math.round(e)),function(t){return+n(t)+e}}function R2(){return!this.__axis}function I2(n,e){var t=[],l=null,o=null,i=6,r=6,a=3,u=n===_2||n===w2?-1:1,s=n===w2||n===y2?"x":"y",d=n===_2||n===C2?x2:k2;function c(c){var p=null==l?e.ticks?e.ticks.apply(e,t):e.domain():l,f=null==o?e.tickFormat?e.tickFormat.apply(e,t):b2:o,h=Math.max(i,0)+a,m=e.range(),v=+m[0]+.5,g=+m[m.length-1]+.5,b=(e.bandwidth?T2:E2)(e.copy()),_=c.selection?c.selection():c,y=_.selectAll(".domain").data([null]),C=_.selectAll(".tick").data(p,e).order(),w=C.exit(),S=C.enter().append("g").attr("class","tick"),x=C.select("line"),k=C.select("text");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(S),x=x.merge(S.append("line").attr("stroke","currentColor").attr(s+"2",u*i)),k=k.merge(S.append("text").attr("fill","currentColor").attr(s,u*h).attr("dy",n===_2?"0em":n===C2?"0.71em":"0.32em")),c!==_&&(y=y.transition(c),C=C.transition(c),x=x.transition(c),k=k.transition(c),w=w.transition(c).attr("opacity",S2).attr("transform",(function(n){return isFinite(n=b(n))?d(n):this.getAttribute("transform")})),S.attr("opacity",S2).attr("transform",(function(n){var e=this.parentNode.__axis;return d(e&&isFinite(e=e(n))?e:b(n))}))),w.remove(),y.attr("d",n===w2||n==y2?r?"M"+u*r+","+v+"H0.5V"+g+"H"+u*r:"M0.5,"+v+"V"+g:r?"M"+v+","+u*r+"V0.5H"+g+"V"+u*r:"M"+v+",0.5H"+g),C.attr("opacity",1).attr("transform",(function(n){return d(b(n))})),x.attr(s+"2",u*i),k.attr(s,u*h).text(f),_.filter(R2).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",n===y2?"start":n===w2?"end":"middle"),_.each((function(){this.__axis=b}))}return c.scale=function(n){return arguments.length?(e=n,c):e},c.ticks=function(){return t=g2.call(arguments),c},c.tickArguments=function(n){return arguments.length?(t=null==n?[]:g2.call(n),c):t.slice()},c.tickValues=function(n){return arguments.length?(l=null==n?null:g2.call(n),c):l&&l.slice()},c.tickFormat=function(n){return arguments.length?(o=n,c):o},c.tickSize=function(n){return arguments.length?(i=r=+n,c):i},c.tickSizeInner=function(n){return arguments.length?(i=+n,c):i},c.tickSizeOuter=function(n){return arguments.length?(r=+n,c):r},c.tickPadding=function(n){return arguments.length?(a=+n,c):a},c}function D2(n){return I2(_2,n)}function F2(n){return I2(y2,n)}function O2(n){return I2(C2,n)}function M2(n){return I2(w2,n)}var N2=function(n){return function(){return n}},A2=function(n,e,t){this.target=n,this.type=e,this.selection=t};function P2(){VF.stopImmediatePropagation()}var q2=function(){VF.preventDefault(),VF.stopImmediatePropagation()},L2={name:"drag"},j2={name:"space"},V2={name:"handle"},B2={name:"center"},H2={name:"x",handles:["e","w"].map(Y2),input:function(n,e){return n&&[[n[0],e[0][1]],[n[1],e[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},U2={name:"y",handles:["n","s"].map(Y2),input:function(n,e){return n&&[[e[0][0],n[0]],[e[1][0],n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},z2={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Y2),input:function(n){return n},output:function(n){return n}},G2={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},W2={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Z2={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},K2={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},X2={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Y2(n){return{type:n}}function $2(){return!VF.button}function Q2(){var n=this.ownerSVGElement||this;return[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function J2(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function n7(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function e7(n){var e=n.__brush;return e?e.dim.output(e.selection):null}function t7(){return i7(H2)}function l7(){return i7(U2)}var o7=function(){return i7(z2)};function i7(n){var e,t=Q2,l=$2,o=$O(r,"start","brush","end"),i=6;function r(e){var t=e.property("__brush",c).selectAll(".overlay").data([Y2("overlay")]);t.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",G2.overlay).merge(t).each((function(){var n=J2(this).extent;nO(this).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1])})),e.selectAll(".selection").data([Y2("selection")]).enter().append("rect").attr("class","selection").attr("cursor",G2.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var l=e.selectAll(".handle").data(n.handles,(function(n){return n.type}));l.exit().remove(),l.enter().append("rect").attr("class",(function(n){return"handle handle--"+n.type})).attr("cursor",(function(n){return G2[n.type]})),e.each(a).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",d)}function a(){var n=nO(this),e=J2(this).selection;e?(n.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),n.selectAll(".handle").style("display",null).attr("x",(function(n){return"e"===n.type[n.type.length-1]?e[1][0]-i/2:e[0][0]-i/2})).attr("y",(function(n){return"s"===n.type[0]?e[1][1]-i/2:e[0][1]-i/2})).attr("width",(function(n){return"n"===n.type||"s"===n.type?e[1][0]-e[0][0]+i:i})).attr("height",(function(n){return"e"===n.type||"w"===n.type?e[1][1]-e[0][1]+i:i}))):n.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(n,e){return n.__brush.emitter||new s(n,e)}function s(n,e){this.that=n,this.args=e,this.state=n.__brush,this.active=0}function d(){if(VF.touches){if(VF.changedTouches.length<VF.touches.length)return q2()}else if(e)return;if(l.apply(this,arguments)){var t,o,i,r,s,d,c,p,f,h,m,v,g,b=this,_=VF.target.__data__.type,y="selection"===(VF.metaKey?_="overlay":_)?L2:VF.altKey?B2:V2,C=n===U2?null:K2[_],w=n===H2?null:X2[_],S=J2(b),x=S.extent,k=S.selection,E=x[0][0],T=x[0][1],R=x[1][0],I=x[1][1],D=C&&w&&VF.shiftKey,F=aO(b),O=F,M=u(b,arguments).beforestart();"overlay"===_?S.selection=k=[[t=n===U2?E:F[0],i=n===H2?T:F[1]],[s=n===U2?R:t,c=n===H2?I:i]]:(t=k[0][0],i=k[0][1],s=k[1][0],c=k[1][1]),o=t,r=i,d=s,p=c;var N=nO(b).attr("pointer-events","none"),A=N.selectAll(".overlay").attr("cursor",G2[_]);if(VF.touches)N.on("touchmove.brush",q,!0).on("touchend.brush touchcancel.brush",j,!0);else{var P=nO(VF.view).on("keydown.brush",(function(){switch(VF.keyCode){case 16:D=C&&w;break;case 18:y===V2&&(C&&(s=d-f*C,t=o+f*C),w&&(c=p-h*w,i=r+h*w),y=B2,L());break;case 32:y!==V2&&y!==B2||(C<0?s=d-f:C>0&&(t=o-f),w<0?c=p-h:w>0&&(i=r-h),y=j2,A.attr("cursor",G2.selection),L());break;default:return}q2()}),!0).on("keyup.brush",(function(){switch(VF.keyCode){case 16:D&&(v=g=D=!1,L());break;case 18:y===B2&&(C<0?s=d:C>0&&(t=o),w<0?c=p:w>0&&(i=r),y=V2,L());break;case 32:y===j2&&(VF.altKey?(C&&(s=d-f*C,t=o+f*C),w&&(c=p-h*w,i=r+h*w),y=B2):(C<0?s=d:C>0&&(t=o),w<0?c=p:w>0&&(i=r),y=V2),A.attr("cursor",G2[_]),L());break;default:return}q2()}),!0).on("mousemove.brush",q,!0).on("mouseup.brush",j,!0);nM(VF.view)}P2(),SP(b),a.call(b),M.start()}function q(){var n=aO(b);!D||v||g||(Math.abs(n[0]-O[0])>Math.abs(n[1]-O[1])?g=!0:v=!0),O=n,m=!0,q2(),L()}function L(){var n;switch(f=O[0]-F[0],h=O[1]-F[1],y){case j2:case L2:C&&(f=Math.max(E-t,Math.min(R-s,f)),o=t+f,d=s+f),w&&(h=Math.max(T-i,Math.min(I-c,h)),r=i+h,p=c+h);break;case V2:C<0?(f=Math.max(E-t,Math.min(R-t,f)),o=t+f,d=s):C>0&&(f=Math.max(E-s,Math.min(R-s,f)),o=t,d=s+f),w<0?(h=Math.max(T-i,Math.min(I-i,h)),r=i+h,p=c):w>0&&(h=Math.max(T-c,Math.min(I-c,h)),r=i,p=c+h);break;case B2:C&&(o=Math.max(E,Math.min(R,t-f*C)),d=Math.max(E,Math.min(R,s+f*C))),w&&(r=Math.max(T,Math.min(I,i-h*w)),p=Math.max(T,Math.min(I,c+h*w)))}d<o&&(C*=-1,n=t,t=s,s=n,n=o,o=d,d=n,_ in W2&&A.attr("cursor",G2[_=W2[_]])),p<r&&(w*=-1,n=i,i=c,c=n,n=r,r=p,p=n,_ in Z2&&A.attr("cursor",G2[_=Z2[_]])),S.selection&&(k=S.selection),v&&(o=k[0][0],d=k[1][0]),g&&(r=k[0][1],p=k[1][1]),k[0][0]===o&&k[0][1]===r&&k[1][0]===d&&k[1][1]===p||(S.selection=[[o,r],[d,p]],a.call(b),M.brush())}function j(){if(P2(),VF.touches){if(VF.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500),N.on("touchmove.brush touchend.brush touchcancel.brush",null)}else eM(VF.view,m),P.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),A.attr("cursor",G2.overlay),S.selection&&(k=S.selection),n7(k)&&(S.selection=null,a.call(b)),M.end()}}function c(){var e=this.__brush||{selection:null};return e.extent=t.apply(this,arguments),e.dim=n,e}return r.move=function(e,t){e.selection?e.on("start.brush",(function(){u(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){u(this,arguments).end()})).tween("brush",(function(){var e=this,l=e.__brush,o=u(e,arguments),i=l.selection,r=n.input("function"==typeof t?t.apply(this,arguments):t,l.extent),s=SA(i,r);function d(n){l.selection=1===n&&n7(r)?null:s(n),a.call(e),o.brush()}return i&&r?d:d(1)})):e.each((function(){var e=this,l=arguments,o=e.__brush,i=n.input("function"==typeof t?t.apply(e,l):t,o.extent),r=u(e,l).beforestart();SP(e),o.selection=null==i||n7(i)?null:i,a.call(e),r.start().brush().end()}))},s.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){WF(new A2(r,e,n.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},r.extent=function(n){return arguments.length?(t="function"==typeof n?n:N2([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),r):t},r.filter=function(n){return arguments.length?(l="function"==typeof n?n:N2(!!n),r):l},r.handleSize=function(n){return arguments.length?(i=+n,r):i},r.on=function(){var n=o.on.apply(o,arguments);return n===o?r:n},r}var r7=Math.cos,a7=Math.sin,u7=Math.PI,s7=u7/2,d7=2*u7,c7=Math.max;function p7(n){return function(e,t){return n(e.source.value+e.target.value,t.source.value+t.target.value)}}var f7=function(){var n=0,e=null,t=null,l=null;function o(o){var i,r,a,u,s,d,c=o.length,p=[],f=Z1(c),h=[],m=[],v=m.groups=new Array(c),g=new Array(c*c);for(i=0,s=-1;++s<c;){for(r=0,d=-1;++d<c;)r+=o[s][d];p.push(r),h.push(Z1(c)),i+=r}for(e&&f.sort((function(n,t){return e(p[n],p[t])})),t&&h.forEach((function(n,e){n.sort((function(n,l){return t(o[e][n],o[e][l])}))})),u=(i=c7(0,d7-n*c)/i)?n:d7/c,r=0,s=-1;++s<c;){for(a=r,d=-1;++d<c;){var b=f[s],_=h[b][d],y=o[b][_],C=r,w=r+=y*i;g[_*c+b]={index:b,subindex:_,startAngle:C,endAngle:w,value:y}}v[b]={index:b,startAngle:a,endAngle:r,value:p[b]},r+=u}for(s=-1;++s<c;)for(d=s-1;++d<c;){var S=g[d*c+s],x=g[s*c+d];(S.value||x.value)&&m.push(S.value<x.value?{source:x,target:S}:{source:S,target:x})}return l?m.sort(l):m}return o.padAngle=function(e){return arguments.length?(n=c7(0,e),o):n},o.sortGroups=function(n){return arguments.length?(e=n,o):e},o.sortSubgroups=function(n){return arguments.length?(t=n,o):t},o.sortChords=function(n){return arguments.length?(null==n?l=null:(l=p7(n))._=n,o):l&&l._},o},h7=Array.prototype.slice,m7=function(n){return function(){return n}};function v7(n){return n.source}function g7(n){return n.target}function b7(n){return n.radius}function _7(n){return n.startAngle}function y7(n){return n.endAngle}var C7=function(){var n=v7,e=g7,t=b7,l=_7,o=y7,i=null;function r(){var r,a=h7.call(arguments),u=n.apply(this,a),s=e.apply(this,a),d=+t.apply(this,(a[0]=u,a)),c=l.apply(this,a)-s7,p=o.apply(this,a)-s7,f=d*r7(c),h=d*a7(c),m=+t.apply(this,(a[0]=s,a)),v=l.apply(this,a)-s7,g=o.apply(this,a)-s7;if(i||(i=r=Oq()),i.moveTo(f,h),i.arc(0,0,d,c,p),c===v&&p===g||(i.quadraticCurveTo(0,0,m*r7(v),m*a7(v)),i.arc(0,0,m,v,g)),i.quadraticCurveTo(0,0,f,h),i.closePath(),r)return i=null,r+""||null}return r.radius=function(n){return arguments.length?(t="function"==typeof n?n:m7(+n),r):t},r.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:m7(+n),r):l},r.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:m7(+n),r):o},r.source=function(e){return arguments.length?(n=e,r):n},r.target=function(n){return arguments.length?(e=n,r):e},r.context=function(n){return arguments.length?(i=null==n?null:n,r):i},r};function w7(){}function S7(n,e){var t=new w7;if(n instanceof w7)n.each((function(n,e){t.set(e,n)}));else if(Array.isArray(n)){var l,o=-1,i=n.length;if(null==e)for(;++o<i;)t.set(o,n[o]);else for(;++o<i;)t.set(e(l=n[o],o,n),l)}else if(n)for(var r in n)t.set(r,n[r]);return t}w7.prototype=S7.prototype={constructor:w7,has:function(n){return"$"+n in this},get:function(n){return this["$"+n]},set:function(n,e){return this["$"+n]=e,this},remove:function(n){var e="$"+n;return e in this&&delete this[e]},clear:function(){for(var n in this)"$"===n[0]&&delete this[n]},keys:function(){var n=[];for(var e in this)"$"===e[0]&&n.push(e.slice(1));return n},values:function(){var n=[];for(var e in this)"$"===e[0]&&n.push(this[e]);return n},entries:function(){var n=[];for(var e in this)"$"===e[0]&&n.push({key:e.slice(1),value:this[e]});return n},size:function(){var n=0;for(var e in this)"$"===e[0]&&++n;return n},empty:function(){for(var n in this)if("$"===n[0])return!1;return!0},each:function(n){for(var e in this)"$"===e[0]&&n(this[e],e.slice(1),this)}};var x7=S7,k7=function(){var n,e,t,l=[],o=[];function i(t,o,r,a){if(o>=l.length)return null!=n&&t.sort(n),null!=e?e(t):t;for(var u,s,d,c=-1,p=t.length,f=l[o++],h=x7(),m=r();++c<p;)(d=h.get(u=f(s=t[c])+""))?d.push(s):h.set(u,[s]);return h.each((function(n,e){a(m,e,i(n,o,r,a))})),m}return t={object:function(n){return i(n,0,E7,T7)},map:function(n){return i(n,0,R7,I7)},entries:function(n){return function n(t,i){if(++i>l.length)return t;var r,a=o[i-1];return null!=e&&i>=l.length?r=t.entries():(r=[],t.each((function(e,t){r.push({key:t,values:n(e,i)})}))),null!=a?r.sort((function(n,e){return a(n.key,e.key)})):r}(i(n,0,R7,I7),0)},key:function(n){return l.push(n),t},sortKeys:function(n){return o[l.length-1]=n,t},sortValues:function(e){return n=e,t},rollup:function(n){return e=n,t}}};function E7(){return{}}function T7(n,e,t){n[e]=t}function R7(){return x7()}function I7(n,e,t){n.set(e,t)}function D7(){}var F7=x7.prototype;function O7(n,e){var t=new D7;if(n instanceof D7)n.each((function(n){t.add(n)}));else if(n){var l=-1,o=n.length;if(null==e)for(;++l<o;)t.add(n[l]);else for(;++l<o;)t.add(e(n[l],l,n))}return t}D7.prototype=O7.prototype={constructor:D7,has:F7.has,add:function(n){return this["$"+(n+="")]=n,this},remove:F7.remove,clear:F7.clear,values:F7.keys,size:F7.size,empty:F7.empty,each:F7.each};var M7=O7,N7=function(n){var e=[];for(var t in n)e.push(t);return e},A7=function(n){var e=[];for(var t in n)e.push(n[t]);return e},P7=function(n){var e=[];for(var t in n)e.push({key:t,value:n[t]});return e},q7=Array.prototype.slice,L7=function(n,e){return n-e},j7=function(n){for(var e=0,t=n.length,l=n[t-1][1]*n[0][0]-n[t-1][0]*n[0][1];++e<t;)l+=n[e-1][1]*n[e][0]-n[e-1][0]*n[e][1];return l},V7=function(n){return function(){return n}},B7=function(n,e){for(var t,l=-1,o=e.length;++l<o;)if(t=H7(n,e[l]))return t;return 0};function H7(n,e){for(var t=e[0],l=e[1],o=-1,i=0,r=n.length,a=r-1;i<r;a=i++){var u=n[i],s=u[0],d=u[1],c=n[a],p=c[0],f=c[1];if(U7(u,c,e))return 0;d>l!=f>l&&t<(p-s)*(l-d)/(f-d)+s&&(o=-o)}return o}function U7(n,e,t){var l,o,i,r;return function(n,e,t){return(e[0]-n[0])*(t[1]-n[1])==(t[0]-n[0])*(e[1]-n[1])}(n,e,t)&&(o=n[l=+(n[0]===e[0])],r=e[l],o<=(i=t[l])&&i<=r||r<=i&&i<=o)}var z7=function(){},G7=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],W7=function(){var n=1,e=1,t=n2,l=a;function o(n){var e=t(n);if(Array.isArray(e))e=e.slice().sort(L7);else{var l=B1(n),o=l[0],r=l[1];e=J1(o,r,e),e=Z1(Math.floor(o/e)*e,Math.floor(r/e)*e,e)}return e.map((function(e){return i(n,e)}))}function i(t,o){var i=[],a=[];return function(t,l,o){var i,a,u,s,d,c=new Array,p=new Array;for(i=a=-1,G7[(u=t[0]>=l)<<1].forEach(f);++i<n-1;)G7[u|(u=t[i+1]>=l)<<1].forEach(f);for(G7[u<<0].forEach(f);++a<e-1;){for(i=-1,G7[(u=t[a*n+n]>=l)<<1|(s=t[a*n]>=l)<<2].forEach(f);++i<n-1;)d=s,G7[u|(u=t[a*n+n+i+1]>=l)<<1|(s=t[a*n+i+1]>=l)<<2|d<<3].forEach(f);G7[u|s<<3].forEach(f)}for(i=-1,G7[(s=t[a*n]>=l)<<2].forEach(f);++i<n-1;)d=s,G7[(s=t[a*n+i+1]>=l)<<2|d<<3].forEach(f);function f(n){var e,t,l=[n[0][0]+i,n[0][1]+a],u=[n[1][0]+i,n[1][1]+a],s=r(l),d=r(u);(e=p[s])?(t=c[d])?(delete p[e.end],delete c[t.start],e===t?(e.ring.push(u),o(e.ring)):c[e.start]=p[t.end]={start:e.start,end:t.end,ring:e.ring.concat(t.ring)}):(delete p[e.end],e.ring.push(u),p[e.end=d]=e):(e=c[d])?(t=p[s])?(delete c[e.start],delete p[t.end],e===t?(e.ring.push(u),o(e.ring)):c[t.start]=p[e.end]={start:t.start,end:e.end,ring:t.ring.concat(e.ring)}):(delete c[e.start],e.ring.unshift(l),c[e.start=s]=e):c[s]=p[d]={start:s,end:d,ring:[l,u]}}G7[s<<3].forEach(f)}(t,o,(function(n){l(n,t,o),j7(n)>0?i.push([n]):a.push(n)})),a.forEach((function(n){for(var e,t=0,l=i.length;t<l;++t)if(-1!==B7((e=i[t])[0],n))return void e.push(n)})),{type:"MultiPolygon",value:o,coordinates:i}}function r(e){return 2*e[0]+e[1]*(n+1)*4}function a(t,l,o){t.forEach((function(t){var i,r=t[0],a=t[1],u=0|r,s=0|a,d=l[s*n+u];r>0&&r<n&&u===r&&(t[0]=r+(o-(i=l[s*n+u-1]))/(d-i)-.5),a>0&&a<e&&s===a&&(t[1]=a+(o-(i=l[(s-1)*n+u]))/(d-i)-.5)}))}return o.contour=i,o.size=function(t){if(!arguments.length)return[n,e];var l=Math.ceil(t[0]),i=Math.ceil(t[1]);if(!(l>0&&i>0))throw new Error("invalid size");return n=l,e=i,o},o.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?V7(q7.call(n)):V7(n),o):t},o.smooth=function(n){return arguments.length?(l=n?a:z7,o):l===a},o};function Z7(n,e,t){for(var l=n.width,o=n.height,i=1+(t<<1),r=0;r<o;++r)for(var a=0,u=0;a<l+t;++a)a<l&&(u+=n.data[a+r*l]),a>=t&&(a>=i&&(u-=n.data[a-i+r*l]),e.data[a-t+r*l]=u/Math.min(a+1,l-1+i-a,i))}function K7(n,e,t){for(var l=n.width,o=n.height,i=1+(t<<1),r=0;r<l;++r)for(var a=0,u=0;a<o+t;++a)a<o&&(u+=n.data[r+a*l]),a>=t&&(a>=i&&(u-=n.data[r+(a-i)*l]),e.data[r+(a-t)*l]=u/Math.min(a+1,o-1+i-a,i))}function X7(n){return n[0]}function Y7(n){return n[1]}var $7=function(){var n=X7,e=Y7,t=960,l=500,o=20,i=2,r=3*o,a=t+2*r>>i,u=l+2*r>>i,s=V7(20);function d(t){var l=new Float32Array(a*u),d=new Float32Array(a*u);t.forEach((function(t,o,s){var d=n(t,o,s)+r>>i,c=e(t,o,s)+r>>i;d>=0&&d<a&&c>=0&&c<u&&++l[d+c*a]})),Z7({width:a,height:u,data:l},{width:a,height:u,data:d},o>>i),K7({width:a,height:u,data:d},{width:a,height:u,data:l},o>>i),Z7({width:a,height:u,data:l},{width:a,height:u,data:d},o>>i),K7({width:a,height:u,data:d},{width:a,height:u,data:l},o>>i),Z7({width:a,height:u,data:l},{width:a,height:u,data:d},o>>i),K7({width:a,height:u,data:d},{width:a,height:u,data:l},o>>i);var p=s(l);if(!Array.isArray(p)){var f=i2(l);p=J1(0,f,p),(p=Z1(0,Math.floor(f/p)*p,p)).shift()}return W7().thresholds(p).size([a,u])(l).map(c)}function c(n){return n.value*=Math.pow(2,-2*i),n.coordinates.forEach(p),n}function p(n){n.forEach(f)}function f(n){n.forEach(h)}function h(n){n[0]=n[0]*Math.pow(2,i)-r,n[1]=n[1]*Math.pow(2,i)-r}function m(){return a=t+2*(r=3*o)>>i,u=l+2*r>>i,d}return d.x=function(e){return arguments.length?(n="function"==typeof e?e:V7(+e),d):n},d.y=function(n){return arguments.length?(e="function"==typeof n?n:V7(+n),d):e},d.size=function(n){if(!arguments.length)return[t,l];var e=Math.ceil(n[0]),o=Math.ceil(n[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return t=e,l=o,m()},d.cellSize=function(n){if(!arguments.length)return 1<<i;if(!((n=+n)>=1))throw new Error("invalid cell size");return i=Math.floor(Math.log(n)/Math.LN2),m()},d.thresholds=function(n){return arguments.length?(s="function"==typeof n?n:Array.isArray(n)?V7(q7.call(n)):V7(n),d):s},d.bandwidth=function(n){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((n=+n)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*n*n+1)-1)/2),m()},d},Q7={},J7={},n6=34,e6=10,t6=13;function l6(n){return new Function("d","return {"+n.map((function(n,e){return JSON.stringify(n)+": d["+e+"]"})).join(",")+"}")}var o6=function(n){var e=new RegExp('["'+n+"\n\r]"),t=n.charCodeAt(0);function l(n,e){var l,o=[],i=n.length,r=0,a=0,u=i<=0,s=!1;function d(){if(u)return J7;if(s)return s=!1,Q7;var e,l,o=r;if(n.charCodeAt(o)===n6){for(;r++<i&&n.charCodeAt(r)!==n6||n.charCodeAt(++r)===n6;);return(e=r)>=i?u=!0:(l=n.charCodeAt(r++))===e6?s=!0:l===t6&&(s=!0,n.charCodeAt(r)===e6&&++r),n.slice(o+1,e-1).replace(/""/g,'"')}for(;r<i;){if((l=n.charCodeAt(e=r++))===e6)s=!0;else if(l===t6)s=!0,n.charCodeAt(r)===e6&&++r;else if(l!==t)continue;return n.slice(o,e)}return u=!0,n.slice(o,i)}for(n.charCodeAt(i-1)===e6&&--i,n.charCodeAt(i-1)===t6&&--i;(l=d())!==J7;){for(var c=[];l!==Q7&&l!==J7;)c.push(l),l=d();e&&null==(c=e(c,a++))||o.push(c)}return o}function o(e){return e.map(i).join(n)}function i(n){return null==n?"":e.test(n+="")?'"'+n.replace(/"/g,'""')+'"':n}return{parse:function(n,e){var t,o,i=l(n,(function(n,l){if(t)return t(n,l-1);o=n,t=e?function(n,e){var t=l6(n);return function(l,o){return e(t(l),o,n)}}(n,e):l6(n)}));return i.columns=o||[],i},parseRows:l,format:function(e,t){return null==t&&(t=function(n){var e=Object.create(null),t=[];return n.forEach((function(n){for(var l in n)l in e||t.push(e[l]=l)})),t}(e)),[t.map(i).join(n)].concat(e.map((function(e){return t.map((function(n){return i(e[n])})).join(n)}))).join("\n")},formatRows:function(n){return n.map(o).join("\n")}}},i6=o6(","),r6=i6.parse,a6=i6.parseRows,u6=i6.format,s6=i6.formatRows,d6=o6("\t"),c6=d6.parse,p6=d6.parseRows,f6=d6.format,h6=d6.formatRows;function m6(n){return+n}function v6(n){return n*n}function g6(n){return n*(2-n)}function b6(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}function _6(n){return n*n*n}function y6(n){return--n*n*n+1}function C6(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var w6=function n(e){function t(n){return Math.pow(n,e)}return e=+e,t.exponent=n,t}(3),S6=function n(e){function t(n){return 1-Math.pow(1-n,e)}return e=+e,t.exponent=n,t}(3),x6=function n(e){function t(n){return((n*=2)<=1?Math.pow(n,e):2-Math.pow(2-n,e))/2}return e=+e,t.exponent=n,t}(3),k6=Math.PI,E6=k6/2;function T6(n){return 1-Math.cos(n*E6)}function R6(n){return Math.sin(n*E6)}function I6(n){return(1-Math.cos(k6*n))/2}function D6(n){return Math.pow(2,10*n-10)}function F6(n){return 1-Math.pow(2,-10*n)}function O6(n){return((n*=2)<=1?Math.pow(2,10*n-10):2-Math.pow(2,10-10*n))/2}function M6(n){return 1-Math.sqrt(1-n*n)}function N6(n){return Math.sqrt(1- --n*n)}function A6(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var P6=4/11,q6=6/11,L6=8/11,j6=.75,V6=9/11,B6=10/11,H6=.9375,U6=21/22,z6=63/64,G6=1/P6/P6;function W6(n){return 1-Z6(1-n)}function Z6(n){return(n=+n)<P6?G6*n*n:n<L6?G6*(n-=q6)*n+j6:n<B6?G6*(n-=V6)*n+H6:G6*(n-=U6)*n+z6}function K6(n){return((n*=2)<=1?1-Z6(1-n):Z6(n-1)+1)/2}var X6=function n(e){function t(n){return n*n*((e+1)*n-e)}return e=+e,t.overshoot=n,t}(1.70158),Y6=function n(e){function t(n){return--n*n*((e+1)*n+e)+1}return e=+e,t.overshoot=n,t}(1.70158),$6=function n(e){function t(n){return((n*=2)<1?n*n*((e+1)*n-e):(n-=2)*n*((e+1)*n+e)+2)/2}return e=+e,t.overshoot=n,t}(1.70158),Q6=2*Math.PI,J6=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=Q6);function o(n){return e*Math.pow(2,10*--n)*Math.sin((l-n)/t)}return o.amplitude=function(e){return n(e,t*Q6)},o.period=function(t){return n(e,t)},o}(1,.3),n3=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=Q6);function o(n){return 1-e*Math.pow(2,-10*(n=+n))*Math.sin((n+l)/t)}return o.amplitude=function(e){return n(e,t*Q6)},o.period=function(t){return n(e,t)},o}(1,.3),e3=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=Q6);function o(n){return((n=2*n-1)<0?e*Math.pow(2,10*n)*Math.sin((l-n)/t):2-e*Math.pow(2,-10*n)*Math.sin((l+n)/t))/2}return o.amplitude=function(e){return n(e,t*Q6)},o.period=function(t){return n(e,t)},o}(1,.3),t3=function(n,e){var t;function l(){var l,o,i=t.length,r=0,a=0;for(l=0;l<i;++l)r+=(o=t[l]).x,a+=o.y;for(r=r/i-n,a=a/i-e,l=0;l<i;++l)(o=t[l]).x-=r,o.y-=a}return null==n&&(n=0),null==e&&(e=0),l.initialize=function(n){t=n},l.x=function(e){return arguments.length?(n=+e,l):n},l.y=function(n){return arguments.length?(e=+n,l):e},l},l3=function(n){return function(){return n}},o3=function(){return 1e-6*(Math.random()-.5)};function i3(n,e,t,l){if(isNaN(e)||isNaN(t))return n;var o,i,r,a,u,s,d,c,p,f=n._root,h={data:l},m=n._x0,v=n._y0,g=n._x1,b=n._y1;if(!f)return n._root=h,n;for(;f.length;)if((s=e>=(i=(m+g)/2))?m=i:g=i,(d=t>=(r=(v+b)/2))?v=r:b=r,o=f,!(f=f[c=d<<1|s]))return o[c]=h,n;if(a=+n._x.call(null,f.data),u=+n._y.call(null,f.data),e===a&&t===u)return h.next=f,o?o[c]=h:n._root=h,n;do{o=o?o[c]=new Array(4):n._root=new Array(4),(s=e>=(i=(m+g)/2))?m=i:g=i,(d=t>=(r=(v+b)/2))?v=r:b=r}while((c=d<<1|s)==(p=(u>=r)<<1|a>=i));return o[p]=f,o[c]=h,n}var r3=function(n,e,t,l,o){this.node=n,this.x0=e,this.y0=t,this.x1=l,this.y1=o};function a3(n){return n[0]}function u3(n){return n[1]}function s3(n,e,t){var l=new d3(null==e?a3:e,null==t?u3:t,NaN,NaN,NaN,NaN);return null==n?l:l.addAll(n)}function d3(n,e,t,l,o,i){this._x=n,this._y=e,this._x0=t,this._y0=l,this._x1=o,this._y1=i,this._root=void 0}function c3(n){for(var e={data:n.data},t=e;n=n.next;)t=t.next={data:n.data};return e}var p3=s3.prototype=d3.prototype;function f3(n){return n.x+n.vx}function h3(n){return n.y+n.vy}p3.copy=function(){var n,e,t=new d3(this._x,this._y,this._x0,this._y0,this._x1,this._y1),l=this._root;if(!l)return t;if(!l.length)return t._root=c3(l),t;for(n=[{source:l,target:t._root=new Array(4)}];l=n.pop();)for(var o=0;o<4;++o)(e=l.source[o])&&(e.length?n.push({source:e,target:l.target[o]=new Array(4)}):l.target[o]=c3(e));return t},p3.add=function(n){var e=+this._x.call(null,n),t=+this._y.call(null,n);return i3(this.cover(e,t),e,t,n)},p3.addAll=function(n){var e,t,l,o,i=n.length,r=new Array(i),a=new Array(i),u=1/0,s=1/0,d=-1/0,c=-1/0;for(t=0;t<i;++t)isNaN(l=+this._x.call(null,e=n[t]))||isNaN(o=+this._y.call(null,e))||(r[t]=l,a[t]=o,l<u&&(u=l),l>d&&(d=l),o<s&&(s=o),o>c&&(c=o));if(u>d||s>c)return this;for(this.cover(u,s).cover(d,c),t=0;t<i;++t)i3(this,r[t],a[t],n[t]);return this},p3.cover=function(n,e){if(isNaN(n=+n)||isNaN(e=+e))return this;var t=this._x0,l=this._y0,o=this._x1,i=this._y1;if(isNaN(t))o=(t=Math.floor(n))+1,i=(l=Math.floor(e))+1;else{for(var r,a,u=o-t,s=this._root;t>n||n>=o||l>e||e>=i;)switch(a=(e<l)<<1|n<t,(r=new Array(4))[a]=s,s=r,u*=2,a){case 0:o=t+u,i=l+u;break;case 1:t=o-u,i=l+u;break;case 2:o=t+u,l=i-u;break;case 3:t=o-u,l=i-u}this._root&&this._root.length&&(this._root=s)}return this._x0=t,this._y0=l,this._x1=o,this._y1=i,this},p3.data=function(){var n=[];return this.visit((function(e){if(!e.length)do{n.push(e.data)}while(e=e.next)})),n},p3.extent=function(n){return arguments.length?this.cover(+n[0][0],+n[0][1]).cover(+n[1][0],+n[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},p3.find=function(n,e,t){var l,o,i,r,a,u,s,d=this._x0,c=this._y0,p=this._x1,f=this._y1,h=[],m=this._root;for(m&&h.push(new r3(m,d,c,p,f)),null==t?t=1/0:(d=n-t,c=e-t,p=n+t,f=e+t,t*=t);u=h.pop();)if(!(!(m=u.node)||(o=u.x0)>p||(i=u.y0)>f||(r=u.x1)<d||(a=u.y1)<c))if(m.length){var v=(o+r)/2,g=(i+a)/2;h.push(new r3(m[3],v,g,r,a),new r3(m[2],o,g,v,a),new r3(m[1],v,i,r,g),new r3(m[0],o,i,v,g)),(s=(e>=g)<<1|n>=v)&&(u=h[h.length-1],h[h.length-1]=h[h.length-1-s],h[h.length-1-s]=u)}else{var b=n-+this._x.call(null,m.data),_=e-+this._y.call(null,m.data),y=b*b+_*_;if(y<t){var C=Math.sqrt(t=y);d=n-C,c=e-C,p=n+C,f=e+C,l=m.data}}return l},p3.remove=function(n){if(isNaN(i=+this._x.call(null,n))||isNaN(r=+this._y.call(null,n)))return this;var e,t,l,o,i,r,a,u,s,d,c,p,f=this._root,h=this._x0,m=this._y0,v=this._x1,g=this._y1;if(!f)return this;if(f.length)for(;;){if((s=i>=(a=(h+v)/2))?h=a:v=a,(d=r>=(u=(m+g)/2))?m=u:g=u,e=f,!(f=f[c=d<<1|s]))return this;if(!f.length)break;(e[c+1&3]||e[c+2&3]||e[c+3&3])&&(t=e,p=c)}for(;f.data!==n;)if(l=f,!(f=f.next))return this;return(o=f.next)&&delete f.next,l?(o?l.next=o:delete l.next,this):e?(o?e[c]=o:delete e[c],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(t?t[p]=f:this._root=f),this):(this._root=o,this)},p3.removeAll=function(n){for(var e=0,t=n.length;e<t;++e)this.remove(n[e]);return this},p3.root=function(){return this._root},p3.size=function(){var n=0;return this.visit((function(e){if(!e.length)do{++n}while(e=e.next)})),n},p3.visit=function(n){var e,t,l,o,i,r,a=[],u=this._root;for(u&&a.push(new r3(u,this._x0,this._y0,this._x1,this._y1));e=a.pop();)if(!n(u=e.node,l=e.x0,o=e.y0,i=e.x1,r=e.y1)&&u.length){var s=(l+i)/2,d=(o+r)/2;(t=u[3])&&a.push(new r3(t,s,d,i,r)),(t=u[2])&&a.push(new r3(t,l,d,s,r)),(t=u[1])&&a.push(new r3(t,s,o,i,d)),(t=u[0])&&a.push(new r3(t,l,o,s,d))}return this},p3.visitAfter=function(n){var e,t=[],l=[];for(this._root&&t.push(new r3(this._root,this._x0,this._y0,this._x1,this._y1));e=t.pop();){var o=e.node;if(o.length){var i,r=e.x0,a=e.y0,u=e.x1,s=e.y1,d=(r+u)/2,c=(a+s)/2;(i=o[0])&&t.push(new r3(i,r,a,d,c)),(i=o[1])&&t.push(new r3(i,d,a,u,c)),(i=o[2])&&t.push(new r3(i,r,c,d,s)),(i=o[3])&&t.push(new r3(i,d,c,u,s))}l.push(e)}for(;e=l.pop();)n(e.node,e.x0,e.y0,e.x1,e.y1);return this},p3.x=function(n){return arguments.length?(this._x=n,this):this._x},p3.y=function(n){return arguments.length?(this._y=n,this):this._y};var m3=function(n){var e,t,l=1,o=1;function i(){for(var n,i,a,u,s,d,c,p=e.length,f=0;f<o;++f)for(i=s3(e,f3,h3).visitAfter(r),n=0;n<p;++n)c=(d=t[(a=e[n]).index])*d,u=a.x+a.vx,s=a.y+a.vy,i.visit(h);function h(n,e,t,o,i){var r=n.data,p=n.r,f=d+p;if(!r)return e>u+f||o<u-f||t>s+f||i<s-f;if(r.index>a.index){var h=u-r.x-r.vx,m=s-r.y-r.vy,v=h*h+m*m;v<f*f&&(0===h&&(v+=(h=o3())*h),0===m&&(v+=(m=o3())*m),v=(f-(v=Math.sqrt(v)))/v*l,a.vx+=(h*=v)*(f=(p*=p)/(c+p)),a.vy+=(m*=v)*f,r.vx-=h*(f=1-f),r.vy-=m*f)}}}function r(n){if(n.data)return n.r=t[n.data.index];for(var e=n.r=0;e<4;++e)n[e]&&n[e].r>n.r&&(n.r=n[e].r)}function a(){if(e){var l,o,i=e.length;for(t=new Array(i),l=0;l<i;++l)t[(o=e[l]).index]=+n(o,l,e)}}return"function"!=typeof n&&(n=l3(null==n?1:+n)),i.initialize=function(n){e=n,a()},i.iterations=function(n){return arguments.length?(o=+n,i):o},i.strength=function(n){return arguments.length?(l=+n,i):l},i.radius=function(e){return arguments.length?(n="function"==typeof e?e:l3(+e),a(),i):n},i};function v3(n){return n.index}function g3(n,e){var t=n.get(e);if(!t)throw new Error("missing: "+e);return t}var b3=function(n){var e,t,l,o,i,r=v3,a=function(n){return 1/Math.min(o[n.source.index],o[n.target.index])},u=l3(30),s=1;function d(l){for(var o=0,r=n.length;o<s;++o)for(var a,u,d,c,p,f,h,m=0;m<r;++m)c=(d=(a=n[m]).target).x+d.vx-(u=a.source).x-u.vx||o3(),p=d.y+d.vy-u.y-u.vy||o3(),p*=f=((f=Math.sqrt(c*c+p*p))-t[m])/f*l*e[m],d.vx-=(c*=f)*(h=i[m]),d.vy-=p*h,u.vx+=c*(h=1-h),u.vy+=p*h}function c(){if(l){var a,u,s=l.length,d=n.length,c=x7(l,r);for(a=0,o=new Array(s);a<d;++a)(u=n[a]).index=a,"object"!=typeof u.source&&(u.source=g3(c,u.source)),"object"!=typeof u.target&&(u.target=g3(c,u.target)),o[u.source.index]=(o[u.source.index]||0)+1,o[u.target.index]=(o[u.target.index]||0)+1;for(a=0,i=new Array(d);a<d;++a)i[a]=o[(u=n[a]).source.index]/(o[u.source.index]+o[u.target.index]);e=new Array(d),p(),t=new Array(d),f()}}function p(){if(l)for(var t=0,o=n.length;t<o;++t)e[t]=+a(n[t],t,n)}function f(){if(l)for(var e=0,o=n.length;e<o;++e)t[e]=+u(n[e],e,n)}return null==n&&(n=[]),d.initialize=function(n){l=n,c()},d.links=function(e){return arguments.length?(n=e,c(),d):n},d.id=function(n){return arguments.length?(r=n,d):r},d.iterations=function(n){return arguments.length?(s=+n,d):s},d.strength=function(n){return arguments.length?(a="function"==typeof n?n:l3(+n),p(),d):a},d.distance=function(n){return arguments.length?(u="function"==typeof n?n:l3(+n),f(),d):u},d};function _3(n){return n.x}function y3(n){return n.y}var C3,w3=10,S3=Math.PI*(3-Math.sqrt(5)),x3=function(n){var e,t=1,l=.001,o=1-Math.pow(l,1/300),i=0,r=.6,a=x7(),u=iP(d),s=$O("tick","end");function d(){c(),s.call("tick",e),t<l&&(u.stop(),s.call("end",e))}function c(){var e,l,u=n.length;for(t+=(i-t)*o,a.each((function(n){n(t)})),e=0;e<u;++e)null==(l=n[e]).fx?l.x+=l.vx*=r:(l.x=l.fx,l.vx=0),null==l.fy?l.y+=l.vy*=r:(l.y=l.fy,l.vy=0)}function p(){for(var e,t=0,l=n.length;t<l;++t){if((e=n[t]).index=t,isNaN(e.x)||isNaN(e.y)){var o=w3*Math.sqrt(t),i=t*S3;e.x=o*Math.cos(i),e.y=o*Math.sin(i)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function f(e){return e.initialize&&e.initialize(n),e}return null==n&&(n=[]),p(),e={tick:c,restart:function(){return u.restart(d),e},stop:function(){return u.stop(),e},nodes:function(t){return arguments.length?(n=t,p(),a.each(f),e):n},alpha:function(n){return arguments.length?(t=+n,e):t},alphaMin:function(n){return arguments.length?(l=+n,e):l},alphaDecay:function(n){return arguments.length?(o=+n,e):+o},alphaTarget:function(n){return arguments.length?(i=+n,e):i},velocityDecay:function(n){return arguments.length?(r=1-n,e):1-r},force:function(n,t){return arguments.length>1?(null==t?a.remove(n):a.set(n,f(t)),e):a.get(n)},find:function(e,t,l){var o,i,r,a,u,s=0,d=n.length;for(null==l?l=1/0:l*=l,s=0;s<d;++s)(r=(o=e-(a=n[s]).x)*o+(i=t-a.y)*i)<l&&(u=a,l=r);return u},on:function(n,t){return arguments.length>1?(s.on(n,t),e):s.on(n)}}},k3=function(){var n,e,t,l,o=l3(-30),i=1,r=1/0,a=.81;function u(l){var o,i=n.length,r=s3(n,_3,y3).visitAfter(d);for(t=l,o=0;o<i;++o)e=n[o],r.visit(c)}function s(){if(n){var e,t,i=n.length;for(l=new Array(i),e=0;e<i;++e)l[(t=n[e]).index]=+o(t,e,n)}}function d(n){var e,t,o,i,r,a=0,u=0;if(n.length){for(o=i=r=0;r<4;++r)(e=n[r])&&(t=Math.abs(e.value))&&(a+=e.value,u+=t,o+=t*e.x,i+=t*e.y);n.x=o/u,n.y=i/u}else{(e=n).x=e.data.x,e.y=e.data.y;do{a+=l[e.data.index]}while(e=e.next)}n.value=a}function c(n,o,u,s){if(!n.value)return!0;var d=n.x-e.x,c=n.y-e.y,p=s-o,f=d*d+c*c;if(p*p/a<f)return f<r&&(0===d&&(f+=(d=o3())*d),0===c&&(f+=(c=o3())*c),f<i&&(f=Math.sqrt(i*f)),e.vx+=d*n.value*t/f,e.vy+=c*n.value*t/f),!0;if(!(n.length||f>=r)){(n.data!==e||n.next)&&(0===d&&(f+=(d=o3())*d),0===c&&(f+=(c=o3())*c),f<i&&(f=Math.sqrt(i*f)));do{n.data!==e&&(e.vx+=d*(p=l[n.data.index]*t/f),e.vy+=c*p)}while(n=n.next)}}return u.initialize=function(e){n=e,s()},u.strength=function(n){return arguments.length?(o="function"==typeof n?n:l3(+n),s(),u):o},u.distanceMin=function(n){return arguments.length?(i=n*n,u):Math.sqrt(i)},u.distanceMax=function(n){return arguments.length?(r=n*n,u):Math.sqrt(r)},u.theta=function(n){return arguments.length?(a=n*n,u):Math.sqrt(a)},u},E3=function(n,e,t){var l,o,i,r=l3(.1);function a(n){for(var r=0,a=l.length;r<a;++r){var u=l[r],s=u.x-e||1e-6,d=u.y-t||1e-6,c=Math.sqrt(s*s+d*d),p=(i[r]-c)*o[r]*n/c;u.vx+=s*p,u.vy+=d*p}}function u(){if(l){var e,t=l.length;for(o=new Array(t),i=new Array(t),e=0;e<t;++e)i[e]=+n(l[e],e,l),o[e]=isNaN(i[e])?0:+r(l[e],e,l)}}return"function"!=typeof n&&(n=l3(+n)),null==e&&(e=0),null==t&&(t=0),a.initialize=function(n){l=n,u()},a.strength=function(n){return arguments.length?(r="function"==typeof n?n:l3(+n),u(),a):r},a.radius=function(e){return arguments.length?(n="function"==typeof e?e:l3(+e),u(),a):n},a.x=function(n){return arguments.length?(e=+n,a):e},a.y=function(n){return arguments.length?(t=+n,a):t},a},T3=function(n){var e,t,l,o=l3(.1);function i(n){for(var o,i=0,r=e.length;i<r;++i)(o=e[i]).vx+=(l[i]-o.x)*t[i]*n}function r(){if(e){var i,r=e.length;for(t=new Array(r),l=new Array(r),i=0;i<r;++i)t[i]=isNaN(l[i]=+n(e[i],i,e))?0:+o(e[i],i,e)}}return"function"!=typeof n&&(n=l3(null==n?0:+n)),i.initialize=function(n){e=n,r()},i.strength=function(n){return arguments.length?(o="function"==typeof n?n:l3(+n),r(),i):o},i.x=function(e){return arguments.length?(n="function"==typeof e?e:l3(+e),r(),i):n},i},R3=function(n){var e,t,l,o=l3(.1);function i(n){for(var o,i=0,r=e.length;i<r;++i)(o=e[i]).vy+=(l[i]-o.y)*t[i]*n}function r(){if(e){var i,r=e.length;for(t=new Array(r),l=new Array(r),i=0;i<r;++i)t[i]=isNaN(l[i]=+n(e[i],i,e))?0:+o(e[i],i,e)}}return"function"!=typeof n&&(n=l3(null==n?0:+n)),i.initialize=function(n){e=n,r()},i.strength=function(n){return arguments.length?(o="function"==typeof n?n:l3(+n),r(),i):o},i.y=function(e){return arguments.length?(n="function"==typeof e?e:l3(+e),r(),i):n},i},I3=function(n,e){if((t=(n=e?n.toExponential(e-1):n.toExponential()).indexOf("e"))<0)return null;var t,l=n.slice(0,t);return[l.length>1?l[0]+l.slice(2):l,+n.slice(t+1)]},D3=function(n){return(n=I3(Math.abs(n)))?n[1]:NaN},F3=function(n,e){var t=I3(n,e);if(!t)return n+"";var l=t[0],o=t[1];return o<0?"0."+new Array(-o).join("0")+l:l.length>o+1?l.slice(0,o+1)+"."+l.slice(o+1):l+new Array(o-l.length+2).join("0")},O3={"":function(n,e){n:for(var t,l=(n=n.toPrecision(e)).length,o=1,i=-1;o<l;++o)switch(n[o]){case".":i=t=o;break;case"0":0===i&&(i=o),t=o;break;case"e":break n;default:i>0&&(i=0)}return i>0?n.slice(0,i)+n.slice(t+1):n},"%":function(n,e){return(100*n).toFixed(e)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.round(n).toString(10)},e:function(n,e){return n.toExponential(e)},f:function(n,e){return n.toFixed(e)},g:function(n,e){return n.toPrecision(e)},o:function(n){return Math.round(n).toString(8)},p:function(n,e){return F3(100*n,e)},r:F3,s:function(n,e){var t=I3(n,e);if(!t)return n+"";var l=t[0],o=t[1],i=o-(C3=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,r=l.length;return i===r?l:i>r?l+new Array(i-r+1).join("0"):i>0?l.slice(0,i)+"."+l.slice(i):"0."+new Array(1-i).join("0")+I3(n,Math.max(0,e+i-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}},M3=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function N3(n){return new A3(n)}function A3(n){if(!(e=M3.exec(n)))throw new Error("invalid format: "+n);var e,t=e[1]||" ",l=e[2]||">",o=e[3]||"-",i=e[4]||"",r=!!e[5],a=e[6]&&+e[6],u=!!e[7],s=e[8]&&+e[8].slice(1),d=e[9]||"";"n"===d?(u=!0,d="g"):O3[d]||(d=""),(r||"0"===t&&"="===l)&&(r=!0,t="0",l="="),this.fill=t,this.align=l,this.sign=o,this.symbol=i,this.zero=r,this.width=a,this.comma=u,this.precision=s,this.type=d}N3.prototype=A3.prototype,A3.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var P3,q3,L3,j3=function(n){return n},V3=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],B3=function(n){var e,t,l=n.grouping&&n.thousands?(e=n.grouping,t=n.thousands,function(n,l){for(var o=n.length,i=[],r=0,a=e[0],u=0;o>0&&a>0&&(u+a+1>l&&(a=Math.max(1,l-u)),i.push(n.substring(o-=a,o+a)),!((u+=a+1)>l));)a=e[r=(r+1)%e.length];return i.reverse().join(t)}):j3,o=n.currency,i=n.decimal,r=n.numerals?function(n){return function(e){return e.replace(/[0-9]/g,(function(e){return n[+e]}))}}(n.numerals):j3,a=n.percent||"%";function u(n){var e=(n=N3(n)).fill,t=n.align,u=n.sign,s=n.symbol,d=n.zero,c=n.width,p=n.comma,f=n.precision,h=n.type,m="$"===s?o[0]:"#"===s&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",v="$"===s?o[1]:/[%p]/.test(h)?a:"",g=O3[h],b=!h||/[defgprs%]/.test(h);function _(n){var o,a,s,_=m,y=v;if("c"===h)y=g(n)+y,n="";else{var C=(n=+n)<0;if(n=g(Math.abs(n),f),C&&0==+n&&(C=!1),_=(C?"("===u?u:"-":"-"===u||"("===u?"":u)+_,y=("s"===h?V3[8+C3/3]:"")+y+(C&&"("===u?")":""),b)for(o=-1,a=n.length;++o<a;)if(48>(s=n.charCodeAt(o))||s>57){y=(46===s?i+n.slice(o+1):n.slice(o))+y,n=n.slice(0,o);break}}p&&!d&&(n=l(n,1/0));var w=_.length+n.length+y.length,S=w<c?new Array(c-w+1).join(e):"";switch(p&&d&&(n=l(S+n,S.length?c-y.length:1/0),S=""),t){case"<":n=_+n+y+S;break;case"=":n=_+S+n+y;break;case"^":n=S.slice(0,w=S.length>>1)+_+n+y+S.slice(w);break;default:n=S+_+n+y}return r(n)}return f=null==f?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),_.toString=function(){return n+""},_}return{format:u,formatPrefix:function(n,e){var t=u(((n=N3(n)).type="f",n)),l=3*Math.max(-8,Math.min(8,Math.floor(D3(e)/3))),o=Math.pow(10,-l),i=V3[8+l/3];return function(n){return t(o*n)+i}}}};function H3(n){return P3=B3(n),q3=P3.format,L3=P3.formatPrefix,P3}H3({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var U3=function(n){return Math.max(0,-D3(Math.abs(n)))},z3=function(n,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(D3(e)/3)))-D3(Math.abs(n)))},G3=function(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,D3(e)-D3(n))+1},W3=function(){return new Z3};function Z3(){this.reset()}Z3.prototype={constructor:Z3,reset:function(){this.s=this.t=0},add:function(n){X3(K3,n,this.t),X3(this,K3.s,this.s),this.s?this.t+=K3.t:this.s=K3.t},valueOf:function(){return this.s}};var K3=new Z3;function X3(n,e,t){var l=n.s=e+t,o=l-e;n.t=e-(l-o)+(t-o)}var Y3=1e-6,$3=Math.PI,Q3=$3/2,J3=$3/4,n4=2*$3,e4=180/$3,t4=$3/180,l4=Math.abs,o4=Math.atan,i4=Math.atan2,r4=Math.cos,a4=Math.ceil,u4=Math.exp,s4=(Math,Math.log),d4=Math.pow,c4=Math.sin,p4=Math.sign||function(n){return n>0?1:n<0?-1:0},f4=Math.sqrt,h4=Math.tan;function m4(n){return n>1?0:n<-1?$3:Math.acos(n)}function v4(n){return n>1?Q3:n<-1?-Q3:Math.asin(n)}function g4(n){return(n=c4(n/2))*n}function b4(){}function _4(n,e){n&&C4.hasOwnProperty(n.type)&&C4[n.type](n,e)}var y4={Feature:function(n,e){_4(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)_4(t[l].geometry,e)}},C4={Sphere:function(n,e){e.sphere()},Point:function(n,e){e.point((n=n.coordinates)[0],n[1],n[2])},MultiPoint:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)e.point((n=t[l])[0],n[1],n[2])},LineString:function(n,e){w4(n.coordinates,e,0)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)w4(t[l],e,0)},Polygon:function(n,e){S4(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)S4(t[l],e)},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)_4(t[l],e)}};function w4(n,e,t){var l,o=-1,i=n.length-t;for(e.lineStart();++o<i;)e.point((l=n[o])[0],l[1],l[2]);e.lineEnd()}function S4(n,e){var t=-1,l=n.length;for(e.polygonStart();++t<l;)w4(n[t],e,1);e.polygonEnd()}var x4,k4,E4,T4,R4,I4=function(n,e){n&&y4.hasOwnProperty(n.type)?y4[n.type](n,e):_4(n,e)},D4=W3(),F4=W3(),O4={point:b4,lineStart:b4,lineEnd:b4,polygonStart:function(){D4.reset(),O4.lineStart=M4,O4.lineEnd=N4},polygonEnd:function(){var n=+D4;F4.add(n<0?n4+n:n),this.lineStart=this.lineEnd=this.point=b4},sphere:function(){F4.add(n4)}};function M4(){O4.point=A4}function N4(){P4(x4,k4)}function A4(n,e){O4.point=P4,x4=n,k4=e,E4=n*=t4,T4=r4(e=(e*=t4)/2+J3),R4=c4(e)}function P4(n,e){var t=(n*=t4)-E4,l=t>=0?1:-1,o=l*t,i=r4(e=(e*=t4)/2+J3),r=c4(e),a=R4*r,u=T4*i+a*r4(o),s=a*l*c4(o);D4.add(i4(s,u)),E4=n,T4=i,R4=r}var q4=function(n){return F4.reset(),I4(n,O4),2*F4};function L4(n){return[i4(n[1],n[0]),v4(n[2])]}function j4(n){var e=n[0],t=n[1],l=r4(t);return[l*r4(e),l*c4(e),c4(t)]}function V4(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function B4(n,e){return[n[1]*e[2]-n[2]*e[1],n[2]*e[0]-n[0]*e[2],n[0]*e[1]-n[1]*e[0]]}function H4(n,e){n[0]+=e[0],n[1]+=e[1],n[2]+=e[2]}function U4(n,e){return[n[0]*e,n[1]*e,n[2]*e]}function z4(n){var e=f4(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=e,n[1]/=e,n[2]/=e}var G4,W4,Z4,K4,X4,Y4,$4,Q4,J4,n8,e8=W3(),t8={point:l8,lineStart:i8,lineEnd:r8,polygonStart:function(){t8.point=a8,t8.lineStart=u8,t8.lineEnd=s8,e8.reset(),O4.polygonStart()},polygonEnd:function(){O4.polygonEnd(),t8.point=l8,t8.lineStart=i8,t8.lineEnd=r8,D4<0?(G4=-(Z4=180),W4=-(K4=90)):e8>Y3?K4=90:e8<-Y3&&(W4=-90),n8[0]=G4,n8[1]=Z4}};function l8(n,e){J4.push(n8=[G4=n,Z4=n]),e<W4&&(W4=e),e>K4&&(K4=e)}function o8(n,e){var t=j4([n*t4,e*t4]);if(Q4){var l=B4(Q4,t),o=B4([l[1],-l[0],0],l);z4(o),o=L4(o);var i,r=n-X4,a=r>0?1:-1,u=o[0]*e4*a,s=l4(r)>180;s^(a*X4<u&&u<a*n)?(i=o[1]*e4)>K4&&(K4=i):s^(a*X4<(u=(u+360)%360-180)&&u<a*n)?(i=-o[1]*e4)<W4&&(W4=i):(e<W4&&(W4=e),e>K4&&(K4=e)),s?n<X4?d8(G4,n)>d8(G4,Z4)&&(Z4=n):d8(n,Z4)>d8(G4,Z4)&&(G4=n):Z4>=G4?(n<G4&&(G4=n),n>Z4&&(Z4=n)):n>X4?d8(G4,n)>d8(G4,Z4)&&(Z4=n):d8(n,Z4)>d8(G4,Z4)&&(G4=n)}else J4.push(n8=[G4=n,Z4=n]);e<W4&&(W4=e),e>K4&&(K4=e),Q4=t,X4=n}function i8(){t8.point=o8}function r8(){n8[0]=G4,n8[1]=Z4,t8.point=l8,Q4=null}function a8(n,e){if(Q4){var t=n-X4;e8.add(l4(t)>180?t+(t>0?360:-360):t)}else Y4=n,$4=e;O4.point(n,e),o8(n,e)}function u8(){O4.lineStart()}function s8(){a8(Y4,$4),O4.lineEnd(),l4(e8)>Y3&&(G4=-(Z4=180)),n8[0]=G4,n8[1]=Z4,Q4=null}function d8(n,e){return(e-=n)<0?e+360:e}function c8(n,e){return n[0]-e[0]}function p8(n,e){return n[0]<=n[1]?n[0]<=e&&e<=n[1]:e<n[0]||n[1]<e}var f8,h8,m8,v8,g8,b8,_8,y8,C8,w8,S8,x8,k8,E8,T8,R8,I8=function(n){var e,t,l,o,i,r,a;if(K4=Z4=-(G4=W4=1/0),J4=[],I4(n,t8),t=J4.length){for(J4.sort(c8),e=1,i=[l=J4[0]];e<t;++e)p8(l,(o=J4[e])[0])||p8(l,o[1])?(d8(l[0],o[1])>d8(l[0],l[1])&&(l[1]=o[1]),d8(o[0],l[1])>d8(l[0],l[1])&&(l[0]=o[0])):i.push(l=o);for(r=-1/0,e=0,l=i[t=i.length-1];e<=t;l=o,++e)(a=d8(l[1],(o=i[e])[0]))>r&&(r=a,G4=o[0],Z4=l[1])}return J4=n8=null,G4===1/0||W4===1/0?[[NaN,NaN],[NaN,NaN]]:[[G4,W4],[Z4,K4]]},D8={sphere:b4,point:F8,lineStart:M8,lineEnd:P8,polygonStart:function(){D8.lineStart=q8,D8.lineEnd=L8},polygonEnd:function(){D8.lineStart=M8,D8.lineEnd=P8}};function F8(n,e){n*=t4;var t=r4(e*=t4);O8(t*r4(n),t*c4(n),c4(e))}function O8(n,e,t){m8+=(n-m8)/++f8,v8+=(e-v8)/f8,g8+=(t-g8)/f8}function M8(){D8.point=N8}function N8(n,e){n*=t4;var t=r4(e*=t4);E8=t*r4(n),T8=t*c4(n),R8=c4(e),D8.point=A8,O8(E8,T8,R8)}function A8(n,e){n*=t4;var t=r4(e*=t4),l=t*r4(n),o=t*c4(n),i=c4(e),r=i4(f4((r=T8*i-R8*o)*r+(r=R8*l-E8*i)*r+(r=E8*o-T8*l)*r),E8*l+T8*o+R8*i);h8+=r,b8+=r*(E8+(E8=l)),_8+=r*(T8+(T8=o)),y8+=r*(R8+(R8=i)),O8(E8,T8,R8)}function P8(){D8.point=F8}function q8(){D8.point=j8}function L8(){V8(x8,k8),D8.point=F8}function j8(n,e){x8=n,k8=e,n*=t4,e*=t4,D8.point=V8;var t=r4(e);E8=t*r4(n),T8=t*c4(n),R8=c4(e),O8(E8,T8,R8)}function V8(n,e){n*=t4;var t=r4(e*=t4),l=t*r4(n),o=t*c4(n),i=c4(e),r=T8*i-R8*o,a=R8*l-E8*i,u=E8*o-T8*l,s=f4(r*r+a*a+u*u),d=v4(s),c=s&&-d/s;C8+=c*r,w8+=c*a,S8+=c*u,h8+=d,b8+=d*(E8+(E8=l)),_8+=d*(T8+(T8=o)),y8+=d*(R8+(R8=i)),O8(E8,T8,R8)}var B8=function(n){f8=h8=m8=v8=g8=b8=_8=y8=C8=w8=S8=0,I4(n,D8);var e=C8,t=w8,l=S8,o=e*e+t*t+l*l;return o<1e-12&&(e=b8,t=_8,l=y8,h8<Y3&&(e=m8,t=v8,l=g8),(o=e*e+t*t+l*l)<1e-12)?[NaN,NaN]:[i4(t,e)*e4,v4(l/f4(o))*e4]},H8=function(n){return function(){return n}},U8=function(n,e){function t(t,l){return t=n(t,l),e(t[0],t[1])}return n.invert&&e.invert&&(t.invert=function(t,l){return(t=e.invert(t,l))&&n.invert(t[0],t[1])}),t};function z8(n,e){return[n>$3?n-n4:n<-$3?n+n4:n,e]}function G8(n,e,t){return(n%=n4)?e||t?U8(Z8(n),K8(e,t)):Z8(n):e||t?K8(e,t):z8}function W8(n){return function(e,t){return[(e+=n)>$3?e-n4:e<-$3?e+n4:e,t]}}function Z8(n){var e=W8(n);return e.invert=W8(-n),e}function K8(n,e){var t=r4(n),l=c4(n),o=r4(e),i=c4(e);function r(n,e){var r=r4(e),a=r4(n)*r,u=c4(n)*r,s=c4(e),d=s*t+a*l;return[i4(u*o-d*i,a*t-s*l),v4(d*o+u*i)]}return r.invert=function(n,e){var r=r4(e),a=r4(n)*r,u=c4(n)*r,s=c4(e),d=s*o-u*i;return[i4(u*o+s*i,a*t+d*l),v4(d*t-a*l)]},r}z8.invert=z8;var X8=function(n){function e(e){return(e=n(e[0]*t4,e[1]*t4))[0]*=e4,e[1]*=e4,e}return n=G8(n[0]*t4,n[1]*t4,n.length>2?n[2]*t4:0),e.invert=function(e){return(e=n.invert(e[0]*t4,e[1]*t4))[0]*=e4,e[1]*=e4,e},e};function Y8(n,e,t,l,o,i){if(t){var r=r4(e),a=c4(e),u=l*t;null==o?(o=e+l*n4,i=e-u/2):(o=$8(r,o),i=$8(r,i),(l>0?o<i:o>i)&&(o+=l*n4));for(var s,d=o;l>0?d>i:d<i;d-=u)s=L4([r,-a*r4(d),-a*c4(d)]),n.point(s[0],s[1])}}function $8(n,e){(e=j4(e))[0]-=n,z4(e);var t=m4(-e[1]);return((-e[2]<0?-t:t)+n4-Y3)%n4}var Q8=function(){var n,e,t=H8([0,0]),l=H8(90),o=H8(6),i={point:function(t,l){n.push(t=e(t,l)),t[0]*=e4,t[1]*=e4}};function r(){var r=t.apply(this,arguments),a=l.apply(this,arguments)*t4,u=o.apply(this,arguments)*t4;return n=[],e=G8(-r[0]*t4,-r[1]*t4,0).invert,Y8(i,a,u,1),r={type:"Polygon",coordinates:[n]},n=e=null,r}return r.center=function(n){return arguments.length?(t="function"==typeof n?n:H8([+n[0],+n[1]]),r):t},r.radius=function(n){return arguments.length?(l="function"==typeof n?n:H8(+n),r):l},r.precision=function(n){return arguments.length?(o="function"==typeof n?n:H8(+n),r):o},r},J8=function(){var n,e=[];return{point:function(e,t){n.push([e,t])},lineStart:function(){e.push(n=[])},lineEnd:b4,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var t=e;return e=[],n=null,t}}},n9=function(n,e){return l4(n[0]-e[0])<Y3&&l4(n[1]-e[1])<Y3};function e9(n,e,t,l){this.x=n,this.z=e,this.o=t,this.e=l,this.v=!1,this.n=this.p=null}var t9=function(n,e,t,l,o){var i,r,a=[],u=[];if(n.forEach((function(n){if(!((e=n.length-1)<=0)){var e,t,l=n[0],r=n[e];if(n9(l,r)){for(o.lineStart(),i=0;i<e;++i)o.point((l=n[i])[0],l[1]);o.lineEnd()}else a.push(t=new e9(l,n,null,!0)),u.push(t.o=new e9(l,null,t,!1)),a.push(t=new e9(r,n,null,!1)),u.push(t.o=new e9(r,null,t,!0))}})),a.length){for(u.sort(e),l9(a),l9(u),i=0,r=u.length;i<r;++i)u[i].e=t=!t;for(var s,d,c=a[0];;){for(var p=c,f=!0;p.v;)if((p=p.n)===c)return;s=p.z,o.lineStart();do{if(p.v=p.o.v=!0,p.e){if(f)for(i=0,r=s.length;i<r;++i)o.point((d=s[i])[0],d[1]);else l(p.x,p.n.x,1,o);p=p.n}else{if(f)for(i=(s=p.p.z).length-1;i>=0;--i)o.point((d=s[i])[0],d[1]);else l(p.x,p.p.x,-1,o);p=p.p}s=(p=p.o).z,f=!f}while(!p.v);o.lineEnd()}}};function l9(n){if(e=n.length){for(var e,t,l=0,o=n[0];++l<e;)o.n=t=n[l],t.p=o,o=t;o.n=t=n[0],t.p=o}}var o9=W3(),i9=function(n,e){var t=e[0],l=e[1],o=c4(l),i=[c4(t),-r4(t),0],r=0,a=0;o9.reset(),1===o?l=Q3+Y3:-1===o&&(l=-Q3-Y3);for(var u=0,s=n.length;u<s;++u)if(c=(d=n[u]).length)for(var d,c,p=d[c-1],f=p[0],h=p[1]/2+J3,m=c4(h),v=r4(h),g=0;g<c;++g,f=_,m=C,v=w,p=b){var b=d[g],_=b[0],y=b[1]/2+J3,C=c4(y),w=r4(y),S=_-f,x=S>=0?1:-1,k=x*S,E=k>$3,T=m*C;if(o9.add(i4(T*x*c4(k),v*w+T*r4(k))),r+=E?S+x*n4:S,E^f>=t^_>=t){var R=B4(j4(p),j4(b));z4(R);var I=B4(i,R);z4(I);var D=(E^S>=0?-1:1)*v4(I[2]);(l>D||l===D&&(R[0]||R[1]))&&(a+=E^S>=0?1:-1)}}return(r<-Y3||r<Y3&&o9<-Y3)^1&a},r9=function(n,e,t,l){return function(o){var i,r,a,u=e(o),s=J8(),d=e(s),c=!1,p={point:f,lineStart:m,lineEnd:v,polygonStart:function(){p.point=g,p.lineStart=b,p.lineEnd=_,r=[],i=[]},polygonEnd:function(){p.point=f,p.lineStart=m,p.lineEnd=v,r=u2(r);var n=i9(i,l);r.length?(c||(o.polygonStart(),c=!0),t9(r,u9,n,t,o)):n&&(c||(o.polygonStart(),c=!0),o.lineStart(),t(null,null,1,o),o.lineEnd()),c&&(o.polygonEnd(),c=!1),r=i=null},sphere:function(){o.polygonStart(),o.lineStart(),t(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function f(e,t){n(e,t)&&o.point(e,t)}function h(n,e){u.point(n,e)}function m(){p.point=h,u.lineStart()}function v(){p.point=f,u.lineEnd()}function g(n,e){a.push([n,e]),d.point(n,e)}function b(){d.lineStart(),a=[]}function _(){g(a[0][0],a[0][1]),d.lineEnd();var n,e,t,l,u=d.clean(),p=s.result(),f=p.length;if(a.pop(),i.push(a),a=null,f)if(1&u){if((e=(t=p[0]).length-1)>0){for(c||(o.polygonStart(),c=!0),o.lineStart(),n=0;n<e;++n)o.point((l=t[n])[0],l[1]);o.lineEnd()}}else f>1&&2&u&&p.push(p.pop().concat(p.shift())),r.push(p.filter(a9))}return p}};function a9(n){return n.length>1}function u9(n,e){return((n=n.x)[0]<0?n[1]-Q3-Y3:Q3-n[1])-((e=e.x)[0]<0?e[1]-Q3-Y3:Q3-e[1])}var s9=r9((function(){return!0}),(function(n){var e,t=NaN,l=NaN,o=NaN;return{lineStart:function(){n.lineStart(),e=1},point:function(i,r){var a=i>0?$3:-$3,u=l4(i-t);l4(u-$3)<Y3?(n.point(t,l=(l+r)/2>0?Q3:-Q3),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),n.point(i,l),e=0):o!==a&&u>=$3&&(l4(t-o)<Y3&&(t-=o*Y3),l4(i-a)<Y3&&(i-=a*Y3),l=function(n,e,t,l){var o,i,r=c4(n-t);return l4(r)>Y3?o4((c4(e)*(i=r4(l))*c4(t)-c4(l)*(o=r4(e))*c4(n))/(o*i*r)):(e+l)/2}(t,l,i,r),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),e=0),n.point(t=i,l=r),o=a},lineEnd:function(){n.lineEnd(),t=l=NaN},clean:function(){return 2-e}}}),(function(n,e,t,l){var o;if(null==n)l.point(-$3,o=t*Q3),l.point(0,o),l.point($3,o),l.point($3,0),l.point($3,-o),l.point(0,-o),l.point(-$3,-o),l.point(-$3,0),l.point(-$3,o);else if(l4(n[0]-e[0])>Y3){var i=n[0]<e[0]?$3:-$3;l.point(-i,o=t*i/2),l.point(0,o),l.point(i,o)}else l.point(e[0],e[1])}),[-$3,-Q3]),d9=function(n){var e=r4(n),t=6*t4,l=e>0,o=l4(e)>Y3;function i(n,t){return r4(n)*r4(t)>e}function r(n,t,l){var o=[1,0,0],i=B4(j4(n),j4(t)),r=V4(i,i),a=i[0],u=r-a*a;if(!u)return!l&&n;var s=e*r/u,d=-e*a/u,c=B4(o,i),p=U4(o,s);H4(p,U4(i,d));var f=c,h=V4(p,f),m=V4(f,f),v=h*h-m*(V4(p,p)-1);if(!(v<0)){var g=f4(v),b=U4(f,(-h-g)/m);if(H4(b,p),b=L4(b),!l)return b;var _,y=n[0],C=t[0],w=n[1],S=t[1];C<y&&(_=y,y=C,C=_);var x=C-y,k=l4(x-$3)<Y3;if(!k&&S<w&&(_=w,w=S,S=_),k||x<Y3?k?w+S>0^b[1]<(l4(b[0]-y)<Y3?w:S):w<=b[1]&&b[1]<=S:x>$3^(y<=b[0]&&b[0]<=C)){var E=U4(f,(-h+g)/m);return H4(E,p),[b,L4(E)]}}}function a(e,t){var o=l?n:$3-n,i=0;return e<-o?i|=1:e>o&&(i|=2),t<-o?i|=4:t>o&&(i|=8),i}return r9(i,(function(n){var e,t,u,s,d;return{lineStart:function(){s=u=!1,d=1},point:function(c,p){var f,h=[c,p],m=i(c,p),v=l?m?0:a(c,p):m?a(c+(c<0?$3:-$3),p):0;if(!e&&(s=u=m)&&n.lineStart(),m!==u&&(!(f=r(e,h))||n9(e,f)||n9(h,f))&&(h[0]+=Y3,h[1]+=Y3,m=i(h[0],h[1])),m!==u)d=0,m?(n.lineStart(),f=r(h,e),n.point(f[0],f[1])):(f=r(e,h),n.point(f[0],f[1]),n.lineEnd()),e=f;else if(o&&e&&l^m){var g;v&t||!(g=r(h,e,!0))||(d=0,l?(n.lineStart(),n.point(g[0][0],g[0][1]),n.point(g[1][0],g[1][1]),n.lineEnd()):(n.point(g[1][0],g[1][1]),n.lineEnd(),n.lineStart(),n.point(g[0][0],g[0][1])))}!m||e&&n9(e,h)||n.point(h[0],h[1]),e=h,u=m,t=v},lineEnd:function(){u&&n.lineEnd(),e=null},clean:function(){return d|(s&&u)<<1}}}),(function(e,l,o,i){Y8(i,n,t,o,e,l)}),l?[0,-n]:[-$3,n-$3])},c9=function(n,e,t,l,o,i){var r,a=n[0],u=n[1],s=0,d=1,c=e[0]-a,p=e[1]-u;if(r=t-a,c||!(r>0)){if(r/=c,c<0){if(r<s)return;r<d&&(d=r)}else if(c>0){if(r>d)return;r>s&&(s=r)}if(r=o-a,c||!(r<0)){if(r/=c,c<0){if(r>d)return;r>s&&(s=r)}else if(c>0){if(r<s)return;r<d&&(d=r)}if(r=l-u,p||!(r>0)){if(r/=p,p<0){if(r<s)return;r<d&&(d=r)}else if(p>0){if(r>d)return;r>s&&(s=r)}if(r=i-u,p||!(r<0)){if(r/=p,p<0){if(r>d)return;r>s&&(s=r)}else if(p>0){if(r<s)return;r<d&&(d=r)}return s>0&&(n[0]=a+s*c,n[1]=u+s*p),d<1&&(e[0]=a+d*c,e[1]=u+d*p),!0}}}}},p9=1e9,f9=-p9;function h9(n,e,t,l){function o(o,i){return n<=o&&o<=t&&e<=i&&i<=l}function i(o,i,a,s){var d=0,c=0;if(null==o||(d=r(o,a))!==(c=r(i,a))||u(o,i)<0^a>0)do{s.point(0===d||3===d?n:t,d>1?l:e)}while((d=(d+a+4)%4)!==c);else s.point(i[0],i[1])}function r(l,o){return l4(l[0]-n)<Y3?o>0?0:3:l4(l[0]-t)<Y3?o>0?2:1:l4(l[1]-e)<Y3?o>0?1:0:o>0?3:2}function a(n,e){return u(n.x,e.x)}function u(n,e){var t=r(n,1),l=r(e,1);return t!==l?t-l:0===t?e[1]-n[1]:1===t?n[0]-e[0]:2===t?n[1]-e[1]:e[0]-n[0]}return function(r){var u,s,d,c,p,f,h,m,v,g,b,_=r,y=J8(),C={point:w,lineStart:function(){C.point=S,s&&s.push(d=[]),g=!0,v=!1,h=m=NaN},lineEnd:function(){u&&(S(c,p),f&&v&&y.rejoin(),u.push(y.result())),C.point=w,v&&_.lineEnd()},polygonStart:function(){_=y,u=[],s=[],b=!0},polygonEnd:function(){var e=function(){for(var e=0,t=0,o=s.length;t<o;++t)for(var i,r,a=s[t],u=1,d=a.length,c=a[0],p=c[0],f=c[1];u<d;++u)i=p,r=f,p=(c=a[u])[0],f=c[1],r<=l?f>l&&(p-i)*(l-r)>(f-r)*(n-i)&&++e:f<=l&&(p-i)*(l-r)<(f-r)*(n-i)&&--e;return e}(),t=b&&e,o=(u=u2(u)).length;(t||o)&&(r.polygonStart(),t&&(r.lineStart(),i(null,null,1,r),r.lineEnd()),o&&t9(u,a,e,i,r),r.polygonEnd()),_=r,u=s=d=null}};function w(n,e){o(n,e)&&_.point(n,e)}function S(i,r){var a=o(i,r);if(s&&d.push([i,r]),g)c=i,p=r,f=a,g=!1,a&&(_.lineStart(),_.point(i,r));else if(a&&v)_.point(i,r);else{var u=[h=Math.max(f9,Math.min(p9,h)),m=Math.max(f9,Math.min(p9,m))],y=[i=Math.max(f9,Math.min(p9,i)),r=Math.max(f9,Math.min(p9,r))];c9(u,y,n,e,t,l)?(v||(_.lineStart(),_.point(u[0],u[1])),_.point(y[0],y[1]),a||_.lineEnd(),b=!1):a&&(_.lineStart(),_.point(i,r),b=!1)}h=i,m=r,v=a}return C}}var m9,v9,g9,b9=function(){var n,e,t,l=0,o=0,i=960,r=500;return t={stream:function(t){return n&&e===t?n:n=h9(l,o,i,r)(e=t)},extent:function(a){return arguments.length?(l=+a[0][0],o=+a[0][1],i=+a[1][0],r=+a[1][1],n=e=null,t):[[l,o],[i,r]]}}},_9=W3(),y9={sphere:b4,point:b4,lineStart:function(){y9.point=w9,y9.lineEnd=C9},lineEnd:b4,polygonStart:b4,polygonEnd:b4};function C9(){y9.point=y9.lineEnd=b4}function w9(n,e){m9=n*=t4,v9=c4(e*=t4),g9=r4(e),y9.point=S9}function S9(n,e){n*=t4;var t=c4(e*=t4),l=r4(e),o=l4(n-m9),i=r4(o),r=l*c4(o),a=g9*t-v9*l*i,u=v9*t+g9*l*i;_9.add(i4(f4(r*r+a*a),u)),m9=n,v9=t,g9=l}var x9=function(n){return _9.reset(),I4(n,y9),+_9},k9=[null,null],E9={type:"LineString",coordinates:k9},T9=function(n,e){return k9[0]=n,k9[1]=e,x9(E9)},R9={Feature:function(n,e){return D9(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)if(D9(t[l].geometry,e))return!0;return!1}},I9={Sphere:function(){return!0},Point:function(n,e){return F9(n.coordinates,e)},MultiPoint:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(F9(t[l],e))return!0;return!1},LineString:function(n,e){return O9(n.coordinates,e)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(O9(t[l],e))return!0;return!1},Polygon:function(n,e){return M9(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(M9(t[l],e))return!0;return!1},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)if(D9(t[l],e))return!0;return!1}};function D9(n,e){return!(!n||!I9.hasOwnProperty(n.type))&&I9[n.type](n,e)}function F9(n,e){return 0===T9(n,e)}function O9(n,e){var t=T9(n[0],n[1]);return T9(n[0],e)+T9(e,n[1])<=t+Y3}function M9(n,e){return!!i9(n.map(N9),A9(e))}function N9(n){return(n=n.map(A9)).pop(),n}function A9(n){return[n[0]*t4,n[1]*t4]}var P9=function(n,e){return(n&&R9.hasOwnProperty(n.type)?R9[n.type]:D9)(n,e)};function q9(n,e,t){var l=Z1(n,e-Y3,t).concat(e);return function(n){return l.map((function(e){return[n,e]}))}}function L9(n,e,t){var l=Z1(n,e-Y3,t).concat(e);return function(n){return l.map((function(e){return[e,n]}))}}function j9(){var n,e,t,l,o,i,r,a,u,s,d,c,p=10,f=p,h=90,m=360,v=2.5;function g(){return{type:"MultiLineString",coordinates:b()}}function b(){return Z1(a4(l/h)*h,t,h).map(d).concat(Z1(a4(a/m)*m,r,m).map(c)).concat(Z1(a4(e/p)*p,n,p).filter((function(n){return l4(n%h)>Y3})).map(u)).concat(Z1(a4(i/f)*f,o,f).filter((function(n){return l4(n%m)>Y3})).map(s))}return g.lines=function(){return b().map((function(n){return{type:"LineString",coordinates:n}}))},g.outline=function(){return{type:"Polygon",coordinates:[d(l).concat(c(r).slice(1),d(t).reverse().slice(1),c(a).reverse().slice(1))]}},g.extent=function(n){return arguments.length?g.extentMajor(n).extentMinor(n):g.extentMinor()},g.extentMajor=function(n){return arguments.length?(a=+n[0][1],r=+n[1][1],(l=+n[0][0])>(t=+n[1][0])&&(n=l,l=t,t=n),a>r&&(n=a,a=r,r=n),g.precision(v)):[[l,a],[t,r]]},g.extentMinor=function(t){return arguments.length?(i=+t[0][1],o=+t[1][1],(e=+t[0][0])>(n=+t[1][0])&&(t=e,e=n,n=t),i>o&&(t=i,i=o,o=t),g.precision(v)):[[e,i],[n,o]]},g.step=function(n){return arguments.length?g.stepMajor(n).stepMinor(n):g.stepMinor()},g.stepMajor=function(n){return arguments.length?(h=+n[0],m=+n[1],g):[h,m]},g.stepMinor=function(n){return arguments.length?(p=+n[0],f=+n[1],g):[p,f]},g.precision=function(p){return arguments.length?(v=+p,u=q9(i,o,90),s=L9(e,n,v),d=q9(a,r,90),c=L9(l,t,v),g):v},g.extentMajor([[-180,-90+Y3],[180,90-Y3]]).extentMinor([[-180,-80-Y3],[180,80+Y3]])}function V9(){return j9()()}var B9,H9,U9,z9,G9=function(n,e){var t=n[0]*t4,l=n[1]*t4,o=e[0]*t4,i=e[1]*t4,r=r4(l),a=c4(l),u=r4(i),s=c4(i),d=r*r4(t),c=r*c4(t),p=u*r4(o),f=u*c4(o),h=2*v4(f4(g4(i-l)+r*u*g4(o-t))),m=c4(h),v=h?function(n){var e=c4(n*=h)/m,t=c4(h-n)/m,l=t*d+e*p,o=t*c+e*f,i=t*a+e*s;return[i4(o,l)*e4,i4(i,f4(l*l+o*o))*e4]}:function(){return[t*e4,l*e4]};return v.distance=h,v},W9=function(n){return n},Z9=W3(),K9=W3(),X9={point:b4,lineStart:b4,lineEnd:b4,polygonStart:function(){X9.lineStart=Y9,X9.lineEnd=J9},polygonEnd:function(){X9.lineStart=X9.lineEnd=X9.point=b4,Z9.add(l4(K9)),K9.reset()},result:function(){var n=Z9/2;return Z9.reset(),n}};function Y9(){X9.point=$9}function $9(n,e){X9.point=Q9,B9=U9=n,H9=z9=e}function Q9(n,e){K9.add(z9*n-U9*e),U9=n,z9=e}function J9(){Q9(B9,H9)}var n5,e5,t5,l5,o5=X9,i5=1/0,r5=i5,a5=-i5,u5=a5,s5={point:function(n,e){n<i5&&(i5=n),n>a5&&(a5=n),e<r5&&(r5=e),e>u5&&(u5=e)},lineStart:b4,lineEnd:b4,polygonStart:b4,polygonEnd:b4,result:function(){var n=[[i5,r5],[a5,u5]];return a5=u5=-(r5=i5=1/0),n}},d5=0,c5=0,p5=0,f5=0,h5=0,m5=0,v5=0,g5=0,b5=0,_5={point:y5,lineStart:C5,lineEnd:x5,polygonStart:function(){_5.lineStart=k5,_5.lineEnd=E5},polygonEnd:function(){_5.point=y5,_5.lineStart=C5,_5.lineEnd=x5},result:function(){var n=b5?[v5/b5,g5/b5]:m5?[f5/m5,h5/m5]:p5?[d5/p5,c5/p5]:[NaN,NaN];return d5=c5=p5=f5=h5=m5=v5=g5=b5=0,n}};function y5(n,e){d5+=n,c5+=e,++p5}function C5(){_5.point=w5}function w5(n,e){_5.point=S5,y5(t5=n,l5=e)}function S5(n,e){var t=n-t5,l=e-l5,o=f4(t*t+l*l);f5+=o*(t5+n)/2,h5+=o*(l5+e)/2,m5+=o,y5(t5=n,l5=e)}function x5(){_5.point=y5}function k5(){_5.point=T5}function E5(){R5(n5,e5)}function T5(n,e){_5.point=R5,y5(n5=t5=n,e5=l5=e)}function R5(n,e){var t=n-t5,l=e-l5,o=f4(t*t+l*l);f5+=o*(t5+n)/2,h5+=o*(l5+e)/2,m5+=o,v5+=(o=l5*n-t5*e)*(t5+n),g5+=o*(l5+e),b5+=3*o,y5(t5=n,l5=e)}var I5=_5;function D5(n){this._context=n}D5.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(n,e){switch(this._point){case 0:this._context.moveTo(n,e),this._point=1;break;case 1:this._context.lineTo(n,e);break;default:this._context.moveTo(n+this._radius,e),this._context.arc(n,e,this._radius,0,n4)}},result:b4};var F5,O5,M5,N5,A5,P5=W3(),q5={point:b4,lineStart:function(){q5.point=L5},lineEnd:function(){F5&&j5(O5,M5),q5.point=b4},polygonStart:function(){F5=!0},polygonEnd:function(){F5=null},result:function(){var n=+P5;return P5.reset(),n}};function L5(n,e){q5.point=j5,O5=N5=n,M5=A5=e}function j5(n,e){P5.add(f4((N5-=n)*N5+(A5-=e)*A5)),N5=n,A5=e}var V5=q5;function B5(){this._string=[]}function H5(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}B5.prototype={_radius:4.5,_circle:H5(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(n,e){switch(this._point){case 0:this._string.push("M",n,",",e),this._point=1;break;case 1:this._string.push("L",n,",",e);break;default:null==this._circle&&(this._circle=H5(this._radius)),this._string.push("M",n,",",e,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}};var U5=function(n,e){var t,l,o=4.5;function i(n){return n&&("function"==typeof o&&l.pointRadius(+o.apply(this,arguments)),I4(n,t(l))),l.result()}return i.area=function(n){return I4(n,t(o5)),o5.result()},i.measure=function(n){return I4(n,t(V5)),V5.result()},i.bounds=function(n){return I4(n,t(s5)),s5.result()},i.centroid=function(n){return I4(n,t(I5)),I5.result()},i.projection=function(e){return arguments.length?(t=null==e?(n=null,W9):(n=e).stream,i):n},i.context=function(n){return arguments.length?(l=null==n?(e=null,new B5):new D5(e=n),"function"!=typeof o&&l.pointRadius(o),i):e},i.pointRadius=function(n){return arguments.length?(o="function"==typeof n?n:(l.pointRadius(+n),+n),i):o},i.projection(n).context(e)},z5=function(n){return{stream:G5(n)}};function G5(n){return function(e){var t=new W5;for(var l in n)t[l]=n[l];return t.stream=e,t}}function W5(){}function Z5(n,e,t){var l=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=l&&n.clipExtent(null),I4(t,n.stream(s5)),e(s5.result()),null!=l&&n.clipExtent(l),n}function K5(n,e,t){return Z5(n,(function(t){var l=e[1][0]-e[0][0],o=e[1][1]-e[0][1],i=Math.min(l/(t[1][0]-t[0][0]),o/(t[1][1]-t[0][1])),r=+e[0][0]+(l-i*(t[1][0]+t[0][0]))/2,a=+e[0][1]+(o-i*(t[1][1]+t[0][1]))/2;n.scale(150*i).translate([r,a])}),t)}function X5(n,e,t){return K5(n,[[0,0],e],t)}function Y5(n,e,t){return Z5(n,(function(t){var l=+e,o=l/(t[1][0]-t[0][0]),i=(l-o*(t[1][0]+t[0][0]))/2,r=-o*t[0][1];n.scale(150*o).translate([i,r])}),t)}function $5(n,e,t){return Z5(n,(function(t){var l=+e,o=l/(t[1][1]-t[0][1]),i=-o*t[0][0],r=(l-o*(t[1][1]+t[0][1]))/2;n.scale(150*o).translate([i,r])}),t)}W5.prototype={constructor:W5,point:function(n,e){this.stream.point(n,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Q5=16,J5=r4(30*t4),nnn=function(n,e){return+e?function(n,e){function t(l,o,i,r,a,u,s,d,c,p,f,h,m,v){var g=s-l,b=d-o,_=g*g+b*b;if(_>4*e&&m--){var y=r+p,C=a+f,w=u+h,S=f4(y*y+C*C+w*w),x=v4(w/=S),k=l4(l4(w)-1)<Y3||l4(i-c)<Y3?(i+c)/2:i4(C,y),E=n(k,x),T=E[0],R=E[1],I=T-l,D=R-o,F=b*I-g*D;(F*F/_>e||l4((g*I+b*D)/_-.5)>.3||r*p+a*f+u*h<J5)&&(t(l,o,i,r,a,u,T,R,k,y/=S,C/=S,w,m,v),v.point(T,R),t(T,R,k,y,C,w,s,d,c,p,f,h,m,v))}}return function(e){var l,o,i,r,a,u,s,d,c,p,f,h,m={point:v,lineStart:g,lineEnd:_,polygonStart:function(){e.polygonStart(),m.lineStart=y},polygonEnd:function(){e.polygonEnd(),m.lineStart=g}};function v(t,l){t=n(t,l),e.point(t[0],t[1])}function g(){d=NaN,m.point=b,e.lineStart()}function b(l,o){var i=j4([l,o]),r=n(l,o);t(d,c,s,p,f,h,d=r[0],c=r[1],s=l,p=i[0],f=i[1],h=i[2],Q5,e),e.point(d,c)}function _(){m.point=v,e.lineEnd()}function y(){g(),m.point=C,m.lineEnd=w}function C(n,e){b(l=n,e),o=d,i=c,r=p,a=f,u=h,m.point=b}function w(){t(d,c,s,p,f,h,o,i,l,r,a,u,Q5,e),m.lineEnd=_,_()}return m}}(n,e):function(n){return G5({point:function(e,t){e=n(e,t),this.stream.point(e[0],e[1])}})}(n)},enn=G5({point:function(n,e){this.stream.point(n*t4,e*t4)}});function tnn(n,e,t){function l(l,o){return[e+n*l,t-n*o]}return l.invert=function(l,o){return[(l-e)/n,(t-o)/n]},l}function lnn(n,e,t,l){var o=r4(l),i=c4(l),r=o*n,a=i*n,u=o/n,s=i/n,d=(i*t-o*e)/n,c=(i*e+o*t)/n;function p(n,l){return[r*n-a*l+e,t-a*n-r*l]}return p.invert=function(n,e){return[u*n-s*e+d,c-s*n-u*e]},p}function onn(n){return inn((function(){return n}))()}function inn(n){var e,t,l,o,i,r,a,u,s,d,c=150,p=480,f=250,h=0,m=0,v=0,g=0,b=0,_=0,y=null,C=s9,w=null,S=W9,x=.5;function k(n){return u(n[0]*t4,n[1]*t4)}function E(n){return(n=u.invert(n[0],n[1]))&&[n[0]*e4,n[1]*e4]}function T(){var n=lnn(c,0,0,_).apply(null,e(h,m)),l=(_?lnn:tnn)(c,p-n[0],f-n[1],_);return t=G8(v,g,b),a=U8(e,l),u=U8(t,a),r=nnn(a,x),R()}function R(){return s=d=null,k}return k.stream=function(n){return s&&d===n?s:s=enn(function(n){return G5({point:function(e,t){var l=n(e,t);return this.stream.point(l[0],l[1])}})}(t)(C(r(S(d=n)))))},k.preclip=function(n){return arguments.length?(C=n,y=void 0,R()):C},k.postclip=function(n){return arguments.length?(S=n,w=l=o=i=null,R()):S},k.clipAngle=function(n){return arguments.length?(C=+n?d9(y=n*t4):(y=null,s9),R()):y*e4},k.clipExtent=function(n){return arguments.length?(S=null==n?(w=l=o=i=null,W9):h9(w=+n[0][0],l=+n[0][1],o=+n[1][0],i=+n[1][1]),R()):null==w?null:[[w,l],[o,i]]},k.scale=function(n){return arguments.length?(c=+n,T()):c},k.translate=function(n){return arguments.length?(p=+n[0],f=+n[1],T()):[p,f]},k.center=function(n){return arguments.length?(h=n[0]%360*t4,m=n[1]%360*t4,T()):[h*e4,m*e4]},k.rotate=function(n){return arguments.length?(v=n[0]%360*t4,g=n[1]%360*t4,b=n.length>2?n[2]%360*t4:0,T()):[v*e4,g*e4,b*e4]},k.angle=function(n){return arguments.length?(_=n%360*t4,T()):_*e4},k.precision=function(n){return arguments.length?(r=nnn(a,x=n*n),R()):f4(x)},k.fitExtent=function(n,e){return K5(k,n,e)},k.fitSize=function(n,e){return X5(k,n,e)},k.fitWidth=function(n,e){return Y5(k,n,e)},k.fitHeight=function(n,e){return $5(k,n,e)},function(){return e=n.apply(this,arguments),k.invert=e.invert&&E,T()}}function rnn(n){var e=0,t=$3/3,l=inn(n),o=l(e,t);return o.parallels=function(n){return arguments.length?l(e=n[0]*t4,t=n[1]*t4):[e*e4,t*e4]},o}function ann(n,e){var t=c4(n),l=(t+c4(e))/2;if(l4(l)<Y3)return function(n){var e=r4(n);function t(n,t){return[n*e,c4(t)/e]}return t.invert=function(n,t){return[n/e,v4(t*e)]},t}(n);var o=1+t*(2*l-t),i=f4(o)/l;function r(n,e){var t=f4(o-2*l*c4(e))/l;return[t*c4(n*=l),i-t*r4(n)]}return r.invert=function(n,e){var t=i-e;return[i4(n,l4(t))/l*p4(t),v4((o-(n*n+t*t)*l*l)/(2*l))]},r}var unn=function(){return rnn(ann).scale(155.424).center([0,33.6442])},snn=function(){return unn().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},dnn=function(){var n,e,t,l,o,i,r=snn(),a=unn().rotate([154,0]).center([-2,58.5]).parallels([55,65]),u=unn().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(n,e){i=[n,e]}};function d(n){var e=n[0],r=n[1];return i=null,t.point(e,r),i||(l.point(e,r),i)||(o.point(e,r),i)}function c(){return n=e=null,d}return d.invert=function(n){var e=r.scale(),t=r.translate(),l=(n[0]-t[0])/e,o=(n[1]-t[1])/e;return(o>=.12&&o<.234&&l>=-.425&&l<-.214?a:o>=.166&&o<.234&&l>=-.214&&l<-.115?u:r).invert(n)},d.stream=function(t){return n&&e===t?n:(l=[r.stream(e=t),a.stream(t),u.stream(t)],o=l.length,n={point:function(n,e){for(var t=-1;++t<o;)l[t].point(n,e)},sphere:function(){for(var n=-1;++n<o;)l[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)l[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)l[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)l[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)l[n].polygonEnd()}});var l,o},d.precision=function(n){return arguments.length?(r.precision(n),a.precision(n),u.precision(n),c()):r.precision()},d.scale=function(n){return arguments.length?(r.scale(n),a.scale(.35*n),u.scale(n),d.translate(r.translate())):r.scale()},d.translate=function(n){if(!arguments.length)return r.translate();var e=r.scale(),i=+n[0],d=+n[1];return t=r.translate(n).clipExtent([[i-.455*e,d-.238*e],[i+.455*e,d+.238*e]]).stream(s),l=a.translate([i-.307*e,d+.201*e]).clipExtent([[i-.425*e+Y3,d+.12*e+Y3],[i-.214*e-Y3,d+.234*e-Y3]]).stream(s),o=u.translate([i-.205*e,d+.212*e]).clipExtent([[i-.214*e+Y3,d+.166*e+Y3],[i-.115*e-Y3,d+.234*e-Y3]]).stream(s),c()},d.fitExtent=function(n,e){return K5(d,n,e)},d.fitSize=function(n,e){return X5(d,n,e)},d.fitWidth=function(n,e){return Y5(d,n,e)},d.fitHeight=function(n,e){return $5(d,n,e)},d.scale(1070)};function cnn(n){return function(e,t){var l=r4(e),o=r4(t),i=n(l*o);return[i*o*c4(e),i*c4(t)]}}function pnn(n){return function(e,t){var l=f4(e*e+t*t),o=n(l),i=c4(o),r=r4(o);return[i4(e*i,l*r),v4(l&&t*i/l)]}}var fnn=cnn((function(n){return f4(2/(1+n))}));fnn.invert=pnn((function(n){return 2*v4(n/2)}));var hnn=function(){return onn(fnn).scale(124.75).clipAngle(179.999)},mnn=cnn((function(n){return(n=m4(n))&&n/c4(n)}));mnn.invert=pnn((function(n){return n}));var vnn=function(){return onn(mnn).scale(79.4188).clipAngle(179.999)};function gnn(n,e){return[n,s4(h4((Q3+e)/2))]}gnn.invert=function(n,e){return[n,2*o4(u4(e))-Q3]};var bnn=function(){return _nn(gnn).scale(961/n4)};function _nn(n){var e,t,l,o=onn(n),i=o.center,r=o.scale,a=o.translate,u=o.clipExtent,s=null;function d(){var i=$3*r(),a=o(X8(o.rotate()).invert([0,0]));return u(null==s?[[a[0]-i,a[1]-i],[a[0]+i,a[1]+i]]:n===gnn?[[Math.max(a[0]-i,s),e],[Math.min(a[0]+i,t),l]]:[[s,Math.max(a[1]-i,e)],[t,Math.min(a[1]+i,l)]])}return o.scale=function(n){return arguments.length?(r(n),d()):r()},o.translate=function(n){return arguments.length?(a(n),d()):a()},o.center=function(n){return arguments.length?(i(n),d()):i()},o.clipExtent=function(n){return arguments.length?(null==n?s=e=t=l=null:(s=+n[0][0],e=+n[0][1],t=+n[1][0],l=+n[1][1]),d()):null==s?null:[[s,e],[t,l]]},d()}function ynn(n){return h4((Q3+n)/2)}function Cnn(n,e){var t=r4(n),l=n===e?c4(n):s4(t/r4(e))/s4(ynn(e)/ynn(n)),o=t*d4(ynn(n),l)/l;if(!l)return gnn;function i(n,e){o>0?e<-Q3+Y3&&(e=-Q3+Y3):e>Q3-Y3&&(e=Q3-Y3);var t=o/d4(ynn(e),l);return[t*c4(l*n),o-t*r4(l*n)]}return i.invert=function(n,e){var t=o-e,i=p4(l)*f4(n*n+t*t);return[i4(n,l4(t))/l*p4(t),2*o4(d4(o/i,1/l))-Q3]},i}var wnn=function(){return rnn(Cnn).scale(109.5).parallels([30,30])};function Snn(n,e){return[n,e]}Snn.invert=Snn;var xnn=function(){return onn(Snn).scale(152.63)};function knn(n,e){var t=r4(n),l=n===e?c4(n):(t-r4(e))/(e-n),o=t/l+n;if(l4(l)<Y3)return Snn;function i(n,e){var t=o-e,i=l*n;return[t*c4(i),o-t*r4(i)]}return i.invert=function(n,e){var t=o-e;return[i4(n,l4(t))/l*p4(t),o-p4(l)*f4(n*n+t*t)]},i}var Enn=function(){return rnn(knn).scale(131.154).center([0,13.9389])};function Tnn(n,e){var t=r4(e),l=r4(n)*t;return[t*c4(n)/l,c4(e)/l]}Tnn.invert=pnn(o4);var Rnn=function(){return onn(Tnn).scale(144.049).clipAngle(60)};function Inn(n,e,t,l){return 1===n&&1===e&&0===t&&0===l?W9:G5({point:function(o,i){this.stream.point(o*n+t,i*e+l)}})}var Dnn=function(){var n,e,t,l,o,i,r=1,a=0,u=0,s=1,d=1,c=W9,p=null,f=W9;function h(){return l=o=null,i}return i={stream:function(n){return l&&o===n?l:l=c(f(o=n))},postclip:function(l){return arguments.length?(f=l,p=n=e=t=null,h()):f},clipExtent:function(l){return arguments.length?(f=null==l?(p=n=e=t=null,W9):h9(p=+l[0][0],n=+l[0][1],e=+l[1][0],t=+l[1][1]),h()):null==p?null:[[p,n],[e,t]]},scale:function(n){return arguments.length?(c=Inn((r=+n)*s,r*d,a,u),h()):r},translate:function(n){return arguments.length?(c=Inn(r*s,r*d,a=+n[0],u=+n[1]),h()):[a,u]},reflectX:function(n){return arguments.length?(c=Inn(r*(s=n?-1:1),r*d,a,u),h()):s<0},reflectY:function(n){return arguments.length?(c=Inn(r*s,r*(d=n?-1:1),a,u),h()):d<0},fitExtent:function(n,e){return K5(i,n,e)},fitSize:function(n,e){return X5(i,n,e)},fitWidth:function(n,e){return Y5(i,n,e)},fitHeight:function(n,e){return $5(i,n,e)}}};function Fnn(n,e){var t=e*e,l=t*t;return[n*(.8707-.131979*t+l*(l*(.003971*t-.001529*l)-.013791)),e*(1.007226+t*(.015085+l*(.028874*t-.044475-.005916*l)))]}Fnn.invert=function(n,e){var t,l=e,o=25;do{var i=l*l,r=i*i;l-=t=(l*(1.007226+i*(.015085+r*(.028874*i-.044475-.005916*r)))-e)/(1.007226+i*(.045255+r*(.259866*i-.311325-.005916*11*r)))}while(l4(t)>Y3&&--o>0);return[n/(.8707+(i=l*l)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),l]};var Onn=function(){return onn(Fnn).scale(175.295)};function Mnn(n,e){return[r4(e)*c4(n),c4(e)]}Mnn.invert=pnn(v4);var Nnn=function(){return onn(Mnn).scale(249.5).clipAngle(90+Y3)};function Ann(n,e){var t=r4(e),l=1+r4(n)*t;return[t*c4(n)/l,c4(e)/l]}Ann.invert=pnn((function(n){return 2*o4(n)}));var Pnn=function(){return onn(Ann).scale(250).clipAngle(142)};function qnn(n,e){return[s4(h4((Q3+e)/2)),-n]}qnn.invert=function(n,e){return[-e,2*o4(u4(n))-Q3]};var Lnn=function(){var n=_nn(qnn),e=n.center,t=n.rotate;return n.center=function(n){return arguments.length?e([-n[1],n[0]]):[(n=e())[1],-n[0]]},n.rotate=function(n){return arguments.length?t([n[0],n[1],n.length>2?n[2]+90:90]):[(n=t())[0],n[1],n[2]-90]},t([0,0,90]).scale(159.155)};function jnn(n,e){return n.parent===e.parent?1:2}function Vnn(n,e){return n+e.x}function Bnn(n,e){return Math.max(n,e.y)}var Hnn=function(){var n=jnn,e=1,t=1,l=!1;function o(o){var i,r=0;o.eachAfter((function(e){var t=e.children;t?(e.x=function(n){return n.reduce(Vnn,0)/n.length}(t),e.y=function(n){return 1+n.reduce(Bnn,0)}(t)):(e.x=i?r+=n(e,i):0,e.y=0,i=e)}));var a=function(n){for(var e;e=n.children;)n=e[0];return n}(o),u=function(n){for(var e;e=n.children;)n=e[e.length-1];return n}(o),s=a.x-n(a,u)/2,d=u.x+n(u,a)/2;return o.eachAfter(l?function(n){n.x=(n.x-o.x)*e,n.y=(o.y-n.y)*t}:function(n){n.x=(n.x-s)/(d-s)*e,n.y=(1-(o.y?n.y/o.y:1))*t})}return o.separation=function(e){return arguments.length?(n=e,o):n},o.size=function(n){return arguments.length?(l=!1,e=+n[0],t=+n[1],o):l?null:[e,t]},o.nodeSize=function(n){return arguments.length?(l=!0,e=+n[0],t=+n[1],o):l?[e,t]:null},o};function Unn(n){var e=0,t=n.children,l=t&&t.length;if(l)for(;--l>=0;)e+=t[l].value;else e=1;n.value=e}function znn(n,e){var t,l,o,i,r,a=new Knn(n),u=+n.value&&(a.value=n.value),s=[a];for(null==e&&(e=Gnn);t=s.pop();)if(u&&(t.value=+t.data.value),(o=e(t.data))&&(r=o.length))for(t.children=new Array(r),i=r-1;i>=0;--i)s.push(l=t.children[i]=new Knn(o[i])),l.parent=t,l.depth=t.depth+1;return a.eachBefore(Znn)}function Gnn(n){return n.children}function Wnn(n){n.data=n.data.data}function Znn(n){var e=0;do{n.height=e}while((n=n.parent)&&n.height<++e)}function Knn(n){this.data=n,this.depth=this.height=0,this.parent=null}Knn.prototype=znn.prototype={constructor:Knn,count:function(){return this.eachAfter(Unn)},each:function(n){var e,t,l,o,i=this,r=[i];do{for(e=r.reverse(),r=[];i=e.pop();)if(n(i),t=i.children)for(l=0,o=t.length;l<o;++l)r.push(t[l])}while(r.length);return this},eachAfter:function(n){for(var e,t,l,o=this,i=[o],r=[];o=i.pop();)if(r.push(o),e=o.children)for(t=0,l=e.length;t<l;++t)i.push(e[t]);for(;o=r.pop();)n(o);return this},eachBefore:function(n){for(var e,t,l=this,o=[l];l=o.pop();)if(n(l),e=l.children)for(t=e.length-1;t>=0;--t)o.push(e[t]);return this},sum:function(n){return this.eachAfter((function(e){for(var t=+n(e.data)||0,l=e.children,o=l&&l.length;--o>=0;)t+=l[o].value;e.value=t}))},sort:function(n){return this.eachBefore((function(e){e.children&&e.children.sort(n)}))},path:function(n){for(var e=this,t=function(n,e){if(n===e)return n;var t=n.ancestors(),l=e.ancestors(),o=null;for(n=t.pop(),e=l.pop();n===e;)o=n,n=t.pop(),e=l.pop();return o}(e,n),l=[e];e!==t;)l.push(e=e.parent);for(var o=l.length;n!==t;)l.splice(o,0,n),n=n.parent;return l},ancestors:function(){for(var n=this,e=[n];n=n.parent;)e.push(n);return e},descendants:function(){var n=[];return this.each((function(e){n.push(e)})),n},leaves:function(){var n=[];return this.eachBefore((function(e){e.children||n.push(e)})),n},links:function(){var n=this,e=[];return n.each((function(t){t!==n&&e.push({source:t.parent,target:t})})),e},copy:function(){return znn(this).eachBefore(Wnn)}};var Xnn=Array.prototype.slice,Ynn=function(n){for(var e,t,l=0,o=(n=function(n){for(var e,t,l=n.length;l;)t=Math.random()*l--|0,e=n[l],n[l]=n[t],n[t]=e;return n}(Xnn.call(n))).length,i=[];l<o;)e=n[l],t&&Jnn(t,e)?++l:(t=een(i=$nn(i,e)),l=0);return t};function $nn(n,e){var t,l;if(nen(e,n))return[e];for(t=0;t<n.length;++t)if(Qnn(e,n[t])&&nen(ten(n[t],e),n))return[n[t],e];for(t=0;t<n.length-1;++t)for(l=t+1;l<n.length;++l)if(Qnn(ten(n[t],n[l]),e)&&Qnn(ten(n[t],e),n[l])&&Qnn(ten(n[l],e),n[t])&&nen(len(n[t],n[l],e),n))return[n[t],n[l],e];throw new Error}function Qnn(n,e){var t=n.r-e.r,l=e.x-n.x,o=e.y-n.y;return t<0||t*t<l*l+o*o}function Jnn(n,e){var t=n.r-e.r+1e-6,l=e.x-n.x,o=e.y-n.y;return t>0&&t*t>l*l+o*o}function nen(n,e){for(var t=0;t<e.length;++t)if(!Jnn(n,e[t]))return!1;return!0}function een(n){switch(n.length){case 1:return{x:(e=n[0]).x,y:e.y,r:e.r};case 2:return ten(n[0],n[1]);case 3:return len(n[0],n[1],n[2])}var e}function ten(n,e){var t=n.x,l=n.y,o=n.r,i=e.x,r=e.y,a=e.r,u=i-t,s=r-l,d=a-o,c=Math.sqrt(u*u+s*s);return{x:(t+i+u/c*d)/2,y:(l+r+s/c*d)/2,r:(c+o+a)/2}}function len(n,e,t){var l=n.x,o=n.y,i=n.r,r=e.x,a=e.y,u=e.r,s=t.x,d=t.y,c=t.r,p=l-r,f=l-s,h=o-a,m=o-d,v=u-i,g=c-i,b=l*l+o*o-i*i,_=b-r*r-a*a+u*u,y=b-s*s-d*d+c*c,C=f*h-p*m,w=(h*y-m*_)/(2*C)-l,S=(m*v-h*g)/C,x=(f*_-p*y)/(2*C)-o,k=(p*g-f*v)/C,E=S*S+k*k-1,T=2*(i+w*S+x*k),R=w*w+x*x-i*i,I=-(E?(T+Math.sqrt(T*T-4*E*R))/(2*E):R/T);return{x:l+w+S*I,y:o+x+k*I,r:I}}function oen(n,e,t){var l,o,i,r,a=n.x-e.x,u=n.y-e.y,s=a*a+u*u;s?(o=e.r+t.r,r=n.r+t.r,(o*=o)>(r*=r)?(l=(s+r-o)/(2*s),i=Math.sqrt(Math.max(0,r/s-l*l)),t.x=n.x-l*a-i*u,t.y=n.y-l*u+i*a):(l=(s+o-r)/(2*s),i=Math.sqrt(Math.max(0,o/s-l*l)),t.x=e.x+l*a-i*u,t.y=e.y+l*u+i*a)):(t.x=e.x+t.r,t.y=e.y)}function ien(n,e){var t=n.r+e.r-1e-6,l=e.x-n.x,o=e.y-n.y;return t>0&&t*t>l*l+o*o}function ren(n){var e=n._,t=n.next._,l=e.r+t.r,o=(e.x*t.r+t.x*e.r)/l,i=(e.y*t.r+t.y*e.r)/l;return o*o+i*i}function aen(n){this._=n,this.next=null,this.previous=null}function uen(n){if(!(o=n.length))return 0;var e,t,l,o,i,r,a,u,s,d,c;if((e=n[0]).x=0,e.y=0,!(o>1))return e.r;if(e.x=-(t=n[1]).r,t.x=e.r,t.y=0,!(o>2))return e.r+t.r;oen(t,e,l=n[2]),e=new aen(e),t=new aen(t),l=new aen(l),e.next=l.previous=t,t.next=e.previous=l,l.next=t.previous=e;n:for(a=3;a<o;++a){oen(e._,t._,l=n[a]),l=new aen(l),u=t.next,s=e.previous,d=t._.r,c=e._.r;do{if(d<=c){if(ien(u._,l._)){e.next=t=u,t.previous=e,--a;continue n}d+=u._.r,u=u.next}else{if(ien(s._,l._)){(e=s).next=t,t.previous=e,--a;continue n}c+=s._.r,s=s.previous}}while(u!==s.next);for(l.previous=e,l.next=t,e.next=t.previous=t=l,i=ren(e);(l=l.next)!==t;)(r=ren(l))<i&&(e=l,i=r);t=e.next}for(e=[t._],l=t;(l=l.next)!==t;)e.push(l._);for(l=Ynn(e),a=0;a<o;++a)(e=n[a]).x-=l.x,e.y-=l.y;return l.r}var sen=function(n){return uen(n),n};function den(n){return null==n?null:cen(n)}function cen(n){if("function"!=typeof n)throw new Error;return n}function pen(){return 0}var fen=function(n){return function(){return n}};function hen(n){return Math.sqrt(n.value)}var men=function(){var n=null,e=1,t=1,l=pen;function o(o){return o.x=e/2,o.y=t/2,n?o.eachBefore(ven(n)).eachAfter(gen(l,.5)).eachBefore(ben(1)):o.eachBefore(ven(hen)).eachAfter(gen(pen,1)).eachAfter(gen(l,o.r/Math.min(e,t))).eachBefore(ben(Math.min(e,t)/(2*o.r))),o}return o.radius=function(e){return arguments.length?(n=den(e),o):n},o.size=function(n){return arguments.length?(e=+n[0],t=+n[1],o):[e,t]},o.padding=function(n){return arguments.length?(l="function"==typeof n?n:fen(+n),o):l},o};function ven(n){return function(e){e.children||(e.r=Math.max(0,+n(e)||0))}}function gen(n,e){return function(t){if(l=t.children){var l,o,i,r=l.length,a=n(t)*e||0;if(a)for(o=0;o<r;++o)l[o].r+=a;if(i=uen(l),a)for(o=0;o<r;++o)l[o].r-=a;t.r=i+a}}}function ben(n){return function(e){var t=e.parent;e.r*=n,t&&(e.x=t.x+n*e.x,e.y=t.y+n*e.y)}}var _en=function(n){n.x0=Math.round(n.x0),n.y0=Math.round(n.y0),n.x1=Math.round(n.x1),n.y1=Math.round(n.y1)},yen=function(n,e,t,l,o){for(var i,r=n.children,a=-1,u=r.length,s=n.value&&(l-e)/n.value;++a<u;)(i=r[a]).y0=t,i.y1=o,i.x0=e,i.x1=e+=i.value*s},Cen=function(){var n=1,e=1,t=0,l=!1;function o(o){var i=o.height+1;return o.x0=o.y0=t,o.x1=n,o.y1=e/i,o.eachBefore(function(n,e){return function(l){l.children&¥(l,l.x0,n*(l.depth+1)/e,l.x1,n*(l.depth+2)/e);var o=l.x0,i=l.y0,r=l.x1-t,a=l.y1-t;r<o&&(o=r=(o+r)/2),a<i&&(i=a=(i+a)/2),l.x0=o,l.y0=i,l.x1=r,l.y1=a}}(e,i)),l&&o.eachBefore(_en),o}return o.round=function(n){return arguments.length?(l=!!n,o):l},o.size=function(t){return arguments.length?(n=+t[0],e=+t[1],o):[n,e]},o.padding=function(n){return arguments.length?(t=+n,o):t},o},wen="$",Sen={depth:-1},xen={};function ken(n){return n.id}function Een(n){return n.parentId}var Ten=function(){var n=ken,e=Een;function t(t){var l,o,i,r,a,u,s,d=t.length,c=new Array(d),p={};for(o=0;o<d;++o)a=c[o]=new Knn(l=t[o]),null!=(u=n(l,o,t))&&(u+="")&&(p[s=wen+(a.id=u)]=s in p?xen:a);for(o=0;o<d;++o)if(a=c[o],null!=(u=e(t[o],o,t))&&(u+="")){if(!(r=p[wen+u]))throw new Error("missing: "+u);if(r===xen)throw new Error("ambiguous: "+u);r.children?r.children.push(a):r.children=[a],a.parent=r}else{if(i)throw new Error("multiple roots");i=a}if(!i)throw new Error("no root");if(i.parent=Sen,i.eachBefore((function(n){n.depth=n.parent.depth+1,--d})).eachBefore(Znn),i.parent=null,d>0)throw new Error("cycle");return i}return t.id=function(e){return arguments.length?(n=cen(e),t):n},t.parentId=function(n){return arguments.length?(e=cen(n),t):e},t};function Ren(n,e){return n.parent===e.parent?1:2}function Ien(n){var e=n.children;return e?e[0]:n.t}function Den(n){var e=n.children;return e?e[e.length-1]:n.t}function Fen(n,e,t){var l=t/(e.i-n.i);e.c-=l,e.s+=t,n.c+=l,e.z+=t,e.m+=t}function Oen(n,e,t){return n.a.parent===e.parent?n.a:t}function Men(n,e){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Men.prototype=Object.create(Knn.prototype);var Nen=function(){var n=Ren,e=1,t=1,l=null;function o(o){var u=function(n){for(var e,t,l,o,i,r=new Men(n,0),a=[r];e=a.pop();)if(l=e._.children)for(e.children=new Array(i=l.length),o=i-1;o>=0;--o)a.push(t=e.children[o]=new Men(l[o],o)),t.parent=e;return(r.parent=new Men(null,0)).children=[r],r}(o);if(u.eachAfter(i),u.parent.m=-u.z,u.eachBefore(r),l)o.eachBefore(a);else{var s=o,d=o,c=o;o.eachBefore((function(n){n.x<s.x&&(s=n),n.x>d.x&&(d=n),n.depth>c.depth&&(c=n)}));var p=s===d?1:n(s,d)/2,f=p-s.x,h=e/(d.x+p+f),m=t/(c.depth||1);o.eachBefore((function(n){n.x=(n.x+f)*h,n.y=n.depth*m}))}return o}function i(e){var t=e.children,l=e.parent.children,o=e.i?l[e.i-1]:null;if(t){!function(n){for(var e,t=0,l=0,o=n.children,i=o.length;--i>=0;)(e=o[i]).z+=t,e.m+=t,t+=e.s+(l+=e.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;o?(e.z=o.z+n(e._,o._),e.m=e.z-i):e.z=i}else o&&(e.z=o.z+n(e._,o._));e.parent.A=function(e,t,l){if(t){for(var o,i=e,r=e,a=t,u=i.parent.children[0],s=i.m,d=r.m,c=a.m,p=u.m;a=Den(a),i=Ien(i),a&&i;)u=Ien(u),(r=Den(r)).a=e,(o=a.z+c-i.z-s+n(a._,i._))>0&&(Fen(Oen(a,e,l),e,o),s+=o,d+=o),c+=a.m,s+=i.m,p+=u.m,d+=r.m;a&&!Den(r)&&(r.t=a,r.m+=c-d),i&&!Ien(u)&&(u.t=i,u.m+=s-p,l=e)}return l}(e,o,e.parent.A||l[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function a(n){n.x*=e,n.y=n.depth*t}return o.separation=function(e){return arguments.length?(n=e,o):n},o.size=function(n){return arguments.length?(l=!1,e=+n[0],t=+n[1],o):l?null:[e,t]},o.nodeSize=function(n){return arguments.length?(l=!0,e=+n[0],t=+n[1],o):l?[e,t]:null},o},Aen=function(n,e,t,l,o){for(var i,r=n.children,a=-1,u=r.length,s=n.value&&(o-t)/n.value;++a<u;)(i=r[a]).x0=e,i.x1=l,i.y0=t,i.y1=t+=i.value*s},Pen=(1+Math.sqrt(5))/2;function qen(n,e,t,l,o,i){for(var r,a,u,s,d,c,p,f,h,m,v,g=[],b=e.children,_=0,y=0,C=b.length,w=e.value;_<C;){u=o-t,s=i-l;do{d=b[y++].value}while(!d&&y<C);for(c=p=d,v=d*d*(m=Math.max(s/u,u/s)/(w*n)),h=Math.max(p/v,v/c);y<C;++y){if(d+=a=b[y].value,a<c&&(c=a),a>p&&(p=a),v=d*d*m,(f=Math.max(p/v,v/c))>h){d-=a;break}h=f}g.push(r={value:d,dice:u<s,children:b.slice(_,y)}),r.dice?yen(r,t,l,o,w?l+=s*d/w:i):Aen(r,t,l,w?t+=u*d/w:o,i),w-=d,_=y}return g}var Len=function n(e){function t(n,t,l,o,i){qen(e,n,t,l,o,i)}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(Pen),jen=function(){var n=Len,e=!1,t=1,l=1,o=[0],i=pen,r=pen,a=pen,u=pen,s=pen;function d(n){return n.x0=n.y0=0,n.x1=t,n.y1=l,n.eachBefore(c),o=[0],e&&n.eachBefore(_en),n}function c(e){var t=o[e.depth],l=e.x0+t,d=e.y0+t,c=e.x1-t,p=e.y1-t;c<l&&(l=c=(l+c)/2),p<d&&(d=p=(d+p)/2),e.x0=l,e.y0=d,e.x1=c,e.y1=p,e.children&&(t=o[e.depth+1]=i(e)/2,l+=s(e)-t,d+=r(e)-t,(c-=a(e)-t)<l&&(l=c=(l+c)/2),(p-=u(e)-t)<d&&(d=p=(d+p)/2),n(e,l,d,c,p))}return d.round=function(n){return arguments.length?(e=!!n,d):e},d.size=function(n){return arguments.length?(t=+n[0],l=+n[1],d):[t,l]},d.tile=function(e){return arguments.length?(n=cen(e),d):n},d.padding=function(n){return arguments.length?d.paddingInner(n).paddingOuter(n):d.paddingInner()},d.paddingInner=function(n){return arguments.length?(i="function"==typeof n?n:fen(+n),d):i},d.paddingOuter=function(n){return arguments.length?d.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):d.paddingTop()},d.paddingTop=function(n){return arguments.length?(r="function"==typeof n?n:fen(+n),d):r},d.paddingRight=function(n){return arguments.length?(a="function"==typeof n?n:fen(+n),d):a},d.paddingBottom=function(n){return arguments.length?(u="function"==typeof n?n:fen(+n),d):u},d.paddingLeft=function(n){return arguments.length?(s="function"==typeof n?n:fen(+n),d):s},d},Ven=function(n,e,t,l,o){var i,r,a=n.children,u=a.length,s=new Array(u+1);for(s[0]=r=i=0;i<u;++i)s[i+1]=r+=a[i].value;!function n(e,t,l,o,i,r,u){if(e>=t-1){var d=a[e];return d.x0=o,d.y0=i,d.x1=r,void(d.y1=u)}for(var c=s[e],p=l/2+c,f=e+1,h=t-1;f<h;){var m=f+h>>>1;s[m]<p?f=m+1:h=m}p-s[f-1]<s[f]-p&&e+1<f&&--f;var v=s[f]-c,g=l-v;if(r-o>u-i){var b=(o*g+r*v)/l;n(e,f,v,o,i,b,u),n(f,t,g,b,i,r,u)}else{var _=(i*g+u*v)/l;n(e,f,v,o,i,r,_),n(f,t,g,o,_,r,u)}}(0,u,n.value,e,t,l,o)},Ben=function(n,e,t,l,o){(1&n.depth?Aen:yen)(n,e,t,l,o)},Hen=function n(e){function t(n,t,l,o,i){if((r=n._squarify)&&r.ratio===e)for(var r,a,u,s,d,c=-1,p=r.length,f=n.value;++c<p;){for(u=(a=r[c]).children,s=a.value=0,d=u.length;s<d;++s)a.value+=u[s].value;a.dice?yen(a,t,l,o,l+=(i-l)*a.value/f):Aen(a,t,l,t+=(o-t)*a.value/f,i),f-=a.value}else n._squarify=r=qen(e,n,t,l,o,i),r.ratio=e}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(Pen),Uen=function(n){for(var e,t=-1,l=n.length,o=n[l-1],i=0;++t<l;)i+=(e=o)[1]*(o=n[t])[0]-e[0]*o[1];return i/2},zen=function(n){for(var e,t,l=-1,o=n.length,i=0,r=0,a=n[o-1],u=0;++l<o;)u+=t=(e=a)[0]*(a=n[l])[1]-a[0]*e[1],i+=(e[0]+a[0])*t,r+=(e[1]+a[1])*t;return[i/(u*=3),r/u]},Gen=function(n,e,t){return(e[0]-n[0])*(t[1]-n[1])-(e[1]-n[1])*(t[0]-n[0])};function Wen(n,e){return n[0]-e[0]||n[1]-e[1]}function Zen(n){for(var e=n.length,t=[0,1],l=2,o=2;o<e;++o){for(;l>1&&Gen(n[t[l-2]],n[t[l-1]],n[o])<=0;)--l;t[l++]=o}return t.slice(0,l)}var Ken=function(n){if((t=n.length)<3)return null;var e,t,l=new Array(t),o=new Array(t);for(e=0;e<t;++e)l[e]=[+n[e][0],+n[e][1],e];for(l.sort(Wen),e=0;e<t;++e)o[e]=[l[e][0],-l[e][1]];var i=Zen(l),r=Zen(o),a=r[0]===i[0],u=r[r.length-1]===i[i.length-1],s=[];for(e=i.length-1;e>=0;--e)s.push(n[l[i[e]][2]]);for(e=+a;e<r.length-u;++e)s.push(n[l[r[e]][2]]);return s},Xen=function(n,e){for(var t,l,o=n.length,i=n[o-1],r=e[0],a=e[1],u=i[0],s=i[1],d=!1,c=0;c<o;++c)t=(i=n[c])[0],(l=i[1])>a!=s>a&&r<(u-t)*(a-l)/(s-l)+t&&(d=!d),u=t,s=l;return d},Yen=function(n){for(var e,t,l=-1,o=n.length,i=n[o-1],r=i[0],a=i[1],u=0;++l<o;)e=r,t=a,e-=r=(i=n[l])[0],t-=a=i[1],u+=Math.sqrt(e*e+t*t);return u},$en=function(){return Math.random()},Qen=function n(e){function t(n,t){return n=null==n?0:+n,t=null==t?1:+t,1===arguments.length?(t=n,n=0):t-=n,function(){return e()*t+n}}return t.source=n,t}($en),Jen=function n(e){function t(n,t){var l,o;return n=null==n?0:+n,t=null==t?1:+t,function(){var i;if(null!=l)i=l,l=null;else do{l=2*e()-1,i=2*e()-1,o=l*l+i*i}while(!o||o>1);return n+t*i*Math.sqrt(-2*Math.log(o)/o)}}return t.source=n,t}($en),ntn=function n(e){function t(){var n=Jen.source(e).apply(this,arguments);return function(){return Math.exp(n())}}return t.source=n,t}($en),etn=function n(e){function t(n){return function(){for(var t=0,l=0;l<n;++l)t+=e();return t}}return t.source=n,t}($en),ttn=function n(e){function t(n){var t=etn.source(e)(n);return function(){return t()/n}}return t.source=n,t}($en),ltn=function n(e){function t(n){return function(){return-Math.log(1-e())/n}}return t.source=n,t}($en),otn=Array.prototype,itn=otn.map,rtn=otn.slice,atn={name:"implicit"};function utn(n){var e=x7(),t=[],l=atn;function o(o){var i=o+"",r=e.get(i);if(!r){if(l!==atn)return l;e.set(i,r=t.push(o))}return n[(r-1)%n.length]}return n=null==n?[]:rtn.call(n),o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=x7();for(var l,i,r=-1,a=n.length;++r<a;)e.has(i=(l=n[r])+"")||e.set(i,t.push(l));return o},o.range=function(e){return arguments.length?(n=rtn.call(e),o):n.slice()},o.unknown=function(n){return arguments.length?(l=n,o):l},o.copy=function(){return utn().domain(t).range(n).unknown(l)},o}function stn(){var n,e,t=utn().unknown(void 0),l=t.domain,o=t.range,i=[0,1],r=!1,a=0,u=0,s=.5;function d(){var t=l().length,d=i[1]<i[0],c=i[d-0],p=i[1-d];n=(p-c)/Math.max(1,t-a+2*u),r&&(n=Math.floor(n)),c+=(p-c-n*(t-a))*s,e=n*(1-a),r&&(c=Math.round(c),e=Math.round(e));var f=Z1(t).map((function(e){return c+n*e}));return o(d?f.reverse():f)}return delete t.unknown,t.domain=function(n){return arguments.length?(l(n),d()):l()},t.range=function(n){return arguments.length?(i=[+n[0],+n[1]],d()):i.slice()},t.rangeRound=function(n){return i=[+n[0],+n[1]],r=!0,d()},t.bandwidth=function(){return e},t.step=function(){return n},t.round=function(n){return arguments.length?(r=!!n,d()):r},t.padding=function(n){return arguments.length?(a=u=Math.max(0,Math.min(1,n)),d()):a},t.paddingInner=function(n){return arguments.length?(a=Math.max(0,Math.min(1,n)),d()):a},t.paddingOuter=function(n){return arguments.length?(u=Math.max(0,Math.min(1,n)),d()):u},t.align=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),d()):s},t.copy=function(){return stn().domain(l()).range(i).round(r).paddingInner(a).paddingOuter(u).align(s)},d()}function dtn(){return function n(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return n(t())},e}(stn().paddingInner(1))}var ctn=function(n){return function(){return n}},ptn=function(n){return+n},ftn=[0,1];function htn(n,e){return(e-=n=+n)?function(t){return(t-n)/e}:ctn(e)}function mtn(n,e,t,l){var o=n[0],i=n[1],r=e[0],a=e[1];return i<o?(o=t(i,o),r=l(a,r)):(o=t(o,i),r=l(r,a)),function(n){return r(o(n))}}function vtn(n,e,t,l){var o=Math.min(n.length,e.length)-1,i=new Array(o),r=new Array(o),a=-1;for(n[o]<n[0]&&(n=n.slice().reverse(),e=e.slice().reverse());++a<o;)i[a]=t(n[a],n[a+1]),r[a]=l(e[a],e[a+1]);return function(e){var t=M1(n,e,1,o)-1;return r[t](i[t](e))}}function gtn(n,e){return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp())}function btn(n,e){var t,l,o,i=ftn,r=ftn,a=SA,u=!1;function s(){return t=Math.min(i.length,r.length)>2?vtn:mtn,l=o=null,d}function d(e){return(l||(l=t(i,r,u?function(n){return function(e,t){var l=n(e=+e,t=+t);return function(n){return n<=e?0:n>=t?1:l(n)}}}(n):n,a)))(+e)}return d.invert=function(n){return(o||(o=t(r,i,htn,u?function(n){return function(e,t){var l=n(e=+e,t=+t);return function(n){return n<=0?e:n>=1?t:l(n)}}}(e):e)))(+n)},d.domain=function(n){return arguments.length?(i=itn.call(n,ptn),s()):i.slice()},d.range=function(n){return arguments.length?(r=rtn.call(n),s()):r.slice()},d.rangeRound=function(n){return r=rtn.call(n),a=xA,s()},d.clamp=function(n){return arguments.length?(u=!!n,s()):u},d.interpolate=function(n){return arguments.length?(a=n,s()):a},s()}var _tn=function(n,e,t){var l,o=n[0],i=n[n.length-1],r=J1(o,i,null==e?10:e);switch((t=N3(null==t?",f":t)).type){case"s":var a=Math.max(Math.abs(o),Math.abs(i));return null!=t.precision||isNaN(l=z3(r,a))||(t.precision=l),L3(t,a);case"":case"e":case"g":case"p":case"r":null!=t.precision||isNaN(l=G3(r,Math.max(Math.abs(o),Math.abs(i))))||(t.precision=l-("e"===t.type));break;case"f":case"%":null!=t.precision||isNaN(l=U3(r))||(t.precision=l-2*("%"===t.type))}return q3(t)};function ytn(n){var e=n.domain;return n.ticks=function(n){var t=e();return $1(t[0],t[t.length-1],null==n?10:n)},n.tickFormat=function(n,t){return _tn(e(),n,t)},n.nice=function(t){null==t&&(t=10);var l,o=e(),i=0,r=o.length-1,a=o[i],u=o[r];return u<a&&(l=a,a=u,u=l,l=i,i=r,r=l),(l=Q1(a,u,t))>0?l=Q1(a=Math.floor(a/l)*l,u=Math.ceil(u/l)*l,t):l<0&&(l=Q1(a=Math.ceil(a*l)/l,u=Math.floor(u*l)/l,t)),l>0?(o[i]=Math.floor(a/l)*l,o[r]=Math.ceil(u/l)*l,e(o)):l<0&&(o[i]=Math.ceil(a*l)/l,o[r]=Math.floor(u*l)/l,e(o)),n},n}function Ctn(){var n=btn(htn,bA);return n.copy=function(){return gtn(n,Ctn())},ytn(n)}function wtn(){var n=[0,1];function e(n){return+n}return e.invert=e,e.domain=e.range=function(t){return arguments.length?(n=itn.call(t,ptn),e):n.slice()},e.copy=function(){return wtn().domain(n)},ytn(e)}var Stn=function(n,e){var t,l=0,o=(n=n.slice()).length-1,i=n[l],r=n[o];return r<i&&(t=l,l=o,o=t,t=i,i=r,r=t),n[l]=e.floor(i),n[o]=e.ceil(r),n};function xtn(n,e){return(e=Math.log(e/n))?function(t){return Math.log(t/n)/e}:ctn(e)}function ktn(n,e){return n<0?function(t){return-Math.pow(-e,t)*Math.pow(-n,1-t)}:function(t){return Math.pow(e,t)*Math.pow(n,1-t)}}function Etn(n){return isFinite(n)?+("1e"+n):n<0?0:n}function Ttn(n){return 10===n?Etn:n===Math.E?Math.exp:function(e){return Math.pow(n,e)}}function Rtn(n){return n===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),function(e){return Math.log(e)/n})}function Itn(n){return function(e){return-n(-e)}}function Dtn(){var n=btn(xtn,ktn).domain([1,10]),e=n.domain,t=10,l=Rtn(10),o=Ttn(10);function i(){return l=Rtn(t),o=Ttn(t),e()[0]<0&&(l=Itn(l),o=Itn(o)),n}return n.base=function(n){return arguments.length?(t=+n,i()):t},n.domain=function(n){return arguments.length?(e(n),i()):e()},n.ticks=function(n){var i,r=e(),a=r[0],u=r[r.length-1];(i=u<a)&&(p=a,a=u,u=p);var s,d,c,p=l(a),f=l(u),h=null==n?10:+n,m=[];if(!(t%1)&&f-p<h){if(p=Math.round(p)-1,f=Math.round(f)+1,a>0){for(;p<f;++p)for(d=1,s=o(p);d<t;++d)if(!((c=s*d)<a)){if(c>u)break;m.push(c)}}else for(;p<f;++p)for(d=t-1,s=o(p);d>=1;--d)if(!((c=s*d)<a)){if(c>u)break;m.push(c)}}else m=$1(p,f,Math.min(f-p,h)).map(o);return i?m.reverse():m},n.tickFormat=function(e,i){if(null==i&&(i=10===t?".0e":","),"function"!=typeof i&&(i=q3(i)),e===1/0)return i;null==e&&(e=10);var r=Math.max(1,t*e/n.ticks().length);return function(n){var e=n/o(Math.round(l(n)));return e*t<t-.5&&(e*=t),e<=r?i(n):""}},n.nice=function(){return e(Stn(e(),{floor:function(n){return o(Math.floor(l(n)))},ceil:function(n){return o(Math.ceil(l(n)))}}))},n.copy=function(){return gtn(n,Dtn().base(t))},n}function Ftn(n,e){return n<0?-Math.pow(-n,e):Math.pow(n,e)}function Otn(){var n=1,e=btn((function(e,t){return(t=Ftn(t,n)-(e=Ftn(e,n)))?function(l){return(Ftn(l,n)-e)/t}:ctn(t)}),(function(e,t){return t=Ftn(t,n)-(e=Ftn(e,n)),function(l){return Ftn(e+t*l,1/n)}})),t=e.domain;return e.exponent=function(e){return arguments.length?(n=+e,t(t())):n},e.copy=function(){return gtn(e,Otn().exponent(n))},ytn(e)}function Mtn(){return Otn().exponent(.5)}function Ntn(){var n=[],e=[],t=[];function l(){var l=0,i=Math.max(1,e.length);for(t=new Array(i-1);++l<i;)t[l-1]=t2(n,l/i);return o}function o(n){if(!isNaN(n=+n))return e[M1(t,n)]}return o.invertExtent=function(l){var o=e.indexOf(l);return o<0?[NaN,NaN]:[o>0?t[o-1]:n[0],o<t.length?t[o]:n[n.length-1]]},o.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var t,o=0,i=e.length;o<i;++o)null==(t=e[o])||isNaN(t=+t)||n.push(t);return n.sort(R1),l()},o.range=function(n){return arguments.length?(e=rtn.call(n),l()):e.slice()},o.quantiles=function(){return t.slice()},o.copy=function(){return Ntn().domain(n).range(e)},o}function Atn(){var n=0,e=1,t=1,l=[.5],o=[0,1];function i(n){if(n<=n)return o[M1(l,n,0,t)]}function r(){var o=-1;for(l=new Array(t);++o<t;)l[o]=((o+1)*e-(o-t)*n)/(t+1);return i}return i.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],r()):[n,e]},i.range=function(n){return arguments.length?(t=(o=rtn.call(n)).length-1,r()):o.slice()},i.invertExtent=function(i){var r=o.indexOf(i);return r<0?[NaN,NaN]:r<1?[n,l[0]]:r>=t?[l[t-1],e]:[l[r-1],l[r]]},i.copy=function(){return Atn().domain([n,e]).range(o)},ytn(i)}function Ptn(){var n=[.5],e=[0,1],t=1;function l(l){if(l<=l)return e[M1(n,l,0,t)]}return l.domain=function(o){return arguments.length?(n=rtn.call(o),t=Math.min(n.length,e.length-1),l):n.slice()},l.range=function(o){return arguments.length?(e=rtn.call(o),t=Math.min(n.length,e.length-1),l):e.slice()},l.invertExtent=function(t){var l=e.indexOf(t);return[n[l-1],n[l]]},l.copy=function(){return Ptn().domain(n).range(e)},l}var qtn=new Date,Ltn=new Date;function jtn(n,e,t,l){function o(e){return n(e=new Date(+e)),e}return o.floor=o,o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t},o.round=function(n){var e=o(n),t=o.ceil(n);return n-e<t-n?e:t},o.offset=function(n,t){return e(n=new Date(+n),null==t?1:Math.floor(t)),n},o.range=function(t,l,i){var r,a=[];if(t=o.ceil(t),i=null==i?1:Math.floor(i),!(t<l&&i>0))return a;do{a.push(r=new Date(+t)),e(t,i),n(t)}while(r<t&&t<l);return a},o.filter=function(t){return jtn((function(e){if(e>=e)for(;n(e),!t(e);)e.setTime(e-1)}),(function(n,l){if(n>=n)if(l<0)for(;++l<=0;)for(;e(n,-1),!t(n););else for(;--l>=0;)for(;e(n,1),!t(n););}))},t&&(o.count=function(e,l){return qtn.setTime(+e),Ltn.setTime(+l),n(qtn),n(Ltn),Math.floor(t(qtn,Ltn))},o.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?o.filter(l?function(e){return l(e)%n==0}:function(e){return o.count(0,e)%n==0}):o:null}),o}var Vtn=jtn((function(){}),(function(n,e){n.setTime(+n+e)}),(function(n,e){return e-n}));Vtn.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?jtn((function(e){e.setTime(Math.floor(e/n)*n)}),(function(e,t){e.setTime(+e+t*n)}),(function(e,t){return(t-e)/n})):Vtn:null};var Btn=Vtn,Htn=Vtn.range,Utn=6e4,ztn=6048e5,Gtn=jtn((function(n){n.setTime(n-n.getMilliseconds())}),(function(n,e){n.setTime(+n+1e3*e)}),(function(n,e){return(e-n)/1e3}),(function(n){return n.getUTCSeconds()})),Wtn=Gtn,Ztn=Gtn.range,Ktn=jtn((function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds())}),(function(n,e){n.setTime(+n+e*Utn)}),(function(n,e){return(e-n)/Utn}),(function(n){return n.getMinutes()})),Xtn=Ktn,Ytn=Ktn.range,$tn=jtn((function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds()-n.getMinutes()*Utn)}),(function(n,e){n.setTime(+n+36e5*e)}),(function(n,e){return(e-n)/36e5}),(function(n){return n.getHours()})),Qtn=$tn,Jtn=$tn.range,nln=jtn((function(n){n.setHours(0,0,0,0)}),(function(n,e){n.setDate(n.getDate()+e)}),(function(n,e){return(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*Utn)/864e5}),(function(n){return n.getDate()-1})),eln=nln,tln=nln.range;function lln(n){return jtn((function(e){e.setDate(e.getDate()-(e.getDay()+7-n)%7),e.setHours(0,0,0,0)}),(function(n,e){n.setDate(n.getDate()+7*e)}),(function(n,e){return(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*Utn)/ztn}))}var oln=lln(0),iln=lln(1),rln=lln(2),aln=lln(3),uln=lln(4),sln=lln(5),dln=lln(6),cln=oln.range,pln=iln.range,fln=rln.range,hln=aln.range,mln=uln.range,vln=sln.range,gln=dln.range,bln=jtn((function(n){n.setDate(1),n.setHours(0,0,0,0)}),(function(n,e){n.setMonth(n.getMonth()+e)}),(function(n,e){return e.getMonth()-n.getMonth()+12*(e.getFullYear()-n.getFullYear())}),(function(n){return n.getMonth()})),_ln=bln,yln=bln.range,Cln=jtn((function(n){n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e)}),(function(n,e){return e.getFullYear()-n.getFullYear()}),(function(n){return n.getFullYear()}));Cln.every=function(n){return isFinite(n=Math.floor(n))&&n>0?jtn((function(e){e.setFullYear(Math.floor(e.getFullYear()/n)*n),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t*n)})):null};var wln=Cln,Sln=Cln.range,xln=jtn((function(n){n.setUTCSeconds(0,0)}),(function(n,e){n.setTime(+n+e*Utn)}),(function(n,e){return(e-n)/Utn}),(function(n){return n.getUTCMinutes()})),kln=xln,Eln=xln.range,Tln=jtn((function(n){n.setUTCMinutes(0,0,0)}),(function(n,e){n.setTime(+n+36e5*e)}),(function(n,e){return(e-n)/36e5}),(function(n){return n.getUTCHours()})),Rln=Tln,Iln=Tln.range,Dln=jtn((function(n){n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCDate(n.getUTCDate()+e)}),(function(n,e){return(e-n)/864e5}),(function(n){return n.getUTCDate()-1})),Fln=Dln,Oln=Dln.range;function Mln(n){return jtn((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-n)%7),e.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCDate(n.getUTCDate()+7*e)}),(function(n,e){return(e-n)/ztn}))}var Nln=Mln(0),Aln=Mln(1),Pln=Mln(2),qln=Mln(3),Lln=Mln(4),jln=Mln(5),Vln=Mln(6),Bln=Nln.range,Hln=Aln.range,Uln=Pln.range,zln=qln.range,Gln=Lln.range,Wln=jln.range,Zln=Vln.range,Kln=jtn((function(n){n.setUTCDate(1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCMonth(n.getUTCMonth()+e)}),(function(n,e){return e.getUTCMonth()-n.getUTCMonth()+12*(e.getUTCFullYear()-n.getUTCFullYear())}),(function(n){return n.getUTCMonth()})),Xln=Kln,Yln=Kln.range,$ln=jtn((function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e)}),(function(n,e){return e.getUTCFullYear()-n.getUTCFullYear()}),(function(n){return n.getUTCFullYear()}));$ln.every=function(n){return isFinite(n=Math.floor(n))&&n>0?jtn((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/n)*n),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t*n)})):null};var Qln=$ln,Jln=$ln.range;function non(n){if(0<=n.y&&n.y<100){var e=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return e.setFullYear(n.y),e}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function eon(n){if(0<=n.y&&n.y<100){var e=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return e.setUTCFullYear(n.y),e}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function ton(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}}function lon(n){var e=n.dateTime,t=n.date,l=n.time,o=n.periods,i=n.days,r=n.shortDays,a=n.months,u=n.shortMonths,s=mon(o),d=von(o),c=mon(i),p=von(i),f=mon(r),h=von(r),m=mon(a),v=von(a),g=mon(u),b=von(u),_={a:function(n){return r[n.getDay()]},A:function(n){return i[n.getDay()]},b:function(n){return u[n.getMonth()]},B:function(n){return a[n.getMonth()]},c:null,d:Pon,e:Pon,f:Bon,H:qon,I:Lon,j:jon,L:Von,m:Hon,M:Uon,p:function(n){return o[+(n.getHours()>=12)]},Q:gin,s:bin,S:zon,u:Gon,U:Won,V:Zon,w:Kon,W:Xon,x:null,X:null,y:Yon,Y:$on,Z:Qon,"%":vin},y={a:function(n){return r[n.getUTCDay()]},A:function(n){return i[n.getUTCDay()]},b:function(n){return u[n.getUTCMonth()]},B:function(n){return a[n.getUTCMonth()]},c:null,d:Jon,e:Jon,f:oin,H:nin,I:ein,j:tin,L:lin,m:iin,M:rin,p:function(n){return o[+(n.getUTCHours()>=12)]},Q:gin,s:bin,S:ain,u:uin,U:sin,V:din,w:cin,W:pin,x:null,X:null,y:fin,Y:hin,Z:min,"%":vin},C={a:function(n,e,t){var l=f.exec(e.slice(t));return l?(n.w=h[l[0].toLowerCase()],t+l[0].length):-1},A:function(n,e,t){var l=c.exec(e.slice(t));return l?(n.w=p[l[0].toLowerCase()],t+l[0].length):-1},b:function(n,e,t){var l=g.exec(e.slice(t));return l?(n.m=b[l[0].toLowerCase()],t+l[0].length):-1},B:function(n,e,t){var l=m.exec(e.slice(t));return l?(n.m=v[l[0].toLowerCase()],t+l[0].length):-1},c:function(n,t,l){return x(n,e,t,l)},d:Eon,e:Eon,f:Oon,H:Ron,I:Ron,j:Ton,L:Fon,m:kon,M:Ion,p:function(n,e,t){var l=s.exec(e.slice(t));return l?(n.p=d[l[0].toLowerCase()],t+l[0].length):-1},Q:Non,s:Aon,S:Don,u:bon,U:_on,V:yon,w:gon,W:Con,x:function(n,e,l){return x(n,t,e,l)},X:function(n,e,t){return x(n,l,e,t)},y:Son,Y:won,Z:xon,"%":Mon};function w(n,e){return function(t){var l,o,i,r=[],a=-1,u=0,s=n.length;for(t instanceof Date||(t=new Date(+t));++a<s;)37===n.charCodeAt(a)&&(r.push(n.slice(u,a)),null!=(o=son[l=n.charAt(++a)])?l=n.charAt(++a):o="e"===l?" ":"0",(i=e[l])&&(l=i(t,o)),r.push(l),u=a+1);return r.push(n.slice(u,a)),r.join("")}}function S(n,e){return function(t){var l,o,i=ton(1900);if(x(i,n,t+="",0)!=t.length)return null;if("Q"in i)return new Date(i.Q);if("p"in i&&(i.H=i.H%12+12*i.p),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(l=eon(ton(i.y))).getUTCDay(),l=o>4||0===o?Aln.ceil(l):Aln(l),l=Fln.offset(l,7*(i.V-1)),i.y=l.getUTCFullYear(),i.m=l.getUTCMonth(),i.d=l.getUTCDate()+(i.w+6)%7):(o=(l=e(ton(i.y))).getDay(),l=o>4||0===o?iln.ceil(l):iln(l),l=eln.offset(l,7*(i.V-1)),i.y=l.getFullYear(),i.m=l.getMonth(),i.d=l.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?eon(ton(i.y)).getUTCDay():e(ton(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,eon(i)):e(i)}}function x(n,e,t,l){for(var o,i,r=0,a=e.length,u=t.length;r<a;){if(l>=u)return-1;if(37===(o=e.charCodeAt(r++))){if(o=e.charAt(r++),!(i=C[o in son?e.charAt(r++):o])||(l=i(n,t,l))<0)return-1}else if(o!=t.charCodeAt(l++))return-1}return l}return _.x=w(t,_),_.X=w(l,_),_.c=w(e,_),y.x=w(t,y),y.X=w(l,y),y.c=w(e,y),{format:function(n){var e=w(n+="",_);return e.toString=function(){return n},e},parse:function(n){var e=S(n+="",non);return e.toString=function(){return n},e},utcFormat:function(n){var e=w(n+="",y);return e.toString=function(){return n},e},utcParse:function(n){var e=S(n,eon);return e.toString=function(){return n},e}}}var oon,ion,ron,aon,uon,son={"-":"",_:" ",0:"0"},don=/^\s*\d+/,con=/^%/,pon=/[\\^$*+?|[\]().{}]/g;function fon(n,e,t){var l=n<0?"-":"",o=(l?-n:n)+"",i=o.length;return l+(i<t?new Array(t-i+1).join(e)+o:o)}function hon(n){return n.replace(pon,"\\$&")}function mon(n){return new RegExp("^(?:"+n.map(hon).join("|")+")","i")}function von(n){for(var e={},t=-1,l=n.length;++t<l;)e[n[t].toLowerCase()]=t;return e}function gon(n,e,t){var l=don.exec(e.slice(t,t+1));return l?(n.w=+l[0],t+l[0].length):-1}function bon(n,e,t){var l=don.exec(e.slice(t,t+1));return l?(n.u=+l[0],t+l[0].length):-1}function _on(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.U=+l[0],t+l[0].length):-1}function yon(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.V=+l[0],t+l[0].length):-1}function Con(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.W=+l[0],t+l[0].length):-1}function won(n,e,t){var l=don.exec(e.slice(t,t+4));return l?(n.y=+l[0],t+l[0].length):-1}function Son(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.y=+l[0]+(+l[0]>68?1900:2e3),t+l[0].length):-1}function xon(n,e,t){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(t,t+6));return l?(n.Z=l[1]?0:-(l[2]+(l[3]||"00")),t+l[0].length):-1}function kon(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.m=l[0]-1,t+l[0].length):-1}function Eon(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.d=+l[0],t+l[0].length):-1}function Ton(n,e,t){var l=don.exec(e.slice(t,t+3));return l?(n.m=0,n.d=+l[0],t+l[0].length):-1}function Ron(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.H=+l[0],t+l[0].length):-1}function Ion(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.M=+l[0],t+l[0].length):-1}function Don(n,e,t){var l=don.exec(e.slice(t,t+2));return l?(n.S=+l[0],t+l[0].length):-1}function Fon(n,e,t){var l=don.exec(e.slice(t,t+3));return l?(n.L=+l[0],t+l[0].length):-1}function Oon(n,e,t){var l=don.exec(e.slice(t,t+6));return l?(n.L=Math.floor(l[0]/1e3),t+l[0].length):-1}function Mon(n,e,t){var l=con.exec(e.slice(t,t+1));return l?t+l[0].length:-1}function Non(n,e,t){var l=don.exec(e.slice(t));return l?(n.Q=+l[0],t+l[0].length):-1}function Aon(n,e,t){var l=don.exec(e.slice(t));return l?(n.Q=1e3*+l[0],t+l[0].length):-1}function Pon(n,e){return fon(n.getDate(),e,2)}function qon(n,e){return fon(n.getHours(),e,2)}function Lon(n,e){return fon(n.getHours()%12||12,e,2)}function jon(n,e){return fon(1+eln.count(wln(n),n),e,3)}function Von(n,e){return fon(n.getMilliseconds(),e,3)}function Bon(n,e){return Von(n,e)+"000"}function Hon(n,e){return fon(n.getMonth()+1,e,2)}function Uon(n,e){return fon(n.getMinutes(),e,2)}function zon(n,e){return fon(n.getSeconds(),e,2)}function Gon(n){var e=n.getDay();return 0===e?7:e}function Won(n,e){return fon(oln.count(wln(n),n),e,2)}function Zon(n,e){var t=n.getDay();return n=t>=4||0===t?uln(n):uln.ceil(n),fon(uln.count(wln(n),n)+(4===wln(n).getDay()),e,2)}function Kon(n){return n.getDay()}function Xon(n,e){return fon(iln.count(wln(n),n),e,2)}function Yon(n,e){return fon(n.getFullYear()%100,e,2)}function $on(n,e){return fon(n.getFullYear()%1e4,e,4)}function Qon(n){var e=n.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+fon(e/60|0,"0",2)+fon(e%60,"0",2)}function Jon(n,e){return fon(n.getUTCDate(),e,2)}function nin(n,e){return fon(n.getUTCHours(),e,2)}function ein(n,e){return fon(n.getUTCHours()%12||12,e,2)}function tin(n,e){return fon(1+Fln.count(Qln(n),n),e,3)}function lin(n,e){return fon(n.getUTCMilliseconds(),e,3)}function oin(n,e){return lin(n,e)+"000"}function iin(n,e){return fon(n.getUTCMonth()+1,e,2)}function rin(n,e){return fon(n.getUTCMinutes(),e,2)}function ain(n,e){return fon(n.getUTCSeconds(),e,2)}function uin(n){var e=n.getUTCDay();return 0===e?7:e}function sin(n,e){return fon(Nln.count(Qln(n),n),e,2)}function din(n,e){var t=n.getUTCDay();return n=t>=4||0===t?Lln(n):Lln.ceil(n),fon(Lln.count(Qln(n),n)+(4===Qln(n).getUTCDay()),e,2)}function cin(n){return n.getUTCDay()}function pin(n,e){return fon(Aln.count(Qln(n),n),e,2)}function fin(n,e){return fon(n.getUTCFullYear()%100,e,2)}function hin(n,e){return fon(n.getUTCFullYear()%1e4,e,4)}function min(){return"+0000"}function vin(){return"%"}function gin(n){return+n}function bin(n){return Math.floor(+n/1e3)}function _in(n){return oon=lon(n),ion=oon.format,ron=oon.parse,aon=oon.utcFormat,uon=oon.utcParse,oon}_in({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var yin=Date.prototype.toISOString?function(n){return n.toISOString()}:aon("%Y-%m-%dT%H:%M:%S.%LZ"),Cin=+new Date("2000-01-01T00:00:00.000Z")?function(n){var e=new Date(n);return isNaN(e)?null:e}:uon("%Y-%m-%dT%H:%M:%S.%LZ"),win=1e3,Sin=60*win,xin=60*Sin,kin=24*xin,Ein=7*kin,Tin=30*kin,Rin=365*kin;function Iin(n){return new Date(n)}function Din(n){return n instanceof Date?+n:+new Date(+n)}function Fin(n,e,t,l,o,i,r,a,u){var s=btn(htn,bA),d=s.invert,c=s.domain,p=u(".%L"),f=u(":%S"),h=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),g=u("%b %d"),b=u("%B"),_=u("%Y"),y=[[r,1,win],[r,5,5*win],[r,15,15*win],[r,30,30*win],[i,1,Sin],[i,5,5*Sin],[i,15,15*Sin],[i,30,30*Sin],[o,1,xin],[o,3,3*xin],[o,6,6*xin],[o,12,12*xin],[l,1,kin],[l,2,2*kin],[t,1,Ein],[e,1,Tin],[e,3,3*Tin],[n,1,Rin]];function C(a){return(r(a)<a?p:i(a)<a?f:o(a)<a?h:l(a)<a?m:e(a)<a?t(a)<a?v:g:n(a)<a?b:_)(a)}function w(e,t,l,o){if(null==e&&(e=10),"number"==typeof e){var i=Math.abs(l-t)/e,r=I1((function(n){return n[2]})).right(y,i);r===y.length?(o=J1(t/Rin,l/Rin,e),e=n):r?(o=(r=y[i/y[r-1][2]<y[r][2]/i?r-1:r])[1],e=r[0]):(o=Math.max(J1(t,l,e),1),e=a)}return null==o?e:e.every(o)}return s.invert=function(n){return new Date(d(n))},s.domain=function(n){return arguments.length?c(itn.call(n,Din)):c().map(Iin)},s.ticks=function(n,e){var t,l=c(),o=l[0],i=l[l.length-1],r=i<o;return r&&(t=o,o=i,i=t),t=(t=w(n,o,i,e))?t.range(o,i+1):[],r?t.reverse():t},s.tickFormat=function(n,e){return null==e?C:u(e)},s.nice=function(n,e){var t=c();return(n=w(n,t[0],t[t.length-1],e))?c(Stn(t,n)):s},s.copy=function(){return gtn(s,Fin(n,e,t,l,o,i,r,a,u))},s}var Oin=function(){return Fin(wln,_ln,oln,eln,Qtn,Xtn,Wtn,Btn,ion).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},Min=function(){return Fin(Qln,Xln,Nln,Fln,Rln,kln,Wtn,Btn,aon).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};function Nin(n){var e=0,t=1,l=!1;function o(o){var i=(o-e)/(t-e);return n(l?Math.max(0,Math.min(1,i)):i)}return o.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],o):[e,t]},o.clamp=function(n){return arguments.length?(l=!!n,o):l},o.interpolator=function(e){return arguments.length?(n=e,o):n},o.copy=function(){return Nin(n).domain([e,t]).clamp(l)},ytn(o)}var Ain=function(n){for(var e=n.length/6|0,t=new Array(e),l=0;l<e;)t[l]="#"+n.slice(6*l,6*++l);return t},Pin=Ain("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),qin=Ain("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Lin=Ain("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),jin=Ain("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Vin=Ain("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Bin=Ain("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Hin=Ain("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Uin=Ain("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),zin=Ain("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Gin=function(n){return hA(n[n.length-1])},Win=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Ain),Zin=Gin(Win),Kin=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Ain),Xin=Gin(Kin),Yin=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Ain),$in=Gin(Yin),Qin=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Ain),Jin=Gin(Qin),nrn=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Ain),ern=Gin(nrn),trn=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Ain),lrn=Gin(trn),orn=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Ain),irn=Gin(orn),rrn=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Ain),arn=Gin(rrn),urn=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Ain),srn=Gin(urn),drn=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Ain),crn=Gin(drn),prn=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Ain),frn=Gin(prn),hrn=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Ain),mrn=Gin(hrn),vrn=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Ain),grn=Gin(vrn),brn=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Ain),_rn=Gin(brn),yrn=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Ain),Crn=Gin(yrn),wrn=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Ain),Srn=Gin(wrn),xrn=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Ain),krn=Gin(xrn),Ern=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Ain),Trn=Gin(Ern),Rrn=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Ain),Irn=Gin(Rrn),Drn=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Ain),Frn=Gin(Drn),Orn=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Ain),Mrn=Gin(Orn),Nrn=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Ain),Arn=Gin(Nrn),Prn=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Ain),qrn=Gin(Prn),Lrn=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Ain),jrn=Gin(Lrn),Vrn=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Ain),Brn=Gin(Vrn),Hrn=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Ain),Urn=Gin(Hrn),zrn=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Ain),Grn=Gin(zrn),Wrn=GA(JN(300,.5,0),JN(-240,.5,1)),Zrn=GA(JN(-100,.75,.35),JN(80,1.5,.8)),Krn=GA(JN(260,.75,.35),JN(80,1.5,.8)),Xrn=JN(),Yrn=function(n){(n<0||n>1)&&(n-=Math.floor(n));var e=Math.abs(n-.5);return Xrn.h=360*n-100,Xrn.s=1.5-1.5*e,Xrn.l=.8-.9*e,Xrn+""};function $rn(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}}var Qrn=$rn(Ain("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Jrn=$rn(Ain("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),nan=$rn(Ain("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ean=$rn(Ain("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function tan(n,e){return n.each((function(){var n=e.apply(this,arguments),t=nO(this);for(var l in n)t.attr(l,n[l])}))}function lan(n,e){for(var t in e)n.attr(t,e[t]);return n}function oan(n,e,t){return n.each((function(){var n=e.apply(this,arguments),l=nO(this);for(var o in n)l.style(o,n[o],t)}))}function ian(n,e,t){for(var l in e)n.style(l,e[l],t);return n}function ran(n,e){return n.each((function(){var n=e.apply(this,arguments),t=nO(this);for(var l in n)t.property(l,n[l])}))}function aan(n,e){for(var t in e)n.property(t,e[t]);return n}function uan(n,e){return n.each((function(){var t=e.apply(this,arguments),l=nO(this).transition(n);for(var o in t)l.attr(o,t[o])}))}function san(n,e){for(var t in e)n.attr(t,e[t]);return n}function dan(n,e,t){return n.each((function(){var l=e.apply(this,arguments),o=nO(this).transition(n);for(var i in l)o.style(i,l[i],t)}))}function can(n,e,t){for(var l in e)n.style(l,e[l],t);return n}JF.prototype.attrs=function(n){return("function"==typeof n?tan:lan)(this,n)},JF.prototype.styles=function(n,e){return("function"==typeof n?oan:ian)(this,n,null==e?"":e)},JF.prototype.properties=function(n){return("function"==typeof n?ran:aan)(this,n)},WP.prototype.attrs=function(n){return("function"==typeof n?uan:san)(this,n)},WP.prototype.styles=function(n,e){return("function"==typeof n?dan:can)(this,n,null==e?"":e)};var pan,fan,han=0,man=0,van=0,gan=1e3,ban=0,_an=0,yan=0,Can="object"==typeof performance&&performance.now?performance:Date,wan="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function San(){return _an||(wan(xan),_an=Can.now()+yan)}function xan(){_an=0}function kan(){this._call=this._time=this._next=null}function Ean(n,e,t){var l=new kan;return l.restart(n,e,t),l}function Tan(){San(),++han;for(var n,e=pan;e;)(n=_an-e._time)>=0&&e._call.call(null,n),e=e._next;--han}function Ran(){_an=(ban=Can.now())+yan,han=man=0;try{Tan()}finally{han=0,function(){for(var n,e,t=pan,l=1/0;t;)t._call?(l>t._time&&(l=t._time),n=t,t=t._next):(e=t._next,t._next=null,t=n?n._next=e:pan=e);fan=n,Dan(l)}(),_an=0}}function Ian(){var n=Can.now(),e=n-ban;e>gan&&(yan-=e,ban=n)}function Dan(n){han||(man&&(man=clearTimeout(man)),n-_an>24?(n<1/0&&(man=setTimeout(Ran,n-Can.now()-yan)),van&&(van=clearInterval(van))):(van||(ban=Can.now(),van=setInterval(Ian,gan)),han=1,wan(Ran)))}kan.prototype=Ean.prototype={constructor:kan,restart:function(n,e,t){if("function"!=typeof n)throw new TypeError("callback is not a function");t=(null==t?San():+t)+(null==e?0:+e),this._next||fan===this||(fan?fan._next=this:pan=this,fan=this),this._call=n,this._time=t,Dan()},stop:function(){this._call&&(this._call=null,this._time=1/0,Dan())}};var Fan=function(n,e,t){var l=new kan;return l.restart((function(t){l.stop(),n(t+e)}),e=null==e?0:+e,t),l},Oan=function(n,e,t){var l=new kan,o=e;return null==e?(l.restart(n,e,t),l):(e=+e,t=null==t?San():+t,l.restart((function i(r){r+=o,l.restart(i,o+=e,t),n(r)}),e,t),l)},Man=function(n){return function(){return n}};function Nan(n){return n[0]}function Aan(n){return n[1]}function Pan(){this._=null}function qan(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function Lan(n,e){var t=e,l=e.R,o=t.U;o?o.L===t?o.L=l:o.R=l:n._=l,l.U=o,t.U=l,t.R=l.L,t.R&&(t.R.U=t),l.L=t}function jan(n,e){var t=e,l=e.L,o=t.U;o?o.L===t?o.L=l:o.R=l:n._=l,l.U=o,t.U=l,t.L=l.R,t.L&&(t.L.U=t),l.R=t}function Van(n){for(;n.L;)n=n.L;return n}Pan.prototype={constructor:Pan,insert:function(n,e){var t,l,o;if(n){if(e.P=n,e.N=n.N,n.N&&(n.N.P=e),n.N=e,n.R){for(n=n.R;n.L;)n=n.L;n.L=e}else n.R=e;t=n}else this._?(n=Van(this._),e.P=null,e.N=n,n.P=n.L=e,t=n):(e.P=e.N=null,this._=e,t=null);for(e.L=e.R=null,e.U=t,e.C=!0,n=e;t&&t.C;)t===(l=t.U).L?(o=l.R)&&o.C?(t.C=o.C=!1,l.C=!0,n=l):(n===t.R&&(Lan(this,t),t=(n=t).U),t.C=!1,l.C=!0,jan(this,l)):(o=l.L)&&o.C?(t.C=o.C=!1,l.C=!0,n=l):(n===t.L&&(jan(this,t),t=(n=t).U),t.C=!1,l.C=!0,Lan(this,l)),t=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var e,t,l,o=n.U,i=n.L,r=n.R;if(t=i?r?Van(r):i:r,o?o.L===n?o.L=t:o.R=t:this._=t,i&&r?(l=t.C,t.C=n.C,t.L=i,i.U=t,t!==r?(o=t.U,t.U=n.U,o.L=n=t.R,t.R=r,r.U=t):(t.U=o,o=t,n=t.R)):(l=n.C,n=t),n&&(n.U=o),!l)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===o.L){if((e=o.R).C&&(e.C=!1,o.C=!0,Lan(this,o),e=o.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,jan(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,Lan(this,o),n=this._;break}}else if((e=o.L).C&&(e.C=!1,o.C=!0,jan(this,o),e=o.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Lan(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,jan(this,o),n=this._;break}e.C=!0,n=o,o=o.U}while(!n.C);n&&(n.C=!1)}}};var Ban=Pan;function Han(n,e,t,l){var o=[null,null],i=pun.push(o)-1;return o.left=n,o.right=e,t&&zan(o,n,e,t),l&&zan(o,e,n,l),dun[n.index].halfedges.push(i),dun[e.index].halfedges.push(i),o}function Uan(n,e,t){var l=[e,t];return l.left=n,l}function zan(n,e,t,l){n[0]||n[1]?n.left===t?n[1]=l:n[0]=l:(n[0]=l,n.left=e,n.right=t)}function Gan(n,e,t,l,o){var i,r=n[0],a=n[1],u=r[0],s=r[1],d=0,c=1,p=a[0]-u,f=a[1]-s;if(i=e-u,p||!(i>0)){if(i/=p,p<0){if(i<d)return;i<c&&(c=i)}else if(p>0){if(i>c)return;i>d&&(d=i)}if(i=l-u,p||!(i<0)){if(i/=p,p<0){if(i>c)return;i>d&&(d=i)}else if(p>0){if(i<d)return;i<c&&(c=i)}if(i=t-s,f||!(i>0)){if(i/=f,f<0){if(i<d)return;i<c&&(c=i)}else if(f>0){if(i>c)return;i>d&&(d=i)}if(i=o-s,f||!(i<0)){if(i/=f,f<0){if(i>c)return;i>d&&(d=i)}else if(f>0){if(i<d)return;i<c&&(c=i)}return!(d>0||c<1)||(d>0&&(n[0]=[u+d*p,s+d*f]),c<1&&(n[1]=[u+c*p,s+c*f]),!0)}}}}}function Wan(n,e,t,l,o){var i=n[1];if(i)return!0;var r,a,u=n[0],s=n.left,d=n.right,c=s[0],p=s[1],f=d[0],h=d[1],m=(c+f)/2;if(h===p){if(m<e||m>=l)return;if(c>f){if(u){if(u[1]>=o)return}else u=[m,t];i=[m,o]}else{if(u){if(u[1]<t)return}else u=[m,o];i=[m,t]}}else if(a=(p+h)/2-(r=(c-f)/(h-p))*m,r<-1||r>1)if(c>f){if(u){if(u[1]>=o)return}else u=[(t-a)/r,t];i=[(o-a)/r,o]}else{if(u){if(u[1]<t)return}else u=[(o-a)/r,o];i=[(t-a)/r,t]}else if(p<h){if(u){if(u[0]>=l)return}else u=[e,r*e+a];i=[l,r*l+a]}else{if(u){if(u[0]<e)return}else u=[l,r*l+a];i=[e,r*e+a]}return n[0]=u,n[1]=i,!0}function Zan(n,e){var t=n.site,l=e.left,o=e.right;return t===o&&(o=l,l=t),o?Math.atan2(o[1]-l[1],o[0]-l[0]):(t===l?(l=e[1],o=e[0]):(l=e[0],o=e[1]),Math.atan2(l[0]-o[0],o[1]-l[1]))}function Kan(n,e){return e[+(e.left!==n.site)]}function Xan(n,e){return e[+(e.left===n.site)]}var Yan,$an=[];function Qan(){qan(this),this.x=this.y=this.arc=this.site=this.cy=null}function Jan(n){var e=n.P,t=n.N;if(e&&t){var l=e.site,o=n.site,i=t.site;if(l!==i){var r=o[0],a=o[1],u=l[0]-r,s=l[1]-a,d=i[0]-r,c=i[1]-a,p=2*(u*c-s*d);if(!(p>=-hun)){var f=u*u+s*s,h=d*d+c*c,m=(c*f-s*h)/p,v=(u*h-d*f)/p,g=$an.pop()||new Qan;g.arc=n,g.site=o,g.x=m+r,g.y=(g.cy=v+a)+Math.sqrt(m*m+v*v),n.circle=g;for(var b=null,_=cun._;_;)if(g.y<_.y||g.y===_.y&&g.x<=_.x){if(!_.L){b=_.P;break}_=_.L}else{if(!_.R){b=_;break}_=_.R}cun.insert(b,g),b||(Yan=g)}}}}function nun(n){var e=n.circle;e&&(e.P||(Yan=e.N),cun.remove(e),$an.push(e),qan(e),n.circle=null)}var eun=[];function tun(){qan(this),this.edge=this.site=this.circle=null}function lun(n){var e=eun.pop()||new tun;return e.site=n,e}function oun(n){nun(n),sun.remove(n),eun.push(n),qan(n)}function iun(n){var e=n.circle,t=e.x,l=e.cy,o=[t,l],i=n.P,r=n.N,a=[n];oun(n);for(var u=i;u.circle&&Math.abs(t-u.circle.x)<fun&&Math.abs(l-u.circle.cy)<fun;)i=u.P,a.unshift(u),oun(u),u=i;a.unshift(u),nun(u);for(var s=r;s.circle&&Math.abs(t-s.circle.x)<fun&&Math.abs(l-s.circle.cy)<fun;)r=s.N,a.push(s),oun(s),s=r;a.push(s),nun(s);var d,c=a.length;for(d=1;d<c;++d)zan((s=a[d]).edge,(u=a[d-1]).site,s.site,o);(s=a[c-1]).edge=Han((u=a[0]).site,s.site,null,o),Jan(u),Jan(s)}function run(n){for(var e,t,l,o,i=n[0],r=n[1],a=sun._;a;)if((l=aun(a,r)-i)>fun)a=a.L;else{if(!((o=i-uun(a,r))>fun)){l>-fun?(e=a.P,t=a):o>-fun?(e=a,t=a.N):e=t=a;break}if(!a.R){e=a;break}a=a.R}!function(n){dun[n.index]={site:n,halfedges:[]}}(n);var u=lun(n);if(sun.insert(e,u),e||t){if(e===t)return nun(e),t=lun(e.site),sun.insert(u,t),u.edge=t.edge=Han(e.site,u.site),Jan(e),void Jan(t);if(t){nun(e),nun(t);var s=e.site,d=s[0],c=s[1],p=n[0]-d,f=n[1]-c,h=t.site,m=h[0]-d,v=h[1]-c,g=2*(p*v-f*m),b=p*p+f*f,_=m*m+v*v,y=[(v*b-f*_)/g+d,(p*_-m*b)/g+c];zan(t.edge,s,h,y),u.edge=Han(s,n,null,y),t.edge=Han(n,h,null,y),Jan(e),Jan(t)}else u.edge=Han(e.site,u.site)}}function aun(n,e){var t=n.site,l=t[0],o=t[1],i=o-e;if(!i)return l;var r=n.P;if(!r)return-1/0;var a=(t=r.site)[0],u=t[1],s=u-e;if(!s)return a;var d=a-l,c=1/i-1/s,p=d/s;return c?(-p+Math.sqrt(p*p-2*c*(d*d/(-2*s)-u+s/2+o-i/2)))/c+l:(l+a)/2}function uun(n,e){var t=n.N;if(t)return aun(t,e);var l=n.site;return l[1]===e?l[0]:1/0}var sun,dun,cun,pun,fun=1e-6,hun=1e-12;function mun(n,e){return e[1]-n[1]||e[0]-n[0]}function vun(n,e){var t,l,o,i=n.sort(mun).pop();for(pun=[],dun=new Array(n.length),sun=new Ban,cun=new Ban;;)if(o=Yan,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))i[0]===t&&i[1]===l||(run(i),t=i[0],l=i[1]),i=n.pop();else{if(!o)break;iun(o.arc)}if(function(){for(var n,e,t,l,o=0,i=dun.length;o<i;++o)if((n=dun[o])&&(l=(e=n.halfedges).length)){var r=new Array(l),a=new Array(l);for(t=0;t<l;++t)r[t]=t,a[t]=Zan(n,pun[e[t]]);for(r.sort((function(n,e){return a[e]-a[n]})),t=0;t<l;++t)a[t]=e[r[t]];for(t=0;t<l;++t)e[t]=a[t]}}(),e){var r=+e[0][0],a=+e[0][1],u=+e[1][0],s=+e[1][1];!function(n,e,t,l){for(var o,i=pun.length;i--;)Wan(o=pun[i],n,e,t,l)&&Gan(o,n,e,t,l)&&(Math.abs(o[0][0]-o[1][0])>fun||Math.abs(o[0][1]-o[1][1])>fun)||delete pun[i]}(r,a,u,s),function(n,e,t,l){var o,i,r,a,u,s,d,c,p,f,h,m,v=dun.length,g=!0;for(o=0;o<v;++o)if(i=dun[o]){for(r=i.site,a=(u=i.halfedges).length;a--;)pun[u[a]]||u.splice(a,1);for(a=0,s=u.length;a<s;)h=(f=Xan(i,pun[u[a]]))[0],m=f[1],c=(d=Kan(i,pun[u[++a%s]]))[0],p=d[1],(Math.abs(h-c)>fun||Math.abs(m-p)>fun)&&(u.splice(a,0,pun.push(Uan(r,f,Math.abs(h-n)<fun&&l-m>fun?[n,Math.abs(c-n)<fun?p:l]:Math.abs(m-l)<fun&&t-h>fun?[Math.abs(p-l)<fun?c:t,l]:Math.abs(h-t)<fun&&m-e>fun?[t,Math.abs(c-t)<fun?p:e]:Math.abs(m-e)<fun&&h-n>fun?[Math.abs(p-e)<fun?c:n,e]:null))-1),++s);s&&(g=!1)}if(g){var b,_,y,C=1/0;for(o=0,g=null;o<v;++o)(i=dun[o])&&(y=(b=(r=i.site)[0]-n)*b+(_=r[1]-e)*_)<C&&(C=y,g=i);if(g){var w=[n,e],S=[n,l],x=[t,l],k=[t,e];g.halfedges.push(pun.push(Uan(r=g.site,w,S))-1,pun.push(Uan(r,S,x))-1,pun.push(Uan(r,x,k))-1,pun.push(Uan(r,k,w))-1)}}for(o=0;o<v;++o)(i=dun[o])&&(i.halfedges.length||delete dun[o])}(r,a,u,s)}this.edges=pun,this.cells=dun,sun=cun=pun=dun=null}vun.prototype={constructor:vun,polygons:function(){var n=this.edges;return this.cells.map((function(e){var t=e.halfedges.map((function(t){return Kan(e,n[t])}));return t.data=e.site.data,t}))},triangles:function(){var n=[],e=this.edges;return this.cells.forEach((function(t,l){if(i=(o=t.halfedges).length)for(var o,i,r,a,u,s,d=t.site,c=-1,p=e[o[i-1]],f=p.left===d?p.right:p.left;++c<i;)r=f,f=(p=e[o[c]]).left===d?p.right:p.left,r&&f&&l<r.index&&l<f.index&&((a=d)[0]-(s=f)[0])*((u=r)[1]-a[1])-(a[0]-u[0])*(s[1]-a[1])<0&&n.push([d.data,r.data,f.data])})),n},links:function(){return this.edges.filter((function(n){return n.right})).map((function(n){return{source:n.left.data,target:n.right.data}}))},find:function(n,e,t){for(var l,o,i=this,r=i._found||0,a=i.cells.length;!(o=i.cells[r]);)if(++r>=a)return null;var u=n-o.site[0],s=e-o.site[1],d=u*u+s*s;do{o=i.cells[l=r],r=null,o.halfedges.forEach((function(t){var l=i.edges[t],a=l.left;if(a!==o.site&&a||(a=l.right)){var u=n-a[0],s=e-a[1],c=u*u+s*s;c<d&&(d=c,r=a.index)}}))}while(null!==r);return i._found=l,null==t||d<=t*t?o.site:null}};var gun=function(){var n=Nan,e=Aan,t=null;function l(l){return new vun(l.map((function(t,o){var i=[Math.round(n(t,o,l)/fun)*fun,Math.round(e(t,o,l)/fun)*fun];return i.index=o,i.data=t,i})),t)}return l.polygons=function(n){return l(n).polygons()},l.links=function(n){return l(n).links()},l.triangles=function(n){return l(n).triangles()},l.x=function(e){return arguments.length?(n="function"==typeof e?e:Man(+e),l):n},l.y=function(n){return arguments.length?(e="function"==typeof n?n:Man(+n),l):e},l.extent=function(n){return arguments.length?(t=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],l):t&&[[t[0][0],t[0][1]],[t[1][0],t[1][1]]]},l.size=function(n){return arguments.length?(t=null==n?null:[[0,0],[+n[0],+n[1]]],l):t&&[t[1][0]-t[0][0],t[1][1]-t[0][1]]},l},bun=function(){function n(){}return n.prototype.getD3=function(){return l},n}(),_un=function(){function n(n,e){this.utils=new yun,this.dbWrapper=new Cun(n,e)}return n.prototype.openDatabase=function(n,e){var t=this,l=this;return new Promise((function(o,i){t.dbWrapper.dbVersion=n;var r=t.utils.indexedDB.open(t.dbWrapper.dbName,n);r.onsuccess=function(n){l.dbWrapper.db=r.result,o()},r.onerror=function(n){i(n.target.errorCode+" ("+n.target.error+")")},"function"==typeof e&&(r.onupgradeneeded=function(n){e(n,l.dbWrapper.db)})}))},n.prototype.getByKey=function(n,e){var t=this;return new Promise((function(l,o){t.dbWrapper.validateBeforeTransaction(n,o),t.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){o(n)},complete:function(n){}}).objectStore(n).get(e).onsuccess=function(n){l(n.target.result)}}))},n.prototype.getAll=function(n,e,t){var l=this;return new Promise((function(o,i){l.dbWrapper.validateBeforeTransaction(n,i);var r,a=l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){i(n)},complete:function(n){}}).objectStore(n),u=[];(r=t?a.index(t.indexName).openCursor(e,"desc"===t.order?"prev":"next"):a.openCursor(e)).onerror=function(n){i(n)},r.onsuccess=function(n){var e=n.target.result;e?(u.push(e.value),e.continue()):o(u)}}))},n.prototype.add=function(n,e,t){var l=this;return new Promise((function(o,i){l.dbWrapper.validateBeforeTransaction(n,i),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){i(n)},complete:function(n){o({key:t,value:e})}}).objectStore(n).add(e,t).onsuccess=function(n){t=n.target.result}}))},n.prototype.update=function(n,e,t){var l=this;return new Promise((function(o,i){l.dbWrapper.validateBeforeTransaction(n,i),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){i(n)},complete:function(n){o(e)},abort:function(n){i(n)}}).objectStore(n).put(e,t)}))},n.prototype.delete=function(n,e){var t=this;return new Promise((function(l,o){t.dbWrapper.validateBeforeTransaction(n,o),t.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){o(n)},complete:function(n){l()},abort:function(n){o(n)}}).objectStore(n).delete(e)}))},n.prototype.openCursor=function(n,e,t){var l=this;return new Promise((function(o,i){l.dbWrapper.validateBeforeTransaction(n,i),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){i(n)},complete:function(n){o()},abort:function(n){i(n)}}).objectStore(n).openCursor(t).onsuccess=function(n){e(n),o()}}))},n.prototype.clear=function(n){var e=this;return new Promise((function(t,l){e.dbWrapper.validateBeforeTransaction(n,l),e.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){l(n)},complete:function(n){t()},abort:function(n){l(n)}}).objectStore(n).clear(),t()}))},n.prototype.getByIndex=function(n,e,t){var l=this;return new Promise((function(o,i){l.dbWrapper.validateBeforeTransaction(n,i),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){i(n)},abort:function(n){i(n)},complete:function(n){}}).objectStore(n).index(e).get(t).onsuccess=function(n){o(n.target.result)}}))},n}(),yun=function(){return function(){this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}}(),Cun=function(){function n(n,e){this.dbName=n,this.dbVersion=e||1,this.db=null}return n.prototype.validateStoreName=function(n){return this.db.objectStoreNames.contains(n)},n.prototype.validateBeforeTransaction=function(n,e){this.db||e("You need to use the openDatabase function to create a database before you query it!"),this.validateStoreName(n)||e("objectStore does not exists: "+n)},n.prototype.createTransaction=function(n){var e=this.db.transaction(n.storeName,n.dbMode);return e.onerror=n.error,e.oncomplete=n.complete,e.onabort=n.abort,e},n}(),wun=function(){function n(){this.db=new _un(n.DATABASE,n.VERSION)}return n.prototype.get=function(){return this.db},n.VERSION=1,n.DATABASE="gns3-web-ui",n}(),Sun=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.getItemKey=function(n){return n.symbol_id},e}(OM),xun=function(){function n(n){this.httpServer=n}return n.prototype.get=function(n){return this.httpServer.get(n,"/settings")},n.prototype.update=function(n,e){return this.httpServer.post(n,"/settings",e)},n.prototype.getSettingsForQemu=function(n){return this.httpServer.get(n,"/settings/qemu")},n.prototype.updateSettingsForQemu=function(n,e){return this.httpServer.put(n,"/settings/qemu",{enable_hardware_acceleration:e.enable_hardware_acceleration,require_hardware_acceleration:e.require_hardware_acceleration})},n}(),kun=function(){function n(n){this.electronService=n}return n.prototype.isWindows=function(){return"win32"===this.electronService.process.platform},n.prototype.isLinux=function(){return"linux"===this.electronService.process.platform},n.prototype.isDarwin=function(){return"darwin"===this.electronService.process.platform},n}(),Eun=function(){function n(n){this.platformService=n}return n.prototype.get=function(){return this.platformService.isWindows()?this.getForWindows():this.platformService.isDarwin()?this.getForDarwin():this.getForLinux()},n.prototype.getForWindows=function(){var n=[{name:"Wireshark",locations:["C:\\Program Files\\Wireshark\\Wireshark.exe"],type:"web",resource:"https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-2.6.3.exe",binary:"Wireshark.exe",sudo:!0,installation_arguments:[],installed:!1,installer:!0}];return n},n.prototype.getForLinux=function(){return[]},n.prototype.getForDarwin=function(){return[]},n}(),Tun=function(){function n(n){this.electronService=n}return n.prototype.get=function(){if(this.electronService.isElectronApp)return this.electronService.isLinux?'xfce4-terminal --tab -T "%d" -e "telnet %h %p"':this.electronService.isWindows?'putty.exe -telnet %h %p -loghost "%d"':void 0},n}(),Run=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),Iun=function(){return function(n){n.events.subscribe((function(n){n instanceof ne&&(ga("set","page",n.url),ga("send","pageview"))}))}}(),Dun=function(){function n(n){this.serverService=n}return n.prototype.resolve=function(n){return this.serverService.get(parseInt(n.params.server_id))},n}(),Fun=function(){function n(n,e,t,l){this.projectService=n,this.serverService=e,this.toasterService=t,this.router=l}return n.prototype.canActivate=function(n,e){var t=this,l=n.paramMap.get("server_id"),o=n.paramMap.get("project_id");return Object(Tn.a)(this.serverService.get(parseInt(l,10))).pipe(Object(Hn.a)((function(n){return n||t.router.navigate(["/servers"]),t.projectService.list(n)})),Object(An.a)((function(n){return!!n.find((function(n){return n.project_id===o}))||(t.toasterService.error("Project could not be opened"),t.projectService.projectListUpdated(),!1)})))},n}(),Oun=function(){function n(n,e){this.consoleService=n,this.bottomSheet=e}return n.prototype.canDeactivate=function(){if(this.consoleService.openConsoles>0){this.bottomSheet.open(Xm);var n=this.bottomSheet._openedBottomSheetRef;return n.instance.message="Exiting the project will close open consoles, do you want to continue?",n.afterDismissed()}return!0},n}(),Mun=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i.c(e,n),e.prototype.handleError=function(e){n.prototype.handleError.call(this,e);var t=this.injector.get(hc);e.error&&e.error.message?t.error(e.error.message):e.message?t.error(e.message):e.error&&t.error(e.error)},e}(function(){function n(n){this.injector=n}return n.prototype.handleError=function(n){xn.shouldSend=this.shouldSend(),console.error(n.originalError||n)},n.prototype.shouldSend=function(){return this.injector.get(_b).get("crash_reports")},n}()),Nun=function(){return function(){}}(),Aun=function(){return function(){}}(),Pun=function(){return function(){}}(),qun=function(){return function(){}}(),Lun=function(){return function(){}}(),jun=function(){return function(){}}(),Vun=o["ɵcmf"](kn,[zl],(function(n){return o["ɵmod"]([o["ɵmpd"](512,o.ComponentFactoryResolver,o["ɵCodegenComponentFactoryResolver"],[[8,[Xl,_c,zv,Xv,Mb,S_,j_,z_,my,iC,dC,RC,NC,hw,_w,jw,Gw,cS,wS,TS,JS,dx,mx,jx,$x,Xk,bE,SE,AE,VE,ST,NT,WT,tR,aR,_R,FR,LR,YR,uI,mI,TI,LI,UI,JI,cD,SD,RD,LD,$Z,tK,aK,pK,kK,DK,NK,jK,$K,eX,fX,SX,FX,qX,UX,YX,eY,iY,Jw,sY,hY,_Y,kY,FY,qY,BY,JY,l$,s$,f$,y$,M$,V$,iQ,FQ,zQ,$Q,lJ,sJ,mJ,_J,SJ,PJ,VJ,zJ,s0,f0,g0,X_,x0]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["ɵmpd"](5120,o.LOCALE_ID,o["ɵangular_packages_core_core_p"],[[3,o.LOCALE_ID]]),o["ɵmpd"](4608,r.NgLocalization,r.NgLocaleLocalization,[o.LOCALE_ID,[2,r["ɵangular_packages_common_common_a"]]]),o["ɵmpd"](5120,o["ɵangular_packages_core_core_ba"],o["ɵangular_packages_core_core_r"],[o.NgZone]),o["ɵmpd"](5120,o.APP_ID,o["ɵangular_packages_core_core_f"],[]),o["ɵmpd"](5120,o.IterableDiffers,o["ɵangular_packages_core_core_n"],[]),o["ɵmpd"](5120,o.KeyValueDiffers,o["ɵangular_packages_core_core_o"],[]),o["ɵmpd"](4608,rn,an,[r.DOCUMENT]),o["ɵmpd"](6144,o.Sanitizer,null,[rn]),o["ɵmpd"](4608,Q,Yo,[[2,Zo],[2,jo]]),o["ɵmpd"](5120,k,(function(n,e,t,l,o,i,r,a){return[new Y(n,e,t),new on(l),new en(o,i,r,a)]}),[r.DOCUMENT,o.NgZone,o.PLATFORM_ID,r.DOCUMENT,r.DOCUMENT,Q,o["ɵConsole"],[2,J]]),o["ɵmpd"](4608,E,E,[k,o.NgZone]),o["ɵmpd"](135680,I,I,[r.DOCUMENT]),o["ɵmpd"](4608,P,P,[E,I,o.APP_ID]),o["ɵmpd"](5120,tr,$a,[]),o["ɵmpd"](5120,Wr,Qa,[]),o["ɵmpd"](4608,wa,Ya,[r.DOCUMENT,tr,Wr]),o["ɵmpd"](5120,o.RendererFactory2,Ja,[P,wa,o.NgZone]),o["ɵmpd"](6144,R,null,[I]),o["ɵmpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["ɵmpd"](4608,ju,Vu,[r.DOCUMENT,o.PLATFORM_ID,qu]),o["ɵmpd"](4608,Bu,Bu,[ju,Lu]),o["ɵmpd"](5120,Fu,(function(n){return[n]}),[Bu]),o["ɵmpd"](4608,Au,Au,[]),o["ɵmpd"](6144,Nu,null,[Au]),o["ɵmpd"](4608,Pu,Pu,[Nu]),o["ɵmpd"](6144,hu,null,[Pu]),o["ɵmpd"](4608,fu,Hu,[hu,o.Injector]),o["ɵmpd"](4608,Iu,Iu,[fu]),o["ɵmpd"](5120,rt,jl,[vl]),o["ɵmpd"](4608,El,El,[]),o["ɵmpd"](6144,xl,null,[El]),o["ɵmpd"](135680,Tl,Tl,[vl,o.NgModuleFactoryLoader,o.Compiler,o.Injector,xl]),o["ɵmpd"](4608,kl,kl,[]),o["ɵmpd"](5120,Rl,Nl,[vl,r.ViewportScroller,Il]),o["ɵmpd"](5120,Ul,Hl,[Vl]),o["ɵmpd"](5120,o.APP_BOOTSTRAP_LISTENER,(function(n){return[n]}),[Ul]),o["ɵmpd"](4608,tm,tm,[]),o["ɵmpd"](4608,Gm,Gm,[]),o["ɵmpd"](4608,Ti,Ua,[o.RendererFactory2,r.DOCUMENT]),o["ɵmpd"](4608,id,id,[zs,$s,o.ComponentFactoryResolver,ld,Ys,o.Injector,o.NgZone,r.DOCUMENT,ki,[2,r.Location]]),o["ɵmpd"](5120,ad,dd,[id]),o["ɵmpd"](5120,gd,bd,[id]),o["ɵmpd"](4608,bq,bq,[]),o["ɵmpd"](4608,PM,PM,[]),o["ɵmpd"](4608,k0,k0,[]),o["ɵmpd"](4608,E0,E0,[]),o["ɵmpd"](4608,T0,T0,[]),o["ɵmpd"](4608,R0,R0,[]),o["ɵmpd"](4608,cj,cj,[k0,E0,T0,R0]),o["ɵmpd"](4608,Pq,Pq,[]),o["ɵmpd"](4608,zO,zO,[]),o["ɵmpd"](4608,$q,$q,[]),o["ɵmpd"](4608,TL,TL,[]),o["ɵmpd"](4608,EM,EM,[]),o["ɵmpd"](4608,nN,nN,[]),o["ɵmpd"](4608,vO,vO,[]),o["ɵmpd"](4608,DO,DO,[]),o["ɵmpd"](4608,KM,KM,[]),o["ɵmpd"](4608,XM,XM,[]),o["ɵmpd"](4608,pO,pO,[]),o["ɵmpd"](4608,pj,pj,[]),o["ɵmpd"](4608,zX,zX,[]),o["ɵmpd"](4608,I0,I0,[]),o["ɵmpd"](4608,D0,D0,[I0,bq,PM]),o["ɵmpd"](4608,F0,F0,[D0]),o["ɵmpd"](4608,O0,O0,[F0]),o["ɵmpd"](4608,mZ,mZ,[]),o["ɵmpd"](4608,YW,YW,[I0,bq,PM]),o["ɵmpd"](4608,_Z,_Z,[YW]),o["ɵmpd"](4608,gZ,gZ,[_Z]),o["ɵmpd"](4608,HW,HW,[]),o["ɵmpd"](4608,OH,OH,[YW,HW]),o["ɵmpd"](4608,N0,N0,[]),o["ɵmpd"](4608,iG,iG,[]),o["ɵmpd"](4608,lG,lG,[D0,iG,I0,bq,PM]),o["ɵmpd"](4608,P0,P0,[]),o["ɵmpd"](4608,wZ,wZ,[]),o["ɵmpd"](4608,SZ,SZ,[]),o["ɵmpd"](4608,xZ,xZ,[]),o["ɵmpd"](4608,kZ,kZ,[]),o["ɵmpd"](4608,yM,yM,[wZ,SZ,xZ,kZ,lG,O0,zX,P0,TL,Pq]),o["ɵmpd"](4608,_M,_M,[]),o["ɵmpd"](4608,eN,eN,[]),o["ɵmpd"](4608,q0,q0,[]),o["ɵmpd"](4608,TZ,TZ,[]),o["ɵmpd"](4608,IZ,IZ,[]),o["ɵmpd"](4608,wM,wM,[]),o["ɵmpd"](4608,WM,WM,[bq,PM,wM,eN]),o["ɵmpd"](4608,YM,YM,[]),o["ɵmpd"](4608,pZ,pZ,[yM,wM,WM,KM,YM]),o["ɵmpd"](4608,zM,zM,[pZ,eN]),o["ɵmpd"](4608,tG,tG,[]),o["ɵmpd"](4608,lN,lN,[vO,_M]),o["ɵmpd"](4608,fq,fq,[vO]),o["ɵmpd"](4608,ZM,ZM,[bq,PM,wM,eN]),o["ɵmpd"](4608,j0,j0,[]),o["ɵmpd"](4608,fZ,fZ,[Pq,ZM,j0,wM,TZ,IZ]),o["ɵmpd"](4608,GM,GM,[Pq,fZ]),o["ɵmpd"](4608,V0,V0,[PM]),o["ɵmpd"](4608,B0,B0,[]),o["ɵmpd"](4608,H0,H0,[$q]),o["ɵmpd"](4608,U0,U0,[$q]),o["ɵmpd"](4608,z0,z0,[$q]),o["ɵmpd"](4608,G0,G0,[V0,B0,H0,U0,z0,wM,YM]),o["ɵmpd"](4608,mM,mM,[G0,zO,vO,eN]),o["ɵmpd"](4608,W0,W0,[GM,zM,mM]),o["ɵmpd"](4608,hq,hq,[zM,tG,lN,fq,W0,TL]),o["ɵmpd"](4608,gb,gb,[]),o["ɵmpd"](4608,sc,dc,[]),o["ɵmpd"](4608,w1,w1,[r.DOCUMENT,o.NgZone,Ps,y1]),o["ɵmpd"](4608,fv,x1,[]),o["ɵmpd"](4608,vg,vg,[]),o["ɵmpd"](4608,Wo,Wo,[]),o["ɵmpd"](5120,iv,rv,[id]),o["ɵmpd"](135680,av,av,[id,o.Injector,[2,r.Location],[2,ov],iv,[3,av],$s]),o["ɵmpd"](5120,$v,Qv,[[3,$v]]),o["ɵmpd"](5120,zC,GC,[id]),o["ɵmpd"](5120,Kd,Xd,[id]),o["ɵmpd"](5120,rk,ak,[[3,rk]]),o["ɵmpd"](135680,Mo,Mo,[o.NgZone,io]),o["ɵmpd"](4608,k1,k1,[o.TemplateRef]),o["ɵmpd"](4608,DH.HotkeysService,DH.HotkeysService,[T1.HotkeyOptions]),o["ɵmpd"](4608,t0,t0,[o.PLATFORM_ID]),o["ɵmpd"](4608,_b,_b,[gb]),o["ɵmpd"](4608,bun,bun,[]),o["ɵmpd"](4608,KG,KG,[]),o["ɵmpd"](4608,XG,XG,[Iu,KG]),o["ɵmpd"](4608,Ih,Ih,[XG]),o["ɵmpd"](4608,lb,lb,[XG,_b]),o["ɵmpd"](4608,Kw,Kw,[XG]),o["ɵmpd"](4608,wun,wun,[]),o["ɵmpd"](4608,Dh,Dh,[wun,XG]),o["ɵmpd"](4608,kw,kw,[XG]),o["ɵmpd"](4608,ij,ij,[XG]),o["ɵmpd"](4608,FM,FM,[XG]),o["ɵmpd"](4608,sj,sj,[XG,zO]),o["ɵmpd"](4608,mC,mC,[XG]),o["ɵmpd"](4608,vC,vC,[av]),o["ɵmpd"](4608,hc,hc,[yK,o.NgZone]),o["ɵmpd"](4608,tc,tc,[]),o["ɵmpd"](4608,NM,NM,[]),o["ɵmpd"](4608,MM,MM,[]),o["ɵmpd"](4608,dj,dj,[]),o["ɵmpd"](4608,GG,GG,[NM,MM,dj]),o["ɵmpd"](4608,Sun,Sun,[]),o["ɵmpd"](4608,WG,WG,[]),o["ɵmpd"](4608,CM,CM,[]),o["ɵmpd"](4608,Fh,Fh,[]),o["ɵmpd"](4608,xX,xX,[]),o["ɵmpd"](4608,DM,DM,[]),o["ɵmpd"](4608,xun,xun,[XG]),o["ɵmpd"](4608,kE,kE,[XG]),o["ɵmpd"](4608,PT,PT,[XG]),o["ɵmpd"](4608,Bw,Bw,[]),o["ɵmpd"](4608,sR,sR,[XG]),o["ɵmpd"](4608,Iw,Iw,[XG]),o["ɵmpd"](4608,Bx,Bx,[XG]),o["ɵmpd"](4608,kun,kun,[sc]),o["ɵmpd"](4608,Eun,Eun,[kun]),o["ɵmpd"](4608,ty,ty,[sc,Eun]),o["ɵmpd"](4608,Fk,Fk,[]),o["ɵmpd"](4608,iT,iT,[]),o["ɵmpd"](4608,CR,CR,[]),o["ɵmpd"](4608,KT,KT,[]),o["ɵmpd"](4608,oS,oS,[]),o["ɵmpd"](4608,VR,VR,[XG]),o["ɵmpd"](4608,QR,QR,[]),o["ɵmpd"](4608,gI,gI,[XG]),o["ɵmpd"](4608,II,II,[]),o["ɵmpd"](4608,eD,eD,[XG]),o["ɵmpd"](4608,fD,fD,[]),o["ɵmpd"](4608,pc,pc,[]),o["ɵmpd"](135680,fc,fc,[sc]),o["ɵmpd"](4608,bO,bO,[vO]),o["ɵmpd"](4608,Tun,Tun,[sc]),o["ɵmpd"](4608,N_,N_,[Tun,_b]),o["ɵmpd"](4608,yZ,yZ,[I0]),o["ɵmpd"](4608,mX,mX,[]),o["ɵmpd"](4608,GX,GX,[]),o["ɵmpd"](4608,OY,OY,[]),o["ɵmpd"](4608,$y,$y,[XG]),o["ɵmpd"](4608,Run,Run,[XG]),o["ɵmpd"](4608,_B,_B,[]),o["ɵmpd"](4608,DZ,DZ,[XG]),o["ɵmpd"](4608,lw,lw,[XG]),o["ɵmpd"](4608,A_,A_,[o.RendererFactory2,r.DOCUMENT]),o["ɵmpd"](4608,Iun,Iun,[vl]),o["ɵmpd"](4608,sV,sV,[]),o["ɵmpd"](4608,Dun,Dun,[Dh]),o["ɵmpd"](4608,Fun,Fun,[lb,Dh,hc,vl]),o["ɵmpd"](4608,Oun,Oun,[sV,yv]),o["ɵmpd"](4608,bn,bn,[r.DOCUMENT]),o["ɵmpd"](1073742336,r.CommonModule,r.CommonModule,[]),o["ɵmpd"](512,o.ErrorHandler,Mun,[o.Injector]),o["ɵmpd"](1024,o.NgProbeToken,(function(){return[Ol()]}),[]),o["ɵmpd"](512,Vl,Vl,[o.Injector]),o["ɵmpd"](1024,o.APP_INITIALIZER,(function(n,e){return[(t=n,w("probe",x),w("coreTokens",Object(i.a)({},S,(t||[]).reduce((function(n,e){return n[e.name]=e.token,n}),{}))),function(){return x}),Bl(e)];var t}),[[2,o.NgProbeToken],Vl]),o["ɵmpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["ɵmpd"](131584,o.ApplicationRef,o.ApplicationRef,[o.NgZone,o["ɵConsole"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["ɵmpd"](1073742336,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["ɵmpd"](1073742336,vn,vn,[[3,vn]]),o["ɵmpd"](1073742336,Uu,Uu,[]),o["ɵmpd"](1073742336,zu,zu,[]),o["ɵmpd"](1024,Dl,Pl,[[3,vl]]),o["ɵmpd"](512,Le,je,[]),o["ɵmpd"](512,Cl,Cl,[]),o["ɵmpd"](256,Il,{anchorScrolling:"enabled",enableTracing:!1,scrollPositionRestoration:"enabled"},[]),o["ɵmpd"](1024,r.LocationStrategy,Al,[r.PlatformLocation,[2,r.APP_BASE_HREF],Il]),o["ɵmpd"](512,r.Location,r.Location,[r.LocationStrategy,r.PlatformLocation]),o["ɵmpd"](512,o.Compiler,o.Compiler,[]),o["ɵmpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["ɵmpd"](1024,sl,(function(){return[[{path:"",component:uc,children:[{path:"",redirectTo:"servers",pathMatch:"full"},{path:"servers",component:Ym},{path:"bundled",component:Gv},{path:"server/:server_id/projects",component:nb,resolve:{server:Dun}},{path:"help",component:__},{path:"settings",component:M_},{path:"settings/console",component:V_},{path:"installed-software",component:ny},{path:"server/:server_id/systemstatus",component:eC},{path:"server/:server_ip/:server_port/project/:project_id",component:rC},{path:"server/:server_id/project/:project_id/snapshots",component:hC,resolve:{server:Dun}},{path:"server/:server_id/preferences",component:DC},{path:"server/:server_id/preferences/gns3vm",component:tw},{path:"server/:server_id/preferences/builtin",component:mw},{path:"server/:server_id/preferences/builtin/ethernet-hubs",component:Rw},{path:"server/:server_id/preferences/builtin/ethernet-hubs/addtemplate",component:Vw},{path:"server/:server_id/preferences/builtin/ethernet-hubs/:template_id",component:lS},{path:"server/:server_id/preferences/builtin/ethernet-switches",component:pS},{path:"server/:server_id/preferences/builtin/ethernet-switches/addtemplate",component:SS},{path:"server/:server_id/preferences/builtin/ethernet-switches/:template_id",component:GS},{path:"server/:server_id/preferences/builtin/cloud-nodes",component:nx},{path:"server/:server_id/preferences/builtin/cloud-nodes/addtemplate",component:cx},{path:"server/:server_id/preferences/builtin/cloud-nodes/:template_id",component:vx},{path:"server/:server_id/preferences/dynamips/templates",component:Vx},{path:"server/:server_id/preferences/dynamips/templates/addtemplate",component:Dk},{path:"server/:server_id/preferences/dynamips/templates/:template_id",component:Yk},{path:"server/:server_id/preferences/dynamips/templates/:template_id/copy",component:_E},{path:"server/:server_id/preferences/qemu/templates",component:xE},{path:"server/:server_id/preferences/qemu/templates/:template_id/copy",component:PE},{path:"server/:server_id/preferences/qemu/templates/:template_id",component:oT},{path:"server/:server_id/preferences/qemu/addtemplate",component:kT},{path:"server/:server_id/preferences/vpcs/templates",component:AT},{path:"server/:server_id/preferences/vpcs/templates/:template_id",component:ZT},{path:"server/:server_id/preferences/vpcs/addtemplate",component:lR},{path:"server/:server_id/preferences/virtualbox/templates",component:uR},{path:"server/:server_id/preferences/virtualbox/templates/:template_id",component:yR},{path:"server/:server_id/preferences/virtualbox/addtemplate",component:OR},{path:"server/:server_id/preferences/vmware/templates",component:jR},{path:"server/:server_id/preferences/vmware/templates/:template_id",component:$R},{path:"server/:server_id/preferences/vmware/addtemplate",component:sI},{path:"server/:server_id/preferences/docker/templates",component:vI},{path:"server/:server_id/preferences/docker/templates/:template_id",component:RI},{path:"server/:server_id/preferences/docker/templates/:template_id/copy",component:jI},{path:"server/:server_id/preferences/docker/addtemplate",component:GI},{path:"server/:server_id/preferences/iou/templates",component:nD},{path:"server/:server_id/preferences/iou/templates/:template_id",component:pD},{path:"server/:server_id/preferences/iou/templates/:template_id/copy",component:xD},{path:"server/:server_id/preferences/iou/addtemplate",component:DD}]},{path:"server/:server_id/project/:project_id",component:uZ,canActivate:[Fun],canDeactivate:[Oun]},{path:"server/:server_id/project/:project_id/nodes/:node_id",component:QZ,canActivate:[Fun]},{path:"**",component:lK}]]}),[]),o["ɵmpd"](1024,vl,Ll,[o.ApplicationRef,Le,Cl,r.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,sl,Il,[2,cl],[2,al]]),o["ɵmpd"](1073742336,Ml,Ml,[[2,Dl],[2,vl]]),o["ɵmpd"](1073742336,Nun,Nun,[]),o["ɵmpd"](1073742336,zm,zm,[]),o["ɵmpd"](1073742336,Wm,Wm,[]),o["ɵmpd"](1073742336,Zm,Zm,[]),o["ɵmpd"](1073742336,tu,tu,[]),o["ɵmpd"](1073742336,Hc,Hc,[]),o["ɵmpd"](1073742336,Ei,Ei,[]),o["ɵmpd"](1073742336,jo,jo,[[2,Lo],[2,J]]),o["ɵmpd"](1073742336,ro,ro,[]),o["ɵmpd"](1073742336,ai,ai,[]),o["ɵmpd"](1073742336,bs,bs,[]),o["ɵmpd"](1073742336,As,As,[]),o["ɵmpd"](1073742336,cd,cd,[]),o["ɵmpd"](1073742336,Cd,Cd,[]),o["ɵmpd"](1073742336,wd,wd,[]),o["ɵmpd"](1073742336,as,as,[]),o["ɵmpd"](1073742336,Aun,Aun,[]),o["ɵmpd"](1073742336,RH.HotkeyModule,RH.HotkeyModule,[]),o["ɵmpd"](1073742336,bb,bb,[]),o["ɵmpd"](1073742336,cc,cc,[]),o["ɵmpd"](1073742336,Wg,Wg,[]),o["ɵmpd"](1073742336,Pun,Pun,[]),o["ɵmpd"](1073742336,_W,_W,[]),o["ɵmpd"](1073742336,jL,jL,[]),o["ɵmpd"](1073742336,S1,S1,[]),o["ɵmpd"](1073742336,qun,qun,[]),o["ɵmpd"](1073742336,Si,Si,[]),o["ɵmpd"](1073742336,cp,cp,[]),o["ɵmpd"](1073742336,du,du,[]),o["ɵmpd"](1073742336,_g,_g,[]),o["ɵmpd"](1073742336,mg,mg,[]),o["ɵmpd"](1073742336,Ag,Ag,[]),o["ɵmpd"](1073742336,jg,jg,[]),o["ɵmpd"](1073742336,Jc,Jc,[]),o["ɵmpd"](1073742336,pv,pv,[]),o["ɵmpd"](1073742336,aX,aX,[]),o["ɵmpd"](1073742336,Od,Od,[]),o["ɵmpd"](1073742336,bK,bK,[]),o["ɵmpd"](1073742336,I_,I_,[]),o["ɵmpd"](1073742336,D_,D_,[]),o["ɵmpd"](1073742336,Qo,Qo,[]),o["ɵmpd"](1073742336,si,si,[]),o["ɵmpd"](1073742336,mp,mp,[]),o["ɵmpd"](1073742336,i_,i_,[]),o["ɵmpd"](1073742336,Lb,Lb,[]),o["ɵmpd"](1073742336,Zb,Zb,[]),o["ɵmpd"](1073742336,ng,ng,[]),o["ɵmpd"](1073742336,gi,gi,[]),o["ɵmpd"](1073742336,KC,KC,[]),o["ɵmpd"](1073742336,Po,Po,[]),o["ɵmpd"](1073742336,Jd,Jd,[]),o["ɵmpd"](1073742336,ok,ok,[]),o["ɵmpd"](1073742336,pk,pk,[]),o["ɵmpd"](1073742336,VC,VC,[]),o["ɵmpd"](1073742336,Lun,Lun,[]),o["ɵmpd"](1073742336,CG,CG,[]),o["ɵmpd"](1073742336,E1,E1,[]),o["ɵmpd"](1073742336,jun,jun,[]),o["ɵmpd"](1073742336,gv,gv,[]),o["ɵmpd"](1073742336,zy,zy,[]),o["ɵmpd"](1073742336,l0,l0,[]),o["ɵmpd"](1073742336,by,by,[]),o["ɵmpd"](1073742336,kn,kn,[]),o["ɵmpd"](256,o["ɵAPP_ROOT"],!0,[]),o["ɵmpd"](256,qu,"XSRF-TOKEN",[]),o["ɵmpd"](256,Lu,"X-XSRF-TOKEN",[]),o["ɵmpd"](256,nu,"BrowserAnimations",[]),o["ɵmpd"](256,jy,{separatorKeyCodes:[13]},[]),o["ɵmpd"](256,T1.HotkeyOptions,{},[]),o["ɵmpd"](256,vy,{},[])])}));Object(o.enableProdMode)(),mn().bootstrapModuleFactory(Vun).then((function(n){var e=n.injector.get(o.ApplicationRef);w("profiler",new Cn(e.components[0]))})).catch((function(n){return console.log(n)}))},zahk:function(n,e,t){n.exports=t("T8ZO")},zo3G:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.c(e,n),e.prototype.schedule=function(e,t){return void 0===t&&(t=0),t>0?n.prototype.schedule.call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,t){return t>0||this.closed?n.prototype.execute.call(this,e,t):this._execute(e,t)},e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0?n.prototype.requestAsyncId.call(this,e,t,l):e.flush(this)},e}(t("h9Dq").a),i=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.c(e,n),e}(t("CS9Q").a);t.d(e,"a",(function(){return r}));var r=new i(o)},zotm:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("rPjj"),o=t("Fxb1"),i=t("6blF");function r(n,e,t,r,a){if(void 0===a&&(a=new l.a(n,t,r)),!a.closed)return e instanceof i.a?e.subscribe(a):Object(o.a)(e)(a)}},zuyY:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}}},[[0,0]]]); |