mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-25 01:38:08 +00:00
1 line
3.5 MiB
1 line
3.5 MiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/L5":function(n,e,t){var l=t("t1UP").isCustomProperty,o=t("vd7W").TYPE,r=o.Identifier,i=o.Colon,a=o.ExclamationMark,u=o.Solidus,s=o.Asterisk,d=o.DollarSign,c=o.HyphenMinus,p=o.Semicolon,f=o.PlusSign,h=o.NumberSign;function m(n){return this.Raw(n,a,p,!1,!0)}function v(n){return this.Raw(n,a,p,!1,!1)}function g(){var n=this.scanner.currentToken,e=this.Value();return"Raw"!==e.type&&!1===this.scanner.eof&&this.scanner.tokenType!==p&&this.scanner.tokenType!==a&&!1===this.scanner.isBalanceEdge(n)&&this.scanner.error(),e}n.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var n,e=this.scanner.tokenStart,t=this.scanner.currentToken,o=(function(){var n=this.scanner.tokenStart,e=0;switch(this.scanner.tokenType){case s:case d:case f:case h:e=1;break;case u:e=this.scanner.lookupType(1)===u?2:1}return this.scanner.lookupType(e)===c&&e++,e&&this.scanner.skip(e),this.scanner.eat(r),this.scanner.substrToCursor(n)}).call(this),b=l(o),y=b?this.parseCustomProperty:this.parseValue,_=b?v:m,w=!1;return this.scanner.skipSC(),this.scanner.eat(i),b||this.scanner.skipSC(),n=y?this.parseWithFallback(g,_):_.call(this,this.scanner.currentToken),this.scanner.tokenType===a&&(w=function(n){n.eat(a),n.skipSC();var e=n.consume(r);return"important"===e||e}(this.scanner),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==p&&!1===this.scanner.isBalanceEdge(t)&&this.scanner.error(),{type:"Declaration",loc:this.getLocation(e,this.scanner.tokenStart),important:w,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=l.Identifier,r=l.Comma,i=l.Semicolon,a=l.HyphenMinus,u=l.ExclamationMark;n.exports=function(){var n=this.createList();this.scanner.skipSC();var e=this.scanner.tokenStart;return this.scanner.eat(a),this.scanner.source.charCodeAt(this.scanner.tokenStart)!==a&&this.scanner.error("HyphenMinus is expected"),this.scanner.eat(o),n.push({type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}),this.scanner.skipSC(),this.scanner.tokenType===r&&(n.push(this.Operator()),n.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.currentToken,u,i,!1,!1))),n}},"+gEr":function(n,e,t){"use strict";t.d(e,"a",function(){return i}),t.d(e,"b",function(){return a});var l=t("mrSG"),o=t("MGBS"),r=t("zotm"),i={leading:!0,trailing:!1};function a(n,e){return void 0===e&&(e=i),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 r=n.call(this,e)||this;return r.destination=e,r.durationSelector=t,r._leading=l,r._trailing=o,r._hasValue=!1,r}return l.__extends(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(r.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 r=0;r<o.match.length;r++)if(l(o.match[r]))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.scanner.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 i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(){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 i=t.length;o.values=new Array(i);for(var a=0;a<i;a++)o.toRespond.push(a);for(a=0;a<i;a++){var u=t[a];o.add(Object(r.a)(o,u,u,a))}return o}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.values[t]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(t);-1!==i&&r.splice(i,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)},"/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 i});var l=t("mrSG"),o=t("FFOo"),r=t("T1DM");function i(n,e){return void 0===e&&(e=r.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.__extends(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)}},0:function(n,e,t){n.exports=t("zUnb")},"0/uQ":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("Fxb1"),r=t("i4X3");function i(n,e){return e?Object(r.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"),r=t("rPjj"),i=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 r.a(l,void 0,void 0);return l.add(o),l.innerSubscription=o,Object(i.a)(l,t,void 0,void 0,o),l}return l.__extends(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 r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=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.__extends(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"),r=t("ceCD"),i=t("XlPw");function a(n,e){return void 0===e&&(e=l.a),Object(r.a)(n,Object(i.a)(new o.a),e)}},"14Nl":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW");function i(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 r.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.__extends(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,r=o[l];o[l]=n,this.destination.next(r)}},e}(o.a)},"15JJ":function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("MGBS"),r=t("rPjj"),i=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.__extends(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 r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(i.a)(this,n,e,t,o)},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)},"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}},"21UA":function(n,e,t){n.exports={SyntaxParseError:t("2yWD").SyntaxParseError,parse:t("cWdd"),generate:t("2KT4"),walk:t("5HYW")}},"26FU":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("K9Ia"),r=t("8g8A"),i=function(n){function e(e){var t=n.call(this)||this;return t._value=e,t}return l.__extends(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 r.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.Identifier,r=l.String,i=l.DollarSign,a=l.Asterisk,u=l.Colon,s=l.EqualsSign,d=l.LeftSquareBracket,c=l.RightSquareBracket,p=l.CircumflexAccent,f=l.VerticalLine,h=l.Tilde;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,m=null;return this.scanner.eat(d),this.scanner.skipSC(),n=(function(){this.scanner.eof&&this.scanner.error("Unexpected end of input");var n=this.scanner.tokenStart,e=!1,t=!0;return this.scanner.tokenType===a?(e=!0,t=!1,this.scanner.next()):this.scanner.tokenType!==f&&this.scanner.eat(o),this.scanner.tokenType===f?this.scanner.lookupType(1)!==s?(this.scanner.next(),this.scanner.eat(o)):e&&this.scanner.error("Identifier is expected",this.scanner.tokenEnd):e&&this.scanner.error("Vertical line is expected"),t&&this.scanner.tokenType===u&&(this.scanner.next(),this.scanner.eat(o)),{type:"Identifier",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}}).call(this),this.scanner.skipSC(),this.scanner.tokenType!==c&&(this.scanner.tokenType!==o&&(t=(function(){var n=this.scanner.tokenStart,e=this.scanner.tokenType;return e!==s&&e!==h&&e!==p&&e!==i&&e!==a&&e!==f&&this.scanner.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),e===s?this.scanner.next():(this.scanner.next(),this.scanner.eat(s)),this.scanner.substrToCursor(n)}).call(this),this.scanner.skipSC(),l=this.scanner.tokenType===r?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===o&&(m=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.scanner.eat(c),{type:"AttributeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:n,matcher:t,value:l,flags:m}},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("]")}}},"2KT4":function(n,e){function t(n){return n}n.exports=function(n,e){var l=t,o=!1;return"function"==typeof e?l=e:e&&(o=Boolean(e.forceBraces),"function"==typeof e.decorate&&(l=e.decorate)),function n(e,t,l){var o,r;switch(e.type){case"Group":o=function(e,t,l){var o=e.terms.map(function(e){return n(e,t,l)}).join(" "===e.combinator?" ":" "+e.combinator+" ");return(e.explicit||t)&&(o=(","!==o[0]?"[ ":"[")+o+" ]"),o}(e,t,l)+(e.disallowEmpty?"!":"");break;case"Multiplier":return n(e.term,t,l)+l(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":o="<"+e.name+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return l(o,e)}(n,o,l)}},"2WpN":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("pugT");function i(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 r.a(t)),l}return l.__extends(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,r,i){return t((a=t(t(e,n),t(o,i)))<<(u=r)|a>>>32-u,l);var a,u}function o(n,e,t,o,r,i,a){return l(e&t|~e&o,n,e,r,i,a)}function r(n,e,t,o,r,i,a){return l(e&o|t&~o,n,e,r,i,a)}function i(n,e,t,o,r,i,a){return l(e^t^o,n,e,r,i,a)}function a(n,e,t,o,r,i,a){return l(t^(e|~o),n,e,r,i,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=r(p,f=o(f,h,m,p,n[l+15],22,1236535329),h,m,n[l+1],5,-165796510),m=r(m,p,f,h,n[l+6],9,-1069501632),h=r(h,m,p,f,n[l+11],14,643717713),f=r(f,h,m,p,n[l],20,-373897302),p=r(p,f,h,m,n[l+5],5,-701558691),m=r(m,p,f,h,n[l+10],9,38016083),h=r(h,m,p,f,n[l+15],14,-660478335),f=r(f,h,m,p,n[l+4],20,-405537848),p=r(p,f,h,m,n[l+9],5,568446438),m=r(m,p,f,h,n[l+14],9,-1019803690),h=r(h,m,p,f,n[l+3],14,-187363961),f=r(f,h,m,p,n[l+8],20,1163531501),p=r(p,f,h,m,n[l+13],5,-1444681467),m=r(m,p,f,h,n[l+2],9,-51403784),h=r(h,m,p,f,n[l+7],14,1735328473),p=i(p,f=r(f,h,m,p,n[l+12],20,-1926607734),h,m,n[l+5],4,-378558),m=i(m,p,f,h,n[l+8],11,-2022574463),h=i(h,m,p,f,n[l+11],16,1839030562),f=i(f,h,m,p,n[l+14],23,-35309556),p=i(p,f,h,m,n[l+1],4,-1530992060),m=i(m,p,f,h,n[l+4],11,1272893353),h=i(h,m,p,f,n[l+7],16,-155497632),f=i(f,h,m,p,n[l+10],23,-1094730640),p=i(p,f,h,m,n[l+13],4,681279174),m=i(m,p,f,h,n[l],11,-358537222),h=i(h,m,p,f,n[l+3],16,-722521979),f=i(f,h,m,p,n[l+6],23,76029189),p=i(p,f,h,m,n[l+9],4,-640364487),m=i(m,p,f,h,n[l+12],11,-421815835),h=i(h,m,p,f,n[l+15],16,530742520),p=a(p,f=i(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),r=[],i=[];for(r[15]=i[15]=void 0,o.length>16&&(o=u(o,8*n.length)),t=0;t<16;t+=1)r[t]=909522486^o[t],i[t]=1549556828^o[t];return l=u(r.concat(d(e)),512+8*e.length),s(u(i.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))}},"2yWD":function(n,e,t){var l=t("XDwu");n.exports={SyntaxParseError:function(n,e,t){var o=l("SyntaxParseError",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}}},"31qQ":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(){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.__extends(e,n),e.prototype._next=function(n){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(r.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,r=l.Comment,i=l.Identifier,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 r:this.scanner.next();continue;case o:t=this.WhiteSpace();continue;case i: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.scanner.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 r});var l=t("26FU"),o=t("xlPZ");function r(n){return function(e){return Object(o.a)(new l.a(n))(e)}}},"3U0i":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"3fWJ":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"3lFr":function(n,e,t){e.SourceMapGenerator=t("TTsC").SourceMapGenerator,e.SourceMapConsumer=t("NSjB").SourceMapConsumer,e.SourceNode=t("5EiF").SourceNode},"41IB":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=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.__extends(e,n),e.prototype._next=function(n){n.observe(this.destination)},e}(o.a)},"4HHr":function(n,e,t){"use strict";var l=Object.prototype.hasOwnProperty,o=function(){};function r(n){return"function"==typeof n?n:o}function i(n,e){return function(t,l,o){t.type===e&&n.call(this,t,l,o)}}function a(n,e){var t=e.structure,o=[];for(var r in t)if(!1!==l.call(t,r)){var i=t[r],a={name:r,type:!1,nullable:!1};Array.isArray(t[r])||(i=[t[r]]);for(var u=0;u<i.length;u++){var s=i[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 u(n,e){var t=(e?n.fields.slice().reverse():n.fields).map(function(n){var t,l="node."+n.name;return t="list"===n.type?e?l+".forEachRight(walk);":l+".forEach(walk);":"walk("+l+");",n.nullable&&(t="if ("+l+") {\n "+t+"}"),t});return n.context&&(t=[].concat("var old = context."+n.context+";","context."+n.context+" = node;",t,"context."+n.context+" = old;")),new Function("node","context","walk",t.join("\n"))}function s(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}}}n.exports=function(n){var e=function(n){var e={};for(var t in n.node)if(l.call(n.node,t)){var o=n.node[t];if(!o.structure)throw new Error("Missed `structure` field in `"+t+"` node type definition");e[t]=a(0,o)}return e}(n),t={},d={};for(var c in e)l.call(e,c)&&null!==e[c]&&(t[c]=u(e[c],!1),d[c]=u(e[c],!0));var p=s(t),f=s(d);return function(n,l){var a=o,u=o,s=t,c={root:n,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)a=l;else if(l&&(a=r(l.enter),u=r(l.leave),l.reverse&&(s=d),l.visit)){if(p.hasOwnProperty(l.visit))s=l.reverse?f[l.visit]:p[l.visit];else if(!e.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(e).join(", ")+")");a=i(a,l.visit),u=i(u,l.visit)}if(a===o&&u===o)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(l.reverse){var h=a;a=u,u=h}!function n(e,t,l){a.call(c,e,t,l),s.hasOwnProperty(e.type)&&s[e.type](e,c,n),u.call(c,e,t,l)}(n)}}},"4af/":function(n,e,t){var l=t("vYjF"),o={collectWindowErrors:!0,debug:!1},r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=[].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 r in t)if(t.hasOwnProperty(r))try{t[r].apply(null,[n].concat(i.call(arguments,2)))}catch(a){l=a}if(l)throw l}}function h(e,t,r,i,d){var c=l.isErrorEvent(d)?d.error:d,h=l.isErrorEvent(e)?e.message:e;if(p)o.computeStackTrace.augmentStackTraceWithInitialElement(p,t,r,h),m();else if(c&&l.isError(c))f(o.computeStackTrace(c),!0);else{var v,g={url:t,line:r,column:i},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=i.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=r.onerror,r.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&&(r.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,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\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=r.exec(c[f]))l={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=i.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 y=b[1];"~"===y.charAt(0)&&(y=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+y.slice(1)),l.url=y.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,r){for(var i,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:(i=d.exec(h.toString()))&&(u.func=i[1]),void 0===u.func)try{u.func=i.input.substring(0,i.input.indexOf("{"))}catch(v){}p[""+h]?f=!0:p[""+h]=!0,c.push(u)}r&&c.splice(0,r);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 r=null;l=null==l?0:+l;try{if(r=n(e))return r}catch(i){if(o.debug)throw i}try{if(r=t(e,l+1))return r}catch(i){if(o.debug)throw i}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){n.exports={name:"Raw",structure:{value:String},parse:function(n,e,t,l,o){var r,i=this.scanner.getTokenStart(n);return this.scanner.skip(this.scanner.getRawLength(n,e,t,l)),r=o&&this.scanner.tokenStart>i?this.scanner.getOffsetExcludeWS():this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(i,r),value:this.scanner.source.substring(i,r)}},generate:function(n){this.chunk(n.value)}}},"4vYp":function(n){n.exports={generic:!0,types:{"absolute-size":"xx-small | x-small | small | medium | large | x-large | xx-large","alpha-value":"<number> | <percentage>","angle-percentage":"<angle> | <percentage>","animateable-feature":"scroll-position | contents | <custom-ident>",attachment:"scroll | fixed | local","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","br-style":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset","br-width":"<length> | thin | medium | thick","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> ]? )","clip-source":"<url>",color:"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>","color-stop":"<color> <length-percentage>?","color-stop-list":"<color-stop>#{2,}","common-lig-values":"[ common-ligatures | no-common-ligatures ]","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","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-style":"<counter-style-name> | symbols( )","counter-style-name":"<custom-ident>","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 | subgrid | 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","explicit-track-list":"[ <line-names>? <track-size> ]+ <line-names>?","family-name":"<string> | <custom-ident>+","feature-tag-value":"<string> [ <integer> | on | off ]?","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-variant-css21":"[ normal | small-caps ]","frames-timing-function":"frames( <integer> )","frequency-percentage":"<frequency> | <percentage>","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:"<-legacy-gradient> | <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-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> | <string> ]? , <color>? ]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[ <image> | <string> ] <resolution>","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-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> ]+","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> [, <number> ]{5} )","matrix3d()":"matrix3d( <number> [, <number> ]{15} )","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","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>","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 ]","opacity()":"opacity( [ <number-percentage> ] )","overflow-position":"unsafe | safe","outline-radius":"<border-radius>","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> ] ]",quote:"open-quote | close-quote | no-open-quote | no-close-quote","radial-gradient()":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","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> )","rotate3d()":"rotate3d( <number> , <number> , <number> , <angle> )","rotateX()":"rotateX( <angle> )","rotateY()":"rotateY( <angle> )","rotateZ()":"rotateZ( <angle> )","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> [, <angle> ]? )","skewX()":"skewX( <angle> )","skewY()":"skewY( <angle> )","sepia()":"sepia( <number-percentage> )",shadow:"inset? && <length>{2,4} && <color>?","shadow-t":"[ <length>{2,3} && <color>? ]",shape:"rect( [ [ <top> , <right> , <bottom> , <left> ] | [ <top> <right> <bottom> <left> ] ] )","shape-box":"<box> | margin-box","side-or-corner":"[ left | right ] || [ top | bottom ]","single-animation":"<time> || <single-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-timing-function":"linear | <cubic-bezier-timing-function> | <step-timing-function> | <frames-timing-function>","single-transition":"<single-transition-timing-function> || [ none | <single-transition-property> ] || <time> || <time>","single-transition-timing-function":"<single-timing-function>","single-transition-property":"all | <custom-ident>",size:"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}","step-timing-function":"step-start | step-end | steps( <integer> [, [ start | end ] ]? )",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>","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 | integer | color | url | integer | number | length | angle | time | frequency | em | ex | px | rem | vw | vh | vmin | vmax | mm | q | cm | in | pt | pc | deg | grad | rad | ms | s | Hz | kHz | %","viewport-length":"auto | <length-percentage>","-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","-non-standard-word-break":"break-word","-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":"[ <progid> | FlipH | FlipV ]+",age:"child | young | old","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 | currentColor | <color> | <url> [ none | currentColor | <color> ]?","path()":"path( <string> )",right:"<length> | auto","svg-length":"<percentage> | <length> | <number>","svg-writing-mode":"lr-tb | rl-tb | tb-rl | lr | rl | tb",top:"<length> | auto",x:"<number>",y:"<number>"},properties:{"-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-mask":"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"<-webkit-mask-clip-style> [, <-webkit-mask-clip-style> ]*","-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":"<single-timing-function>#",appearance:"auto | none",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:"<br-width> || <br-style> || <color>","border-block-end":"<'border-width'> || <'border-style'> || <'color'>","border-block-end-color":"<'color'>","border-block-end-style":"<'border-style'>","border-block-end-width":"<'border-width'>","border-block-start":"<'border-width'> || <'border-style'> || <'color'>","border-block-start-color":"<'color'>","border-block-start-style":"<'border-style'>","border-block-start-width":"<'border-width'>","border-bottom":"<br-width> || <br-style> || <color>","border-bottom-color":"<color>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<br-style>","border-bottom-width":"<br-width>","border-collapse":"collapse | separate","border-color":"<color>{1,4}","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-end":"<'border-width'> || <'border-style'> || <'color'>","border-inline-end-color":"<'color'>","border-inline-end-style":"<'border-style'>","border-inline-end-width":"<'border-width'>","border-inline-start":"<'border-width'> || <'border-style'> || <'color'>","border-inline-start-color":"<'color'>","border-inline-start-style":"<'border-style'>","border-inline-start-width":"<'border-width'>","border-left":"<br-width> || <br-style> || <color>","border-left-color":"<color>","border-left-style":"<br-style>","border-left-width":"<br-width>","border-radius":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","border-right":"<br-width> || <br-style> || <color>","border-right-color":"<color>","border-right-style":"<br-style>","border-right-width":"<br-width>","border-spacing":"<length> <length>?","border-style":"<br-style>{1,4}","border-top":"<br-width> || <br-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":"<br-style>","border-top-width":"<br-width>","border-width":"<br-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 | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-before":"auto | avoid | 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",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:"none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | contents | -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>",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 | <-non-standard-font>","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":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | oblique","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":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900",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'>",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":"none | <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-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length> | <percentage> | auto","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-block-end":"<'left'>","offset-block-start":"<'left'>","offset-inline-end":"<'left'>","offset-inline-start":"<'left'>","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 | <br-style>","outline-width":"<br-width>",overflow:"visible | hidden | scroll | auto | <-non-standard-overflow>","overflow-anchor":"auto | none","overflow-block":"<'overflow'>","overflow-clip-box":"padding-box | content-box","overflow-inline":"<'overflow'>","overflow-wrap":"normal | break-word","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-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length> | <percentage>","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'>?","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",right:"<length> | <percentage> | auto",rotate:"none | [ 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}","scroll-behavior":"auto | smooth","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-type":"none | 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","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 ] && [ <length-percentage> | top | center | bottom ] ] <length>? | [ <length-percentage> | left | center | right | top | bottom ]","transform-style":"flat | preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none | <single-transition-property>#","transition-timing-function":"<single-transition-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 | <-non-standard-word-break>","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-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-row-align":"start | end | center | stretch","-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-line-clamp":"<positive-integer>","-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":"<unicode-range>#","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")}},"5EiF":function(n,e,t){var l=t("TTsC").SourceMapGenerator,o=t("7WHS"),r=/(\r?\n)/,i="$$$isSourceNode$$$";function a(n,e,t,l,o){this.children=[],this.sourceContents={},this.line=null==n?null:n,this.column=null==e?null:e,this.source=null==t?null:t,this.name=null==o?null:o,this[i]=!0,null!=l&&this.add(l)}a.fromStringWithSourceMap=function(n,e,t){var l=new a,i=n.split(r),u=0,s=function(){return n()+(n()||"");function n(){return u<i.length?i[u++]:void 0}},d=1,c=0,p=null;return e.eachMapping(function(n){if(null!==p){if(!(d<n.generatedLine)){var e=(t=i[u]).substr(0,n.generatedColumn-c);return i[u]=t.substr(n.generatedColumn-c),c=n.generatedColumn,f(p,e),void(p=n)}f(p,s()),d++,c=0}for(;d<n.generatedLine;)l.add(s()),d++;var t;c<n.generatedColumn&&(l.add((t=i[u]).substr(0,n.generatedColumn)),i[u]=t.substr(n.generatedColumn),c=n.generatedColumn),p=n},this),u<i.length&&(p&&f(p,s()),l.add(i.splice(u).join(""))),e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=t&&(n=o.join(t,n)),l.setSourceContent(n,r))}),l;function f(n,e){if(null===n||void 0===n.source)l.add(e);else{var r=t?o.join(t,n.source):n.source;l.add(new a(n.originalLine,n.originalColumn,r,e,n.name))}}},a.prototype.add=function(n){if(Array.isArray(n))n.forEach(function(n){this.add(n)},this);else{if(!n[i]&&"string"!=typeof n)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+n);n&&this.children.push(n)}return this},a.prototype.prepend=function(n){if(Array.isArray(n))for(var e=n.length-1;e>=0;e--)this.prepend(n[e]);else{if(!n[i]&&"string"!=typeof n)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+n);this.children.unshift(n)}return this},a.prototype.walk=function(n){for(var e,t=0,l=this.children.length;t<l;t++)(e=this.children[t])[i]?e.walk(n):""!==e&&n(e,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(n){var e,t,l=this.children.length;if(l>0){for(e=[],t=0;t<l-1;t++)e.push(this.children[t]),e.push(n);e.push(this.children[t]),this.children=e}return this},a.prototype.replaceRight=function(n,e){var t=this.children[this.children.length-1];return t[i]?t.replaceRight(n,e):"string"==typeof t?this.children[this.children.length-1]=t.replace(n,e):this.children.push("".replace(n,e)),this},a.prototype.setSourceContent=function(n,e){this.sourceContents[o.toSetString(n)]=e},a.prototype.walkSourceContents=function(n){for(var e=0,t=this.children.length;e<t;e++)this.children[e][i]&&this.children[e].walkSourceContents(n);var l=Object.keys(this.sourceContents);for(e=0,t=l.length;e<t;e++)n(o.fromSetString(l[e]),this.sourceContents[l[e]])},a.prototype.toString=function(){var n="";return this.walk(function(e){n+=e}),n},a.prototype.toStringWithSourceMap=function(n){var e={code:"",line:1,column:0},t=new l(n),o=!1,r=null,i=null,a=null,u=null;return this.walk(function(n,l){e.code+=n,null!==l.source&&null!==l.line&&null!==l.column?(r===l.source&&i===l.line&&a===l.column&&u===l.name||t.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:e.line,column:e.column},name:l.name}),r=l.source,i=l.line,a=l.column,u=l.name,o=!0):o&&(t.addMapping({generated:{line:e.line,column:e.column}}),r=null,o=!1);for(var s=0,d=n.length;s<d;s++)10===n.charCodeAt(s)?(e.line++,e.column=0,s+1===d?(r=null,o=!1):o&&t.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:e.line,column:e.column},name:l.name})):e.column++}),this.walkSourceContents(function(n,e){t.setSourceContent(n,e)}),{code:e.code,map:t}},e.SourceNode=a},"5HYW":function(n,e,t){"use strict";var l=function(){};function o(n){return"function"==typeof n?n:l}n.exports=function(n,e,t){var r=l,i=l;if("function"==typeof e?r=e:e&&(r=o(e.enter),i=o(e.leave)),r===l&&i===l)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function n(e){switch(r.call(t,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)}i.call(t,e)}(n)}},"5IO1":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("T1DM"),o=t("67Y/");function r(n){return void 0===n&&(n=l.a),Object(o.a)(function(e){return new i(e,n.now())})}var i=function(){return function(n,e){this.value=n,this.timestamp=e}}()},"5tAl":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return void 0===n&&(n=-1),function(e){return e.lift(new i(n,e))}}var i=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.__extends(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)},"5xlC":function(n,e,t){var l=t("mrSG").__decorate,o=t("mrSG").__metadata,r=t("CcnG"),i=t("UpIn"),a=function(){function n(n){this.onFileSelected=new r.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}();l([r.Input(),o("design:type",i.FileUploader)],a.prototype,"uploader",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"onFileSelected",void 0),l([r.HostListener("change"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",Object)],a.prototype,"onChange",null),a=l([r.Directive({selector:"[ng2FileSelect]"})],a),e.FileSelectDirective=a},"60iU":function(n,e,t){"use strict";t.d(e,"b",function(){return l}),t.d(e,"a",function(){return a});var l,o=t("G5J1"),r=t("F/XL"),i=t("XlPw");l||(l={});var 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(r.a)(this.value);case"E":return Object(i.a)(this.error);case"C":return Object(o.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 r});var l=t("mrSG"),o=t("FFOo");function r(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 i(n,e))}}var i=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.__extends(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 r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n,e))}}var i=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.__extends(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,r=l.Comment,i=l.ExclamationMark,a=l.AtKeyword,u=l.CDO,s=l.CDC;function d(n){return this.Raw(n,0,0,!1,!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 r:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==i){this.scanner.next();continue}n=this.Comment();break;case u:n=this.CDO();break;case s:n=this.CDC();break;case a:n=this.parseWithFallback(this.Atrule,d);break;default:n=this.parseWithFallback(this.Rule,d)}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"),r=t("rPjj"),i=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.__extends(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 r.a(this,void 0,void 0);this.destination.add(l),Object(i.a)(this,n,e,t,l)},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 r});var l=t("iLxQ"),o=t("DKTb"),r={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"),r=t("L/V9"),i=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[r.a])return n[r.a]()}return n||e||t?new o.a(n,e,t):new o.a(i.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"),r=t("lYZG"),i=t("67Y/");function a(n){return void 0===n&&(n=l.a),function(e){return Object(r.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(i.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}}()},"7GzS":function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").TYPE,r=o.Identifier,i=o.String,a=o.Number,u=o.Function,s=o.Url,d=o.NumberSign,c=o.LeftParenthesis,p=o.LeftSquareBracket,f=o.PlusSign,h=o.HyphenMinus,m=o.Comma,v=o.Solidus,g=o.Asterisk,b=o.PercentSign,y=o.Backslash;n.exports=function(n){switch(this.scanner.tokenType){case d:return this.HexColor();case m:return n.space=null,n.ignoreWSAfter=!0,this.Operator();case v:case g:case f:case h:return this.Operator();case c:return this.Parentheses(this.readSequence,n.recognizer);case p:return this.Brackets(this.readSequence,n.recognizer);case i:return this.String();case a:switch(this.scanner.lookupType(1)){case b:return this.Percentage();case r:return l(this.scanner.source,this.scanner.tokenEnd,y)?this.Number():this.Dimension();default:return this.Number()}case u:return this.Function(this.readSequence,n.recognizer);case s:return this.Url();case r:return l(this.scanner.source,this.scanner.tokenStart,117)&&l(this.scanner.source,this.scanner.tokenStart+1,f)?this.UnicodeRange():this.Identifier()}}},"7Qw6":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("0/uQ"),r=t("G5J1");function i(n,e){return new l.a(function(t){var l,i;try{l=n()}catch(u){return void t.error(u)}try{i=e(l)}catch(u){return void t.error(u)}var a=(i?Object(o.a)(i):r.a).subscribe(t);return function(){a.unsubscribe(),l&&l.unsubscribe()}})}},"7WHS":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+))?(\S*)$/,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 r(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 i(n){var t=n,l=o(n);if(l){if(!l.path)return n;t=l.path}for(var i,a=e.isAbsolute(t),u=t.split(/\/+/),s=0,d=u.length-1;d>=0;d--)"."===(i=u[d])?u.splice(d,1):".."===i?s++:s>0&&(""===i?(u.splice(d+1,s),s=0):(u.splice(d,2),s--));return""===(t=u.join("/"))&&(t=a?"/":"."),l?(l.path=t,r(l)):t}e.urlParse=o,e.urlGenerate=r,e.normalize=i,e.join=function(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),r(t);if(t||e.match(l))return e;if(a&&!a.host&&!a.path)return a.host=e,r(a);var u="/"===e.charAt(0)?e:i(n.replace(/\/+$/,"")+"/"+e);return a?(a.path=u,r(a)):u},e.isAbsolute=function(n){return"/"===n.charAt(0)||!!n.match(t)},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 a=!("__proto__"in Object.create(null));function u(n){return n}function s(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 d(n,e){return n===e?0:n>e?1:-1}e.toSetString=a?u:function(n){return s(n)?"$"+n:n},e.fromSetString=a?u:function(n){return s(n)?n.slice(1):n},e.compareByOriginalPositions=function(n,e,t){var l=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: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=n.source-e.source)?l:0!=(l=n.originalLine-e.originalLine)?l:0!=(l=n.originalColumn-e.originalColumn)?l: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=d(n.source,e.source))?t:0!=(t=n.originalLine-e.originalLine)?t:0!=(t=n.originalColumn-e.originalColumn)?t:d(n.name,e.name)}},"82qP":function(n,e,t){n.exports={AtrulePrelude:t("TefO"),Selector:t("HvLG"),Value:t("n/gj")}},"8XFM":function(n,e){var t=Object.prototype.hasOwnProperty,l={generic:!0,types:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function o(n){return n&&n.constructor===Object}function r(n){if(o(n)){var e={};for(var l in n)t.call(n,l)&&(e[l]=n[l]);return e}return n}function i(n,e){for(var l in e)t.call(e,l)&&(o(n[l])?i(n[l],r(e[l])):n[l]=r(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]=r(l[u]));else if(a[u])if(o(a[u]))i(s={},e[u]),i(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";function l(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"8mYp":function(n,e,t){var l=t("vd7W").TYPE,o=l.PlusSign,r=l.Solidus,i=l.GreaterThanSign,a=l.Tilde;n.exports={name:"Combinator",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;switch(this.scanner.tokenType){case i:case o:case a:this.scanner.next();break;case r:this.scanner.next(),this.scanner.expectIdentifier("deep"),this.scanner.eat(r);break;default:this.scanner.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)}}},"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"),r=t("isby"),i=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.__extends(e,n),e.prototype._next=function(n){var e=this.iterators;Object(r.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(i=n[l]).hasValue&&!i.hasValue())return;var o=!1,r=[];for(l=0;l<e;l++){var i,a=(i=n[l]).next();if(i.hasCompleted()&&(o=!0),a.done)return void t.complete();r.push(a.value)}this.resultSelector?this._tryresultSelector(r):t.next(r),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}(i.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.__extends(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").isHex,o=t("vd7W").TYPE,r=o.Identifier,i=o.Number,a=o.NumberSign;function u(n,e){if(!l(n.source.charCodeAt(n.tokenStart))){if(!e)return;n.error("Unexpected input",n.tokenStart)}for(var t=n.tokenStart+1;t<n.tokenEnd;t++){var o=n.source.charCodeAt(t);if(!l(o))return void(n.tokenStart=t)}n.next()}n.exports={name:"HexColor",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;switch(this.scanner.eat(a),this.scanner.tokenType){case i:u(this.scanner,!0),this.scanner.tokenType===r&&u(this.scanner,!1);break;case r:u(this.scanner,!0);break;default:this.scanner.error("Number or identifier is expected")}return{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"),r=t("rPjj"),i=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.__extends(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(o){return void n.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var l=new r.a(this,void 0,void 0);this.add(l),Object(i.a)(this,t,void 0,void 0,l)}},e}(o.a)},"9dfq":function(n,e,t){"use strict";var l=t("mrSG"),o=t("6blF"),r=t("KQya"),i=t("/21U"),a=function(n){function e(e,t,l){void 0===t&&(t=0),void 0===l&&(l=r.a);var o=n.call(this)||this;return o.source=e,o.delayTime=t,o.scheduler=l,(!Object(i.a)(t)||t<0)&&(o.delayTime=0),l&&"function"==typeof l.schedule||(o.scheduler=r.a),o}return l.__extends(e,n),e.create=function(n,t,l){return void 0===t&&(t=0),void 0===l&&(l=r.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"),r=t("T1DM"),i=t("+gEr");function a(n,e,t){return void 0===e&&(e=r.a),void 0===t&&(t=i.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,r){var i=n.call(this,e)||this;return i.duration=t,i.scheduler=l,i.leading=o,i.trailing=r,i._hasTrailingValue=!1,i._trailingValue=null,i}return l.__extends(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],r=n;if(e in n){var i="warn"===e?"warning":e;n[e]=function(){var n=[].slice.call(arguments),a=l.safeJoin(n," "),u={level:i,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,r,n)}}}}},AxiF:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW"),i=t("G5J1");function a(n){return function(e){return 0===n?Object(i.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new r.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.__extends(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 r=e++%t;n.next(l[r])}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(r,i){if(l.length>0){var a=t(l,this);~a?l.splice(a+1):l.push(this),~a?o.splice(a,1/0,r):o.push(r),~t(l,i)&&(i=e.call(this,r,i))}else l.push(i);return null==n?i 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}(i):i:n.call(this,r,i)}}(n.exports=function(n,e,t,o){return JSON.stringify(n,l(e,o),t)}).getSerialize=l},CBFY:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG"),o=t("M+vq"),r=t("oVTH");t("imBb"),e.HotkeysDirective=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],r=new o.Hotkey(l,t[l]),i=this._hotkeysService.get(l);null!==i&&(this.oldHotkeys.push(i),this._hotkeysService.remove(i)),this.hotkeysList.push(r),this.mousetrap.bind(r.combo,r.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)},n.decorators=[{type:l.Directive,args:[{selector:"[hotkeys]",providers:[r.HotkeysService]}]}],n.propDecorators={hotkeys:[{type:l.Input}]},n}()},CJ5M:function(n,e,t){var l=t("P3uw"),o=l.findIdentifierEnd,r=l.findNumberEnd,i=l.findDecimalNumberEnd,a=l.isHex,u=t("twQA"),s=u.SYMBOL_TYPE,d=u.TYPE.Identifier,c=u.TYPE.PlusSign,p=u.TYPE.HyphenMinus,f=u.TYPE.NumberSign;function h(n,e,t){var l,o=1;do{l=t(o++)}while(null!==l&&l.node!==n.node);if(null===l)return!1;for(;e()!==l;);return!0}function m(n,e,t){if(null===n)return!1;var l=n.value.toLowerCase();return("calc("===l||"-moz-calc("===l||"-webkit-calc("===l)&&h(n,e,t)}function v(n){return/^[-+]?(\d+|\d*\.\d+)([eE][-+]?\d+)?$/.test(n)}function g(n,e){var t=n.charCodeAt(0);return r(n,t===c||t===p?1:0,e)}function b(n,e){var t=n.charCodeAt(e);return t<128&&s[t]!==d&&t!==p?e:o(n,e+1)}function y(n){return function(e,t){return null!==e&&e.node.type===n&&(t(),!0)}}function _(n){return function(e,t,l){if(m(e,t,l))return!0;if(null===e)return!1;var o=g(e.value,!0);if(0===o)return!1;if(n){if(!n.hasOwnProperty(e.value.substr(o).toLowerCase()))return!1}else{var r=b(e.value,o);if(r===o||r!==e.value.length)return!1}return t(),!0}}function w(n){var e=_(n);return function(n,t,l){return!!e(n,t,l)||null!==n&&0===Number(n.value)&&(t(),!0)}}n.exports={angle:w({deg:!0,grad:!0,rad:!0,turn:!0}),"attr()":function(n,e,t){return null!==n&&"attr("===n.value.toLowerCase()&&h(n,e,t)},"custom-ident":function(n,e){if(null===n)return!1;if(b(n.value,0)!==n.value.length)return!1;var t=n.value.toLowerCase();return"unset"!==t&&"initial"!==t&&"inherit"!==t&&"default"!==t&&(e(),!0)},decibel:_({db:!0}),dimension:_(),frequency:_({hz:!0,khz:!0}),flex:_({fr:!0}),"hex-color":function(n,e){if(null===n||n.value.charCodeAt(0)!==f)return!1;var t=n.value.length-1;if(3!==t&&4!==t&&6!==t&&8!==t)return!1;for(var l=1;l<t;l++)if(!a(n.value.charCodeAt(l)))return!1;return e(),!0},"id-selector":function(n,e){return null!==n&&n.value.charCodeAt(0)===f&&b(n.value,1)===n.value.length&&(e(),!0)},ident:y("Identifier"),integer:function(n,e,t){return!!m(n,e,t)||null!==n&&g(n.value,!1)===n.value.length&&(e(),!0)},length: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}),number:function(n,e,t){return!!m(n,e,t)||null!==n&&g(n.value,!0)===n.value.length&&(e(),!0)},"number-zero-one":function(n,e,t){if(m(n,e,t))return!0;if(null===n||!v(n.value))return!1;var l=Number(n.value);return!(l<0||l>1||(e(),0))},"number-one-or-greater":function(n,e,t){return!(!m(n,e,t)&&(null===n||!v(n.value)||Number(n.value)<1||(e(),0)))},percentage:_({"%":!0}),"positive-integer":function(n,e,t){return!!m(n,e,t)||null!==n&&i(n.value,0)===n.value.length&&n.value.charCodeAt(0)!==p&&(e(),!0)},resolution:_({dpi:!0,dpcm:!0,dppx:!0,x:!0}),semitones:_({st:!0}),string:y("String"),time:_({s:!0,ms:!0}),"unicode-range":y("UnicodeRange"),url:function(n,e,t){return null!==n&&"url("===n.value.toLowerCase()&&h(n,e,t)},progid:y("Raw"),expression:function(n,e,t){return null!==n&&"expression("===n.value.toLowerCase()&&h(n,e,t)}}},CS9Q:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("siIJ"),r=function(n){function e(t,l){void 0===l&&(l=o.a.now);var r=n.call(this,t,function(){return e.delegate&&e.delegate!==r?e.delegate.now():l()})||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return l.__extends(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)},CcnG:function(n,e,t){"use strict";t.r(e),t.d(e,"\u0275angular_packages_core_core_t",function(){return Qh}),t.d(e,"\u0275angular_packages_core_core_q",function(){return Yh}),t.d(e,"\u0275angular_packages_core_core_r",function(){return $h}),t.d(e,"\u0275angular_packages_core_core_s",function(){return Xh}),t.d(e,"\u0275angular_packages_core_core_h",function(){return $p}),t.d(e,"\u0275angular_packages_core_core_o",function(){return Ih}),t.d(e,"\u0275angular_packages_core_core_p",function(){return Ph}),t.d(e,"\u0275angular_packages_core_core_n",function(){return vh}),t.d(e,"\u0275angular_packages_core_core_m",function(){return mh}),t.d(e,"\u0275angular_packages_core_core_c",function(){return fa}),t.d(e,"\u0275angular_packages_core_core_d",function(){return De}),t.d(e,"\u0275angular_packages_core_core_e",function(){return Hp}),t.d(e,"\u0275angular_packages_core_core_f",function(){return Dp}),t.d(e,"\u0275angular_packages_core_core_g",function(){return jp}),t.d(e,"\u0275angular_packages_core_core_l",function(){return rc}),t.d(e,"\u0275angular_packages_core_core_u",function(){return kf}),t.d(e,"\u0275angular_packages_core_core_w",function(){return wf}),t.d(e,"\u0275angular_packages_core_core_v",function(){return _f}),t.d(e,"\u0275angular_packages_core_core_z",function(){return Sf}),t.d(e,"\u0275angular_packages_core_core_x",function(){return Cf}),t.d(e,"\u0275angular_packages_core_core_y",function(){return xf}),t.d(e,"\u0275angular_packages_core_core_bc",function(){return Rt}),t.d(e,"\u0275angular_packages_core_core_bj",function(){return f}),t.d(e,"\u0275angular_packages_core_core_bd",function(){return Qe}),t.d(e,"\u0275angular_packages_core_core_be",function(){return nt}),t.d(e,"\u0275angular_packages_core_core_bf",function(){return gt}),t.d(e,"\u0275angular_packages_core_core_bi",function(){return oo}),t.d(e,"\u0275angular_packages_core_core_bm",function(){return Qn}),t.d(e,"\u0275angular_packages_core_core_i",function(){return cu}),t.d(e,"\u0275angular_packages_core_core_j",function(){return pu}),t.d(e,"\u0275angular_packages_core_core_k",function(){return fu}),t.d(e,"\u0275angular_packages_core_core_a",function(){return I}),t.d(e,"\u0275angular_packages_core_core_b",function(){return O}),t.d(e,"\u0275angular_packages_core_core_bk",function(){return s}),t.d(e,"\u0275angular_packages_core_core_ba",function(){return Gv}),t.d(e,"\u0275angular_packages_core_core_bb",function(){return sm}),t.d(e,"createPlatform",function(){return Wf}),t.d(e,"assertPlatform",function(){return Kf}),t.d(e,"destroyPlatform",function(){return Yf}),t.d(e,"getPlatform",function(){return $f}),t.d(e,"PlatformRef",function(){return Xf}),t.d(e,"ApplicationRef",function(){return Jf}),t.d(e,"createPlatformFactory",function(){return Gf}),t.d(e,"NgProbeToken",function(){return Zf}),t.d(e,"enableProdMode",function(){return Vu}),t.d(e,"isDevMode",function(){return Lu}),t.d(e,"APP_ID",function(){return Yp}),t.d(e,"PACKAGE_ROOT_URL",function(){return tf}),t.d(e,"PLATFORM_INITIALIZER",function(){return Jp}),t.d(e,"PLATFORM_ID",function(){return nf}),t.d(e,"APP_BOOTSTRAP_LISTENER",function(){return ef}),t.d(e,"APP_INITIALIZER",function(){return Gp}),t.d(e,"ApplicationInitStatus",function(){return Kp}),t.d(e,"DebugElement",function(){return Rh}),t.d(e,"DebugNode",function(){return Th}),t.d(e,"asNativeElements",function(){return gh}),t.d(e,"getDebugNode",function(){return kh}),t.d(e,"Testability",function(){return jf}),t.d(e,"TestabilityRegistry",function(){return Lf}),t.d(e,"setTestabilityGetter",function(){return Vf}),t.d(e,"TRANSLATIONS",function(){return Wh}),t.d(e,"TRANSLATIONS_FORMAT",function(){return Gh}),t.d(e,"LOCALE_ID",function(){return Zh}),t.d(e,"MissingTranslationStrategy",function(){return Kh}),t.d(e,"ApplicationModule",function(){return Jh}),t.d(e,"wtfCreateScope",function(){return Tf}),t.d(e,"wtfLeave",function(){return Rf}),t.d(e,"wtfStartTimeRange",function(){return If}),t.d(e,"wtfEndTimeRange",function(){return Of}),t.d(e,"Type",function(){return sc}),t.d(e,"EventEmitter",function(){return md}),t.d(e,"ErrorHandler",function(){return Sp}),t.d(e,"Sanitizer",function(){return Tu}),t.d(e,"SecurityContext",function(){return Eu}),t.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return F}),t.d(e,"Attribute",function(){return D}),t.d(e,"ContentChild",function(){return A}),t.d(e,"ContentChildren",function(){return N}),t.d(e,"Query",function(){return M}),t.d(e,"ViewChild",function(){return q}),t.d(e,"ViewChildren",function(){return P}),t.d(e,"Component",function(){return Uc}),t.d(e,"Directive",function(){return zc}),t.d(e,"HostBinding",function(){return Kc}),t.d(e,"HostListener",function(){return Yc}),t.d(e,"Input",function(){return Wc}),t.d(e,"Output",function(){return Gc}),t.d(e,"Pipe",function(){return Hc}),t.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return rp}),t.d(e,"NO_ERRORS_SCHEMA",function(){return ip}),t.d(e,"NgModule",function(){return ap}),t.d(e,"ViewEncapsulation",function(){return ln}),t.d(e,"Version",function(){return Ru}),t.d(e,"VERSION",function(){return Iu}),t.d(e,"defineInjectable",function(){return y}),t.d(e,"defineInjector",function(){return _}),t.d(e,"forwardRef",function(){return X}),t.d(e,"resolveForwardRef",function(){return Q}),t.d(e,"Injectable",function(){return mp}),t.d(e,"INJECTOR",function(){return pa}),t.d(e,"Injector",function(){return ha}),t.d(e,"inject",function(){return Me}),t.d(e,"\u0275inject",function(){return Me}),t.d(e,"InjectFlags",function(){return Re}),t.d(e,"ReflectiveInjector",function(){return Up}),t.d(e,"createInjector",function(){return Aa}),t.d(e,"ResolvedReflectiveFactory",function(){return Ap}),t.d(e,"ReflectiveKey",function(){return Ip}),t.d(e,"InjectionToken",function(){return x}),t.d(e,"Inject",function(){return xe}),t.d(e,"Optional",function(){return Se}),t.d(e,"Self",function(){return ke}),t.d(e,"SkipSelf",function(){return Ee}),t.d(e,"Host",function(){return Te}),t.d(e,"NgZone",function(){return Ff}),t.d(e,"\u0275NoopNgZone",function(){return qf}),t.d(e,"RenderComponentType",function(){return gu}),t.d(e,"Renderer",function(){return yu}),t.d(e,"Renderer2",function(){return xu}),t.d(e,"RendererFactory2",function(){return wu}),t.d(e,"RendererStyleFlags2",function(){return Cu}),t.d(e,"RootRenderer",function(){return _u}),t.d(e,"COMPILER_OPTIONS",function(){return bf}),t.d(e,"Compiler",function(){return gf}),t.d(e,"CompilerFactory",function(){return yf}),t.d(e,"ModuleWithComponentFactories",function(){return of}),t.d(e,"ComponentFactory",function(){return Xa}),t.d(e,"\u0275ComponentFactory",function(){return Xa}),t.d(e,"ComponentRef",function(){return $a}),t.d(e,"ComponentFactoryResolver",function(){return ou}),t.d(e,"ElementRef",function(){return hu}),t.d(e,"NgModuleFactory",function(){return uu}),t.d(e,"NgModuleRef",function(){return au}),t.d(e,"NgModuleFactoryLoader",function(){return ec}),t.d(e,"getModuleFactory",function(){return ac}),t.d(e,"QueryList",function(){return eh}),t.d(e,"SystemJsNgModuleLoader",function(){return oh}),t.d(e,"SystemJsNgModuleLoaderConfig",function(){return th}),t.d(e,"TemplateRef",function(){return vd}),t.d(e,"ViewContainerRef",function(){return ih}),t.d(e,"EmbeddedViewRef",function(){return fh}),t.d(e,"ViewRef",function(){return ph}),t.d(e,"ChangeDetectionStrategy",function(){return j}),t.d(e,"ChangeDetectorRef",function(){return sh}),t.d(e,"DefaultIterableDiffer",function(){return Fh}),t.d(e,"IterableDiffers",function(){return Lh}),t.d(e,"KeyValueDiffers",function(){return Vh}),t.d(e,"SimpleChange",function(){return dl}),t.d(e,"WrappedValue",function(){return sl}),t.d(e,"platformCore",function(){return Hh}),t.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return Hf}),t.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Xp}),t.d(e,"\u0275defaultIterableDiffers",function(){return zh}),t.d(e,"\u0275defaultKeyValueDiffers",function(){return Uh}),t.d(e,"\u0275devModeEqual",function(){return ul}),t.d(e,"\u0275isListLikeIterable",function(){return cl}),t.d(e,"\u0275ChangeDetectorStatus",function(){return L}),t.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return V}),t.d(e,"\u0275Console",function(){return lf}),t.d(e,"\u0275getInjectableDef",function(){return w}),t.d(e,"\u0275setCurrentInjector",function(){return Oe}),t.d(e,"\u0275APP_ROOT",function(){return Ia}),t.d(e,"\u0275ivyEnabled",function(){return em}),t.d(e,"\u0275CodegenComponentFactoryResolver",function(){return ru}),t.d(e,"\u0275resolveComponentResources",function(){return J}),t.d(e,"\u0275ReflectionCapabilities",function(){return hc}),t.d(e,"\u0275RenderDebugInfo",function(){return bu}),t.d(e,"\u0275_sanitizeHtml",function(){return us}),t.d(e,"\u0275_sanitizeStyle",function(){return Wd}),t.d(e,"\u0275_sanitizeUrl",function(){return Hu}),t.d(e,"\u0275global",function(){return U}),t.d(e,"\u0275looseIdentical",function(){return K}),t.d(e,"\u0275stringify",function(){return Y}),t.d(e,"\u0275makeDecorator",function(){return T}),t.d(e,"\u0275isObservable",function(){return Wp}),t.d(e,"\u0275isPromise",function(){return Zp}),t.d(e,"\u0275clearOverrides",function(){return Ib}),t.d(e,"\u0275initServicesIfNeeded",function(){return Hg}),t.d(e,"\u0275overrideComponentView",function(){return Rb}),t.d(e,"\u0275overrideProvider",function(){return Tb}),t.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return ng}),t.d(e,"\u0275defineBase",function(){return fn}),t.d(e,"\u0275defineComponent",function(){return un}),t.d(e,"\u0275defineDirective",function(){return hn}),t.d(e,"\u0275definePipe",function(){return mn}),t.d(e,"\u0275defineNgModule",function(){return cn}),t.d(e,"\u0275detectChanges",function(){return vi}),t.d(e,"\u0275renderComponent",function(){return $i}),t.d(e,"\u0275Render3ComponentFactory",function(){return Au}),t.d(e,"\u0275Render3ComponentRef",function(){return Pu}),t.d(e,"\u0275directiveInject",function(){return Pi}),t.d(e,"\u0275injectAttribute",function(){return qi}),t.d(e,"\u0275getFactoryOf",function(){return qt}),t.d(e,"\u0275getInheritedFactory",function(){return jt}),t.d(e,"\u0275templateRefExtractor",function(){return Ad}),t.d(e,"\u0275ProvidersFeature",function(){return Ya}),t.d(e,"\u0275InheritDefinitionFeature",function(){return la}),t.d(e,"\u0275NgOnChangesFeature",function(){return ia}),t.d(e,"\u0275LifecycleHooksFeature",function(){return na}),t.d(e,"\u0275Render3NgModuleRef",function(){return Ks}),t.d(e,"\u0275markDirty",function(){return _i}),t.d(e,"\u0275NgModuleFactory",function(){return Ys}),t.d(e,"\u0275NO_CHANGE",function(){return hl}),t.d(e,"\u0275container",function(){return li}),t.d(e,"\u0275nextContext",function(){return pr}),t.d(e,"\u0275elementStart",function(){return Cr}),t.d(e,"\u0275namespaceHTML",function(){return br}),t.d(e,"\u0275namespaceMathML",function(){return gr}),t.d(e,"\u0275namespaceSVG",function(){return vr}),t.d(e,"\u0275element",function(){return yr}),t.d(e,"\u0275listener",function(){return Ir}),t.d(e,"\u0275text",function(){return Zr}),t.d(e,"\u0275embeddedViewStart",function(){return ai}),t.d(e,"\u0275query",function(){return Md}),t.d(e,"\u0275registerContentQuery",function(){return ji}),t.d(e,"\u0275projection",function(){return ci}),t.d(e,"\u0275bind",function(){return wi}),t.d(e,"\u0275interpolation1",function(){return Si}),t.d(e,"\u0275interpolation2",function(){return ki}),t.d(e,"\u0275interpolation3",function(){return Ei}),t.d(e,"\u0275interpolation4",function(){return Ti}),t.d(e,"\u0275interpolation5",function(){return Ri}),t.d(e,"\u0275interpolation6",function(){return Ii}),t.d(e,"\u0275interpolation7",function(){return Oi}),t.d(e,"\u0275interpolation8",function(){return Fi}),t.d(e,"\u0275interpolationV",function(){return xi}),t.d(e,"\u0275pipeBind1",function(){return ud}),t.d(e,"\u0275pipeBind2",function(){return sd}),t.d(e,"\u0275pipeBind3",function(){return dd}),t.d(e,"\u0275pipeBind4",function(){return cd}),t.d(e,"\u0275pipeBindV",function(){return pd}),t.d(e,"\u0275pureFunction0",function(){return Xs}),t.d(e,"\u0275pureFunction1",function(){return Qs}),t.d(e,"\u0275pureFunction2",function(){return Js}),t.d(e,"\u0275pureFunction3",function(){return nd}),t.d(e,"\u0275pureFunction4",function(){return ed}),t.d(e,"\u0275pureFunction5",function(){return td}),t.d(e,"\u0275pureFunction6",function(){return ld}),t.d(e,"\u0275pureFunction7",function(){return od}),t.d(e,"\u0275pureFunction8",function(){return rd}),t.d(e,"\u0275pureFunctionV",function(){return id}),t.d(e,"\u0275getCurrentView",function(){return Bi}),t.d(e,"\u0275getHostElement",function(){return el}),t.d(e,"\u0275restoreView",function(){return Je}),t.d(e,"\u0275containerRefreshStart",function(){return ri}),t.d(e,"\u0275containerRefreshEnd",function(){return ii}),t.d(e,"\u0275queryRefresh",function(){return Nd}),t.d(e,"\u0275loadQueryList",function(){return Ni}),t.d(e,"\u0275elementEnd",function(){return Or}),t.d(e,"\u0275elementProperty",function(){return Dr}),t.d(e,"\u0275componentHostSyntheticProperty",function(){return Mr}),t.d(e,"\u0275projectionDef",function(){return si}),t.d(e,"\u0275reference",function(){return Mi}),t.d(e,"\u0275enableBindings",function(){return $e}),t.d(e,"\u0275disableBindings",function(){return Xe}),t.d(e,"\u0275allocHostVars",function(){return Ci}),t.d(e,"\u0275elementAttribute",function(){return Fr}),t.d(e,"\u0275elementContainerStart",function(){return _r}),t.d(e,"\u0275elementContainerEnd",function(){return wr}),t.d(e,"\u0275elementStyling",function(){return Lr}),t.d(e,"\u0275elementHostAttrs",function(){return Vr}),t.d(e,"\u0275elementStylingMap",function(){return Hr}),t.d(e,"\u0275elementStyleProp",function(){return zr}),t.d(e,"\u0275elementStylingApply",function(){return Br}),t.d(e,"\u0275elementClassProp",function(){return Ur}),t.d(e,"\u0275textBinding",function(){return Wr}),t.d(e,"\u0275template",function(){return ti}),t.d(e,"\u0275embeddedViewEnd",function(){return ui}),t.d(e,"\u0275store",function(){return Di}),t.d(e,"\u0275load",function(){return Ai}),t.d(e,"\u0275pipe",function(){return ad}),t.d(e,"\u0275whenRendered",function(){return ea}),t.d(e,"\u0275i18n",function(){return Ps}),t.d(e,"\u0275i18nAttributes",function(){return qs}),t.d(e,"\u0275i18nExp",function(){return Vs}),t.d(e,"\u0275i18nStart",function(){return Os}),t.d(e,"\u0275i18nEnd",function(){return Ms}),t.d(e,"\u0275i18nApply",function(){return Bs}),t.d(e,"\u0275i18nPostprocess",function(){return Ds}),t.d(e,"\u0275setClassMetadata",function(){return $s}),t.d(e,"\u0275compileComponent",function(){return Nc}),t.d(e,"\u0275compileDirective",function(){return Ac}),t.d(e,"\u0275compileNgModule",function(){return kc}),t.d(e,"\u0275compileNgModuleDefs",function(){return Ec}),t.d(e,"\u0275patchComponentDefWithScope",function(){return Ic}),t.d(e,"\u0275resetCompiledComponents",function(){return Tc}),t.d(e,"\u0275compilePipe",function(){return Bc}),t.d(e,"\u0275sanitizeHtml",function(){return Gd}),t.d(e,"\u0275sanitizeStyle",function(){return Kd}),t.d(e,"\u0275defaultStyleSanitizer",function(){return Qd}),t.d(e,"\u0275sanitizeScript",function(){return Xd}),t.d(e,"\u0275sanitizeUrl",function(){return Yd}),t.d(e,"\u0275sanitizeResourceUrl",function(){return $d}),t.d(e,"\u0275bypassSanitizationTrustHtml",function(){return jd}),t.d(e,"\u0275bypassSanitizationTrustStyle",function(){return Ld}),t.d(e,"\u0275bypassSanitizationTrustScript",function(){return Vd}),t.d(e,"\u0275bypassSanitizationTrustUrl",function(){return Bd}),t.d(e,"\u0275bypassSanitizationTrustResourceUrl",function(){return zd}),t.d(e,"\u0275getLContext",function(){return Lt}),t.d(e,"\u0275bindPlayerFactory",function(){return lo}),t.d(e,"\u0275addPlayer",function(){return Hi}),t.d(e,"\u0275getPlayers",function(){return Zi}),t.d(e,"\u0275compileNgModuleFactory__POST_R3__",function(){return Uf}),t.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return $c}),t.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Xc}),t.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Qc}),t.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return up}),t.d(e,"\u0275getDebugNode__POST_R3__",function(){return Sh}),t.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return vp}),t.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return nm}),t.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return dh}),t.d(e,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return sf}),t.d(e,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return cf}),t.d(e,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return ff}),t.d(e,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return mf}),t.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return mu}),t.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return gd}),t.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return ah}),t.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Su}),t.d(e,"\u0275getModuleFactory__POST_R3__",function(){return ic}),t.d(e,"\u0275publishGlobalUtil",function(){return Yi}),t.d(e,"\u0275publishDefaultGlobalUtils",function(){return Ki}),t.d(e,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return ma}),t.d(e,"\u0275registerModuleFactory",function(){return lc}),t.d(e,"\u0275EMPTY_ARRAY",function(){return Xm}),t.d(e,"\u0275EMPTY_MAP",function(){return Qm}),t.d(e,"\u0275and",function(){return Jm}),t.d(e,"\u0275ccf",function(){return yv}),t.d(e,"\u0275cmf",function(){return Ob}),t.d(e,"\u0275crt",function(){return _m}),t.d(e,"\u0275did",function(){return Hv}),t.d(e,"\u0275eld",function(){return nv}),t.d(e,"\u0275elementEventFullName",function(){return Fm}),t.d(e,"\u0275getComponentViewDefinitionFactory",function(){return _v}),t.d(e,"\u0275inlineInterpolate",function(){return Ym}),t.d(e,"\u0275interpolate",function(){return Km}),t.d(e,"\u0275mod",function(){return dv}),t.d(e,"\u0275mpd",function(){return sv}),t.d(e,"\u0275ncd",function(){return pg}),t.d(e,"\u0275nov",function(){return Fv}),t.d(e,"\u0275pid",function(){return Zv}),t.d(e,"\u0275prd",function(){return Wv}),t.d(e,"\u0275pad",function(){return mg}),t.d(e,"\u0275pod",function(){return vg}),t.d(e,"\u0275ppd",function(){return hg}),t.d(e,"\u0275qud",function(){return ag}),t.d(e,"\u0275ted",function(){return bg}),t.d(e,"\u0275unv",function(){return gm}),t.d(e,"\u0275vid",function(){return wg});var l=t("mrSG"),o=t("pugT"),r=t("K9Ia"),i=t("6blF"),a=t("p0ib"),u=t("S1nX");function s(n){for(var e in n)if(n[e]===s)return e;throw Error("Could not find renamed property on target object.")}function d(n,e){for(var t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}var c=s({ngComponentDef:s}),p=s({ngDirectiveDef:s}),f=s({ngInjectableDef:s}),h=s({ngInjectorDef:s}),m=s({ngPipeDef:s}),v=s({ngModuleDef:s}),g=s({ngBaseDef:s}),b=s({__NG_ELEMENT_ID__:s});function y(n){return{providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function _(n){return{factory:n.factory,providers:n.providers||[],imports:n.imports||[]}}function w(n){return n&&n.hasOwnProperty(f)?n[f]:null}function C(n){return n&&n.hasOwnProperty(h)?n[h]:null}var x=function(){function n(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?y({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return n.prototype.toString=function(){return"InjectionToken "+this._desc},n}(),S="__annotations__",k="__parameters__",E="__prop__metadata__";function T(n,e,t,o,r){var i=R(e);function a(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof a)return i.call.apply(i,Object(l.__spread)([this],e)),this;var u=new((n=a).bind.apply(n,Object(l.__spread)([void 0],e)));return function(n){return r&&r.apply(void 0,Object(l.__spread)([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 R(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.__spread)(e));for(var r in o)this[r]=o[r]}}}function I(n,e,t){var o=R(e);function r(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof r)return o.apply(this,e),this;var i=new((n=r).bind.apply(n,Object(l.__spread)([void 0],e)));return a.annotation=i,a;function a(n,e,t){for(var l=n.hasOwnProperty(k)?n[k]:Object.defineProperty(n,k,{value:[]})[k];l.length<=t;)l.push(null);return(l[t]=l[t]||[]).push(i),n}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r}function O(n,e,t,o){var r=R(e);function i(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof i)return r.apply(this,e),this;var a=new((n=i).bind.apply(n,Object(l.__spread)([void 0],e)));return function(n,t){var r=n.constructor,i=r.hasOwnProperty(E)?r[E]:Object.defineProperty(r,E,{value:{}})[E];i[t]=i.hasOwnProperty(t)&&i[t]||[],i[t].unshift(a),o&&o.apply(void 0,Object(l.__spread)([n,t],e))}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i}var F=new x("AnalyzeForEntryComponents"),D=I("Attribute",function(n){return{attributeName:n}}),M=function(){return function(){}}(),N=O("ContentChildren",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!1,isViewQuery:!1,descendants:!1},e)},M),A=O("ContentChild",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!0,isViewQuery:!1,descendants:!0},e)},M),P=O("ViewChildren",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!1,isViewQuery:!0,descendants:!0},e)},M),q=O("ViewChild",function(n,e){return Object(l.__assign)({selector:n,first:!0,isViewQuery:!0,descendants:!0},e)},M),j=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}({}),L=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 V(n){return null==n||n===j.Default}var B="undefined"!=typeof window&&window,z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U="undefined"!=typeof global&&global||B||z,H=Promise.resolve(0),Z=null;function W(){if(!Z){var n=U.Symbol;if(n&&n.iterator)Z=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&&(Z=l)}}return Z}function G(n){"undefined"==typeof Zone?H.then(function(){n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}function K(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}function Y(n){if("string"==typeof n)return n;if(n instanceof Array)return"["+n.map(Y).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 $=s({__forward_ref__:s});function X(n){return n.__forward_ref__=X,n.toString=function(){return Y(this())},n}function Q(n){var e=n;return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===X?e():n}function J(n){var e=[],t=new Map;function l(l){var o=t.get(l);if(!o){var r=n(l);t.set(l,o=r.then(tn)),e.push(o)}return o}return nn.forEach(function(n){n.templateUrl&&l(n.templateUrl).then(function(e){n.template=e,n.templateUrl=void 0});var e=n.styleUrls,t=n.styles||(n.styles=[]),o=n.styles.length;e&&e.forEach(function(r,i){t.push(""),l(r).then(function(l){t[o+i]=l,e.splice(e.indexOf(r),1),0==e.length&&(n.styleUrls=void 0)})})}),nn.clear(),Promise.all(e).then(function(){return null})}var nn=new Set;function en(n){return n.templateUrl||n.styleUrls&&n.styleUrls.length}function tn(n){return"string"==typeof n?n:n.text()}var ln=function(n){return n[n.Emulated=0]="Emulated",n[n.Native=1]="Native",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}({}),on={},rn=[],an=0;function un(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,hostBindings:n.hostBindings||null,contentQueries:n.contentQueries||null,contentQueriesRefresh:n.contentQueriesRefresh||null,attributes:n.attributes||null,declaredInputs:l,inputs:null,outputs:null,exportAs:n.exportAs||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===j.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||ln.Emulated,id:"c",styles:n.styles||rn,_:null};return o._=""+{toString:function(){var e=n.directives,t=n.features,r=n.pipes;o.id+=an++,o.inputs=pn(n.inputs,l),o.outputs=pn(n.outputs),t&&t.forEach(function(n){return n(o)}),o.directiveDefs=e?function(){return("function"==typeof e?e():e).map(sn)}:null,o.pipeDefs=r?function(){return("function"==typeof r?r():r).map(dn)}:null}},o}function sn(n){return vn(n)||gn(n)}function dn(n){return bn(n)}function cn(n){return{type:n.type,bootstrap:n.bootstrap||rn,declarations:n.declarations||rn,imports:n.imports||rn,exports:n.exports||rn,transitiveCompileScopes:null}}function pn(n,e){if(null==n)return on;var t={};for(var l in n)if(n.hasOwnProperty(l)){var o=n[l],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),t[o]=l,e&&(e[o]=r)}return t}function fn(n){var e={};return{inputs:pn(n.inputs,e),declaredInputs:e,outputs:pn(n.outputs)}}var hn=un;function mn(n){return{name:n.name,factory:n.factory,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function vn(n){return n[c]||null}function gn(n){return n[p]||null}function bn(n){return n[m]||null}function yn(n,e){var t=n[v]||null;if(!t&&!0===e)throw new Error("Type "+Y(n)+" does not have 'ngModuleDef' property.");return t}var _n=0,wn=1,Cn=2,xn=3,Sn=4,kn=5,En=6,Tn=7,Rn=8,In=9,On=10,Fn=11,Dn=12,Mn=13,Nn=14,An=15,Pn=16,qn=17,jn=18,Ln=0,Vn=1,Bn=6,zn=7,Un=8,Hn="__ngContext__",Zn=8,Wn=8,Gn=9,Kn=-1,Yn=function(){return function(n,e,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t}}(),$n=Yn.prototype;function Xn(n){return"function"==typeof n?n.name||n:"string"==typeof n?n:null==n?"":"object"==typeof n&&"function"==typeof n.type?n.type.name||n.type:""+n}function Qn(n,e){return n[e+jn]}function Jn(n){for(;Array.isArray(n);)n=n[kn];return n}function ne(n,e){return Jn(e[n+jn])}function ee(n,e){return Jn(e[n.index])}function te(n,e){return e[_n].data[n+jn]}function le(n,e){var t=e[n];return t.length>=jn?t:t[kn]}function oe(n){return 0!=(4&n.flags)}function re(n){return 1==(1&n.flags)}function ie(n){return null!==n.template}function ae(n){return Array.isArray(n)&&n.length===Un}function ue(n){return 0!=(128&n[wn])}function se(n){for(var e=Array.isArray(n)?n:pe(n);e&&!(128&e[wn]);)e=e[Cn];return e}function de(n){return se(n)[In]}function ce(n){return n[Hn]}function pe(n){var e=ce(n);return e?Array.isArray(e)?e:e.lView:null}function fe(n){return n!==Kn}function he(n){return 32767&n}function me(n){return n>>16}function ve(n,e){for(var t=me(n),l=e;t>0;)l=l[qn],t--;return l}var ge=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function be(n,e){for(var t=0;t<n.length;t++)e.push(n[t])}function ye(n){for(var e=n[En];e&&2===e.type;)e=(n=n[qn])[En];return n}function _e(){var n=U.ng;if(!n||!n.\u0275compilerFacade)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.\u0275compilerFacade}var we,Ce,xe=I("Inject",function(n){return{token:n}}),Se=I("Optional"),ke=I("Self"),Ee=I("SkipSelf"),Te=I("Host"),Re=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}({}),Ie=void 0;function Oe(n){var e=Ie;return Ie=n,e}function Fe(n){var e=we;return we=n,e}function De(n,e){if(void 0===e&&(e=Re.Default),void 0===Ie)throw new Error("inject() must be called from an injection context");return null===Ie?Ne(n,void 0,e):Ie.get(n,e&Re.Optional?null:void 0,e)}function Me(n,e){return void 0===e&&(e=Re.Default),(we||De)(n,e)}function Ne(n,e,t){var l=w(n);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(t&Re.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+Y(n)+"]")}function Ae(n){for(var e=[],t=0;t<n.length;t++){var l=n[t];if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,r=Re.Default,i=0;i<l.length;i++){var a=l[i];a instanceof Se||"Optional"===a.ngMetadataName?r|=Re.Optional:a instanceof Ee||"SkipSelf"===a.ngMetadataName?r|=Re.SkipSelf:a instanceof ke||"Self"===a.ngMetadataName?r|=Re.Self:o=a instanceof xe?a.token:a}e.push(Me(o,r))}else e.push(Me(l))}return e}function Pe(n,e,t,l){e&&(l.initHooks||(l.initHooks=[])).push(n,e),t&&((l.initHooks||(l.initHooks=[])).push(n,t),(l.checkHooks||(l.checkHooks=[])).push(n,t))}function qe(n,e){if(n.firstTemplatePass)for(var t=e.directiveStart,l=e.directiveEnd;t<l;t++){var o=n.data[t];je(o,n,t),Le(o,n,t),Ve(o,n,t)}}function je(n,e,t){n.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(t,n.afterContentInit),n.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(t,n.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,n.afterContentChecked))}function Le(n,e,t){n.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(t,n.afterViewInit),n.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(t,n.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,n.afterViewChecked))}function Ve(n,e,t){null!=n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(t,n.onDestroy)}function Be(n,e,t){!t&&32&n[wn]&&(ze(n,e.initHooks,e.checkHooks,t),n[wn]&=-33)}function ze(n,e,t,l){if(!l){var o=2&n[wn]?e:t;o&&Ue(n,o)}}function Ue(n,e){for(var t=0;t<e.length;t+=2)e[t+1].call(n[e[t]])}var He,Ze,We,Ge,Ke=null;function Ye(n){Ke=n}function $e(){He=!0}function Xe(){He=!1}function Qe(){return Ge}function Je(n){it=n}function nt(){return Ze}function et(n){Ze=n}function tt(n,e){Ze=n,Ge=e}function lt(){return We}function ot(n){We=n}function rt(n){return void 0===n&&(n=Ge),1==(1&n[wn])}var it=null,at=!1;function ut(){return at}function st(n){at=n}var dt=!0;function ct(){return dt}function pt(n){dt=n}var ft=-1;function ht(){return ft}function mt(n){ft=n}function vt(n,e){var t=Ge;if(n){var l=n[_n];dt=l.firstTemplatePass,ft=l.bindingStartIndex}return Ze=e,We=!0,Ge=it=n,t}function gt(n){return void 0===n&&(n=1),(it=function(n,e){for(;n>0;)e=e[qn],n--;return e}(n,it))[In]}function bt(n){var e=Ge[_n];rt(Ge)?Ge[wn]&=-2:(ze(Ge,e.viewHooks,e.viewCheckHooks,at),Ge[wn]&=-11,Ge[wn]|=32,Ge[Tn]=e.bindingStartIndex),vt(n,null)}var yt=!0;function _t(n){var e=yt;return yt=n,e}var wt=255,Ct=0;function xt(n,e){var t=kt(n,e);if(-1!==t)return t;var l=e[_n];l.firstTemplatePass&&(n.injectorIndex=e.length,St(l.data,n),St(e,null),St(l.blueprint,null));var o=Et(n,e),r=he(o),i=ve(o,e),a=n.injectorIndex;if(fe(o))for(var u=i[_n].data,s=0;s<8;s++)e[a+s]=i[r+s]|u[r+s];return e[a+Wn]=o,a}function St(n,e){n.push(0,0,0,0,0,0,0,0,e)}function kt(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null==e[n.injectorIndex+Wn]?-1:n.injectorIndex}function Et(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var t=e[En],l=1;t&&-1===t.injectorIndex;)t=(e=e[qn])?e[En]:null,l++;return t?t.injectorIndex|l<<16:-1}function Tt(n,e,t){!function(n,e,t){var l="string"!=typeof t?t[b]:t.charCodeAt(0)||0;null==l&&(l=t[b]=Ct++);var o=l&wt,r=1<<o,i=64&o,a=32&o,u=e.data;128&o?i?a?u[n+7]|=r:u[n+6]|=r:a?u[n+5]|=r:u[n+4]|=r:i?a?u[n+3]|=r:u[n+2]|=r:a?u[n+1]|=r:u[n]|=r}(n,e[_n],t)}function Rt(n,e){var t=n.attrs;if(t)for(var l=0;l<t.length;l+=2){var o=t[l];if(3===o)break;if(o==e)return t[l+1]}return null}function It(n,e,t,l,o){if(void 0===l&&(l=Re.Default),n){var r=function(n){if("string"==typeof n)return n.charCodeAt(0)||0;var e=n[b];return"number"==typeof e?e&wt:e}(t);if("function"==typeof r){var i=nt(),a=Qe();tt(n,e);try{var u=r();if(null!=u||l&Re.Optional)return u;throw new Error("No provider for "+Xn(t)+"!")}finally{tt(i,a)}}else if("number"==typeof r){var s=null,d=kt(n,e),c=Kn,p=l&Re.Host?ye(e)[En]:null;for((-1===d||l&Re.SkipSelf)&&(c=-1===d?Et(n,e):e[d+Wn],At(l,!1)?(s=e[_n],d=he(c),e=ve(c,e)):d=-1);-1!==d;){c=e[d+Wn];var f=e[_n];if(Nt(r,d,f.data)){var h=Ft(d,e,t,s,l,p);if(h!==Ot)return h}At(l,e[_n].data[d+Zn]===p)&&Nt(r,d,e)?(s=f,d=he(c),e=ve(c,e)):d=-1}}}if(l&Re.Optional&&void 0===o&&(o=null),0==(l&(Re.Self|Re.Host))){var m=e[On];return m?m.get(t,o,l&Re.Optional):Ne(t,o,l&Re.Optional)}if(l&Re.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Xn(t)+"]")}var Ot={};function Ft(n,e,t,l,o,r){var i=e[_n],a=i.data[n+Zn],u=Dt(a,e,t,null==l?re(a)&&yt:l!=i&&3===a.type,o&Re.Host&&r===a);return null!==u?Mt(i.data,e,u,a):Ot}function Dt(n,e,t,l,o){for(var r=n.providerIndexes,i=e[_n].data,a=65535&r,u=n.directiveStart,s=r>>16,d=o?a+s:n.directiveEnd,c=l?a:a+s;c<d;c++){var p=i[c];if(c<u&&t===p||c>=u&&p.type===t)return c}if(o){var f=i[u];if(f&&ie(f)&&f.type===t)return u}return null}function Mt(n,e,t,l){var o,r=e[t];if(null!=(o=r)&&"object"==typeof o&&Object.getPrototypeOf(o)==$n){var i=r;if(i.resolving)throw new Error("Circular dep for "+Xn(n[t]));var a=_t(i.canSeeViewProviders);i.resolving=!0;var u=void 0;i.injectImpl&&(u=Fe(i.injectImpl));var s=nt(),d=Qe();tt(l,e);try{r=e[t]=i.factory(null,n,e,l)}finally{i.injectImpl&&Fe(u),_t(a),i.resolving=!1,tt(s,d)}}return r}function Nt(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 At(n,e){return!(n&Re.Self||n&Re.Host&&e)}var Pt=function(){function n(n,e){this._tNode=n,this._lView=e}return n.prototype.get=function(n,e){return It(this._tNode,this._lView,n,void 0,e)},n}();function qt(n){var e=n,t=vn(e)||gn(e)||bn(e)||w(e)||C(e);return t&&void 0!==t.factory?t.factory:null}function jt(n){var e=qt(Object.getPrototypeOf(n.prototype).constructor);return null!==e?e:function(n){return new n}}function Lt(n){var e,t=ce(n);if(t){if(Array.isArray(t)){var l=t,o=void 0,r=void 0,i=void 0;if((e=n)&&e.constructor&&e.constructor.ngComponentDef){if(-1==(o=Zt(l,n)))throw new Error("The provided component was not found in the application");r=n}else if(n&&n.constructor&&n.constructor.ngDirectiveDef){if(-1==(o=function(n,e){for(var t=n[_n].firstChild;t;){for(var l=t.directiveEnd,o=t.directiveStart;o<l;o++)if(n[o]===e)return t.index;t=Ht(t)}return-1}(l,n)))throw new Error("The provided directive was not found in the application");i=Wt(o,l,!1)}else if(-1==(o=Ut(l,n)))return null;var a=ce(h=Jn(l[o])),u=a&&!Array.isArray(a)?a:Vt(l,o,h);if(r&&void 0===u.component&&(u.component=r,zt(u.component,u)),i&&void 0===u.directives){u.directives=i;for(var s=0;s<i.length;s++)zt(i[s],u)}zt(u.native,u),t=u}}else for(var d=n,c=d;c=c.parentNode;){var p=ce(c);if(p){if(l=void 0,!(l=Array.isArray(p)?p:p.lView))return null;var f=Ut(l,d);if(f>=0){var h;zt(h=Jn(l[f]),u=Vt(l,f,h)),t=u;break}}}return t||null}function Vt(n,e,t){return{lView:n,nodeIndex:e,native:t,component:void 0,directives:void 0,localRefs:void 0}}function Bt(n){var e,t=ce(n);if(Array.isArray(t)){var l=Zt(t,n);(o=Vt(t,l,(e=le(l,t))[kn])).component=n,zt(n,o),zt(o.native,o)}else{var o;e=le((o=t).nodeIndex,o.lView)}return e}function zt(n,e){n[Hn]=e}function Ut(n,e){for(var t=n[_n].firstChild;t;){if(ee(t,n)===e)return t.index;t=Ht(t)}return-1}function Ht(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 Zt(n,e){var t=n[_n].components;if(t)for(var l=0;l<t.length;l++){var o=t[l];if(le(o,n)[In]===e)return o}else if(le(jn,n)[In]===e)return jn;return-1}function Wt(n,e,t){var l=e[_n].data[n],o=l.directiveStart;return 0==o?rn:(!t&&1&l.flags&&o++,e.slice(o,l.directiveEnd))}function Gt(n){var e,t,l=tl(n);return void 0===l.component&&(l.component=1&(t=(e=l.lView)[_n].data[l.nodeIndex]).flags?e[t.directiveStart]:null),l.component}function Kt(n){return tl(n).lView[In]}function Yt(n){for(var e=nl(n).lView;e[Cn]&&null===e[kn];)e=e[Cn];return 128&e[wn]?null:e[In]}function $t(n){return function(n){var e;for(e=Array.isArray(n)?n:pe(n);e&&!(128&e[wn]);)e=e[Cn];return e}(Array.isArray(n)?n:nl(n).lView)[In]}function Xt(n){return Object(l.__spread)($t(n).components)}function Qt(n){var e=nl(n);return new Pt(e.lView[_n].data[e.nodeIndex],e.lView)}function Jt(n){var e=nl(n);return void 0===e.directives&&(e.directives=Wt(e.nodeIndex,e.lView,!1)),e.directives||[]}function nl(n,e){void 0===e&&(e=!0);var t=Lt(n);if(!t&&e)throw new Error("Invalid ng target");return t}function el(n){return Lt(n).native}function tl(n){if(!(n instanceof Node))throw new Error("Expecting instance of DOM Node");return nl(n)}function ll(n){return"boolean"==typeof n.useCapture}function ol(n){var e=tl(n).lView,t=e[Rn],l=e[_n].cleanup,o=[];if(l&&t)for(var r=0;r<l.length;){var i=l[r++],a=l[r++];if("string"==typeof i){var u=i,s=Jn(e[a]),d=t[l[r++]],c=l[r++];n==s&&o.push({element:n,name:u,callback:d,useCapture:"boolean"==typeof c?c:!(c>=0)&&null})}}return o.sort(rl),o}function rl(n,e){return n.name==e.name?0:n.name<e.name?-1:1}var il=/([A-Z])/g;function al(n){try{return null!=n?n.toString().slice(0,30):n}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function ul(n,e){var t=cl(n),l=cl(e);return t&&l?function(n,e,t){for(var l=n[W()](),o=e[W()]();;){var r=l.next(),i=o.next();if(r.done&&i.done)return!0;if(r.done||i.done)return!1;if(!t(r.value,i.value))return!1}}(n,e,ul):!(t||!n||"object"!=typeof n&&"function"!=typeof n||l||!e||"object"!=typeof e&&"function"!=typeof e)||K(n,e)}var sl=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}(),dl=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 cl(n){return!!pl(n)&&(Array.isArray(n)||!(n instanceof Map)&&W()in n)}function pl(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function fl(n){throw new Error("Multiple components match node with tagname "+n.tagName)}var hl={};function ml(n,e,t){return n[e]=t}function vl(n,e){return n[e]}function gl(n,e,t){if(n[e]===hl)n[e]=t;else{if(o=t,(l=n[e])!=l&&o!=o||l===o)return!1;n[e]=t}var l,o;return!0}function bl(n,e,t,l){var o=gl(n,e,t);return gl(n,e+1,l)||o}function yl(n,e,t,l,o){var r=bl(n,e,t,l);return gl(n,e+2,o)||r}function _l(n,e,t,l,o,r){var i=bl(n,e,t,l);return bl(n,e+2,o,r)||i}var wl="ngProjectAs",Cl=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({});function xl(n){return!!n.listen}var Sl={createRenderer:function(n,e){return document}};function kl(n,e){return null==n.parent?function(n){var e=n[En];return e&&2!==e.type?ee(e,n[Cn]):null}(e):ee(El(n),e)}function El(n){for(var e=n.parent;e&&5===e.type;)e=e.parent;return e}function Tl(n,e){if(-1===n.index){var t=e[An];return t>-1?e[Cn][t]:null}return e[Cn][n.parent.index]}function Rl(n,e){var t=Tl(n,e);return t?t[zn]:null}var Il=[];function Ol(n,e,t,l,o){for(var r=n[_n].node,i=-1,a=n,u=r.child;u;){var s=null;if(3===u.type){Fl(e,t,l,ee(u,a),o);var d=a[u.index];ae(d)&&Fl(e,t,l,d[Bn],o)}else if(0===u.type){var c=a[u.index];Fl(e,t,l,c[Bn],o),l&&(c[zn]=l),c[Vn].length&&(s=(a=c[Vn][0])[_n].node,o=c[Bn])}else if(1===u.type){var p=ye(a),f=p[En].projection[u.projection];Il[++i]=u,Il[++i]=a,f&&(s=(a=p[Cn])[_n].data[f.index])}else s=u.child;if(null===s)for(null===u.next&&2&u.flags&&(a=Il[i--],u=Il[i--]),s=u.next;!s;){if(null===(u=u.parent||a[_n].node)||u===r)return null;0===u.type&&(o=(a=a[Cn])[u.index][Bn]),s=2===u.type&&a[xn]?(a=a[xn])[_n].node:u.next}u=s}}function Fl(n,e,t,l,o){0===n?xl(e)?e.insertBefore(t,l,o):t.insertBefore(l,o,!0):1===n?xl(e)?e.removeChild(t,l):t.removeChild(l):2===n&&e.destroyNode(l)}function Dl(n,e){return xl(e)?e.createText(Xn(n)):e.createTextNode(Xn(n))}function Ml(n,e,t){var l=Rl(n[_n].node,n);l&&Ol(n,e?0:1,n[Dn],l,t)}function Nl(n,e,t,l,o){var r=e[Vn];l>0&&(r[l-1][xn]=n),l<r.length?(n[xn]=r[l],r.splice(l,0,n)):(r.push(n),n[xn]=null),o>-1&&(n[An]=o,n[Cn]=t),n[Sn]&&n[Sn].insertView(l),n[wn]|=16}function Al(n,e,t){var l=n[Vn],o=l[e];return e>0&&(l[e-1][xn]=o[xn]),l.splice(e,1),t||Ml(o,!1),o[Sn]&&o[Sn].removeView(),o[An]=-1,o[Cn]=null,o[wn]&=-17,o}function Pl(n,e,t){var l=n[Vn][t];Al(n,t,!!e.detached),jl(l)}function ql(n){var e=n[_n].childIndex;return-1===e?null:n[e]}function jl(n){var e=n[Dn];xl(e)&&e.destroyNode&&Ol(n,2,e,null),function(n){if(-1===n[_n].childIndex)return Vl(n);for(var e=ql(n);e;){var t=null;if(e.length>=jn?e[_n].childIndex>-1&&(t=ql(e)):e[Vn].length&&(t=e[Vn][0]),null==t){for(;e&&!e[xn]&&e!==n;)Vl(e),e=Ll(e,n);Vl(e||n),t=e&&e[xn]}e=t}}(n),n[wn]|=64}function Ll(n,e){var t;return n.length>=jn&&(t=n[En])&&2===t.type?Tl(t,n):n[Cn]===e?null:n[Cn]}function Vl(n){if(n.length>=jn){var e=n;!function(n){var e,t=n[_n];null!=t&&null!=(e=t.destroyHooks)&&Ue(n,e)}(e),(o=(l=e)[_n]&&l[_n].pipeDestroyHooks)&&Ue(l,o),function(n){var e=n[_n].cleanup;if(null!=e){for(var t=n[Rn],l=0;l<e.length-1;l+=2)if("string"==typeof e[l]){var o=t[e[l+2]],r=Jn(n[e[l+1]]),i=e[l+3];"boolean"==typeof i?r.removeEventListener(e[l],o,i):i>=0?t[i]():t[-i].unsubscribe(),l+=2}else"number"==typeof e[l]?(0,t[e[l]])():e[l].call(t[e[l+1]]);n[Rn]=null}}(e);var t=e[En];t&&3===t.type&&xl(e[Dn])&&e[Dn].destroy()}var l,o}function Bl(n,e){if(zl(n,e)){if(ue(e))return Hl(e[Dn],ee(n,e));var t=e[En],l=n.parent;return null!=l&&4===l.type&&(n=Wl(l)),null==n.parent&&2===t.type?Rl(t,e):kl(n,e)}return null}function zl(n,e){var t,l=n,o=n.parent;return n.parent&&(4===n.parent.type?o=(l=Wl(n)).parent:5===n.parent.type&&(o=(l=El(l)).parent)),null===o&&(o=e[En]),o&&2===o.type?null!=(t=Tl(o,e))&&null!=t[zn]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Ul(n,e,t,l){xl(n)?n.insertBefore(e,t,l):e.insertBefore(t,l,!0)}function Hl(n,e){return xl(n)?n.parentNode(e):e.parentNode}function Zl(n,e,t){if(void 0===n&&(n=null),null!==n&&zl(e,t)){var l=t[Dn],o=kl(e,t),r=e.parent||t[En];if(2===r.type){var i=Tl(r,t),a=i[Vn],u=a.indexOf(t);Ul(l,i[zn],n,Gl(u,a,i[Bn]))}else 4===r.type?Ul(l,Bl(e,t),n,o):5===r.type?Ul(l,o,n,ee(e.parent,t)):xl(l)?l.appendChild(o,n):o.appendChild(n);return!0}return!1}function Wl(n){for(;null!=n.parent&&4===n.parent.type;)n=n.parent;return n}function Gl(n,e,t){if(n+1<e.length){var l=e[n+1],o=l[En];return o.child?ee(o.child,l):t}return t}function Kl(n,e,t){if(null!==e&&zl(n,t)){var l=kl(n,t),o=t[Dn];return xl(o)?o.removeChild(l,e):l.removeChild(e),!0}return!1}function Yl(n,e,t,l){var o=ee(n,l);Zl(o,e,t),zt(o,l);var r=Bl(e,t),i=l[n.index];if(0===n.type){i[zn]=r;for(var a=i[Vn],u=0;u<a.length;u++)Ml(a[u],!0,i[Bn])}else{if(4===n.type)for(var s=n.child;s;)Yl(s,e,t,l),s=s.next;ae(i)&&(i[zn]=r,Zl(i[Bn],e,t))}}var $l="ng-template";function Xl(n,e,t){return e===n.tagName&&(t||3===n.type||4===n.type||0===n.type&&e===$l)}function Ql(n,e,t){for(var l,o,r,i,a,u=4,s=n.attrs,d=s?s.indexOf(3):-1,c=!1,p=0;p<e.length;p++){var f=e[p];if("number"!=typeof f){if(!c)if(4&u){if(u=2|1&u,""!==f&&!Xl(n,f,t)||""===f&&1===e.length){if(Jl(u))return!1;c=!0}}else{var h=no(8&u?"class":f,s);if(-1===h){if(Jl(u))return!1;c=!0;continue}var m,v=8&u?f:e[++p];if(""!==v)if(m=d>-1&&h>d?"":s[h+1],8&u&&(r=(l=m).length,a=(i=l.indexOf(o=v))+o.length,-1===i||i>0&&" "!==l[i-1]||a<r&&" "!==l[a])||2&u&&v!==m){if(Jl(u))return!1;c=!0}}}else{if(!c&&!Jl(u)&&!Jl(f))return!1;if(c&&Jl(f))continue;c=!1,u=f|1&u}}return Jl(u)||c}function Jl(n){return 0==(1&n)}function no(n,e){if(null===e)return-1;for(var t=!1,l=0;l<e.length;){var o=e[l];if(o===n)return l;0===o?l+=4:(3===o&&(t=!0),l+=t?1:2)}return-1}function eo(n,e,t){void 0===t&&(t=!1);for(var l=0;l<e.length;l++)if(Ql(n,e[l],t))return!0;return!1}function to(n,e,t){for(var l=function(n){var e=n.attrs;if(null!=e){var t=e.indexOf(wl);if(0==(1&t))return e[t+1]}return null}(n),o=0;o<e.length;o++)if(l===t[o]||null===l&&eo(n,e[o],!0))return o+1;return 0}function lo(n,e){return new oo(n,e)}var oo=function(){return function(n,e){this.fn=n,this.value=e}}(),ro=function(){function n(){this._players=[]}return n.prototype.flushPlayers=function(){for(var n=0;n<this._players.length;n++){var e=this._players[n];e.parent||0!==e.state||e.play()}this._players.length=0},n.prototype.queuePlayer=function(n){this._players.push(n)},n}(),io="@";function ao(n,e,t,l){return[0,[null,-1,!1,e||null],t||[null],l||[null],[0,0],n||null,null,null,null]}function uo(n,e){for(var t=n,l=e[t],o=e;Array.isArray(l);)o=l,l=l[kn];if(a=o,Array.isArray(a)&&"number"==typeof a[0]&&Array.isArray(a[2]))return o;var r,i,a,u=te(n-jn,e).stylingTemplate;return o!==e&&(t=kn),o[t]=u?(r=l,(i=u.slice())[5]=r,i[0]|=32,i):ao(l)}function so(n){return n[0]===io}function co(n,e,t,l,o,r){return r=r||t,o?n[o]=l:n.push(l),!!l&&(l.addEventListener(200,function(){var e=n.indexOf(l);e&&(e<n[0]?n[e]=null:n.splice(e,1)),l.destroy()}),(e.playerHandler||(e.playerHandler=new ro)).queuePlayer(l,r),!0)}function po(n){return n[8]}function fo(n){return n[8]=[5,null,null,null,null]}function ho(n){return!!(8&n.flags)}function mo(n){for(var e=ao(),t=e[3]=[null],l=e[2]=[null],o=-1,r=0;r<n.length;r++){var i=n[r];if("number"==typeof i)o=i;else if(2===o)l.push(i,n[++r]);else if(1===o)t.push(i,!0);else if(3===o)break}return e}function vo(n,e,t){for(var l=1;l<n.length;){if(n[l]===e){var o=n[l+1];return void(null!=o&&0!=o||(n[l+1]=t))}l+=2}n.push(e,t)}function go(n,e,t,l){for(var o=1;o<t.length;o+=2){var r=t[o+1];r&&(l?wo(n,t[o+0],!0,e,null):_o(n,t[o+0],r,e,null))}}function bo(n,e,t,l){for(var o=t;o<l;o+=4)if(Bo(n,o)===e)return o;return-1}function yo(n,e,t,l,o){var r=Jo(n,o||null),i=function(n,e,t,l){var o=n[1][4*e+1],r=n[4];return r[o+2+(l?r[o+0]:0)+t]}(n,r,e,l),a=Vo(n,i),u=Lo(n,i),s=Qo(n,i),d=t instanceof oo?t.value:t;if($o(u,a,d)&&(!a||(d?r<=s:s===r))){var c=2==(2&u),p=t instanceof oo?new Xo(t,n[5],c?1:2):null,f=p?t.value:t,h=Po(n,i),m=!1,v=p?h:0;if(Mo(n,p,h)){var g=No(n,p,h);v=p?g:0,m=!0}if((m||s!==r)&&Ao(n,i,v,r),s!==r){var b=Bo(n,i),y=tr(n,r);!function(n,e,t){y&&y(b)?n[e]|=4:n[e]&=-5}(n,i)}Do(n,i,f);var _=Io(u),w=Vo(n,_);if(!w||$o(u,w,f)){var C=!1,x=!0;!Ko(f,c)&&Ko(w,c)&&(C=!0,x=!1),Co(n,_,C),Co(n,i,x),lr(n,r,!0),Uo(n,!0)}m&&Ho(n,!0)}}function _o(n,e,t,l,o,r,i){t=o&&t?o(e,t):t,r||i?(r&&r.setValue(e,t),i&&i.setValue(e,t)):t?(t=t.toString(),xl(l)?l.setStyle(n,e,t,Cl.DashCase):n.style.setProperty(e,t)):xl(l)?l.removeStyle(n,e,Cl.DashCase):n.style.removeProperty(e)}function wo(n,e,t,l,o,r){o||r?(o&&o.setValue(e,t),r&&r.setValue(e,t)):t?xl(l)?l.addClass(n,e):n.classList.add(e):xl(l)?l.removeClass(n,e):n.classList.remove(e)}function Co(n,e,t){var l=e>=9?e+0:e;t?n[l]|=1:n[l]&=-2}function xo(n,e){return 1==(1&n[e>=9?e+0:e])}function So(n,e){return 2==(2&n[e>=9?e+0:e])}function ko(n,e){return 4==(4&n[e>=9?e+0:e])}function Eo(n,e,t){return 63&n|e<<6|t<<20}function To(n,e){var t=Ro(e);return(2&e?n[3]:n[2])[t]}function Ro(n){return n>>6&16383}function Io(n){var e=n>>20&16383;return e>=9?e:-1}function Oo(n){return Io(n[0])}function Fo(n,e,t){n[e+1]=t}function Do(n,e,t){n[e+2]=t}function Mo(n,e,t){var l=n[8];if(e){if(!l||0===t)return!0}else if(!l)return!1;return l[t]!==e}function No(n,e,t){var l=n[8]||fo(n);return t>0?l[t]=e:(l.splice(t=l[0],0,e,null),l[0]+=2),t}function Ao(n,e,t,l){var o=function(n,e){return t<<16|n}(l);n[e+3]=o}function Po(n,e){return n[e+3]>>16&65535}function qo(n,e){var t=Po(n,e);if(t){var l=n[8];if(l)return l[t]}return null}function jo(n,e,t){n[0===e?e:e+0]=t}function Lo(n,e){return n[0===e?e:e+0]}function Vo(n,e){return n[e+2]}function Bo(n,e){return n[e+1]}function zo(n){return 16&n[0]}function Uo(n,e){Co(n,0,e)}function Ho(n,e){e?n[0]|=8:n[0]&=-9}function Zo(n,e,t){for(var l=(t||0)+1;l<n.length;l+=4)if(n[l]==e)return l-1;return-1}function Wo(n,e,t){var l=Vo(n,e),o=Bo(n,e),r=Lo(n,e),i=Po(n,e),a=r,u=Lo(n,t),s=Io(a);s>=0&&jo(n,s,Eo(d=Lo(n,s),Ro(d),t));var d,c=Io(u);c>=0&&jo(n,c,Eo(d=Lo(n,c),Ro(d),e)),Do(n,e,Vo(n,t)),Fo(n,e,Bo(n,t)),jo(n,e,Lo(n,t)),Ao(n,e,Po(n,t),0),Do(n,t,l),Fo(n,t,o),jo(n,t,r),Ao(n,t,i,0)}function Go(n,e,t,l,o,r,i,a){var u=e<n.length;n.splice(e,0,1|o|(t?2:0),l,r,0),Ao(n,e,a,i),u&&function(n,t){for(var l=e+4;l<n.length;l+=4){var o=Io(Lo(n,l));if(o>0){var r=Ro(Lo(n,o));jo(n,o,Eo((xo(n,o)?1:0)|(So(n,o)?2:0)|(ko(n,o)?4:0),r,l))}}}(n)}function Ko(n,e){return e?!!n:null!==n}function Yo(n,e,t,l){var o,r=l&&l(e)?4:0;return t?(r|=2,o=er(n[3],e)):o=er(n[2],e),Eo(r,o=o>0?o+1:0,0)}function $o(n,e,t){return!(2&n)&&e&&t&&4&n?e.toString()!==t.toString():e!==t}var Xo=function(){function n(n,e,t){this._element=e,this._type=t,this._values={},this._dirty=!1,this._factory=n}return n.prototype.setValue=function(n,e){this._values[n]!==e&&(this._values[n]=e,this._dirty=!0)},n.prototype.buildPlayer=function(n,e){if(this._dirty){var t=this._factory.fn(this._element,this._type,this._values,e,n||null);return this._values={},this._dirty=!1,t}},n}();function Qo(n,e){return 65535&n[e+3]}function Jo(n,e){var t=nr(n[1],e);return t>0?t/4:0}function nr(n,e){for(var t=0;t<n.length;t+=4)if(n[t]===e)return t;return-1}function er(n,e){for(var t=1;t<n.length;t+=2)if(n[t]===e)return t;return-1}function tr(n,e){var t=n[1];return t[4*e+3]||t[3]||null}function lr(n,e,t){n[1][4*e+2]=t}function or(n){var e=n[6];if(null==e){e="";for(var t=n[3],l=1;l<t.length;l+=2)t[l+1]&&(e+=(e.length?" ":"")+t[l]);n[6]=e}return e}var rr=Promise.resolve(null);function ir(n){var e=n[_n];if(e.firstTemplatePass=!1,pt(!1),!rt(n)){var t=ut();Be(n,e,t),function(n){for(var e=ql(n);null!==e;e=e[xn])if(e.length<jn&&-1===e[Ln])for(var t=e,l=0;l<t[Vn].length;l++){var o=t[Vn][l];cr(o,o[_n],o[In])}}(n),function(n){if(null!=n.contentQueries)for(var e=0;e<n.contentQueries.length;e+=2){var t=n.contentQueries[e];n.data[t].contentQueriesRefresh(t-jn,n.contentQueries[e+1])}}(e),ze(n,e.contentHooks,e.contentCheckHooks,t),function(n,e){if(n.expandoInstructions){var t=e[Tn]=n.expandoStartIndex;mt(t);for(var l=-1,o=-1,r=0;r<n.expandoInstructions.length;r++){var i=n.expandoInstructions[r];if("number"==typeof i){if(i<=0){o=-i;var a=n.expandoInstructions[++r];l=t+=Gn+a}else t+=i;mt(t)}else null!==i&&(e[Tn]=t,i(2,Jn(e[l]),o)),l++}}}(e,n)}!function(n){if(null!=n)for(var e=0;e<n.length;e++)void 0,void 0,16==(16&(t=le(n[e],Qe()))[wn])&&12&t[wn]&&(function(n){for(var e=n[_n],t=n.length;t<e.blueprint.length;t++)n[t]=e.blueprint[t]}(t),yi(t,t[In]));var t}(e.components)}function ar(n,e,t,l,o,r,i,a){var u=e.blueprint.slice();return u[wn]=51|l,u[Cn]=u[qn]=n,u[In]=t,u[Fn]=o||n&&n[Fn],u[Dn]=r||n&&n[Dn],u[Mn]=i||n&&n[Mn]||null,u[On]=a||n&&n[On]||null,u}function ur(n,e,t,l,o){var r=Qe(),i=r[_n],a=n+jn;r[a]=t;var u=i.data[a];null==u&&(u=i.data[a]=Pr(r,e,a,l,o,null));var s=nt(),d=lt();return s&&(!d||null!=s.child||null===u.parent&&2!==s.type?d||(s.next=u):s.child=u),null==i.firstChild&&(i.firstChild=u),et(u),ot(!0),u}function sr(n,e){return null==e[_n].node&&(e[_n].node=Pr(e,2,n,null,null,null)),e[En]=e[_n].node}function dr(n){var e=n[_n];e.firstTemplatePass&&(e.expandoStartIndex++,e.blueprint.push(null),e.data.push(null),n.push(null))}function cr(n,e,t){var l,o=lt(),r=nt();if(ot(!0),et(null),128&n[wn])mi(de(n));else try{ot(!0),et(null),l=vt(n,n[En]),br(),e.template(hr(n),t),n[_n].firstTemplatePass=!1,pt(!1),ir(n)}finally{bt(l),ot(o),et(r)}}function pr(n){return void 0===n&&(n=1),gt(n)}function fr(n,e,t){var l=n[Fn],o=vt(n,n[En]),r=!ut();try{r&&l.begin&&l.begin(),rt(n)&&(t&&(br(),t(1,e)),ir(n),n[wn]&=-2),t&&t(2,e),ir(n)}finally{r&&l.end&&l.end(),bt(o)}}function hr(n){return rt(n)?1:2}var mr=null;function vr(){mr="http://www.w3.org/2000/svg"}function gr(){mr="http://www.w3.org/1998/MathML/"}function br(){mr=null}function yr(n,e,t,l){Cr(n,e,t,l),Or()}function _r(n,e,t){var l=Qe(),o=l[_n],r=l[Dn].createComment("");Zl(r,ur(n,4,r,"ng-container",e||null),l),Sr(o,l,t),zt(r,l)}function wr(){var n=nt(),e=Qe(),t=e[_n];lt()?ot(!1):et(n=n.parent);var l=e[Sn];l&&(e[Sn]=l.addNode(n)),qe(t,n)}function Cr(n,e,t,l){var o,r,i,a=Qe(),u=a[_n],s=xr(e),d=ur(n,3,s,e,t||null);if(t&&(u.firstTemplatePass&&!d.stylingTemplate&&function(n){for(var e=0;e<n.length;e++){var t=n[e];if(1==t||2==t)return!0}return!1}(t)&&(d.stylingTemplate=mo(t)),Tr(s,t)),Zl(s,d,a),Sr(u,a,l),0===Ce&&zt(s,a),Ce++,u.firstTemplatePass){var c=Vi(d);c&&c.hasOwnProperty("class")&&(d.flags|=8)}d.stylingTemplate&&0==(8&d.flags)&&(go(o=s,i=a[Dn],(r=d.stylingTemplate)[3],!0),go(o,i,r[2],!1))}function xr(n,e){var t=e||Qe()[Dn];return xl(t)?t.createElement(n,mr):null===mr?t.createElement(n):t.createElementNS(mr,n)}function Sr(n,e,t,l){if(void 0===l&&(l=ee),He){var o=nt();ct()&&function(n,e,t,l,o){var r=o?{"":-1}:null;if(t){Qr(l,n.data.length,t.length);for(var i=0;i<t.length;i++)(a=t[i]).providersResolver&&a.providersResolver(a);for(Gr(n,l,t.length),i=0;i<t.length;i++){var a,u=n.data.length;Jr(n,e,a=t[i],a.factory),Xr(n.data.length-1,a,r),Pe(u,a.onInit,a.doCheck,n)}}r&&function(n,e,t){if(e)for(var l=n.localNames=[],o=0;o<e.length;o+=2){var r=t[e[o+1]];if(null==r)throw new Error("Export of name '"+e[o+1]+"' not found!");l.push(e[o],r)}}(l,o,r)}(n,e,function(n,e,t){var l=n.directiveRegistry,o=null;if(l)for(var r=0;r<l.length;r++){var i=l[r];eo(t,i.selectors,!1)&&(o||(o=[]),Tt(xt(nt(),e),e,i.type),ie(i)?(1&t.flags&&fl(t),t.flags=1,o.unshift(i)):o.push(i))}return o}(n,e,o),o,t||null),function(n,e,t){var l=t.directiveStart,o=t.directiveEnd;!ct()&&l<o&&xt(t,e);for(var r=l;r<o;r++){var i=n.data[r];ie(i)&&ni(e,t,i),Kr(e,Mt(n.data,e,r,t),i,r)}}(n,e,o),function(n,e,t){for(var l=t.directiveStart,o=t.directiveEnd,r=n.expandoInstructions,i=ct(),a=l;a<o;a++){var u=n.data[a],s=e[a];if(u.hostBindings){var d=r.length;Ye(u),u.hostBindings(1,s,t.index-jn),Ye(null),d===r.length&&i&&r.push(u.hostBindings)}else i&&r.push(null)}}(n,e,o),function(n,e,t){var l=e.localNames;if(l)for(var o=e.index+1,r=0;r<l.length;r+=2){var i=l[r+1],a=-1===i?t(e,n):n[i];n[o++]=a}}(e,o,l)}}function kr(n,e,t,l,o,r){return n.ngPrivateData||(n.ngPrivateData=Er(-1,n,e,t,l,o,r))}function Er(n,e,t,l,o,r,i){var a=jn+t,u=a+l,s=function(n,e){var t=new Array(e).fill(null,0,n).fill(hl,n);return t[An]=-1,t[Tn]=n,t}(a,u);return s[_n]={id:n,blueprint:s,template:e,viewQuery:i,node:null,data:s.slice(),childIndex:-1,bindingStartIndex:a,expandoStartIndex:u,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof r?r():r,firstChild:null}}function Tr(n,e){for(var t=Qe()[Dn],l=xl(t),o=0;o<e.length;){var r=e[o++];if("number"==typeof r){if(0!==r)break;var i=e[o++],a=e[o++],u=e[o++];l?t.setAttribute(n,a,u,i):n.setAttributeNS(i,a,u)}else u=e[o++],r!==wl&&(so(r)?l&&t.setProperty(n,r,u):l?t.setAttribute(n,r,u):n.setAttribute(r,u))}}function Rr(n,e){var t=n.createRenderer(null,null);return"string"==typeof e?xl(t)?t.selectRootElement(e):t.querySelector(e):e}function Ir(n,e,t){void 0===t&&(t=!1);var l=Qe(),o=nt(),r=l[_n],i=r.firstTemplatePass&&(r.cleanup||(r.cleanup=[]));if(3===o.type){var a=ee(o,l),u=l[Dn],s=(v=zi(l)).length,d=t;if(xl(u)){var c=u.listen(a,n,e);v.push(e,c),d=s+1}else{var p=function(n){return function(e){!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}(e);a.addEventListener(n,p,t),v.push(p)}i&&i.push(n,o.index,s,d)}void 0===o.outputs&&(o.outputs=jr(o,1));var f,h=o.outputs;if(h&&(f=h[n])){var m=f.length;if(m)for(var v=zi(l),g=0;g<m;g+=2){var b=l[f[g]][f[g+1]].subscribe(e),y=v.length;v.push(e,b),i&&i.push(n,o.index,y,-(y+1))}}}function Or(){var n=nt();lt()?ot(!1):et(n=n.parent);var e=Qe(),t=e[Sn];if(t&&(e[Sn]=t.addNode(n)),qe(Qe()[_n],n),Ce--,ho(n)){var l=uo(n.index,e);qr(e,n.inputs.class,or(l))}}function Fr(n,e,t,l){if(t!==hl){var o=Qe(),r=o[Dn],i=ne(n,o);if(null==t)xl(r)?r.removeAttribute(i,e):i.removeAttribute(e);else{var a=null==l?Xn(t):l(t);xl(r)?r.setAttribute(i,e,a):i.setAttribute(e,a)}}}function Dr(n,e,t,l,o){Ar(n,e,t,l,o)}function Mr(n,e,t,l,o){Ar(n,e,t,l,o,Nr)}function Nr(n,e){return e[n.index][Dn]}function Ar(n,e,t,l,o,r){if(t!==hl){var i,a,u=Qe(),s=ne(n,u),d=te(n,u);if(!o&&(i=Vi(d))&&(a=i[e]))qr(u,a,t),re(d)&&function(e,t){var l=le(n+jn,e);4&l[wn]||(l[wn]|=8)}(u);else if(3===d.type){var c=r?r(d,u):u[Dn];t=null!=l?l(t):t,xl(c)?c.setProperty(s,e,t):so(e)||(s.setProperty?s.setProperty(e,t):s[e]=t)}}}function Pr(n,e,t,l,o,r){var i=nt(),a=lt()?i:i&&i.parent,u=a&&n&&a!==n[En]?a:null;return{type:e,index:t,injectorIndex:u?u.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:l,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:r,next:null,child:null,parent:u,detached:null,stylingTemplate:null,projection:null}}function qr(n,e,t){for(var l=0;l<e.length;l+=2)n[e[l]][e[l+1]]=t}function jr(n,e){var t=Qe()[_n],l=null,o=n.directiveStart,r=n.directiveEnd;if(r>o)for(var i=0===e,a=t.data,u=o;u<r;u++){var s=a[u],d=i?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,p):l[c]=[u,p]}}return l}function Lr(n,e,t,l){var o=nt();o.stylingTemplate||(o.stylingTemplate=ao()),function(n,e,t,l,o,r){if(!(32&n[0])){var i=function(n,e,t){var l,o=n[1],r=n[4].length,i=nr(o,e);if(-1===i)l=o.length/4,o.push(e,r,!1,t||null);else{if(o[i+1]>=0)return-1;l=i/4,o[i+1]=r,o[i+3]=t||null}return l}(n,e,o);if(-1!==i){var a=n[4],u=a[1],s=a[0],d=4*s,c=9+d,p=c+4*u,f=p+d,h=a.length;a.push(l?l.length:0,t?t.length:0);var m=0,v=[];if(l&&l.length)for(var g=0;g<l.length;g++){var b=l[g];-1==(w=bo(n,b,9,c))&&(w=c+m,m+=4,v.push(b)),a.push(w)}var y=[];if(t&&t.length)for(var _=0;_<t.length;_++){var w,C=t[_];-1==(w=bo(n,C,c,p))?(w=p+m,m+=4,y.push(C)):w+=4*v.length,a.push(w)}var x=2;if(v.length)for(;x<h;){var S=a[x+0],k=a[x+1];if(k)for(var E=x+2+S,T=E;T<E+k;T++)a[T]+=4*v.length;x+=2+(S+k)}for(var R=y.length+v.length,I=9;I<n.length;I+=4){var O=I>=p,F=I>=(O?f:c),D=Lo(n,I),M=Ro(D),N=Io(D);jo(n,I,Eo(D,M,N+=O?F?4*v.length:0:4*R+4*(F?v.length:0)))}for(var A=0;A<4*v.length;A++)n.splice(f,0,null),n.splice(c,0,null),c++,p++,f+=2;for(var P=0;P<4*y.length;P++)n.splice(p,0,null),n.push(null),p++,f++;for(var q=n[3],j=n[2],L=0;L<R;L++){var V=L>=v.length,B=V?L-v.length:L,z=V?y[B]:v[B],U=void 0,H=void 0;V?(U=f+4*(u+B),H=c+4*(u+B)):(U=p+4*(s+B),H=9+4*(s+B));var Z=V?q:j,W=er(Z,z);-1===W?(W=Z.length+1,Z.push(z,!V&&null)):W+=1;var G=Yo(n,z,V,o||null);jo(n,H,Eo(G,W,U)),Fo(n,H,z),Do(n,H,null),Ao(n,H,0,i),jo(n,U,Eo(G,W,H)),Fo(n,U,z),Do(n,U,null),Ao(n,U,0,i)}a[1]=u+y.length,a[0]=s+v.length,jo(n,0,Eo(0,0,p)|(r?16:0))}}}(o.stylingTemplate,l||null,n,e,t,ho(o))}function Vr(n,e){var t=nt();t.stylingTemplate||(t.stylingTemplate=mo(e)),function(n,e,t){var l=n[1];if(-1==nr(l,t)){l.push(t,-1,!1,null);for(var o=null,r=null,i=-1,a=0;a<e.length;a++){var u=e[a];"number"==typeof u?i=u:1==i?vo(o=o||n[3],u,!0):2==i&&vo(r=r||n[2],u,e[++a])}}}(t.stylingTemplate,e,n)}function Br(n,e){var t=Qe(),l=0!=(2&t[wn]);(function(n,t,l,o,r,i,a){var u=0,s=Jo(n,e||null);if(function(n){return xo(n,0)}(n)&&function(n,e){return n[1][4*s+2]}(n)){for(var d=8&n[0],c=n[5],p=Oo(n),f=zo(n),h=!1,m=9;m<n.length;m+=4)if(xo(n,m)){var v=Lo(n,m),g=Qo(n,m);if(s!==g){h=!0;continue}var b=Bo(n,m),y=Vo(n,m),_=4&v?tr(n,g):null,w=qo(n,m),C=!!(2&v),x=!C||!f,S=y;m<p&&!Ko(S,C)&&(S=Vo(n,Io(v))),C||Ko(S,C)||!x||(S=To(n,v)),(!o||S)&&(C?wo(c,b,!!S,t,null,w):_o(c,b,S,t,_,null,w)),Co(n,m,!1)}if(d){var k=Array.isArray(l)?de(l):l,E=po(n),T=E[0];for(m=1;m<T;m+=2){var R=E[m],I=m+1,O=E[I];if(R){var F=R.buildPlayer(O,o);void 0!==F&&(null!=F&&co(E,k,c,F,I)&&u++,O&&O.destroy())}else O&&O.destroy()}Ho(n,!1)}lr(n,s,!1),Uo(n,h)}return u})(uo(n+jn,t),t[Dn],t,l)>0&&hi(de(t),2)}function zr(n,e,t,l,o){var r=null;null!==t&&(r=l?Xn(t)+l:t),yo(uo(n+jn,Qe()),e,r,!1,o)}function Ur(n,e,t,l){var o=t instanceof oo?t:!!t;yo(uo(n+jn,Qe()),e,o,!0,l)}function Hr(n,e,t,l){if(null!=l)return function(n,e,t,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var o=Qe(),r=te(n,o),i=uo(n+jn,o);if(ho(r)&&e!==hl){var a=or(i);qr(o,r.inputs.class,(a.length?a+" ":"")+e)}else!function(n,e,t,l){t=t||null;var o=Jo(n,null),r=n[5],i=e instanceof oo?new Xo(e,r,1):null,a=t instanceof oo?new Xo(t,r,2):null,u=i?e.value:e,s=a?t.value:t,d=zo(n)||u===hl||u===n[6],c=s===hl||s===n[7];if(!d||!c){n[6]=u,n[7]=s;var p=rn,f=!1,h=!1,m=i?1:0;Mo(n,i,1)&&(No(n,i,1),h=!0);var v=a?3:0;Mo(n,a,3)&&(No(n,a,3),h=!0),d||("string"==typeof u?(p=u.split(/\s+/),f=!0):p=u?Object.keys(u):rn);for(var g=u||on,b=s?Object.keys(s):rn,y=s||on,_=b.length,w=!1,C=Oo(n),x=0,S=b.length+p.length;C<n.length&&x<S;){if(!(P=x>=_)&&!c||P&&!d){var k=P?x-_:x,E=P?p[k]:b[k],T=P?!!f||g[E]:y[E],R=P?m:v;if((q=Bo(n,C))===E){var I=Vo(n,C),O=Lo(n,C);if(Ao(n,C,R,o),$o(O,I,T)){Do(n,C,T),h=h||!!R;var F=To(n,O);(null!=I||$o(O,F,T))&&(Co(n,C,!0),w=!0)}}else{var D=Zo(n,E,C);if(D>0){var M=Vo(n,D),N=Lo(n,D);Wo(n,C,D),$o(N,M,T)&&(F=To(n,N),Do(n,C,T),(null!=M||$o(N,F,T))&&(Co(n,C,!0),h=h||!!R,w=!0))}else h=h||!!R,Go(n,C,P,E,Yo(n,E,P,tr(n,o)),T,o,R),w=!0}}C+=4,x++}for(;C<n.length;)(!(P=2==(2&(O=Lo(n,C))))&&!c||P&&!d)&&Ko(I=Vo(n,C),P)&&(Co(n,C,!0),Do(n,C,null),Ao(n,C,R=P?m:v,o),w=!0),C+=4;for(var A=tr(n,o);x<S;){var P;if(!(P=x>=_)&&!c||P&&!d){k=P?x-_:x;var q=P?p[k]:b[k],j=(I=P?!!f||g[q]:y[q],O=1|Yo(n,q,P,A),R=P?m:v,n.length);n.push(O,q,I,0),Ao(n,j,R,o),w=!0}x++}w&&(Uo(n,!0),lr(n,o,!0)),h&&Ho(n,!0)}}(i,e,t)}function Zr(n,e){var t=Qe(),l=Dl(e,t[Dn]),o=ur(n,3,l,null,null);ot(!1),Zl(l,o,t)}function Wr(n,e){if(e!==hl){var t=Qe(),l=ne(n,t),o=t[Dn];xl(o)?o.setValue(l,Xn(e)):l.textContent=Xn(e)}}function Gr(n,e,t){var l=-(e.index-jn),o=n.data.length-(65535&e.providerIndexes);(n.expandoInstructions||(n.expandoInstructions=[])).push(l,o,t)}function Kr(n,e,t,l){var o=nt();Yr(n,o,e,t),o&&o.attrs&&function(n,e,l,r){var i=o.initialInputs;(void 0===i||n>=i.length)&&(i=function(n,e,t){var l=t.initialInputs||(t.initialInputs=[]);l[n]=null;for(var o=t.attrs,r=0;r<o.length;){var i=o[r];if(3===i)break;if(0!==i){var a=e[i],u=o[r+1];void 0!==a&&(l[n]||(l[n]=[])).push(a,u),r+=2}else r+=4}return l}(n,t.inputs,o));var a=i[n];if(a)for(var u=0;u<a.length;u+=2)e[a[u]]=a[u+1]}(l,e),t.contentQueries&&t.contentQueries(l),ie(t)&&(le(o.index,n)[In]=e)}function Yr(n,e,t,l){var o=ee(e,n);zt(t,n),o&&zt(o,n),null!=l.attributes&&3==e.type&&Tr(o,l.attributes)}function $r(n){var e=Qe()[_n];(e.components||(e.components=[])).push(n.index)}function Xr(n,e,t){t&&(e.exportAs&&(t[e.exportAs]=n),e.template&&(t[""]=n))}function Qr(n,e,t){n.flags=1&n.flags,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Jr(n,e,t,l){n.data.push(t);var o=new Yn(l,ie(t),null);n.blueprint.push(o),e.push(o)}function ni(n,e,t){var l=ee(e,n),o=kr(t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery),r=pi(n,e.index,ar(n,o,null,t.onPush?8:4,n[Fn],n[Fn].createRenderer(l,t)));r[En]=e,r[kn]=n[e.index],n[e.index]=r,ct()&&$r(e)}function ei(n,e,t,l,o){return[o?-1:0,[],t,null,null,n,l,Bl(e,t)]}function ti(n,e,t,l,o,r,i,a){var u=Qe(),s=u[_n],d=oi(n,o||null,r||null);ct()&&(d.tViews=Er(-1,e,t,l,s.directiveRegistry,s.pipeRegistry,null)),Sr(s,u,i,a);var c=u[Sn],p=nt();zt(ee(p,u),u),c&&(u[Sn]=c.addNode(p)),qe(s,d),ot(!1)}function li(n){var e=oi(n,null,null);ct()&&(e.tViews=[]),ot(!1)}function oi(n,e,t){var l=Qe(),o=n+jn,r=l[Dn].createComment(""),i=ur(n,0,r,e,t),a=l[o]=ei(l[o],i,l,r);Zl(r,i,l),pi(l,n+jn,a);var u=l[Sn];return u&&(a[Sn]=u.container()),i}function ri(n){var e=Qe(),t=e[_n];et(Qn(t.data,n)),ot(!0),e[n+jn][Ln]=0,Be(e,t,ut())}function ii(){var n=nt();lt()?ot(!1):et(n=n.parent);for(var e=Qe()[n.index],t=e[Ln];t<e[Vn].length;)Pl(e,n,t)}function ai(n,e,t){var l=Qe(),o=nt(),r=2===o.type?o.parent:o,i=l[r.index],a=function(n,e,t,l){for(var o=n[Vn],r=t;r<o.length;r++){var i=o[r][_n].id;if(i===l)return o[r];if(!(i<l))break;Pl(n,e,r)}return null}(i,r,i[Ln],n);return a?(ot(!0),vt(a,a[_n].node)):(a=ar(l,function(n,e,t,l){var o=Qe()[_n],r=l.tViews;return(n>=r.length||null==r[n])&&(r[n]=Er(n,null,e,t,o.directiveRegistry,o.pipeRegistry,null)),r[n]}(n,e,t,r),null,4),i[Sn]&&(a[Sn]=i[Sn].createView()),sr(n,a),vt(a,a[_n].node)),i&&(rt(a)&&Nl(a,i,l,i[Ln],-1),i[Ln]++),rt(a)?3:2}function ui(){var n=Qe(),e=n[En];rt(n)&&(ir(n),n[wn]&=-2),ir(n),bt(n[Cn]),et(e),ot(!1)}function si(n,e){var t=ye(Qe())[En];if(!t.projection)for(var l=t.projection=new Array(n?n.length+1:1).fill(null),o=l.slice(),r=t.child;null!==r;){var i=n?to(r,n,e):0,a=r.next;o[i]?o[i].next=r:(l[i]=r,r.next=null),o[i]=r,r=a}}var di=[];function ci(n,e,t){void 0===e&&(e=0);var l=Qe(),o=ur(n,1,null,null,t||null);null===o.projection&&(o.projection=e),ot(!1);for(var r=ye(l),i=r[En].projection[e],a=r[Cn],u=-1;i;){if(1===i.type){var s=ye(a),d=s[En].projection[i.projection];if(d){di[++u]=i,di[++u]=a,i=d,a=s[Cn];continue}}else i.flags|=2,Yl(i,o,l,a);null===i.next&&a!==r[Cn]&&(a=di[u--],i=di[u--]),i=i.next}}function pi(n,e,t){var l=n[_n],o=ct();return n[Nn]?n[Nn][xn]=t:o&&(l.childIndex=e),n[Nn]=t,t}function fi(n){for(;n&&!(128&n[wn]);)n[wn]|=8,n=n[Cn];n[wn]|=8,hi(n[In],1)}function hi(n,e){var t,l=0===n.flags;n.flags|=e,l&&n.clean==rr&&(n.clean=new Promise(function(n){return t=n}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,mi(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=rr,t(null)}))}function mi(n){for(var e=0;e<n.components.length;e++){var t=n.components[e];fr(pe(t),t)}}function vi(n){gi(Bt(n),n)}function gi(n,e){var t=n[Fn];t.begin&&t.begin(),rt(n)&&yi(n,e),yi(n,e),t.end&&t.end()}function bi(n){mi(n[In])}function yi(n,e){var t=n[_n],l=vt(n,n[En]),o=t.template,r=t.viewQuery;try{br(),function(e,t,l){e&&rt(n)&&e(1,l)}(r,0,e),o(hr(n),e),ir(n),function(e,t,l){e&&!rt(n)&&e(2,l)}(r,0,e)}finally{bt(l)}}function _i(n){fi(Bt(n))}function wi(n){var e=Qe();return gl(e,e[Tn]++,n)?n:hl}function Ci(n){if(ct()){var e=Qe(),t=e[_n];!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,Ke,n),function(n,e,t){for(var l=0;l<t;l++)e.push(hl),n.blueprint.push(hl),n.data.push(null)}(t,e,n)}}function xi(n){for(var e=!1,t=Qe(),l=t[Tn],o=1;o<n.length;o+=2)gl(t,l++,n[o])&&(e=!0);if(t[Tn]=l,!e)return hl;var r=n[0];for(o=1;o<n.length;o+=2)r+=Xn(n[o])+n[o+1];return r}function Si(n,e,t){var l=Qe(),o=gl(l,l[Tn],e);return l[Tn]+=1,o?n+Xn(e)+t:hl}function ki(n,e,t,l,o){var r=Qe(),i=bl(r,r[Tn],e,l);return r[Tn]+=2,i?n+Xn(e)+t+Xn(l)+o:hl}function Ei(n,e,t,l,o,r,i){var a=Qe(),u=yl(a,a[Tn],e,l,r);return a[Tn]+=3,u?n+Xn(e)+t+Xn(l)+o+Xn(r)+i:hl}function Ti(n,e,t,l,o,r,i,a,u){var s=Qe(),d=_l(s,s[Tn],e,l,r,a);return s[Tn]+=4,d?n+Xn(e)+t+Xn(l)+o+Xn(r)+i+Xn(a)+u:hl}function Ri(n,e,t,l,o,r,i,a,u,s,d){var c=Qe(),p=c[Tn],f=_l(c,p,e,l,r,a);return f=gl(c,p+4,s)||f,c[Tn]+=5,f?n+Xn(e)+t+Xn(l)+o+Xn(r)+i+Xn(a)+u+Xn(s)+d:hl}function Ii(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=Qe(),h=f[Tn],m=_l(f,h,e,l,r,a);return m=bl(f,h+4,s,c)||m,f[Tn]+=6,m?n+Xn(e)+t+Xn(l)+o+Xn(r)+i+Xn(a)+u+Xn(s)+d+Xn(c)+p:hl}function Oi(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h){var m=Qe(),v=m[Tn],g=_l(m,v,e,l,r,a);return g=yl(m,v+4,s,c,f)||g,m[Tn]+=7,g?n+Xn(e)+t+Xn(l)+o+Xn(r)+i+Xn(a)+u+Xn(s)+d+Xn(c)+p+Xn(f)+h:hl}function Fi(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=Qe(),b=g[Tn],y=_l(g,b,e,l,r,a);return y=_l(g,b+4,s,c,f,m)||y,g[Tn]+=8,y?n+Xn(e)+t+Xn(l)+o+Xn(r)+i+Xn(a)+u+Xn(s)+d+Xn(c)+p+Xn(f)+h+Xn(m)+v:hl}function Di(n,e){var t=Qe(),l=t[_n],o=n+jn;o>=l.data.length&&(l.data[o]=null),t[o]=e}function Mi(n){return Qn(it,n)}function Ni(n){return Qe()[Pn][n]}function Ai(n){return Qn(Qe(),n)}function Pi(n,e){return void 0===e&&(e=Re.Default),n=Q(n),It(nt(),Qe(),n,e)}function qi(n){return Rt(nt(),n)}function ji(n,e){var t=Qe(),l=t[_n],o=(t[Pn]||(t[Pn]=[])).push(n);if(ct()){var r=l.contentQueries||(l.contentQueries=[]);e!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&r.push(e,o-1)}}var Li=rr;function Vi(n){return n?(void 0===n.inputs&&(n.inputs=jr(n,0)),n.inputs):null}function Bi(){return Qe()}function zi(n){return n[Rn]||(n[Rn]=[])}function Ui(n){return n[_n].cleanup||(n[_n].cleanup=[])}function Hi(n,e){var t=Lt(n);if(t){var l=t.native,o=t.lView,r=function(n,e){if(!(e=e||Lt(l)))return null;var t=uo(e.nodeIndex,e.lView);return po(t)||fo(t)}(0,t),i=$t(o);co(r,i,l,e,0,n),hi(i,2)}}function Zi(n){var e=Lt(n);if(!e)return[];var t=uo(e.nodeIndex,e.lView),l=t?po(t):null;return l?function(n){for(var e=[],t=n[0],l=2;l<t;l+=2){var o=n[l];o&&e.push(o)}for(l=t;l<n.length;l++)e.push(n[l]);return e}(l):[]}var Wi="ng",Gi=!1;function Ki(){Gi||(Gi=!0,Yi("getComponent",Gt),Yi("getContext",Kt),Yi("getListeners",ol),Yi("getViewComponent",Yt),Yi("getHostElement",el),Yi("getInjector",Qt),Yi("getRootComponents",Xt),Yi("getDirectives",Jt),Yi("getPlayers",Zi),Yi("markDirty",_i))}function Yi(n,e){if(U){var t=U[Wi];t||(t=U[Wi]={}),t[n]=e}}function $i(n,e){void 0===e&&(e={});var t=e.rendererFactory||Sl,l=e.sanitizer||null,o=vn(n);o.type!=n&&(o.type=n);var r,i=Rr(t,e.host||o.selectors[0][0]),a=o.onPush?136:132,u=Ji(e.scheduler,e.playerHandler),s=t.createRenderer(i,o),d=ar(null,Er(-1,null,1,0,null,null,null),u,a,t,s,void 0,e.injector||null),c=vt(d,null);try{t.begin&&t.begin(),r=Qi(Xi(i,o,d,t,s,l),o,d,u,e.hostFeatures||null),ir(d),d[wn]&=-2,ir(d)}finally{bt(c),t.end&&t.end()}return r}function Xi(n,e,t,l,o,r){We=!1,Ze=null,Ce=0,He=!0;var i=t[_n],a=ar(t,kr(e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery),null,e.onPush?8:4,l,o,r),u=ur(0,3,n,null,null);return i.firstTemplatePass&&(Tt(xt(u,t),t,e.type),u.flags=1,Qr(u,t.length,1),$r(u)),a[kn]=t[jn],a[En]=u,t[jn]=a}function Qi(n,e,t,l,o){var r=t[_n],i=function(n,e,t){var l=nt();n.firstTemplatePass&&(t.providersResolver&&t.providersResolver(t),Gr(n,l,1),Jr(n,e,t,t.factory));var o=Mt(n.data,e,e.length-1,l);return Yr(e,l,o,t),o}(r,t,e);if(l.components.push(i),n[In]=i,o&&o.forEach(function(n){return n(i,e)}),r.firstTemplatePass&&e.hostBindings){var a=nt();Ye(e),e.hostBindings(1,i,a.index-jn),Ye(null)}return i}function Ji(n,e){return{components:[],scheduler:n||ge,clean:Li,playerHandler:e||null,flags:0}}function na(n,e){var t=pe(n)[_n],l=t.data.length-1;Pe(l,e.onInit,e.doCheck,t),qe(t,{directiveStart:l,directiveEnd:l+1})}function ea(n){return function(n){return se(n)[In]}(n).clean}function ta(n){return"function"==typeof n.template}function la(n){for(var e=Object.getPrototypeOf(n.type.prototype).constructor,t=function(){var t,o,r=void 0;if(ta(n))r=e.ngComponentDef||e.ngDirectiveDef;else{if(e.ngComponentDef)throw new Error("Directives cannot inherit Components");r=e.ngDirectiveDef}var i=e.ngBaseDef;if(i||r){var a=n;a.inputs=oa(n.inputs),a.declaredInputs=oa(n.declaredInputs),a.outputs=oa(n.outputs)}if(i&&(d(n.inputs,i.inputs),d(n.declaredInputs,i.declaredInputs),d(n.outputs,i.outputs)),r){var u=n.hostBindings,s=r.hostBindings;if(s&&(n.hostBindings=u?function(n,e,t){s(n,e,t),u(n,e,t)}:s),ta(n)&&ta(r)){var c=n.viewQuery,p=r.viewQuery;p&&(n.viewQuery=c?function(n,e){p(n,e),c(n,e)}:p)}var f=n.contentQueries,h=r.contentQueries;h&&(n.contentQueries=f?function(n){h(n),f(n)}:h);var m=n.contentQueriesRefresh,v=r.contentQueriesRefresh;v&&(n.contentQueriesRefresh=m?function(n,e){v(n,e),m(n,e)}:v),d(n.inputs,r.inputs),d(n.declaredInputs,r.declaredInputs),d(n.outputs,r.outputs),n.afterContentChecked=n.afterContentChecked||r.afterContentChecked,n.afterContentInit=n.afterContentInit||r.afterContentInit,n.afterViewChecked=n.afterViewChecked||r.afterViewChecked,n.afterViewInit=n.afterViewInit||r.afterViewInit,n.doCheck=n.doCheck||r.doCheck,n.onDestroy=n.onDestroy||r.onDestroy,n.onInit=n.onInit||r.onInit;var g=r.features;if(g)try{for(var b=Object(l.__values)(g),y=b.next();!y.done;y=b.next()){var _=y.value;_&&_.ngInherit&&_(n)}}catch(C){t={error:C}}finally{try{y&&!y.done&&(o=b.return)&&o.call(b)}finally{if(t)throw t.error}}return"break"}var w=e.prototype;w&&(n.afterContentChecked=n.afterContentChecked||w.afterContentChecked,n.afterContentInit=n.afterContentInit||w.afterContentInit,n.afterViewChecked=n.afterViewChecked||w.afterViewChecked,n.afterViewInit=n.afterViewInit||w.afterViewInit,n.doCheck=n.doCheck||w.doCheck,n.onDestroy=n.onDestroy||w.onDestroy,n.onInit=n.onInit||w.onInit),e=Object.getPrototypeOf(e)};e&&"break"!==t(););}function oa(n){return n===on?{}:n===rn?[]:n}var ra="__ngOnChanges_";function ia(n){var e=n.declaredInputs,t=n.inputs,l=n.type.prototype,o=function(n){if(e.hasOwnProperty(n)){for(var o=t[n],r=e[n],i=ra+o,a=void 0,u=l;!a&&u&&Object.getPrototypeOf(u)!==Object.getPrototypeOf(Object.prototype);)a=Object.getOwnPropertyDescriptor(u,o),u=Object.getPrototypeOf(u);var s=a&&a.set;Object.defineProperty(l,o,{get:a&&a.get||(s?void 0:function(){return this[i]}),set:function(n){var e=this[ra];e||(e={},Object.defineProperty(this,ra,{value:e,writable:!0}));var t=!this.hasOwnProperty(i),l=e[r];l?l.currentValue=n:e[r]=new dl(this[i],n,t),t?Object.defineProperty(this,i,{value:n,writable:!0}):this[i]=n,s&&s.call(this,n)},configurable:!1})}};for(var r in e)o(r);null!=n.onInit&&(n.onInit=aa(n.onInit)),n.doCheck=aa(n.doCheck)}function aa(n){return function(){var e=this[ra];null!=e&&(this.ngOnChanges(e),this[ra]=null),n&&n.apply(this)}}function ua(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]}ia.ngInherit=!0;var sa="__source",da=new Object,ca=da,pa=new x("INJECTOR"),fa=function(){function n(){}return n.prototype.get=function(n,e){if(void 0===e&&(e=da),e===da)throw new Error("NullInjectorError: No provider for "+Y(n)+"!");return e},n}(),ha=function(){function n(){}return n.create=function(n,e){return Array.isArray(n)?new ka(n,e):new ka(n.providers,n.parent,n.name||null)},n.THROW_IF_NOT_FOUND=da,n.NULL=new fa,n.ngInjectableDef=y({providedIn:"any",factory:function(){return Me(pa)}}),n.__NG_ELEMENT_ID__=function(){return va()},n}(),ma=function(){return n=nt(),new Pt(n,Qe());var n},va=ua,ga=function(n){return n},ba=[],ya=ga,_a=function(){return Array.prototype.slice.call(arguments)},wa=s({provide:String,useValue:s}),Ca=ha.NULL,xa=/\n/gm,Sa="\u0275",ka=function(){function n(n,e,t){void 0===e&&(e=Ca),void 0===t&&(t=null),this.parent=e,this.source=t;var l=this._records=new Map;l.set(ha,{token:ha,fn:ga,deps:ba,value:this,useNew:!1}),l.set(pa,{token:pa,fn:ga,deps:ba,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 Ra("Function/Class not supported",t);if(!t||"object"!=typeof t||!t.provide)throw Ra("Unexpected provider",t);var o=Q(t.provide),r=function(n){var e=function(n){var e=ba,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 r=0,i=u;r<i.length;r++){var a=i[r];a instanceof Se||a==Se?o|=1:a instanceof Ee||a==Ee?o&=-3:a instanceof ke||a==ke?o&=-5:u=a instanceof xe?a.token:Q(a)}e.push({token:u,options:o})}}else if(n.useExisting){var u;e=[{token:u=Q(n.useExisting),options:6}]}else if(!(t||wa in n))throw Ra("'deps' required",n);return e}(n),t=ga,l=ba,o=!1,r=Q(n.provide);if(wa 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 r)throw Ra("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",n);o=!0,t=r}return{deps:e,fn:t,useNew:o,value:l}}(t);if(!0===t.multi){var i=e.get(o);if(i){if(i.fn!==_a)throw Ea(o)}else e.set(o,i={token:t.provide,deps:[],useNew:!1,fn:_a,value:ba});i.deps.push({token:o=t,options:6})}var a=e.get(o);if(a&&a.fn==_a)throw Ea(o);e.set(o,r)}}(l,n)}return n.prototype.get=function(n,e,t){void 0===t&&(t=Re.Default);var o=this._records.get(n);try{return function n(e,t,o,r,i,a){try{return function(e,t,o,r,i,a){var u,s;if(!t||a&Re.SkipSelf)a&Re.Self||(s=r.get(e,i,Re.Default));else{if((s=t.value)==ya)throw Error(Sa+"Circular dependency");if(s===ba){t.value=ya;var d=t.useNew,c=t.fn,p=t.deps,f=ba;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?r:Ca,1&v?null:ha.THROW_IF_NOT_FOUND,Re.Default))}}t.value=s=d?new((u=c).bind.apply(u,Object(l.__spread)([void 0],f))):c.apply(void 0,f)}}return s}(e,t,o,r,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),t&&t.value==ya&&(t.value=ba),u}}(n,o,this._records,this.parent,e,t)}catch(i){var r=i.ngTempTokenPath;throw n[sa]&&r.unshift(n[sa]),i.message=Ta("\n"+i.message,r,this.source),i.ngTokenPath=r,i.ngTempTokenPath=null,i}},n.prototype.toString=function(){var n=[];return this._records.forEach(function(e,t){return n.push(Y(t))}),"StaticInjector["+n.join(", ")+"]"},n}();function Ea(n){return Ra("Cannot mix multi providers and regular providers",n)}function Ta(n,e,t){void 0===t&&(t=null),n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Sa?n.substr(2):n;var l=Y(e);if(e instanceof Array)l=e.map(Y).join(" -> ");else if("object"==typeof e){var o=[];for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];o.push(r+":"+("string"==typeof i?JSON.stringify(i):Y(i)))}l="{"+o.join(", ")+"}"}return"StaticInjectorError"+(t?"("+t+")":"")+"["+l+"]: "+n.replace(xa,"\n ")}function Ra(n,e){return new Error(Ta(n,e))}var Ia=new x("The presence of this token marks an injector as being the root injector."),Oa={},Fa={},Da=[],Ma=void 0;function Na(){return void 0===Ma&&(Ma=new fa),Ma}function Aa(n,e,t){return void 0===e&&(e=null),void 0===t&&(t=null),e=e||Na(),new Pa(n,t,e)}var Pa=function(){function n(n,e,t){var l=this;this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Va([n],function(n){return l.processInjectorType(n,[],o)}),e&&Va(e,function(t){return l.processProvider(t,n,e)}),this.records.set(pa,La(void 0,this)),this.isRootInjector=this.records.has(Ia),this.injectorDefTypes.forEach(function(n){return l.get(n)})}return 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=ca),void 0===t&&(t=Re.Default),this.assertNotDestroyed();var l,o=Oe(this);try{if(!(t&Re.SkipSelf)){var r=this.records.get(n);if(void 0===r){var i=("function"==typeof(l=n)||"object"==typeof l&&l instanceof x)&&w(n);i&&this.injectableDefInScope(i)&&(r=La(qa(n),Oa),this.records.set(n,r))}if(void 0!==r)return this.hydrate(n,r)}return(t&Re.Self?Na():this.parent).get(n,e)}finally{Oe(o)}},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)){var o=C(n),r=null==o&&n.ngModule||void 0,i=void 0===r?n:r,a=-1!==t.indexOf(i),u=void 0!==r&&n.providers||Da;if(void 0!==r&&(o=C(r)),null!=o){if(this.injectorDefTypes.add(i),this.records.set(i,La(o.factory,Oa)),null!=o.imports&&!a){t.push(i);try{Va(o.imports,function(n){return l.processInjectorType(n,e,t)})}finally{}}var s=o.providers;if(null!=s&&!a){var d=n;Va(s,function(n){return l.processProvider(n,d,s)})}var c=n.ngModule;Va(u,function(n){return l.processProvider(n,c,u)})}}},n.prototype.processProvider=function(n,e,t){var l=za(n=Q(n))?n:Q(n&&n.provide),o=function(n,e,t){var l=ja(n,e,t);return Ba(n)?La(void 0,n.useValue):La(l,Oa)}(n,e,t);if(za(n)||!0!==n.multi){var r=this.records.get(l);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Y(l))}else{var i=this.records.get(l);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+l+".")}else(i=La(void 0,Oa,!0)).factory=function(){return Ae(i.multi)},this.records.set(l,i);l=n,i.multi.push(n)}this.records.set(l,o)},n.prototype.hydrate=function(n,e){if(e.value===Fa)throw new Error("Cannot instantiate cyclic dependency! "+Y(n));var t;return e.value===Oa&&(e.value=Fa,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(t=e.value)&&null!=t&&t.ngOnDestroy&&"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 qa(n){var e=w(n);if(null===e){var t=C(n);if(null!==t)return t.factory;if(n instanceof x)throw new Error("Token "+Y(n)+" is missing an ngInjectableDef definition.");if(n instanceof Function){var l=n.length;if(l>0){var o=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Y(n)+": ("+o.join(", ")+").")}return function(){return new n}}throw new Error("unreachable")}return e.factory}function ja(n,e,t){var o,r=void 0;if(za(n))return qa(Q(n));if(Ba(n))r=function(){return Q(n.useValue)};else if((o=n)&&o.useExisting)r=function(){return Me(Q(n.useExisting))};else if(n&&n.useFactory)r=function(){return n.useFactory.apply(n,Object(l.__spread)(Ae(n.deps||[])))};else{var i=Q(n&&(n.useClass||n.provide));if(!i){var a="";throw e&&t&&(a=" - only instances of Provider and Type are allowed, got: ["+t.map(function(e){return e==n?"?"+n+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Y(e)+"'"+a)}if(!n.deps)return qa(i);r=function(){return new(i.bind.apply(i,Object(l.__spread)([void 0],Ae(n.deps))))}}return r}function La(n,e,t){return void 0===t&&(t=!1),{factory:n,value:e,multi:t?[]:void 0}}function Va(n,e){n.forEach(function(n){return Array.isArray(n)?Va(n,e):e(n)})}function Ba(n){return n&&"object"==typeof n&&wa in n}function za(n){return"function"==typeof n}function Ua(n,e,t,l,o){if(n=Q(n),Array.isArray(n))for(var r=0;r<n.length;r++)Ua(n[r],e,t,l,o);else{var i=Qe(),a=za(n)?n:Q(n.provide),u=ja(n),s=nt(),d=65535&s.providerIndexes,c=s.directiveStart,p=s.providerIndexes>>16;if(za(n)||!n.multi){var f=new Yn(u,o,Pi),h=Za(a,e,o?d:d+p,c);-1==h?(Tt(xt(s,i),i,a),e.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(f),i.push(f)):(t[h]=f,i[h]=f)}else{var m=Za(a,e,d+p,c),v=Za(a,e,d,d+p),g=v>=0&&t[v];o&&!g||!o&&!(m>=0&&t[m])?(Tt(xt(s,i),i,a),f=function(n,e,t,l,o){var r=new Yn(n,t,Pi);return r.multi=[],r.index=e,r.componentProviders=0,Ha(r,o,l&&!t),r}(o?Ga:Wa,t.length,o,l,u),!o&&g&&(t[v].providerFactory=f),e.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(f),i.push(f)):Ha(t[o?v:m],u,!o&&l),!o&&l&&g&&t[v].componentProviders++}}}function Ha(n,e,t){n.multi.push(e),t&&n.componentProviders++}function Za(n,e,t,l){for(var o=t;o<l;o++)if(e[o]===n)return o;return-1}function Wa(n,e,t,l){return Ka(this.multi,[])}function Ga(n,e,t,l){var o,r=this.multi;if(this.providerFactory){var i=this.providerFactory.componentProviders,a=Mt(e,t,this.providerFactory.index,l);Ka(r,o=a.slice(0,i));for(var u=i;u<a.length;u++)o.push(a[u])}else Ka(r,o=[]);return o}function Ka(n,e){for(var t=0;t<n.length;t++)e.push((0,n[t])());return e}function Ya(n,e){return void 0===e&&(e=[]),function(t){t.providersResolver=function(t){return function(n,e,t){var l=Qe()[_n];if(l.firstTemplatePass){var o=ie(n);Ua(t,l.data,l.blueprint,o,!0),Ua(e,l.data,l.blueprint,o,!1)}}(t,n,e)}}}var $a=function(){return function(){}}(),Xa=function(){return function(){}}();function Qa(n){var e=Error("No component factory found for "+Y(n)+". Did you add it to @NgModule.entryComponents?");return e[tu]=n,e}var Ja,nu,eu,tu="ngComponent",lu=function(){function n(){}return n.prototype.resolveComponentFactory=function(n){throw Qa(n)},n}(),ou=function(){function n(){}return n.NULL=new lu,n}(),ru=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 Qa(n);return new iu(e,this._ngModule)},n}(),iu=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.__extends)(e,n),e.prototype.create=function(n,e,t,l){return this.factory.create(n,e,t,l||this.ngModule)},e}(Xa),au=function(){return function(){}}(),uu=function(){return function(){}}(),su=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[kn]?function n(e,t,l){for(var o=t.child;o;)l.push(ee(o,e)),4===o.type&&n(e,o,l),o=o.next;return l}(this._lView,this._lView[En],[]):[]},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 64==(64&this._lView[wn])},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}jl(this._lView)},n.prototype.onDestroy=function(n){var e,t;t=n,zi(e=this._lView).push(t),e[_n].firstTemplatePass&&Ui(e).push(e[Rn].length-1,null)},n.prototype.markForCheck=function(){fi(this._lView)},n.prototype.detach=function(){this._lView[wn]&=-17},n.prototype.reattach=function(){this._lView[wn]|=16},n.prototype.detectChanges=function(){gi(this._lView,this.context)},n.prototype.checkNoChanges=function(){!function(n){st(!0);try{vi(n)}finally{st(!1)}}(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},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=this._lView[Cn][this._componentIndex]},n}(),du=function(n){function e(e){var t=n.call(this,e,null,-1)||this;return t._view=e,t}return Object(l.__extends)(e,n),e.prototype.detectChanges=function(){bi(this._view)},e.prototype.checkNoChanges=function(){!function(n){st(!0);try{bi(n)}finally{st(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(su);function cu(n,e,t){return Ja||(Ja=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(n)),new Ja(ee(e,t))}function pu(n,e,t,o){if(nu||(nu=function(n){function e(e,t,l,o,r,i){var a=n.call(this)||this;return a._declarationParentView=e,a.elementRef=t,a._tView=l,a._renderer=o,a._queries=r,a._injectorIndex=i,a}return Object(l.__extends)(e,n),e.prototype.createEmbeddedView=function(n,e,t,l,o){var r=function(n,e,t,l,o,r){var i=lt(),a=nt();ot(!0),et(null);var u=ar(t,n,e,4);return u[qn]=t,o&&(u[Sn]=o.createView()),sr(-1,u),n.firstTemplatePass&&(n.node.injectorIndex=r),ot(i),et(a),u}(this._tView,n,this._declarationParentView,0,this._queries,this._injectorIndex);e&&Nl(r,e,l,o,t.index),cr(r,this._tView,n);var i=new su(r,n,-1);return i._tViewNode=r[En],i},e}(n)),0===t.type){var r=o[t.index];return new nu(o,cu(e,t,o),t.tViews,Qe()[Dn],r[Sn],t.injectorIndex)}return null}function fu(n,e,t){if(re(n)){var l=n.directiveStart,o=le(n.index,e);return new su(o,t,l)}if(3===n.type){var r=ye(e);return new su(r,r[In],-1)}return null}var hu=function(){function n(n){this.nativeElement=n}return n.__NG_ELEMENT_ID__=function(){return vu(n)},n}(),mu=function(n){return cu(n,nt(),Qe())},vu=ua,gu=function(){return function(n,e,t,l,o,r){this.id=n,this.templateUrl=e,this.slotCount=t,this.encapsulation=l,this.styles=o,this.animations=r}}(),bu=function(){return function(){}}(),yu=function(){return function(){}}(),_u=function(){return function(){}}(),wu=function(){return function(){}}(),Cu=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({}),xu=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return ku()},n}(),Su=function(){return function(n){var e=Qe()[Dn];if(xl(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},ku=ua,Eu=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}({}),Tu=function(){return function(){}}(),Ru=function(){return function(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}(),Iu=new Ru("7.2.14"),Ou=function(n){function e(e){var t=n.call(this)||this;return t.ngModule=e,t}return Object(l.__extends)(e,n),e.prototype.resolveComponentFactory=function(n){var e=vn(n);return new Au(e,this.ngModule)},e}(ou);function Fu(n){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}var Du=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Ji(Me(Mu))}}),Mu=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return ge}}),Nu={},Au=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],l.ngContentSelectors=[],l}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){return Fu(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return Fu(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){var o=void 0===t,r=(l=l||this.ngModule)?function(n,e){return{get:function(t,l){var o=n.get(t,Nu);return o!==Nu||l===Nu?o:e.get(t,l)}}}(n,l.injector):n,i=r.get(wu,Sl),a=r.get(Tu,null),u=o?xr(this.selector,i.createRenderer(null,this.componentDef)):Rr(i,t),s=this.componentDef.onPush?136:132,d=o?Ji():r.get(Du),c=i.createRenderer(u,this.componentDef);t&&u&&(xl(c)?c.setAttribute(u,"ng-version",Iu.full):u.setAttribute("ng-version",Iu.full));var p,f,h=ar(null,Er(-1,null,1,0,null,null,null),d,s,i,c,a,r),m=vt(h,null);try{i.begin&&i.begin();var v=Xi(u,this.componentDef,h,i,c);if(f=te(0,h),e)for(var g=0,b=h[_n],y=f.projection=[],_=0;_<e.length;_++){for(var w=e[_],C=null,x=null,S=0;S<w.length;S++){b.firstTemplatePass&&(b.expandoStartIndex++,b.blueprint.splice(++g+jn,0,null),b.data.splice(g+jn,0,null),h.splice(g+jn,0,null));var k=ur(g,3,w[S],null,null);x?x.next=k:C=k,x=k}y.push(C)}p=Qi(v,this.componentDef,h,d,[na]),pi(h,jn,v),ir(h)}finally{bt(m),i.end&&i.end()}var E=new Pu(this.componentType,p,cu(hu,f,h),h,f);return o&&(E.hostView._tViewNode.child=f),E},e}(Xa),Pu=function(n){function e(e,t,l,o,r){var i=n.call(this)||this;return i.location=l,i._rootLView=o,i._tNode=r,i.destroyCbs=[],i.instance=t,i.hostView=i.changeDetectorRef=new du(o),i.hostView._tViewNode=sr(-1,o),i.componentType=e,i}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"injector",{get:function(){return new Pt(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null,this.hostView.destroy()},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}($a),qu=!0,ju=!1;function Lu(){return ju=!0,qu}function Vu(){if(ju)throw new Error("Cannot enable prod mode after platform setup.");qu=!1}var Bu=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}(),zu=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Uu=/^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 Hu(n){return(n=String(n)).match(zu)||n.match(Uu)?n:(Lu()&&console.warn("WARNING: sanitizing unsafe URL value "+n+" (see http://g.co/ng/security#xss)"),"unsafe:"+n)}function Zu(n){return(n=String(n)).split(",").map(function(n){return Hu(n.trim())}).join(", ")}function Wu(n){var e,t,o={};try{for(var r=Object(l.__values)(n.split(",")),i=r.next();!i.done;i=r.next())o[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return o}function Gu(){for(var n,e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var r={};try{for(var i=Object(l.__values)(t),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(r[s]=!0)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(n)throw n.error}}return r}var Ku,Yu=Wu("area,br,col,hr,img,wbr"),$u=Wu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xu=Wu("rp,rt"),Qu=Gu(Xu,$u),Ju=Gu(Yu,Gu($u,Wu("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")),Gu(Xu,Wu("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")),Qu),ns=Wu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),es=Wu("srcset"),ts=Gu(ns,es,Wu("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")),ls=Wu("script,style,template"),os=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(!Ju.hasOwnProperty(e))return this.sanitizedSomething=!0,!ls.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),r=o.name,i=r.toLowerCase();if(ts.hasOwnProperty(i)){var a=o.value;ns[i]&&(a=Hu(a)),es[i]&&(a=Zu(a)),this.buf.push(" ",r,'="',as(a),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},n.prototype.endElement=function(n){var e=n.nodeName.toLowerCase();Ju.hasOwnProperty(e)&&!Yu.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},n.prototype.chars=function(n){this.buf.push(as(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}(),rs=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,is=/([^\#-~ |!])/g;function as(n){return n.replace(/&/g,"&").replace(rs,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(is,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function us(n,e){var t=null;try{Ku=Ku||new Bu(n);var l=e?String(e):"";t=Ku.getInertBodyElement(l);var o=5,r=l;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,l=r,r=t.innerHTML,t=Ku.getInertBodyElement(l)}while(l!==r);var i=new os,a=i.sanitizeChildren(ss(t)||t);return Lu()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(t)for(var u=ss(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}function ss(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ds={marker:"element"},cs={marker:"comment"},ps="\ufffd",fs=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,hs=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ms=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,vs=/\ufffd(\d+):?\d*\ufffd/gi,gs=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,bs=/\[(\ufffd.+?\ufffd?)\]/g,ys=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,_s=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ws(n){if(!n)return[];var e,t=0,l=[],o=[],r=/[{}]/g;for(r.lastIndex=0;e=r.exec(n);){var i=e.index;if("}"==e[0]){if(l.pop(),0==l.length){var a=n.substring(t,i);fs.test(a)?o.push(Cs(a)):a&&o.push(a),t=i+1}}else{if(0==l.length){var u=n.substring(t,i);o.push(u),t=i+1}l.push("{")}}var s=n.substring(t);return""!=s&&o.push(s),o}function Cs(n){for(var e=[],t=[],l=1,o=0,r=ws(n=n.replace(fs,function(n,e,t){return l="select"===t?0:1,o=parseInt(e.substr(1),10),""})),i=0;i<r.length;){var a=r[i++].trim();1===l&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&e.push(a);var u=ws(r[i++]);u.length&&t.push(u)}return s=e.indexOf("other"),d='Missing key "other" in ICU statement.',s<=-1&&function(n){throw new Error("ASSERTION ERROR: "+n)}(d),{type:l,mainBinding:o,cases:e,values:t};var s,d}function xs(n){for(var e,t,l="",o=0,r=!1;null!==(e=hs.exec(n));)r?e[0]===ps+"/*"+t+ps&&(o=e.index,r=!1):(l+=n.substring(o,e.index+e[0].length),t=e[1],r=!0);return l+n.substr(o)}function Ss(n,e,t,l){void 0===l&&(l=null);for(var o=[null,null],r=n.split(vs),i=0,a=0;a<r.length;a++){var u=r[a];if(1&a){var s=parseInt(u,10);o.push(-1-s),i|=Rs(s)}else""!==u&&o.push(u)}return o.push(e<<2|(t?1:0)),t&&o.push(t,l),o[0]=i,o[1]=o.length-2,o}function ks(n,e){var t;void 0===e&&(e=0),e|=Rs(n.mainBinding);for(var l=0;l<n.values.length;l++)for(var o=n.values[l],r=0;r<o.length;r++){var i=o[r];if("string"==typeof i)for(;t=vs.exec(i);)e|=Rs(parseInt(t[1],10));else e=ks(i,e)}return e}var Es=[],Ts=-1;function Rs(n){return 1<<Math.min(n,31)}var Is=[];function Os(n,e,t){var l=Qe()[_n];Es[++Ts]=n,l.firstTemplatePass&&null===l.data[n+jn]&&function(n,e,t,l){var o=Qe(),r=n.blueprint.length-jn,i=nt(),a=lt()?nt():i&&i.parent,u=a&&a!==o[En]?a.index-jn:e,s=0;Is[s]=u;var d=[];e>0&&i!==a&&d.push(i.index<<3|0);for(var c=[],p=[],f=function(n,e){if("number"!=typeof e)return xs(n);var t=n.indexOf(":"+e+ps)+2+e.toString().length,l=n.search(new RegExp(ps+"\\/\\*\\d+:"+e+ps));return xs(n.substring(t,l))}(t,l).split(ms),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=Is[--s],d.push(v<<3|5)}}else v=parseInt(m.substr(1),10),d.push(v<<3|0,u<<17|1),"#"===m.charAt(0)&&(Is[++s]=u=v);else for(var g=m.split(gs),b=0;b<g.length;b++)if(m=g[b],1&b){dr(o);var y=n.blueprint.length-1-jn;d.push(cs,"",u<<17|1);var _=Cs(m.substr(1,m.length-2)),w=ks(_);Hs(p,_,y,y);var C=p.length-1;c.push(Rs(_.mainBinding),3,-1-_.mainBinding,y<<2|2,C,w,2,y<<2|3,C)}else if(""!==m){var x=m.match(vs);dr(o),d.push(x?"":m,u<<17|1),x&&be(Ss(m,n.blueprint.length-1-jn),c)}}n.data[e+jn]={vars:n.blueprint.length-jn-r,expandoStartIndex:r,create:d,update:c,icus:p.length?p:null}}(l,n,e,t)}function Fs(n,e,t){var l=Qe();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[En]&&(n.parent=e),Zl(ee(n,l),n,l);var o=l[n.index];return 0!==n.type&&ae(o)&&Zl(o[Bn],n,l),n}function Ds(n,e){var t={},l=n.replace(bs,function(n,e){if(t[e]||(t[e]=e.split("|")),!t[e].length)throw new Error("i18n postprocess: unmatched placeholder - "+e);return t[e].shift()});if(Object.keys(t).some(function(n){return!!t[n].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(t));return Object.keys(e).length?l=(l=l.replace(ys,function(n,t,l,o,r,i){return e.hasOwnProperty(l)?""+t+e[l]+i:n})).replace(_s,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}):l}function Ms(){!function(n){for(var e=Qe(),t=Es[Ts--],l=n.data[t+jn],o=nt(),r=Ns(t,l.create,l.expandoStartIndex,e),i=t+1;i<=o.index-jn;i++)-1===r.indexOf(i)&&As(i,e)}(Qe()[_n])}function Ns(n,e,t,l){for(var o=Qe()[Dn],r=null,i=null,a=[],u=0;u<e.length;u++){var s=e[u];if("string"==typeof s)i=r,r=ur(t++,3,Dl(s,o),null,null),ot(!1);else if("number"==typeof s)switch(7&s){case 1:var d=s>>>17,c=void 0;i=Fs(r,c=d===n?l[En]:te(d,l),i),c.next=null;break;case 0:var p=s>>>3;a.push(p),i=r,(r=te(p,l))&&(et(r),3===r.type&&ot(!0));break;case 5:i=r=te(s>>>3,l),et(r),ot(!1);break;case 4:Fr(s>>>3,e[++u],e[++u]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case cs:var f=e[++u],h=o.createComment(f);i=r,r=ur(t++,5,h,null,null),zt(h,l),r.activeCaseIndex=null,ot(!1);break;case ds:var m=e[++u];i=r,r=ur(t++,3,o.createElement(m),m,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return ot(!1),a}function As(n,e){var t=te(n,e);Kl(t,ne(n,e)||null,e),t.detached=!0;var l=Ai(n);if(ae(l)){var o=l;0!==t.type&&Kl(t,o[Bn]||null,e),o[zn]=null}}function Ps(n,e,t){Os(n,e,t),Ms()}function qs(n,e){var t=Qe()[_n];t.firstTemplatePass&&null===t.data[n+jn]&&function(n,e,t){for(var l=nt().index-jn,o=[],r=0;r<t.length;r+=2)for(var i=t[r],a=t[r+1].split(gs),u=0;u<a.length;u++){var s=a[u];1&u||""!==s&&(s.match(vs)?be(Ss(s,l,i),o):Fr(l,i,s))}n.data[e+jn]=o}(t,n,e)}var js=0,Ls=0;function Vs(n){n!==hl&&(js|=1<<Ls),Ls++}function Bs(n){if(Ls){var e=Qe(),t=e[_n].data[n+jn],l=void 0,o=null;Array.isArray(t)?l=t:(l=t.update,o=t.icus),function n(e,t,l,o,r,i){void 0===i&&(i=!1);for(var a=!1,u=0;u<e.length;u++){var s=e[u],d=e[++u];if(i||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+=Xn(r[l-f]);else{var h=f>>>2,m=void 0,v=void 0;switch(3&f){case 1:Fr(h,e[++p],c,e[++p]);break;case 0:Wr(h,c);break;case 2:if(m=t[e[++p]],null!==(v=te(h,r)).activeCaseIndex)for(var g=m.remove[v.activeCaseIndex],b=0;b<g.length;b++){var y=g[b];switch(7&y){case 3:As(y>>>3,r);break;case 6:var _=te(g[b+1]>>>3,r).activeCaseIndex;null!==_&&be(t[y>>>3].remove[_],g)}}var w=Us(m,c);v.activeCaseIndex=-1!==w?w:null,Ns(-1,m.create[w],m.expandoStartIndex,r),a=!0;break;case 3:m=t[e[++p]],v=te(h,r),n(m.update[v.activeCaseIndex],t,l,o,r,a)}}}u+=d}}(l,o,e[Tn]-Ls-1,js,e),js=0,Ls=0}}var zs=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}({});function Us(n,e){var t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:var l=function(n,t){switch(function(n,e){"string"==typeof e&&(e=parseInt(e,10));var t=e,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),r=l.length,i=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?zs.One:zs.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?zs.One:zs.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?zs.One:zs.Other;case"ar":return 0===t?zs.Zero:1===t?zs.One:2===t?zs.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?zs.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?zs.Many:zs.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===r?zs.One:zs.Other;case"be":return t%10==1&&t%100!=11?zs.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?zs.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?zs.Many:zs.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?zs.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?zs.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)?zs.Few:0!==t&&t%1e6==0?zs.Many:zs.Other;case"bs":case"hr":case"sr":return 0===r&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?zs.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:zs.Other;case"cs":case"sk":return 1===o&&0===r?zs.One:o===Math.floor(o)&&o>=2&&o<=4&&0===r?zs.Few:0!==r?zs.Many:zs.Other;case"cy":return 0===t?zs.Zero:1===t?zs.One:2===t?zs.Two:3===t?zs.Few:6===t?zs.Many:zs.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?zs.One:zs.Other;case"dsb":case"hsb":return 0===r&&o%100==1||i%100==1?zs.One:0===r&&o%100==2||i%100==2?zs.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?zs.Few:zs.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?zs.One:zs.Other;case"fil":return 0===r&&(1===o||2===o||3===o)||0===r&&o%10!=4&&o%10!=6&&o%10!=9||0!==r&&i%10!=4&&i%10!=6&&i%10!=9?zs.One:zs.Other;case"ga":return 1===t?zs.One:2===t?zs.Two:t===Math.floor(t)&&t>=3&&t<=6?zs.Few:t===Math.floor(t)&&t>=7&&t<=10?zs.Many:zs.Other;case"gd":return 1===t||11===t?zs.One:2===t||12===t?zs.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?zs.Few:zs.Other;case"gv":return 0===r&&o%10==1?zs.One:0===r&&o%10==2?zs.Two:0!==r||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==r?zs.Many:zs.Other:zs.Few;case"he":return 1===o&&0===r?zs.One:2===o&&0===r?zs.Two:0!==r||t>=0&&t<=10||t%10!=0?zs.Other:zs.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?zs.One:zs.Other;case"ksh":return 0===t?zs.Zero:1===t?zs.One:zs.Other;case"kw":case"naq":case"se":case"smn":return 1===t?zs.One:2===t?zs.Two:zs.Other;case"lag":return 0===t?zs.Zero:0!==o&&1!==o||0===t?zs.Other:zs.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)?zs.Few:0!==i?zs.Many:zs.Other:zs.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===r&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?zs.Zero:t%10==1&&t%100!=11||2===r&&i%10==1&&i%100!=11||2!==r&&i%10==1?zs.One:zs.Other;case"mk":return 0===r&&o%10==1||i%10==1?zs.One:zs.Other;case"mt":return 1===t?zs.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?zs.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?zs.Many:zs.Other;case"pl":return 1===o&&0===r?zs.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?zs.Few:0===r&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?zs.Many:zs.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?zs.One:zs.Other;case"ro":return 1===o&&0===r?zs.One:0!==r||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?zs.Few:zs.Other;case"ru":case"uk":return 0===r&&o%10==1&&o%100!=11?zs.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?zs.Few:0===r&&o%10==0||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?zs.Many:zs.Other;case"shi":return 0===o||1===t?zs.One:t===Math.floor(t)&&t>=2&&t<=10?zs.Few:zs.Other;case"si":return 0===t||1===t||0===o&&1===i?zs.One:zs.Other;case"sl":return 0===r&&o%100==1?zs.One:0===r&&o%100==2?zs.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==r?zs.Few:zs.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?zs.One:zs.Other;default:return zs.Other}}("en-US",e)){case zs.Zero:return"zero";case zs.One:return"one";case zs.Two:return"two";case zs.Few:return"few";case zs.Many:return"many";default:return"other"}}();-1===(t=n.cases.indexOf(l))&&"other"!==l&&(t=n.cases.indexOf("other"));break;case 0:t=n.cases.indexOf("other")}return t}function Hs(n,e,t,o){for(var r=[],i=[],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!--\ufffd"+m+"\ufffd--\x3e"}}var v=Zs(c.join(""),t,p,n,o);r.push(v.create),i.push(v.remove),a.push(v.update),u.push(v.vars),s.push(v.childIcus)}n.push({type:e.type,vars:u,expandoStartIndex:o+1,childIcus:s,cases:e.cases,create:r,remove:i,update:a});var g=Qe(),b=Math.max.apply(Math,Object(l.__spread)(u));for(d=0;d<b;d++)dr(g)}function Zs(n,e,t,o,r){var i=new Bu(document).getInertBodyElement(n);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function n(e,t,o,r,i,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(Ju.hasOwnProperty(p)){t.create.push(ds,p,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(vs)?ts.hasOwnProperty(v)&&be(ns[v]?Ss(m.value,d,m.name,Hu):es[v]?Ss(m.value,d,m.name,Zu):Ss(m.value,d,m.name),t.update):t.create.push(d<<3|4,m.name,m.value)}n(e.firstChild,t,d,r,i,a),t.remove.push(d<<3|3)}else t.vars--;break;case Node.TEXT_NODE:var g=e.textContent||"",b=g.match(vs);t.create.push(b?"":g,o<<17|1),t.remove.push(d<<3|3),b&&be(Ss(g,d),t.update);break;case Node.COMMENT_NODE:var y=Ws.exec(e.textContent||"");if(y){var _=parseInt(y[1],10);t.create.push(cs,"",o<<17|1),u.push([w=r[_],d])}else t.vars--;break;default:t.vars--}e=s}for(h=0;h<u.length;h++){var w,C=u[h][1];Hs(i,w=u[h][0],C,a+t.vars);var x=i.length-1;t.vars+=Math.max.apply(Math,Object(l.__spread)(i[x].vars)),t.childIcus.push(x);var S=ks(w);t.update.push(Rs(w.mainBinding),3,-1-w.mainBinding,C<<2|2,x,S,2,C<<2|3,x),t.remove.push(x<<3|6,C<<3|3)}}}((ss(i)||i).firstChild,a,e,t,o,r),a}var Ws=/\ufffd(\d+)\ufffd/,Gs={provide:ou,useClass:Ou,deps:[au]},Ks=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);return l._bootstrapComponents=o.bootstrap,l._r3Injector=Aa(e,t,[{provide:au,useValue:l},Gs]),l.instance=l.get(e),l}return Object(l.__extends)(e,n),e.prototype.get=function(n,e,t){return void 0===e&&(e=ha.THROW_IF_NOT_FOUND),void 0===t&&(t=Re.Default),n===ha||n===au||n===pa?this:this._r3Injector.get(n,e,t)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(ou)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}(au),Ys=function(n){function e(e){var t=n.call(this)||this;return t.moduleType=e,t}return Object(l.__extends)(e,n),e.prototype.create=function(n){return new Ks(this.moduleType,n)},e}(uu);function $s(n,e,t,o){var r,i=n;null!==e&&(void 0!==i.decorators?(r=i.decorators).push.apply(r,Object(l.__spread)(e)):i.decorators=e),null!==t&&(i.ctorParameters=t),null!==o&&(i.propDecorators=void 0!==i.propDecorators?Object(l.__assign)({},i.propDecorators,o):o)}function Xs(n,e,t){var l=ht()+n,o=Qe();return rt()?ml(o,l,t?e.call(t):e()):vl(o,l)}function Qs(n,e,t,l){var o=Qe(),r=ht()+n;return gl(o,r,t)?ml(o,r+1,l?e.call(l,t):e(t)):vl(o,r+1)}function Js(n,e,t,l,o){var r=ht()+n,i=Qe();return bl(i,r,t,l)?ml(i,r+2,o?e.call(o,t,l):e(t,l)):vl(i,r+2)}function nd(n,e,t,l,o,r){var i=ht()+n,a=Qe();return yl(a,i,t,l,o)?ml(a,i+3,r?e.call(r,t,l,o):e(t,l,o)):vl(a,i+3)}function ed(n,e,t,l,o,r,i){var a=ht()+n,u=Qe();return _l(u,a,t,l,o,r)?ml(u,a+4,i?e.call(i,t,l,o,r):e(t,l,o,r)):vl(u,a+4)}function td(n,e,t,l,o,r,i,a){var u=ht()+n,s=Qe(),d=_l(s,u,t,l,o,r);return gl(s,u+4,i)||d?ml(s,u+5,a?e.call(a,t,l,o,r,i):e(t,l,o,r,i)):vl(s,u+5)}function ld(n,e,t,l,o,r,i,a,u){var s=ht()+n,d=Qe(),c=_l(d,s,t,l,o,r);return bl(d,s+4,i,a)||c?ml(d,s+6,u?e.call(u,t,l,o,r,i,a):e(t,l,o,r,i,a)):vl(d,s+6)}function od(n,e,t,l,o,r,i,a,u,s){var d=ht()+n,c=Qe(),p=_l(c,d,t,l,o,r);return yl(c,d+4,i,a,u)||p?ml(c,d+7,s?e.call(s,t,l,o,r,i,a,u):e(t,l,o,r,i,a,u)):vl(c,d+7)}function rd(n,e,t,l,o,r,i,a,u,s,d){var c=ht()+n,p=Qe(),f=_l(p,c,t,l,o,r);return _l(p,c+4,i,a,u,s)||f?ml(p,c+8,d?e.call(d,t,l,o,r,i,a,u,s):e(t,l,o,r,i,a,u,s)):vl(p,c+8)}function id(n,e,t,l){for(var o=ht()+n,r=!1,i=Qe(),a=0;a<t.length;a++)gl(i,o++,t[a])&&(r=!0);return r?ml(i,o,e.apply(l,t)):vl(i,o)}function ad(n,e){var t,l=Qe()[_n],o=n+jn;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.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(o,t.onDestroy)):t=l.data[o];var r=t.factory(null);return Di(n,r),r}function ud(n,e,t){var l=Ai(n);return hd(fd(n)?Qs(e,l.transform,t,l):l.transform(t))}function sd(n,e,t,l){var o=Ai(n);return hd(fd(n)?Js(e,o.transform,t,l,o):o.transform(t,l))}function dd(n,e,t,l,o){var r=Ai(n);return hd(fd(n)?nd(e,r.transform,t,l,o,r):r.transform(t,l,o))}function cd(n,e,t,l,o,r){var i=Ai(n);return hd(fd(n)?ed(e,i.transform,t,l,o,r,i):i.transform(t,l,o,r))}function pd(n,e,t){var l=Ai(n);return hd(fd(n)?id(e,l.transform,t,l):l.transform.apply(l,t))}function fd(n){return Qe()[_n].data[n+jn].pure}function hd(n){return sl.isWrapped(n)&&(n=sl.unwrap(n),Qe()[ht()]=hl),n}var md=function(n){function e(e){void 0===e&&(e=!1);var t=n.call(this)||this;return t.__isAsync=e,t}return Object(l.__extends)(e,n),e.prototype.emit=function(e){n.prototype.next.call(this,e)},e.prototype.subscribe=function(e,t,l){var r,i=function(n){return null},a=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(n){setTimeout(function(){return e.next(n)})}:function(n){e.next(n)},e.error&&(i=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()})):(r=this.__isAsync?function(n){setTimeout(function(){return e(n)})}:function(n){e(n)},t&&(i=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,r,i,a);return e instanceof o.a&&e.add(u),u},e}(r.b),vd=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return bd(n,hu)},n}(),gd=function(n,e){return pu(n,e,nt(),Qe())},bd=ua,yd=function(){function n(n,e,t){this.parent=n,this.shallow=e,this.deep=t}return n.prototype.track=function(n,e,t,l){t?this.deep=Fd(this.deep,n,e,null!=l?l:null):this.shallow=Fd(this.shallow,n,e,null!=l?l:null)},n.prototype.clone=function(){return new n(this,null,this.deep)},n.prototype.container=function(){var e=_d(this.shallow),t=_d(this.deep);return e||t?new n(this,e,t):null},n.prototype.createView=function(){var e=wd(this.shallow),t=wd(this.deep);return e||t?new n(this,e,t):null},n.prototype.insertView=function(n){Cd(n,this.shallow),Cd(n,this.deep)},n.prototype.addNode=function(n){return Rd(this.deep,n),oe(n)?(Rd(this.shallow,n),n.parent&&oe(n.parent)&&Rd(this.parent.shallow,n),this.parent):(function(n){return null===n.parent||oe(n.parent)}(n)&&Rd(this.shallow,n),this)},n.prototype.removeView=function(){xd(this.shallow),xd(this.deep)},n}();function _d(n){for(var e=null;n;){var t=[];n.values.push(t),e={next:e,list:n.list,predicate:n.predicate,values:t,containerValues:null},n=n.next}return e}function wd(n){for(var e=null;n;)e={next:e,list:n.list,predicate:n.predicate,values:[],containerValues:n.values},n=n.next;return e}function Cd(n,e){for(;e;)e.containerValues.splice(n,0,e.values),e=e.next}function xd(n){for(;n;){var e=n.containerValues,t=e.indexOf(n.values);e.splice(t,1)[0].length&&n.list.setDirty(),n=n.next}}function Sd(n,e){var t=n.localNames;if(t)for(var l=0;l<t.length;l+=2)if(t[l]===e)return t[l+1];return null}function kd(n,e,t){var l=n[b];if("function"==typeof l)return l();var o=Dt(e,t,n,!1,!1);return null!==o?Mt(t[_n].data,t,o,e):null}function Ed(n,e,t,l){var o=n[b]();return l?o?kd(l,e,t):null:o}function Td(n,e,t,l){return t?kd(t,n,e):l>-1?Mt(e[_n].data,e,l,n):function(n,e){return 3===n.type||4===n.type?cu(hu,n,e):0===n.type?pu(vd,hu,n,e):null}(n,e)}function Rd(n,e){for(var t=Qe();n;){var l=n.predicate,o=l.type;if(o){var r=null;o===vd?r=Ed(o,e,t,l.read):null!==(u=Dt(e,t,o,!1,!1))&&(r=Td(e,t,l.read,u)),null!==r&&Id(n,r)}else for(var i=l.selector,a=0;a<i.length;a++){var u;null!==(u=Sd(e,i[a]))&&null!==(r=Td(e,t,l.read,u))&&Id(n,r)}n=n.next}}function Id(n,e){n.values.push(e),n.list.setDirty()}function Od(n,e){var t=Array.isArray(n);return{type:t?null:n,selector:t?n:null,read:e}}function Fd(n,e,t,l){return{next:n,list:e,predicate:Od(t,l),values:e._valuesTree,containerValues:null}}var Dd=function(){function n(){this.dirty=!0,this.changes=new md,this._values=[],this._valuesTree=[]}return Object.defineProperty(n.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"first",{get:function(){var n=this._values;return n.length?n[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){var n=this._values;return n.length?n[n.length-1]:null},enumerable:!0,configurable:!0}),n.prototype.map=function(n){return this._values.map(n)},n.prototype.filter=function(n){return this._values.filter(n)},n.prototype.find=function(n){return this._values.find(n)},n.prototype.reduce=function(n,e){return this._values.reduce(n,e)},n.prototype.forEach=function(n){this._values.forEach(n)},n.prototype.some=function(n){return this._values.some(n)},n.prototype.toArray=function(){return this._values.slice(0)},n.prototype[W()]=function(){return this._values[W()]()},n.prototype.toString=function(){return this._values.toString()},n.prototype.reset=function(n){this._values=function(n){for(var e=[],t=0;t<n.length;){var l=n[t];Array.isArray(l)?l.length>0?(n=l.concat(n.slice(t+1)),t=0):t++:(e.push(l),t++)}return e}(n),this.dirty=!1},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}();function Md(n,e,t,l){var o,r,i,a=new Dd;return(o=yd,r=Qe(),i=r[Sn],Ze&&Ze!==r[En]&&!oe(Ze)&&(i&&(i=r[Sn]=i.clone()),Ze.flags|=4),i||(r[Sn]=new o(null,null,null))).track(a,e,t,l),function(n,e,t){var l=zi(n);l.push(e),n[_n].firstTemplatePass&&Ui(n).push(t,l.length-1)}(Qe(),a,a.destroy),null!=n&&Di(n,a),a}function Nd(n){return!!n.dirty&&(n.reset(n._valuesTree),n.notifyOnChanges(),!0)}function Ad(n,e){return pu(vd,hu,n,e)}var Pd="__SANITIZER_TRUSTED_BRAND__";function qd(n,e){return n instanceof String&&n[Pd]===e}function jd(n){return Ud(n,"Html")}function Ld(n){return Ud(n,"Style")}function Vd(n){return Ud(n,"Script")}function Bd(n){return Ud(n,"Url")}function zd(n){return Ud(n,"ResourceUrl")}function Ud(n,e){var t=new String(n);return t[Pd]=e,t}var Hd=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Zd=/^url\(([^)]+)\)$/;function Wd(n){if(!(n=String(n).trim()))return"";var e=n.match(Zd);return e&&Hu(e[1])===e[1]||n.match(Hd)&&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:(Lu()&&console.warn("WARNING: sanitizing unsafe style value "+n+" (see http://g.co/ng/security#xss)."),"unsafe")}function Gd(n){var e=Jd();return e?e.sanitize(Eu.HTML,n)||"":qd(n,"Html")?n.toString():us(document,Xn(n))}function Kd(n){var e=Jd();return e?e.sanitize(Eu.STYLE,n)||"":qd(n,"Style")?n.toString():Wd(Xn(n))}function Yd(n){var e=Jd();return e?e.sanitize(Eu.URL,n)||"":qd(n,"Url")?n.toString():Hu(Xn(n))}function $d(n){var e=Jd();if(e)return e.sanitize(Eu.RESOURCE_URL,n)||"";if(qd(n,"ResourceUrl"))return n.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Xd(n){var e=Jd();if(e)return e.sanitize(Eu.SCRIPT,n)||"";if(qd(n,"Script"))return n.toString();throw new Error("unsafe value used in a script context")}var Qd=function(n,e){return void 0===e?"background-image"===n||"background"===n||"border-image"===n||"filter"===n||"list-style"===n||"list-style-image"===n:Kd(e)};function Jd(){var n=Qe();return n&&n[Mn]}var nc={"\u0275defineBase":fn,"\u0275defineComponent":un,"\u0275defineDirective":hn,defineInjectable:y,defineInjector:_,"\u0275defineNgModule":cn,"\u0275definePipe":mn,"\u0275directiveInject":Pi,"\u0275getFactoryOf":qt,"\u0275getInheritedFactory":jt,inject:Me,"\u0275injectAttribute":qi,"\u0275templateRefExtractor":Ad,"\u0275NgOnChangesFeature":ia,"\u0275ProvidersFeature":Ya,"\u0275InheritDefinitionFeature":la,"\u0275elementAttribute":Fr,"\u0275bind":wi,"\u0275container":li,"\u0275nextContext":pr,"\u0275containerRefreshStart":ri,"\u0275containerRefreshEnd":ii,"\u0275loadQueryList":Ni,"\u0275namespaceHTML":br,"\u0275namespaceMathML":gr,"\u0275namespaceSVG":vr,"\u0275enableBindings":$e,"\u0275disableBindings":Xe,"\u0275allocHostVars":Ci,"\u0275elementStart":Cr,"\u0275elementEnd":Or,"\u0275element":yr,"\u0275elementContainerStart":_r,"\u0275elementContainerEnd":wr,"\u0275pureFunction0":Xs,"\u0275pureFunction1":Qs,"\u0275pureFunction2":Js,"\u0275pureFunction3":nd,"\u0275pureFunction4":ed,"\u0275pureFunction5":td,"\u0275pureFunction6":ld,"\u0275pureFunction7":od,"\u0275pureFunction8":rd,"\u0275pureFunctionV":id,"\u0275getCurrentView":Bi,"\u0275restoreView":Je,"\u0275interpolation1":Si,"\u0275interpolation2":ki,"\u0275interpolation3":Ei,"\u0275interpolation4":Ti,"\u0275interpolation5":Ri,"\u0275interpolation6":Ii,"\u0275interpolation7":Oi,"\u0275interpolation8":Fi,"\u0275interpolationV":xi,"\u0275elementClassProp":Ur,"\u0275listener":Ir,"\u0275load":Ai,"\u0275projection":ci,"\u0275elementProperty":Dr,"\u0275componentHostSyntheticProperty":Mr,"\u0275pipeBind1":ud,"\u0275pipeBind2":sd,"\u0275pipeBind3":dd,"\u0275pipeBind4":cd,"\u0275pipeBindV":pd,"\u0275projectionDef":si,"\u0275pipe":ad,"\u0275query":Md,"\u0275queryRefresh":Nd,"\u0275registerContentQuery":ji,"\u0275reference":Mi,"\u0275elementStyling":Lr,"\u0275elementHostAttrs":Vr,"\u0275elementStylingMap":Hr,"\u0275elementStyleProp":zr,"\u0275elementStylingApply":Br,"\u0275template":ti,"\u0275text":Zr,"\u0275textBinding":Wr,"\u0275embeddedViewStart":ai,"\u0275embeddedViewEnd":ui,"\u0275i18n":Ps,"\u0275i18nAttributes":qs,"\u0275i18nExp":Vs,"\u0275i18nStart":Os,"\u0275i18nEnd":Ms,"\u0275i18nApply":Bs,"\u0275i18nPostprocess":Ds,"\u0275sanitizeHtml":Gd,"\u0275sanitizeStyle":Kd,"\u0275defaultStyleSanitizer":Qd,"\u0275sanitizeResourceUrl":$d,"\u0275sanitizeScript":Xd,"\u0275sanitizeUrl":Yd},ec=function(){return function(){}}(),tc=new Map;function lc(n,e){var t=tc.get(n);oc(n,t&&t.moduleType),tc.set(n,e)}function oc(n,e){if(e)throw new Error("Duplicate module registered for "+n+" - "+Y(e)+" vs "+Y(e.name))}function rc(n){var e=tc.get(n);if(!e)throw uc(n);return e}function ic(n){var e=tc.get(n);if(!e)throw uc(n);return new Ys(e)}var ac=rc;function uc(n){return new Error("No module with ID "+n+" loaded")}var sc=Function;function dc(n){return"function"==typeof n}var cc=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,pc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,fc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,hc=function(){function n(n){this._reflect=n||U.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.__spread)([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]!=Object?[n[l]]:[],e&&null!=e[l]&&(t[l]=t[l].concat(e[l]));return t},n.prototype._ownParameters=function(n,e){var t=n.toString();if(cc.exec(t)||pc.exec(t)&&!fc.exec(t))return null;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,r=o.map(function(n){return n&&n.type}),i=o.map(function(n){return n&&mc(n.decorators)});return this._zipTypesAndAnnotations(r,i)}var a=n.hasOwnProperty(k)&&n[k],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(!dc(n))return[];var e=vc(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?mc(n.decorators):n.hasOwnProperty(S)?n[S]:null},n.prototype.annotations=function(n){if(!dc(n))return[];var e=vc(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]=mc(l[n])}),o}return n.hasOwnProperty(E)?n[E]:null},n.prototype.propMetadata=function(n){if(!dc(n))return{};var e=vc(n),t={};if(e!==Object){var o=this.propMetadata(e);Object.keys(o).forEach(function(n){t[n]=o[n]})}var r=this._ownPropMetadata(n,e);return r&&Object.keys(r).forEach(function(n){var e=[];t.hasOwnProperty(n)&&e.push.apply(e,Object(l.__spread)(t[n])),e.push.apply(e,Object(l.__spread)(r[n])),t[n]=e}),t},n.prototype.hasLifecycleHook=function(n,e){return n instanceof sc&&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:"./"+Y(n)},n.prototype.resourceUri=function(n){return"./"+Y(n)},n.prototype.resolveIdentifier=function(n,e,t,l){return l},n.prototype.resolveEnum=function(n,e){return n[e]},n}();function mc(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.__spread)([void 0],t)))}):[]}function vc(n){var e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}var gc=null;function bc(){return gc=gc||new hc}function yc(n){return _c(bc().parameters(n))}function _c(n){var e=_e();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 r=e[o];if(void 0!==r)if(r instanceof Se||"Optional"===r.__proto__.ngMetadataName)t.optional=!0;else if(r instanceof Ee||"SkipSelf"===r.__proto__.ngMetadataName)t.skipSelf=!0;else if(r instanceof ke||"Self"===r.__proto__.ngMetadataName)t.self=!0;else if(r instanceof Te||"Host"===r.__proto__.ngMetadataName)t.host=!0;else if(r instanceof xe)t.token=r.token;else if(r instanceof D){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.token=r.attributeName,t.resolved=n.R3ResolvedDependencyType.Attribute}else l(r)}}else l(e);return t}(e,n)})}var wc=[],Cc=[],xc=!1;function Sc(n){return Array.isArray(n)?n.every(Sc):!!Q(n)}function kc(n,e){void 0===e&&(e={}),Ec(n,e),function(n,e){Cc.push({moduleType:n,ngModule:e})}(n,e)}function Ec(n,e){var t,l,o=Fc(e.declarations||wc),r=null;Object.defineProperty(n,v,{configurable:!0,get:function(){return null===r&&(r=_e().compileNgModule(nc,"ng://"+n.name+"/ngModuleDef.js",{type:n,bootstrap:Fc(e.bootstrap||wc,Q),declarations:o.map(Q),imports:Fc(e.imports||wc,Q).map(Dc),exports:Fc(e.exports||wc,Q).map(Dc),emitInline:!0})),r}}),e.id&&(l=n,oc(t=e.id,tc.get(t)),tc.set(t,l));var i=null;Object.defineProperty(n,h,{get:function(){if(null===i){var t={name:n.name,type:n,deps:yc(n),providers:e.providers||wc,imports:[(e.imports||wc).map(Q),(e.exports||wc).map(Q)]};i=_e().compileInjector(nc,"ng://"+n.name+"/ngInjectorDef.js",t)}return i},configurable:!1})}function Tc(){new Map,new Map,Cc.length=0}function Rc(n,e){var t=Fc(e.declarations||wc),l=Oc(n);t.forEach(function(e){e.hasOwnProperty(c)?Ic(vn(e),l):e.hasOwnProperty(p)||e.hasOwnProperty(m)||(e.ngSelectorScope=n)})}function Ic(n,e){n.directiveDefs=function(){return Array.from(e.compilation.directives).map(function(n){return gn(n)||vn(n)}).filter(function(n){return!!n})},n.pipeDefs=function(){return Array.from(e.compilation.pipes).map(function(n){return bn(n)})}}function Oc(n){if(!Mc(n))throw new Error(n.name+" does not have an ngModuleDef");var e=yn(n);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;var t={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return e.declarations.forEach(function(n){bn(n)?t.compilation.pipes.add(n):t.compilation.directives.add(n)}),e.imports.forEach(function(n){var e=n;if(!Mc(e))throw new Error("Importing "+e.name+" which does not have an ngModuleDef");var l=Oc(e);l.exported.directives.forEach(function(n){return t.compilation.directives.add(n)}),l.exported.pipes.forEach(function(n){return t.compilation.pipes.add(n)})}),e.exports.forEach(function(n){var e=n;if(Mc(e)){var l=Oc(e);l.exported.directives.forEach(function(n){t.compilation.directives.add(n),t.exported.directives.add(n)}),l.exported.pipes.forEach(function(n){t.compilation.pipes.add(n),t.exported.pipes.add(n)})}else bn(e)?t.exported.pipes.add(e):t.exported.directives.add(e)}),e.transitiveCompileScopes=t,t}function Fc(n,e){var t=[];return n.forEach(function(n){Array.isArray(n)?t.push.apply(t,Object(l.__spread)(Fc(n,e))):t.push(e?e(n):n)}),t}function Dc(n){return function(n){return void 0!==n.ngModule}(n)?n.ngModule:n}function Mc(n){return!!yn(n)}function Nc(n,e){var t=null;!function(n){en(n)&&nn.add(n)}(e),Object.defineProperty(n,c,{get:function(){var o=_e();if(null===t){if(en(e)){var r=["Component '"+Xn(n)+"' is not resolved:"];throw e.templateUrl&&r.push(" - templateUrl: "+Xn(e.templateUrl)),e.styleUrls&&e.styleUrls.length&&r.push(" - styleUrls: "+JSON.stringify(e.styleUrls)),r.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(r.join("\n"))}var i=Object(l.__assign)({},qc(n,e),{template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||rn,animations:e.animations,viewQueries:jc(n,bc().propMetadata(n),Vc),directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:e.encapsulation||ln.Emulated,interpolation:e.interpolation,viewProviders:e.viewProviders||null});if(t=o.compileComponent(nc,"ng://"+Xn(n)+"/template.html",i),function(){if(!xc){xc=!0;try{for(var n=Cc.length-1;n>=0;n--){var e=Cc[n],t=e.moduleType,l=e.ngModule;l.declarations&&l.declarations.every(Sc)&&(Cc.splice(n,1),Rc(t,l))}}finally{xc=!1}}}(),void 0!==n.ngSelectorScope){var a=Oc(n.ngSelectorScope);Ic(t,a)}}return t},configurable:!1})}function Ac(n,e){var t=null;Object.defineProperty(n,p,{get:function(){if(null===t){var l=qc(n,e);t=_e().compileDirective(nc,"ng://"+(n&&n.name)+"/ngDirectiveDef.js",l)}return t},configurable:!1})}function Pc(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function qc(n,e){var t=bc().propMetadata(n);return{name:n.name,type:n,typeArgumentCount:0,selector:e.selector,deps:yc(n),host:e.host||on,propMetadata:t,inputs:e.inputs||rn,outputs:e.outputs||rn,queries:jc(n,t,Lc),lifecycle:{usesOnChanges:void 0!==n.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!Pc(n),exportAs:e.exportAs||null,providers:e.providers||null}}function jc(n,e,t){var l=[],o=function(o){e.hasOwnProperty(o)&&e[o].forEach(function(e){if(t(e)){if(!e.selector)throw new Error("Can't construct a query for the property \""+o+'" of "'+Xn(n)+"\" since the query selector wasn't defined.");l.push(function(n,e){return{propertyName:o,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};var t}(0,e))}})};for(var r in e)o(r);return l}function Lc(n){var e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function Vc(n){var e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function Bc(n,e){var t=null;Object.defineProperty(n,m,{get:function(){return null===t&&(t=_e().compilePipe(nc,"ng://"+Xn(n)+"/ngPipeDef.js",{type:n,name:n.name,deps:yc(n),pipeName:e.name,pure:void 0===e.pure||e.pure})),t},configurable:!1})}var zc=T("Directive",function(n){return void 0===n&&(n={}),n},void 0,void 0,function(n,e){return np(n,e)}),Uc=T("Component",function(n){return void 0===n&&(n={}),Object(l.__assign)({changeDetection:j.Default},n)},zc,void 0,function(n,e){return Jc(n,e)}),Hc=T("Pipe",function(n){return Object(l.__assign)({pure:!0},n)},void 0,void 0,function(n,e){return ep(n,e)}),Zc=function(n){return function(e,t){for(var l=[],o=2;o<arguments.length;o++)l[o-2]=arguments[o];var r=e.constructor;r.hasOwnProperty(g)||function(n){var e=n.constructor,t=e.ngBaseDef,l=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};t&&(d(l.inputs,t.inputs),d(l.outputs,t.outputs),d(l.declaredInputs,t.declaredInputs))}(e),n(r.ngBaseDef)[t]=l[0]}},Wc=O("Input",function(n){return{bindingPropertyName:n}},void 0,Zc(function(n){return n.inputs||{}})),Gc=O("Output",function(n){return{bindingPropertyName:n}},void 0,Zc(function(n){return n.outputs||{}})),Kc=O("HostBinding",function(n){return{hostPropertyName:n}}),Yc=O("HostListener",function(n,e){return{eventName:n,args:e}}),$c=Nc,Xc=Ac,Qc=Bc,Jc=ua,np=ua,ep=ua,tp=s({provide:String,useValue:s}),lp=[];function op(n,e){if(!e){var t=(s=new hc).parameters(n);return function(){return new(n.bind.apply(n,Object(l.__spread)([void 0],Ae(t))))}}if(tp in e){var o=e;return function(){return o.useValue}}if(e.useExisting){var r=e;return function(){return Me(r.useExisting)}}if(e.useFactory){var i=e;return function(){return i.useFactory.apply(i,Object(l.__spread)(Ae(i.deps||lp)))}}if(e.useClass){var a=e,u=e.deps;if(!u){var s=new hc;u=s.parameters(n)}return function(){var n;return new((n=a.useClass).bind.apply(n,Object(l.__spread)([void 0],Ae(u))))}}var d=e.deps;return d||(s=new hc,d=s.parameters(n)),function(){return new(n.bind.apply(n,Object(l.__spread)([void 0],Ae(d))))}}var rp={name:"custom-elements"},ip={name:"no-errors-schema"},ap=T("NgModule",function(n){return n},void 0,void 0,function(n,e){return sp(n,e)}),up=kc,sp=function(n,e){var t=e&&e.imports||[];e&&e.exports&&(t=Object(l.__spread)(t,[e.exports])),n.ngInjectorDef=_({factory:op(n,{useClass:n}),providers:e&&e.providers,imports:t})},dp=s({provide:String,useValue:s});function cp(n){return void 0!==n.useClass}function pp(n){return dp in n}function fp(n){return void 0!==n.useFactory}function hp(n){return void 0!==n.useExisting}var mp=T("Injectable",void 0,void 0,void 0,function(n,e){return gp(n,e)}),vp=function(n,e){var t=null;n.hasOwnProperty(f)||Object.defineProperty(n,f,{get:function(){if(null===t){var l=e||{providedIn:null},o=cp(l)||fp(l)||pp(l)||hp(l),r={name:n.name,type:n,typeArgumentCount:0,providedIn:l.providedIn,ctorDeps:yc(n),userDeps:void 0};if((cp(l)||fp(l))&&void 0!==l.deps&&(r.userDeps=_c(l.deps)),o)if(cp(l))r.useClass=l.useClass;else if(pp(l))r.useValue=l.useValue;else if(fp(l))r.useFactory=l.useFactory;else{if(!hp(l))throw new Error("Unreachable state.");r.useExisting=l.useExisting}else r.useClass=n;t=_e().compileInjectable(nc,"ng://"+n.name+"/ngInjectableDef.js",r)}return t}})},gp=function(n,e){e&&void 0!==e.providedIn&&!w(n)&&(n.ngInjectableDef=y({providedIn:e.providedIn,factory:op(n,e)}))},bp="ngDebugContext",yp="ngOriginalError",_p="ngErrorLogger";function wp(n){return n[bp]}function Cp(n){return n[yp]}function xp(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];n.error.apply(n,Object(l.__spread)(e))}var Sp=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[_p]||xp}(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?wp(n)?wp(n):this._findContext(Cp(n)):null},n.prototype._findOriginalError=function(n){for(var e=Cp(n);e&&Cp(e);)e=Cp(e);return e},n}();function kp(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 Y(n.token)}).join(" -> ")+")":""}function Ep(n,e,t,l){var o=[e],r=t(o),i=l?function(n,e){var t=r+" caused by: "+(e instanceof Error?e.message:e),l=Error(t);return l[yp]=e,l}(0,l):Error(r);return i.addKey=Tp,i.keys=o,i.injectors=[n],i.constructResolvingMessage=t,i[yp]=l,i}function Tp(n,e){this.injectors.push(n),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Rp(n,e){for(var t=[],l=0,o=e.length;l<o;l++){var r=e[l];t.push(r&&0!=r.length?r.map(Y).join(" "):"?")}return Error("Cannot resolve all parameters for '"+Y(n)+"'("+t.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+Y(n)+"' is decorated with Injectable.")}var Ip=function(){function n(n,e){if(this.token=n,this.id=e,!n)throw new Error("Token must be defined!");this.displayName=Y(this.token)}return n.get=function(n){return Op.get(Q(n))},Object.defineProperty(n,"numberOfKeys",{get:function(){return Op.numberOfKeys},enumerable:!0,configurable:!0}),n}(),Op=new(function(){function n(){this._allKeys=new Map}return n.prototype.get=function(n){if(n instanceof Ip)return n;if(this._allKeys.has(n))return this._allKeys.get(n);var e=new Ip(n,Ip.numberOfKeys);return this._allKeys.set(n,e),e},Object.defineProperty(n.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),n}()),Fp=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 hc),Dp=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}(),Mp=[],Np=function(){return function(n,e,t){this.key=n,this.resolvedFactories=e,this.multiProvider=t,this.resolvedFactory=this.resolvedFactories[0]}}(),Ap=function(){return function(n,e){this.factory=n,this.dependencies=e}}();function Pp(n){var e,t;if(n.useClass){var l=Q(n.useClass);e=Fp.factory(l),t=Lp(l)}else n.useExisting?(e=function(n){return n},t=[Dp.fromKey(Ip.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 Vp(n,e,t)})}return Lp(n)}(n.useFactory,n.deps)):(e=function(){return n.useValue},t=Mp);return new Ap(e,t)}function qp(n){return new Np(Ip.get(n.provide),[Pp(n)],n.multi||!1)}function jp(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 r=0;r<l.resolvedFactories.length;r++)o.resolvedFactories.push(l.resolvedFactories[r]);else e.set(l.key.id,l)}else{var i;i=l.multiProvider?new Np(l.key,l.resolvedFactories.slice(),l.multiProvider):l,e.set(l.key.id,i)}}return e}(function n(e,t){return e.forEach(function(e){if(e instanceof sc)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(qp),new Map);return Array.from(e.values())}function Lp(n){var e=Fp.parameters(n);if(!e)return[];if(e.some(function(n){return null==n}))throw Rp(n,e);return e.map(function(t){return Vp(n,t,e)})}function Vp(n,e,t){var l=null,o=!1;if(!Array.isArray(e))return Bp(e instanceof xe?e.token:e,o,null);for(var r=null,i=0;i<e.length;++i){var a=e[i];a instanceof sc?l=a:a instanceof xe?l=a.token:a instanceof Se?o=!0:a instanceof ke||a instanceof Ee?r=a:a instanceof x&&(l=a)}if(null!=(l=Q(l)))return Bp(l,o,r);throw Rp(n,t)}function Bp(n,e,t){return new Dp(Ip.get(n),e,t)}var zp=new Object,Up=function(){function n(){}return n.resolve=function(n){return jp(n)},n.resolveAndCreate=function(e,t){var l=n.resolve(e);return n.fromResolvedProviders(l,t)},n.fromResolvedProviders=function(n,e){return new Hp(n,e)},n}(),Hp=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]=zp}return n.prototype.get=function(n,e){return void 0===e&&(e=ca),this._getByKey(Ip.get(n),null,e)},n.prototype.resolveAndCreateChild=function(n){var e=Up.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(Up.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 Ep(this,n.key,function(n){return"Cannot instantiate cyclic dependency!"+kp(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,r,i=this,a=e.factory;try{t=e.dependencies.map(function(n){return i._getByReflectiveDependency(n)})}catch(u){throw u.addKey&&u.addKey(this,n.key),u}try{o=a.apply(void 0,Object(l.__spread)(t))}catch(u){throw Ep(this,n.key,function(n){var e=Y(n[0].token);return r.message+": Error during instantiation of "+e+"!"+kp(n)+"."},r=u)}return o},n.prototype._getByReflectiveDependency=function(n){return this._getByKey(n.key,n.visibility,n.optional?null:ca)},n.prototype._getByKey=function(e,t,l){return e===n.INJECTOR_KEY?this:t instanceof ke?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]===zp&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return zp},n.prototype._throwOrNull=function(n,e){if(e!==ca)return e;throw function(n,e){return Ep(n,e,function(n){return"No provider for "+Y(n[0].token)+"!"+kp(n)})}(this,n)},n.prototype._getByKeySelf=function(n,e){var t=this._getObjByKeyId(n.id);return t!==zp?t:this._throwOrNull(n,e)},n.prototype._getByKeyDefault=function(e,t,l){var o;for(o=l instanceof Ee?this.parent:this;o instanceof n;){var r=o,i=r._getObjByKeyId(e.id);if(i!==zp)return i;o=r.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=Ip.get(ha),n}();function Zp(n){return!!n&&"function"==typeof n.then}function Wp(n){return!!n&&"function"==typeof n.subscribe}var Gp=new x("Application Initializer"),Kp=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]();Zp(o)&&e.push(o)}Promise.all(e).then(function(){t()}).catch(function(e){n.reject(e)}),0===e.length&&t(),this.initialized=!0}},n}(),Yp=new x("AppId");function $p(){return""+Qp()+Qp()+Qp()}var Xp={provide:Yp,useFactory:$p,deps:[]};function Qp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Jp=new x("Platform Initializer"),nf=new x("Platform ID"),ef=new x("appBootstrapListener"),tf=new x("Application Packages Root URL"),lf=function(){function n(){}return n.prototype.log=function(n){console.log(n)},n.prototype.warn=function(n){console.warn(n)},n}(),of=function(){return function(n,e){this.ngModuleFactory=n,this.componentFactories=e}}();function rf(){throw new Error("Runtime compiler is not loaded")}var af,uf,sf=function(n){return new Ys(n)},df=rf,cf=function(n){return Promise.resolve(sf(n))},pf=rf,ff=function(n){return new of(sf(n),[])},hf=rf,mf=function(n){return Promise.resolve(ff(n))},vf=rf,gf=function(){function n(){this.compileModuleSync=df,this.compileModuleAsync=pf,this.compileModuleAndAllComponentsSync=hf,this.compileModuleAndAllComponentsAsync=vf}return n.prototype.clearCache=function(){},n.prototype.clearCacheFor=function(n){},n.prototype.getModuleId=function(n){},n}(),bf=new x("compilerOptions"),yf=function(){return function(){}}();function _f(){var n=U.wtf;return!(!n||!(af=n.trace)||(uf=af.events,0))}function wf(n,e){return void 0===e&&(e=null),uf.createScope(n,e)}function Cf(n,e){return af.leaveScope(n,e),e}function xf(n,e){return af.beginTimeRange(n,e)}function Sf(n){af.endTimeRange(n)}var kf=_f();function Ef(n,e){return null}var Tf=kf?wf:function(n,e){return Ef},Rf=kf?Cf:function(n,e){return e},If=kf?xf:function(n,e){return null},Of=kf?Sf:function(n){return null},Ff=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 md(!1),this.onMicrotaskEmpty=new md(!1),this.onStable=new md(!1),this.onError=new md(!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,r,i){try{return Af(e),n.invokeTask(l,o,r,i)}finally{Pf(e)}},onInvoke:function(n,t,l,o,r,i,a){try{return Af(e),n.invoke(l,o,r,i,a)}finally{Pf(e)}},onHasTask:function(n,t,l,o){n.hasTask(l,o),t===l&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Nf(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,r=o.scheduleEventTask("NgZoneEvent: "+l,n,Mf,Df,Df);try{return o.runTask(r,e,t)}finally{o.cancelTask(r)}},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 Df(){}var Mf={};function Nf(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 Af(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Pf(n){n._nesting--,Nf(n)}var qf=function(){function n(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new md,this.onMicrotaskEmpty=new md,this.onStable=new md,this.onError=new md}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}(),jf=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(){Ff.assertNotInAngularZone(),G(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())G(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}(),Lf=function(){function n(){this._applications=new Map,zf.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),zf.findTestabilityInTree(this,n,e)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],n)}();function Vf(n){zf=n}var Bf,zf=new(function(){function n(){}return n.prototype.addToWindow=function(n){},n.prototype.findTestabilityInTree=function(n,e,t){return null},n}());function Uf(n,e,t){return Promise.resolve(new Ys(t))}var Hf=new x("AllowMultipleToken"),Zf=function(){return function(n,e){this.name=n,this.token=e}}();function Wf(n){if(Bf&&!Bf.destroyed&&!Bf.injector.get(Hf,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bf=n.get(Xf);var e=n.get(Jp,null);return e&&e.forEach(function(n){return n()}),Bf}function Gf(n,e,t){void 0===t&&(t=[]);var l="Platform: "+e,o=new x(l);return function(e){void 0===e&&(e=[]);var r=$f();if(!r||r.injector.get(Hf,!1))if(n)n(t.concat(e).concat({provide:o,useValue:!0}));else{var i=t.concat(e).concat({provide:o,useValue:!0});Wf(ha.create({providers:i,name:l}))}return Kf(o)}}function Kf(n){var e=$f();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 Yf(){Bf&&!Bf.destroyed&&Bf.destroy()}function $f(){return Bf&&!Bf.destroyed?Bf:null}var Xf=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 qf:("zone.js"===t?void 0:t)||new Ff({enableLongStackTrace:Lu()}),r=[{provide:Ff,useValue:o}];return o.run(function(){var e=ha.create({providers:r,parent:l.injector,name:n.moduleType.name}),t=n.create(e),i=t.injector.get(Sp,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return t.onDestroy(function(){return nh(l._modules,t)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(n){i.handleError(n)}})}),function(n,e,o){try{var r=((i=t.injector.get(Kp)).runInitializers(),i.donePromise.then(function(){return l._moduleDoBootstrap(t),t}));return Zp(r)?r.catch(function(t){throw e.runOutsideAngular(function(){return n.handleError(t)}),t}):r}catch(a){throw e.runOutsideAngular(function(){return n.handleError(a)}),a}var i}(i,o)})},n.prototype.bootstrapModule=function(n,e){var t=this;void 0===e&&(e=[]);var l=Qf({},e);return function(n,e,t){return n.get(yf).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(Jf);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(n){return e.bootstrap(n)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module "+Y(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 Qf(n,e){return Array.isArray(e)?e.reduce(Qf,n):Object(l.__assign)({},n,e)}var Jf=function(){function n(n,e,t,l,o,r){var s=this;this._zone=n,this._console=e,this._injector=t,this._exceptionHandler=l,this._componentFactoryResolver=o,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Lu(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var d=new i.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 i.a(function(n){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){Ff.assertNotInAngularZone(),G(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,n.next(!0))})})});var t=s._zone.onUnstable.subscribe(function(){Ff.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 Xa?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(t.componentType);var o=t instanceof iu?null:this._injector.get(au),r=t.create(ha.NULL,[],e||t.selector,o);r.onDestroy(function(){l._unloadComponent(r)});var i=r.injector.get(jf,null);return i&&r.injector.get(Lf).registerApplication(r.location.nativeElement,i),this._loadComponent(r),Lu()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r},n.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(n){return n.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(n){return n.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,Rf(t)}},n.prototype.attachView=function(n){var e=n;this._views.push(e),e.attachToAppRef(this)},n.prototype.detachView=function(n){var e=n;nh(this._views,e),e.detachFromAppRef()},n.prototype._loadComponent=function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ef,[]).concat(this._bootstrapListeners).forEach(function(e){return e(n)})},n.prototype._unloadComponent=function(n){this.detachView(n.hostView),nh(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=Tf("ApplicationRef#tick()"),n}();function nh(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}var eh=function(){function n(){this.dirty=!0,this._results=[],this.changes=new md,this.length=0}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[W()]=function(){return this._results[W()]()},n.prototype.toString=function(){return this._results.toString()},n.prototype.reset=function(n){this._results=function n(e){return e.reduce(function(e,t){var l=Array.isArray(t)?n(t):t;return e.concat(l)},[])}(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}(),th=function(){return function(){}}(),lh={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},oh=function(){function n(n,e){this._compiler=n,this._config=e||lh}return n.prototype.load=function(n){return this._compiler instanceof gf?this.loadFactory(n):this.loadAndCompile(n)},n.prototype.loadAndCompile=function(n){var e=this,o=Object(l.__read)(n.split("#"),2),r=o[0],i=o[1];return void 0===i&&(i="default"),t("crnd")(r).then(function(n){return n[i]}).then(function(n){return rh(n,r,i)}).then(function(n){return e._compiler.compileModuleAsync(n)})},n.prototype.loadFactory=function(n){var e=Object(l.__read)(n.split("#"),2),o=e[0],r=e[1],i="NgFactory";return void 0===r&&(r="default",i=""),t("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(n){return n[r+i]}).then(function(n){return rh(n,o,r)})},n}();function rh(n,e,t){if(!n)throw new Error("Cannot find '"+t+"' in '"+e+"'");return n}var ih=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return uh(n,hu)},n}(),ah=function(n,e){return function(n,e,t,o){var r;eu||(eu=function(n){function t(e,t,l){var o=n.call(this)||this;return o._lContainer=e,o._hostTNode=t,o._hostView=l,o._viewRefs=[],o}return Object(l.__extends)(t,n),Object.defineProperty(t.prototype,"element",{get:function(){return cu(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Pt(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){var n=Et(this._hostTNode,this._hostView),e=ve(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 r=me(n),i=e,a=e[En];r>1;)a=(i=i[qn])[En],r--;return a}(n,this._hostView,this._hostTNode);return fe(n)&&null!=t?new Pt(t,e):new Pt(null,this._hostView)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(;this._lContainer[Vn].length;)this.remove(0)},t.prototype.get=function(n){return this._viewRefs[n]||null},Object.defineProperty(t.prototype,"length",{get:function(){return this._lContainer[Vn].length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(n,e,t){var l=this._adjustIndex(t),o=n.createEmbeddedView(e||{},this._lContainer,this._hostTNode,this._hostView,l);return o.attachToViewContainerRef(this),this._viewRefs.splice(l,0,o),o},t.prototype.createComponent=function(n,e,t,l,o){var r=t||this.parentInjector;!o&&null==n.ngModule&&r&&(o=r.get(au,null));var i=n.create(r,l,void 0,o);return this.insert(i.hostView,e),i},t.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t=n._lView,l=this._adjustIndex(e);return Nl(t,this._lContainer,this._hostView,l,this._hostTNode.index),Ml(t,!0,Gl(l,this._lContainer[Vn],this._lContainer[Bn])),n.attachToViewContainerRef(this),this._viewRefs.splice(l,0,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 this.detach(t),this.insert(n,this._adjustIndex(e)),n},t.prototype.indexOf=function(n){return this._viewRefs.indexOf(n)},t.prototype.remove=function(n){var e=this._adjustIndex(n,-1);Pl(this._lContainer,this._hostTNode,e),this._viewRefs.splice(e,1)},t.prototype.detach=function(n){var e=this._adjustIndex(n,-1),t=Al(this._lContainer,e,!!this._hostTNode.detached);return null!=this._viewRefs.splice(e,1)[0]?new su(t,t[In],t[An]):null},t.prototype._adjustIndex=function(n,e){return void 0===e&&(e=0),null==n?this._lContainer[Vn].length+e:n},t}(n));var i=o[t.index];if(ae(i))(r=i)[Ln]=-1;else{var a=o[Dn].createComment("");if(ue(o)){var u=o[Dn],s=ee(t,o);Ul(u,Hl(u,s),a,function(n,e){return xl(n)?n.nextSibling(e):e.nextSibling}(u,s))}else Zl(a,t,o);o[t.index]=r=ei(i,t,o,a,!0),pi(o,t.index,r)}return new eu(r,t,o)}(n,e,nt(),Qe())},uh=ua,sh=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return ch()},n}(),dh=function(){return fu(nt(),Qe(),null)},ch=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},ph=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(sh),fh=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(ph),hh=function(){return function(n,e){this.name=n,this.callback=e}}(),mh=function(){function n(n,e,t){this.listeners=[],this.parent=null,this._debugContext=t,this.nativeNode=n,e&&e instanceof vh&&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}(),vh=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.__extends)(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,r=this.childNodes.indexOf(n);-1!==r&&((t=this.childNodes).splice.apply(t,Object(l.__spread)([r+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 bh(this,n,e),e},e.prototype.queryAllNodes=function(n){var e=[];return yh(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}(mh);function gh(n){return n.map(function(n){return n.nativeElement})}function bh(n,e,t){n.childNodes.forEach(function(n){n instanceof vh&&(e(n)&&t.push(n),bh(n,e,t))})}function yh(n,e,t){n instanceof vh&&n.childNodes.forEach(function(n){e(n)&&t.push(n),n instanceof vh&&yh(n,e,t)})}var _h=function(){function n(n){this.nativeNode=n}return Object.defineProperty(n.prototype,"parent",{get:function(){var n=this.nativeNode.parentNode;return n?new wh(n):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return Qt(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){var n=this.nativeNode;return n&&Gt(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return Kt(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"listeners",{get:function(){return ol(this.nativeNode).filter(ll)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return void 0===(n=nl(this.nativeNode)).localRefs&&(n.localRefs=function(e,t){var l=e[_n].data[n.nodeIndex];if(l&&l.localNames){for(var o={},r=0;r<l.localNames.length;r+=2){var i=l.localNames[r+1];o[l.localNames[r]]=-1===i?ee(l,e):e[i]}return o}return null}(n.lView)),n.localRefs||{};var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return function(n){var e=nl(n,!1);if(!e)return[];for(var t,l=e.lView[_n],o=l.data[e.nodeIndex],r=[],i=o.directiveEnd,a=65535&o.providerIndexes;a<i;a++){var u=l.data[a];void 0!==(t=u).type&&void 0!==t.template&&void 0!==t.declaredInputs&&(u=u.type),r.push(u)}return r}(this.nativeNode)},enumerable:!0,configurable:!0}),n}(),wh=function(n){function e(e){return n.call(this,e)||this}return Object(l.__extends)(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(){return nl(this.nativeNode),{}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var n={},e=this.nativeElement;if(e)for(var t=e.attributes,l=0;l<t.length;l++){var o=t[l];n[o.name]=o.value}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classes",{get:function(){var n={},e=this.nativeElement;if(e){var t=tl(e),l=t.lView[t.nodeIndex];if(uo(t.nodeIndex,t.lView)){for(var o=9;o<l.length;o+=4)if(So(l,o)){var r=Bo(l,o),i=Vo(l,o);"boolean"==typeof i&&(n[r]=i)}}else{var a=e.classList;for(o=0;o<a.length;o++)n[a[o]]=!0}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){var n={},e=this.nativeElement;if(e){var t=tl(e),l=t.lView[t.nodeIndex];if(uo(t.nodeIndex,t.lView)){for(var o=9;o<l.length;o+=4)if(!So(l,o)){var r=Bo(l,o),i=Vo(l,o);null!==i&&(n[r]=i)}}else{var a=e.style;for(o=0;o<a.length;o++){var u=a.item(o);n[u]=a.getPropertyValue(u)}}}return n},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(Sh(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(Sh(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 Ch(this,n,e,!0),e},e.prototype.queryAllNodes=function(n){var e=[];return Ch(this,n,e,!1),e},e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach(function(t){t.name===n&&t.callback(e)})},e}(_h);function Ch(n,e,t,l){n instanceof wh&&n.childNodes.forEach(function(n){e(n)&&t.push(n),n instanceof wh&&(l&&!n.nativeElement||Ch(n,e,t,l))})}var xh=new Map;function Sh(n){return n instanceof Node?n.nodeType==Node.ELEMENT_NODE?new wh(n):new _h(n):null}var kh=function(n){return xh.get(n)||null};function Eh(n){xh.set(n.nativeNode,n)}var Th=mh,Rh=vh,Ih=function(){function n(){}return n.prototype.supports=function(n){return cl(n)},n.prototype.create=function(n){return new Fh(n)},n}(),Oh=function(n,e){return e},Fh=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||Oh}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 r=!t||e&&e.currentIndex<Ah(t,l,o)?e:t,i=Ah(r,l,o),a=r.currentIndex;if(r===t)l--,t=t._nextRemoved;else if(e=e._next,null==r.previousIndex)l++;else{o||(o=[]);var u=i-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[r.previousIndex]=s-u}}i!==a&&n(r,i,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=[]),!cl(n))throw new Error("Error trying to diff '"+Y(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,r=this._itHead,i=!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!==r&&K(r.trackById,o)?(i&&(r=this._verifyReinsertion(r,l,o,a)),K(r.item,l)||this._addIdentityChange(r,l)):(r=this._mismatch(r,l,o,a),i=!0),r=r._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[W()](),o=void 0;!(o=l.next()).done;)e(o.value)}(n,function(n){o=e._trackByFn(t,n),null!==r&&K(r.trackById,o)?(i&&(r=e._verifyReinsertion(r,n,o,t)),K(r.item,n)||e._addIdentityChange(r,n)):(r=e._mismatch(r,n,o,t),i=!0),r=r._next,t++}),this.length=t;return this._truncate(r),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))?(K(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,l)):null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(K(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,l)):n=this._addAfter(new Dh(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 Nh),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 Nh),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}(),Dh=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}}(),Mh=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)&&K(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}(),Nh=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 Mh,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 Ah(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 Ph=function(){function n(){}return n.prototype.supports=function(n){return n instanceof Map||pl(n)},n.prototype.create=function(){return new qh},n}(),qh=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||pl(n)))throw new Error("Error trying to diff '"+Y(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 r=new jh(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r},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){K(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}(),jh=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}}(),Lh=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 Ee,new Se]]}},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=y({providedIn:"root",factory:function(){return new n([new Ih])}}),n}(),Vh=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 Ee,new Se]]}},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=y({providedIn:"root",factory:function(){return new n([new Ph])}}),n}(),Bh=[new Ph],zh=new Lh([new Ih]),Uh=new Vh(Bh),Hh=Gf(null,"core",[{provide:nf,useValue:"unknown"},{provide:Xf,deps:[ha]},{provide:Lf,deps:[]},{provide:lf,deps:[]}]),Zh=new x("LocaleId"),Wh=new x("Translations"),Gh=new x("TranslationsFormat"),Kh=function(n){return n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore",n}({});function Yh(){return zh}function $h(){return Uh}function Xh(n){return n||"en-US"}var Qh=[{provide:Jf,useClass:Jf,deps:[Ff,lf,ha,Sp,ou,Kp]},{provide:Kp,useClass:Kp,deps:[[new Se,Gp]]},{provide:gf,useClass:gf,deps:[]},Xp,{provide:Lh,useFactory:Yh,deps:[]},{provide:Vh,useFactory:$h,deps:[]},{provide:Zh,useFactory:Xh,deps:[[new xe(Zh),new Se,new Ee]]}],Jh=function(){return function(n){}}(),nm=!0,em=!1;function tm(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 lm(n,e,t){return(1792&n.state)===e&&n.initIndex<=t&&(n.initIndex=t+1,!0)}function om(n,e){return n.nodes[e]}function rm(n,e){return n.nodes[e]}function im(n,e){return n.nodes[e]}function am(n,e){return n.nodes[e]}function um(n,e){return n.nodes[e]}var sm=function(){return function(){}}(),dm={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};function cm(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 pm(t,e),t}(o,n)}function pm(n,e){n[bp]=e,n[_p]=e.logError.bind(e)}function fm(n){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+n)}var hm=function(){},mm=new Map;function vm(n){var e=mm.get(n);return e||(e=Y(n)+"_"+mm.size,mm.set(n,e)),e}function gm(n,e,t,l){if(sl.isWrapped(l)){l=sl.unwrap(l);var o=n.def.nodes[e].bindingIndex+t,r=sl.unwrap(n.oldValues[o]);n.oldValues[o]=new sl(r)}return l}var bm="$$undefined",ym="$$empty";function _m(n){return{id:bm,styles:n.styles,encapsulation:n.encapsulation,data:n.data}}var wm=0;function Cm(n,e,t,l){return!(!(2&n.state)&&K(n.oldValues[e.bindingIndex+t],l))}function xm(n,e,t,l){return!!Cm(n,e,t,l)&&(n.oldValues[e.bindingIndex+t]=l,!0)}function Sm(n,e,t,l){var o=n.oldValues[e.bindingIndex+t];if(1&n.state||!ul(o,l)){var r=e.bindings[t].name;throw cm(dm.createDebugContext(n,e.nodeIndex),r+": "+o,r+": "+l,0!=(1&n.state))}}function km(n){for(var e=n;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Em(n,e){for(var t=n;t&&t!==e;)t.state|=64,t=t.viewContainerParent||t.parent}function Tm(n,e,t,l){try{return km(33554432&n.def.nodes[e].flags?rm(n,e).componentView:n),dm.handleEvent(n,e,t,l)}catch(o){n.root.errorHandler.handleError(o)}}function Rm(n){return n.parent?rm(n.parent,n.parentNodeDef.nodeIndex):null}function Im(n){return n.parent?n.parentNodeDef.parent:null}function Om(n,e){switch(201347067&e.flags){case 1:return rm(n,e.nodeIndex).renderElement;case 2:return om(n,e.nodeIndex).renderText}}function Fm(n,e){return n?n+":"+e:e}function Dm(n){return!!n.parent&&!!(32768&n.parentNodeDef.flags)}function Mm(n){return!(!n.parent||32768&n.parentNodeDef.flags)}function Nm(n){return 1<<n%32}function Am(n){var e={},t=0,o={};return n&&n.forEach(function(n){var r=Object(l.__read)(n,2),i=r[0],a=r[1];"number"==typeof i?(e[i]=a,t|=Nm(i)):o[i]=a}),{matchedQueries:e,references:o,matchedQueryIds:t}}function Pm(n,e){return n.map(function(n){var t,o,r;return Array.isArray(n)?(r=(t=Object(l.__read)(n,2))[0],o=t[1]):(r=0,o=n),o&&("function"==typeof o||"object"==typeof o)&&e&&Object.defineProperty(o,sa,{value:e,configurable:!0}),{flags:r,token:o,tokenKey:vm(o)}})}function qm(n,e,t){var l=t.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===ln.Native?rm(n,t.renderParent.nodeIndex).renderElement:void 0:e}var jm=new WeakMap;function Lm(n){var e=jm.get(n);return e||((e=n(function(){return hm})).factory=n,jm.set(n,e)),e}function Vm(n,e,t,l,o){3===e&&(t=n.renderer.parentNode(Om(n,n.def.lastRenderRootNode))),Bm(n,e,0,n.def.nodes.length-1,t,l,o)}function Bm(n,e,t,l,o,r,i){for(var a=t;a<=l;a++){var u=n.def.nodes[a];11&u.flags&&Um(n,u,e,o,r,i),a+=u.childCount}}function zm(n,e,t,l,o,r){for(var i=n;i&&!Dm(i);)i=i.parent;for(var a=i.parent,u=Im(i),s=u.nodeIndex+u.childCount,d=u.nodeIndex+1;d<=s;d++){var c=a.def.nodes[d];c.ngContentIndex===e&&Um(a,c,t,l,o,r),d+=c.childCount}if(!a.parent){var p=n.root.projectableNodes[e];if(p)for(d=0;d<p.length;d++)Hm(n,p[d],t,l,o,r)}}function Um(n,e,t,l,o,r){if(8&e.flags)zm(n,e.ngContent.index,t,l,o,r);else{var i=Om(n,e);if(3===t&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Hm(n,i,t,l,o,r),32&e.bindingFlags&&Hm(rm(n,e.nodeIndex).componentView,i,t,l,o,r)):Hm(n,i,t,l,o,r),16777216&e.flags)for(var a=rm(n,e.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)Vm(a[u],t,l,o,r);1&e.flags&&!e.element.name&&Bm(n,t,e.nodeIndex+1,e.nodeIndex+e.childCount,l,o,r)}}function Hm(n,e,t,l,o,r){var i=n.renderer;switch(t){case 1:i.appendChild(l,e);break;case 2:i.insertBefore(l,e,o);break;case 3:i.removeChild(l,e);break;case 0:r.push(e)}}var Zm=/^:([^:]+):(.+)$/;function Wm(n){if(":"===n[0]){var e=n.match(Zm);return[e[1],e[2]]}return["",n]}function Gm(n){for(var e=0,t=0;t<n.length;t++)e|=n[t].flags;return e}function Km(n,e){for(var t="",l=0;l<2*n;l+=2)t=t+e[l]+$m(e[l+1]);return t+e[2*n]}function Ym(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b,y){switch(n){case 1:return e+$m(t)+l;case 2:return e+$m(t)+l+$m(o)+r;case 3:return e+$m(t)+l+$m(o)+r+$m(i)+a;case 4:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s;case 5:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s+$m(d)+c;case 6:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s+$m(d)+c+$m(p)+f;case 7:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s+$m(d)+c+$m(p)+f+$m(h)+m;case 8:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s+$m(d)+c+$m(p)+f+$m(h)+m+$m(v)+g;case 9:return e+$m(t)+l+$m(o)+r+$m(i)+a+$m(u)+s+$m(d)+c+$m(p)+f+$m(h)+m+$m(v)+g+$m(b)+y;default:throw new Error("Does not support more than 9 expressions")}}function $m(n){return null!=n?n.toString():""}var Xm=[],Qm={};function Jm(n,e,t,l,o,r){n|=1;var i=Am(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:n,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i.matchedQueries,matchedQueryIds:i.matchedQueryIds,references:i.references,ngContentIndex:t,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?Lm(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||hm},provider:null,text:null,query:null,ngContent:null}}function nv(n,e,t,o,r,i,a,u,s,d,c,p){var f;void 0===a&&(a=[]),d||(d=hm);var h=Am(t),m=h.matchedQueries,v=h.references,g=h.matchedQueryIds,b=null,y=null;i&&(b=(f=Object(l.__read)(Wm(i),2))[0],y=f[1]),u=u||[];for(var _=new Array(u.length),w=0;w<u.length;w++){var C=Object(l.__read)(u[w],3),x=C[0],S=C[1],k=C[2],E=Object(l.__read)(Wm(S),2),T=E[0],R=E[1],I=void 0,O=void 0;switch(15&x){case 4:O=k;break;case 1:case 8:I=k}_[w]={flags:x,ns:T,name:R,nonMinifiedName:R,securityContext:I,suffix:O}}s=s||[];var F=new Array(s.length);for(w=0;w<s.length;w++){var D=Object(l.__read)(s[w],2);F[w]={type:0,target:D[0],eventName:D[1],propName:null}}var M=(a=a||[]).map(function(n){var e=Object(l.__read)(n,2),t=e[0],o=e[1],r=Object(l.__read)(Wm(t),2);return[r[0],r[1],o]});return p=function(n){if(n&&n.id===bm){var e=null!=n.encapsulation&&n.encapsulation!==ln.None||n.styles.length||Object.keys(n.data).length;n.id=e?"c"+wm++:ym}return n&&n.id===ym&&(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:r,bindings:_,bindingFlags:Gm(_),outputs:F,element:{ns:b,name:y,attrs:M,template:null,componentProvider:null,componentView:c||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:d||hm},provider:null,text:null,query:null,ngContent:null}}function ev(n,e,t){var o,r=t.element,i=n.root.selectorOrNode,a=n.renderer;if(n.parent||!i){o=r.name?a.createElement(r.name,r.ns):a.createComment("");var u=qm(n,e,t);u&&a.appendChild(u,o)}else o=a.selectRootElement(i,!!r.componentRendererType&&r.componentRendererType.encapsulation===ln.ShadowDom);if(r.attrs)for(var s=0;s<r.attrs.length;s++){var d=Object(l.__read)(r.attrs[s],3);a.setAttribute(o,d[1],d[2],d[0])}return o}function tv(n,e,t,l){for(var o=0;o<t.outputs.length;o++){var r=t.outputs[o],i=lv(n,t.nodeIndex,Fm(r.target,r.eventName)),a=r.target,u=n;"component"===r.target&&(a=null,u=e);var s=u.renderer.listen(a||l,r.eventName,i);n.disposables[t.outputIndex+o]=s}}function lv(n,e,t){return function(l){return Tm(n,e,t,l)}}function ov(n,e,t,l){if(!xm(n,e,t,l))return!1;var o=e.bindings[t],r=rm(n,e.nodeIndex),i=r.renderElement,a=o.name;switch(15&o.flags){case 1:!function(n,e,t,l,o,r){var i=e.securityContext,a=i?n.root.sanitizer.sanitize(i,r):r;a=null!=a?a.toString():null;var u=n.renderer;null!=r?u.setAttribute(t,o,a,l):u.removeAttribute(t,o,l)}(n,o,i,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,i,a,l);break;case 4:!function(n,e,t,l,o){var r=n.root.sanitizer.sanitize(Eu.STYLE,o);if(null!=r){r=r.toString();var i=e.suffix;null!=i&&(r+=i)}else r=null;var a=n.renderer;null!=r?a.setStyle(t,l,r):a.removeStyle(t,l)}(n,o,i,a,l);break;case 8:!function(n,e,t,l,o){var r=e.securityContext,i=r?n.root.sanitizer.sanitize(r,o):o;n.renderer.setProperty(t,l,i)}(33554432&e.flags&&32&o.flags?r.componentView:n,o,i,a,l)}return!0}var rv=new Object,iv=vm(ha),av=vm(pa),uv=vm(au);function sv(n,e,t,l){return t=Q(t),{index:-1,deps:Pm(l,Y(e)),flags:n,token:e,value:t}}function dv(n){for(var e={},t=[],l=!1,o=0;o<n.length;o++){var r=n[o];r.token===Ia&&!0===r.value&&(l=!0),1073741824&r.flags&&t.push(r.token),r.index=o,e[vm(r.token)]=r}return{factory:null,providersByKey:e,providers:n,modules:t,isRoot:l}}function cv(n,e,t){void 0===t&&(t=ha.THROW_IF_NOT_FOUND);var l,o,r=Oe(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 i=e.tokenKey;switch(i){case iv:case av:case uv:return n}var a,u=n._def.providersByKey[i];if(u){var s=n._providers[u.index];return void 0===s&&(s=n._providers[u.index]=pv(n,u)),s===rv?void 0:s}if((a=w(e.token))&&(l=n,null!=(o=a).providedIn&&(function(n,e){return n._def.modules.indexOf(o.providedIn)>-1}(l)||"root"===o.providedIn&&l._def.isRoot))){var d=n._providers.length;return n._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:d,token:e.token},n._providers[d]=rv,n._providers[d]=pv(n,n._def.providersByKey[e.tokenKey])}return 4&e.flags?t:n._parent.get(e.token,t)}finally{Oe(r)}}function pv(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(cv(n,t[0]));case 2:return new e(cv(n,t[0]),cv(n,t[1]));case 3:return new e(cv(n,t[0]),cv(n,t[1]),cv(n,t[2]));default:for(var r=new Array(o),i=0;i<o;i++)r[i]=cv(n,t[i]);return new(e.bind.apply(e,Object(l.__spread)([void 0],r)))}}(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(cv(n,t[0]));case 2:return e(cv(n,t[0]),cv(n,t[1]));case 3:return e(cv(n,t[0]),cv(n,t[1]),cv(n,t[2]));default:for(var r=Array(o),i=0;i<o;i++)r[i]=cv(n,t[i]);return e.apply(void 0,Object(l.__spread)(r))}}(n,e.value,e.deps);break;case 2048:t=cv(n,e.deps[0]);break;case 256:t=e.value}return t===rv||null==t||"object"!=typeof t||131072&e.flags||"function"!=typeof t.ngOnDestroy||(e.flags|=131072),void 0===t?rv:t}function fv(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,gv(t,e),dm.dirtyParentQueries(l),mv(l),l}function hv(n,e,t){var l=e?Om(e,e.def.lastRenderRootNode):n.renderElement,o=t.renderer.parentNode(l),r=t.renderer.nextSibling(l);Vm(t,2,o,r,void 0)}function mv(n){Vm(n,3,null,null,void 0)}function vv(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function gv(n,e){e>=n.length-1?n.pop():n.splice(e,1)}var bv=new Object;function yv(n,e,t,l,o,r){return new wv(n,e,t,l,o,r)}function _v(n){return n.viewDefFactory}var wv=function(n){function e(e,t,l,o,r,i){var a=n.call(this)||this;return a.selector=e,a.componentType=t,a._inputs=o,a._outputs=r,a.ngContentSelectors=i,a.viewDefFactory=l,a}return Object(l.__extends)(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=Lm(this.viewDefFactory),r=o.nodes[0].element.componentProvider.nodeIndex,i=dm.createRootView(n,e||[],t,o,l,bv),a=im(i,r).instance;return t&&i.renderer.setAttribute(rm(i,0).renderElement,"ng-version",Iu.full),new Cv(i,new Ev(i),a)},e}(Xa),Cv=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.__extends)(e,n),Object.defineProperty(e.prototype,"location",{get:function(){return new hu(rm(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ov(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}($a);function xv(n,e,t){return new Sv(n,e,t)}var Sv=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 hu(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Ov(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=Im(n),n=n.parent;return n?new Ov(n,e):new Ov(this._view,null)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(var n=this._embeddedViews.length-1;n>=0;n--){var e=fv(this._data,n);dm.destroyView(e)}},n.prototype.get=function(n){var e=this._embeddedViews[n];if(e){var t=new Ev(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 r=t||this.parentInjector;o||n instanceof iu||(o=r.get(au));var i=n.create(r,l,void 0,o);return this.insert(i.hostView,e),i},n.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t,l,o,r,i=n;return r=(t=this._data).viewContainer._embeddedViews,null==(l=e)&&(l=r.length),(o=i._view).viewContainerParent=this._view,vv(r,l,o),function(n,e){var t=Rm(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,t){if(!(4&t.flags)){e.parent.def.nodeFlags|=4,t.flags|=4;for(var l=t.parent;l;)l.childFlags|=4,l=l.parent}}(0,e.parentNodeDef)}}(t,o),dm.dirtyParentQueries(o),hv(t,l>0?r[l-1]:null,o),i.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,r,i,a=this._embeddedViews.indexOf(n._view);return o=e,i=(r=(t=this._data).viewContainer._embeddedViews)[l=a],gv(r,l),null==o&&(o=r.length),vv(r,o,i),dm.dirtyParentQueries(i),mv(i),hv(t,o>0?r[o-1]:null,i),n},n.prototype.indexOf=function(n){return this._embeddedViews.indexOf(n._view)},n.prototype.remove=function(n){var e=fv(this._data,n);e&&dm.destroyView(e)},n.prototype.detach=function(n){var e=fv(this._data,n);return e?new Ev(e):null},n}();function kv(n){return new Ev(n)}var Ev=function(){function n(n){this._view=n,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return Vm(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(){km(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{dm.checkAndUpdateView(this._view)}finally{n.end&&n.end()}},n.prototype.checkNoChanges=function(){dm.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)),dm.destroyView(this._view)},n.prototype.detachFromAppRef=function(){this._appRef=null,mv(this._view),dm.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 Tv(n,e){return new Rv(n,e)}var Rv=function(n){function e(e,t){var l=n.call(this)||this;return l._parentView=e,l._def=t,l}return Object(l.__extends)(e,n),e.prototype.createEmbeddedView=function(n){return new Ev(dm.createEmbeddedView(this._parentView,this._def,this._def.element.template,n))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new hu(rm(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(vd);function Iv(n,e){return new Ov(n,e)}var Ov=function(){function n(n,e){this.view=n,this.elDef=e}return n.prototype.get=function(n,e){return void 0===e&&(e=ha.THROW_IF_NOT_FOUND),dm.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:n,tokenKey:vm(n)},e)},n}();function Fv(n,e){var t=n.def.nodes[e];if(1&t.flags){var l=rm(n,t.nodeIndex);return t.element.template?l.template:l.renderElement}if(2&t.flags)return om(n,t.nodeIndex).renderText;if(20240&t.flags)return im(n,t.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Dv(n){return new Mv(n.renderer)}var Mv=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.__read)(Wm(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.__read)(Wm(e),2),r=o[0],i=o[1];null!=t?this.delegate.setAttribute(n,i,t,r):this.delegate.removeAttribute(n,i,r)},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 Nv(n,e,t,l){return new Av(n,e,t,l)}var Av=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]=pv(n,o))}}(this)}return n.prototype.get=function(n,e,t){void 0===e&&(e=ha.THROW_IF_NOT_FOUND),void 0===t&&(t=Re.Default);var l=0;return t&Re.SkipSelf?l|=1:t&Re.Self&&(l|=4),cv(this,{token:n,tokenKey:vm(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(ou)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Y(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 r=n._providers[o];if(r&&r!==rv){var i=r.ngOnDestroy;"function"!=typeof i||l.has(r)||(i.apply(r),l.add(r))}}}(this),this._destroyListeners.forEach(function(n){return n()})},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},n}(),Pv=vm(yu),qv=vm(xu),jv=vm(hu),Lv=vm(ih),Vv=vm(vd),Bv=vm(sh),zv=vm(ha),Uv=vm(pa);function Hv(n,e,t,o,r,i,a,u){var s=[];if(a)for(var d in a){var c=Object(l.__read)(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 Gv(n,e|=16384,t,o,r,r,i,s,p)}function Zv(n,e,t){return Gv(-1,n|=16,null,0,e,e,t)}function Wv(n,e,t,l,o){return Gv(-1,n,e,0,t,l,o)}function Gv(n,e,t,l,o,r,i,a,u){var s=Am(t),d=s.matchedQueries,c=s.references,p=s.matchedQueryIds;u||(u=[]),a||(a=[]),r=Q(r);var f=Pm(i,Y(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:Gm(a),outputs:u,element:null,provider:{token:o,value:r,deps:f},text:null,query:null,ngContent:null}}function Kv(n,e){return Qv(n,e)}function Yv(n,e){for(var t=n;t.parent&&!Dm(t);)t=t.parent;return Jv(t.parent,Im(t),!0,e.provider.value,e.provider.deps)}function $v(n,e){var t=Jv(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],r=t[o.propName];if(!Wp(r))throw new Error("@Output "+o.propName+" not initialized in '"+t.constructor.name+"'.");var i=r.subscribe(Xv(n,e.parent.nodeIndex,o.eventName));n.disposables[e.outputIndex+l]=i.unsubscribe.bind(i)}return t}function Xv(n,e,t){return function(l){return Tm(n,e,t,l)}}function Qv(n,e){var t=(8192&e.flags)>0,o=e.provider;switch(201347067&e.flags){case 512:return Jv(n,e.parent,t,o.value,o.deps);case 1024:return function(n,e,t,o,r){var i=r.length;switch(i){case 0:return o();case 1:return o(eg(n,e,t,r[0]));case 2:return o(eg(n,e,t,r[0]),eg(n,e,t,r[1]));case 3:return o(eg(n,e,t,r[0]),eg(n,e,t,r[1]),eg(n,e,t,r[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=eg(n,e,t,r[u]);return o.apply(void 0,Object(l.__spread)(a))}}(n,e.parent,t,o.value,o.deps);case 2048:return eg(n,e.parent,t,o.deps[0]);case 256:return o.value}}function Jv(n,e,t,o,r){var i=r.length;switch(i){case 0:return new o;case 1:return new o(eg(n,e,t,r[0]));case 2:return new o(eg(n,e,t,r[0]),eg(n,e,t,r[1]));case 3:return new o(eg(n,e,t,r[0]),eg(n,e,t,r[1]),eg(n,e,t,r[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=eg(n,e,t,r[u]);return new(o.bind.apply(o,Object(l.__spread)([void 0],a)))}}var ng={};function eg(n,e,t,l,o){if(void 0===o&&(o=ha.THROW_IF_NOT_FOUND),8&l.flags)return l.token;var r=n;2&l.flags&&(o=null);var i=l.tokenKey;i===Bv&&(t=!(!e||!e.element.componentView)),e&&1&l.flags&&(t=!1,e=e.parent);for(var a=n;a;){if(e)switch(i){case Pv:return Dv(tg(a,e,t));case qv:return tg(a,e,t).renderer;case jv:return new hu(rm(a,e.nodeIndex).renderElement);case Lv:return rm(a,e.nodeIndex).viewContainer;case Vv:if(e.element.template)return rm(a,e.nodeIndex).template;break;case Bv:return kv(tg(a,e,t));case zv:case Uv:return Iv(a,e);default:var u=(t?e.element.allProviders:e.element.publicProviders)[i];if(u){var s=im(a,u.nodeIndex);return s||(s={instance:Qv(a,u)},a.nodes[u.nodeIndex]=s),s.instance}}t=Dm(a),e=Im(a),a=a.parent,4&l.flags&&(a=null)}var d=r.root.injector.get(l.token,ng);return d!==ng||o===ng?d:r.root.ngModule.injector.get(l.token,o)}function tg(n,e,t){var l;if(t)l=rm(n,e.nodeIndex).componentView;else for(l=n;l.parent&&!Dm(l);)l=l.parent;return l}function lg(n,e,t,l,o,r){if(32768&t.flags){var i=rm(n,t.parent.nodeIndex).componentView;2&i.def.flags&&(i.state|=8)}if(e.instance[t.bindings[l].name]=o,524288&t.flags){r=r||{};var a=sl.unwrap(n.oldValues[t.bindingIndex+l]);r[t.bindings[l].nonMinifiedName]=new dl(a,o,0!=(2&n.state))}return n.oldValues[t.bindingIndex+l]=o,r}function og(n,e){if(n.def.nodeFlags&e)for(var t=n.def.nodes,l=0,o=0;o<t.length;o++){var r=t[o],i=r.parent;for(!i&&r.flags&e&&ig(n,o,r.flags&e,l++),0==(r.childFlags&e)&&(o+=r.childCount);i&&1&i.flags&&o===i.nodeIndex+i.childCount;)i.directChildFlags&e&&(l=rg(n,i,e,l)),i=i.parent}}function rg(n,e,t,l){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var r=n.def.nodes[o];r.flags&t&&ig(n,o,r.flags&t,l++),o+=r.childCount}return l}function ig(n,e,t,l){var o=im(n,e);if(o){var r=o.instance;r&&(dm.setCurrentNode(n,e),1048576&t&&lm(n,512,l)&&r.ngAfterContentInit(),2097152&t&&r.ngAfterContentChecked(),4194304&t&&lm(n,768,l)&&r.ngAfterViewInit(),8388608&t&&r.ngAfterViewChecked(),131072&t&&r.ngOnDestroy())}}function ag(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:Nm(e),bindings:l},ngContent:null}}function ug(n){for(var e=n.def.nodeMatchedQueries;n.parent&&Mm(n);){var t=n.parentNodeDef;n=n.parent;for(var l=t.nodeIndex+t.childCount,o=0;o<=l;o++)67108864&(r=n.def.nodes[o]).flags&&536870912&r.flags&&(r.query.filterId&e)===r.query.filterId&&um(n,o).setDirty(),!(1&r.flags&&o+r.childCount<t.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(o+=r.childCount)}if(134217728&n.def.nodeFlags)for(o=0;o<n.def.nodes.length;o++){var r;134217728&(r=n.def.nodes[o]).flags&&536870912&r.flags&&um(n,o).setDirty(),o+=r.childCount}}function sg(n,e){var t=um(n,e.nodeIndex);if(t.dirty){var l,o=void 0;if(67108864&e.flags){var r=e.parent.parent;o=dg(n,r.nodeIndex,r.nodeIndex+r.childCount,e.query,[]),l=im(n,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=dg(n,0,n.def.nodes.length-1,e.query,[]),l=n.component);t.reset(o);for(var i=e.query.bindings,a=!1,u=0;u<i.length;u++){var s=i[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 dg(n,e,t,l,o){for(var r=e;r<=t;r++){var i=n.def.nodes[r],a=i.matchedQueries[l.id];if(null!=a&&o.push(cg(n,i,a)),1&i.flags&&i.element.template&&(i.element.template.nodeMatchedQueries&l.filterId)===l.filterId){var u=rm(n,r);if((i.childMatchedQueries&l.filterId)===l.filterId&&(dg(n,r+1,r+i.childCount,l,o),r+=i.childCount),16777216&i.flags)for(var s=u.viewContainer._embeddedViews,d=0;d<s.length;d++){var c=s[d],p=Rm(c);p&&p===u&&dg(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];dg(h,0,h.def.nodes.length-1,l,o)}}(i.childMatchedQueries&l.filterId)!==l.filterId&&(r+=i.childCount)}return o}function cg(n,e,t){if(null!=t)switch(t){case 1:return rm(n,e.nodeIndex).renderElement;case 0:return new hu(rm(n,e.nodeIndex).renderElement);case 2:return rm(n,e.nodeIndex).template;case 3:return rm(n,e.nodeIndex).viewContainer;case 4:return im(n,e.nodeIndex).instance}}function pg(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 fg(n,e,t){var l=qm(n,e,t);l&&zm(n,t.ngContent.index,1,l,null,void 0)}function hg(n,e){return gg(128,n,new Array(e+1))}function mg(n,e){return gg(32,n,new Array(e))}function vg(n,e){for(var t=Object.keys(e),l=t.length,o=new Array(l),r=0;r<l;r++){var i=t[r];o[e[i]]=i}return gg(64,n,o)}function gg(n,e,t){for(var l=new Array(t.length),o=0;o<t.length;o++){var r=t[o];l[o]={flags:8,name:r,ns:null,nonMinifiedName:r,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:Gm(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function bg(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 yg(n,e,t){var l,o=n.renderer;l=o.createText(t.text.prefix);var r=qm(n,e,t);return r&&o.appendChild(r,l),{renderText:l}}function _g(n,e){return(null!=n?n.toString():"")+e.suffix}function wg(n,e,t,l){for(var o=0,r=0,i=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=r,m.renderParent=d,i|=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(xg(s,m,e.length),o+=m.bindings.length,r+=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[vm(m.provider.token)]=m:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[vm(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,Cg(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)&&Cg(s)?s.renderParent:s}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:u,flags:n,nodes:e,updateDirectives:t||hm,updateRenderer:l||hm,handleEvent:function(n,t,l,o){return e[t].element.handleEvent(n,l,o)},bindingCount:o,outputCount:r,lastRenderRootNode:f}}function Cg(n){return 0!=(1&n.flags)&&null===n.element.name}function xg(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 Sg(n,e,t,l){var o=Tg(n.root,n.renderer,n,e,t);return Rg(o,n.component,l),Ig(o),o}function kg(n,e,t){var l=Tg(n,n.renderer,null,null,e);return Rg(l,t,t),Ig(l),l}function Eg(n,e,t,l){var o,r=e.element.componentRendererType;return o=r?n.root.rendererFactory.createRenderer(l,r):n.root.renderer,Tg(n.root,o,n,e.element.componentProvider,t)}function Tg(n,e,t,l,o){var r=new Array(o.nodes.length),i=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:t,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:r,state:13,root:n,renderer:e,oldValues:new Array(o.bindingCount),disposables:i,initIndex:-1}}function Rg(n,e,t){n.component=e,n.context=t}function Ig(n){var e;Dm(n)&&(e=rm(n.parent,n.parentNodeDef.parent.nodeIndex).renderElement);for(var t=n.def,l=n.nodes,o=0;o<t.nodes.length;o++){var r=t.nodes[o];dm.setCurrentNode(n,o);var i=void 0;switch(201347067&r.flags){case 1:var a=ev(n,e,r),u=void 0;if(33554432&r.flags){var s=Lm(r.element.componentView);u=dm.createComponentView(n,r,s,a)}tv(n,u,r,a),i={renderElement:a,componentView:u,viewContainer:null,template:r.element.template?Tv(n,r):void 0},16777216&r.flags&&(i.viewContainer=xv(n,r,i));break;case 2:i=yg(n,e,r);break;case 512:case 1024:case 2048:case 256:(i=l[o])||4096&r.flags||(i={instance:Kv(n,r)});break;case 16:i={instance:Yv(n,r)};break;case 16384:(i=l[o])||(i={instance:$v(n,r)}),32768&r.flags&&Rg(rm(n,r.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new eh;break;case 8:fg(n,e,r),i=void 0}l[o]=i}jg(n,qg.CreateViewNodes),zg(n,201326592,268435456,0)}function Og(n){Mg(n),dm.updateDirectives(n,1),Lg(n,qg.CheckNoChanges),dm.updateRenderer(n,1),jg(n,qg.CheckNoChanges),n.state&=-97}function Fg(n){1&n.state?(n.state&=-2,n.state|=2):n.state&=-3,tm(n,0,256),Mg(n),dm.updateDirectives(n,0),Lg(n,qg.CheckAndUpdate),zg(n,67108864,536870912,0);var e=tm(n,256,512);og(n,2097152|(e?1048576:0)),dm.updateRenderer(n,0),jg(n,qg.CheckAndUpdate),zg(n,134217728,536870912,0),og(n,8388608|((e=tm(n,512,768))?4194304:0)),2&n.def.flags&&(n.state&=-9),n.state&=-97,tm(n,768,1024)}function Dg(n,e,t,o,r,i,a,u,s,d,c,p,f){return 0===t?function(n,e,t,l,o,r,i,a,u,s,d,c){switch(201347067&e.flags){case 1:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings.length,f=!1;return p>0&&ov(n,e,0,t)&&(f=!0),p>1&&ov(n,e,1,l)&&(f=!0),p>2&&ov(n,e,2,o)&&(f=!0),p>3&&ov(n,e,3,r)&&(f=!0),p>4&&ov(n,e,4,i)&&(f=!0),p>5&&ov(n,e,5,a)&&(f=!0),p>6&&ov(n,e,6,u)&&(f=!0),p>7&&ov(n,e,7,s)&&(f=!0),p>8&&ov(n,e,8,d)&&(f=!0),p>9&&ov(n,e,9,c)&&(f=!0),f}(n,e,t,l,o,r,i,a,u,s,d,c);case 2:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=!1,f=e.bindings,h=f.length;if(h>0&&xm(n,e,0,t)&&(p=!0),h>1&&xm(n,e,1,l)&&(p=!0),h>2&&xm(n,e,2,o)&&(p=!0),h>3&&xm(n,e,3,r)&&(p=!0),h>4&&xm(n,e,4,i)&&(p=!0),h>5&&xm(n,e,5,a)&&(p=!0),h>6&&xm(n,e,6,u)&&(p=!0),h>7&&xm(n,e,7,s)&&(p=!0),h>8&&xm(n,e,8,d)&&(p=!0),h>9&&xm(n,e,9,c)&&(p=!0),p){var m=e.text.prefix;h>0&&(m+=_g(t,f[0])),h>1&&(m+=_g(l,f[1])),h>2&&(m+=_g(o,f[2])),h>3&&(m+=_g(r,f[3])),h>4&&(m+=_g(i,f[4])),h>5&&(m+=_g(a,f[5])),h>6&&(m+=_g(u,f[6])),h>7&&(m+=_g(s,f[7])),h>8&&(m+=_g(d,f[8])),h>9&&(m+=_g(c,f[9]));var v=om(n,e.nodeIndex).renderText;n.renderer.setValue(v,m)}return p}(n,e,t,l,o,r,i,a,u,s,d,c);case 16384:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=im(n,e.nodeIndex),f=p.instance,h=!1,m=void 0,v=e.bindings.length;return v>0&&Cm(n,e,0,t)&&(h=!0,m=lg(n,p,e,0,t,m)),v>1&&Cm(n,e,1,l)&&(h=!0,m=lg(n,p,e,1,l,m)),v>2&&Cm(n,e,2,o)&&(h=!0,m=lg(n,p,e,2,o,m)),v>3&&Cm(n,e,3,r)&&(h=!0,m=lg(n,p,e,3,r,m)),v>4&&Cm(n,e,4,i)&&(h=!0,m=lg(n,p,e,4,i,m)),v>5&&Cm(n,e,5,a)&&(h=!0,m=lg(n,p,e,5,a,m)),v>6&&Cm(n,e,6,u)&&(h=!0,m=lg(n,p,e,6,u,m)),v>7&&Cm(n,e,7,s)&&(h=!0,m=lg(n,p,e,7,s,m)),v>8&&Cm(n,e,8,d)&&(h=!0,m=lg(n,p,e,8,d,m)),v>9&&Cm(n,e,9,c)&&(h=!0,m=lg(n,p,e,9,c,m)),m&&f.ngOnChanges(m),65536&e.flags&&lm(n,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),h}(n,e,t,l,o,r,i,a,u,s,d,c);case 32:case 64:case 128:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings,f=!1,h=p.length;if(h>0&&xm(n,e,0,t)&&(f=!0),h>1&&xm(n,e,1,l)&&(f=!0),h>2&&xm(n,e,2,o)&&(f=!0),h>3&&xm(n,e,3,r)&&(f=!0),h>4&&xm(n,e,4,i)&&(f=!0),h>5&&xm(n,e,5,a)&&(f=!0),h>6&&xm(n,e,6,u)&&(f=!0),h>7&&xm(n,e,7,s)&&(f=!0),h>8&&xm(n,e,8,d)&&(f=!0),h>9&&xm(n,e,9,c)&&(f=!0),f){var m=am(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]=r),h>4&&(v[4]=i),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]=r),h>4&&(v[p[4].name]=i),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,r);break;case 5:v=g.transform(l,o,r,i);break;case 6:v=g.transform(l,o,r,i,a);break;case 7:v=g.transform(l,o,r,i,a,u);break;case 8:v=g.transform(l,o,r,i,a,u,s);break;case 9:v=g.transform(l,o,r,i,a,u,s,d);break;case 10:v=g.transform(l,o,r,i,a,u,s,d,c)}}m.value=v}return f}(n,e,t,l,o,r,i,a,u,s,d,c);default:throw"unreachable"}}(n,e,o,r,i,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++)ov(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,r=0;r<t.length;r++)xm(n,e,r,t[r])&&(o=!0);if(o){var i="";for(r=0;r<t.length;r++)i+=_g(t[r],l[r]);i=e.text.prefix+i;var a=om(n,e.nodeIndex).renderText;n.renderer.setValue(a,i)}return o}(n,e,t);case 16384:return function(n,e,t){for(var l=im(n,e.nodeIndex),o=l.instance,r=!1,i=void 0,a=0;a<t.length;a++)Cm(n,e,a,t[a])&&(r=!0,i=lg(n,l,e,a,t[a],i));return i&&o.ngOnChanges(i),65536&e.flags&&lm(n,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),r}(n,e,t);case 32:case 64:case 128:return function(n,e,t){for(var o=e.bindings,r=!1,i=0;i<t.length;i++)xm(n,e,i,t[i])&&(r=!0);if(r){var a=am(n,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=t;break;case 64:for(u={},i=0;i<t.length;i++)u[o[i].name]=t[i];break;case 128:var s=t[0],d=t.slice(1);u=s.transform.apply(s,Object(l.__spread)(d))}a.value=u}return r}(n,e,t);default:throw"unreachable"}}(n,e,o)}function Mg(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=rm(n,t).template._projectedViews;if(o)for(var r=0;r<o.length;r++){var i=o[r];i.state|=32,Em(i,n)}}else 0==(4&l.childFlags)&&(t+=l.childCount)}}function Ng(n,e,t,l,o,r,i,a,u,s,d,c,p){return 0===t?function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings.length;p>0&&Sm(n,e,0,t),p>1&&Sm(n,e,1,l),p>2&&Sm(n,e,2,o),p>3&&Sm(n,e,3,r),p>4&&Sm(n,e,4,i),p>5&&Sm(n,e,5,a),p>6&&Sm(n,e,6,u),p>7&&Sm(n,e,7,s),p>8&&Sm(n,e,8,d),p>9&&Sm(n,e,9,c)}(n,e,l,o,r,i,a,u,s,d,c,p):function(n,e,t){for(var l=0;l<t.length;l++)Sm(n,e,l,t[l])}(n,e,l),!1}function Ag(n,e){if(um(n,e.nodeIndex).dirty)throw cm(dm.createDebugContext(n,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&n.state))}function Pg(n){if(!(128&n.state)){if(Lg(n,qg.Destroy),jg(n,qg.Destroy),og(n,131072),n.disposables)for(var e=0;e<n.disposables.length;e++)n.disposables[e]();!function(n){if(16&n.state){var e=Rm(n);if(e){var t=e.template._projectedViews;t&&(gv(t,t.indexOf(n)),dm.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(rm(n,t).renderElement):2&l.flags?n.renderer.destroyNode(om(n,t).renderText):(67108864&l.flags||134217728&l.flags)&&um(n,t).destroy()}}(n),Dm(n)&&n.renderer.destroy(),n.state|=128}}var qg=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 jg(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?Vg(rm(n,l).componentView,e):0==(33554432&o.childFlags)&&(l+=o.childCount)}}function Lg(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 r=rm(n,l).viewContainer._embeddedViews,i=0;i<r.length;i++)Vg(r[i],e);else 0==(16777216&o.childFlags)&&(l+=o.childCount)}}function Vg(n,e){var t=n.state;switch(e){case qg.CheckNoChanges:0==(128&t)&&(12==(12&t)?Og(n):64&t&&Bg(n,qg.CheckNoChangesProjectedViews));break;case qg.CheckNoChangesProjectedViews:0==(128&t)&&(32&t?Og(n):64&t&&Bg(n,e));break;case qg.CheckAndUpdate:0==(128&t)&&(12==(12&t)?Fg(n):64&t&&Bg(n,qg.CheckAndUpdateProjectedViews));break;case qg.CheckAndUpdateProjectedViews:0==(128&t)&&(32&t?Fg(n):64&t&&Bg(n,e));break;case qg.Destroy:Pg(n);break;case qg.CreateViewNodes:Ig(n)}}function Bg(n,e){Lg(n,e),jg(n,e)}function zg(n,e,t,l){if(n.def.nodeFlags&e&&n.def.nodeFlags&t)for(var o=n.def.nodes.length,r=0;r<o;r++){var i=n.def.nodes[r];if(i.flags&e&&i.flags&t)switch(dm.setCurrentNode(n,i.nodeIndex),l){case 0:sg(n,i);break;case 1:Ag(n,i)}i.childFlags&e&&i.childFlags&t||(r+=i.childCount)}}var Ug=!1;function Hg(){if(!Ug){Ug=!0;var n=Lu()?{setCurrentNode:fb,createRootView:Wg,createEmbeddedView:Kg,createComponentView:Yg,createNgModuleRef:$g,overrideProvider:nb,overrideComponentView:eb,clearOverrides:tb,checkAndUpdateView:ib,checkNoChangesView:ab,destroyView:ub,createDebugContext:function(n,e){return new wb(n,e)},handleEvent:hb,updateDirectives:mb,updateRenderer:vb}:{setCurrentNode:function(){},createRootView:Zg,createEmbeddedView:Sg,createComponentView:Eg,createNgModuleRef:Nv,overrideProvider:hm,overrideComponentView:hm,clearOverrides:hm,checkAndUpdateView:Fg,checkNoChangesView:Og,destroyView:Pg,createDebugContext:function(n,e){return new wb(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?ob:rb,n)},updateRenderer:function(n,e){return n.def.updateRenderer(0===e?ob:rb,n)}};dm.setCurrentNode=n.setCurrentNode,dm.createRootView=n.createRootView,dm.createEmbeddedView=n.createEmbeddedView,dm.createComponentView=n.createComponentView,dm.createNgModuleRef=n.createNgModuleRef,dm.overrideProvider=n.overrideProvider,dm.overrideComponentView=n.overrideComponentView,dm.clearOverrides=n.clearOverrides,dm.checkAndUpdateView=n.checkAndUpdateView,dm.checkNoChangesView=n.checkNoChangesView,dm.destroyView=n.destroyView,dm.resolveDep=eg,dm.createDebugContext=n.createDebugContext,dm.handleEvent=n.handleEvent,dm.updateDirectives=n.updateDirectives,dm.updateRenderer=n.updateRenderer,dm.dirtyParentQueries=ug}}function Zg(n,e,t,l,o,r){var i=o.injector.get(wu);return kg(Gg(n,o,i,e,t),l,r)}function Wg(n,e,t,l,o,r){var i=o.injector.get(wu),a=Gg(n,o,new kb(i),e,t),u=lb(l);return xb(pb.create,kg,null,[a,u,r])}function Gg(n,e,t,l,o){var r=e.injector.get(Tu),i=e.injector.get(Sp),a=t.createRenderer(null,null);return{ngModule:e,injector:n,projectableNodes:l,selectorOrNode:o,sanitizer:r,rendererFactory:t,renderer:a,errorHandler:i}}function Kg(n,e,t,l){var o=lb(t);return xb(pb.create,Sg,null,[n,e,o,l])}function Yg(n,e,t,l){return t=Jg.get(e.element.componentProvider.provider.token)||lb(t),xb(pb.create,Eg,null,[n,e,t,l])}function $g(n,e,t,l){return Nv(n,e,t,function(n){var e=function(n){var e=!1,t=!1;return 0===Xg.size?{hasOverrides:e,hasDeprecatedOverrides:t}:(n.providers.forEach(function(n){var l=Xg.get(n.token);3840&n.flags&&l&&(e=!0,t=t||l.deprecatedBehavior)}),n.modules.forEach(function(n){Qg.forEach(function(l,o){w(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=Xg.get(l.token);o&&(l.flags=-3841&l.flags|o.flags,l.deps=Pm(o.deps),l.value=o.value)}if(Qg.size>0){var r=new Set(n.modules);Qg.forEach(function(e,l){if(r.has(w(l).providedIn)){var o={token:l,flags:e.flags|(t?4096:0),deps:Pm(e.deps),value:e.value,index:n.providers.length};n.providers.push(o),n.providersByKey[vm(l)]=o}})}}(n=n.factory(function(){return hm})),n):n}(l))}var Xg=new Map,Qg=new Map,Jg=new Map;function nb(n){var e;Xg.set(n.token,n),"function"==typeof n.token&&(e=w(n.token))&&"function"==typeof e.providedIn&&Qg.set(n.token,n)}function eb(n,e){var t=Lm(_v(e)),l=Lm(t.nodes[0].element.componentView);Jg.set(n,l)}function tb(){Xg.clear(),Qg.clear(),Jg.clear()}function lb(n){if(0===Xg.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&&Xg.has(o.provider.token)&&(e.push(t.nodeIndex),t=null)}return e}(n);if(0===e.length)return n;n=n.factory(function(){return hm});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,r=Xg.get(o.token);r&&(l.flags=-3841&l.flags|r.flags,o.deps=Pm(r.deps),o.value=r.value)}}}}function ob(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=n.def.nodes[e];return Dg(n,f,t,l,o,r,i,a,u,s,d,c,p),224&f.flags?am(n,e).value:void 0}function rb(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=n.def.nodes[e];return Ng(n,f,t,l,o,r,i,a,u,s,d,c,p),224&f.flags?am(n,e).value:void 0}function ib(n){return xb(pb.detectChanges,Fg,null,[n])}function ab(n){return xb(pb.checkNoChanges,Og,null,[n])}function ub(n){return xb(pb.destroy,Pg,null,[n])}var sb,db,cb,pb=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 fb(n,e){db=n,cb=e}function hb(n,e,t,l){return fb(n,e),xb(pb.handleEvent,n.def.handleEvent,null,[n,e,t,l])}function mb(n,e){if(128&n.state)throw fm(pb[sb]);return fb(n,yb(n,0)),n.def.updateDirectives(function(n,t,l){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];var i=n.def.nodes[t];return 0===e?gb(n,i,l,o):bb(n,i,l,o),16384&i.flags&&fb(n,yb(n,t)),224&i.flags?am(n,i.nodeIndex).value:void 0},n)}function vb(n,e){if(128&n.state)throw fm(pb[sb]);return fb(n,_b(n,0)),n.def.updateRenderer(function(n,t,l){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];var i=n.def.nodes[t];return 0===e?gb(n,i,l,o):bb(n,i,l,o),3&i.flags&&fb(n,_b(n,t)),224&i.flags?am(n,i.nodeIndex).value:void 0},n)}function gb(n,e,t,o){if(Dg.apply(void 0,Object(l.__spread)([n,e,t],o))){var r=1===t?o[0]:o;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=r[a];8&u.flags&&(i[(f=u.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(il,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return"-"+n[1].toLowerCase()}))]=al(s))}var d=e.parent,c=rm(n,d.nodeIndex).renderElement;if(d.element.name)for(var p in i)null!=(s=i[p])?n.renderer.setAttribute(c,p,s):n.renderer.removeAttribute(c,p);else n.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}var f}function bb(n,e,t,o){Ng.apply(void 0,Object(l.__spread)([n,e,t],o))}function yb(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 _b(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 wb=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=Im(l),l=l.parent;this.elDef=t,this.elView=l}return Object.defineProperty(n.prototype,"elOrCompView",{get:function(){return rm(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return Iv(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){Cb(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&&Cb(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&&!Dm(n);)n=n.parent;return n.parent?rm(n.parent,Im(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?Om(this.view,this.nodeDef):Om(this.elView,this.elDef)},enumerable:!0,configurable:!0}),n.prototype.logError=function(n){for(var e,t,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];2&this.nodeDef.flags?(e=this.view.def,t=this.nodeDef.nodeIndex):(e=this.elView.def,t=this.elDef.nodeIndex);var i=function(n,e){for(var t=-1,l=0;l<=e;l++)3&n.nodes[l].flags&&t++;return t}(e,t),a=-1;e.factory(function(){var e;return++a===i?(e=n.error).bind.apply(e,Object(l.__spread)([n],o)):hm}),a<i&&(n.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),n.error.apply(n,Object(l.__spread)(o)))},n}();function Cb(n,e,t){for(var l in e.references)t[l]=cg(n,e,e.references[l])}function xb(n,e,t,l){var o=sb,r=db,i=cb;try{sb=n;var a=e.apply(t,l);return db=r,cb=i,sb=o,a}catch(u){if(wp(u)||!db)throw u;throw function(n,e){return n instanceof Error||(n=new Error(n.toString())),pm(n,e),n}(u,Sb())}}function Sb(){return db?new wb(db,cb):null}var kb=function(){function n(n){this.delegate=n}return n.prototype.createRenderer=function(n,e){return new Eb(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}(),Eb=function(){function n(n){this.delegate=n,this.debugContextFactory=Sb,this.data=this.delegate.data}return n.prototype.createDebugContext=function(n){return this.debugContextFactory(n)},n.prototype.destroyNode=function(n){!function(n){xh.delete(n.nativeNode)}(kh(n)),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 vh(t,null,l);o.name=n,Eh(o)}return t},n.prototype.createComment=function(n){var e=this.delegate.createComment(n),t=this.createDebugContext(e);return t&&Eh(new mh(e,null,t)),e},n.prototype.createText=function(n){var e=this.delegate.createText(n),t=this.createDebugContext(e);return t&&Eh(new mh(e,null,t)),e},n.prototype.appendChild=function(n,e){var t=kh(n),l=kh(e);t&&l&&t instanceof vh&&t.addChild(l),this.delegate.appendChild(n,e)},n.prototype.insertBefore=function(n,e,t){var l=kh(n),o=kh(e),r=kh(t);l&&o&&l instanceof vh&&l.insertBefore(r,o),this.delegate.insertBefore(n,e,t)},n.prototype.removeChild=function(n,e){var t=kh(n),l=kh(e);t&&l&&t instanceof vh&&t.removeChild(l),this.delegate.removeChild(n,e)},n.prototype.selectRootElement=function(n,e){var t=this.delegate.selectRootElement(n,e),l=Sb();return l&&Eh(new vh(t,null,l)),t},n.prototype.setAttribute=function(n,e,t,l){var o=kh(n);o&&o instanceof vh&&(o.attributes[l?l+":"+e:e]=t),this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){var l=kh(n);l&&l instanceof vh&&(l.attributes[t?t+":"+e:e]=null),this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){var t=kh(n);t&&t instanceof vh&&(t.classes[e]=!0),this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){var t=kh(n);t&&t instanceof vh&&(t.classes[e]=!1),this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){var o=kh(n);o&&o instanceof vh&&(o.styles[e]=t),this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){var l=kh(n);l&&l instanceof vh&&(l.styles[e]=null),this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){var l=kh(n);l&&l instanceof vh&&(l.properties[e]=t),this.delegate.setProperty(n,e,t)},n.prototype.listen=function(n,e,t){if("string"!=typeof n){var l=kh(n);l&&l.listeners.push(new hh(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 Tb(n){return Hg(),dm.overrideProvider(n)}function Rb(n,e){return Hg(),dm.overrideComponentView(n,e)}function Ib(){return Hg(),dm.clearOverrides()}function Ob(n,e,t){return new Fb(n,e,t)}var Fb=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.__extends)(e,n),e.prototype.create=function(n){Hg();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}}(Lm(this._ngModuleDefFactory));return dm.createNgModuleRef(this.moduleType,n||ha.NULL,this._bootstrapComponents,e)},e}(uu)},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){"use strict";var l=t("XDwu"),o=t("2KT4");function r(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,i,a){var u=l("SyntaxMatchError",n),s=function(n){for(var e=n.tokens,t=n.longestMatch,l=t<e.length?e[t].node:null,o=0,r=0,i="",a=0;a<e.length;a++)a===t&&(o=i.length),null!==l&&e[a].node===l&&(a<=t?r++:r=0),i+=e[a].value;return null===l&&(o=i.length),{node:l,css:i,mismatchOffset:o,last:null===l||r>1}}(a),d=s.mismatchOffset||0,c=s.node||i,p=r(c,"end"),f=s.last?p:r(c,"start"),h=s.css;return u.rawMessage=n,u.syntax=t?o(t):"<generic>",u.css=h,u.mismatchOffset=d,u.loc={source:c&&c.loc&&c.loc.source||"<unknown>",start:f,end:p},u.line=f?f.line:void 0,u.column=f?f.column:void 0,u.offset=f?f.offset:void 0,u.message=n+"\n syntax: "+u.syntax+"\n value: "+(u.css||"<empty string>")+"\n --------"+new Array(u.mismatchOffset+1).join("-")+"^",u}}},DDB3:function(n,e,t){var l=t("vd7W").TYPE,o=l.Identifier,r=l.Function,i=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.scanner.eat(i),this.scanner.eat(i),this.scanner.tokenType===r?(e=(n=this.scanner.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.currentToken,0,0,!1,!1)),this.scanner.eat(a)):n=this.scanner.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=l.WhiteSpace,r=l.Comment,i=l.Semicolon,a=l.AtKeyword,u=l.LeftCurlyBracket,s=l.RightCurlyBracket;function d(n){return this.Raw(n,0,0,!1,!0)}function c(){return this.parseWithFallback(this.Rule,d)}function p(n){return this.Raw(n,0,i,!0,!0)}function f(){if(this.scanner.tokenType===i)return p.call(this,this.scanner.currentToken);var n=this.parseWithFallback(this.Declaration,p);return this.scanner.tokenType===i&&this.scanner.next(),n}n.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(n){var e=n?f:c,t=this.scanner.tokenStart,l=this.createList();this.scanner.eat(u);n:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case s:break n;case o:case r:this.scanner.next();break;case a:l.push(this.parseWithFallback(this.Atrule,d));break;default:l.push(e.call(this))}return this.scanner.eof||this.scanner.eat(s),{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 r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=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.__extends(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 i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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(r.a)(l,t)),l}return l.__extends(e,n),e.prototype._next=function(n){this.buffer.push(n)},e.prototype.notifyNext=function(n,e,t,l,o){var r=this.buffer;this.buffer=[],this.destination.next(r)},e}(o.a)},DtyJ:function(n,e,t){"use strict";t.r(e);var l=t("6blF"),o=t("KhEm"),r=t("IxPp"),i=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("mrSG"),v=t("h9Dq"),g=function(n){function e(e,t){void 0===e&&(e=b),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 m.__extends(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),b=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 m.__extends(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}(v.a),y=t("siIJ"),_=t("pugT"),w=t("FFOo"),C=t("60iU"),x=t("y3By"),S=t("+umK"),k=t("mChF"),E=t("zrt+"),T=t("b7mW"),R=t("3fWJ"),I=t("8g8A"),O=t("awvh"),F=t("3U0i"),D=t("pbg4"),M=t("emHa"),N=t("dzgT"),A=t("dEwP"),P=t("lYZG"),q=t("G5J1"),j=t("VNr4"),L=t("0/uQ"),V=t("bne5"),B=t("kERW"),z=t("GFlT"),U=t("mEZQ"),H=t("xXU7"),Z=t("p0ib"),W=t("GDxn"),G=t("F/XL"),K=t("ELzr"),Y=t("EWOM"),$=t("jFaF"),X=t("Fxb1"),Q=t("VnD/");function J(n,e,t){return[Object(Q.a)(e,t)(new l.a(Object(X.a)(n))),Object(Q.a)(Object($.a)(e,t))(new l.a(Object(X.a)(n)))]}var nn=t("W0Ae"),en=t("vAyL"),tn=t("XlPw"),ln=t("gI3B"),on=t("7Qw6"),rn=t("909l"),an=t("i4X3"),un=t("iLxQ");t.d(e,"Observable",function(){return l.a}),t.d(e,"ConnectableObservable",function(){return o.a}),t.d(e,"GroupedObservable",function(){return r.a}),t.d(e,"observable",function(){return i.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 g}),t.d(e,"VirtualAction",function(){return b}),t.d(e,"Scheduler",function(){return y.a}),t.d(e,"Subscription",function(){return _.a}),t.d(e,"Subscriber",function(){return w.a}),t.d(e,"Notification",function(){return C.a}),t.d(e,"NotificationKind",function(){return C.b}),t.d(e,"pipe",function(){return x.a}),t.d(e,"noop",function(){return S.a}),t.d(e,"identity",function(){return k.a}),t.d(e,"isObservable",function(){return E.a}),t.d(e,"ArgumentOutOfRangeError",function(){return T.a}),t.d(e,"EmptyError",function(){return R.a}),t.d(e,"ObjectUnsubscribedError",function(){return I.a}),t.d(e,"UnsubscriptionError",function(){return O.a}),t.d(e,"TimeoutError",function(){return F.a}),t.d(e,"bindCallback",function(){return D.a}),t.d(e,"bindNodeCallback",function(){return M.a}),t.d(e,"combineLatest",function(){return N.b}),t.d(e,"concat",function(){return A.a}),t.d(e,"defer",function(){return P.a}),t.d(e,"empty",function(){return q.b}),t.d(e,"forkJoin",function(){return j.a}),t.d(e,"from",function(){return L.a}),t.d(e,"fromEvent",function(){return V.a}),t.d(e,"fromEventPattern",function(){return B.a}),t.d(e,"generate",function(){return z.a}),t.d(e,"iif",function(){return U.a}),t.d(e,"interval",function(){return H.a}),t.d(e,"merge",function(){return Z.a}),t.d(e,"never",function(){return W.b}),t.d(e,"of",function(){return G.a}),t.d(e,"onErrorResumeNext",function(){return K.a}),t.d(e,"pairs",function(){return Y.a}),t.d(e,"partition",function(){return J}),t.d(e,"race",function(){return nn.a}),t.d(e,"range",function(){return en.a}),t.d(e,"throwError",function(){return tn.a}),t.d(e,"timer",function(){return ln.a}),t.d(e,"using",function(){return on.a}),t.d(e,"zip",function(){return rn.b}),t.d(e,"scheduled",function(){return an.a}),t.d(e,"EMPTY",function(){return q.a}),t.d(e,"NEVER",function(){return W.a}),t.d(e,"config",function(){return un.a})},ELzr:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("0/uQ"),r=t("isby"),i=t("G5J1");function a(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(0===n.length)return i.a;var t=n[0],u=n.slice(1);return 1===n.length&&Object(r.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 r});var l=t("6blF"),o=t("pugT");function r(n,e){return new l.a(e?function(t){var l=Object.keys(n),r=new o.a;return r.add(e.schedule(i,0,{keys:l,index:0,subscriber:t,subscription:r,obj:n})),r}: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 i(n){var e=n.keys,t=n.index,l=n.subscriber,o=n.subscription,r=n.obj;if(!l.closed)if(t<e.length){var i=e[t];l.next([i,r[i]]),o.add(this.schedule({keys:e,index:t+1,subscriber:l,subscription:o,obj:r}))}else l.complete()}},EaiB:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=l.Comment,i=l.Identifier,a=l.Function,u=l.LeftParenthesis,s=l.HyphenMinus,d=l.Colon;function c(){return this.createSingleNodeList(this.Raw(this.scanner.currentToken,0,0,!1,!1))}function p(){var n=0;return this.scanner.skipSC(),this.scanner.tokenType===i?n=1:this.scanner.tokenType===s&&this.scanner.lookupType(1)===i&&(n=2),0!==n&&this.scanner.lookupNonWSType(n)===d?this.createSingleNodeList(this.Declaration()):f.call(this)}function f(){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 r:this.scanner.next();continue;case a:n=this.Function(c,this.scope.AtrulePrelude);break;case i:n=this.Identifier();break;case u:n=this.Parentheses(p,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=f.call(this);return null===this.getFirstListNode(n)&&this.scanner.error("Condition is expected"),n},block:function(){return this.Block(!1)}}}},EcEN:function(n,e,t){var l=t("xDdU"),o=t("xk4V"),r=o;r.v1=l,r.v4=o,n.exports=r},EiPP:function(n,e,t){var l=t("VvfH"),o=t("vd7W"),r=t("mK1g"),i=t("21UA"),a=t("u5kB"),u=t("jpu9"),s=t("QtvL"),d=t("4HHr"),c=t("bgAe"),p=t("t1UP"),f=t("8XFM");function h(n,e){for(var t in e)n[t]=e[t];return n}e.create=function(n){return function n(e){var t=a(e),m=d(e),v=u(e),g=s(m),b={List:l,Tokenizer:o,Lexer:r,vendorPrefix:p.vendorPrefix,keyword:p.keyword,property:p.property,isCustomProperty:p.isCustomProperty,grammar:i,lexer:null,createLexer:function(n){return new r(n,b,b.lexer.structure)},parse:t,walk:m,generate:v,clone:c,fromPlainObject:g.fromPlainObject,toPlainObject:g.toPlainObject,createSyntax:function(e){return n(f({},e))},fork:function(t){var l=f({},e);return n("function"==typeof t?t(l,h):f(l,t))}};return b.lexer=new r({generic:!0,types:e.types,properties:e.properties,node:e.node},b),b}(f({},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 i});var l=t("nkY7"),o=t("IUTb"),r=t("JF+6");function i(){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(r.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").isNumber,o=t("vd7W").TYPE,r=o.Number,i=o.Solidus,a=o.FullStop;function u(n){for(var e=n.consumeNonWS(r),t=0;t<e.length;t++){var o=e.charCodeAt(t);l(o)||o===a||n.error("Unsigned number is expected",n.tokenStart-e.length+t)}return 0===Number(e)&&n.error("Zero number is not allowed",n.tokenStart-e.length),e}n.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var n,e=this.scanner.tokenStart,t=u(this.scanner);return this.scanner.eatNonWS(i),n=u(this.scanner),{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,r=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!==r&&this.scanner.tokenType!==o&&this.scanner.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"),r=t("6ahw"),i=t("pugT"),a=t("L/V9"),u=t("iLxQ"),s=t("DKTb"),d=function(n){function e(t,l,o){var i=n.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=r.a;break;case 1:if(!t){i.destination=r.a;break}if("object"==typeof t){t instanceof e?(i.syncErrorThrowable=t.syncErrorThrowable,i.destination=t,t.add(i)):(i.syncErrorThrowable=!0,i.destination=new c(i,t));break}default:i.syncErrorThrowable=!0,i.destination=new c(i,t,l,o)}return i}return l.__extends(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}(i.a),c=function(n){function e(e,t,l,i){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,i=t.complete,t!==r.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=i,u}return l.__extends(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 r=l[n[o]];if(void 0===r)return;l=r}return l}}(n,t))(e)}}},Fxb1:function(n,e,t){"use strict";var l=t("+tJ4"),o=t("DKTb"),r=t("En8+"),i=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[i.a])return d=n,function(n){var e=d[i.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[r.a])return e=n,function(n){for(var t=e[r.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.")}},G5J1:function(n,e,t){"use strict";t.d(e,"a",function(){return o}),t.d(e,"b",function(){return r});var l=t("6blF"),o=new l.a(function(n){return n.complete()});function r(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=l.AtKeyword,r=l.Semicolon,i=l.LeftCurlyBracket,a=l.RightCurlyBracket;function u(n){return this.Raw(n,r,i,!1,!0)}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,s=null;switch(this.scanner.eat(o),e=(n=this.scanner.substrToCursor(t+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==i&&this.scanner.tokenType!==r&&(this.parseAtrulePrelude?"AtrulePrelude"===(l=this.parseWithFallback(this.AtrulePrelude.bind(this,n),u)).type&&null===l.children.head&&(l=null):l=u.call(this,this.scanner.currentToken),this.scanner.skipSC()),this.scanner.tokenType){case r:this.scanner.next();break;case i:s=this.atrule.hasOwnProperty(e)&&"function"==typeof this.atrule[e].block?this.atrule[e].block.call(this):this.Block((function(){for(var n,e=1;n=this.scanner.lookupType(e);e++){if(n===a)return!0;if(n===i||n===o)return!1}return!1}).call(this))}return{type:"Atrule",loc:this.getLocation(t,this.scanner.tokenStart),name:n,prelude:l,block:s}},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 r}),t.d(e,"b",function(){return i});var l=t("6blF"),o=t("+umK"),r=new l.a(o.a);function i(){return r}},GFlT:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("mChF"),r=t("nkY7");function i(n,e,t,i,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===i||Object(r.a)(i)?(d=n,s=o.a,u=i):(d=n,s=i),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(i){return void n.error(i)}if(!o){n.complete();break}}var r=void 0;try{r=s(l)}catch(i){return void n.error(i)}if(n.next(r),n.closed)break;try{l=t(l)}catch(i){return void n.error(i)}}})}function a(n){var e=n.subscriber,t=n.condition;if(!e.closed){if(n.needIterate)try{n.state=n.iterate(n.state)}catch(r){return void e.error(r)}else n.needIterate=!0;if(t){var l=void 0;try{l=t(n.state)}catch(r){return void e.error(r)}if(!l)return void e.complete();if(e.closed)return}var o;try{o=n.resultSelector(n.state)}catch(r){return void e.error(r)}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 i});var l=t("mrSG"),o=t("FFOo"),r=t("T1DM");function i(n,e){return void 0===e&&(e=r.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.__extends(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()}},HEOB:function(n,e){n.exports={decorator:function(n){var e=null,t=null,l=[];return{children:n.children,node:function(t){var l=e;e=t,n.node.call(this,t),e=l},chunk:function(n){if(l.length>0)switch(e.type){case"Dimension":case"HexColor":case"IdSelector":case"Percentage":if(t.node===e)return void(t.value+=n);break;case"Function":case"PseudoClassSelector":case"PseudoElementSelector":case"Url":if("("===n)return void(t.value+=n);break;case"Atrule":if(t.node===e&&"@"===t.value)return void(t.value+=n)}l.push(t={value:n,node:e})},result:function(){return l}}}}},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 r});var l=t("mrSG"),o=t("FFOo");function r(n){return void 0===n&&(n=null),function(e){return e.lift(new i(n))}}var i=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.__extends(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.scanner.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.Identifier,r=l.Number,i=l.NumberSign,a=l.LeftSquareBracket,u=l.PlusSign,s=l.Solidus,d=l.Asterisk,c=l.FullStop,p=l.Colon,f=l.GreaterThanSign,h=l.VerticalLine,m=l.Tilde;n.exports={getNode:function(n){switch(this.scanner.tokenType){case u:case f:case m:return n.space=null,n.ignoreWSAfter=!0,this.Combinator();case s:return this.Combinator();case c:return this.ClassSelector();case a:return this.AttributeSelector();case i:return this.IdSelector();case p:return this.scanner.lookupType(1)===p?this.PseudoElementSelector():this.PseudoClassSelector();case o:case d:case h:return this.TypeSelector();case r:return this.Percentage()}}}},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 i});var l=t("6blF"),o=t("+tJ4"),r=t("JF+6");function i(n,e){return e?Object(r.a)(n,e):new l.a(Object(o.a)(n))}},IiZa:function(n,e,t){var l=t("7WHS"),o=Object.prototype.hasOwnProperty,r="undefined"!=typeof Map;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(n,e){for(var t=new i,l=0,o=n.length;l<o;l++)t.add(n[l],e);return t},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(n,e){var t=r?n:l.toSetString(n),i=r?this.has(n):o.call(this._set,t),a=this._array.length;i&&!e||this._array.push(n),i||(r?this._set.set(n,a):this._set[t]=a)},i.prototype.has=function(n){if(r)return this._set.has(n);var e=l.toSetString(n);return o.call(this._set,e)},i.prototype.indexOf=function(n){if(r){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.')},i.prototype.at=function(n){if(n>=0&&n<this._array.length)return this._array[n];throw new Error("No element indexed by "+n)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i},Ip0R:function(n,e,t){"use strict";t.r(e),t.d(e,"\u0275angular_packages_common_common_e",function(){return Qn}),t.d(e,"\u0275angular_packages_common_common_d",function(){return Z}),t.d(e,"\u0275angular_packages_common_common_a",function(){return On}),t.d(e,"\u0275angular_packages_common_common_b",function(){return Nn}),t.d(e,"\u0275angular_packages_common_common_g",function(){return Ce}),t.d(e,"\u0275angular_packages_common_common_f",function(){return He}),t.d(e,"\u0275registerLocaleData",function(){return v}),t.d(e,"registerLocaleData",function(){return v}),t.d(e,"formatDate",function(){return en}),t.d(e,"formatCurrency",function(){return kn}),t.d(e,"formatNumber",function(){return Tn}),t.d(e,"formatPercent",function(){return En}),t.d(e,"NgLocaleLocalization",function(){return Mn}),t.d(e,"NgLocalization",function(){return Fn}),t.d(e,"Plural",function(){return y}),t.d(e,"NumberFormatStyle",function(){return b}),t.d(e,"FormStyle",function(){return _}),t.d(e,"TranslationWidth",function(){return w}),t.d(e,"FormatWidth",function(){return C}),t.d(e,"NumberSymbol",function(){return x}),t.d(e,"WeekDay",function(){return S}),t.d(e,"getNumberOfCurrencyDigits",function(){return K}),t.d(e,"getCurrencySymbol",function(){return W}),t.d(e,"getLocaleDayPeriods",function(){return E}),t.d(e,"getLocaleDayNames",function(){return T}),t.d(e,"getLocaleMonthNames",function(){return R}),t.d(e,"getLocaleId",function(){return k}),t.d(e,"getLocaleEraNames",function(){return I}),t.d(e,"getLocaleWeekEndRange",function(){return F}),t.d(e,"getLocaleFirstDayOfWeek",function(){return O}),t.d(e,"getLocaleDateFormat",function(){return D}),t.d(e,"getLocaleDateTimeFormat",function(){return N}),t.d(e,"getLocaleExtraDayPeriodRules",function(){return B}),t.d(e,"getLocaleExtraDayPeriods",function(){return z}),t.d(e,"getLocalePluralCase",function(){return L}),t.d(e,"getLocaleTimeFormat",function(){return M}),t.d(e,"getLocaleNumberSymbol",function(){return A}),t.d(e,"getLocaleNumberFormat",function(){return P}),t.d(e,"getLocaleCurrencyName",function(){return j}),t.d(e,"getLocaleCurrencySymbol",function(){return q}),t.d(e,"\u0275parseCookieValue",function(){return An}),t.d(e,"CommonModule",function(){return Ze}),t.d(e,"DeprecatedI18NPipesModule",function(){return We}),t.d(e,"NgClass",function(){return Pn}),t.d(e,"NgForOf",function(){return Ln}),t.d(e,"NgForOfContext",function(){return jn}),t.d(e,"NgIf",function(){return Bn}),t.d(e,"NgIfContext",function(){return zn}),t.d(e,"NgPlural",function(){return Kn}),t.d(e,"NgPluralCase",function(){return Yn}),t.d(e,"NgStyle",function(){return $n}),t.d(e,"NgSwitch",function(){return Zn}),t.d(e,"NgSwitchCase",function(){return Wn}),t.d(e,"NgSwitchDefault",function(){return Gn}),t.d(e,"NgTemplateOutlet",function(){return Xn}),t.d(e,"NgComponentOutlet",function(){return qn}),t.d(e,"DOCUMENT",function(){return Ge}),t.d(e,"AsyncPipe",function(){return Ee}),t.d(e,"DatePipe",function(){return Fe}),t.d(e,"I18nPluralPipe",function(){return Me}),t.d(e,"I18nSelectPipe",function(){return Ne}),t.d(e,"JsonPipe",function(){return Ae}),t.d(e,"LowerCasePipe",function(){return Te}),t.d(e,"CurrencyPipe",function(){return Ve}),t.d(e,"DecimalPipe",function(){return je}),t.d(e,"PercentPipe",function(){return Le}),t.d(e,"SlicePipe",function(){return Ue}),t.d(e,"UpperCasePipe",function(){return Oe}),t.d(e,"TitleCasePipe",function(){return Ie}),t.d(e,"KeyValuePipe",function(){return Pe}),t.d(e,"DeprecatedDatePipe",function(){return ve}),t.d(e,"DeprecatedCurrencyPipe",function(){return we}),t.d(e,"DeprecatedDecimalPipe",function(){return ye}),t.d(e,"DeprecatedPercentPipe",function(){return _e}),t.d(e,"\u0275PLATFORM_BROWSER_ID",function(){return Ke}),t.d(e,"\u0275PLATFORM_SERVER_ID",function(){return Ye}),t.d(e,"\u0275PLATFORM_WORKER_APP_ID",function(){return $e}),t.d(e,"\u0275PLATFORM_WORKER_UI_ID",function(){return Xe}),t.d(e,"isPlatformBrowser",function(){return Qe}),t.d(e,"isPlatformServer",function(){return Je}),t.d(e,"isPlatformWorkerApp",function(){return nt}),t.d(e,"isPlatformWorkerUi",function(){return et}),t.d(e,"VERSION",function(){return tt}),t.d(e,"ViewportScroller",function(){return lt}),t.d(e,"\u0275NullViewportScroller",function(){return rt}),t.d(e,"PlatformLocation",function(){return r}),t.d(e,"LOCATION_INITIALIZED",function(){return i}),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"),r=function(){return function(){}}(),i=new l.InjectionToken("Location Initialized"),a=function(){return function(){}}(),u=new l.InjectionToken("appBaseHref"),s=function(){function n(n){var t=this;this._subject=new l.EventEmitter,this._platformStrategy=n;var o=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(d(o)),this._platformStrategy.onPopState(function(n){t._subject.emit({url:t.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.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,e,t){void 0===e&&(e=""),void 0===t&&(t=null),this._platformStrategy.pushState(t,"",n,e)},n.prototype.replaceState=function(n,e,t){void 0===e&&(e=""),void 0===t&&(t=null),this._platformStrategy.replaceState(t,"",n,e)},n.prototype.forward=function(){this._platformStrategy.forward()},n.prototype.back=function(){this._platformStrategy.back()},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.__extends)(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.__extends)(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=void 0,h=["en",[["a","p"],["AM","PM"],f],[["AM","PM"],f,f],[["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"]],f,[["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"]],f,[["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}",f,"{1} 'at' {0}",f],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##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}],m={};function v(n,e,t){"string"!=typeof e&&(t=e,e=n[0]),e=e.toLowerCase().replace(/_/g,"-"),m[e]=n,t&&(m[e][19]=t)}var g={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,"\u09f3"],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,"\u0440.",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\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],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:["\u20aa"],INR:["\u20b9"],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:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",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,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],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,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],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:["\u20ab",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]},b=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}({}),y=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}({}),_=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}({}),w=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}({}),C=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}({}),x=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}({}),S=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 k(n){return Z(n)[0]}function E(n,e,t){var l=Z(n),o=U([l[1],l[2]],e);return U(o,t)}function T(n,e,t){var l=Z(n),o=U([l[3],l[4]],e);return U(o,t)}function R(n,e,t){var l=Z(n),o=U([l[5],l[6]],e);return U(o,t)}function I(n,e){return U(Z(n)[7],e)}function O(n){return Z(n)[8]}function F(n){return Z(n)[9]}function D(n,e){return U(Z(n)[10],e)}function M(n,e){return U(Z(n)[11],e)}function N(n,e){return U(Z(n)[12],e)}function A(n,e){var t=Z(n),l=t[13][e];if(void 0===l){if(e===x.CurrencyDecimal)return t[13][x.Decimal];if(e===x.CurrencyGroup)return t[13][x.Group]}return l}function P(n,e){return Z(n)[14][e]}function q(n){return Z(n)[15]||null}function j(n){return Z(n)[16]||null}function L(n){return Z(n)[18]}function V(n){if(!n[19])throw new Error('Missing extra locale data for the locale "'+n[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function B(n){var e=Z(n);return V(e),(e[19][2]||[]).map(function(n){return"string"==typeof n?H(n):[H(n[0]),H(n[1])]})}function z(n,e,t){var l=Z(n);V(l);var o=U([l[19][0],l[19][1]],e)||[];return U(o,t)||[]}function U(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 H(n){var e=Object(o.__read)(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function Z(n){var e=n.toLowerCase().replace(/_/g,"-"),t=m[e];if(t)return t;var l=e.split("-")[0];if(t=m[l])return t;if("en"===l)return h;throw new Error('Missing locale data for the locale "'+n+'".')}function W(n,e,t){void 0===t&&(t="en");var l=function(n){return Z(n)[17]}(t)[n]||g[n]||[],o=l[1];return"narrow"===e&&"string"==typeof o?o:l[0]||n}var G=2;function K(n){var e,t=g[n];return t&&(e=t[2]),"number"==typeof e?e:G}var Y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$={},X=/((?:[^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]*)/,Q=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}({}),J=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}({}),nn=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 en(n,e,t,l){var r=function(n){if(hn(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.__read)(n.split("-").map(function(n){return+n}),3);return new Date(l[0],l[1]-1,l[2])}if(e=n.match(Y))return fn(e)}var r=new Date(n);if(!hn(r))throw new Error('Unable to convert "'+n+'" into a date');return r}(n);e=function n(e,t){var l=k(e);if($[l]=$[l]||{},$[l][t])return $[l][t];var o="";switch(t){case"shortDate":o=D(e,C.Short);break;case"mediumDate":o=D(e,C.Medium);break;case"longDate":o=D(e,C.Long);break;case"fullDate":o=D(e,C.Full);break;case"shortTime":o=M(e,C.Short);break;case"mediumTime":o=M(e,C.Medium);break;case"longTime":o=M(e,C.Long);break;case"fullTime":o=M(e,C.Full);break;case"short":var r=n(e,"shortTime"),i=n(e,"shortDate");o=tn(N(e,C.Short),[r,i]);break;case"medium":var a=n(e,"mediumTime"),u=n(e,"mediumDate");o=tn(N(e,C.Medium),[a,u]);break;case"long":var s=n(e,"longTime"),d=n(e,"longDate");o=tn(N(e,C.Long),[s,d]);break;case"full":var c=n(e,"fullTime"),p=n(e,"fullDate");o=tn(N(e,C.Full),[c,p])}return o&&($[l][t]=o),o}(t,e)||e;for(var i,a=[];e;){if(!(i=X.exec(e))){a.push(e);break}var u=(a=a.concat(i.slice(1))).pop();if(!u)break;e=u}var s=r.getTimezoneOffset();l&&(s=pn(l,s),r=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*(pn(e,l)-l))}(r,l));var d="";return a.forEach(function(n){var e=function(n){if(cn[n])return cn[n];var e;switch(n){case"G":case"GG":case"GGG":e=rn(nn.Eras,w.Abbreviated);break;case"GGGG":e=rn(nn.Eras,w.Wide);break;case"GGGGG":e=rn(nn.Eras,w.Narrow);break;case"y":e=on(J.FullYear,1,0,!1,!0);break;case"yy":e=on(J.FullYear,2,0,!0,!0);break;case"yyy":e=on(J.FullYear,3,0,!1,!0);break;case"yyyy":e=on(J.FullYear,4,0,!1,!0);break;case"M":case"L":e=on(J.Month,1,1);break;case"MM":case"LL":e=on(J.Month,2,1);break;case"MMM":e=rn(nn.Months,w.Abbreviated);break;case"MMMM":e=rn(nn.Months,w.Wide);break;case"MMMMM":e=rn(nn.Months,w.Narrow);break;case"LLL":e=rn(nn.Months,w.Abbreviated,_.Standalone);break;case"LLLL":e=rn(nn.Months,w.Wide,_.Standalone);break;case"LLLLL":e=rn(nn.Months,w.Narrow,_.Standalone);break;case"w":e=dn(1);break;case"ww":e=dn(2);break;case"W":e=dn(1,!0);break;case"d":e=on(J.Date,1);break;case"dd":e=on(J.Date,2);break;case"E":case"EE":case"EEE":e=rn(nn.Days,w.Abbreviated);break;case"EEEE":e=rn(nn.Days,w.Wide);break;case"EEEEE":e=rn(nn.Days,w.Narrow);break;case"EEEEEE":e=rn(nn.Days,w.Short);break;case"a":case"aa":case"aaa":e=rn(nn.DayPeriods,w.Abbreviated);break;case"aaaa":e=rn(nn.DayPeriods,w.Wide);break;case"aaaaa":e=rn(nn.DayPeriods,w.Narrow);break;case"b":case"bb":case"bbb":e=rn(nn.DayPeriods,w.Abbreviated,_.Standalone,!0);break;case"bbbb":e=rn(nn.DayPeriods,w.Wide,_.Standalone,!0);break;case"bbbbb":e=rn(nn.DayPeriods,w.Narrow,_.Standalone,!0);break;case"B":case"BB":case"BBB":e=rn(nn.DayPeriods,w.Abbreviated,_.Format,!0);break;case"BBBB":e=rn(nn.DayPeriods,w.Wide,_.Format,!0);break;case"BBBBB":e=rn(nn.DayPeriods,w.Narrow,_.Format,!0);break;case"h":e=on(J.Hours,1,-12);break;case"hh":e=on(J.Hours,2,-12);break;case"H":e=on(J.Hours,1);break;case"HH":e=on(J.Hours,2);break;case"m":e=on(J.Minutes,1);break;case"mm":e=on(J.Minutes,2);break;case"s":e=on(J.Seconds,1);break;case"ss":e=on(J.Seconds,2);break;case"S":e=on(J.FractionalSeconds,1);break;case"SS":e=on(J.FractionalSeconds,2);break;case"SSS":e=on(J.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=an(Q.Short);break;case"ZZZZZ":e=an(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=an(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=an(Q.Long);break;default:return null}return cn[n]=e,e}(n);d+=e?e(r,t,s):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function tn(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(n,t){return null!=e&&t in e?e[t]:n})),n}function ln(n,e,t,l,o){void 0===t&&(t="-");var r="";(n<0||o&&n<=0)&&(o?n=1-n:(n=-n,r=t));for(var i=String(n);i.length<e;)i="0"+i;return l&&(i=i.substr(i.length-e)),r+i}function on(n,e,t,l,o){return void 0===t&&(t=0),void 0===l&&(l=!1),void 0===o&&(o=!1),function(r,i){var a,u=function(n,e){switch(n){case J.FullYear:return e.getFullYear();case J.Month:return e.getMonth();case J.Date:return e.getDate();case J.Hours:return e.getHours();case J.Minutes:return e.getMinutes();case J.Seconds:return e.getSeconds();case J.FractionalSeconds:return e.getMilliseconds();case J.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+n+'".')}}(n,r);if((t>0||u>-t)&&(u+=t),n===J.Hours)0===u&&-12===t&&(u=12);else if(n===J.FractionalSeconds)return a=e,ln(u,3).substr(0,a);var s=A(i,x.MinusSign);return ln(u,e,s,l,o)}}function rn(n,e,t,l){return void 0===t&&(t=_.Format),void 0===l&&(l=!1),function(o,r){return function(n,e,t,l,o,r){switch(t){case nn.Months:return R(e,o,l)[n.getMonth()];case nn.Days:return T(e,o,l)[n.getDay()];case nn.DayPeriods:var i=n.getHours(),a=n.getMinutes();if(r){var u,s=B(e),d=z(e,o,l);if(s.forEach(function(n,e){if(Array.isArray(n)){var t=n[0],l=n[1],o=l.hours;i>=t.hours&&a>=t.minutes&&(i<o||i===o&&a<l.minutes)&&(u=d[e])}else n.hours===i&&n.minutes===a&&(u=d[e])}),u)return u}return E(e,o,l)[i<12?0:1];case nn.Eras:return I(e,l)[n.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+t)}}(o,r,n,e,t,l)}}function an(n){return function(e,t,l){var o=-1*l,r=A(t,x.MinusSign),i=o>0?Math.floor(o/60):Math.ceil(o/60);switch(n){case Q.Short:return(o>=0?"+":"")+ln(i,2,r)+ln(Math.abs(o%60),2,r);case Q.ShortGMT:return"GMT"+(o>=0?"+":"")+ln(i,1,r);case Q.Long:return"GMT"+(o>=0?"+":"")+ln(i,2,r)+":"+ln(Math.abs(o%60),2,r);case Q.Extended:return 0===l?"Z":(o>=0?"+":"")+ln(i,2,r)+":"+ln(Math.abs(o%60),2,r);default:throw new Error('Unknown zone width "'+n+'"')}}}var un=0,sn=4;function dn(n,e){return void 0===e&&(e=!1),function(t,l){var o,r,i,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=(i=t.getFullYear(),a=new Date(i,un,1).getDay(),new Date(i,0,1+(a<=sn?sn:sn+7)-a)),c=(r=t,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(sn-r.getDay()))).getTime()-d.getTime();o=1+Math.round(c/6048e5)}return ln(o,n,A(l,x.MinusSign))}}var cn={};function pn(n,e){n=n.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function fn(n){var e=new Date(0),t=0,l=0,o=n[8]?e.setUTCFullYear:e.setFullYear,r=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 i=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 r.call(e,i,a,u,s),e}function hn(n){return n instanceof Date&&!isNaN(n.valueOf())}var mn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,vn=22,gn=".",bn="0",yn=";",_n=",",wn="#",Cn="\xa4",xn="%";function Sn(n,e,t,l,o,r,i){void 0===i&&(i=!1);var a="",u=!1;if(isFinite(n)){var s=function(e){var t,l,o,r,i,a=Math.abs(n)+"",u=0;for((l=a.indexOf(gn))>-1&&(a=a.replace(gn,"")),(o=a.search(/e/i))>0?(l<0&&(l=o),l+=+a.slice(o+1),a=a.substring(0,o)):l<0&&(l=a.length),o=0;a.charAt(o)===bn;o++);if(o===(i=a.length))t=[0],l=1;else{for(i--;a.charAt(i)===bn;)i--;for(l-=o,t=[],r=0;o<=i;o++,r++)t[r]=Number(a.charAt(o))}return l>vn&&(t=t.splice(0,vn-1),u=l-1,l=1),{digits:t,exponent:u,integerLen:l}}();i&&(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(r){var f=r.match(mn);if(null===f)throw new Error(r+" is not a valid digit info");var h=f[1],m=f[3],v=f[5];null!=h&&(d=In(h)),null!=m&&(c=In(m)),null!=v?p=In(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,r=Math.min(Math.max(e,o),t),i=r+n.integerLen,a=l[i];if(i>0){l.splice(Math.max(n.integerLen,i));for(var u=i;u<l.length;u++)l[u]=0}else{o=Math.max(0,o),n.integerLen=1,l.length=Math.max(1,i=r+1),l[0]=0;for(var s=1;s<i;s++)l[s]=0}if(a>=5)if(i-1<0){for(var d=0;d>i;d--)l.unshift(0),n.integerLen++;l.unshift(1),n.integerLen++}else l[i-1]++;for(;o<Math.max(0,r);o++)l.push(0);var c=0!==r,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,_=[];for(u=g.every(function(n){return!n});b<d;b++)g.unshift(0);for(;b<0;b++)g.unshift(0);b>0?_=g.splice(b,g.length):(_=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(A(t,l)),_.length&&(a+=A(t,o)+_.join("")),y&&(a+=A(t,x.Exponential)+"+"+y)}else a=A(t,x.Infinity);return n<0&&!u?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf}function kn(n,e,t,l,o){var r=Rn(P(e,b.Currency),A(e,x.MinusSign));return r.minFrac=K(l),r.maxFrac=r.minFrac,Sn(n,r,e,x.CurrencyGroup,x.CurrencyDecimal,o).replace(Cn,t).replace(Cn,"")}function En(n,e,t){return Sn(n,Rn(P(e,b.Percent),A(e,x.MinusSign)),e,x.Group,x.Decimal,t,!0).replace(new RegExp(xn,"g"),A(e,x.PercentSign))}function Tn(n,e,t){return Sn(n,Rn(P(e,b.Decimal),A(e,x.MinusSign)),e,x.Group,x.Decimal,t)}function Rn(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(yn),o=l[0],r=l[1],i=-1!==o.indexOf(gn)?o.split(gn):[o.substring(0,o.lastIndexOf(bn)+1),o.substring(o.lastIndexOf(bn)+1)],a=i[0],u=i[1]||"";t.posPre=a.substr(0,a.indexOf(wn));for(var s=0;s<u.length;s++){var d=u.charAt(s);d===bn?t.minFrac=t.maxFrac=s+1:d===wn?t.maxFrac=s+1:t.posSuf+=d}var c=a.split(_n);if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){var p=o.length-t.posPre.length-t.posSuf.length,f=r.indexOf(wn);t.negPre=r.substr(0,f).replace(/'/g,""),t.negSuf=r.substr(f+p).replace(/'/g,"")}else t.negPre=e+t.posPre,t.negSuf=t.posSuf;return t}function In(n){var e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}var On=new l.InjectionToken("UseV4Plurals"),Fn=function(){return function(){}}();function Dn(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 Mn=function(n){function e(e,t){var l=n.call(this)||this;return l.locale=e,l.deprecatedPluralFn=t,l}return Object(o.__extends)(e,n),e.prototype.getPluralCategory=function(n,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,n):L(e||this.locale)(n)){case y.Zero:return"zero";case y.One:return"one";case y.Two:return"two";case y.Few:return"few";case y.Many:return"many";default:return"other"}},e}(Fn);function Nn(n,e){"string"==typeof e&&(e=parseInt(e,10));var t=e,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),r=l.length,i=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?y.One:y.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?y.One:y.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?y.One:y.Other;case"ar":return 0===t?y.Zero:1===t?y.One:2===t?y.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?y.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?y.Many:y.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===r?y.One:y.Other;case"be":return t%10==1&&t%100!=11?y.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?y.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?y.Many:y.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?y.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?y.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)?y.Few:0!==t&&t%1e6==0?y.Many:y.Other;case"bs":case"hr":case"sr":return 0===r&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?y.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?y.Few:y.Other;case"cs":case"sk":return 1===o&&0===r?y.One:o===Math.floor(o)&&o>=2&&o<=4&&0===r?y.Few:0!==r?y.Many:y.Other;case"cy":return 0===t?y.Zero:1===t?y.One:2===t?y.Two:3===t?y.Few:6===t?y.Many:y.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?y.One:y.Other;case"dsb":case"hsb":return 0===r&&o%100==1||i%100==1?y.One:0===r&&o%100==2||i%100==2?y.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?y.Few:y.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?y.One:y.Other;case"fil":return 0===r&&(1===o||2===o||3===o)||0===r&&o%10!=4&&o%10!=6&&o%10!=9||0!==r&&i%10!=4&&i%10!=6&&i%10!=9?y.One:y.Other;case"ga":return 1===t?y.One:2===t?y.Two:t===Math.floor(t)&&t>=3&&t<=6?y.Few:t===Math.floor(t)&&t>=7&&t<=10?y.Many:y.Other;case"gd":return 1===t||11===t?y.One:2===t||12===t?y.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?y.Few:y.Other;case"gv":return 0===r&&o%10==1?y.One:0===r&&o%10==2?y.Two:0!==r||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==r?y.Many:y.Other:y.Few;case"he":return 1===o&&0===r?y.One:2===o&&0===r?y.Two:0!==r||t>=0&&t<=10||t%10!=0?y.Other:y.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?y.One:y.Other;case"ksh":return 0===t?y.Zero:1===t?y.One:y.Other;case"kw":case"naq":case"se":case"smn":return 1===t?y.One:2===t?y.Two:y.Other;case"lag":return 0===t?y.Zero:0!==o&&1!==o||0===t?y.Other:y.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)?y.Few:0!==i?y.Many:y.Other:y.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===r&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?y.Zero:t%10==1&&t%100!=11||2===r&&i%10==1&&i%100!=11||2!==r&&i%10==1?y.One:y.Other;case"mk":return 0===r&&o%10==1||i%10==1?y.One:y.Other;case"mt":return 1===t?y.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?y.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?y.Many:y.Other;case"pl":return 1===o&&0===r?y.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?y.Few:0===r&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?y.Many:y.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?y.One:y.Other;case"ro":return 1===o&&0===r?y.One:0!==r||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?y.Few:y.Other;case"ru":case"uk":return 0===r&&o%10==1&&o%100!=11?y.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?y.Few:0===r&&o%10==0||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?y.Many:y.Other;case"shi":return 0===o||1===t?y.One:t===Math.floor(t)&&t>=2&&t<=10?y.Few:y.Other;case"si":return 0===t||1===t||0===o&&1===i?y.One:y.Other;case"sl":return 0===r&&o%100==1?y.One:0===r&&o%100==2?y.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==r?y.Few:y.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?y.One:y.Other;default:return y.Other}}function An(n,e){var t,l;e=encodeURIComponent(e);try{for(var r=Object(o.__values)(n.split(";")),i=r.next();!i.done;i=r.next()){var a=i.value,u=a.indexOf("="),s=Object(o.__read)(-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{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return null}var Pn=function(){function n(n,e,t,l){this._iterableDiffers=n,this._keyValueDiffers=e,this._ngEl=t,this._renderer=l,this._initialClasses=[]}return Object.defineProperty(n.prototype,"klass",{set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClass",{set: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["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=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["\u0275stringify"])(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}(),qn=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}(),jn=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}(),Ln=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 r=e._viewContainer.createEmbeddedView(e._template,new jn(null,e._ngForOf,-1,-1),o),i=new Vn(n,r);t.push(i)}else null==o?e._viewContainer.remove(l):(r=e._viewContainer.get(l),e._viewContainer.move(r,o),i=new Vn(n,r),t.push(i))});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 r=this._viewContainer.get(l);r.context.index=l,r.context.count=o,r.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}(),Vn=function(){return function(n,e){this.record=n,this.view=e}}(),Bn=function(){function n(n,e){this._viewContainer=n,this._context=new zn,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){Un("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfElse",{set:function(n){Un("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.ngTemplateGuard_ngIf=function(n,e){return!0},n}(),zn=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Un(n,e){if(e&&!e.createEmbeddedView)throw new Error(n+" must be a TemplateRef, but received '"+Object(l["\u0275stringify"])(e)+"'.")}var Hn=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}(),Zn=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}(),Wn=function(){function n(n,e,t){this.ngSwitch=t,t._addCase(),this._view=new Hn(n,e)}return n.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},n}(),Gn=function(){return function(n,e,t){t._addDefault(new Hn(n,e))}}(),Kn=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=Dn(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}(),Yn=function(){return function(n,e,t,l){this.value=n;var o=!isNaN(Number(n));l.addCase(o?"="+n:n,new Hn(t,e))}}(),$n=function(){function n(n,e,t){this._differs=n,this._ngEl=e,this._renderer=t}return Object.defineProperty(n.prototype,"ngStyle",{set:function(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=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.__read)(n.split("."),2),l=t[0],r=t[1];null!=(e=null!=e&&r?""+e+r:e)?this._renderer.setStyle(this._ngEl.nativeElement,l,e):this._renderer.removeStyle(this._ngEl.nativeElement,l)},n}(),Xn=function(){function n(n){this._viewContainerRef=n}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||{}),r=Object.keys(n.currentValue||{});if(l.length===r.length){try{for(var i=Object(o.__values)(r),a=i.next();!a.done;a=i.next())if(-1===l.indexOf(a.value))return!0}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return!1}return!0},n.prototype._updateExistingContext=function(n){var e,t;try{for(var l=Object(o.__values)(Object.keys(n)),r=l.next();!r.done;r=l.next()){var i=r.value;this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},n}(),Qn=[Pn,qn,Ln,Bn,Xn,$n,Zn,Wn,Gn,Kn,Yn];function Jn(n,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(l["\u0275stringify"])(n)+"'")}var ne=function(){function n(){}return n.format=function(n,e,t,l){void 0===l&&(l={});var o=l.currency,r=l.currencyAsSymbol,i=void 0!==r&&r,a={minimumIntegerDigits:l.minimumIntegerDigits,minimumFractionDigits:l.minimumFractionDigits,maximumFractionDigits:l.maximumFractionDigits,style:b[t].toLowerCase()};return t==b.Currency&&(a.currency="string"==typeof o?o:void 0,a.currencyDisplay=i?"symbol":"code"),new Intl.NumberFormat(e,a).format(n)},n}(),ee=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,te={yMMMdjms:fe(pe([de("year",1),ce("month",3),de("day",1),de("hour",1),de("minute",1),de("second",1)])),yMdjm:fe(pe([de("year",1),de("month",1),de("day",1),de("hour",1),de("minute",1)])),yMMMMEEEEd:fe(pe([de("year",1),ce("month",4),ce("weekday",4),de("day",1)])),yMMMMd:fe(pe([de("year",1),ce("month",4),de("day",1)])),yMMMd:fe(pe([de("year",1),ce("month",3),de("day",1)])),yMd:fe(pe([de("year",1),de("month",1),de("day",1)])),jms:fe(pe([de("hour",1),de("second",1),de("minute",1)])),jm:fe(pe([de("hour",1),de("minute",1)]))},le={yyyy:fe(de("year",4)),yy:fe(de("year",2)),y:fe(de("year",1)),MMMM:fe(ce("month",4)),MMM:fe(ce("month",3)),MM:fe(de("month",2)),M:fe(de("month",1)),LLLL:fe(ce("month",4)),L:fe(ce("month",1)),dd:fe(de("day",2)),d:fe(de("day",1)),HH:oe(ie(fe(se(de("hour",2),!1)))),H:ie(fe(se(de("hour",1),!1))),hh:oe(ie(fe(se(de("hour",2),!0)))),h:ie(fe(se(de("hour",1),!0))),jj:fe(de("hour",2)),j:fe(de("hour",1)),mm:oe(fe(de("minute",2))),m:fe(de("minute",1)),ss:oe(fe(de("second",2))),s:fe(de("second",1)),sss:fe(de("second",3)),EEEE:fe(ce("weekday",4)),EEE:fe(ce("weekday",3)),EE:fe(ce("weekday",2)),E:fe(ce("weekday",1)),a:re(fe(se(de("hour",1),!0))),Z:ue("short"),z:ue("long"),ww:fe({}),w:fe({}),G:fe(ce("era",1)),GG:fe(ce("era",2)),GGG:fe(ce("era",3)),GGGG:fe(ce("era",4))};function oe(n){return function(e,t){var l=n(e,t);return 1==l.length?"0"+l:l}}function re(n){return function(e,t){return n(e,t).split(" ")[1]}}function ie(n){return function(e,t){return n(e,t).split(" ")[0]}}function ae(n,e,t){return new Intl.DateTimeFormat(e,t).format(n).replace(/[\u200e\u200f]/g,"")}function ue(n){var e={hour:"2-digit",hour12:!1,timeZoneName:n};return function(n,t){var l=ae(n,t,e);return l?l.substring(3):""}}function se(n,e){return n.hour12=e,n}function de(n,e){var t={};return t[n]=2===e?"2-digit":"numeric",t}function ce(n,e){var t={};return t[n]=e<4?e>1?"short":"narrow":"long",t}function pe(n){return n.reduce(function(n,e){return Object(o.__assign)({},n,e)},{})}function fe(n){return function(e,t){return ae(e,t,n)}}var he=new Map,me=function(){function n(){}return n.format=function(n,e,t){return function(n,e,t){var l=te[n];if(l)return l(e,t);var o=n,r=he.get(o);if(!r){r=[];var i=void 0;ee.exec(n);for(var a=n;a;)(i=ee.exec(a))?a=(r=r.concat(i.slice(1))).pop():(r.push(a),a=null);he.set(o,r)}return r.reduce(function(n,l){var o=le[l];return n+(o?o(e,t):function(n){return"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(l))},"")}(t,n,e)},n}(),ve=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()),ge(n))l=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var r=Object(o.__read)(n.split("-").map(function(n){return parseInt(n,10)}),3);l=new Date(r[0],r[1]-1,r[2])}else l=new Date(n);else l=new Date(parseFloat(n));if(!ge(l)){var i=void 0;if("string"!=typeof n||!(i=n.match(Y)))throw Jn(e,n);l=fn(i)}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 ge(n){return n instanceof Date&&!isNaN(n.valueOf())}function be(n,e,t,l,o,r,i){if(void 0===r&&(r=null),void 0===i&&(i=!1),null==t)return null;if("number"!=typeof(t="string"!=typeof t||isNaN(+t-parseFloat(t))?t:+t))throw Jn(n,t);var a,u,s;if(l!==b.Currency&&(a=1,u=0,s=3),o){var d=o.match(mn);if(null===d)throw new Error(o+" is not a valid digit info for number pipes");null!=d[1]&&(a=In(d[1])),null!=d[3]&&(u=In(d[3])),null!=d[5]&&(s=In(d[5]))}return ne.format(t,e,l,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:s,currency:r,currencyAsSymbol:i})}var ye=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return be(e,this._locale,n,b.Decimal,t)},n}(),_e=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return be(e,this._locale,n,b.Percent,t)},n}(),we=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),be(e,this._locale,n,b.Currency,o,t,l)},n}(),Ce=[ye,_e,we,ve],xe=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}(),Se=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}()),ke=new xe,Ee=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)):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["\u0275isPromise"])(n))return Se;if(Object(l["\u0275isObservable"])(n))return ke;throw Jn(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}(),Te=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw Jn(e,n);return n.toLowerCase()},n}(),Re=/(?:[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,Ie=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw Jn(e,n);return n.replace(Re,function(n){return n[0].toUpperCase()+n.substr(1).toLowerCase()})},n}(),Oe=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw Jn(e,n);return n.toUpperCase()},n}(),Fe=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 en(n,t,o||this.locale,l)}catch(r){throw Jn(e,r.message)}},n}(),De=/#/g,Me=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 Jn(e,t);return t[Dn(n,Object.keys(t),this._localization,l)].replace(De,n.toString())},n}(),Ne=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 Jn(e,t);return t.hasOwnProperty(n)?t[n]:t.hasOwnProperty("other")?t.other:""},n}(),Ae=function(){function n(){}return n.prototype.transform=function(n){return JSON.stringify(n,null,2)},n}(),Pe=function(){function n(n){this.differs=n,this.keyValues=[]}return n.prototype.transform=function(n,e){var t=this;if(void 0===e&&(e=qe),!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 qe(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),r=String(l);return o==r?0:o<r?-1:1}var je=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(Be(n))return null;l=l||this._locale;try{return Tn(ze(n),l,t)}catch(o){throw Jn(e,o.message)}},n}(),Le=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(Be(n))return null;l=l||this._locale;try{return En(ze(n),l,t)}catch(o){throw Jn(e,o.message)}},n}(),Ve=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o,r){if(void 0===l&&(l="symbol"),Be(n))return null;r=r||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 i=t||"USD";"code"!==l&&(i="symbol"===l||"symbol-narrow"===l?W(i,"symbol"===l?"wide":"narrow",r):l);try{return kn(ze(n),r,i,t,o)}catch(a){throw Jn(e,a.message)}},n}();function Be(n){return null==n||""===n||n!=n}function ze(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 Ue=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 Jn(e,n);return n.slice(t,l)},n.prototype.supports=function(n){return"string"==typeof n||Array.isArray(n)},n}(),He=[Ee,Oe,Te,Ae,Ue,je,Le,Ie,Ve,Fe,Me,Ne,Pe],Ze=function(){return function(){}}(),We=function(){return function(){}}(),Ge=new l.InjectionToken("DocumentToken"),Ke="browser",Ye="server",$e="browserWorkerApp",Xe="browserWorkerUi";function Qe(n){return n===Ke}function Je(n){return n===Ye}function nt(n){return n===$e}function et(n){return n===Xe}var tt=new l.Version("7.2.14"),lt=function(){function n(){}return n.ngInjectableDef=Object(l.defineInjectable)({providedIn:"root",factory:function(){return new ot(Object(l.inject)(Ge),window,Object(l.inject)(l.ErrorHandler))}}),n}(),ot=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}(),rt=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"),r=t("pugT"),i=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,r){var i=n.call(this,e)||this;return i.keySelector=t,i.elementSelector=l,i.durationSelector=o,i.subjectSelector=r,i.groups=null,i.attemptedToUnsubscribe=!1,i.count=0,i}return l.__extends(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 r=new p(e,o,this);if(this.destination.next(r),this.durationSelector){var i=void 0;try{i=this.durationSelector(new p(e,o))}catch(u){return void this.error(u)}this.add(i.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.__extends(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.__extends(e,n),e.prototype._subscribe=function(n){var e=new r.a,t=this.refCountSubscription,l=this.groupSubject;return t&&!t.closed&&e.add(new f(t)),e.add(l.subscribe(n)),e},e}(i.a),f=function(n){function e(e){var t=n.call(this)||this;return t.parent=e,e.count++,t}return l.__extends(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}(r.a)},Iyun:function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").isNumber,r=t("vd7W").TYPE,i=r.Identifier,a=r.Number,u=r.PlusSign,s=r.HyphenMinus;function d(n,e){var t=n.tokenStart;for(n.source.charCodeAt(t)!==u&&n.source.charCodeAt(t)!==s||(e&&n.error(),t++);t<n.tokenEnd;t++)o(n.source.charCodeAt(t))||n.error("Unexpected input",t)}n.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var n=this.scanner.tokenStart,e=n,t="",r=null,c=null;if(this.scanner.tokenType!==a&&this.scanner.tokenType!==u||(d(this.scanner,!1),t=this.scanner.getTokenValue(),this.scanner.next(),e=this.scanner.tokenStart),this.scanner.tokenType===i){var p=this.scanner.tokenStart;l(this.scanner.source,p,s)&&(""===t?(t="-",p++):this.scanner.error("Unexpected hyphen minus")),l(this.scanner.source,p,110)||this.scanner.error(),r=""===t?"1":"+"===t?"+1":"-"===t?"-1":t;var f=this.scanner.tokenEnd-p;f>1?(this.scanner.source.charCodeAt(p+1)!==s&&this.scanner.error("Unexpected input",p+1),f>2?this.scanner.tokenStart=p+2:(this.scanner.next(),this.scanner.skipSC()),d(this.scanner,!0),c="-"+this.scanner.getTokenValue(),this.scanner.next(),e=this.scanner.tokenStart):(t="",this.scanner.next(),e=this.scanner.tokenStart,this.scanner.skipSC(),this.scanner.tokenType!==s&&this.scanner.tokenType!==u||(t=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC()),this.scanner.tokenType===a?(d(this.scanner,""!==t),o(this.scanner.source.charCodeAt(this.scanner.tokenStart))||(t=this.scanner.source.charAt(this.scanner.tokenStart),this.scanner.tokenStart++),""===t?this.scanner.error():"+"===t&&(t=""),c=t+this.scanner.getTokenValue(),this.scanner.next(),e=this.scanner.tokenStart):t&&this.scanner.eat(a))}else""!==t&&"+"!==t||this.scanner.error("Number or identifier is expected",this.scanner.tokenStart+(this.scanner.tokenType===u||this.scanner.tokenType===s)),c=t;return{type:"AnPlusB",loc:this.getLocation(n,e),a:r,b:c}},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))}}},J0X1: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}},"JF+6":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("6blF"),o=t("pugT");function r(n,e){return new l.a(function(t){var l=new o.a,r=0;return l.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||l.add(this.schedule())):t.complete()})),l})}},K3ba:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("K9Ia"),r=t("pugT"),i=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.__extends(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 r=t[o];r.window.error(e),r.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,i){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 r.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}(i.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"),r=t("FFOo"),i=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.__extends(e,n),e}(r.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.__extends(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),i.a.EMPTY):this.isStopped?(n.complete(),i.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.__extends(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):i.a.EMPTY},e}(c)},KAzf:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("15JJ"),o=t("mChF");function r(){return Object(l.a)(o.a)}},KD6q:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return void 0===e&&(e=null),function(t){return t.lift(new i(n,e))}}var i=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.__extends(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.__extends(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 r=l.length;r--;){var i=l[r];i.push(n),i.length===e&&(l.splice(r,1),this.destination.next(i))}},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,r={},i=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.__extends(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=(i=e.flush.bind(e,null),a=o++,r[a]=i,Promise.resolve().then(function(){return function(n){var e=r[n];e&&e()}(a)}),a)));var i,a},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&&(delete r[t],e.scheduled=void 0)},e}(t("h9Dq").a),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(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 u});var u=new a(i)},KW4y:function(n,e,t){var l=t("4vYp");n.exports={generic:!0,types:l.types,properties:l.properties,node:t("585i")}},KcB0:function(n,e,t){var l=t("cWdd"),o={type:"Match"},r={type:"Mismatch"},i={type:"DisallowEmpty"},a=40,u=41;function s(n,e,t){return e===o&&t===r?n:n===o&&e===o&&t===o?n:("If"===n.type&&n.else===r&&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 i=o,a=t.length-1;a>=0;a--)i=s(f=t[a],i,r);return i;case"|":i=r;var u=null;for(a=t.length-1;a>=0;a--){if(c(f=t[a])&&(null===u&&a>0&&c(t[a-1])&&(i=s({type:"Enum",map:u=Object.create(null)},o,i)),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,i=s(f,o,i)}return i;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(i=r,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,i=s(f,h,i)}return i;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(i=l?o:r,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,i=s(f,h,i)}return i}}(n.combinator,n.terms.map(p),!1);return n.disallowEmpty&&(e=s(e,i,r)),e;case"Multiplier":return function(n){var e=o,t=p(n.term);if(0===n.max)t=s(t,i,r),(e=s(t,null,r)).then=s(o,o,e),n.comma&&(e.then.else=s({type:"Comma",syntax:n},e,r));else for(var l=n.min||1;l<=n.max;l++)n.comma&&e!==o&&(e=s({type:"Comma",syntax:n},e,r)),e=s(t,s(o,o,e),r);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,r)),e=s(t,e,r);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,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:r,DISALLOW_EMPTY:i,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 d});var l=t("mrSG"),o=t("K9Ia"),r=t("6blF"),i=(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.__extends(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 i.a).add(this.source.subscribe(new c(this.getSubject(),this))),n.closed&&(this._connection=null,n=i.a.EMPTY)),n},e.prototype.refCount=function(){return Object(a.a)()(this)},e}(r.a),s=u.prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:s._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return l.__extends(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)},"L/V9":function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l="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}),e.Hotkey=function(){function n(n,e,t,l,o,r){this.combo=n,this.callback=e,this.allowIn=t,this.description=l,this.action=o,this.persistent=r,this.combo=Array.isArray(n)?n:[n],this.allowIn=t||[],this.description=l||""}return n.symbolize=function(n){for(var e={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193",return:"\u23ce",backspace:"\u232b"},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[0].split(/[\s]/),t=0;t<e.length;t++)e[t]=n.symbolize(e[t]);this._formatted=e}return this._formatted},enumerable:!0,configurable:!0}),n}()},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.__extends(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/"),r=t("tNVB"),i=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(i.a)(e):Object(r.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 i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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.__extends(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(r.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"),r=t("MGBS"),i=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.__extends(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(r){return this.destination.error(r),void this.window.error(r)}this.add(this.closingNotification=Object(i.a)(this,t))},e}(r.a)},NKZO:function(n,e,t){"use strict";t.d(e,"b",function(){return r}),t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo");function r(n,e){if("function"!=typeof n)throw new TypeError("predicate is not a function");return function(t){return t.lift(new i(n,t,!1,e))}}var i=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,r){var i=n.call(this,e)||this;return i.predicate=t,i.source=l,i.yieldIndex=o,i.thisArg=r,i.index=0,i}return l.__extends(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)},NSjB:function(n,e,t){var l=t("7WHS"),o=t("sjRw"),r=t("IiZa").ArraySet,i=t("Oak9"),a=t("gtsK").quickSort;function u(n){var e=n;return"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,""))),null!=e.sections?new c(e):new s(e)}function s(n){var e=n;"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,"")));var t=l.getArg(e,"version"),o=l.getArg(e,"sources"),i=l.getArg(e,"names",[]),a=l.getArg(e,"sourceRoot",null),u=l.getArg(e,"sourcesContent",null),s=l.getArg(e,"mappings"),d=l.getArg(e,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);o=o.map(String).map(l.normalize).map(function(n){return a&&l.isAbsolute(a)&&l.isAbsolute(n)?l.relative(a,n):n}),this._names=r.fromArray(i.map(String),!0),this._sources=r.fromArray(o,!0),this.sourceRoot=a,this.sourcesContent=u,this._mappings=s,this.file=d}function d(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function c(n){var e=n;"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,"")));var t=l.getArg(e,"version"),o=l.getArg(e,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new r,this._names=new r;var i={line:-1,column:0};this._sections=o.map(function(n){if(n.url)throw new Error("Support for url field in sections not implemented.");var e=l.getArg(n,"offset"),t=l.getArg(e,"line"),o=l.getArg(e,"column");if(t<i.line||t===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=e,{generatedOffset:{generatedLine:t+1,generatedColumn:o+1},consumer:new u(l.getArg(n,"map"))}})}u.fromSourceMap=function(n){return s.fromSourceMap(n)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(n,e){var t=n.charAt(e);return";"===t||","===t},u.prototype._parseMappings=function(n,e){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(n,e,t){var o,r=e||null;switch(t||u.GENERATED_ORDER){case u.GENERATED_ORDER:o=this._generatedMappings;break;case u.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;o.map(function(n){var e=null===n.source?null:this._sources.at(n.source);return null!=e&&null!=i&&(e=l.join(i,e)),{source:e,generatedLine:n.generatedLine,generatedColumn:n.generatedColumn,originalLine:n.originalLine,originalColumn:n.originalColumn,name:null===n.name?null:this._names.at(n.name)}},this).forEach(n,r)},u.prototype.allGeneratedPositionsFor=function(n){var e=l.getArg(n,"line"),t={source:l.getArg(n,"source"),originalLine:e,originalColumn:l.getArg(n,"column",0)};if(null!=this.sourceRoot&&(t.source=l.relative(this.sourceRoot,t.source)),!this._sources.has(t.source))return[];t.source=this._sources.indexOf(t.source);var r=[],i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(void 0===n.column)for(var u=a.originalLine;a&&a.originalLine===u;)r.push({line:l.getArg(a,"generatedLine",null),column:l.getArg(a,"generatedColumn",null),lastColumn:l.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var s=a.originalColumn;a&&a.originalLine===e&&a.originalColumn==s;)r.push({line:l.getArg(a,"generatedLine",null),column:l.getArg(a,"generatedColumn",null),lastColumn:l.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return r},e.SourceMapConsumer=u,(s.prototype=Object.create(u.prototype)).consumer=u,s.fromSourceMap=function(n){var e=Object.create(s.prototype),t=e._names=r.fromArray(n._names.toArray(),!0),o=e._sources=r.fromArray(n._sources.toArray(),!0);e.sourceRoot=n._sourceRoot,e.sourcesContent=n._generateSourcesContent(e._sources.toArray(),e.sourceRoot),e.file=n._file;for(var i=n._mappings.toArray().slice(),u=e.__generatedMappings=[],c=e.__originalMappings=[],p=0,f=i.length;p<f;p++){var h=i[p],m=new d;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=o.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=t.indexOf(h.name)),c.push(m)),u.push(m)}return a(e.__originalMappings,l.compareByOriginalPositions),e},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(n){return null!=this.sourceRoot?l.join(this.sourceRoot,n):n},this)}}),s.prototype._parseMappings=function(n,e){for(var t,o,r,u,s=1,c=0,p=0,f=0,h=0,m=0,v=n.length,g=0,b={},y={},_=[],w=[];g<v;)if(";"===n.charAt(g))s++,g++,c=0;else if(","===n.charAt(g))g++;else{for((t=new d).generatedLine=s,u=g;u<v&&!this._charIsMappingSeparator(n,u);u++);if(r=b[o=n.slice(g,u)])g+=o.length;else{for(r=[];g<u;)i.decode(n,g,y),g=y.rest,r.push(y.value);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");b[o]=r}t.generatedColumn=c+r[0],c=t.generatedColumn,r.length>1&&(t.source=h+r[1],h+=r[1],t.originalLine=p+r[2],p=t.originalLine,t.originalLine+=1,t.originalColumn=f+r[3],f=t.originalColumn,r.length>4&&(t.name=m+r[4],m+=r[4])),w.push(t),"number"==typeof t.originalLine&&_.push(t)}a(w,l.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,a(_,l.compareByOriginalPositions),this.__originalMappings=_},s.prototype._findMapping=function(n,e,t,l,r,i){if(n[t]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+n[t]);if(n[l]<0)throw new TypeError("Column must be greater than or equal to 0, got "+n[l]);return o.search(n,e,r,i)},s.prototype.computeColumnSpans=function(){for(var n=0;n<this._generatedMappings.length;++n){var e=this._generatedMappings[n];if(n+1<this._generatedMappings.length){var t=this._generatedMappings[n+1];if(e.generatedLine===t.generatedLine){e.lastGeneratedColumn=t.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(n){var e={generatedLine:l.getArg(n,"line"),generatedColumn:l.getArg(n,"column")},t=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",l.compareByGeneratedPositionsDeflated,l.getArg(n,"bias",u.GREATEST_LOWER_BOUND));if(t>=0){var o=this._generatedMappings[t];if(o.generatedLine===e.generatedLine){var r=l.getArg(o,"source",null);null!==r&&(r=this._sources.at(r),null!=this.sourceRoot&&(r=l.join(this.sourceRoot,r)));var i=l.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:r,line:l.getArg(o,"originalLine",null),column:l.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(n){return null==n})},s.prototype.sourceContentFor=function(n,e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(n=l.relative(this.sourceRoot,n)),this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];var t;if(null!=this.sourceRoot&&(t=l.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!t.path||"/"==t.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(e)return null;throw new Error('"'+n+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(n){var e=l.getArg(n,"source");if(null!=this.sourceRoot&&(e=l.relative(this.sourceRoot,e)),!this._sources.has(e))return{line:null,column:null,lastColumn:null};var t={source:e=this._sources.indexOf(e),originalLine:l.getArg(n,"line"),originalColumn:l.getArg(n,"column")},o=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,l.getArg(n,"bias",u.GREATEST_LOWER_BOUND));if(o>=0){var r=this._originalMappings[o];if(r.source===t.source)return{line:l.getArg(r,"generatedLine",null),column:l.getArg(r,"generatedColumn",null),lastColumn:l.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s,(c.prototype=Object.create(u.prototype)).constructor=u,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}}),c.prototype.originalPositionFor=function(n){var e={generatedLine:l.getArg(n,"line"),generatedColumn:l.getArg(n,"column")},t=o.search(e,this._sections,function(n,e){return n.generatedLine-e.generatedOffset.generatedLine||n.generatedColumn-e.generatedOffset.generatedColumn}),r=this._sections[t];return r?r.consumer.originalPositionFor({line:e.generatedLine-(r.generatedOffset.generatedLine-1),column:e.generatedColumn-(r.generatedOffset.generatedLine===e.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(n){return n.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(n,e){for(var t=0;t<this._sections.length;t++){var l=this._sections[t].consumer.sourceContentFor(n,!0);if(l)return l}if(e)return null;throw new Error('"'+n+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(n){for(var e=0;e<this._sections.length;e++){var t=this._sections[e];if(-1!==t.consumer.sources.indexOf(l.getArg(n,"source"))){var o=t.consumer.generatedPositionFor(n);if(o)return{line:o.line+(t.generatedOffset.generatedLine-1),column:o.column+(t.generatedOffset.generatedLine===o.line?t.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},c.prototype._parseMappings=function(n,e){this.__generatedMappings=[],this.__originalMappings=[];for(var t=0;t<this._sections.length;t++)for(var o=this._sections[t],r=o.consumer._generatedMappings,i=0;i<r.length;i++){var u=r[i],s=o.consumer._sources.at(u.source);null!==o.consumer.sourceRoot&&(s=l.join(o.consumer.sourceRoot,s)),this._sources.add(s),s=this._sources.indexOf(s);var d=o.consumer._names.at(u.name);this._names.add(d),d=this._names.indexOf(d);var c={source:s,generatedLine:u.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(o.generatedOffset.generatedLine===u.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:d};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}a(this.__generatedMappings,l.compareByGeneratedPositionsDeflated),a(this.__originalMappings,l.compareByOriginalPositions)},e.IndexedSourceMapConsumer=c},NlKi:function(n,e,t){var l=t("jT1Q"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=o.Raven,i=new l;i.noConflict=function(){return o.Raven=r,i},i.afterLoad(),n.exports=i,n.exports.Client=l},Nzu2:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("G5J1");function i(n){return void 0===n&&(n=-1),function(e){return 0===n?Object(r.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.__extends(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)},Oak9:function(n,e,t){var l=t("J0X1");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,r,i,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===(r=l.decode(n.charCodeAt(e++))))throw new Error("Invalid base64 digit: "+n.charAt(e-1));o=!!(32&r),s+=(r&=31)<<d,d+=5}while(o);t.value=(a=(i=s)>>1,1==(1&i)?-a:a),t.rest=e}},OohF:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=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 r: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.Identifier;n.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.scanner.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){"use strict";var l=t("twQA"),o=l.PUNCTUATION,r=l.STOP_URL_RAW,i=l.TYPE,a=i.FullStop,u=i.PlusSign,s=i.HyphenMinus,d=i.Punctuator,c=9,p=10,f=12,h=13,m=32;function v(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function g(n){return n>=48&&n<=57}function b(n){return n===m||n===c||y(n)}function y(n){return n===h||n===p||n===f}function _(n,e,t){return y(t)?t===h&&e+1<n.length&&n.charCodeAt(e+1)===p?2:1:0}function w(n,e){for(;e<n.length&&g(n.charCodeAt(e));)e++;return e}function C(n,e){for(var t=0;t<7&&e+t<n.length;t++){var l=n.charCodeAt(e+t);if(6===t||!v(l)){t>0&&(e+=t-1+_(n,e+t,l),l!==m&&l!==c||e++);break}}return e}n.exports={firstCharOffset:function(n){return 65279===n.charCodeAt(0)||65534===n.charCodeAt(0)?1:0},isHex:v,isNumber:g,isWhiteSpace:b,isNewline:y,getNewlineLength:_,cmpChar:function(n,e,t){var l=n.charCodeAt(e);return l>=65&&l<=90&&(l|=32),l===t},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 r=n.charCodeAt(o);if(r>=65&&r<=90&&(r|=32),r!==l.charCodeAt(o-e))return!1}return!0},findWhiteSpaceStart:function(n,e){for(;e>=0&&b(n.charCodeAt(e));)e--;return e+1},findWhiteSpaceEnd:function(n,e){for(;e<n.length&&b(n.charCodeAt(e));)e++;return e},findCommentEnd:function(n,e){var t=n.indexOf("*/",e);return-1===t?n.length:t+2},findStringEnd:function(n,e,t){for(;e<n.length;e++){var l=n.charCodeAt(e);if(92===l)e++;else if(l===t){e++;break}}return e},findDecimalNumberEnd:w,findNumberEnd:function(n,e,t){var l;return e=w(n,e),t&&e+1<n.length&&n.charCodeAt(e)===a&&g(l=n.charCodeAt(e+1))&&(e=w(n,e+1)),e+1<n.length&&101==(32|n.charCodeAt(e))&&((l=n.charCodeAt(e+1))!==u&&l!==s||e+2<n.length&&(l=n.charCodeAt(e+2)),g(l)&&(e=w(n,e+2))),e},findEscapeEnd:C,findIdentifierEnd:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(92===t)e=C(n,e+1);else if(t<128&&o[t]===d)break}return e},findUrlRawEnd:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(92===t)e=C(n,e+1);else if(t<128&&1===r[t])break}return e}}},P6uZ:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("3fWJ"),o=t("VnD/"),r=t("t9fZ"),i=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(r.a)(1),t?Object(i.a)(e):Object(a.a)(function(){return new l.a}))}}},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.Identifier,r=l.Function,i=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.scanner.eat(i),this.scanner.tokenType===r?(e=(n=this.scanner.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.currentToken,0,0,!1,!1)),this.scanner.eat(a)):n=this.scanner.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.Identifier,r=l.Number,i=l.LeftParenthesis,a=l.RightParenthesis,u=l.Colon,s=l.Solidus;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.scanner.eat(i),this.scanner.skipSC(),n=this.scanner.consume(o),this.scanner.skipSC(),this.scanner.tokenType!==a){switch(this.scanner.eat(u),this.scanner.skipSC(),this.scanner.tokenType){case r:t=this.scanner.lookupType(1)===o?this.Dimension():this.scanner.lookupNonWSType(1)===s?this.Ratio():this.Number();break;case o:t=this.Identifier();break;default:this.scanner.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.scanner.eat(a),{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(")")}}},QGqX:function(n,e,t){"use strict";var l=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",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}();l.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"],l.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"],l.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"],l.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],l.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream"],e.FileType=l},QKsE:function(n,e,t){"use strict";var l=Object.prototype.hasOwnProperty,o=t("KcB0"),r=o.MATCH,i=o.MISMATCH,a=o.DISALLOW_EMPTY,u=1,s=2,d=3,c="Match",p="Mismatch",f="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",h=1e4,m=0;function v(n){return null===n||","===(n=n.value.charAt(n.value.length-1))||"("===n||"["===n||"/"===n}function g(n){return null===n||")"===(n=n.value.charAt(0))||"]"===n||"/"===n}function b(n,e,t){function o(){do{F=++O<n.length?n[O]:null}while(null!==F&&!/\S/.test(F.value))}function b(e){var t=O+e;return t<n.length?n[t]:null}function y(n){S={nextSyntax:n,matchStack:R,syntaxStack:x,prev:S}}function _(n){k={nextSyntax:n,matchStack:R,syntaxStack:x,thenStack:S,tokenCursor:O,token:F,prev:k}}function w(){return R={type:u,syntax:e.syntax,token:F,prev:R},o(),O>I&&(I=O),R.token}function C(){R=R.type===s?R.prev:{type:d,syntax:x.syntax,token:R.token,prev:R},x=x.prev}var x=null,S=null,k=null,E=0,T=c,R={type:"Stub",syntax:null,token:null,tokenCursor:-1,prev:null},I=0,O=-1,F=null;for(o();;){if(++E===h){console.warn("[csstree-match] BREAK after "+h+" iterations"),T=f;break}if(e!==r)if(e!==i)switch(e.type){case"MatchGraph":e=e.match;break;case"If":e.else!==i&&_(e.else),e.then!==r&&y(e.then),e=e.match;break;case"MatchOnce":e={type:"MatchOnceBuffer",terms:e.terms,all:e.all,matchStack:R,index:0,mask:0};break;case"MatchOnceBuffer":if(e.index===e.terms.length){if(e.matchStack===R){if(0===e.mask||e.all){e=i;break}e=r;break}e.index=0,e.matchStack=R}for(;e.index<e.terms.length;e.index++)if(0==(e.mask&1<<e.index)){_(e),y({type:"AddMatchOnce",buffer:e}),e=e.terms[e.index++];break}break;case"AddMatchOnce":var D=(e=e.buffer).mask|1<<e.index-1;if(D===(1<<e.terms.length)-1){e=r;continue}e={type:"MatchOnceBuffer",terms:e.terms,all:e.all,matchStack:e.matchStack,index:e.index,mask:D};break;case"Enum":-1!==(N=null!==F?F.value.toLowerCase():"").indexOf("\\")&&(N=N.replace(/\\[09].*$/,"")),e=l.call(e.map,N)?e.map[N]:i;break;case"Generic":e=e.fn(F,w,b)?r:i;break;case"Type":case"Property":x={syntax:e,prev:x},R={type:s,syntax:e.syntax,token:R.token,prev:R};var M="Type"===e.type?"types":"properties";if(!(e=l.call(t,M)&&t[M][e.name]?t[M][e.name].match:void 0))throw new Error("Bad syntax reference: "+("Type"===x.syntax.type?"<"+x.syntax.name+">":"<'"+x.syntax.name+"'>"));break;case"Keyword":var N=e.name;if(null!==F){var A=F.value;if(-1!==A.indexOf("\\")&&(A=A.replace(/\\[09].*$/,"")),A.toLowerCase()===N){w(),e=r;break}}e=i;break;case"AtKeyword":case"Function":if(null!==F&&F.value.toLowerCase()===e.name){w(),e=r;break}e=i;break;case"Token":if(null!==F&&F.value===e.value){w(),e=r;break}e=i;break;case"Comma":null!==F&&","===F.value?v(R.token)?e=i:(w(),e=g(F)?i:r):e=v(R.token)||g(F)?r:i;break;default:throw new Error("Unknown node type: "+e.type)}else{if(null===k){T=p;break}e=k.nextSyntax,S=k.thenStack,x=k.syntaxStack,R=k.matchStack,O=k.tokenCursor,F=k.token,k=k.prev}else{if(null===S){if(null!==F&&(O!==n.length-1||"\\0"!==F.value&&"\\9"!==F.value)){e=i;continue}T=c;break}if((e=S.nextSyntax)===a){if(S.matchStack.token===R.token){e=i;continue}e=r}for(;null!==x&&S.syntaxStack!==x;)C();S=S.prev}}if(m+=E,T===c)for(;null!==x;)C();else R=null;return{tokens:n,reason:T,iterations:E,match:R,longestMatch:I}}n.exports={matchAsList:function(n,e,t){var l=b(n,e,t||{});return null!==l.match&&(l.match=function(n,e){for(var t=[];n;)t.unshift((l=n).type===s||l.type===d?{type:l.type,syntax:l.syntax}:{syntax:l.syntax,token:l.token&&l.token.value,node:l.token&&l.token.node}),n=n.prev;var l;return t}(l.match).slice(1)),l},matchAsTree:function(n,e,t){var l=b(n,e,t||{});if(null===l.match)return l;for(var o=l.match,r=l.match={syntax:e.syntax||null,match:[]},i=[r],a=null,u=null;null!==o;)u=o.prev,o.prev=a,a=o,o=u;for(o=a.prev;null!==o&&null!==o.syntax;){var c=o;switch(c.type){case s:r.match.push(r={syntax:c.syntax,match:[]}),i.push(r);break;case d:i.pop(),r=i[i.length-1];break;default:r.match.push({syntax:c.syntax||null,token:c.token.value,node:c.token.node})}o=o.prev}return l},getTotalIterationCount:function(){return m}}},Qgas:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("dC0D"),o=t("AxiF"),r=t("HJBe"),i=t("y3By");function a(n,e){return arguments.length>=2?function(t){return Object(i.a)(Object(l.a)(n,e),Object(o.a)(1),Object(r.a)(e))(t)}:function(e){return Object(i.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"),r=t("zotm"),i=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(r.a)(o,t)),o}return l.__extends(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 i=Object(r.a)(this,n,l);!i||i.closed?this.closeBuffer(l):(i.context=l,this.add(i),t.add(i))},e}(i.a)},QtvL:function(n,e,t){var l=t("VvfH");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 r});var l=t("Qgas");function o(n,e,t){return 0===t?[e]:(n.push(e),n)}function r(){return Object(l.a)(o,[])}},RApX:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},Rney:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("T1DM"),o=t("MpAI"),r=t("gI3B");function i(n,e){return void 0===e&&(e=l.a),Object(o.a)(function(){return Object(r.a)(n,e)})}},S1nX:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("xlPZ"),o=t("yGWI"),r=t("K9Ia");function i(){return new r.b}function a(){return function(n){return Object(o.a)()(Object(l.a)(i)(n))}}},S5bw:function(n,e,t){"use strict";t.d(e,"a",function(){return d});var l=t("mrSG"),o=t("K9Ia"),r=t("zo3G"),i=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.__extends(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,r=l.length;if(this.closed)throw new u.a;if(this.isStopped||this.hasError?e=i.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<r&&!n.closed;d++)n.next(l[d]);else for(d=0;d<r&&!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||r.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var n=this._getNow(),e=this._bufferSize,t=this._windowTime,l=this._events,o=l.length,r=0;r<o&&!(n-l[r].time<t);)r++;return o>e&&(r=Math.max(r,o-e)),r>0&&l.splice(0,r),l},e}(o.b),c=function(){return function(n,e){this.time=n,this.value=e}}()},S6T7:function(n,e,t){var l=t("mrSG").__decorate,o=t("Ip0R"),r=t("CcnG"),i=t("pKD1"),a=t("5xlC"),u=function(){return function(){}}();u=l([r.NgModule({imports:[o.CommonModule],declarations:[i.FileDropDirective,a.FileSelectDirective],exports:[i.FileDropDirective,a.FileSelectDirective]})],u),e.FileUploadModule=u},STE7:function(n,e,t){var l=t("vd7W").TYPE,o=l.Identifier,r=l.Asterisk,i=l.VerticalLine;function a(){this.scanner.tokenType!==o&&this.scanner.tokenType!==r&&this.scanner.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.tokenType===i?(this.scanner.next(),a.call(this)):(a.call(this),this.scanner.tokenType===i&&(this.scanner.next(),a.call(this))),{type:"TypeSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.name)}}},SUog:function(n,e,t){"use strict";var l=t("Sety"),o=t("twQA"),r=o.TYPE,i=o.NAME,a=o.SYMBOL_TYPE,u=t("P3uw"),s=u.firstCharOffset,d=u.cmpStr,c=u.isNumber,p=u.findWhiteSpaceStart,f=u.findWhiteSpaceEnd,h=u.findCommentEnd,m=u.findStringEnd,v=u.findNumberEnd,g=u.findIdentifierEnd,b=u.findUrlRawEnd,y=r.WhiteSpace,_=r.Identifier,w=r.Number,C=r.String,x=r.Comment,S=r.Punctuator,k=r.CDO,E=r.CDC,T=r.AtKeyword,R=r.Function,I=r.Url,O=r.Raw,F=10,D=12,M=13,N=r.Asterisk,A=r.Solidus,P=r.FullStop,q=r.PlusSign,j=r.HyphenMinus,L=r.GreaterThanSign,V=r.LessThanSign,B=r.ExclamationMark,z=r.CommercialAt,U=r.QuotationMark,H=r.Apostrophe,Z=r.LeftParenthesis,W=r.RightParenthesis,G=r.LeftCurlyBracket,K=r.RightCurlyBracket,Y=r.LeftSquareBracket,$=r.RightSquareBracket,X=16384,Q="undefined"!=typeof Uint32Array?Uint32Array:Array;function J(n,e){var t=e.length,l=s(e),o=n.lines,r=n.startLine,i=n.columns,a=n.startColumn;(null===o||o.length<t+1)&&(o=new Q(Math.max(t+1024,X)),i=new Q(o.length));for(var u=l;u<t;u++){var d=e.charCodeAt(u);o[u]=r,i[u]=a++,d!==F&&d!==M&&d!==D||(d===M&&u+1<t&&e.charCodeAt(u+1)===F&&(o[++u]=r,i[u]=a),r++,a=1)}o[u]=r,i[u]=a,n.linesAnsColumnsComputed=!0,n.lines=o,n.columns=i}var nn=function(n,e,t,l){this.offsetAndType=null,this.balance=null,this.lines=null,this.columns=null,this.setSource(n,e,t,l)};nn.prototype={setSource:function(n,e,t,l){var o=String(n||""),r=s(o);this.source=o,this.firstCharOffset=r,this.startOffset=void 0===e?0:e,this.startLine=void 0===t?1:t,this.startColumn=void 0===l?1:l,this.linesAnsColumnsComputed=!1,this.eof=!1,this.currentToken=-1,this.tokenType=0,this.tokenStart=r,this.tokenEnd=r,function(n,e,t){var l=e.length,o=n.offsetAndType,i=n.balance,u=0,s=0,p=r,F=0,D=0,M=0,X=0;for((null===o||o.length<l+1)&&(o=new Q(l+1024),i=new Q(l+1024));p<l;){var J=e.charCodeAt(p),nn=J<128?a[J]:_;switch(i[u]=l,nn){case y:p=f(e,p+1);break;case S:switch(J){case D:for(D=(M=i[X=16777215&M])>>24,i[u]=X,i[X++]=u;X<u;X++)i[X]===l&&(i[X]=u);break;case Y:i[u]=M,M=(D=$)<<24|u;break;case G:i[u]=M,M=(D=K)<<24|u;break;case Z:i[u]=M,M=(D=W)<<24|u}if(J===N&&s===A){nn=x,p=h(e,p+1),u--;break}if(J===P&&(s===q||s===j)&&p+1<l&&c(e.charCodeAt(p+1))){nn=w,p=v(e,p+2,!1),u--;break}if(J===B&&s===V&&p+2<l&&e.charCodeAt(p+1)===j&&e.charCodeAt(p+2)===j){nn=k,p+=3,u--;break}if(J===j&&s===j&&p+1<l&&e.charCodeAt(p+1)===L){nn=E,p+=2,u--;break}if(J===Z&&s===_){p+=1,i[--u]=i[u+1],M--,p-F==4&&d(e,F,p,"url(")?(F=f(e,p),(J=e.charCodeAt(F))!==Z&&J!==W&&J!==U&&J!==H?(o[u++]=I<<24|p,i[u]=l,F!==p&&(o[u++]=y<<24|F,i[u]=l),nn=O,p=b(e,F)):nn=I):nn=R;break}nn=J,p+=1;break;case w:p=v(e,p+1,s!==P),s!==P&&s!==j&&s!==q||u--;break;case C:p=m(e,p+1,J);break;default:F=p,p=g(e,p),s===j&&(s=0==--u?0:o[u-1]>>24),s===z&&(u--,nn=T)}o[u++]=nn<<24|p,s=nn}for(o[u]=p,i[u]=l,i[l]=l;0!==M;)M=i[X=16777215&M],i[X]=l;n.offsetAndType=o,n.tokenCount=u,n.balance=i}(this,o),this.next()},lookupType:function(n){return(n+=this.currentToken)<this.tokenCount?this.offsetAndType[n]>>24:0},lookupNonWSType:function(n){n+=this.currentToken;for(var e;n<this.tokenCount;n++)if((e=this.offsetAndType[n]>>24)!==y)return e;return 0},lookupValue:function(n,e){return(n+=this.currentToken)<this.tokenCount&&d(this.source,16777215&this.offsetAndType[n-1],16777215&this.offsetAndType[n],e)},getTokenStart:function(n){return n===this.currentToken?this.tokenStart:n>0?n<this.tokenCount?16777215&this.offsetAndType[n-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset},getOffsetExcludeWS:function(){return this.currentToken>0&&this.offsetAndType[this.currentToken-1]>>24===y?this.currentToken>1?16777215&this.offsetAndType[this.currentToken-2]:this.firstCharOffset:this.tokenStart},getRawLength:function(n,e,t,l){var o,r=n;n:for(;r<this.tokenCount&&!((o=this.balance[r])<n);r++)switch(this.offsetAndType[r]>>24){case e:break n;case t:l&&r++;break n;default:this.balance[o]===r&&(r=o)}return r-this.currentToken},isBalanceEdge:function(n){return this.balance[this.currentToken]<n},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},substrToCursor:function(n){return this.source.substring(n,this.tokenStart)},skipWS:function(){for(var n=this.currentToken,e=0;n<this.tokenCount&&this.offsetAndType[n]>>24===y;n++,e++);e>0&&this.skip(e)},skipSC:function(){for(;this.tokenType===y||this.tokenType===x;)this.next()},skip:function(n){var e=this.currentToken+n;e<this.tokenCount?(this.currentToken=e,this.tokenStart=16777215&this.offsetAndType[e-1],this.tokenType=(e=this.offsetAndType[e])>>24,this.tokenEnd=16777215&e):(this.currentToken=this.tokenCount,this.next())},next:function(){var n=this.currentToken+1;n<this.tokenCount?(this.currentToken=n,this.tokenStart=this.tokenEnd,this.tokenType=(n=this.offsetAndType[n])>>24,this.tokenEnd=16777215&n):(this.currentToken=this.tokenCount,this.eof=!0,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)},eat:function(n){if(this.tokenType!==n){var e=this.tokenStart,t=i[n]+" is expected";n===_?this.tokenType!==R&&this.tokenType!==I||(e=this.tokenEnd-1,t+=" but function found"):this.source.charCodeAt(this.tokenStart)===n&&(e+=1),this.error(t,e)}this.next()},eatNonWS:function(n){this.skipWS(),this.eat(n)},consume:function(n){var e=this.getTokenValue();return this.eat(n),e},consumeFunctionName:function(){var n=this.source.substring(this.tokenStart,this.tokenEnd-1);return this.eat(R),n},consumeNonWS:function(n){return this.skipWS(),this.consume(n)},expectIdentifier:function(n){this.tokenType===_&&!1!==d(this.source,this.tokenStart,this.tokenEnd,n)||this.error("Identifier `"+n+"` is expected"),this.next()},getLocation:function(n,e){return this.linesAnsColumnsComputed||J(this,this.source),{source:e,offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}},getLocationRange:function(n,e,t){return this.linesAnsColumnsComputed||J(this,this.source),{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]}}},error:function(n,e){var t=this.getLocation(void 0!==e&&e<this.source.length?e:this.eof?p(this.source,this.source.length-1):this.tokenStart);throw new l(n||"Unexpected input",this.source,t.offset,t.line,t.column)},dump:function(){var n=0;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)}},nn.CssSyntaxError=l,Object.keys(o).forEach(function(n){nn[n]=o[n]}),Object.keys(u).forEach(function(n){nn[n]=u[n]}),new nn("\n\r\r\n\f\x3c!----\x3e//\"\"''/*\r\n\f*/1a;.\\31\t+2{url(a);func();+1.2e3 -.4e-5 .6e+7}").getLocation(),n.exports=nn},Sety:function(n,e,t){"use strict";var l=t("XDwu"),o=100,r=60,i=" ";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+=(i.length-1)*(l[a-1].substr(0,u-1).match(/\t/g)||[]).length)>o&&(p=u-r+3,u=r-2);for(var f=s;f<=d;f++)f>=0&&f<l.length&&(l[f]=l[f].replace(/\t/g,i),l[f]=(p>0&&l[f].length>p?"\u2026":"")+l[f].substr(p,o-2)+(l[f].length>p+o-1?"\u2026":""));return[t(s,a),new Array(u+c+2).join("-")+"^",t(a,d)].filter(Boolean).join("\n")}n.exports=function(n,e,t,o,r){var i=l("CssSyntaxError",n);return i.source=e,i.offset=t,i.line=o,i.column=r,i.sourceFragment=function(n){return a(i,isNaN(n)?0:n)},Object.defineProperty(i,"formattedMessage",{get:function(){return"Parse error: "+i.message+"\n"+a(i,2)}}),i.parseError={offset:t,line:o,column:r},i}},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")),r=t("MGBS"),i=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.__extends(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 i.a(this,void 0,void 0);this.destination.add(e),Object(a.a)(this,n,void 0,void 0,e)}else this.destination.complete()},e}(r.a)},TTsC:function(n,e,t){var l=t("Oak9"),o=t("7WHS"),r=t("IiZa").ArraySet,i=t("ckQ4").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 r,this._names=new r,this._mappings=new i,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(e){var l=n.sourceContentFor(e);null!=l&&t.setSourceContent(e,l)}),t},a.prototype.addMapping=function(n){var e=o.getArg(n,"generated"),t=o.getArg(n,"original",null),l=o.getArg(n,"source",null),r=o.getArg(n,"name",null);this._skipValidation||this._validateMapping(e,t,l,r),null!=l&&(l=String(l),this._sources.has(l)||this._sources.add(l)),null!=r&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:null!=t&&t.line,originalColumn:null!=t&&t.column,source:l,name:r})},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 i=this._sourceRoot;null!=i&&(l=o.relative(i,l));var a=new r,u=new r;this._mappings.unsortedForEach(function(e){if(e.source===l&&null!=e.originalLine){var r=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=r.source&&(e.source=r.source,null!=t&&(e.source=o.join(t,e.source)),null!=i&&(e.source=o.relative(i,e.source)),e.originalLine=r.line,e.originalColumn=r.column,null!=r.name&&(e.name=r.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!=i&&(e=o.relative(i,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,r,i=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(i=0;e.generatedLine!==a;)n+=";",a++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(e,f[h-1]))continue;n+=","}n+=l.encode(e.generatedColumn-i),i=e.generatedColumn,null!=e.source&&(r=this._sources.indexOf(e.source),n+=l.encode(r-c),c=r,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},TefO:function(n,e,t){n.exports={getNode:t("7GzS")}},Tnl3:function(n,e,t){var l=t("vd7W").isHex,o=t("vd7W").TYPE,r=o.Identifier,i=o.Number,a=o.PlusSign,u=o.HyphenMinus,s=o.FullStop,d=o.QuestionMark;n.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return this.scanner.next(),function(n){var e=n.tokenStart+1,t=0;n:{if(n.tokenType===i){if(n.source.charCodeAt(n.tokenStart)!==s&&function(n){for(var e=n.tokenStart+1;e<n.tokenEnd;e++){var t=n.source.charCodeAt(e);if(t===s||t===a)return n.tokenStart=e,!1}return!0}(n))n.next();else if(n.source.charCodeAt(n.tokenStart)!==u)break n}else n.next();n.tokenType===u&&n.next(),n.tokenType===i&&n.next(),n.tokenType===r&&n.next(),n.tokenStart===e&&n.error("Unexpected input",e)}for(var o=e,c=!1;o<n.tokenStart;o++){var p=n.source.charCodeAt(o);!1!==l(p)||p===u&&!c||n.error("Unexpected input",o),p===u?(0===t&&n.error("Unexpected input",o),c=!0,t=0):++t>6&&n.error("Too long hex sequence",o)}if(0===t&&n.error("Unexpected input",o-1),!c)for(;t<6&&!n.eof&&n.tokenType===d;n.next())t++}(this.scanner),{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.scanner.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)}},UGdY:function(n,e,t){"use strict";var l=t("3lFr").SourceMapGenerator,o={Atrule:!0,Selector:!0,Declaration:!0};n.exports=function(n){var e=new l,t=1,r=0,i={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,i.line=t,i.column=r,u&&(u=!1,i.line===s.line&&i.column===s.column||e.addMapping(d)),u=!0,e.addMapping({source:n.loc.source,original:a,generated:i}))}c.call(this,n),u&&o.hasOwnProperty(n.type)&&(s.line=t,s.column=r)};var p=n.chunk;n.chunk=function(n){for(var e=0;e<n.length;e++)10===n.charCodeAt(e)?(t++,r=0):r++;p(n)};var f=n.result;return n.result=function(){return u&&e.addMapping(d),{css:f(),map:e}},n}},UpIn:function(n,e,t){"use strict";var l=t("CcnG"),o=t("oQam"),r=t("b6v0"),i=t("QGqX");e.FileUploader=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 l.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){for(var l=this,i=[],a=0,u=n;a<u.length;a++)i.push(u[a]);var s=this._getFilters(t),d=this.queue.length,c=[];i.map(function(n){e||(e=l.options);var t=new o.FileLikeObject(n);if(l._isValidFile(t,s,e)){var i=new r.FileItem(l,n,e);c.push(i),l.queue.push(i),l._onAfterAddingFile(i)}else l._onWhenAddingFileFailed(t,s[l._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 o.FileLikeObject},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(i.FileType.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=this,l=this,o=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)e=this.options.formatDataFunction(n);else{e=new FormData,this._onBuildItemForm(n,e);var r=function(){return e.append(n.alias,n._file,n.file.name)};this.options.parametersBeforeFiles||r(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(l){var o=t.options.additionalParameter[l];"string"==typeof o&&o.indexOf("{{file_name}}")>=0&&(o=o.replace("{{file_name}}",n.file.name)),e.append(l,o)}),this.options.parametersBeforeFiles&&r()}if(o.upload.onprogress=function(e){var l=Math.round(e.lengthComputable?100*e.loaded/e.total:0);t._onProgressItem(n,l)},o.onload=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e),r=t._isSuccessCode(o.status)?"Success":"Error";t["_on"+r+"Item"](n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.onerror=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e);t._onErrorItem(n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.onabort=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e);t._onCancelItem(n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.open(n.method,n.url,!0),o.withCredentials=n.withCredentials,this.options.headers)for(var i=0,a=this.options.headers;i<a.length;i++)o.setRequestHeader((d=a[i]).name,d.value);if(n.headers.length)for(var u=0,s=n.headers;u<s.length;u++){var d;o.setRequestHeader((d=s[u]).name,d.value)}this.authToken&&o.setRequestHeader(this.authTokenHeader,this.authToken),o.onreadystatechange=function(){o.readyState==XMLHttpRequest.DONE&&l.response.emit(o.responseText)},this.options.formatDataFunctionIsAsync?e.then(function(n){return o.send(JSON.stringify(n))}):o.send(e),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}()},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,r=this.scanner.consumeFunctionName(),i=r.toLowerCase();return t=e.hasOwnProperty(i)?e[i].call(this,e):n.call(this,e),this.scanner.eof||this.scanner.eat(l),{type:"Function",loc:this.getLocation(o,this.scanner.tokenStart),name:r,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})},VNr4:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("6blF"),o=t("isby"),r=t("67Y/"),i=t("McSo"),a=t("zrt+"),u=t("0/uQ");function s(){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 d(t,null);if(Object(i.a)(t)&&!Object(a.a)(t)){var l=Object.keys(t);return d(l.map(function(n){return t[n]}),l)}}if("function"==typeof n[n.length-1]){var u=n.pop();return d(n=1===n.length&&Object(o.a)(n[0])?n[0]:n,null).pipe(Object(r.a)(function(n){return u.apply(void 0,n)}))}return d(n,null)}function d(n,e){return new l.a(function(t){var l=n.length;if(0!==l)for(var o=new Array(l),r=0,i=0,a=function(a){var s=Object(u.a)(n[a]),d=!1;t.add(s.subscribe({next:function(n){d||(d=!0,i++),o[a]=n},error:function(n){return t.error(n)},complete:function(){++r!==l&&d||(i===l&&t.next(e?e.reduce(function(n,e,t){return n[e]=o[t],n},{}):o),t.complete())}}))},s=0;s<l;s++)a(s);else t.complete()})}},VQ2P:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=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.__extends(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,r=l.RightParenthesis;n.exports={name:"Parentheses",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.scanner.eat(o),t=n.call(this,e),this.scanner.eof||this.scanner.eat(r),{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 r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=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.__extends(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)},VvfH:function(n,e,t){"use strict";function l(n){return{prev:null,next:null,data:n}}function o(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 r(n){var e=n.cursor;n.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=i,i=e}var i=null,a=function(){this.cursor=null,this.head=null,this.tail=null};a.createItem=l,a.prototype.createItem=l,a.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},a.prototype.getSize=function(){for(var n=0,e=this.head;e;)n++,e=e.next;return n},a.prototype.fromArray=function(n){var e=null;this.head=null;for(var t=0;t<n.length;t++){var o=l(n[t]);null!==e?e.next=o:this.head=o,o.prev=e,e=o}return this.tail=e,this},a.prototype.toJSON=a.prototype.toArray=function(){for(var n=this.head,e=[];n;)e.push(n.data),n=n.next;return e},a.prototype.isEmpty=function(){return null===this.head},a.prototype.first=function(){return this.head&&this.head.data},a.prototype.last=function(){return this.tail&&this.tail.data},a.prototype.forEach=a.prototype.each=function(n,e){var t;void 0===e&&(e=this);for(var l=o(this,null,this.head);null!==l.next;)l.next=(t=l.next).next,n.call(e,t.data,t,this);r(this)},a.prototype.forEachRight=a.prototype.eachRight=function(n,e){var t;void 0===e&&(e=this);for(var l=o(this,this.tail,null);null!==l.prev;)l.prev=(t=l.prev).prev,n.call(e,t.data,t,this);r(this)},a.prototype.nextUntil=function(n,e,t){if(null!==n){var l;void 0===t&&(t=this);for(var i=o(this,null,n);null!==i.next&&(i.next=(l=i.next).next,!e.call(t,l.data,l,this)););r(this)}},a.prototype.prevUntil=function(n,e,t){if(null!==n){var l;void 0===t&&(t=this);for(var i=o(this,n,null);null!==i.prev&&(i.prev=(l=i.prev).prev,!e.call(t,l.data,l,this)););r(this)}},a.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},a.prototype.map=function(n,e){var t=new a,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},a.prototype.filter=function(n,e){var t=new a,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},a.prototype.clear=function(){this.head=null,this.tail=null},a.prototype.copy=function(){for(var n=new a,e=this.head;null!==e;)n.insert(l(e.data)),e=e.next;return n},a.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},a.prototype.prependData=function(n){return this.prepend(l(n))},a.prototype.append=function(n){return this.insert(n)},a.prototype.appendData=function(n){return this.insert(l(n))},a.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},a.prototype.insertData=function(n,e){return this.insert(l(n),e)},a.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},a.prototype.push=function(n){this.insert(l(n))},a.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},a.prototype.unshift=function(n){this.prepend(l(n))},a.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},a.prototype.prependList=function(n){return this.insertList(n,this.head)},a.prototype.appendList=function(n){return this.insertList(n)},a.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)},a.prototype.replace=function(n,e){"head"in e?this.insertList(e,n):this.insert(e,n),this.remove(n)},n.exports=a},W0Ae:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("isby"),r=t("IUTb"),i=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(r.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.__extends(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 r=0;r<this.subscriptions.length;r++)if(r!==t){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(i.a)},"W1+X":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("K9Ia"),o=t("xlPZ");function r(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"),r=t("6blF"),i=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.__extends(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}(i.a),c=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subscriptionDelay=t,l}return l.__extends(e,n),e.prototype._subscribe=function(n){this.subscriptionDelay.subscribe(new p(n,this.source))},e}(r.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.__extends(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"),r=t("MGBS"),i=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(i.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.__extends(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}(r.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(r,0,{error:n,subscriber:t})}:function(e){return e.error(n)})}function r(n){n.subscriber.error(n.error)}},XtUT:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG");t("oVTH"),e.CheatSheetComponent=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},n.decorators=[{type:l.Component,args:[{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>'}]}],n.propDecorators={title:[{type:l.Input}]},n}()},"Y+H1":function(n,e,t){var l=t("vd7W").TYPE,o=l.Asterisk,r=l.Solidus;n.exports={name:"Comment",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=this.scanner.tokenEnd;return e-n+2>=2&&this.scanner.source.charCodeAt(e-2)===o&&this.scanner.source.charCodeAt(e-1)===r&&(e-=2),this.scanner.next(),{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("VvfH"),o=Object.prototype.hasOwnProperty;function r(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n&&n>=0}function i(n){return Boolean(n)&&r(n.offset)&&r(n.line)&&r(n.column)}function a(n,e){return function(t,r){if(!t||t.constructor!==Object)return r(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&&r(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(i(t.loc.start)){if(i(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 r(t,"Unknown field `"+a+"` for "+n+" node type");u||r(t,"Bad value for `"+n+"."+a+"`")}}for(var a in e)o.call(e,a)&&!1===o.call(t,a)&&r(t,"Field `"+n+"."+a+"` is missed")}}function u(n,e){var t=e.structure,l={type:String,loc:!0},r={type:'"'+n+'"'};for(var i in t)if(!1!==o.call(t,i)){for(var u=[],s=l[i]=Array.isArray(t[i])?t[i].slice():[t[i]],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+"."+i+"` structure definition");u.push("List")}}r[i]=u.join(" | ")}return{docs:r,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}}},YNBZ:function(n,e,t){"use strict";function l(n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}l(t("5xlC")),l(t("pKD1")),l(t("UpIn")),l(t("b6v0")),l(t("oQam"));var o=t("S6T7");e.FileUploadModule=o.FileUploadModule},ZVk9:function(n,e,t){var l=t("vd7W").TYPE,o=l.String,r=l.Url,i=l.Raw,a=l.RightParenthesis;n.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var n,e=this.scanner.tokenStart;switch(this.scanner.eat(r),this.scanner.skipSC(),this.scanner.tokenType){case o:n=this.String();break;case i:n=this.Raw(this.scanner.currentToken,0,i,!0,!1);break;default:this.scanner.error("String or Raw is expected")}return this.scanner.skipSC(),this.scanner.eat(a),{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 r});var l=t("psW0"),o=t("mChF");function r(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"),r=t("MGBS"),i=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.__extends(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=this.errors,l=this.retries,r=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)}r=Object(i.a)(this,l)}this._unsubscribeAndRecycle(),this.errors=t,this.retries=l,this.retriesSubscription=r,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 r=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=r,this.source.subscribe(this)},e}(r.a)},a3y9:function(n,e){n.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.currentToken,0,0,!1,!1))}},aGNc:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=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.__extends(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.scanner.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 r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=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.__extends(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"),r=t("DaYz"),i=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"),y=t("Phjn"),_=t("dDXr"),w=t("6Dj2"),C=t("bWpG"),x=t("Gi3i"),S=t("HJBe"),k=t("vubp"),E=t("WbdR"),T=t("41IB"),R=t("ou9H"),I=t("ad02"),O=t("Cr8c"),F=t("MPaf");function D(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return v.a.apply(void 0,[e].concat(n))}}var M=t("zAZS"),N=t("31qQ"),A=t("6V3w"),P=t("sLa7"),q=t("VnD/"),j=t("2WpN"),L=t("NKZO"),V=t("VYim"),B=t("P6uZ"),z=t("IxPp"),U=t("DKLv"),H=t("igQg"),Z=t("w1EH"),W=t("67Y/"),G=t("aGNc"),K=t("uW6F"),Y=t("mcCJ"),$=t("p0ib");function X(){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 Q=t("Zn8D"),J=t("psW0"),nn=t("j0HV"),en=t("lA9V"),tn=t("gAJb"),ln=t("xlPZ"),on=t("mZXl"),rn=t("TJrj"),an=t("qyHS"),un=t("h+56"),sn=t("FYXD"),dn=t("W1+X"),cn=t("3J/R"),pn=t("kR3u"),fn=t("s4kO"),hn=t("p33S"),mn=t("Qgas"),vn=t("Nzu2"),gn=t("tMwf"),bn=t("5tAl"),yn=t("ZqrO"),_n=t("yGWI"),wn=t("wDBO"),Cn=t("/ojb"),xn=t("dC0D"),Sn=t("wjTF"),kn=t("S1nX"),En=t("klSw"),Tn=t("ujTQ"),Rn=t("0mNj"),In=t("14Nl"),On=t("0GsU"),Fn=t("VQ2P"),Dn=t("p0Sj"),Mn=t("9dfq"),Nn=t("KAzf"),An=t("15JJ"),Pn=t("zQHH"),qn=t("t9fZ"),jn=t("AxiF"),Ln=t("ny24"),Vn=t("jvbL"),Bn=t("xMyE"),zn=t("+gEr"),Un=t("AJqF"),Hn=t("tNVB"),Zn=t("6wkY"),Wn=t("0zd0"),Gn=t("ceCD"),Kn=t("5IO1"),Yn=t("R+r5"),$n=t("Wnek"),Xn=t("e5mD"),Qn=t("lxKu"),Jn=t("K3ba"),ne=t("MysU"),ee=t("/PH2"),te=t("909l");function le(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(te.b.apply(void 0,[e].concat(n)))}}var oe=t("br6f");t.d(e,"audit",function(){return l.a}),t.d(e,"auditTime",function(){return o.a}),t.d(e,"buffer",function(){return r.a}),t.d(e,"bufferCount",function(){return i.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 y.a}),t.d(e,"concatMapTo",function(){return _.a}),t.d(e,"count",function(){return w.a}),t.d(e,"debounce",function(){return C.a}),t.d(e,"debounceTime",function(){return x.a}),t.d(e,"defaultIfEmpty",function(){return S.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 O.a}),t.d(e,"elementAt",function(){return F.a}),t.d(e,"endWith",function(){return D}),t.d(e,"every",function(){return M.a}),t.d(e,"exhaust",function(){return N.a}),t.d(e,"exhaustMap",function(){return A.a}),t.d(e,"expand",function(){return P.a}),t.d(e,"filter",function(){return q.a}),t.d(e,"finalize",function(){return j.a}),t.d(e,"find",function(){return L.b}),t.d(e,"findIndex",function(){return V.a}),t.d(e,"first",function(){return B.a}),t.d(e,"groupBy",function(){return z.b}),t.d(e,"ignoreElements",function(){return U.a}),t.d(e,"isEmpty",function(){return H.a}),t.d(e,"last",function(){return Z.a}),t.d(e,"map",function(){return W.a}),t.d(e,"mapTo",function(){return G.a}),t.d(e,"materialize",function(){return K.a}),t.d(e,"max",function(){return Y.a}),t.d(e,"merge",function(){return X}),t.d(e,"mergeAll",function(){return Q.a}),t.d(e,"mergeMap",function(){return J.a}),t.d(e,"flatMap",function(){return J.a}),t.d(e,"mergeMapTo",function(){return nn.a}),t.d(e,"mergeScan",function(){return en.a}),t.d(e,"min",function(){return tn.a}),t.d(e,"multicast",function(){return ln.a}),t.d(e,"observeOn",function(){return on.b}),t.d(e,"onErrorResumeNext",function(){return rn.a}),t.d(e,"pairwise",function(){return an.a}),t.d(e,"partition",function(){return un.a}),t.d(e,"pluck",function(){return sn.a}),t.d(e,"publish",function(){return dn.a}),t.d(e,"publishBehavior",function(){return cn.a}),t.d(e,"publishLast",function(){return pn.a}),t.d(e,"publishReplay",function(){return fn.a}),t.d(e,"race",function(){return hn.a}),t.d(e,"reduce",function(){return mn.a}),t.d(e,"repeat",function(){return vn.a}),t.d(e,"repeatWhen",function(){return gn.a}),t.d(e,"retry",function(){return bn.a}),t.d(e,"retryWhen",function(){return yn.a}),t.d(e,"refCount",function(){return _n.a}),t.d(e,"sample",function(){return wn.a}),t.d(e,"sampleTime",function(){return Cn.a}),t.d(e,"scan",function(){return xn.a}),t.d(e,"sequenceEqual",function(){return Sn.a}),t.d(e,"share",function(){return kn.a}),t.d(e,"shareReplay",function(){return En.a}),t.d(e,"single",function(){return Tn.a}),t.d(e,"skip",function(){return Rn.a}),t.d(e,"skipLast",function(){return In.a}),t.d(e,"skipUntil",function(){return On.a}),t.d(e,"skipWhile",function(){return Fn.a}),t.d(e,"startWith",function(){return Dn.a}),t.d(e,"subscribeOn",function(){return Mn.a}),t.d(e,"switchAll",function(){return Nn.a}),t.d(e,"switchMap",function(){return An.a}),t.d(e,"switchMapTo",function(){return Pn.a}),t.d(e,"take",function(){return qn.a}),t.d(e,"takeLast",function(){return jn.a}),t.d(e,"takeUntil",function(){return Ln.a}),t.d(e,"takeWhile",function(){return Vn.a}),t.d(e,"tap",function(){return Bn.a}),t.d(e,"throttle",function(){return zn.b}),t.d(e,"throttleTime",function(){return Un.a}),t.d(e,"throwIfEmpty",function(){return Hn.a}),t.d(e,"timeInterval",function(){return Zn.a}),t.d(e,"timeout",function(){return Wn.a}),t.d(e,"timeoutWith",function(){return Gn.a}),t.d(e,"timestamp",function(){return Kn.a}),t.d(e,"toArray",function(){return Yn.a}),t.d(e,"window",function(){return $n.a}),t.d(e,"windowCount",function(){return Xn.a}),t.d(e,"windowTime",function(){return Qn.a}),t.d(e,"windowToggle",function(){return Jn.a}),t.d(e,"windowWhen",function(){return ne.a}),t.d(e,"withLatestFrom",function(){return ee.a}),t.d(e,"zip",function(){return le}),t.d(e,"zipAll",function(){return oe.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";function l(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}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},b6v0:function(n,e,t){"use strict";var l=t("oQam");e.FileItem=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 l.FileLikeObject(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}()},b7Yd:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("T1DM"),r=t("FFOo"),i=t("nkY7");function a(n){var e=arguments.length,t=o.a;Object(i.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],e--);var l=null;e>=2&&(l=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new u(n,l,r,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,r){var i=n.call(this,e)||this;i.bufferTimeSpan=t,i.bufferCreationInterval=l,i.maxBufferSize=o,i.scheduler=r,i.contexts=[];var a=i.openContext();if(i.timespanOnly=null==l||l<0,i.timespanOnly)i.add(a.closeAction=r.schedule(c,t,{subscriber:i,context:a,bufferTimeSpan:t}));else{var u={bufferTimeSpan:t,bufferCreationInterval:l,subscriber:i,scheduler:r};i.add(a.closeAction=r.schedule(f,t,{subscriber:i,context:a})),i.add(r.schedule(p,l,u))}return i}return l.__extends(e,n),e.prototype._next=function(n){for(var e,t=this.contexts,l=t.length,o=0;o<l;o++){var r=t[o],i=r.buffer;i.push(n),i.length==this.maxBufferSize&&(e=r)}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}(r.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,r=l.openContext();l.closed||(l.add(r.closeAction=o.schedule(f,t,{subscriber:l,context:r})),this.schedule(n,e))}function f(n){n.subscriber.closeContext(n.context)}},b7mW:function(n,e,t){"use strict";function l(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},bWpG:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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.__extends(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(r.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){"use strict";var l=t("VvfH");n.exports=function n(e){var t={};for(var o in e){var r=e[o];r&&(Array.isArray(r)||r instanceof l?r=r.map(n):r.constructor===Object&&(r=n(r))),t[o]=r}return t}},bne5:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("isby"),r=t("2Bdj"),i=t("67Y/");function a(n,e,t,u){return Object(r.a)(t)&&(u=t,t=void 0),u?a(n,e,t).pipe(Object(i.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,r){var i;if(function(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(e)){var a=e;e.addEventListener(t,l,r),i=function(){return a.removeEventListener(t,l,r)}}else if(function(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(e)){var u=e;e.on(t,l),i=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),i=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,r)}o.add(i)}(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,r=l.Identifier,i=l.Url,a=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 i:n.push(this.Url());break;default:this.scanner.error("String or url() is expected")}return this.scanner.lookupNonWSType(0)!==r&&this.scanner.lookupNonWSType(0)!==a||(n.push(this.WhiteSpace()),n.push(this.MediaQueryList())),n},block:null}}},cWdd:function(n,e,t){var l=t("uZ+w"),o=9,r=10,i=12,a=13,u=32,s=33,d=35,c=38,p=39,f=40,h=41,m=42,v=43,g=44,b=60,y=62,_=63,w=64,C=91,x=93,S=123,k=124,E=125,T=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}(),R={" ":1,"&&":2,"||":3,"|":4};function I(n){return n.substringToPos(n.findWsEnd(n.pos+1))}function O(n){for(var e=n.pos;e<n.str.length;e++){var t=n.str.charCodeAt(e);if(t>=128||0===T[t])break}return n.pos===e&&n.error("Expect a keyword"),n.substringToPos(e)}function F(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 D(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 M(n){var e,t=null;return n.eat(S),e=F(n),n.charCode()===g?(n.pos++,n.charCode()!==E&&(t=F(n))):t=e,n.eat(E),{min:Number(e),max:t?Number(t):0}}function N(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 _:n.pos++,e={min:0,max:1};break;case d:n.pos++,t=!0,e=n.charCode()===S?M(n):{min:1,max:0};break;case S:e=M(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 A(n){var e=n.peek();return""===e?null:{type:"Token",value:e}}function P(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 R[n]-R[e]});e.length>0;){for(var l=e.shift(),o=0,r=0;o<n.length;o++){var i=n[o];"Combinator"===i.type&&(i.value===l?(-1===r&&(r=o-1),n.splice(o,1),o--):(-1!==r&&o-r>1&&(n.splice(r,o-r,t(n.slice(r,o),l)),o=r+1),r=-1))}-1!==r&&e.length&&n.splice(r,o-r,t(n.slice(r,o),l))}return l}function q(n){for(var e,t=[],l={},o=null,r=n.pos;e=j(n);)"Spaces"!==e.type&&("Combinator"===e.type?(null!==o&&"Combinator"!==o.type||(n.pos=r,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,r=n.pos);return null!==o&&"Combinator"===o.type&&(n.pos-=r,n.error("Unexpected combinator")),{type:"Group",terms:t,combinator:P(t,l)||" ",disallowEmpty:!1,explicit:!1}}function j(n){var e=n.charCode();if(e<128&&1===T[e])return function(n){var e;return e=O(n),n.charCode()===f?(n.pos++,{type:"Function",name:e}):N(n,{type:"Keyword",name:e})}(n);switch(e){case x:break;case C:return N(n,function(n){var e;return n.eat(C),e=q(n),n.eat(x),e.explicit=!0,n.charCode()===s&&(n.pos++,e.disallowEmpty=!0),e}(n));case b:return n.nextCharCode()===p?function(n){var e;return n.eat(b),n.eat(p),e=O(n),n.eat(p),n.eat(y),N(n,{type:"Property",name:e})}(n):function(n){var e;return n.eat(b),e=O(n),n.charCode()===f&&n.nextCharCode()===h&&(n.pos+=2,e+="()"),n.eat(y),N(n,{type:"Type",name:e})}(n);case k:return{type:"Combinator",value:n.substringToPos(n.nextCharCode()===k?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 N(n,{type:"String",value:D(n)});case u:case o:case r:case a:case i:return{type:"Spaces",value:I(n)};case w:return(e=n.nextCharCode())<128&&1===T[e]?(n.pos++,{type:"AtKeyword",name:O(n)}):A(n);case m:case v:case _:case d:case s:break;case S:if((e=n.nextCharCode())<48||e>57)return A(n);break;default:return A(n)}}function L(n){var e=new l(n),t=q(e);return e.pos!==n.length&&e.error("Unexpected input"),1===t.terms.length&&"Group"===t.terms[0].type&&(t=t.terms[0]),t}L("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),n.exports=L},ceCD:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("T1DM"),r=t("VGuC"),i=t("MGBS"),a=t("zotm");function u(n,e,t){return void 0===t&&(t=o.a),function(l){var o=Object(r.a)(n),i=o?+n-t.now():Math.abs(n);return l.lift(new s(i,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,r){var i=n.call(this,e)||this;return i.absoluteTimeout=t,i.waitFor=l,i.withObservable=o,i.scheduler=r,i.action=null,i.scheduleTimeout(),i}return l.__extends(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}(i.a)},ckQ4:function(n,e,t){var l=t("7WHS");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,r;(r=(t=n).generatedLine)>(o=(e=this._last).generatedLine)||r==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},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,o=l.Identifier,r=l.NumberSign;n.exports={name:"IdSelector",structure:{name:String},parse:function(){return this.scanner.eat(r),{type:"IdSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.scanner.consume(o)}},generate:function(n){this.chunk("#"),this.chunk(n.name)}}},dC0D:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){var t=!1;return arguments.length>=2&&(t=!0),function(l){return l.lift(new i(n,e,t))}}var i=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 r=n.call(this,e)||this;return r.accumulator=t,r._seed=l,r.hasSeed=o,r.index=0,r}return l.__extends(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 r});var l=t("F/XL"),o=t("Txjg");function r(){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"),r=t("isby"),i=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(r.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.__extends(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 r=this.values,i=this.toRespond?r[t]===s?--this.toRespond:this.toRespond:0;r[t]=e,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.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}(i.a)},e1rG:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=l.Comment,i=l.Semicolon;function a(n){return this.Raw(n,0,i,!0,!0)}n.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var n=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case o:case r:case i:this.scanner.next();break;default:n.push(this.parseWithFallback(this.Declaration,a))}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 i});var l=t("mrSG"),o=t("FFOo"),r=t("K9Ia");function i(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 r.b],o.count=0,e.next(o.windows[0]),o}return l.__extends(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,i=o.length,a=0;a<i&&!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 r.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)}}}},emHa:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("6blF"),o=t("svcd"),r=t("67Y/"),i=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(r.a)(function(n){return Object(u.a)(n)?e.apply(void 0,n):e(n)}))};t=e}return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a={subject:void 0,args:e,callbackFunc:n,scheduler:t,context:this};return new l.a(function(l){var r=a.context,u=a.subject;if(t)return t.schedule(d,0,{params:a,subscriber:l,context:r});if(!u){u=a.subject=new o.a;try{n.apply(r,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(i.a)(u)?u.error(s):console.warn(s)}}return u.subscribe(l)})}}function d(n){var e=this,t=n.params,l=n.subscriber,r=n.context,i=t.callbackFunc,a=t.args,u=t.scheduler,s=t.subject;if(!s){s=t.subject=new o.a;try{i.apply(r,a.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var l=n.shift();e.add(l?u.schedule(p,0,{err:l,subject:s}):u.schedule(c,0,{value:n.length<=1?n[0]:n,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))}}},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,r=l.RightSquareBracket;n.exports={name:"Brackets",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.scanner.eat(o),t=n.call(this,e),this.scanner.eof||this.scanner.eat(r),{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"),r=t("/21U"),i=t("nkY7");function a(n,e,t){void 0===n&&(n=0);var a=-1;return Object(r.a)(e)?a=Number(e)<1?1:Number(e):Object(i.a)(e)&&(t=e),Object(i.a)(t)||(t=o.a),new l.a(function(e){var l=Object(r.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,o=l.Identifier,r=l.FullStop;n.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.eat(r),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.scanner.consume(o)}},generate:function(n){this.chunk("."),this.chunk(n.name)}}},gtsK:function(n,e){function t(n,e,t){var l=n[e];n[e]=n[t],n[t]=l}e.quickSort=function(n,e){!function n(e,l,o,r){if(o<r){var i=o-1;t(e,(d=o,c=r,Math.round(d+Math.random()*(c-d))),r);for(var a=e[r],u=o;u<r;u++)l(e[u],a)<=0&&t(e,i+=1,u);t(e,i+1,u);var s=i+1;n(e,l,o,s-1),n(e,l,s+1,r)}var d,c}(n,e,0,n.length-1)}},"h+56":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("jFaF"),o=t("VnD/");function r(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.__extends(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 r});var r=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.__extends(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"),r=t("xTla"),i=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[r.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[r.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(i.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,r=new o.a;return r.add(function(){l&&"function"==typeof l.return&&l.return()}),r.add(e.schedule(function(){l=n[a.a](),r.add(e.schedule(function(){if(!t.closed){var n,e;try{var o=l.next();n=o.value,e=o.done}catch(r){return void t.error(r)}e?t.complete():(t.next(n),this.schedule())}}))})),r})}(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 r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=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.__extends(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,r,i){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!==r&&(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(){return this._handleKey.apply(this,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(r);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,r=[];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],r.push("shift")),m(l)&&r.push(l);return{key:l,modifiers:r,action:e=v(l,r,e)}}function b(n){var e=this;if(n=n||r,!(e instanceof b))return new b(n);e.target=n,e._callbacks={},e._directMap={};var t,l={},o=!1,i=!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,r,i,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],(r||!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(","))||((!r&&s.combo==i||r&&s.seq==r&&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,r,i,c,f){e._directMap[n+":"+i]=r;var m,v=(n=n.replace(/\s+/g," ")).split(" ");v.length>1?function(n,e,r,i){function s(e){return function(){a=e,++l[n],clearTimeout(t),t=setTimeout(u,1e3)}}function c(e){d(r,e,n),"keyup"!==i&&(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(i||g(e[f+1]).action);p(e[f],m,i,n,f)}}(n,v,r,i):(m=g(n,i),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:r,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),r={},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,r[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&&i;t.type!=a||m(n)||f||u(r),i=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=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"),r=t("2yAJ"),i=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,y=a.each,_=a.objectMerge,w=a.truncate,C=a.objectFrozen,x=a.hasKey,S=a.joinRegExp,k=a.urlencode,E=a.uuid4,T=a.htmlTreeAsString,R=a.isSameException,I=a.isSameStacktrace,O=a.parseUrl,F=a.fill,D=a.supportsFetch,M=a.supportsReferrerPolicy,N=a.serializeKeysForMessage,A=a.serializeException,P=a.sanitize,q=t("AKyF").wrapMethod,j="source protocol user pass host port path".split(" "),L=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function V(){return+new Date}var B="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},z=B.document,U=B.navigator;function H(n,e){return m(e)?function(t){return e(t,n)}:e}function Z(){for(var n in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!h(z),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]}(Z.prototype={VERSION:"3.27.0",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&&y(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=S(o.ignoreErrors),o.ignoreUrls=!!o.ignoreUrls.length&&S(o.ignoreUrls),o.whitelistUrls=!!o.whitelistUrls.length&&S(o.whitelistUrls),o.includePaths=S(o.includePaths),o.maxBreadcrumbs=Math.max(0,Math.min(o.maxBreadcrumbs||100,100));var r={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},i=o.autoBreadcrumbs;"[object Object]"==={}.toString.call(i)?i=_(r,i):!1!==i&&(i=r),o.autoBreadcrumbs=i;var a={tryCatch:!0},u=o.instrument;return"[object Object]"==={}.toString.call(u)?u=_(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(i){return e}function o(){var o=[],r=arguments.length,a=!n||n&&!1!==n.deep;for(t&&m(t)&&t.apply(this,arguments);r--;)o[r]=a?l.wrap(n,arguments[r]):arguments[r];try{return e.apply(this,o)}catch(i){throw l._ignoreNextOnError(),l.captureException(i,n),i}}for(var r in e)x(e,r)&&(o[r]=e[r]);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=_({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,_(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}if(c(n))n=n;else{if(!f(n))return this.captureMessage(n,_(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(r){if(n!==r)throw r}return this},_getCaptureExceptionOptionsFromPlainObject:function(n,e){var t=Object.keys(e).sort(),l=_(n,{message:"Non-Error exception captured with keys: "+N(t),fingerprint:[r(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=_({message:n+=""},e=e||{});try{throw new Error(n)}catch(s){t=s}t.name=null;var r=l.computeStackTrace(t),i=g(r.stack)&&r.stack[1];i&&"Raven.captureException"===i.func&&(i=r.stack[2]);var a=i&&i.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=_({trimHeadFrames:0},e)).trimHeadFrames+=1;var u=this._prepareFrames(r,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=_({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=H(this._globalOptions.dataCallback,n),this},setBreadcrumbCallback:function(n){return this._globalOptions.breadcrumbCallback=H(this._globalOptions.breadcrumbCallback,n),this},setShouldSendCallback:function(n){return this._globalOptions.shouldSendCallback=H(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(z){if(!(n=_({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},n)).eventId)throw new i("Missing eventId");if(!n.dsn)throw new i("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 r=this._getGlobalServer(this._parseDSN(n.dsn)),a=z.createElement("script");a.async=!0,a.src=r+"/api/embed/error-page/?"+t.join("&"),(z.head||z.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),z.createEvent?(t=z.createEvent("HTMLEvents")).initEvent(n,!0,!0):(t=z.createEventObject()).eventType=n,e)x(e,l)&&(t[l]=e[l]);if(z.createEvent)z.dispatchEvent(t);else try{z.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(r){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=O(this._location.href),l=O(e),o=O(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),r=0;r<o.length;++r)o[r]=arguments[r];var i=o[0];return m(i)&&(o[0]=n.wrap({mechanism:{type:"instrument",data:{function:e.name||"<anonymous>"}}},i)),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,r,i,a){try{r&&r.handleEvent&&(r.handleEvent=n.wrap({mechanism:{type:"instrument",data:{target:t,function:"handleEvent",handler:r&&r.name||"<anonymous>"}}},r.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:r&&r.name||"<anonymous>"}}},r,u),i,a)}},e),F(o,"removeEventListener",function(n){return function(e,t,l,o){try{t=t&&(t.__raven_wrapper__?t.__raven_wrapper__:t)}catch(r){}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 r=["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"],i=0;i<r.length;i++)o(r[i])},_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 r=["onload","onerror","onprogress"],i=0;i<r.length;i++)l(r[i],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&&D()&&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,r=t[0],i="GET";if("string"==typeof r?o=r:"Request"in B&&r instanceof B.Request?(o=r.url,r.method&&(i=r.method)):o=""+r,-1!==o.indexOf(n._globalKey))return e.apply(this,t);t[1]&&t[1].method&&(i=t[1].method);var a={method:i,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&&(z.addEventListener?(z.addEventListener("click",n._breadcrumbEventHandler("click"),!1),z.addEventListener("keypress",n._keypressEventHandler(),!1)):z.attachEvent&&(z.attachEvent("onclick",n._breadcrumbEventHandler("click")),z.attachEvent("onkeypress",n._keypressEventHandler())));var r=B.chrome;if(e.location&&!(r&&r.app&&r.app.runtime)&&B.history&&B.history.pushState&&B.history.replaceState){var i=B.onpopstate;B.onpopstate=function(){if(n._captureUrlChange(n._lastHref,n._location.href),i)return i.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"})};y(["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;y(this._plugins,function(e,t){t[0].apply(n,[n].concat(t[1]))})},_parseDSN:function(n){var e=L.exec(n),t={},l=7;try{for(;l--;)t[j[l]]=e[l]||""}catch(o){throw new i("Invalid DSN: "+n)}if(t.pass&&!this._globalOptions.allowSecretKey)throw new i("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&&(y(n.stack,function(e,o){var r=t._normalizeFrame(o,n.url);r&&l.push(r)}),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,r){var i,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(),i={frames:o}):t&&(i={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=_({exception:{values:[{type:n,value:e,stacktrace:i}]},transaction:t},r),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=_({type:"generic",handled:!0},u.exception.mechanism||{}),this._send(u)}},_trimPacket:function(n){var e=this._globalOptions.maxMessageLength;if(n.message&&(n.message=w(n.message,e)),n.exception){var t=n.exception.values[0];t.value=w(t.value,e)}var l=n.request;return l&&(l.url&&(l.url=w(l.url,this._globalOptions.maxUrlLength)),l.Referer&&(l.Referer=w(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"],r=0;r<n.values.length;++r)if((t=n.values[r]).hasOwnProperty("data")&&p(t.data)&&!C(t.data)){l=_({},t.data);for(var i=0;i<o.length;++i)l.hasOwnProperty(e=o[i])&&l[e]&&(l[e]=w(l[e],this._globalOptions.maxUrlLength));n.values[r].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&&z.referrer&&(n.headers||(n.headers={}),n.headers.Referer=z.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))},_setBackoffState:function(n){if(!this._shouldBackoff()){var e=n.status;if(400===e||401===e||429===e){var t;try{t=D()?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=_(t,n)).tags=_(_({},this._globalContext.tags),n.tags),n.extra=_(_({},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 r=n.exception&&n.exception.values[0];this._globalOptions.autoBreadcrumbs&&this._globalOptions.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:r?(r.type?r.type+": ":"")+r.value:n.message,event_id:n.event_id,level:n.level||"error"});var i=this._globalEndpoint;(l.transport||this._makeRequest).call(this,{url:i,auth:o,data:n,options:l,onSuccess:function(){t._resetBackoff(),t._triggerEvent("success",{data:n,src:i}),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:i}),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)),D()){l.body=o(n.data);var r=_({},this._fetchDefaults),i=_(r,l);return t&&(i.headers=t),B.fetch(e,i).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&&y(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]=_(this._globalContext[n]||{},e)}}).setUser=Z.prototype.setUserContext,Z.prototype.setReleaseContext=Z.prototype.setRelease,n.exports=Z},jpu9:function(n,e,t){"use strict";var l=t("UGdY"),o=Object.prototype.hasOwnProperty;function r(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 i in n.node)t[i]=n.node[i].generate;return function(n,t){var o="",i={children:r,node:e,chunk:function(n){o+=n},result:function(){return o}};return t&&("function"==typeof t.decorator&&(i=t.decorator(i)),t.sourceMap&&(i=l(i))),i.node(n),i.result()}}},jvbL:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return void 0===e&&(e=!1),function(t){return t.lift(new i(n,e))}}var i=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.__extends(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"),r=t("2Bdj"),i=t("67Y/");function a(n,e,t){return t?a(n,e).pipe(Object(i.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(i){return void t.error(i)}if(Object(r.a)(e))return function(){return e(o,l)}})}},kPWa:function(n,e,t){var l=t("vd7W").TYPE,o=l.Number,r=l.PercentSign;n.exports={name:"Percentage",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=this.scanner.consume(o);return this.scanner.eat(r),{type:"Percentage",loc:this.getLocation(n,this.scanner.tokenStart),value:e}},generate:function(n){this.chunk(n.value),this.chunk("%")}}},kR3u:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("svcd"),o=t("xlPZ");function r(){return function(n){return Object(o.a)(new l.a)(n)}}},kiQV:function(n){n.exports={name:"gns3-web-ui",version:"2019.2.0-alpha.3",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:!0,dependencies:{"@angular/animations":"^7.2.14","@angular/cdk":"^7.3.7","@angular/common":"^7.2.14","@angular/compiler":"^7.2.14","@angular/core":"^7.2.14","@angular/forms":"^7.2.14","@angular/http":"^7.2.14","@angular/material":"^7.3.7","@angular/platform-browser":"^7.2.14","@angular/platform-browser-dynamic":"^7.2.14","@angular/router":"^7.2.14","angular-persistence":"^1.0.1","angular2-hotkeys":"^2.1.4","angular2-indexeddb":"^1.2.3",bootstrap:"4.3.1","command-exists":"^1.2.8","core-js":"^3.0.1","css-tree":"^1.0.0-alpha.29","d3-ng2-service":"^2.1.0",hammerjs:"^2.0.8",ini:"^1.3.5","material-design-icons":"^3.0.1","ng2-file-upload":"^1.3.0","ngx-electron":"^2.1.1","node-fetch":"^2.4.1","notosans-fontface":"^1.1.0","raven-js":"^3.27.0",rxjs:"^6.5.1","rxjs-compat":"^6.5.1","tree-kill":"^1.2.1","typeface-roboto":"^0.0.54",yargs:"^13.2.2","zone.js":"^0.9.0"},devDependencies:{"@angular-devkit/build-angular":"~0.13.8","@angular/cli":"^7.3.8","@angular/compiler-cli":"^7.2.14","@angular/language-service":"^7.2.14","@sentry/cli":"^1.41.2","@sentry/electron":"^0.17.1","@types/jasmine":"~3.3.12","@types/jasminewd2":"~2.0.6","@types/node":"~12.0.0",codelyzer:"~5.0.1",electron:"5.0.1","electron-builder":"20.39.0","jasmine-core":"~3.4.0","jasmine-spec-reporter":"~4.2.1",jquery:"^3.4.0",karma:"~4.1.0","karma-chrome-launcher":"~2.2.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"^2.0.5","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.15.0",prettier:"^1.17.0",protractor:"~5.4.2",replace:"^1.1.0","ts-mockito":"^2.3.1","ts-node":"~8.1.0",tslint:"~5.16.0","tslint-config-prettier":"^1.18.0",typescript:"<3.3.0"},greenkeeper:{ignore:["typescript"]}}},klIg:function(n,e,t){var l=t("vd7W").TYPE.Number;n.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var n=this.scanner.tokenStart,e=this.scanner.consume(l),t=function(n){var e=n.getTokenValue(),t=e.indexOf("\\");return t>0?(n.tokenStart+=t,e.substring(0,t)):(n.next(),e)}(this.scanner);return{type:"Dimension",loc:this.getLocation(n,this.scanner.tokenStart),value:e,unit:t}},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((a=void 0===(i=(e=o).bufferSize)?Number.POSITIVE_INFINITY:i,s=void 0===(u=e.windowTime)?Number.POSITIVE_INFINITY:u,d=e.refCount,c=e.scheduler,p=0,f=!1,h=!1,function(n){p++,t&&!f||(f=!1,t=new l.a(a,s,c),r=n.subscribe({next:function(n){t.next(n)},error:function(n){f=!0,t.error(n)},complete:function(){h=!0,t.complete()}}));var e=t.subscribe(this);this.add(function(){p--,e.unsubscribe(),r&&!h&&d&&0===p&&(r.unsubscribe(),r=void 0,t=void 0)})}));var e,t,r,i,a,u,s,d,c,p,f,h}}},lA9V:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("zotm"),r=t("MGBS"),i=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 r=n.call(this,e)||this;return r.accumulator=t,r.acc=l,r.concurrent=o,r.hasValue=!1,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return l.__extends(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 i.a(this,void 0,void 0);this.destination.add(l),Object(o.a)(this,n,e,t,l)},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 r=this.destination;this.acc=e,this.hasValue=!0,r.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}(r.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 i});var l=t("6blF"),o=t("0/uQ"),r=t("G5J1");function i(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(r.b)()).subscribe(e)})}},lxKu:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("K9Ia"),r=t("T1DM"),i=t("FFOo"),a=t("/21U"),u=t("nkY7");function s(n){var e=r.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.__extends(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,r){var i=n.call(this,e)||this;i.destination=e,i.windowTimeSpan=t,i.windowCreationInterval=l,i.maxWindowSize=o,i.scheduler=r,i.windows=[];var a=i.openWindow();if(null!==l&&l>=0){var u={windowTimeSpan:t,windowCreationInterval:l,subscriber:i,scheduler:r};i.add(r.schedule(m,t,{subscriber:i,window:a,context:null})),i.add(r.schedule(h,l,u))}else i.add(r.schedule(f,t,{subscriber:i,window:a,windowTimeSpan:t}));return i}return l.__extends(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}(i.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,r=t.openWindow(),i={action:this,subscription:null};i.subscription=l.schedule(m,e,{subscriber:t,window:r,context:i}),this.add(i.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 r});var l=t("lYZG"),o=t("G5J1");function r(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){"use strict";var l=t("CwTu").SyntaxReferenceError,o=t("CwTu").MatchError,r=t("t1UP"),i=t("CJ5M"),a=t("cWdd"),u=t("2KT4"),s=t("5HYW"),d=t("HEOB"),c=t("KcB0").buildMatchGraph,p=t("QKsE").matchAsTree,f=t("/+5V"),h=t("ofj6"),m=t("Y0sX").getStructureFromConfig,v=c(a("inherit | initial | unset")),g=c(a("inherit | initial | unset | <expression>"));function b(n,e){var t={};for(var l in n)n[l].syntax&&(t[l]=e?n[l].syntax:u(n[l].syntax));return t}function y(n,e,t){return{matched:n,iterations:t,error:e,getTrace:f.getTrace,isType:f.isType,isProperty:f.isProperty,isKeyword:f.isKeyword}}function _(n,e,t,l){if(!t)return y(null,new Error("Node is undefined"));if((function(n){var e=!1;return this.syntax.walk(n,function(n){"Function"===n.type&&"var"===n.name.toLowerCase()&&(e=!0)}),e}).call(n,t))return y(null,new Error("Matching for a tree with var() is not supported"));var r,i=n.syntax.generate(t,d);return l&&(r=p(i,n.valueCommonSyntax,n)),l&&r.match||(r=p(i,e.match,n)).match?y(r.match,null,r.iterations):y(null,new o(r.reason,n,e.syntax,t,r),r.iterations)}var w=function(n,e,t){if(this.valueCommonSyntax=v,this.syntax=e,this.generic=!1,this.properties={},this.types={},this.structure=t||m(n),n){if(n.generic)for(var l in this.generic=!0,i)this.addType_(l,i[l]);if(n.types)for(var l in n.types)this.addType_(l,n.types[l]);if(n.properties)for(var l in n.properties)this.addProperty_(l,n.properties[l])}};w.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},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===i.expression&&(this.valueCommonSyntax=g)},matchDeclaration:function(n){return"Declaration"!==n.type?y(null,new Error("Not a Declaration node")):this.matchProperty(n.property,n.value)},matchProperty:function(n,e){var t=r.property(n);if(t.custom)return y(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?_(this,o,e,!0):y(null,new l("Unknown property",n))},matchType:function(n,e){var t=this.getType(n);return t?_(this,t,e,!1):y(null,new l("Unknown type",n))},match:function(n,e){return n&&n.type?(n.match||(n=this.createDescriptor(n)),_(this,n,e,!1)):y(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},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,r,i){if(r.hasOwnProperty(o))return r[o];r[o]=!1,null!==i.syntax&&s(i.syntax,function(i){if("Type"===i.type||"Property"===i.type){var a="Type"===i.type?l.types:l.properties,u="Type"===i.type?e:t;a.hasOwnProperty(i.name)&&!n(l,i.name,u,a[i.name])||(r[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){return{generic:this.generic,types:b(this.types,n),properties:b(this.properties,n)}},toString:function(){return JSON.stringify(this.dump())}},n.exports=w},mZXl:function(n,e,t){"use strict";t.d(e,"b",function(){return i}),t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("FFOo"),r=t("60iU");function i(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.__extends(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(r.a.createNext(n))},e.prototype._error=function(n){this.scheduleMessage(r.a.createError(n)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(r.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.scanner.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.r(e),t.d(e,"__extends",function(){return o}),t.d(e,"__assign",function(){return r}),t.d(e,"__rest",function(){return i}),t.d(e,"__decorate",function(){return a}),t.d(e,"__param",function(){return u}),t.d(e,"__metadata",function(){return s}),t.d(e,"__awaiter",function(){return d}),t.d(e,"__generator",function(){return c}),t.d(e,"__exportStar",function(){return p}),t.d(e,"__values",function(){return f}),t.d(e,"__read",function(){return h}),t.d(e,"__spread",function(){return m}),t.d(e,"__await",function(){return v}),t.d(e,"__asyncGenerator",function(){return g}),t.d(e,"__asyncDelegator",function(){return b}),t.d(e,"__asyncValues",function(){return y}),t.d(e,"__makeTemplateObject",function(){return _}),t.d(e,"__importStar",function(){return w}),t.d(e,"__importDefault",function(){return C});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 r=function(){return(r=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 i(n,e){var t={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&e.indexOf(l)<0&&(t[l]=n[l]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(l=Object.getOwnPropertySymbols(n);o<l.length;o++)e.indexOf(l[o])<0&&(t[l[o]]=n[l[o]])}return t}function a(n,e,t,l){var o,r=arguments.length,i=r<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(i=(r<3?o(i):r>3?o(e,t,i):o(e,t))||i);return r>3&&i&&Object.defineProperty(e,t,i),i}function u(n,e){return function(t,l){e(t,l,n)}}function s(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)}function d(n,e,t,l){return new(t||(t=Promise))(function(o,r){function i(n){try{u(l.next(n))}catch(e){r(e)}}function a(n){try{u(l.throw(n))}catch(e){r(e)}}function u(n){n.done?o(n.value):new t(function(e){e(n.value)}).then(i,a)}u((l=l.apply(n,e||[])).next())})}function c(n,e){var t,l,o,r,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,l&&(o=2&r[0]?l.return:r[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,r[1])).done)return o;switch(l=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,l=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){i=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(6===r[0]&&i.label<o[1]){i.label=o[1],o=r;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(r);break}o[2]&&i.ops.pop(),i.trys.pop();continue}r=e.call(n,i)}catch(a){r=[6,a],l=0}finally{t=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function p(n,e){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}function f(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 h(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var l,o,r=t.call(n),i=[];try{for(;(void 0===e||e-- >0)&&!(l=r.next()).done;)i.push(l.value)}catch(a){o={error:a}}finally{try{l&&!l.done&&(t=r.return)&&t.call(r)}finally{if(o)throw o.error}}return i}function m(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(h(arguments[e]));return n}function v(n){return this instanceof v?(this.v=n,this):new v(n)}function g(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,o=t.apply(n,e||[]),r=[];return l={},i("next"),i("throw"),i("return"),l[Symbol.asyncIterator]=function(){return this},l;function i(n){o[n]&&(l[n]=function(e){return new Promise(function(t,l){r.push([n,e,t,l])>1||a(n,e)})})}function a(n,e){try{(t=o[n](e)).value instanceof v?Promise.resolve(t.value.v).then(u,s):d(r[0][2],t)}catch(l){d(r[0][3],l)}var t}function u(n){a("next",n)}function s(n){a("throw",n)}function d(n,e){n(e),r.shift(),r.length&&a(r[0][0],r[0][1])}}function b(n){var e,t;return e={},l("next"),l("throw",function(n){throw n}),l("return"),e[Symbol.iterator]=function(){return this},e;function l(l,o){e[l]=n[l]?function(e){return(t=!t)?{value:v(n[l](e)),done:"return"===l}:o?o(e):e}:o}}function y(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=f(n),e={},l("next"),l("throw"),l("return"),e[Symbol.asyncIterator]=function(){return this},e);function l(t){e[t]=n[t]&&function(e){return new Promise(function(l,o){!function(n,e,t,l){Promise.resolve(l).then(function(e){n({value:e,done:t})},e)}(l,o,(e=n[t](e)).done,e.value)})}}}function _(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}function w(n){if(n&&n.__esModule)return n;var e={};if(null!=n)for(var t in n)Object.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}function C(n){return n&&n.__esModule?n:{default: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 i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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(r.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.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},oQam:function(n,e,t){"use strict";e.FileLikeObject=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}()},oVTH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t("+ryv");var l=t("DtyJ"),o=t("CcnG"),r=t("M+vq");t("imBb"),e.HotkeysService=function(){function n(n){this.options=n,this.hotkeys=[],this.pausedHotkeys=[],this.cheatSheetToggle=new l.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 r.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 r.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,r=n;o<r.length;o++)l.push(this.add(r[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 r=e.target||e.srcElement,i=r.nodeName.toUpperCase();(" "+r.className+" ").indexOf(" mousetrap ")>-1?o=!0:t._preventIn.indexOf(i)>-1&&-1===n.allowIn.map(function(n){return n.toUpperCase()}).indexOf(i)&&(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,r=n;o<r.length;o++)e.push(this.remove(r[o]));return e}var i=this.findHotkey(n);return i>-1?(this.hotkeys.splice(i,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)},n.decorators=[{type:o.Injectable}],n}()},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("VvfH");n.exports={matchFragments:function(n,e,t,o,r){var i=[];return null!==t.matched&&function t(a){if(null!==a.syntax&&a.syntax.type===o&&a.syntax.name===r){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);i.push({parent:t,nodes:o})}})}Array.isArray(a.match)&&a.match.forEach(t)}(t.matched),i}}},ou9H:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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(r.a)(o,l)),o}return l.__extends(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 r});var l=t("dEwP"),o=t("nkY7");function r(){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"),r=t("Zn8D"),i=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(r.a)(t)(Object(i.a)(n,a))}},p33S:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("isby"),o=t("W0Ae");function r(){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)))}}},pKD1:function(n,e,t){var l=t("mrSG").__decorate,o=t("mrSG").__metadata,r=t("CcnG"),i=t("UpIn"),a=function(){function n(n){this.fileOver=new r.EventEmitter,this.onFileDrop=new r.EventEmitter,this.element=n}return n.prototype.getOptions=function(){return this.uploader.options},n.prototype.getFilters=function(){return{}},n.prototype.onDrop=function(n){var e=this._getTransfer(n);if(e){var t=this.getOptions(),l=this.getFilters();this._preventAndStop(n),this.uploader.addToQueue(e.files,t,l),this.fileOver.emit(!1),this.onFileDrop.emit(e.files)}},n.prototype.onDragOver=function(n){var e=this._getTransfer(n);this._haveFiles(e.types)&&(e.dropEffect="copy",this._preventAndStop(n),this.fileOver.emit(!0))},n.prototype.onDragLeave=function(n){this.element&&n.currentTarget===this.element[0]||(this._preventAndStop(n),this.fileOver.emit(!1))},n.prototype._getTransfer=function(n){return n.dataTransfer?n.dataTransfer:n.originalEvent.dataTransfer},n.prototype._preventAndStop=function(n){n.preventDefault(),n.stopPropagation()},n.prototype._haveFiles=function(n){return!!n&&(n.indexOf?-1!==n.indexOf("Files"):!!n.contains&&n.contains("Files"))},n}();l([r.Input(),o("design:type",i.FileUploader)],a.prototype,"uploader",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"fileOver",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"onFileDrop",void 0),l([r.HostListener("drop",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],a.prototype,"onDrop",null),l([r.HostListener("dragover",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],a.prototype,"onDragOver",null),l([r.HostListener("dragleave",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Object)],a.prototype,"onDragLeave",null),a=l([r.Directive({selector:"[ng2FileDrop]"})],a),e.FileDropDirective=a},pbg4:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("6blF"),o=t("svcd"),r=t("67Y/"),i=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(r.a)(function(n){return Object(a.a)(n)?e.apply(void 0,n):e(n)}))};t=e}return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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(r){Object(i.a)(a)?a.error(r):console.warn(r)}}return a.subscribe(l)})}}function d(n){var e=this,t=n.args,l=n.subscriber,r=n.params,i=r.callbackFunc,a=r.context,u=r.scheduler,s=r.subject;if(!s){s=r.subject=new o.a;try{i.apply(a,t.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];e.add(u.schedule(c,0,{value:n.length<=1?n[0]:n,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"),r=t("MGBS"),i=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.__extends(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 i.a(this,void 0,void 0);this.destination.add(l),Object(o.a)(this,n,e,t,l)},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}(r.a)},pugT:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("isby"),o=t("McSo"),r=t("2Bdj"),i=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(r.a)(a))try{a.call(this)}catch(f){e=f instanceof i.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 i.a?e=e.concat(u(f.errors)):e.push(f)}}}if(e)throw new i.a(e)}},n.prototype.add=function(e){var t=e;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:if(!e)return n.EMPTY;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 r=this._subscriptions;return null===r?this._subscriptions=[t]:r.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 i.a?e.errors:e)},[])}},q8iK:function(n,e){},qyHS:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=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.__extends(e,n),e.prototype._next=function(n){this.hasPrev?this.destination.next([this.prev,n]):this.hasPrev=!0,this.prev=n},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.scanner.consume(l)}},generate:function(n){this.chunk(n.value)}}},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.__extends(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 r});var l=t("S5bw"),o=t("xlPZ");function r(n,e,t,r){t&&"function"!=typeof t&&(r=t);var i="function"==typeof t?t:void 0,a=new l.a(n,e,r);return function(n){return Object(o.a)(function(){return a},i)(n)}}},sLa7:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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 r=n.call(this,e)||this;return r.project=t,r.concurrent=l,r.scheduler=o,r.index=0,r.active=0,r.hasCompleted=!1,l<Number.POSITIVE_INFINITY&&(r.buffer=[]),r}return l.__extends(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(r){t.error(r)}}else this.buffer.push(n)}},e.prototype.subscribeToProjection=function(n,e,t){this.active++,this.destination.add(Object(r.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)},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}()},sjRw:function(n,e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,t,l,o){if(0===t.length)return-1;var r=function n(t,l,o,r,i,a){var u=Math.floor((l-t)/2)+t,s=i(o,r[u],!0);return 0===s?u:s>0?l-u>1?n(u,l,o,r,i,a):a==e.LEAST_UPPER_BOUND?l<r.length?l:-1:u:u-t>1?n(t,u,o,r,i,a):a==e.LEAST_UPPER_BOUND?u:t<0?-1:t}(-1,t.length,n,t,l,o||e.GREATEST_LOWER_BOUND);if(r<0)return-1;for(;r-1>=0&&0===l(t[r],t[r-1],!0);)--r;return r}},svcd:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("K9Ia"),r=t("pugT"),i=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.__extends(e,n),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),r.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),r.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,t){"use strict";var l=Object.prototype.hasOwnProperty,o=Object.create(null),r=Object.create(null),i=45;function a(n,e){return n.length-(e=e||0)>=2&&n.charCodeAt(e)===i&&n.charCodeAt(e+1)===i}function u(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(l.call(o,n))return o[n];var e=n.toLowerCase();if(l.call(o,e))return o[n]=o[e];var t=a(e,0),r=t?"":u(e,0);return o[n]=Object.freeze({basename:e.substr(r.length),name:e,vendor:r,prefix:r,custom:t})},property:function(n){if(l.call(r,n))return r[n];var e=n,t=n[0];"/"===t?t="/"===n[1]?"//":"/":"_"!==t&&"*"!==t&&"$"!==t&&"#"!==t&&"+"!==t&&(t="");var o=a(e,t.length);if(!o&&(e=e.toLowerCase(),l.call(r,e)))return r[n]=r[e];var i=o?"":u(e,t.length),s=e.substr(0,t.length+i.length);return r[n]=Object.freeze({basename:e.substr(s.length),name:e.substr(t.length),hack:t,vendor:i,prefix:s,custom:o})},isCustomProperty:a,vendorPrefix:u}},t9fZ:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW"),i=t("G5J1");function a(n){return function(e){return 0===n?Object(i.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new r.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.__extends(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.__extends(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),r=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(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 i});var i=new r(o)},tMwf:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("K9Ia"),r=t("MGBS"),i=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.__extends(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(i.a)(this,e)},e}(r.a)},tNVB:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("3fWJ"),r=t("FFOo");function i(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.__extends(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}(r.a);function s(){return new o.a}},"te+T":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},twQA:function(n,e,t){"use strict";for(var l={WhiteSpace:1,Identifier:2,Number:3,String:4,Comment:5,Punctuator:6,CDO:7,CDC:8,AtKeyword:14,Function:15,Url:16,Raw:17,ExclamationMark:33,QuotationMark:34,NumberSign:35,DollarSign:36,PercentSign:37,Ampersand:38,Apostrophe:39,LeftParenthesis:40,RightParenthesis:41,Asterisk:42,PlusSign:43,Comma:44,HyphenMinus:45,FullStop:46,Solidus:47,Colon:58,Semicolon:59,LessThanSign:60,EqualsSign:61,GreaterThanSign:62,QuestionMark:63,CommercialAt:64,LeftSquareBracket:91,Backslash:92,RightSquareBracket:93,CircumflexAccent:94,LowLine:95,GraveAccent:96,LeftCurlyBracket:123,VerticalLine:124,RightCurlyBracket:125,Tilde:126},o=Object.keys(l).reduce(function(n,e){return n[l[e]]=e,n},{}),r="undefined"!=typeof Uint32Array?Uint32Array:Array,i=new r(128),a=new r(128),u=new r(128),s=0;s<i.length;s++)i[s]=2;for([l.ExclamationMark,l.QuotationMark,l.NumberSign,l.DollarSign,l.PercentSign,l.Ampersand,l.Apostrophe,l.LeftParenthesis,l.RightParenthesis,l.Asterisk,l.PlusSign,l.Comma,l.HyphenMinus,l.FullStop,l.Solidus,l.Colon,l.Semicolon,l.LessThanSign,l.EqualsSign,l.GreaterThanSign,l.QuestionMark,l.CommercialAt,l.LeftSquareBracket,l.RightSquareBracket,l.CircumflexAccent,l.GraveAccent,l.LeftCurlyBracket,l.VerticalLine,l.RightCurlyBracket,l.Tilde].forEach(function(n){i[Number(n)]=6,a[Number(n)]=6}),s=48;s<=57;s++)i[s]=3;i[32]=1,i[9]=1,i[10]=1,i[13]=1,i[12]=1,i[l.Apostrophe]=4,i[l.QuotationMark]=4,u[32]=1,u[9]=1,u[10]=1,u[13]=1,u[12]=1,u[l.Apostrophe]=1,u[l.QuotationMark]=1,u[l.LeftParenthesis]=1,u[l.RightParenthesis]=1,a[32]=6,a[9]=6,a[10]=6,a[13]=6,a[12]=6,a[l.HyphenMinus]=0,n.exports={TYPE:l,NAME:o,SYMBOL_TYPE:i,PUNCTUATION:a,STOP_URL_RAW:u}},twrC:function(n,e,t){n.exports=t("errG")},u5kB:function(n,e,t){"use strict";var l=t("vd7W"),o=t("VvfH"),r=t("OohF"),i=function(){};function a(n){return function(){return this[n]()}}n.exports=function(n){var e={scanner:new l,filename:"<unknown>",needPositions:!1,onParseError:i,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:r,createList:function(){return new o},createSingleNodeList:function(n){return(new o).appendData(n)},getFirstListNode:function(n){return n&&n.first()},getLastListNode:function(n){return n.last()},parseWithFallback:function(n,e){var t=this.scanner.currentToken;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}},getLocation:function(n,e){return this.needPositions?this.scanner.getLocationRange(n,e,this.filename):null},getLocationFromList:function(n){if(this.needPositions){var e=this.getFirstListNode(n),t=this.getLastListNode(n);return this.scanner.getLocationRange(null!==e?e.loc.start.offset-this.scanner.startOffset:this.scanner.tokenStart,null!==t?t.loc.end.offset-this.scanner.startOffset:this.scanner.tokenStart,this.filename)}return null}};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]=a(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(e.scanner.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:i,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.scanner.error(),l}}},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.__extends(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 i});var l=t("mrSG"),o=t("FFOo"),r=t("60iU");function i(){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.__extends(e,n),e.prototype._next=function(n){this.destination.next(r.a.createNext(n))},e.prototype._error=function(n){var e=this.destination;e.next(r.a.createError(n)),e.complete()},e.prototype._complete=function(){var n=this.destination;n.next(r.a.createComplete()),n.complete()},e}(o.a)},"uZ+w":function(n,e,t){var l=t("2yWD").SyntaxParseError,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},ujTQ:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("3fWJ");function i(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.__extends(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 r.a)},e}(o.a)},v9aN:function(n,e){function t(n){this.name="RavenConfigError",this.message=n}(t.prototype=new Error).constructor=t,n.exports=t},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,i=n;if(t)return t.schedule(r,0,{index:o,count:e,start:n,subscriber:l});for(;;){if(o++>=e){l.complete();break}if(l.next(i++),l.closed)break}})}function r(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)))}},vYjF:function(n,e,t){var l=t("BjAV"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(n){return void 0===n}function i(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(r(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)+"\u2026"}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,r,i=[];if(!n||!n.tagName)return"";if(i.push(n.tagName.toLowerCase()),n.id&&i.push("#"+n.id),(e=n.className)&&a(e))for(t=e.split(/\s+/),r=0;r<t.length;r++)i.push("."+t[r]);var u=["type","name","title","alt"];for(r=0;r<u.length;r++)(o=n.getAttribute(l=u[r]))&&i.push("["+l+'="'+o+'"]');return i.join("")}function m(n,e){return!!(!!n^!!e)}function v(n,e){if(m(n,e))return!1;var t,l,o=n.frames,r=e.frames;if(void 0===o||void 0===r)return!1;if(o.length!==r.length)return!1;for(var i=0;i<o.length;i++)if((t=o[i]).filename!==(l=r[i]).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:r,isFunction:function(n){return"function"==typeof n},isPlainObject:i,isString:a,isArray:u,isEmptyObject:function(n){if(!i(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(!r(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,r=" > ".length;n&&l++<5&&!("html"===(e=h(n))||l>1&&o+t.length*r+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,(!r(n.stacktrace)||!r(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(!i(e))return e;o="number"!=typeof(t="number"!=typeof t?3:t)?51200:o;var r,a=function n(e,t){return 0===t?g(e):i(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 r=l(a),function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(r))>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+"\u2026"}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(r){return n}return function n(e){return u(e)?e.map(function(e){return n(e)}):i(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){n.exports=t("SUog")},vubp:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("T1DM"),r=t("VGuC"),i=t("FFOo"),a=t("60iU");function u(n,e){void 0===e&&(e=o.a);var t=Object(r.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.__extends(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 r=Math.max(0,t[0].time-l.now());this.schedule(n,r)}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}(i.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/"),r=t("AxiF"),i=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(r.a)(1),t?Object(a.a)(e):Object(i.a)(function(){return new l.a}))}}},wDBO:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(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(r.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.__extends(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 r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=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.__extends(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(),r=!1;try{r=t?t(l,o):l===o}catch(i){this.destination.error(i)}r||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.__extends(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,r=t("4fRq"),i=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=r();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 y=0;y<6;++y)d[s+y]=c[y];return e||i(d)}},xMyE:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("+umK"),i=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=r.a,a._tapError=r.a,a._tapComplete=r.a,a._tapError=l||r.a,a._tapComplete=o||r.a,Object(i.a)(t)?(a._context=a,a._tapNext=t):t&&(a._context=t,a._tapNext=t.next||r.a,a._tapError=t.error||r.a,a._tapComplete=t.complete||r.a),a}return l.__extends(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"==typeof Symbol&&Symbol.observable||"@@observable"},xXU7:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("T1DM"),r=t("/21U");function i(n,e){return void 0===n&&(n=0),void 0===e&&(e=o.a),(!Object(r.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)}},xk4V:function(n,e,t){var l=t("4fRq"),o=t("I2ZF");n.exports=function(n,e,t){var r=e&&t||0;"string"==typeof n&&(e="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||l)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var a=0;a<16;++a)e[r+a]=i[a];return e||o(i)}},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 r(o,e));var i=Object.create(t,l.b);return i.source=t,i.subjectFactory=o,i}}var r=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"),r=t("MGBS"),i=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.__extends(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(i.a)(this,n)),this.subscribing=!1},e}(r.a)},y3By:function(n,e,t){"use strict";t.d(e,"a",function(){return o}),t.d(e,"b",function(){return r});var l=t("+umK");function o(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return r(n)}function r(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 r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i(n))}}var i=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.__extends(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,r,i,a){"use strict";var u,s=["","webkit","Moz","MS","ms","o"],d=r.createElement("div"),c="function",p=Math.round,f=Math.abs,h=Date.now;function m(n,e,t){return setTimeout(C(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",r=o.console&&(o.console.warn||o.console.log);return r&&r.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 y=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`."),_=b(function(n,e){return y(n,e,!0)},"merge","Use `assign`.");function w(n,e,t){var l,o=e.prototype;(l=n.prototype=Object.create(o)).constructor=n,l._super=o,t&&u(l,t)}function C(n,e){return function(){return n.apply(e,arguments)}}function x(n,e){return typeof n==c?n.apply(e&&e[0]||a,e):n}function S(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 O(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 D(n,e,t){for(var l=[],o=[],r=0;r<n.length;){var i=e?n[r][e]:n[r];O(o,i)<0&&l.push(n[r]),o[r]=i,r++}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),r=0;r<s.length;){if((l=(t=s[r])?t+o:e)in n)return l;r++}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,j=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L=25,V=1,B=4,z=8,U=1,H=2,Z=4,W=8,G=16,K=H|Z,Y=W|G,$=K|Y,X=["x","y"],Q=["clientX","clientY"];function J(n,e){var t=this;this.manager=n,this.callback=e,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(e){x(n.options.enable,[n])&&t.handler(e)},this.init()}function nn(n,e,t){var l=t.pointers.length,o=t.changedPointers.length,r=e&V&&l-o==0,i=e&(B|z)&&l-o==0;t.isFirst=!!r,t.isFinal=!!i,r&&(n.session={}),t.eventType=e,function(n,e){var t=n.session,l=e.pointers,o=l.length;t.firstInput||(t.firstInput=en(e)),o>1&&!t.firstMultiple?t.firstMultiple=en(e):1===o&&(t.firstMultiple=!1);var r=t.firstInput,i=t.firstMultiple,u=i?i.center:r.center,s=e.center=tn(l);e.timeStamp=h(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=an(u,s),e.distance=rn(u,s),function(n,e){var t=e.center,l=n.offsetDelta||{},o=n.prevDelta||{},r=n.prevInput||{};e.eventType!==V&&r.eventType!==B||(o=n.prevDelta={x:r.deltaX||0,y:r.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=on(e.deltaX,e.deltaY);var d,c,p=ln(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=i?(d=i.pointers,rn((c=l)[0],c[1],Q)/rn(d[0],d[1],Q)):1,e.rotation=i?function(n,e){return an(l[1],l[0],Q)+an(n[1],n[0],Q)}(i.pointers):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,r,i=n.lastInterval||e,u=e.timeStamp-i.timeStamp;if(e.eventType!=z&&(u>L||i.velocity===a)){var s=e.deltaX-i.deltaX,d=e.deltaY-i.deltaY,c=ln(u,s,d);l=c.x,o=c.y,t=f(c.x)>f(c.y)?c.x:c.y,r=on(s,d),n.lastInterval=e}else t=i.velocity,l=i.velocityX,o=i.velocityY,r=i.direction;e.velocity=t,e.velocityX=l,e.velocityY=o,e.direction=r}(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 en(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:tn(e),deltaX:n.deltaX,deltaY:n.deltaY}}function tn(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 ln(n,e,t){return{x:e/n||0,y:t/n||0}}function on(n,e){return n===e?U:f(n)>=f(e)?n<0?H:Z:e<0?W:G}function rn(n,e,t){t||(t=X);var l=e[t[0]]-n[t[0]],o=e[t[1]]-n[t[1]];return Math.sqrt(l*l+o*o)}function an(n,e,t){return t||(t=X),180*Math.atan2(e[t[1]]-n[t[1]],e[t[0]]-n[t[0]])/Math.PI}J.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 un={mousedown:V,mousemove:2,mouseup:B},sn="mousedown",dn="mousemove mouseup";function cn(){this.evEl=sn,this.evWin=dn,this.pressed=!1,J.apply(this,arguments)}w(cn,J,{handler:function(n){var e=un[n.type];e&V&&0===n.button&&(this.pressed=!0),2&e&&1!==n.which&&(e=B),this.pressed&&(e&B&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[n],changedPointers:[n],pointerType:"mouse",srcEvent:n}))}});var pn={pointerdown:V,pointermove:2,pointerup:B,pointercancel:z,pointerout:z},fn={2:"touch",3:"pen",4:"mouse",5:"kinect"},hn="pointerdown",mn="pointermove pointerup pointercancel";function vn(){this.evEl=hn,this.evWin=mn,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(hn="MSPointerDown",mn="MSPointerMove MSPointerUp MSPointerCancel"),w(vn,J,{handler:function(n){var e=this.store,t=!1,l=n.type.toLowerCase().replace("ms",""),o=pn[l],r=fn[n.pointerType]||n.pointerType,i="touch"==r,a=O(e,n.pointerId,"pointerId");o&V&&(0===n.button||i)?a<0&&(e.push(n),a=e.length-1):o&(B|z)&&(t=!0),a<0||(e[a]=n,this.callback(this.manager,o,{pointers:e,changedPointers:[n],pointerType:r,srcEvent:n}),t&&e.splice(a,1))}});var gn={touchstart:V,touchmove:2,touchend:B,touchcancel:z},bn="touchstart",yn="touchstart touchmove touchend touchcancel";function _n(){this.evTarget=bn,this.evWin=yn,this.started=!1,J.apply(this,arguments)}w(_n,J,{handler:function(n){var e=gn[n.type];if(e===V&&(this.started=!0),this.started){var t=(function(n,e){var t=F(n.touches),l=F(n.changedTouches);return e&(B|z)&&(t=D(t.concat(l),"identifier",!0)),[t,l]}).call(this,n,e);e&(B|z)&&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 wn={touchstart:V,touchmove:2,touchend:B,touchcancel:z},Cn="touchstart touchmove touchend touchcancel";function xn(){this.evTarget=Cn,this.targetIds={},J.apply(this,arguments)}w(xn,J,{handler:function(n){var e=wn[n.type],t=(function(n,e){var t=F(n.touches),l=this.targetIds;if(e&(2|V)&&1===t.length)return l[t[0].identifier]=!0,[t,t];var o,r,i=F(n.changedTouches),a=[],u=this.target;if(r=t.filter(function(n){return T(n.target,u)}),e===V)for(o=0;o<r.length;)l[r[o].identifier]=!0,o++;for(o=0;o<i.length;)l[i[o].identifier]&&a.push(i[o]),e&(B|z)&&delete l[i[o].identifier],o++;return a.length?[D(r.concat(a),"identifier",!0),a]:void 0}).call(this,n,e);t&&this.callback(this.manager,e,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:n})}});var Sn=2500;function kn(){J.apply(this,arguments);var n=C(this.handler,this);this.touch=new xn(this.manager,n),this.mouse=new cn(this.manager,n),this.primaryTouch=null,this.lastTouches=[]}function En(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)},Sn)}}w(kn,J,{handler:function(n,e,t){var l="mouse"==t.pointerType;if(!(l&&t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)){if("touch"==t.pointerType)(function(n,e){n&V?(this.primaryTouch=e.changedPointers[0].identifier,En.call(this,e)):n&(B|z)&&En.call(this,e)}).call(this,e,t);else if(l&&(function(n){for(var e=n.srcEvent.clientX,t=n.srcEvent.clientY,l=0;l<this.lastTouches.length;l++){var o=this.lastTouches[l],r=Math.abs(e-o.x),i=Math.abs(t-o.y);if(r<=25&&i<=25)return!0}return!1}).call(this,t))return;this.callback(n,e,t)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Tn=M(d.style,"touchAction"),Rn=Tn!==a,In=function(){if(!Rn)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 On(n,e){this.manager=n,this.set(e)}On.prototype={set:function(n){"compute"==n&&(n=this.compute()),Rn&&this.manager.element.style&&In[n]&&(this.manager.element.style[Tn]=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){x(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")&&!In.none,r=R(l,"pan-y")&&!In["pan-y"],i=R(l,"pan-x")&&!In["pan-x"];if(o&&1===n.pointers.length&&n.distance<2&&n.deltaTime<250)return;if(!i||!r)return o||r&&t&K||i&&t&Y?this.preventSrc(e):void 0}},preventSrc:function(n){this.manager.session.prevented=!0,n.preventDefault()}};var Fn=1,Dn=2,Mn=4,Nn=8,An=Nn,Pn=16;function qn(n){this.options=u({},this.defaults,n||{}),this.id=N++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=Fn,this.simultaneous={},this.requireFail=[]}function jn(n){return n&Pn?"cancel":n&Nn?"end":n&Mn?"move":n&Dn?"start":""}function Ln(n){return n==G?"down":n==W?"up":n==H?"left":n==Z?"right":""}function Vn(n,e){var t=e.manager;return t?t.get(n):n}function Bn(){qn.apply(this,arguments)}function zn(){Bn.apply(this,arguments),this.pX=null,this.pY=null}function Un(){Bn.apply(this,arguments)}function Hn(){qn.apply(this,arguments),this._timer=null,this._input=null}function Zn(){Bn.apply(this,arguments)}function Wn(){Bn.apply(this,arguments)}function Gn(){qn.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Kn(n,e){return(e=e||{}).recognizers=S(e.recognizers,Kn.defaults.preset),new Yn(n,e)}function Yn(n,e){var t;this.options=u({},Kn.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?vn:j?xn:P?kn:cn))(t,nn),this.touchAction=new On(this,this.options.touchAction),$n(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 $n(n,e){var t,l=n.element;l.style&&(g(n.options.cssProps,function(o,r){t=M(l.style,r),e?(n.oldCssProps[t]=l.style[t],l.style[t]=o):l.style[t]=n.oldCssProps[t]||""}),e||(n.oldCssProps={}))}qn.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=Vn(n,this)).id]||(e[n.id]=n,n.recognizeWith(this)),this},dropRecognizeWith:function(n){return v(n,"dropRecognizeWith",this)?this:(n=Vn(n,this),delete this.simultaneous[n.id],this)},requireFailure:function(n){if(v(n,"requireFailure",this))return this;var e=this.requireFail;return-1===O(e,n=Vn(n,this))&&(e.push(n),n.requireFailure(this)),this},dropRequireFailure:function(n){if(v(n,"dropRequireFailure",this))return this;n=Vn(n,this);var e=O(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<Nn&&l(e.options.event+jn(t)),l(e.options.event),n.additionalEvent&&l(n.additionalEvent),t>=Nn&&l(e.options.event+jn(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|Fn)))return!1;n++}return!0},recognize:function(n){var e=u({},n);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(An|Pn|32)&&(this.state=Fn),this.state=this.process(e),this.state&(Dn|Mn|Nn|Pn)&&this.tryEmit(e)},process:function(n){},getTouchAction:function(){},reset:function(){}},w(Bn,qn,{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&(Dn|Mn),o=this.attrTest(n);return l&&(t&z||!o)?e|Pn:l||o?t&B?e|Nn:e&Dn?e|Mn:Dn:32}}),w(zn,Bn,{defaults:{event:"pan",threshold:10,pointers:1,direction:$},getTouchAction:function(){var n=this.options.direction,e=[];return n&K&&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,r=n.deltaX,i=n.deltaY;return o&e.direction||(e.direction&K?(o=0===r?U:r<0?H:Z,t=r!=this.pX,l=Math.abs(n.deltaX)):(o=0===i?U:i<0?W:G,t=i!=this.pY,l=Math.abs(n.deltaY))),n.direction=o,t&&l>e.threshold&&o&e.direction},attrTest:function(n){return Bn.prototype.attrTest.call(this,n)&&(this.state&Dn||!(this.state&Dn)&&this.directionTest(n))},emit:function(n){this.pX=n.deltaX,this.pY=n.deltaY;var e=Ln(n.direction);e&&(n.additionalEvent=this.options.event+e),this._super.emit.call(this,n)}}),w(Un,Bn,{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&Dn)},emit:function(n){1!==n.scale&&(n.additionalEvent=this.options.event+(n.scale<1?"in":"out")),this._super.emit.call(this,n)}}),w(Hn,qn,{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&(B|z)&&!o)this.reset();else if(n.eventType&V)this.reset(),this._timer=m(function(){this.state=An,this.tryEmit()},e.time,this);else if(n.eventType&B)return An;return 32},reset:function(){clearTimeout(this._timer)},emit:function(n){this.state===An&&(n&&n.eventType&B?this.manager.emit(this.options.event+"up",n):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),w(Zn,Bn,{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&Dn)}}),w(Wn,Bn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:K|Y,pointers:1},getTouchAction:function(){return zn.prototype.getTouchAction.call(this)},attrTest:function(n){var e,t=this.options.direction;return t&(K|Y)?e=n.overallVelocity:t&K?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&B},emit:function(n){var e=Ln(n.offsetDirection);e&&this.manager.emit(this.options.event+e,n),this.manager.emit(this.options.event,n)}}),w(Gn,qn,{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!=B)return this.failTimeout();var r=!this.pTime||n.timeStamp-this.pTime<e.interval,i=!this.pCenter||rn(this.pCenter,n.center)<e.posThreshold;if(this.pTime=n.timeStamp,this.pCenter=n.center,i&&r?this.count+=1:this.count=1,this._input=n,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=An,this.tryEmit()},e.interval,this),Dn):An}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==An&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Kn.VERSION="2.0.7",Kn.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Zn,{enable:!1}],[Un,{enable:!1},["rotate"]],[Wn,{direction:K}],[zn,{direction:K},["swipe"]],[Gn],[Gn,{event:"doubletap",taps:2},["tap"]],[Hn]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Yn.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&An)&&(o=e.curRecognizer=null);for(var r=0;r<l.length;)t=l[r],2===e.stopped||o&&t!=o&&!t.canRecognizeWith(o)?t.reset():t.recognize(n),!o&&t.state&(Dn|Mn|Nn)&&(o=e.curRecognizer=t),r++}},get:function(n){if(n instanceof qn)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=O(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(O(t[n],e),1):delete t[n]}),this}},emit:function(n,e){this.options.domEvents&&function(n,e){var t=r.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&&$n(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(Kn,{INPUT_START:V,INPUT_MOVE:2,INPUT_END:B,INPUT_CANCEL:z,STATE_POSSIBLE:Fn,STATE_BEGAN:Dn,STATE_CHANGED:Mn,STATE_ENDED:Nn,STATE_RECOGNIZED:An,STATE_CANCELLED:Pn,STATE_FAILED:32,DIRECTION_NONE:U,DIRECTION_LEFT:H,DIRECTION_RIGHT:Z,DIRECTION_UP:W,DIRECTION_DOWN:G,DIRECTION_HORIZONTAL:K,DIRECTION_VERTICAL:Y,DIRECTION_ALL:$,Manager:Yn,Input:J,TouchAction:On,TouchInput:xn,MouseInput:cn,PointerEventInput:vn,TouchMouseInput:kn,SingleTouchInput:_n,Recognizer:qn,AttrRecognizer:Bn,Tap:Gn,Pan:zn,Swipe:Wn,Pinch:Un,Rotate:Zn,Press:Hn,on:k,off:E,each:g,merge:_,extend:y,assign:u,inherit:w,bindFn:C,prefixed:M}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Kn,(l=(function(){return Kn}).call(e,t,e,n))===a||(n.exports=l)}(window,document)},yTw5:function(n,e,t){var l=t("vd7W").TYPE.LeftCurlyBracket;function o(n){return this.Raw(n,l,0,!1,!0)}function r(){var n=this.SelectorList();return"Raw"!==n.type&&!1===this.scanner.eof&&this.scanner.tokenType!==l&&this.scanner.error(),n}n.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var n,e,t=this.scanner.currentToken,l=this.scanner.tokenStart;return n=this.parseRulePrelude?this.parseWithFallback(r,o):o.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";function l(n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}Object.defineProperty(e,"__esModule",{value:!0});var o=t("CcnG"),r=t("Ip0R"),i=t("CBFY"),a=t("XtUT"),u=t("+ryv"),s=t("oVTH");l(t("XtUT")),l(t("M+vq")),l(t("+ryv")),l(t("CBFY")),l(t("oVTH")),e.HotkeyModule=function(){function n(){}return n.forRoot=function(e){return void 0===e&&(e={}),{ngModule:n,providers:[s.HotkeysService,{provide:u.HotkeyOptions,useValue:e}]}},n.decorators=[{type:o.NgModule,args:[{imports:[r.CommonModule],exports:[i.HotkeysDirective,a.CheatSheetComponent],declarations:[i.HotkeysDirective,a.CheatSheetComponent]}]}],n}()},zAZS:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e,t))}}var i=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 r=n.call(this,e)||this;return r.predicate=t,r.thisArg=l,r.source=o,r.index=0,r.thisArg=l||r,r}return l.__extends(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 SI}),t.d(l,"drag",function(){return OO}),t.d(l,"dragDisable",function(){return CO}),t.d(l,"dragEnable",function(){return xO}),t.d(l,"path",function(){return GF}),t.d(l,"arc",function(){return ED}),t.d(l,"area",function(){return DD}),t.d(l,"line",function(){return FD}),t.d(l,"pie",function(){return AD}),t.d(l,"areaRadial",function(){return BD}),t.d(l,"radialArea",function(){return BD}),t.d(l,"lineRadial",function(){return VD}),t.d(l,"radialLine",function(){return VD}),t.d(l,"pointRadial",function(){return zD}),t.d(l,"linkHorizontal",function(){return $D}),t.d(l,"linkVertical",function(){return XD}),t.d(l,"linkRadial",function(){return QD}),t.d(l,"symbol",function(){return vM}),t.d(l,"symbols",function(){return mM}),t.d(l,"symbolCircle",function(){return JD}),t.d(l,"symbolCross",function(){return nM}),t.d(l,"symbolDiamond",function(){return lM}),t.d(l,"symbolSquare",function(){return uM}),t.d(l,"symbolStar",function(){return aM}),t.d(l,"symbolTriangle",function(){return dM}),t.d(l,"symbolWye",function(){return hM}),t.d(l,"curveBasisClosed",function(){return CM}),t.d(l,"curveBasisOpen",function(){return SM}),t.d(l,"curveBasis",function(){return _M}),t.d(l,"curveBundle",function(){return EM}),t.d(l,"curveCardinalClosed",function(){return FM}),t.d(l,"curveCardinalOpen",function(){return MM}),t.d(l,"curveCardinal",function(){return IM}),t.d(l,"curveCatmullRomClosed",function(){return jM}),t.d(l,"curveCatmullRomOpen",function(){return VM}),t.d(l,"curveCatmullRom",function(){return PM}),t.d(l,"curveLinearClosed",function(){return zM}),t.d(l,"curveLinear",function(){return RD}),t.d(l,"curveMonotoneX",function(){return $M}),t.d(l,"curveMonotoneY",function(){return XM}),t.d(l,"curveNatural",function(){return nN}),t.d(l,"curveStep",function(){return tN}),t.d(l,"curveStepAfter",function(){return oN}),t.d(l,"curveStepBefore",function(){return lN}),t.d(l,"stack",function(){return uN}),t.d(l,"stackOffsetExpand",function(){return sN}),t.d(l,"stackOffsetDiverging",function(){return dN}),t.d(l,"stackOffsetNone",function(){return rN}),t.d(l,"stackOffsetSilhouette",function(){return cN}),t.d(l,"stackOffsetWiggle",function(){return pN}),t.d(l,"stackOrderAscending",function(){return fN}),t.d(l,"stackOrderDescending",function(){return mN}),t.d(l,"stackOrderInsideOut",function(){return vN}),t.d(l,"stackOrderNone",function(){return iN}),t.d(l,"stackOrderReverse",function(){return gN}),t.d(l,"zoom",function(){return zq}),t.d(l,"zoomTransform",function(){return Mq}),t.d(l,"zoomIdentity",function(){return Dq}),t.d(l,"bisect",function(){return WH}),t.d(l,"bisectRight",function(){return HH}),t.d(l,"bisectLeft",function(){return ZH}),t.d(l,"ascending",function(){return BH}),t.d(l,"bisector",function(){return zH}),t.d(l,"cross",function(){return YH}),t.d(l,"descending",function(){return $H}),t.d(l,"deviation",function(){return JH}),t.d(l,"extent",function(){return nZ}),t.d(l,"histogram",function(){return hZ}),t.d(l,"thresholdFreedmanDiaconis",function(){return vZ}),t.d(l,"thresholdScott",function(){return gZ}),t.d(l,"thresholdSturges",function(){return fZ}),t.d(l,"max",function(){return bZ}),t.d(l,"mean",function(){return yZ}),t.d(l,"median",function(){return _Z}),t.d(l,"merge",function(){return wZ}),t.d(l,"min",function(){return CZ}),t.d(l,"pairs",function(){return GH}),t.d(l,"permute",function(){return xZ}),t.d(l,"quantile",function(){return mZ}),t.d(l,"range",function(){return iZ}),t.d(l,"scan",function(){return SZ}),t.d(l,"shuffle",function(){return kZ}),t.d(l,"sum",function(){return EZ}),t.d(l,"ticks",function(){return dZ}),t.d(l,"tickIncrement",function(){return cZ}),t.d(l,"tickStep",function(){return pZ}),t.d(l,"transpose",function(){return TZ}),t.d(l,"variance",function(){return QH}),t.d(l,"zip",function(){return IZ}),t.d(l,"axisTop",function(){return BZ}),t.d(l,"axisRight",function(){return zZ}),t.d(l,"axisBottom",function(){return UZ}),t.d(l,"axisLeft",function(){return HZ}),t.d(l,"brush",function(){return mW}),t.d(l,"brushX",function(){return fW}),t.d(l,"brushY",function(){return hW}),t.d(l,"brushSelection",function(){return pW}),t.d(l,"chord",function(){return xW}),t.d(l,"ribbon",function(){return FW}),t.d(l,"nest",function(){return AW}),t.d(l,"set",function(){return UW}),t.d(l,"map",function(){return NW}),t.d(l,"keys",function(){return HW}),t.d(l,"values",function(){return ZW}),t.d(l,"entries",function(){return WW}),t.d(l,"color",function(){return uG}),t.d(l,"rgb",function(){return pG}),t.d(l,"hsl",function(){return mG}),t.d(l,"lab",function(){return RG}),t.d(l,"hcl",function(){return NG}),t.d(l,"cubehelix",function(){return zG}),t.d(l,"contours",function(){return JG}),t.d(l,"contourDensity",function(){return oK}),t.d(l,"dsvFormat",function(){return cK}),t.d(l,"csvParse",function(){return fK}),t.d(l,"csvParseRows",function(){return hK}),t.d(l,"csvFormat",function(){return mK}),t.d(l,"csvFormatRows",function(){return vK}),t.d(l,"tsvParse",function(){return bK}),t.d(l,"tsvParseRows",function(){return yK}),t.d(l,"tsvFormat",function(){return _K}),t.d(l,"tsvFormatRows",function(){return wK}),t.d(l,"easeLinear",function(){return VP}),t.d(l,"easeQuad",function(){return UP}),t.d(l,"easeQuadIn",function(){return BP}),t.d(l,"easeQuadOut",function(){return zP}),t.d(l,"easeQuadInOut",function(){return UP}),t.d(l,"easeCubic",function(){return WP}),t.d(l,"easeCubicIn",function(){return HP}),t.d(l,"easeCubicOut",function(){return ZP}),t.d(l,"easeCubicInOut",function(){return WP}),t.d(l,"easePoly",function(){return YP}),t.d(l,"easePolyIn",function(){return GP}),t.d(l,"easePolyOut",function(){return KP}),t.d(l,"easePolyInOut",function(){return YP}),t.d(l,"easeSin",function(){return nq}),t.d(l,"easeSinIn",function(){return QP}),t.d(l,"easeSinOut",function(){return JP}),t.d(l,"easeSinInOut",function(){return nq}),t.d(l,"easeExp",function(){return lq}),t.d(l,"easeExpIn",function(){return eq}),t.d(l,"easeExpOut",function(){return tq}),t.d(l,"easeExpInOut",function(){return lq}),t.d(l,"easeCircle",function(){return iq}),t.d(l,"easeCircleIn",function(){return oq}),t.d(l,"easeCircleOut",function(){return rq}),t.d(l,"easeCircleInOut",function(){return iq}),t.d(l,"easeBounce",function(){return bq}),t.d(l,"easeBounceIn",function(){return gq}),t.d(l,"easeBounceOut",function(){return bq}),t.d(l,"easeBounceInOut",function(){return yq}),t.d(l,"easeBack",function(){return Cq}),t.d(l,"easeBackIn",function(){return _q}),t.d(l,"easeBackOut",function(){return wq}),t.d(l,"easeBackInOut",function(){return Cq}),t.d(l,"easeElastic",function(){return kq}),t.d(l,"easeElasticIn",function(){return Sq}),t.d(l,"easeElasticOut",function(){return kq}),t.d(l,"easeElasticInOut",function(){return Eq}),t.d(l,"forceCenter",function(){return CK}),t.d(l,"forceCollide",function(){return AK}),t.d(l,"forceLink",function(){return jK}),t.d(l,"forceManyBody",function(){return ZK}),t.d(l,"forceRadial",function(){return WK}),t.d(l,"forceSimulation",function(){return HK}),t.d(l,"forceX",function(){return GK}),t.d(l,"forceY",function(){return KK}),t.d(l,"formatDefaultLocale",function(){return uY}),t.d(l,"format",function(){return lY}),t.d(l,"formatPrefix",function(){return oY}),t.d(l,"formatLocale",function(){return aY}),t.d(l,"formatSpecifier",function(){return nY}),t.d(l,"precisionFixed",function(){return sY}),t.d(l,"precisionPrefix",function(){return dY}),t.d(l,"precisionRound",function(){return cY}),t.d(l,"geoArea",function(){return l$}),t.d(l,"geoBounds",function(){return Y$}),t.d(l,"geoCentroid",function(){return aX}),t.d(l,"geoCircle",function(){return bX}),t.d(l,"geoClipAntimeridian",function(){return IX}),t.d(l,"geoClipCircle",function(){return OX}),t.d(l,"geoClipExtent",function(){return jX}),t.d(l,"geoClipRectangle",function(){return NX}),t.d(l,"geoContains",function(){return tQ}),t.d(l,"geoDistance",function(){return GX}),t.d(l,"geoGraticule",function(){return rQ}),t.d(l,"geoGraticule10",function(){return iQ}),t.d(l,"geoInterpolate",function(){return cQ}),t.d(l,"geoLength",function(){return HX}),t.d(l,"geoPath",function(){return sJ}),t.d(l,"geoAlbers",function(){return RJ}),t.d(l,"geoAlbersUsa",function(){return IJ}),t.d(l,"geoAzimuthalEqualArea",function(){return MJ}),t.d(l,"geoAzimuthalEqualAreaRaw",function(){return DJ}),t.d(l,"geoAzimuthalEquidistant",function(){return AJ}),t.d(l,"geoAzimuthalEquidistantRaw",function(){return NJ}),t.d(l,"geoConicConformal",function(){return BJ}),t.d(l,"geoConicConformalRaw",function(){return VJ}),t.d(l,"geoConicEqualArea",function(){return TJ}),t.d(l,"geoConicEqualAreaRaw",function(){return EJ}),t.d(l,"geoConicEquidistant",function(){return ZJ}),t.d(l,"geoConicEquidistantRaw",function(){return HJ}),t.d(l,"geoEquirectangular",function(){return UJ}),t.d(l,"geoEquirectangularRaw",function(){return zJ}),t.d(l,"geoGnomonic",function(){return GJ}),t.d(l,"geoGnomonicRaw",function(){return WJ}),t.d(l,"geoIdentity",function(){return YJ}),t.d(l,"geoProjection",function(){return xJ}),t.d(l,"geoProjectionMutator",function(){return SJ}),t.d(l,"geoMercator",function(){return qJ}),t.d(l,"geoMercatorRaw",function(){return PJ}),t.d(l,"geoNaturalEarth1",function(){return XJ}),t.d(l,"geoNaturalEarth1Raw",function(){return $J}),t.d(l,"geoOrthographic",function(){return JJ}),t.d(l,"geoOrthographicRaw",function(){return QJ}),t.d(l,"geoStereographic",function(){return e0}),t.d(l,"geoStereographicRaw",function(){return n0}),t.d(l,"geoTransverseMercator",function(){return l0}),t.d(l,"geoTransverseMercatorRaw",function(){return t0}),t.d(l,"geoRotation",function(){return mX}),t.d(l,"geoStream",function(){return YY}),t.d(l,"geoTransform",function(){return dJ}),t.d(l,"cluster",function(){return a0}),t.d(l,"hierarchy",function(){return s0}),t.d(l,"pack",function(){return M0}),t.d(l,"packSiblings",function(){return R0}),t.d(l,"packEnclose",function(){return m0}),t.d(l,"partition",function(){return L0}),t.d(l,"stratify",function(){return Z0}),t.d(l,"tree",function(){return Q0}),t.d(l,"treemap",function(){return l1}),t.d(l,"treemapBinary",function(){return o1}),t.d(l,"treemapDice",function(){return j0}),t.d(l,"treemapSlice",function(){return J0}),t.d(l,"treemapSliceDice",function(){return r1}),t.d(l,"treemapSquarify",function(){return t1}),t.d(l,"treemapResquarify",function(){return i1}),t.d(l,"interpolate",function(){return T2}),t.d(l,"interpolateArray",function(){return _2}),t.d(l,"interpolateBasis",function(){return i2}),t.d(l,"interpolateBasisClosed",function(){return a2}),t.d(l,"interpolateDate",function(){return w2}),t.d(l,"interpolateNumber",function(){return C2}),t.d(l,"interpolateObject",function(){return x2}),t.d(l,"interpolateRound",function(){return R2}),t.d(l,"interpolateString",function(){return E2}),t.d(l,"interpolateTransformCss",function(){return M2}),t.d(l,"interpolateTransformSvg",function(){return N2}),t.d(l,"interpolateZoom",function(){return q2}),t.d(l,"interpolateRgb",function(){return p2}),t.d(l,"interpolateRgbBasis",function(){return b2}),t.d(l,"interpolateRgbBasisClosed",function(){return y2}),t.d(l,"interpolateHsl",function(){return L2}),t.d(l,"interpolateHslLong",function(){return V2}),t.d(l,"interpolateLab",function(){return B2}),t.d(l,"interpolateHcl",function(){return U2}),t.d(l,"interpolateHclLong",function(){return H2}),t.d(l,"interpolateCubehelix",function(){return W2}),t.d(l,"interpolateCubehelixLong",function(){return G2}),t.d(l,"quantize",function(){return K2}),t.d(l,"polygonArea",function(){return Y2}),t.d(l,"polygonCentroid",function(){return $2}),t.d(l,"polygonHull",function(){return n3}),t.d(l,"polygonContains",function(){return e3}),t.d(l,"polygonLength",function(){return t3}),t.d(l,"quadtree",function(){return IK}),t.d(l,"randomUniform",function(){return o3}),t.d(l,"randomNormal",function(){return r3}),t.d(l,"randomLogNormal",function(){return i3}),t.d(l,"randomBates",function(){return u3}),t.d(l,"randomIrwinHall",function(){return a3}),t.d(l,"randomExponential",function(){return s3}),t.d(l,"scaleBand",function(){return m3}),t.d(l,"scalePoint",function(){return v3}),t.d(l,"scaleIdentity",function(){return z3}),t.d(l,"scaleLinear",function(){return B3}),t.d(l,"scaleLog",function(){return $3}),t.d(l,"scaleOrdinal",function(){return h3}),t.d(l,"scaleImplicit",function(){return f3}),t.d(l,"scalePow",function(){return Q3}),t.d(l,"scaleSqrt",function(){return J3}),t.d(l,"scaleQuantile",function(){return n4}),t.d(l,"scaleQuantize",function(){return e4}),t.d(l,"scaleThreshold",function(){return t4}),t.d(l,"scaleTime",function(){return Q7}),t.d(l,"scaleUtc",function(){return J7}),t.d(l,"scaleSequential",function(){return n8}),t.d(l,"schemeCategory10",function(){return t8}),t.d(l,"schemeAccent",function(){return l8}),t.d(l,"schemeDark2",function(){return o8}),t.d(l,"schemePaired",function(){return r8}),t.d(l,"schemePastel1",function(){return i8}),t.d(l,"schemePastel2",function(){return a8}),t.d(l,"schemeSet1",function(){return u8}),t.d(l,"schemeSet2",function(){return s8}),t.d(l,"schemeSet3",function(){return d8}),t.d(l,"interpolateBrBG",function(){return f8}),t.d(l,"schemeBrBG",function(){return p8}),t.d(l,"interpolatePRGn",function(){return m8}),t.d(l,"schemePRGn",function(){return h8}),t.d(l,"interpolatePiYG",function(){return g8}),t.d(l,"schemePiYG",function(){return v8}),t.d(l,"interpolatePuOr",function(){return y8}),t.d(l,"schemePuOr",function(){return b8}),t.d(l,"interpolateRdBu",function(){return w8}),t.d(l,"schemeRdBu",function(){return _8}),t.d(l,"interpolateRdGy",function(){return x8}),t.d(l,"schemeRdGy",function(){return C8}),t.d(l,"interpolateRdYlBu",function(){return k8}),t.d(l,"schemeRdYlBu",function(){return S8}),t.d(l,"interpolateRdYlGn",function(){return T8}),t.d(l,"schemeRdYlGn",function(){return E8}),t.d(l,"interpolateSpectral",function(){return I8}),t.d(l,"schemeSpectral",function(){return R8}),t.d(l,"interpolateBuGn",function(){return F8}),t.d(l,"schemeBuGn",function(){return O8}),t.d(l,"interpolateBuPu",function(){return M8}),t.d(l,"schemeBuPu",function(){return D8}),t.d(l,"interpolateGnBu",function(){return A8}),t.d(l,"schemeGnBu",function(){return N8}),t.d(l,"interpolateOrRd",function(){return q8}),t.d(l,"schemeOrRd",function(){return P8}),t.d(l,"interpolatePuBuGn",function(){return L8}),t.d(l,"schemePuBuGn",function(){return j8}),t.d(l,"interpolatePuBu",function(){return B8}),t.d(l,"schemePuBu",function(){return V8}),t.d(l,"interpolatePuRd",function(){return U8}),t.d(l,"schemePuRd",function(){return z8}),t.d(l,"interpolateRdPu",function(){return Z8}),t.d(l,"schemeRdPu",function(){return H8}),t.d(l,"interpolateYlGnBu",function(){return G8}),t.d(l,"schemeYlGnBu",function(){return W8}),t.d(l,"interpolateYlGn",function(){return Y8}),t.d(l,"schemeYlGn",function(){return K8}),t.d(l,"interpolateYlOrBr",function(){return X8}),t.d(l,"schemeYlOrBr",function(){return $8}),t.d(l,"interpolateYlOrRd",function(){return J8}),t.d(l,"schemeYlOrRd",function(){return Q8}),t.d(l,"interpolateBlues",function(){return e5}),t.d(l,"schemeBlues",function(){return n5}),t.d(l,"interpolateGreens",function(){return l5}),t.d(l,"schemeGreens",function(){return t5}),t.d(l,"interpolateGreys",function(){return r5}),t.d(l,"schemeGreys",function(){return o5}),t.d(l,"interpolatePurples",function(){return a5}),t.d(l,"schemePurples",function(){return i5}),t.d(l,"interpolateReds",function(){return s5}),t.d(l,"schemeReds",function(){return u5}),t.d(l,"interpolateOranges",function(){return c5}),t.d(l,"schemeOranges",function(){return d5}),t.d(l,"interpolateCubehelixDefault",function(){return p5}),t.d(l,"interpolateRainbow",function(){return v5}),t.d(l,"interpolateWarm",function(){return f5}),t.d(l,"interpolateCool",function(){return h5}),t.d(l,"interpolateViridis",function(){return b5}),t.d(l,"interpolateMagma",function(){return y5}),t.d(l,"interpolateInferno",function(){return _5}),t.d(l,"interpolatePlasma",function(){return w5}),t.d(l,"create",function(){return f9}),t.d(l,"creator",function(){return S5}),t.d(l,"local",function(){return m9}),t.d(l,"matcher",function(){return D5}),t.d(l,"mouse",function(){return y9}),t.d(l,"namespace",function(){return x5}),t.d(l,"namespaces",function(){return C5}),t.d(l,"clientPoint",function(){return b9}),t.d(l,"select",function(){return p9}),t.d(l,"selectAll",function(){return _9}),t.d(l,"selection",function(){return c9}),t.d(l,"selector",function(){return E5}),t.d(l,"selectorAll",function(){return R5}),t.d(l,"style",function(){return V5}),t.d(l,"touch",function(){return w9}),t.d(l,"touches",function(){return C9}),t.d(l,"window",function(){return L5}),t.d(l,"event",function(){return e9}),t.d(l,"customEvent",function(){return i9}),t.d(l,"timeInterval",function(){return r4}),t.d(l,"timeMillisecond",function(){return a4}),t.d(l,"timeMilliseconds",function(){return u4}),t.d(l,"utcMillisecond",function(){return a4}),t.d(l,"utcMilliseconds",function(){return u4}),t.d(l,"timeSecond",function(){return p4}),t.d(l,"timeSeconds",function(){return f4}),t.d(l,"utcSecond",function(){return p4}),t.d(l,"utcSeconds",function(){return f4}),t.d(l,"timeMinute",function(){return m4}),t.d(l,"timeMinutes",function(){return v4}),t.d(l,"timeHour",function(){return b4}),t.d(l,"timeHours",function(){return y4}),t.d(l,"timeDay",function(){return w4}),t.d(l,"timeDays",function(){return C4}),t.d(l,"timeWeek",function(){return S4}),t.d(l,"timeWeeks",function(){return F4}),t.d(l,"timeSunday",function(){return S4}),t.d(l,"timeSundays",function(){return F4}),t.d(l,"timeMonday",function(){return k4}),t.d(l,"timeMondays",function(){return D4}),t.d(l,"timeTuesday",function(){return E4}),t.d(l,"timeTuesdays",function(){return M4}),t.d(l,"timeWednesday",function(){return T4}),t.d(l,"timeWednesdays",function(){return N4}),t.d(l,"timeThursday",function(){return R4}),t.d(l,"timeThursdays",function(){return A4}),t.d(l,"timeFriday",function(){return I4}),t.d(l,"timeFridays",function(){return P4}),t.d(l,"timeSaturday",function(){return O4}),t.d(l,"timeSaturdays",function(){return q4}),t.d(l,"timeMonth",function(){return L4}),t.d(l,"timeMonths",function(){return V4}),t.d(l,"timeYear",function(){return z4}),t.d(l,"timeYears",function(){return U4}),t.d(l,"utcMinute",function(){return Z4}),t.d(l,"utcMinutes",function(){return W4}),t.d(l,"utcHour",function(){return K4}),t.d(l,"utcHours",function(){return Y4}),t.d(l,"utcDay",function(){return X4}),t.d(l,"utcDays",function(){return Q4}),t.d(l,"utcWeek",function(){return n6}),t.d(l,"utcWeeks",function(){return a6}),t.d(l,"utcSunday",function(){return n6}),t.d(l,"utcSundays",function(){return a6}),t.d(l,"utcMonday",function(){return e6}),t.d(l,"utcMondays",function(){return u6}),t.d(l,"utcTuesday",function(){return t6}),t.d(l,"utcTuesdays",function(){return s6}),t.d(l,"utcWednesday",function(){return l6}),t.d(l,"utcWednesdays",function(){return d6}),t.d(l,"utcThursday",function(){return o6}),t.d(l,"utcThursdays",function(){return c6}),t.d(l,"utcFriday",function(){return r6}),t.d(l,"utcFridays",function(){return p6}),t.d(l,"utcSaturday",function(){return i6}),t.d(l,"utcSaturdays",function(){return f6}),t.d(l,"utcMonth",function(){return m6}),t.d(l,"utcMonths",function(){return v6}),t.d(l,"utcYear",function(){return b6}),t.d(l,"utcYears",function(){return y6}),t.d(l,"timeFormatDefaultLocale",function(){return L7}),t.d(l,"timeFormat",function(){return k6}),t.d(l,"timeParse",function(){return E6}),t.d(l,"utcFormat",function(){return T6}),t.d(l,"utcParse",function(){return R6}),t.d(l,"timeFormatLocale",function(){return x6}),t.d(l,"isoFormat",function(){return V7}),t.d(l,"isoParse",function(){return B7}),t.d(l,"now",function(){return aP}),t.d(l,"timer",function(){return dP}),t.d(l,"timerFlush",function(){return cP}),t.d(l,"timeout",function(){return mP}),t.d(l,"interval",function(){return vP}),t.d(l,"transition",function(){return Yen}),t.d(l,"active",function(){return etn}),t.d(l,"interrupt",function(){return Snn}),t.d(l,"voronoi",function(){return Vtn}),t("yLV6");var o=t("CcnG"),r=t("NlKi"),i=t("kiQV").version,a=new(function(){return function(){this.shouldSend=!0}}());r.config("https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726",{shouldSendCallback:function(){return a.shouldSend},release:i}).install();var u=function(){return function(){}}(),s=t("mrSG"),d=t("6blF"),c=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}(),p=function(){function n(n,e,t,l){var o=this;void 0===l&&(l={}),this._loader=e;var r=l.type||c.MEMORY;t.defineProperty(this,"_value",n,l),this._changes=t.changes({key:n,type:r}).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 d.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 d.a.of(e)},n.prototype.changes=function(){return this._changes},n.prototype.clear=function(){this._value=void 0},n}(),f="__INFO",h=function(){function n(n,e){this._namespace=n,this._container=e;var t=e.get(this._namespace);if(t&&("object"!=typeof t||!t[f]))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!==f})},n.prototype.available=function(){var n=this._container.get(this._namespace);return!n||"object"==typeof n&&n[f]},n.prototype._getInfo=function(){var n=this._container.get(this._namespace);return n||((n={})[f]=!0),n},n.prototype._setInfo=function(n){Object.keys(n).length<=1?this._container.remove(this._namespace):this._container.set(this._namespace,n)},n}(),m=function(){function n(n,e,t){void 0===t&&(t=!0),this._namespace=n,this._root=e,this._available=t,this._info=new h(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}(),v=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}(),g="ANGULAR_PERSISTENCE_STORAGE",b=function(n){function e(e){n.call(this,g,new v(e),!!e)}return Object(s.__extends)(e,n),e}(m),y=function(n){function e(){n.call(this,sessionStorage)}return Object(s.__extends)(e,n),e}(b),_=function(n){function e(){n.call(this,localStorage)}return Object(s.__extends)(e,n),e}(b),w=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}(),C=function(n){function e(){n.apply(this,arguments)}return Object(s.__extends)(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}(w),x=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 c.MEMORY:e=new w,this._storages[n]=e;break;case c.IMMUTABLE_MEMORY:e=new C;break;case c.LOCAL:e=new _;break;case c.SESSION:e=new y}if(!e||!e.available())throw new Error("Storage type not available");this._storages[n]=e}return e},n}(),S=function(){function n(){this._emitter=new o.EventEmitter,this._storage=x.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=c.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=c.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(),r=l.set(n,{data:e,expireAfter:t.expireAfter,timeout:t.timeout,oneUse:!!t.oneUse,created:o,lastAccessed:o});return r?this._emitter.emit({key:n,type:t.type}):l.remove(n),r},n.prototype.remove=function(n,e){void 0===e&&(e=c.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=c.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=c.MEMORY);for(var e=this._getStorage(n),t=e.keys(),l=Date.now(),o=0,r=t;o<r.length;o++){var i=r[o],a=e.get(i);a&&(a.expireAfter&&a.created+a.expireAfter<l||a.timeout&&a.lastAccessed+a.timeout<l)&&this.remove(i)}},n.prototype.defineProperty=function(n,e,t,l){var o=this;void 0===l&&(l={});var r=l.type||c.MEMORY;Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return o.get(t,r)},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||c.MEMORY};return new m(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 p(n,e,this,{type:t.type||c.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}(),k=function(){return function(){}}(),E=t("26FU"),T=function(){function n(n){this.persistenceService=n,this.settingsSubject=new E.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,c.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:c.LOCAL}),this.settingsSubject.next(this.getAll())},n.prototype.getAll=function(){var e=this,t=s.__assign({},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}(),R=function(){function n(n,e,t,l){this.settingsService=t,this.electronService=l,n.addSvgIcon("gns3",e.bypassSecurityTrustResourceUrl("./assets/gns3_icon.svg"))}return n.prototype.ngOnInit=function(){var n=this;this.electronService.isElectronApp&&this.settingsService.subscribe(function(e){n.electronService.ipcRenderer.send("settings.changed",e)})},n}(),I=t("Ip0R"),O=t("F/XL"),F=t("0/uQ"),D=t("3fWJ"),M=t("dzgT"),N=t("lYZG"),A=t("K9Ia"),P=t("G5J1"),q=t("67Y/"),j=t("Txjg"),L=t("w1EH"),V=t("9Z1F"),B=t("P6uZ"),z=t("psW0"),U=t("zAZS"),H=t("15JJ"),Z=t("t9fZ"),W=t("p0Sj"),G=t("dC0D"),K=t("VnD/"),Y=t("Phjn"),$=t("Qgas"),X=t("xMyE"),Q=t("2WpN"),J=t("Zn8D"),nn=null;function en(){return nn}var tn,ln={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},on={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};o["\u0275global"].Node&&(tn=o["\u0275global"].Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))});var an,un=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.parse=function(n){throw new Error("parse not implemented")},e.makeCurrent=function(){var n;n=new e,nn||(nn=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(s.__spread)(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 ln},enumerable:!0,configurable:!0}),e.prototype.contains=function(n,e){return tn.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&&rn.hasOwnProperty(e)&&(e=rn[e]))}return on[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=sn||(sn=document.querySelector("base"))?sn.getAttribute("href"):null;return null==t?null:(e=t,an||(an=document.createElement("a")),an.setAttribute("href",e),"/"===an.pathname.charAt(0)?an.pathname:"/"+an.pathname)},e.prototype.resetBaseElement=function(){sn=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(I["\u0275parseCookieValue"])(document.cookie,n)},e.prototype.setCookie=function(n,e){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(e)},e}(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 r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(r).forEach(function(n){null!=e.getStyle(t,n)&&(e._transitionEnd=r[n])})}catch(i){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(s.__extends)(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}())),sn=null,dn=I.DOCUMENT;function cn(){return!!window.history.pushState}var pn=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._init(),t}return Object(s.__extends)(e,n),e.prototype._init=function(){this.location=en().getLocation(),this._history=en().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return en().getBaseHref(this._doc)},e.prototype.onPopState=function(n){en().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",n,!1)},e.prototype.onHashChange=function(n){en().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",n,!1)},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){cn()?this._history.pushState(n,e,t):this.location.hash=t},e.prototype.replaceState=function(n,e,t){cn()?this._history.replaceState(n,e,t):this.location.hash=t},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},Object(s.__decorate)([Object(s.__param)(0,Object(o.Inject)(dn)),Object(s.__metadata)("design:paramtypes",[Object])],e)}(I.PlatformLocation),fn=new o.InjectionToken("TRANSITION_ID"),hn=[{provide:o.APP_INITIALIZER,useFactory:function(n,e,t){return function(){t.get(o.ApplicationInitStatus).donePromise.then(function(){var t=en();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:[fn,dn,o.Injector],multi:!0}],mn=function(){function n(){}return n.init=function(){Object(o.setTestabilityGetter)(new n)},n.prototype.addToWindow=function(n){o["\u0275global"].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["\u0275global"].getAllAngularTestabilities=function(){return n.getAllTestabilities()},o["\u0275global"].getAllAngularRootElements=function(){return n.getAllRootElements()},o["\u0275global"].frameworkStabilizers||(o["\u0275global"].frameworkStabilizers=[]),o["\u0275global"].frameworkStabilizers.push(function(n){var e=o["\u0275global"].getAllAngularTestabilities(),t=e.length,l=!1,r=function(e){l=l||e,0==--t&&n(l)};e.forEach(function(n){n.whenStable(r)})})},n.prototype.findTestabilityInTree=function(n,e,t){if(null==e)return null;var l=n.getTestability(e);return null!=l?l:t?en().isShadowRoot(e)?this.findTestabilityInTree(n,en().getHost(e),!0):this.findTestabilityInTree(n,en().parentElement(e),!0):null},n}();function vn(n,e){"undefined"!=typeof COMPILED&&COMPILED||((o["\u0275global"].ng=o["\u0275global"].ng||{})[n]=e)}var gn={ApplicationRef:o.ApplicationRef,NgZone:o.NgZone};function bn(n){return Object(o.getDebugNode)(n)}var yn=new o.InjectionToken("EventManagerPlugins"),_n=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}(),wn=function(){function n(n){this._doc=n}return n.prototype.addGlobalEventListener=function(n,e,t){var l=en().getGlobalEventTarget(this._doc,n);if(!l)throw new Error("Unsupported event target "+l+" for event "+e);return this.addEventListener(l,e,t)},n}(),Cn=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}(),xn=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(s.__extends)(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 en().remove(n)})},e}(Cn),Sn={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/"},kn=/%COMP%/g,En="_nghost-%COMP%",Tn="_ngcontent-%COMP%";function Rn(n,e,t){for(var l=0;l<e.length;l++){var o=e[l];Array.isArray(o)?Rn(n,o,t):(o=o.replace(kn,n),t.push(o))}return t}function In(n){return function(e){!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}var On=function(){function n(n,e,t){this.eventManager=n,this.sharedStylesHost=e,this.appId=t,this.rendererByCompId=new Map,this.defaultRenderer=new Fn(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 An(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 Pn(this.eventManager,this.sharedStylesHost,n,e);default:if(!this.rendererByCompId.has(e.id)){var l=Rn(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}(),Fn=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(Sn[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=Sn[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=Sn[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){Mn(e,"property"),n[e]=t},n.prototype.setValue=function(n,e){n.nodeValue=e},n.prototype.listen=function(n,e,t){return Mn(e,"listener"),"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,In(t)):this.eventManager.addEventListener(n,e,In(t))},n}(),Dn="@".charCodeAt(0);function Mn(n,e){if(n.charCodeAt(0)===Dn)throw new Error("Found the synthetic "+e+" "+n+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Nn,An=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;r.component=l;var i=Rn(o+"-"+l.id,l.styles,[]);return t.addStyles(i),r.contentAttr=Tn.replace(kn,o+"-"+l.id),r.hostAttr=En.replace(kn,o+"-"+l.id),r}return Object(s.__extends)(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}(Fn),Pn=function(n){function e(e,t,l,r){var i=n.call(this,e)||this;i.sharedStylesHost=t,i.hostEl=l,i.component=r,i.shadowRoot=r.encapsulation===o.ViewEncapsulation.ShadowDom?l.attachShadow({mode:"open"}):l.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Rn(r.id,r.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return Object(s.__extends)(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}(Fn),qn="undefined"!=typeof Zone&&Zone.__symbol__||function(n){return"__zone_symbol__"+n},jn=qn("addEventListener"),Ln=qn("removeEventListener"),Vn={},Bn="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[qn("BLACK_LISTED_EVENTS")]&&(Nn={});var zn=function(n){return!!Nn&&Nn.hasOwnProperty(n)},Un=function(n){var e=Vn[n.type];if(e){var t=this[e];if(t){var l=[n];if(1===t.length)return(i=t[0]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l);for(var o=t.slice(),r=0;r<o.length&&!0!==n[Bn];r++){var i;(i=o[r]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l)}}}},Hn=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.ngZone=t,l&&Object(I.isPlatformServer)(l)||o.patchEvent(),o}return Object(s.__extends)(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[Bn]=!0),n&&n.apply(this,arguments)}}},e.prototype.supports=function(n){return!0},e.prototype.addEventListener=function(n,e,t){var l=this,r=t;if(!n[jn]||o.NgZone.isInAngularZone()&&!zn(e))n.addEventListener(e,r,!1);else{var i=Vn[e];i||(i=Vn[e]=qn("ANGULAR"+e+"FALSE"));var a=n[i],u=a&&a.length>0;a||(a=n[i]=[]);var s=zn(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:r});else{for(var d=!1,c=0;c<a.length;c++)if(a[c].handler===r){d=!0;break}d||a.push({zone:s,handler:r})}u||n[jn](e,Un,!1)}return function(){return l.removeEventListener(n,e,r)}},e.prototype.removeEventListener=function(n,e,t){var l=n[Ln];if(!l)return n.removeEventListener.apply(n,[e,t,!1]);var o=Vn[e],r=o&&n[o];if(!r)return n.removeEventListener.apply(n,[e,t,!1]);for(var i=!1,a=0;a<r.length;a++)if(r[a].handler===t){i=!0,r.splice(a,1);break}i?0===r.length&&l.apply(n,[e,Un,!1]):n.removeEventListener.apply(n,[e,t,!1])},e}(wn),Zn={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},Wn=new o.InjectionToken("HammerGestureConfig"),Gn=new o.InjectionToken("HammerLoader"),Kn=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}(),Yn=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r._config=t,r.console=l,r.loader=o,r}return Object(s.__extends)(e,n),e.prototype.supports=function(n){return!(!Zn.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 r=!1,i=function(){r=!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(i=function(){});r||(i=l.addEventListener(n,e,t))}).catch(function(){l.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),i=function(){}}),function(){i()}}return o.runOutsideAngular(function(){var r=l._config.buildHammer(n),i=function(n){o.runGuarded(function(){t(n)})};return r.on(e,i),function(){r.off(e,i),"function"==typeof r.destroy&&r.destroy()}})},e.prototype.isCustomEvent=function(n){return this._config.events.indexOf(n)>-1},e}(wn),$n=["alt","control","meta","shift"],Xn={alt:function(n){return n.altKey},control:function(n){return n.ctrlKey},meta:function(n){return n.metaKey},shift:function(n){return n.shiftKey}},Qn=function(n){function e(e){return n.call(this,e)||this}var t;return Object(s.__extends)(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),r=t.eventCallback(o.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return en().onAndCancel(n,o.domEventName,r)})},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()),r="";if($n.forEach(function(n){var t=e.indexOf(n);t>-1&&(e.splice(t,1),r+=n+".")}),r+=o,0!=e.length||0===o.length)return null;var i={};return i.domEventName=l,i.fullKey=r,i},e.getEventFullKey=function(n){var e="",t=en().getEventKey(n);return" "===(t=t.toLowerCase())?t="space":"."===t&&(t="dot"),$n.forEach(function(l){l!=t&&(0,Xn[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}(wn),Jn=function(){return function(){}}(),ne=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t}return Object(s.__extends)(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 te?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(o["\u0275_sanitizeHtml"])(this._doc,String(e)));case o.SecurityContext.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(o["\u0275_sanitizeStyle"])(e));case o.SecurityContext.SCRIPT:if(e instanceof oe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return e instanceof ie||e instanceof re?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(o["\u0275_sanitizeUrl"])(String(e)));case o.SecurityContext.RESOURCE_URL:if(e instanceof ie)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 ee)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 te(n)},e.prototype.bypassSecurityTrustStyle=function(n){return new le(n)},e.prototype.bypassSecurityTrustScript=function(n){return new oe(n)},e.prototype.bypassSecurityTrustUrl=function(n){return new re(n)},e.prototype.bypassSecurityTrustResourceUrl=function(n){return new ie(n)},e}(Jn),ee=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}(),te=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"HTML"},e}(ee),le=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"Style"},e}(ee),oe=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"Script"},e}(ee),re=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"URL"},e}(ee),ie=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ee),ae=[{provide:o.PLATFORM_ID,useValue:I["\u0275PLATFORM_BROWSER_ID"]},{provide:o.PLATFORM_INITIALIZER,useValue:function(){un.makeCurrent(),mn.init()},multi:!0},{provide:I.PlatformLocation,useClass:pn,deps:[dn]},{provide:dn,useFactory:function(){return document},deps:[]}],ue=Object(o.createPlatformFactory)(o.platformCore,"browser",ae),se=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:fn,useExisting:o.APP_ID},hn]}},n}();"undefined"!=typeof window&&window;var de=function(){return function(n,e){this.id=n,this.url=e}}(),ce=function(n){function e(e,t,l,o){void 0===l&&(l="imperative"),void 0===o&&(o=null);var r=n.call(this,e,t)||this;return r.navigationTrigger=l,r.restoredState=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(de),pe=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.urlAfterRedirects=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(de),fe=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.reason=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(de),he=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.error=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(de),me=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ve=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ge=function(n){function e(e,t,l,o,r){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i.shouldActivate=r,i}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(de),be=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ye=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),_e=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},n}(),we=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},n}(),Ce=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),xe=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),Se=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ke=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),Ee=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}(),Te=function(){return function(){}}(),Re="primary",Ie=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 Oe(n){return new Ie(n)}var Fe="ngNavigationCancelingError";function De(n){var e=Error("NavigationCancelingError: "+n);return e[Fe]=!0,e}function Me(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={},r=0;r<l.length;r++){var i=l[r],a=n[r];if(i.startsWith(":"))o[i.substring(1)]=a;else if(i!==a.path)return null}return{consumed:n.slice(0,l.length),posParams:o}}var Ne=function(){return function(n,e){this.routes=n,this.module=e}}();function Ae(n,e){void 0===e&&(e="");for(var t=0;t<n.length;t++){var l=n[t];Pe(l,qe(e,l))}}function Pe(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!==Re)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&&Ae(n.children,e)}function qe(n,e){return e?n||e.path?n&&!e.path?n+"/":!n&&e.path?e.path:n+"/"+e.path:"":n}function je(n){var e=n.children&&n.children.map(je),t=e?Object(s.__assign)({},n,{children:e}):Object(s.__assign)({},n);return!t.component&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Re&&(t.component=Te),t}function Le(n,e){var t,l=Object.keys(n),o=Object.keys(e);if(l.length!=o.length)return!1;for(var r=0;r<l.length;r++)if(n[t=l[r]]!==e[t])return!1;return!0}function Ve(n){return Array.prototype.concat.apply([],n)}function Be(n){return n.length>0?n[n.length-1]:null}function ze(n,e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)}function Ue(n){return Object(o["\u0275isObservable"])(n)?n:Object(o["\u0275isPromise"])(n)?Object(F.a)(Promise.resolve(n)):Object(O.a)(n)}function He(n,e,t){return t?function(n,e){return Le(n,e)}(n.queryParams,e.queryParams)&&function n(e,t){if(!Ke(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!!Ke(i=t.segments.slice(0,o.length),o)&&!l.hasChildren();if(t.segments.length===o.length){if(!Ke(t.segments,o))return!1;for(var r in l.children){if(!t.children[r])return!1;if(!n(t.children[r],l.children[r]))return!1}return!0}var i=o.slice(0,t.segments.length),a=o.slice(t.segments.length);return!!Ke(t.segments,i)&&!!t.children[Re]&&e(t.children[Re],l,a)}(e,t,t.segments)}(n.root,e.root)}var Ze=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=Oe(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Qe.serialize(this)},n}(),We=function(){function n(n,e){var t=this;this.segments=n,this.children=e,this.parent=null,ze(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 Je(this)},n}(),Ge=function(){function n(n,e){this.path=n,this.parameters=e}return Object.defineProperty(n.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return rt(this)},n}();function Ke(n,e){return n.length===e.length&&n.every(function(n,t){return n.path===e[t].path})}function Ye(n,e){var t=[];return ze(n.children,function(n,l){l===Re&&(t=t.concat(e(n,l)))}),ze(n.children,function(n,l){l!==Re&&(t=t.concat(e(n,l)))}),t}var $e=function(){return function(){}}(),Xe=function(){function n(){}return n.prototype.parse=function(n){var e=new dt(n);return new Ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},n.prototype.serialize=function(n){var e,t;return"/"+function n(e,t){if(!e.hasChildren())return Je(e);if(t){var l=e.children[Re]?n(e.children[Re],!1):"",o=[];return ze(e.children,function(e,t){t!==Re&&o.push(t+":"+n(e,!1))}),o.length>0?l+"("+o.join("//")+")":l}var r=Ye(e,function(t,l){return l===Re?[n(e.children[Re],!1)]:[l+":"+n(t,!1)]});return Je(e)+"/("+r.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 et(n)+"="+et(e)}).join("&"):et(n)+"="+et(t)})).length?"?"+t.join("&"):"")+("string"==typeof n.fragment?"#"+encodeURI(n.fragment):"")},n}(),Qe=new Xe;function Je(n){return n.segments.map(function(n){return rt(n)}).join("/")}function nt(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(n){return nt(n).replace(/%3B/gi,";")}function tt(n){return nt(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lt(n){return decodeURIComponent(n)}function ot(n){return lt(n.replace(/\+/g,"%20"))}function rt(n){return""+tt(n.path)+(e=n.parameters,Object.keys(e).map(function(n){return";"+tt(n)+"="+tt(e[n])}).join(""));var e}var it=/^[^\/()?;=#]+/;function at(n){var e=n.match(it);return e?e[0]:""}var ut=/^[^=?&#]+/,st=/^[^?&#]+/,dt=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 We([],{}):new We([],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[Re]=new We(n,e)),t},n.prototype.parseSegment=function(){var n=at(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(n),new Ge(lt(n),this.parseMatrixParams())},n.prototype.parseMatrixParams=function(){for(var n={};this.consumeOptional(";");)this.parseParam(n);return n},n.prototype.parseParam=function(n){var e=at(this.remaining);if(e){this.capture(e);var t="";if(this.consumeOptional("=")){var l=at(this.remaining);l&&this.capture(t=l)}n[lt(e)]=lt(t)}},n.prototype.parseQueryParam=function(n){var e,t=(e=this.remaining.match(ut))?e[0]:"";if(t){this.capture(t);var l="";if(this.consumeOptional("=")){var o=function(n){var e=n.match(st);return e?e[0]:""}(this.remaining);o&&this.capture(l=o)}var r=ot(t),i=ot(l);if(n.hasOwnProperty(r)){var a=n[r];Array.isArray(a)||(n[r]=a=[a]),a.push(i)}else n[r]=i}},n.prototype.parseParens=function(n){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var t=at(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=Re);var r=this.parseChildren();e[o]=1===Object.keys(r).length?r[Re]:new We([],r),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}(),ct=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=pt(n,this._root);return e?e.children.map(function(n){return n.value}):[]},n.prototype.firstChild=function(n){var e=pt(n,this._root);return e&&e.children.length>0?e.children[0].value:null},n.prototype.siblings=function(n){var e=ft(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 ft(n,this._root).map(function(n){return n.value})},n}();function pt(n,e){var t,l;if(n===e.value)return e;try{for(var o=Object(s.__values)(e.children),r=o.next();!r.done;r=o.next()){var i=pt(n,r.value);if(i)return i}}catch(a){t={error:a}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return null}function ft(n,e){var t,l;if(n===e.value)return[e];try{for(var o=Object(s.__values)(e.children),r=o.next();!r.done;r=o.next()){var i=ft(n,r.value);if(i.length)return i.unshift(e),i}}catch(a){t={error:a}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return[]}var ht=function(){function n(n,e){this.value=n,this.children=e}return n.prototype.toString=function(){return"TreeNode("+this.value+")"},n}();function mt(n){var e={};return n&&n.children.forEach(function(n){return e[n.value.outlet]=n}),e}var vt=function(n){function e(e,t){var l=n.call(this,e)||this;return l.snapshot=t,Ct(l,e),l}return Object(s.__extends)(e,n),e.prototype.toString=function(){return this.snapshot.toString()},e}(ct);function gt(n,e){var t=function(n,e){var t=new _t([],{},{},"",{},Re,e,null,n.root,-1,{});return new wt("",new ht(t,[]))}(n,e),l=new E.a([new Ge("",{})]),o=new E.a({}),r=new E.a({}),i=new E.a({}),a=new E.a(""),u=new bt(l,o,i,a,r,Re,e,t.root);return u.snapshot=t.root,new vt(new ht(u,[]),t)}var bt=function(){function n(n,e,t,l,o,r,i,a){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,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(q.a)(function(n){return Oe(n)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(q.a)(function(n){return Oe(n)}))),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},n}();function yt(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(s.__assign)({},n.params,e.params),data:Object(s.__assign)({},n.data,e.data),resolve:Object(s.__assign)({},n.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(t.slice(l))}var _t=function(){function n(n,e,t,l,o,r,i,a,u,s,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,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=Oe(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Oe(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}(),wt=function(n){function e(e,t){var l=n.call(this,t)||this;return l.url=e,Ct(l,t),l}return Object(s.__extends)(e,n),e.prototype.toString=function(){return xt(this._root)},e}(ct);function Ct(n,e){e.value._routerState=n,e.children.forEach(function(e){return Ct(n,e)})}function xt(n){var e=n.children.length>0?" { "+n.children.map(xt).join(", ")+" } ":"";return""+n.value+e}function St(n){if(n.snapshot){var e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Le(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Le(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(!Le(n[t],e[t]))return!1;return!0}(e.url,t.url)||n.url.next(t.url),Le(e.data,t.data)||n.data.next(t.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function kt(n,e){var t,l;return Le(n.params,e.params)&&Ke(t=n.url,l=e.url)&&t.every(function(n,e){return Le(n.parameters,l[e].parameters)})&&!(!n.parent!=!e.parent)&&(!n.parent||kt(n.parent,e.parent))}function Et(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Tt(n,e,t,l,o){var r={};return l&&ze(l,function(n,e){r[e]=Array.isArray(n)?n.map(function(n){return""+n}):""+n}),new Ze(t.root===n?e:function n(e,t,l){var o={};return ze(e.children,function(e,r){o[r]=e===t?l:n(e,t,l)}),new We(e.segments,o)}(t.root,n,e),r,o)}var Rt=function(){function n(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&Et(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!==Be(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}(),It=function(){return function(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}();function Ot(n){return"object"==typeof n&&null!=n&&n.outlets?n.outlets[Re]:""+n}function Ft(n,e,t){if(n||(n=new We([],{})),0===n.segments.length&&n.hasChildren())return Dt(n,e,t);var l=function(n,e,t){for(var l=0,o=e,r={match:!1,pathIndex:0,commandIndex:0};o<n.segments.length;){if(l>=t.length)return r;var i=n.segments[o],a=Ot(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(!Pt(a,u,i))return r;l+=2}else{if(!Pt(a,{},i))return r;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 r=new We(n.segments.slice(0,l.pathIndex),{});return r.children[Re]=new We(n.segments.slice(l.pathIndex),n.children),Dt(r,0,o)}return l.match&&0===o.length?new We(n.segments,{}):l.match&&!n.hasChildren()?Mt(n,e,t):l.match?Dt(n,0,o):Mt(n,e,t)}function Dt(n,e,t){if(0===t.length)return new We(n.segments,{});var l=function(n){var e,t;return"object"!=typeof n[0]?((e={})[Re]=n,e):void 0===n[0].outlets?((t={})[Re]=n,t):n[0].outlets}(t),o={};return ze(l,function(t,l){null!==t&&(o[l]=Ft(n.children[l],e,t))}),ze(n.children,function(n,e){void 0===l[e]&&(o[e]=n)}),new We(n.segments,o)}function Mt(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 r=Nt(t[o].outlets);return new We(l,r)}if(0===o&&Et(t[0]))l.push(new Ge(n.segments[e].path,t[0])),o++;else{var i=Ot(t[o]),a=o<t.length-1?t[o+1]:null;i&&a&&Et(a)?(l.push(new Ge(i,At(a))),o+=2):(l.push(new Ge(i,{})),o++)}}return new We(l,{})}function Nt(n){var e={};return ze(n,function(n,t){null!==n&&(e[t]=Mt(new We([],{}),0,n))}),e}function At(n){var e={};return ze(n,function(n,t){return e[t]=""+n}),e}function Pt(n,e,t){return n==t.path&&Le(e,t.parameters)}var qt=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),St(this.futureState.root),this.activateChildRoutes(e,t,n)},n.prototype.deactivateChildRoutes=function(n,e,t){var l=this,o=mt(e);n.children.forEach(function(n){var e=n.value.outlet;l.deactivateRoutes(n,o[e],t),delete o[e]}),ze(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 r=t.getContext(l.outlet);r&&this.deactivateChildRoutes(n,e,r.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=mt(n),r=n.value.component?l.children:e;ze(o,function(n,e){return t.deactivateRouteAndItsChildren(n,r)}),l.outlet&&(l.outlet.deactivate(),l.children.onOutletDeactivated())}},n.prototype.activateChildRoutes=function(n,e,t){var l=this,o=mt(e);n.children.forEach(function(n){l.activateRoutes(n,o[n.value.outlet],t),l.forwardEvent(new ke(n.value.snapshot))}),n.children.length&&this.forwardEvent(new xe(n.value.snapshot))},n.prototype.activateRoutes=function(n,e,t){var l=n.value,o=e?e.value:null;if(St(l),l===o)if(l.component){var r=t.getOrCreateContext(l.outlet);this.activateChildRoutes(n,e,r.children)}else this.activateChildRoutes(n,e,t);else if(l.component)if(r=t.getOrCreateContext(l.outlet),this.routeReuseStrategy.shouldAttach(l.snapshot)){var i=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),r.children.onOutletReAttached(i.contexts),r.attachRef=i.componentRef,r.route=i.route.value,r.outlet&&r.outlet.attach(i.componentRef,i.route.value),jt(i.route)}else{var a=function(n){for(var e=l.snapshot.parent;e;e=e.parent){var t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(),u=a?a.module.componentFactoryResolver:null;r.attachRef=null,r.route=l,r.resolver=u,r.outlet&&r.outlet.activateWith(l,u),this.activateChildRoutes(n,null,r.children)}else this.activateChildRoutes(n,null,t)},n}();function jt(n){St(n.value),n.children.forEach(jt)}function Lt(n){return"function"==typeof n}function Vt(n){return n instanceof Ze}var Bt=function(){return function(n){this.segmentGroup=n||null}}(),zt=function(){return function(n){this.urlTree=n}}();function Ut(n){return new d.a(function(e){return e.error(new Bt(n))})}function Ht(n){return new d.a(function(e){return e.error(new zt(n))})}function Zt(n){return new d.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+n+"'"))})}var Wt=function(){function n(n,e,t,l,r){this.configLoader=e,this.urlSerializer=t,this.urlTree=l,this.config=r,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,Re).pipe(Object(q.a)(function(e){return n.createUrlTree(e,n.urlTree.queryParams,n.urlTree.fragment)})).pipe(Object(V.a)(function(e){if(e instanceof zt)return n.allowRedirects=!1,n.match(e.urlTree);if(e instanceof Bt)throw n.noMatchError(e);throw e}))},n.prototype.match=function(n){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,n.root,Re).pipe(Object(q.a)(function(t){return e.createUrlTree(t,n.queryParams,n.fragment)})).pipe(Object(V.a)(function(n){if(n instanceof Bt)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 We([],((l={})[Re]=n,l)):n;return new Ze(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(q.a)(function(n){return new We([],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(O.a)({});var r=[],i=[],a={};return ze(t,function(t,o){var u,s,d=(u=o,s=t,l.expandSegmentGroup(n,e,s,u)).pipe(Object(q.a)(function(n){return a[o]=n}));o===Re?r.push(d):i.push(d)}),O.a.apply(null,r.concat(i)).pipe(Object(j.a)(),Object(L.a)(),Object(q.a)(function(){return a}))}(t.children)},n.prototype.expandSegment=function(n,e,t,l,o,r){var i=this;return O.a.apply(void 0,Object(s.__spread)(t)).pipe(Object(q.a)(function(a){return i.expandSegmentAgainstRoute(n,e,t,a,l,o,r).pipe(Object(V.a)(function(n){if(n instanceof Bt)return Object(O.a)(null);throw n}))}),Object(j.a)(),Object(B.a)(function(n){return!!n}),Object(V.a)(function(n,t){if(n instanceof D.a||"EmptyError"===n.name){if(i.noLeftoversInUrl(e,l,o))return Object(O.a)(new We([],{}));throw new Bt(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,r,i){return $t(l)!==r?Ut(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(n,e,l,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,l,o,r):Ut(e)},n.prototype.expandSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,l,o,r)},n.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,e,t,l){var o=this,r=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Ht(r):this.lineralizeSegments(t,r).pipe(Object(z.a)(function(t){var r=new We(t,{});return o.expandSegment(n,r,e,t,l,!1)}))},n.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,r){var i=this,a=Gt(e,l,o),u=a.consumedSegments,s=a.lastChild,d=a.positionalParamSegments;if(!a.matched)return Ut(e);var c=this.applyRedirectCommands(u,l.redirectTo,d);return l.redirectTo.startsWith("/")?Ht(c):this.lineralizeSegments(l,c).pipe(Object(z.a)(function(l){return i.expandSegment(n,e,t,l.concat(o.slice(s)),r,!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(q.a)(function(n){return t._loadedConfig=n,new We(l,{})})):Object(O.a)(new We(l,{}));var r=Gt(e,t,l),i=r.consumedSegments,a=r.lastChild;if(!r.matched)return Ut(e);var u=l.slice(a);return this.getChildConfig(n,t,l).pipe(Object(z.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 l.some(function(t){return Yt(n,e,t)&&$t(t)!==Re})}(n,t)?{segmentGroup:Kt(new We(e,function(n,e){var t,l,o={};o[Re]=e;try{for(var r=Object(s.__values)(n),i=r.next();!i.done;i=r.next()){var a=i.value;""===a.path&&$t(a)!==Re&&(o[$t(a)]=new We([],{}))}}catch(u){t={error:u}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return o}(l,new We(t,n.children)))),slicedSegments:[]}:0===t.length&&function(n,e,t){return l.some(function(t){return Yt(n,e,t)})}(n,t)?{segmentGroup:Kt(new We(n.segments,function(n,e,t,l){var o,r,i={};try{for(var a=Object(s.__values)(t),u=a.next();!u.done;u=a.next()){var d=u.value;Yt(n,e,d)&&!l[$t(d)]&&(i[$t(d)]=new We([],{}))}}catch(c){o={error:c}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return Object(s.__assign)({},l,i)}(n,t,l,n.children))),slicedSegments:t}:{segmentGroup:n,slicedSegments:t}}(e,i,u,l),a=r.segmentGroup,d=r.slicedSegments;return 0===d.length&&a.hasChildren()?o.expandChildren(t,l,a).pipe(Object(q.a)(function(n){return new We(i,n)})):0===l.length&&0===d.length?Object(O.a)(new We(i,{})):o.expandSegment(t,a,l,d,Re,!0).pipe(Object(q.a)(function(n){return new We(i.concat(n.segments),n.children)}))}))},n.prototype.getChildConfig=function(n,e,t){var l=this;return e.children?Object(O.a)(new Ne(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?Object(O.a)(e._loadedConfig):function(n,e,t){var l=e.canLoad;return l&&0!==l.length?Object(F.a)(l).pipe(Object(q.a)(function(l){var o,r=n.get(l);if(function(n){return n&&Lt(n.canLoad)}(r))o=r.canLoad(e,t);else{if(!Lt(r))throw new Error("Invalid CanLoad guard");o=r(e,t)}return Ue(o)})).pipe(Object(j.a)(),Object(U.a)(function(n){return!0===n})):Object(O.a)(!0)}(n.injector,e,t).pipe(Object(z.a)(function(t){return t?l.configLoader.load(n.injector,e).pipe(Object(q.a)(function(n){return e._loadedConfig=n,n})):function(n){return new d.a(function(e){return e.error(De("Cannot load children because the guard of the route \"path: '"+n.path+"'\" returned false"))})}(e)})):Object(O.a)(new Ne([],n))},n.prototype.lineralizeSegments=function(n,e){for(var t=[],l=e.root;;){if(t=t.concat(l.segments),0===l.numberOfChildren)return Object(O.a)(t);if(l.numberOfChildren>1||!l.children[Re])return Zt(n.redirectTo);l=l.children[Re]}},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 Ze(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},n.prototype.createQueryParams=function(n,e){var t={};return ze(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,r=this.createSegments(n,e.segments,t,l),i={};return ze(e.children,function(e,r){i[r]=o.createSegmentGroup(n,e,t,l)}),new We(r,i)},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(s.__values)(e),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.path===n.path)return e.splice(o),a;o++}}catch(u){t={error:u}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return n},n}();function Gt(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||Me)(t,n,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Kt(n){if(1===n.numberOfChildren&&n.children[Re]){var e=n.children[Re];return new We(n.segments.concat(e.segments),e.children)}return n}function Yt(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0!==t.redirectTo}function $t(n){return n.outlet||Re}var Xt=function(){return function(n){this.path=n,this.route=this.path[this.path.length-1]}}(),Qt=function(){return function(n,e){this.component=n,this.route=e}}();function Jt(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 nl(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var r=mt(e);return n.children.forEach(function(n){!function(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var r=n.value,i=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(i&&r.routeConfig===i.routeConfig){var u=function(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Ke(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Ke(n.url,e.url)||!Le(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kt(n,e)||!Le(n.queryParams,e.queryParams);case"paramsChange":default:return!kt(n,e)}}(i,r,r.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Xt(l)):(r.data=i.data,r._resolvedData=i._resolvedData),nl(n,e,r.component?a?a.children:null:t,l,o),u&&o.canDeactivateChecks.push(new Qt(a&&a.outlet&&a.outlet.component||null,i))}else i&&el(e,a,o),o.canActivateChecks.push(new Xt(l)),nl(n,null,r.component?a?a.children:null:t,l,o)}(n,r[n.value.outlet],t,l.concat([n.value]),o),delete r[n.value.outlet]}),ze(r,function(n,e){return el(n,t.getContext(e),o)}),o}function el(n,e,t){var l=mt(n),o=n.value;ze(l,function(n,l){el(n,o.component?e?e.children.getContext(l):null:e,t)}),t.canDeactivateChecks.push(new Qt(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var tl=Symbol("INITIAL_VALUE");function ll(){return Object(H.a)(function(n){return M.b.apply(void 0,Object(s.__spread)(n.map(function(n){return n.pipe(Object(Z.a)(1),Object(W.a)(tl))}))).pipe(Object(G.a)(function(n,e){var t=!1;return e.reduce(function(n,l,o){if(n!==tl)return n;if(l===tl&&(t=!0),!t){if(!1===l)return l;if(o===e.length-1||Vt(l))return l}return n},n)},tl),Object(K.a)(function(n){return n!==tl}),Object(q.a)(function(n){return Vt(n)?n:!0===n}),Object(Z.a)(1))})}function ol(n,e){return null!==n&&e&&e(new Se(n)),Object(O.a)(!0)}function rl(n,e){return null!==n&&e&&e(new Ce(n)),Object(O.a)(!0)}function il(n,e,t){var l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(O.a)(!0);var o=l.map(function(l){return Object(N.a)(function(){var o,r=Jt(l,e,t);if(function(n){return n&&Lt(n.canActivate)}(r))o=Ue(r.canActivate(e,n));else{if(!Lt(r))throw new Error("Invalid CanActivate guard");o=Ue(r(e,n))}return o.pipe(Object(B.a)())})});return Object(O.a)(o).pipe(ll())}function al(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(N.a)(function(){var o=e.guards.map(function(o){var r,i=Jt(o,e.node,t);if(function(n){return n&&Lt(n.canActivateChild)}(i))r=Ue(i.canActivateChild(l,n));else{if(!Lt(i))throw new Error("Invalid CanActivateChild guard");r=Ue(i(l,n))}return r.pipe(Object(B.a)())});return Object(O.a)(o).pipe(ll())})});return Object(O.a)(o).pipe(ll())}var ul=function(){return function(){}}(),sl=function(){function n(n,e,t,l,o,r){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=l,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=r}return n.prototype.recognize=function(){try{var n=pl(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,Re),t=new _t([],Object.freeze({}),Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},Re,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new ht(t,e),o=new wt(this.url,l);return this.inheritParamsAndData(o._root),Object(O.a)(o)}catch(r){return new d.a(function(n){return n.error(r)})}},n.prototype.inheritParamsAndData=function(n){var e=this,t=n.value,l=yt(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=Ye(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===Re?-1:e.value.outlet===Re?1:n.value.outlet.localeCompare(e.value.outlet)}),o},n.prototype.processSegment=function(n,e,t,l){var o,r;try{for(var i=Object(s.__values)(n),a=i.next();!a.done;a=i.next()){var u=a.value;try{return this.processSegmentAgainstRoute(u,e,t,l)}catch(d){if(!(d instanceof ul))throw d}}}catch(c){o={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,t,l))return[];throw new ul},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 ul;if((n.outlet||Re)!==l)throw new ul;var o,r=[],i=[];if("**"===n.path){var a=t.length>0?Be(t).parameters:{};o=new _t(t,a,Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,ml(n),l,n.component,n,dl(e),cl(e)+t.length,vl(n))}else{var u=function(n,e,t){if(""===e.path){if("full"===e.pathMatch&&(n.hasChildren()||t.length>0))throw new ul;return{consumedSegments:[],lastChild:0,parameters:{}}}var l=(e.matcher||Me)(t,n,e);if(!l)throw new ul;var o={};ze(l.posParams,function(n,e){o[e]=n.path});var r=l.consumed.length>0?Object(s.__assign)({},o,l.consumed[l.consumed.length-1].parameters):o;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,n,t);r=u.consumedSegments,i=t.slice(u.lastChild),o=new _t(r,u.parameters,Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,ml(n),l,n.component,n,dl(e),cl(e)+r.length,vl(n))}var d=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(n),c=pl(e,r,i,d,this.relativeLinkResolution),p=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&p.hasChildren()){var h=this.processChildren(d,p);return[new ht(o,h)]}if(0===d.length&&0===f.length)return[new ht(o,[])];var m=this.processSegment(d,p,f,Re);return[new ht(o,m)]},n}();function dl(n){for(var e=n;e._sourceSegment;)e=e._sourceSegment;return e}function cl(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 pl(n,e,t,l,o){if(t.length>0&&function(n,e,t){return l.some(function(t){return fl(n,e,t)&&hl(t)!==Re})}(n,t)){var r=new We(e,function(n,e,t,l){var o,r,i={};i[Re]=l,l._sourceSegment=n,l._segmentIndexShift=e.length;try{for(var a=Object(s.__values)(t),u=a.next();!u.done;u=a.next()){var d=u.value;if(""===d.path&&hl(d)!==Re){var c=new We([],{});c._sourceSegment=n,c._segmentIndexShift=e.length,i[hl(d)]=c}}}catch(p){o={error:p}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}(n,e,l,new We(t,n.children)));return r._sourceSegment=n,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===t.length&&function(n,e,t){return l.some(function(t){return fl(n,e,t)})}(n,t)){var i=new We(n.segments,function(n,e,t,l,o,r){var i,a,u={};try{for(var d=Object(s.__values)(l),c=d.next();!c.done;c=d.next()){var p=c.value;if(fl(n,t,p)&&!o[hl(p)]){var f=new We([],{});f._sourceSegment=n,f._segmentIndexShift="legacy"===r?n.segments.length:e.length,u[hl(p)]=f}}}catch(h){i={error:h}}finally{try{c&&!c.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return Object(s.__assign)({},o,u)}(n,e,t,l,n.children,o));return i._sourceSegment=n,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:t}}var a=new We(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:t}}function fl(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0===t.redirectTo}function hl(n){return n.outlet||Re}function ml(n){return n.data||{}}function vl(n){return n.resolve||{}}function gl(n,e,t,l){var o=Jt(n,e,l);return Ue(o.resolve?o.resolve(e,t):o(e,t))}function bl(n){return function(e){return e.pipe(Object(H.a)(function(e){var t=n(e);return t?Object(F.a)(t).pipe(Object(q.a)(function(){return e})):Object(F.a)([e])}))}}var yl=function(){return function(){}}(),_l=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}(),wl=new o.InjectionToken("ROUTES"),Cl=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(q.a)(function(l){t.onLoadEndListener&&t.onLoadEndListener(e);var o=l.create(n);return new Ne(Ve(o.injector.get(wl)).map(je),o)}))},n.prototype.loadModuleFactory=function(n){var e=this;return"string"==typeof n?Object(F.a)(this.loader.load(n)):Ue(n()).pipe(Object(z.a)(function(n){return n instanceof o.NgModuleFactory?Object(O.a)(n):Object(F.a)(e.compiler.compileModuleAsync(n))}))},n}(),xl=function(){return function(){}}(),Sl=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 kl(n){throw n}function El(n,e,t){return e.parse("/")}function Tl(n,e){return Object(O.a)(null)}var Rl=function(){function n(n,e,t,l,r,i,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 A.b,this.errorHandler=kl,this.malformedUriErrorHandler=El,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Tl,afterPreactivation:Tl},this.urlHandlingStrategy=new Sl,this.routeReuseStrategy=new _l,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(o.NgModuleRef),this.console=r.get(o["\u0275Console"]);var d=r.get(o.NgZone);this.isNgZoneEnabled=d instanceof o.NgZone,this.resetConfig(u),this.currentUrlTree=new Ze(new We([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cl(i,a,function(n){return s.triggerEvent(new _e(n))},function(n){return s.triggerEvent(new we(n))}),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new E.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(K.a)(function(n){return 0!==n.id}),Object(q.a)(function(n){return Object(s.__assign)({},n,{extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})}),Object(H.a)(function(n){var l,o,r,i=!1,a=!1;return Object(O.a)(n).pipe(Object(X.a)(function(n){e.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:e.lastSuccessfulNavigation?Object(s.__assign)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(H.a)(function(n){var l,o,r,i,a=!e.navigated||n.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||a)&&e.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Object(O.a)(n).pipe(Object(H.a)(function(n){var l=e.transitions.getValue();return t.next(new ce(n.id,e.serializeUrl(n.extractedUrl),n.source,n.restoredState)),l!==e.transitions.getValue()?P.a:[n]}),Object(H.a)(function(n){return Promise.resolve(n)}),(l=e.ngModule.injector,o=e.configLoader,r=e.urlSerializer,i=e.config,function(n){return n.pipe(Object(H.a)(function(n){return function(e,t,l,o,r){return new Wt(e,t,l,n.extractedUrl,r).apply()}(l,o,r,0,i).pipe(Object(q.a)(function(e){return Object(s.__assign)({},n,{urlAfterRedirects:e})}))}))}),Object(X.a)(function(n){e.currentNavigation=Object(s.__assign)({},e.currentNavigation,{finalUrl:n.urlAfterRedirects})}),function(n,t,l,o,r){return function(l){return l.pipe(Object(z.a)(function(l){return function(n,e,t,l,o,r){return void 0===o&&(o="emptyOnly"),void 0===r&&(r="legacy"),new sl(n,e,t,l,o,r).recognize()}(n,t,l.urlAfterRedirects,(i=l.urlAfterRedirects,e.serializeUrl(i)),o,r).pipe(Object(q.a)(function(n){return Object(s.__assign)({},l,{targetSnapshot:n})}));var i}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(X.a)(function(n){"eager"===e.urlUpdateStrategy&&(n.extras.skipLocationChange||e.setBrowserUrl(n.urlAfterRedirects,!!n.extras.replaceUrl,n.id),e.browserUrlTree=n.urlAfterRedirects)}),Object(X.a)(function(n){var l=new me(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);t.next(l)}));if(a&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=n.extractedUrl,d=n.source,c=n.restoredState,p=n.extras,f=new ce(n.id,e.serializeUrl(u),d,c);t.next(f);var h=gt(u,e.rootComponentType).snapshot;return Object(O.a)(Object(s.__assign)({},n,{targetSnapshot:h,urlAfterRedirects:u,extras:Object(s.__assign)({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=n.rawUrl,n.resolve(null),P.a}),bl(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(X.a)(function(n){var t=new ve(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)}),Object(q.a)(function(n){return Object(s.__assign)({},n,{guards:(t=n.targetSnapshot,l=n.currentSnapshot,o=e.rootContexts,r=t._root,nl(r,l?l._root:null,o,[r.value]))});var t,l,o,r}),function(n,e){return function(t){return t.pipe(Object(z.a)(function(t){var l=t.targetSnapshot,o=t.currentSnapshot,r=t.guards,i=r.canActivateChecks,a=r.canDeactivateChecks;return 0===a.length&&0===i.length?Object(O.a)(Object(s.__assign)({},t,{guardsResult:!0})):function(n,e,t,l){return Object(F.a)(n).pipe(Object(z.a)(function(n){return function(n,e,t,l,o){var r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(O.a)(!0);var i=r.map(function(r){var i,a=Jt(r,e,o);if(function(n){return n&&Lt(n.canDeactivate)}(a))i=Ue(a.canDeactivate(n,e,t,l));else{if(!Lt(a))throw new Error("Invalid CanDeactivate guard");i=Ue(a(n,e,t,l))}return i.pipe(Object(B.a)())});return Object(O.a)(i).pipe(ll())}(n.component,n.route,t,e,l)}),Object(B.a)(function(n){return!0!==n},!0))}(a,l,o,n).pipe(Object(z.a)(function(t){return t&&"boolean"==typeof t?function(n,e,t,l){return Object(F.a)(e).pipe(Object(Y.a)(function(e){return Object(F.a)([rl(e.route.parent,l),ol(e.route,l),al(n,e.path,t),il(n,e.route,t)]).pipe(Object(j.a)(),Object(B.a)(function(n){return!0!==n},!0))}),Object(B.a)(function(n){return!0!==n},!0))}(l,i,n,e):Object(O.a)(t)}),Object(q.a)(function(n){return Object(s.__assign)({},t,{guardsResult:n})}))}))}}(e.ngModule.injector,function(n){return e.triggerEvent(n)}),Object(X.a)(function(n){if(Vt(n.guardsResult)){var t=De('Redirecting to "'+e.serializeUrl(n.guardsResult)+'"');throw t.url=n.guardsResult,t}}),Object(X.a)(function(n){var t=new ge(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);e.triggerEvent(t)}),Object(K.a)(function(n){if(!n.guardsResult){e.resetUrlToCurrentUrlTree();var l=new fe(n.id,e.serializeUrl(n.extractedUrl),"");return t.next(l),n.resolve(!1),!1}return!0}),bl(function(n){if(n.guards.canActivateChecks.length)return Object(O.a)(n).pipe(Object(X.a)(function(n){var t=new be(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(z.a)(function(n){var e=n.targetSnapshot,o=n.guards.canActivateChecks;return o.length?Object(F.a)(o).pipe(Object(Y.a)(function(n){return function(n,t,l,o){return function(n,e,t,l){var o=Object.keys(n);if(0===o.length)return Object(O.a)({});if(1===o.length){var r=o[0];return gl(n[r],e,t,l).pipe(Object(q.a)(function(n){var e;return(e={})[r]=n,e}))}var i={};return Object(F.a)(o).pipe(Object(z.a)(function(o){return gl(n[o],e,t,l).pipe(Object(q.a)(function(n){return i[o]=n,n}))})).pipe(Object(L.a)(),Object(q.a)(function(){return i}))}(n._resolve,n,e,o).pipe(Object(q.a)(function(e){return n._resolvedData=e,n.data=Object(s.__assign)({},n.data,yt(n,l).resolve),null}))}(n.route,0,t,l)}),Object($.a)(function(n,e){return n}),Object(q.a)(function(e){return n})):Object(O.a)(n)}))}),Object(X.a)(function(n){var t=new ye(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)}));var t,l}),bl(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(q.a)(function(n){var t,l,o,r=(o=function n(e,t,l){if(l&&e.shouldReuseRoute(t.value,l.value.snapshot)){(u=l.value)._futureSnapshot=t.value;var o=function(e,t,l){return t.children.map(function(t){var o,r;try{for(var i=Object(s.__values)(l.children),a=i.next();!a.done;a=i.next()){var u=a.value;if(e.shouldReuseRoute(u.value.snapshot,t.value))return n(e,t,u)}}catch(d){o={error:d}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return n(e,t)})}(e,t,l);return new ht(u,o)}var r=e.retrieve(t.value);if(r){var i=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,i),i}var a,u=new bt(new E.a((a=t.value).url),new E.a(a.params),new E.a(a.queryParams),new E.a(a.fragment),new E.a(a.data),a.outlet,a.component,a);return o=t.children.map(function(t){return n(e,t)}),new ht(u,o)}(e.routeReuseStrategy,(t=n.targetSnapshot)._root,(l=n.currentRouterState)?l._root:void 0),new vt(o,t));return Object(s.__assign)({},n,{targetRouterState:r})}),Object(X.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(q.a)(function(n){return new qt(o,n.targetRouterState,n.currentRouterState,r).activate(l),n})),Object(X.a)({next:function(){i=!0},complete:function(){i=!0}}),Object(Q.a)(function(){if(!i&&!a){e.resetUrlToCurrentUrlTree();var l=new fe(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(V.a)(function(l){if(a=!0,(u=l)&&u[Fe]){var o=Vt(l.url);o||(e.navigated=!0,e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl));var r=new fe(n.id,e.serializeUrl(n.extractedUrl),l.message);t.next(r),n.resolve(!1),o&&e.navigateByUrl(l.url)}else{e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl);var i=new he(n.id,e.serializeUrl(n.extractedUrl),l);t.next(i);try{n.resolve(e.errorHandler(l))}catch(s){n.reject(s)}}var u;return P.a}))}))},n.prototype.resetRootComponentType=function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType},n.prototype.getTransition=function(){return this.transitions.value},n.prototype.setTransition=function(n){this.transitions.next(Object(s.__assign)({},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){Ae(n),this.config=n.map(je),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,i=e.preserveQueryParams,a=e.queryParamsHandling,u=e.preserveFragment;Object(o.isDevMode)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var d=t||this.routerState.root,c=u?this.currentUrlTree.fragment:r,p=null;if(a)switch(a){case"merge":p=Object(s.__assign)({},this.currentUrlTree.queryParams,l);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=l||null}else p=i?this.currentUrlTree.queryParams:l||null;return null!==p&&(p=this.removeEmptyProps(p)),function(n,e,t,l,o){if(0===t.length)return Tt(e.root,e.root,e,l,o);var r=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Rt(!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 ze(l.outlets,function(n,e){r[e]="string"==typeof n?n.split("/"):n}),Object(s.__spread)(n,[{outlets:r}])}if(l.segmentPath)return Object(s.__spread)(n,[l.segmentPath])}return"string"!=typeof l?Object(s.__spread)(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(s.__spread)(n,[l])},[]);return new Rt(t,e,l)}(t);if(r.toRoot())return Tt(e.root,new We([],{}),e,l,o);var i=function(n,t,l){if(n.isAbsolute)return new It(e.root,!0,0);if(-1===l.snapshot._lastPathIndex)return new It(l.snapshot._urlSegment,!0,0);var o=Et(n.commands[0])?0:1;return function(e,t,r){for(var i=l.snapshot._urlSegment,a=l.snapshot._lastPathIndex+o,u=n.numberOfDoubleDots;u>a;){if(u-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new It(i,!1,a-u)}()}(r,0,n),a=i.processChildren?Dt(i.segmentGroup,i.index,r.commands):Ft(i.segmentGroup,i.index,r.commands);return Tt(i.segmentGroup,a,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=Vt(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(Vt(n))return He(this.currentUrlTree,n,e);var t=this.parseUrl(n);return He(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 pe(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 r=null,i=null,a=new Promise(function(n,e){r=n,i=e}),u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:l,resolve:r,reject:i,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(s.__assign)({},l,{navigationId:t})):this.location.go(o,"",Object(s.__assign)({},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}(),Il=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:Fl(this.skipLocationChange),replaceUrl:Fl(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:Fl(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Fl(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}(),Ol=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 pe&&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:Fl(this.skipLocationChange),replaceUrl:Fl(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:Fl(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Fl(this.preserveFragment)})},enumerable:!0,configurable:!0}),Object(s.__decorate)([Object(o.HostBinding)("attr.target"),Object(o.Input)(),Object(s.__metadata)("design:type",String)],n.prototype,"target",void 0),n}();function Fl(n){return""===n||!!n}var Dl=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ml,this.attachRef=null}}(),Ml=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 Dl,this.contexts.set(n,e)),e},n.prototype.getContext=function(n){return this.contexts.get(n)||null},n}(),Nl=function(){function n(n,e,t,l,r){this.parentContexts=n,this.location=e,this.resolver=t,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=l||Re,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 Al(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}(),Al=function(){function n(n,e,t){this.route=n,this.childContexts=e,this.parent=t}return n.prototype.get=function(n,e){return n===bt?this.route:n===Ml?this.childContexts:this.parent.get(n,e)},n}(),Pl=function(){return function(){}}(),ql=function(){function n(){}return n.prototype.preload=function(n,e){return e().pipe(Object(V.a)(function(){return Object(O.a)(null)}))},n}(),jl=function(){function n(){}return n.prototype.preload=function(n,e){return Object(O.a)(null)},n}(),Ll=function(){function n(n,e,t,l,o){this.router=n,this.injector=l,this.preloadingStrategy=o,this.loader=new Cl(e,t,function(e){return n.triggerEvent(new _e(e))},function(e){return n.triggerEvent(new we(e))})}return n.prototype.setUpPreloading=function(){var n=this;this.subscription=this.router.events.pipe(Object(K.a)(function(n){return n instanceof pe}),Object(Y.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(s.__values)(e),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var u=a._loadedConfig;o.push(this.processRoutes(u.module,u.routes))}else a.loadChildren&&!a.canLoad?o.push(this.preloadConfig(n,a)):a.children&&o.push(this.processRoutes(n,a.children))}}catch(d){t={error:d}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return Object(F.a)(o).pipe(Object(J.a)(),Object(q.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(z.a)(function(n){return e._loadedConfig=n,t.processRoutes(n.module,n.routes)}))})},n}(),Vl=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 ce?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=e.navigationTrigger,n.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof pe&&(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 Ee&&(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 Ee(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}(),Bl=new o.InjectionToken("ROUTER_CONFIGURATION"),zl=new o.InjectionToken("ROUTER_FORROOT_GUARD"),Ul=[I.Location,{provide:$e,useClass:Xe},{provide:Rl,useFactory:$l,deps:[o.ApplicationRef,$e,Ml,I.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,wl,Bl,[xl,new o.Optional],[yl,new o.Optional]]},Ml,{provide:bt,useFactory:Xl,deps:[Rl]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},Ll,jl,ql,{provide:Bl,useValue:{enableTracing:!1}}];function Hl(){return new o.NgProbeToken("Router",Rl)}var Zl=function(){function n(n,e){}var e;return e=n,n.forRoot=function(n,t){return{ngModule:e,providers:[Ul,Yl(n),{provide:zl,useFactory:Kl,deps:[[Rl,new o.Optional,new o.SkipSelf]]},{provide:Bl,useValue:t||{}},{provide:I.LocationStrategy,useFactory:Gl,deps:[I.PlatformLocation,[new o.Inject(I.APP_BASE_HREF),new o.Optional],Bl]},{provide:Vl,useFactory:Wl,deps:[Rl,I.ViewportScroller,Bl]},{provide:Pl,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:jl},{provide:o.NgProbeToken,multi:!0,useFactory:Hl},[Ql,{provide:o.APP_INITIALIZER,multi:!0,useFactory:Jl,deps:[Ql]},{provide:eo,useFactory:no,deps:[Ql]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:eo}]]}},n.forChild=function(n){return{ngModule:e,providers:[Yl(n)]}},n}();function Wl(n,e,t){return t.scrollOffset&&e.setOffset(t.scrollOffset),new Vl(n,e,t)}function Gl(n,e,t){return void 0===t&&(t={}),t.useHash?new I.HashLocationStrategy(n,e):new I.PathLocationStrategy(n,e)}function Kl(n){if(n)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Yl(n){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:n},{provide:wl,multi:!0,useValue:n}]}function $l(n,e,t,l,o,r,i,a,u,s,d){void 0===u&&(u={});var c=new Rl(null,e,t,l,o,r,i,Ve(a));if(s&&(c.urlHandlingStrategy=s),d&&(c.routeReuseStrategy=d),u.errorHandler&&(c.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(c.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var p=en();c.events.subscribe(function(n){p.logGroup("Router Event: "+n.constructor.name),p.log(n.toString()),p.log(n),p.logGroupEnd()})}return u.onSameUrlNavigation&&(c.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(c.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(c.relativeLinkResolution=u.relativeLinkResolution),c}function Xl(n){return n.routerState.root}var Ql=function(){function n(n){this.injector=n,this.initNavigation=!1,this.resultOfPreactivationDone=new A.b}return n.prototype.appInitializer=function(){var n=this;return this.injector.get(I.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var e=null,t=new Promise(function(n){return e=n}),l=n.injector.get(Rl),o=n.injector.get(Bl);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(O.a)(null):(n.initNavigation=!0,e(!0),n.resultOfPreactivationDone)},l.initialNavigation()}return t})},n.prototype.bootstrapListener=function(n){var e=this.injector.get(Bl),t=this.injector.get(Ll),l=this.injector.get(Vl),r=this.injector.get(Rl),i=this.injector.get(o.ApplicationRef);n===i.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),t.setUpPreloading(),l.init(),r.resetRootComponentType(i.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 Jl(n){return n.appInitializer.bind(n)}function no(n){return n.bootstrapListener.bind(n)}var eo=new o.InjectionToken("Router Initializer"),to=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function lo(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](1,212992,null,0,Nl,[Ml,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}function oo(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,lo,to)),o["\u0275did"](1,49152,null,0,Te,[],null,null)],null,null)}var ro,io=o["\u0275ccf"]("ng-component",Te,oo,{},{},[]);function ao(n){return null!=n&&""+n!="false"}function uo(n,e){return void 0===e&&(e=0),function(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function so(n){return Array.isArray(n)?n:[n]}function co(n){return null==n?"":"string"==typeof n?n:n+"px"}function po(n){return n instanceof o.ElementRef?n.nativeElement:n}try{ro="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Xtn){ro=!1}var fo,ho,mo=function(){function n(n){this._platformId=n,this.isBrowser=this._platformId?Object(I.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&&!ro)&&"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}(),vo=function(){return function(){}}(),go=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bo(){if(fo)return fo;if("object"!=typeof document||!document)return fo=new Set(go);var n=document.createElement("input");return fo=new Set(go.filter(function(e){return n.setAttribute("type",e),n.type===e}))}function yo(n){return function(){if(null==ho&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ho=!0}}))}finally{ho=ho||!1}return ho}()?n:!!n.capture}var _o=t("pugT"),wo=27;function Co(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 xo=t("Gi3i");function So(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}var ko=0,Eo=new Map,To=null,Ro=function(){function n(n){this._document=n}return n.prototype.describe=function(n,e){this._canBeDescribed(n,e)&&(Eo.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(n,e)||this._addMessageReference(n,e))},n.prototype.removeDescription=function(n,e){if(this._canBeDescribed(n,e)){this._isElementDescribedByMessage(n,e)&&this._removeMessageReference(n,e);var t=Eo.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e),To&&0===To.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");To&&this._deleteMessagesContainer(),Eo.clear()},n.prototype._createMessageElement=function(n){var e=this._document.createElement("div");e.setAttribute("id","cdk-describedby-message-"+ko++),e.appendChild(this._document.createTextNode(n)),this._createMessagesContainer(),To.appendChild(e),Eo.set(n,{messageElement:e,referenceCount:0})},n.prototype._deleteMessageElement=function(n){var e=Eo.get(n),t=e&&e.messageElement;To&&t&&To.removeChild(t),Eo.delete(n)},n.prototype._createMessagesContainer=function(){if(!To){var n=this._document.getElementById("cdk-describedby-message-container");n&&n.parentNode.removeChild(n),(To=this._document.createElement("div")).id="cdk-describedby-message-container",To.setAttribute("aria-hidden","true"),To.style.display="none",this._document.body.appendChild(To)}},n.prototype._deleteMessagesContainer=function(){To&&To.parentNode&&(To.parentNode.removeChild(To),To=null)},n.prototype._removeCdkDescribedByReferenceIds=function(n){var e=So(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,r=Eo.get(e);l=r.messageElement.id,(o=So(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",""),r.referenceCount++},n.prototype._removeMessageReference=function(n,e){var t,l,o,r=Eo.get(e);r.referenceCount--,l=r.messageElement.id,o=So(t=n,"aria-describedby").filter(function(n){return n!=l.trim()}),t.setAttribute("aria-describedby",o.join(" ")),n.removeAttribute("cdk-describedby-host")},n.prototype._isElementDescribedByMessage=function(n,e){var t=So(n,"aria-describedby"),l=Eo.get(e),o=l&&l.messageElement.id;return!!o&&-1!=t.indexOf(o)},n.prototype._canBeDescribed=function(n,e){return n.nodeType===this._document.ELEMENT_NODE&&null!=e&&!!(""+e).trim()},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),Io=function(){function n(n){var e=this;this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.b,this._typeaheadSubscription=_o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(n){return n.disabled},this._pressedLetters=[],this.tabOut=new A.b,this.change=new A.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(X.a)(function(n){return e._pressedLetters.push(n)}),Object(xo.a)(n),Object(K.a)(function(){return e._pressedLetters.length>0}),Object(q.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,r=t[o];if(!e._skipPredicateFn(r)&&0===r.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||Co(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}(),Oo=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),n.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(Io),Fo=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._origin="program",e}return Object(s.__extends)(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}(Io),Do=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(Xtn){return null}}((e=n).ownerDocument&&e.ownerDocument.defaultView||window);if(t){var l=t&&t.nodeName.toLowerCase();if(-1===No(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(),r=No(n);if(n.hasAttribute("contenteditable"))return-1!==r;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")||Mo(n))}(n)&&!this.isDisabled(n)&&this.isVisible(n)},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(mo))},token:n,providedIn:"root"}),n}();function Mo(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 No(n){if(!Mo(n))return null;var e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Ao=function(){function n(n,e,t,l,o){void 0===o&&(o=!1);var r=this;this._element=n,this._checker=e,this._ngZone=t,this._document=l,this._hasAttached=!1,this._startAnchorListener=function(){return r.focusLastTabbableElement()},this._endAnchorListener=function(){return r.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(Z.a)(1)).subscribe(n)},n}(),Po=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 Ao(n,this._checker,this._ngZone,this._document,e)},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(Do),Object(o.inject)(o.NgZone),Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),qo=new o.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),jo=function(){function n(n,e,t){this._ngZone=e,this._document=t,this._liveElement=n||this._createLiveElement()}return n.prototype.announce=function(n){for(var e,t,l=this,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return 1===o.length&&"number"==typeof o[0]?t=o[0]:(e=o[0],t=o[1]),this.clear(),clearTimeout(this._previousTimeout),this._liveElement.setAttribute("aria-live",e||"polite"),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(l._previousTimeout),l._previousTimeout=setTimeout(function(){l._liveElement.textContent=n,e(),"number"==typeof t&&(l._previousTimeout=setTimeout(function(){return l.clear()},t))},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)(qo,8),Object(o.inject)(o.NgZone),Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),Lo=650,Vo=yo({passive:!0,capture:!0}),Bo=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.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},Lo)},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(O.a)(null);var l=po(n);if(this._elementInfo.has(l)){var o=this._elementInfo.get(l);return o.checkChildren=e,o.subject.asObservable()}var r={unlisten:function(){},checkChildren:e,subject:new A.b};this._elementInfo.set(l,r),this._incrementMonitoredElementCount();var i=function(n){return t._onFocus(n,l)},a=function(n){return t._onBlur(n,l)};return this._ngZone.runOutsideAngular(function(){l.addEventListener("focus",i,!0),l.addEventListener("blur",a,!0)}),r.unlisten=function(){l.removeEventListener("focus",i,!0),l.removeEventListener("blur",a,!0)},r.subject.asObservable()},n.prototype.stopMonitoring=function(n){var e=po(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=po(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,Vo),document.addEventListener("mousedown",n._documentMousedownListener,Vo),document.addEventListener("touchstart",n._documentTouchstartListener,Vo),window.addEventListener("focus",n._windowFocusListener)})},n.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,Vo),document.removeEventListener("mousedown",this._documentMousedownListener,Vo),document.removeEventListener("touchstart",this._documentTouchstartListener,Vo),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)(mo))},token:n,providedIn:"root"}),n}(),zo=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 Uo(n){return 0===n.buttons}var Ho=function(){return function(){}}(),Zo=new o.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Wo=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._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._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 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._disabled=!1,l}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=ao(n)},enumerable:!0,configurable:!0}),e}(n)}function Ko(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(s.__extends)(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 Yo(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(s.__extends)(e,n),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=ao(n)},enumerable:!0,configurable:!0}),e}(n)}function $o(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(s.__extends)(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 Xo(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 A.b,l}return Object(s.__extends)(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 Qo(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 d.a(function(n){l._isInitialized?l._notifySubscriber(n):l._pendingSubscribers.push(n)}),l}return Object(s.__extends)(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 Jo=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}(),nr=new o.InjectionToken("MAT_HAMMER_OPTIONS"),er=["longpress","slide","slidestart","slideend","slideright","slideleft"],tr={on:function(){},off:function(){}},lr=function(n){function e(e,t){var l=n.call(this)||this;return l._hammerOptions=e,l.events=er,t&&t._checkHammerIsAvailable(),l}return Object(s.__extends)(e,n),e.prototype.buildHammer=function(n){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return tr;var t=new e(n,this._hammerOptions||void 0),l=new e.Pan,o=new e.Swipe,r=new e.Press,i=this._createRecognizer(l,{event:"slide",threshold:0},o),a=this._createRecognizer(r,{event:"longpress",time:500});return l.recognizeWith(o),a.recognizeWith(i),t.add([o,r,l,i,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}(Kn);function or(n,e,t){var l=n.nativeElement.classList;t?l.add(e):l.remove(e)}var rr=function(){return function(){}}(),ir=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}(),ar=function(){function n(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=ir.HIDDEN}return n.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},n}(),ur={enterDuration:450,exitDuration:400},sr=800,dr=yo({passive:!0}),cr=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=Uo(n),t=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+sr;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===ir.VISIBLE||n.config.terminateOnPointerUp&&n.state===ir.FADING_IN)&&n.fadeOut()}))},l.isBrowser&&(this._containerElement=t.nativeElement,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(s.__assign)({},ur,t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);var i=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),a=n-o.left,u=e-o.top,d=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-i+"px",c.style.top=u-i+"px",c.style.height=2*i+"px",c.style.width=2*i+"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 ar(this,c,t);return p.state=ir.FADING_IN,this._activeRipples.add(p),t.persistent||(this._mostRecentTransientRipple=p),this.runTimeoutOutsideZone(function(){var n=p===l._mostRecentTransientRipple;p.state=ir.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(s.__assign)({},ur,n.config.animation);t.style.transitionDuration=l.exitDuration+"ms",t.style.opacity="0",n.state=ir.FADING_OUT,this.runTimeoutOutsideZone(function(){n.state=ir.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;n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,t){n.addEventListener(t,e,dr)})}),this._triggerElement=n)},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,dr)})},n}(),pr=new o.InjectionToken("mat-ripple-global-options"),fr=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 cr(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(s.__assign)({},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(s.__assign)({},this.rippleConfig,t)):this._rippleRenderer.fadeInRipple(0,0,Object(s.__assign)({},this.rippleConfig,n))},n}(),hr=function(){return function(){}}(),mr=function(){return function(n){this._animationMode=n,this.state="unchecked",this.disabled=!1}}(),vr=function(){return function(){}}(),gr=0,br=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+gr++,e}return Object(s.__extends)(e,n),e}(Go(function(){return function(){}}())),yr=0,_r=function(){return function(n,e){void 0===e&&(e=!1),this.source=n,this.isUserInput=e}}(),wr=new o.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Cr=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-"+yr++,this.onSelectionChange=new o.EventEmitter,this._stateChanges=new A.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=ao(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(){var n=this._getHostElement();"function"==typeof n.focus&&n.focus()},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||Co(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 _r(this,n))},n}();function xr(n,e,t){if(t.length){for(var l=e.toArray(),o=t.toArray(),r=0,i=0;i<n+1;i++)l[i].group&&l[i].group===o[r]&&r++;return r}return 0}var Sr=function(){return function(){}}(),kr=new o.InjectionToken("mat-label-global-options"),Er="accent",Tr=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Rr=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;r._focusMonitor=l,r._animationMode=o,r.isRoundButton=r._hasHostAttributes("mat-fab","mat-mini-fab"),r.isIconButton=r._hasHostAttributes("mat-icon-button");for(var i=0,a=Tr;i<a.length;i++){var u=a[i];r._hasHostAttributes(u)&&e.nativeElement.classList.add(u)}return r._focusMonitor.monitor(r._elementRef,!0),r.isRoundButton&&(r.color=Er),r}return Object(s.__extends)(e,n),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._getHostElement().focus()},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}(Ko(Go(Yo(function(){return function(n){this._elementRef=n}}())))),Ir=function(n){function e(e,t,l,o){return n.call(this,l,e,t,o)||this}return Object(s.__extends)(e,n),e.prototype._haltDisabledEvents=function(n){this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())},e}(Rr),Or=function(){return function(){}}(),Fr=new o.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(o.inject)(I.DOCUMENT)}}),Dr=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)(Fr,8))},token:n,providedIn:"root"}),n}(),Mr=function(){return function(){}}(),Nr=function(){return function(){}}(),Ar=function(){return function(){}}(),Pr="*";function qr(n,e){return void 0===e&&(e=null),{type:2,steps:n,options:e}}function jr(n){return{type:6,styles:n,offset:null}}function Lr(n){Promise.resolve(null).then(n)}var Vr=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;Lr(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}(),Br=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,r=this.players.length;0==r?Lr(function(){return e._onFinish()}):this.players.forEach(function(n){n.onDone(function(){++t==r&&e._onFinish()}),n.onDestroy(function(){++l==r&&e._onDestroy()}),n.onStart(function(){++o==r&&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}(),zr="!";function Ur(){return"undefined"!=typeof process}function Hr(n){switch(n.length){case 0:return new Vr;case 1:return n[0];default:return new Br(n)}}function Zr(n,e,t,l,o,r){void 0===o&&(o={}),void 0===r&&(r={});var i=[],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,i),a){case zr:a=o[t];break;case Pr:a=r[t];break;default:a=e.normalizeStyleValue(t,l,a,i)}d[l]=a}),l||a.push(d),s=d,u=t}),i.length)throw new Error("Unable to animate due to the following errors:\n - "+i.join("\n - "));return a}function Wr(n,e,t,l){switch(e){case"start":n.onStart(function(){return l(t&&Gr(t,"start",n))});break;case"done":n.onDone(function(){return l(t&&Gr(t,"done",n))});break;case"destroy":n.onDestroy(function(){return l(t&&Gr(t,"destroy",n))})}}function Gr(n,e,t){var l=t.totalTime,o=Kr(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==l?n.totalTime:l,!!t.disabled),r=n._data;return null!=r&&(o._data=r),o}function Kr(n,e,t,l,o,r,i){return void 0===o&&(o=""),void 0===r&&(r=0),{element:n,triggerName:e,fromState:t,toState:l,phaseName:o,totalTime:r,disabled:!!i}}function Yr(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 $r(n){var e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}var Xr=function(n,e){return!1},Qr=function(n,e){return!1},Jr=function(n,e,t){return[]},ni=Ur();if(ni||"undefined"!=typeof Element){if(Xr=function(n,e){return n.contains(e)},ni||Element.prototype.matches)Qr=function(n,e){return n.matches(e)};else{var ei=Element.prototype,ti=ei.matchesSelector||ei.mozMatchesSelector||ei.msMatchesSelector||ei.oMatchesSelector||ei.webkitMatchesSelector;ti&&(Qr=function(n,e){return ti.apply(n,[e])})}Jr=function(n,e,t){var l=[];if(t)l.push.apply(l,Object(s.__spread)(n.querySelectorAll(e)));else{var o=n.querySelector(e);o&&l.push(o)}return l}}var li=null,oi=!1;function ri(n){li||(li=("undefined"!=typeof document?document.body:null)||{},oi=!!li.style&&"WebkitAppearance"in li.style);var e=!0;return li.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&!(e=n in li.style)&&oi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in li.style),e}var ii=Qr,ai=Xr,ui=Jr;function si(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 di=function(){function n(){}return n.prototype.validateStyleProperty=function(n){return ri(n)},n.prototype.matchesElement=function(n,e){return ii(n,e)},n.prototype.containsElement=function(n,e){return ai(n,e)},n.prototype.query=function(n,e,t){return ui(n,e,t)},n.prototype.computeStyle=function(n,e,t){return t||""},n.prototype.animate=function(n,e,t,l,o,r,i){return void 0===r&&(r=[]),new Vr(t,l)},n}(),ci=function(){function n(){}return n.NOOP=new di,n}(),pi=1e3;function fi(n){if("number"==typeof n)return n;var e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:hi(parseFloat(e[1]),e[2])}function hi(n,e){switch(e){case"s":return n*pi;default:return n}}function mi(n,e,t){return n.hasOwnProperty("duration")?n:function(n,e,t){var l,o=0,r="";if("string"==typeof n){var i=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push('The provided timing value "'+n+'" is invalid.'),{duration:0,delay:0,easing:""};l=hi(parseFloat(i[1]),i[2]);var a=i[3];null!=a&&(o=hi(parseFloat(a),i[4]));var u=i[5];u&&(r=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:r}}(n,e,t)}function vi(n,e){return void 0===e&&(e={}),Object.keys(n).forEach(function(t){e[t]=n[t]}),e}function gi(n,e,t){if(void 0===t&&(t={}),e)for(var l in n)t[l]=n[l];else vi(n,t);return t}function bi(n,e,t){return t?e+":"+t+";":""}function yi(n){for(var e="",t=0;t<n.style.length;t++)e+=bi(0,l=n.style.item(t),n.style.getPropertyValue(l));for(var l in n.style)n.style.hasOwnProperty(l)&&!l.startsWith("_")&&(e+=bi(0,l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n.style[l]));n.setAttribute("style",e)}function _i(n,e,t){n.style&&(Object.keys(e).forEach(function(l){var o=Ri(l);t&&!t.hasOwnProperty(l)&&(t[l]=n.style[o]),n.style[o]=e[l]}),Ur()&&yi(n))}function wi(n,e){n.style&&(Object.keys(e).forEach(function(e){var t=Ri(e);n.style[t]=""}),Ur()&&yi(n))}function Ci(n){return Array.isArray(n)?1==n.length?n[0]:qr(n):n}var xi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Si(n){var e=[];if("string"==typeof n){for(var t=n.toString(),l=void 0;l=xi.exec(t);)e.push(l[1]);xi.lastIndex=0}return e}function ki(n,e,t){var l=n.toString(),o=l.replace(xi,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 Ei(n){for(var e=[],t=n.next();!t.done;)e.push(t.value),t=n.next();return e}var Ti=/-+([a-z0-9])/g;function Ri(n){return n.replace(Ti,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n[1].toUpperCase()})}function Ii(n,e){return 0===n||0===e}function Oi(n,e,t){var l=Object.keys(t);if(l.length&&e.length){var o=e[0],r=[];if(l.forEach(function(n){o.hasOwnProperty(n)||r.push(n),o[n]=t[n]}),r.length)for(var i=function(){var t=e[a];r.forEach(function(e){t[e]=Di(n,e)})},a=1;a<e.length;a++)i()}return e}function Fi(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 Di(n,e){return window.getComputedStyle(n)[e]}var Mi="*",Ni=new Set(["true","1"]),Ai=new Set(["false","0"]);function Pi(n,e){var t=Ni.has(n)||Ai.has(n),l=Ni.has(e)||Ai.has(e);return function(o,r){var i=n==Mi||n==o,a=e==Mi||e==r;return!i&&t&&"boolean"==typeof o&&(i=o?Ni.has(n):Ai.has(n)),!a&&l&&"boolean"==typeof r&&(a=r?Ni.has(e):Ai.has(e)),i&&a}}var qi=new RegExp("s*:selfs*,?","g");function ji(n,e,t){return new Li(n).build(e,t)}var Li=function(){function n(n){this._driver=n}return n.prototype.build=function(n,e){var t=new Vi(e);return this._resetContextStyleTimingState(t),Fi(this,Ci(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,r=[],i=[];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,r.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,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:r,transitions:i,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,r=l||{};if(t.styles.forEach(function(n){if(Bi(n)){var e=n;Object.keys(e).forEach(function(n){Si(e[n]).forEach(function(n){r.hasOwnProperty(n)||o.add(n)})})}}),o.size){var i=Ei(o.values());e.errors.push('state("'+n.name+'", ...) must define default values for all the following style substitutions: '+i.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,r=Fi(this,Ci(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 r=o[1],i=o[2],a=o[3];e.push(Pi(r,a)),"<"!=i[0]||r==Mi&&a==Mi||e.push(Pi(a,r))}(n,o,l)}):o.push(t),o),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:zi(n.options)}},n.prototype.visitSequence=function(n,e){var t=this;return{type:2,steps:n.steps.map(function(n){return Fi(t,n,e)}),options:zi(n.options)}},n.prototype.visitGroup=function(n,e){var t=this,l=e.currentTime,o=0,r=n.steps.map(function(n){e.currentTime=l;var r=Fi(t,n,e);return o=Math.max(o,e.currentTime),r});return e.currentTime=o,{type:3,steps:r,options:zi(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 Ui(mi(n,e).duration,0,"");var l=n;if(l.split(/\s+/).some(function(n){return"{"==n.charAt(0)&&"{"==n.charAt(1)})){var o=Ui(0,0,"");return o.dynamic=!0,o.strValue=l,o}return Ui((t=t||mi(l,e)).duration,t.delay,t.easing)}(n.timings,e.errors);e.currentAnimateTimings=l;var o=n.styles?n.styles:jr({});if(5==o.type)t=this.visitKeyframes(o,e);else{var r=n.styles,i=!1;if(!r){i=!0;var a={};l.easing&&(a.easing=l.easing),r=jr(a)}e.currentTime+=l.duration+l.delay;var u=this.visitStyle(r,e);u.isEmptyStep=i,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==Pr?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(Bi(n)){var e=n,t=e.easing;if(t&&(o=t,delete e.easing),!l)for(var r in e)if(e[r].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,r=e.currentTime;l&&r>0&&(r-=l.duration+l.delay),n.styles.forEach(function(n){"string"!=typeof n&&Object.keys(n).forEach(function(l){if(t._driver.validateStyleProperty(l)){var i,a,u,s=e.collectedStyles[e.currentQuerySelector],d=s[l],c=!0;d&&(r!=o&&r>=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 "'+r+'ms" and "'+o+'ms"'),c=!1),r=d.startTime),c&&(s[l]={startTime:r,endTime:o}),e.options&&(i=e.errors,a=e.options.params||{},(u=Si(n[l])).length&&u.forEach(function(n){a.hasOwnProperty(n)||i.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,r=[],i=!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(Bi(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}});else if(Bi(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,i=i||d<u,u=d,r.push(d),l});a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&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 i=c>0?o==p?1:c*o:r[o],a=i*m;e.currentTime=f+h.delay+a,h.duration=a,t._validateStyleAst(n,e),n.offset=i,l.styles.push(n)}),l},n.prototype.visitReference=function(n,e){return{type:8,animation:Fi(this,Ci(n.animation),e),options:zi(n.options)}},n.prototype.visitAnimateChild=function(n,e){return e.depCount++,{type:9,options:zi(n.options)}},n.prototype.visitAnimateRef=function(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:zi(n.options)}},n.prototype.visitQuery=function(n,e){var t=e.currentQuerySelector,l=n.options||{};e.queryCount++,e.currentQuery=n;var o=Object(s.__read)(function(n){var e=!!n.split(/\s*,\s*/).find(function(n){return":self"==n});return e&&(n=n.replace(qi,"")),[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],i=o[1];e.currentQuerySelector=t.length?t+" "+r:r,Yr(e.collectedStyles,e.currentQuerySelector,{});var a=Fi(this,Ci(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:r,limit:l.limit||0,optional:!!l.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:zi(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"}:mi(n.timings,e.errors,!0);return{type:12,animation:Fi(this,Ci(n.animation),e),timings:t,options:null}},n}(),Vi=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 Bi(n){return!Array.isArray(n)&&"object"==typeof n}function zi(n){var e;return n?(n=vi(n)).params&&(n.params=(e=n.params)?vi(e):null):n={},n}function Ui(n,e,t){return{duration:n,delay:e,easing:t}}function Hi(n,e,t,l,o,r,i,a){return void 0===i&&(i=null),void 0===a&&(a=!1),{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:l,duration:o,delay:r,totalTime:o+r,easing:i,subTimeline:a}}var Zi=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(s.__spread)(e))},n.prototype.has=function(n){return this._map.has(n)},n.prototype.clear=function(){this._map.clear()},n}(),Wi=new RegExp(":enter","g"),Gi=new RegExp(":leave","g");function Ki(n,e,t,l,o,r,i,a,u,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s=[]),(new Yi).buildKeyframes(n,e,t,l,o,r,i,a,u,s)}var Yi=function(){function n(){}return n.prototype.buildKeyframes=function(n,e,t,l,o,r,i,a,u,s){void 0===s&&(s=[]),u=u||new Zi;var d=new Xi(n,e,u,l,o,s,[]);d.options=a,d.currentTimeline.setStyles([r],null,d.errors,a),Fi(this,t,d);var c=d.timelines.filter(function(n){return n.containsAnimation()});if(c.length&&Object.keys(i).length){var p=c[c.length-1];p.allowOnlyTimelineStyles()||p.setStyles([i],null,d.errors,a)}return c.length?c.map(function(n){return n.buildKeyframes()}):[Hi(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,r=this._visitSubInstructions(t,l,l.options);o!=r&&e.transformIntoNewTimeline(r)}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?fi(t.duration):null,r=null!=t.delay?fi(t.delay):null;return 0!==o&&n.forEach(function(n){var t=e.appendInstructionToTimeline(n,o,r);l=Math.max(l,t.duration+t.delay)}),l},n.prototype.visitReference=function(n,e){e.updateOptions(n.options,!0),Fi(this,n.animation,e),e.previousNode=n},n.prototype.visitSequence=function(n,e){var t=this,l=e.subContextCount,o=e,r=n.options;if(r&&(r.params||r.delay)&&((o=e.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=$i);var i=fi(r.delay);o.delayNextStep(i)}n.steps.length&&(n.steps.forEach(function(n){return Fi(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,r=n.options&&n.options.delay?fi(n.options.delay):0;n.steps.forEach(function(i){var a=e.createSubContext(n.options);r&&a.delayNextStep(r),Fi(t,i,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 mi(e.params?ki(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,r=e.createSubContext().currentTimeline;r.easing=t.easing,n.styles.forEach(function(n){r.forwardTime((n.offset||0)*o),r.setStyles(n.styles,n.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(l+o),e.previousNode=n},n.prototype.visitQuery=function(n,e){var t=this,l=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?fi(o.delay):0;r&&(6===e.previousNode.type||0==l&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$i);var i=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);r&&a.delayNextStep(r),l===e.element&&(u=a.currentTimeline),Fi(t,n.animation,a),a.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),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,r=Math.abs(o.duration),i=r*(e.currentQueryTotal-1),a=r*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=i-a;break;case"full":a=t.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var s=u.currentTime;Fi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=l.currentTime-s+(l.startTime-t.currentTimeline.startTime)},n}(),$i={},Xi=function(){function n(n,e,t,l,o,r,i,a){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=l,this._leaveClassName=o,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$i,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Qi(this._driver,e,0),i.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=fi(l.duration)),null!=l.delay&&(o.delay=fi(l.delay));var r=l.params;if(r){var i=o.params;i||(i=this.options.params={}),Object.keys(r).forEach(function(n){e&&i.hasOwnProperty(n)||(i[n]=ki(r[n],i,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,r=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,l||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r},n.prototype.transformIntoNewTimeline=function(n){return this.previousNode=$i,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 Ji(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 i=[];if(l&&i.push(this.element),n.length>0){n=(n=n.replace(Wi,"."+this._enterClassName)).replace(Gi,"."+this._leaveClassName);var a=this._driver.query(this.element,n,1!=t);0!==t&&(a=t<0?a.slice(a.length+t,a.length):a.slice(0,t)),i.push.apply(i,Object(s.__spread)(a))}return o||0!=i.length||r.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),i},n}(),Qi=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]||Pr,e._currentKeyframe[n]=Pr}),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(n,e,t,l){var o=this;e&&(this._previousKeyframe.easing=e);var r=l&&l.params||{},i=function(n,e){var t,l={};return n.forEach(function(n){"*"===n?(t=t||Object.keys(e)).forEach(function(n){l[n]=Pr}):gi(n,!1,l)}),l}(n,this._globalTimelineStyles);Object.keys(i).forEach(function(n){var e=ki(i[n],r,t);o._pendingStyles[n]=e,o._localTimelineStyles.hasOwnProperty(n)||(o._backFill[n]=o._globalTimelineStyles.hasOwnProperty(n)?o._globalTimelineStyles[n]:Pr),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(r,i){var a=gi(r,!0);Object.keys(a).forEach(function(n){var l=a[n];l==zr?e.add(n):l==Pr&&t.add(n)}),l||(a.offset=i/n.duration),o.push(a)});var r=e.size?Ei(e.values()):[],i=t.size?Ei(t.values()):[];if(l){var a=o[0],u=vi(a);a.offset=0,u.offset=1,o=[a,u]}return Hi(this.element,o,r,i,this.duration,this.startTime,this.easing,!1)},n}(),Ji=function(n){function e(e,t,l,o,r,i,a){void 0===a&&(a=!1);var u=n.call(this,e,t,i.delay)||this;return u.element=t,u.keyframes=l,u.preStyleProps=o,u.postStyleProps=r,u._stretchStartingKeyframe=a,u.timings={duration:i.duration,delay:i.delay,easing:i.easing},u}return Object(s.__extends)(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 r=[],i=l+t,a=t/i,u=gi(n[0],!1);u.offset=0,r.push(u);var s=gi(n[0],!1);s.offset=na(a),r.push(s);for(var d=n.length-1,c=1;c<=d;c++){var p=gi(n[c],!1);p.offset=na((t+p.offset*l)/i),r.push(p)}l=i,t=0,o="",n=r}return Hi(this.element,n,this.preStyleProps,this.postStyleProps,l,t,o,!0)},e}(Qi);function na(n,e){void 0===e&&(e=3);var t=Math.pow(10,e-1);return Math.round(n*t)/t}var ea=function(){return function(){}}(),ta=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.normalizePropertyName=function(n,e){return Ri(n)},e.prototype.normalizeStyleValue=function(n,e,t,l){var o="",r=t.toString().trim();if(la[e]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{var i=t.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&0==i[1].length&&l.push("Please provide a CSS unit value for "+n+":"+t)}return r+o},e}(ea),la=oa("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(","));function oa(n){var e={};return n.forEach(function(n){return e[n]=!0}),e}function ra(n,e,t,l,o,r,i,a,u,s,d,c,p){return{type:0,element:n,triggerName:e,isRemovalTransition:o,fromState:t,fromStyles:r,toState:l,toStyles:i,timelines:a,queriedElements:u,preStyleProps:s,postStyleProps:d,totalTime:c,errors:p}}var ia={},aa=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],r=l?l.buildStyles(e,t):{};return o?o.buildStyles(e,t):r},n.prototype.build=function(n,e,t,l,o,r,i,a,u,d){var c=[],p=this.ast.options&&this.ast.options.params||ia,f=this.buildStyles(t,i&&i.params||ia,c),h=a&&a.params||ia,m=this.buildStyles(l,h,c),v=new Set,g=new Map,b=new Map,y="void"===l,_={params:Object(s.__assign)({},p,h)},w=d?[]:Ki(n,e,this.ast.animation,o,r,f,m,_,u,c),C=0;if(w.forEach(function(n){C=Math.max(n.duration+n.delay,C)}),c.length)return ra(e,this._triggerName,t,l,y,f,m,[],[],g,b,C,c);w.forEach(function(n){var t=n.element,l=Yr(g,t,{});n.preStyleProps.forEach(function(n){return l[n]=!0});var o=Yr(b,t,{});n.postStyleProps.forEach(function(n){return o[n]=!0}),t!==e&&v.add(t)});var x=Ei(v.values());return ra(e,this._triggerName,t,l,y,f,m,w,x,g,b,C)},n}(),ua=function(){function n(n,e){this.styles=n,this.defaultParams=e}return n.prototype.buildStyles=function(n,e){var t={},l=vi(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 r=o[n];r.length>1&&(r=ki(r,l,e)),t[n]=r})}}),t},n}(),sa=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 ua(n.style,n.options&&n.options.params||{})}),da(this.states,"true","1"),da(this.states,"false","0"),e.transitions.forEach(function(e){t.transitionFactories.push(new aa(n,e,t.states))}),this.fallbackTransition=new aa(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 da(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}var ca=new Zi,pa=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=ji(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=Zr(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,r=[],i=this._animations[n],a=new Map;if(i?(o=Ki(this._driver,e,i,"ng-enter","ng-leave",{},{},t,ca,r)).forEach(function(n){var e=Yr(a,n.element,{});n.postStyleProps.forEach(function(n){return e[n]=null})}):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));a.forEach(function(n,e){Object.keys(n).forEach(function(t){n[t]=l._driver.computeStyle(e,t,Pr)})});var u=Hr(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=Kr(e,"","","");return Wr(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}(),fa=[],ha={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ma={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},va="__ng_removed",ga=function(){function n(n,e){void 0===e&&(e=""),this.namespaceId=e;var t=n&&n.hasOwnProperty("value");if(this.value=function(n){return null!=n?n:null}(t?n.value:n),t){var l=vi(n);delete l.value,this.options=l}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}(),ba=new ga("void"),ya=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,Ta(e,this._hostClassName)}return n.prototype.listen=function(n,e,t,l){var o,r=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 i=Yr(this._elementListeners,n,[]),a={name:e,phase:t,callback:l};i.push(a);var u=Yr(this._engine.statesByElement,n,{});return u.hasOwnProperty(e)||(Ta(n,"ng-trigger"),Ta(n,"ng-trigger-"+e),u[e]=ba),function(){r._engine.afterFlush(function(){var n=i.indexOf(a);n>=0&&i.splice(n,1),r._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 r=this._getTrigger(e),i=new wa(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Ta(n,"ng-trigger"),Ta(n,"ng-trigger-"+e),this._engine.statesByElement.set(n,a={}));var u=a[e],s=new ga(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&u&&s.absorbOptions(u.options),a[e]=s,u||(u=ba),"void"===s.value||u.value!==s.value){var d=Yr(this._engine.playersByElement,n,[]);d.forEach(function(n){n.namespaceId==o.id&&n.triggerName==e&&n.queued&&n.destroy()});var c=r.matchTransition(u.value,s.value,n,s.params),p=!1;if(!c){if(!l)return;c=r.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:c,fromState:u,toState:s,player:i,isFallbackTransition:p}),p||(Ta(n,"ng-animate-queued"),i.onStart(function(){Ra(n,"ng-animate-queued")})),i.onDone(function(){var e=o.players.indexOf(i);e>=0&&o.players.splice(e,1);var t=o._engine.playersByElement.get(n);if(t){var l=t.indexOf(i);l>=0&&t.splice(l,1)}}),this.players.push(i),d.push(i),i}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 r=t[o];if(!e.hasOwnProperty(r)||n[r]!==e[r])return!1}return!0}(u.params,s.params)){var f=[],h=r.matchStyles(u.value,u.params,f),m=r.matchStyles(s.value,s.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){wi(n,h),_i(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[va]){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,r=this._engine.statesByElement.get(n);if(r){var i=[];if(Object.keys(r).forEach(function(e){if(o._triggers[e]){var t=o.trigger(n,e,"void",l);t&&i.push(t)}}),i.length)return this._engine.markElementAsRemoved(this.id,n,!0,e),t&&Hr(i).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 r=e._triggers[o].fallbackTransition,i=e._engine.statesByElement.get(n)[o]||ba,a=new ga("void"),u=new wa(e.id,o,n);e._engine.totalQueuedPlayers++,e._queue.push({element:n,triggerName:o,transition:r,fromState:i,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 r=l.players.length?l.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else for(var i=n;i=i.parentNode;)if(l.statesByElement.get(i)){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){Ta(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 r=l.element,i=e._elementListeners.get(r);i&&i.forEach(function(e){if(e.name==l.triggerName){var t=Kr(r,l.triggerName,l.fromState.value,l.toState.value);t._data=n,Wr(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}(),_a=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 ya(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 r=t[l[o]].namespaceId;if(r){var i=this._fetchNamespace(r);i&&e.add(i)}}return e},n.prototype.trigger=function(n,e,t,l){if(Ca(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(Ca(e)){var o=e[va];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var r=this.collectedLeaveElements.indexOf(e);r>=0&&this.collectedLeaveElements.splice(r,1)}if(n){var i=this._fetchNamespace(n);i&&i.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),Ta(n,"ng-animate-disabled")):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ra(n,"ng-animate-disabled"))},n.prototype.removeNode=function(n,e,t){if(Ca(e)){var l=n?this._fetchNamespace(n):null;l?l.removeNode(e,t):this.markElementAsRemoved(n,e,!1,t)}else this._onRemovalComplete(e,t)},n.prototype.markElementAsRemoved=function(n,e,t,l){this.collectedLeaveElements.push(e),e[va]={namespaceId:n,setForRemoval:l,hasAnimation:t,removedBeforeQueried:!1}},n.prototype.listen=function(n,e,t,l,o){return Ca(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 Hr(n.players).onDone(function(){return e()});e()})},n.prototype.processLeaveNode=function(n){var e=this,t=n[va];if(t&&t.setForRemoval){if(n[va]=ha,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++)Ta(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 r=this._whenQuietFns;this._whenQuietFns=[],t.length?Hr(t).onDone(function(){r.forEach(function(n){return n()})}):r.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 Zi,o=[],r=new Map,i=[],a=new Map,u=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=ka(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 Ta(n,t)})});for(var g=[],b=new Set,y=new Set,_=0;_<this.collectedLeaveElements.length;_++)(q=(P=this.collectedLeaveElements[_])[va])&&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)}):y.add(P));var w=new Map,C=ka(f,Array.from(b));C.forEach(function(n,e){var t="ng-leave"+v++;w.set(e,t),n.forEach(function(n){return Ta(n,t)})}),n.push(function(){h.forEach(function(n,e){var t=m.get(e);n.forEach(function(n){return Ra(n,t)})}),C.forEach(function(n,e){var t=w.get(e);n.forEach(function(n){return Ra(n,t)})}),g.forEach(function(n){t.processLeaveNode(n)})});for(var x=[],S=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach(function(n){var e=n.player,r=n.element;if(x.push(e),t.collectedEnterElements.length){var s=r[va];if(s&&s.setForMove)return void e.destroy()}var c=!p||!t.driver.containsElement(p,r),f=w.get(r),h=m.get(r),v=t._buildInstruction(n,l,h,f,c);if(v.errors&&v.errors.length)S.push(v);else{if(c)return e.onStart(function(){return wi(r,v.fromStyles)}),e.onDestroy(function(){return _i(r,v.toStyles)}),void o.push(e);if(n.isFallbackTransition)return e.onStart(function(){return wi(r,v.fromStyles)}),e.onDestroy(function(){return _i(r,v.toStyles)}),void o.push(e);v.timelines.forEach(function(n){return n.stretchStartingKeyframe=!0}),l.append(r,v.timelines),i.push({instruction:v,player:e,element:r}),v.queriedElements.forEach(function(n){return Yr(a,n,[]).push(e)}),v.preStyleProps.forEach(function(n,e){var t=Object.keys(n);if(t.length){var l=u.get(e);l||u.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(S.length){var E=[];S.forEach(function(n){E.push("@"+n.triggerName+" has failed due to:\n"),n.errors.forEach(function(n){return E.push("- "+n+"\n")})}),x.forEach(function(n){return n.destroy()}),this.reportError(E)}var T=new Map,R=new Map;i.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){Yr(T,e,[]).push(n),n.destroy()})});var I=g.filter(function(n){return Oa(n,u,d)}),O=new Map;Sa(O,this.driver,y,d,Pr).forEach(function(n){Oa(n,u,d)&&I.push(n)});var F=new Map;h.forEach(function(n,e){Sa(F,t.driver,new Set(n),u,zr)}),I.forEach(function(n){var e=O.get(n),t=F.get(n);O.set(n,Object(s.__assign)({},e,t))});var D=[],M=[],N={};i.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 _i(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,O);if(i.setRealPlayer(f),u===N)D.push(i);else{var h=t.playersByElement.get(u);h&&h.length&&(i.parentPlayer=Hr(h)),o.push(i)}}else wi(e,a.fromStyles),i.onDestroy(function(){return _i(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=Hr(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])[va];if(Ra(P,"ng-leave"),!q||!q.hasAnimation){var j=[];if(a.size){var L=a.get(P);L&&L.length&&j.push.apply(j,Object(s.__spread)(L));for(var V=this.driver.query(P,".ng-animating",!0),B=0;B<V.length;B++){var z=a.get(V[B]);z&&z.length&&j.push.apply(j,Object(s.__spread)(z))}}var U=j.filter(function(n){return!n.destroyed});U.length?Ia(this,P,U):this.processLeaveNode(P)}}return g.length=0,D.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()}),D},n.prototype.elementContainsData=function(n,e){var t=!1,l=e[va];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 r=[];if(e){var i=this.playersByQueriedElement.get(n);i&&(r=i)}else{var a=this.playersByElement.get(n);if(a){var u=!o||"void"==o;a.forEach(function(n){n.queued||(u||n.triggerName==l)&&r.push(n)})}}return(t||l)&&(r=r.filter(function(n){return!(t&&t!=n.namespaceId||l&&l!=n.triggerName)})),r},n.prototype._beforeAnimationBuild=function(n,e,t){var l,o,r=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName,u=function(n){var l=n.element,o=l!==r,u=Yr(t,l,[]);d._getPreviousPlayers(l,o,i,a,e.toState).forEach(function(n){var e=n.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),n.destroy(),u.push(n)})},d=this;try{for(var c=Object(s.__values)(e.timelines),p=c.next();!p.done;p=c.next())u(p.value)}catch(f){l={error:f}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(l)throw l.error}}wi(r,e.fromStyles)},n.prototype._buildAnimation=function(n,e,t,l,o,r){var i=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[va];if(f&&f.removedBeforeQueried)return new Vr(e.duration,e.delay);var h,m,v=p!==u,g=(h=(t.get(p)||fa).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 Br?n(o.players,t):t.push(o)}}(h,m),m).filter(function(n){return!!n.element&&n.element===p}),b=o.get(p),y=r.get(p),_=Zr(0,i._normalizer,0,e.keyframes,b,y),w=i._buildPlayer(e,_,g);if(e.subTimeline&&l&&c.add(p),v){var C=new wa(n,a,p);C.setRealPlayer(w),s.push(C)}return w});s.forEach(function(n){Yr(i.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}(i.playersByQueriedElement,n.element,n)})}),d.forEach(function(n){return Ta(n,"ng-animating")});var f=Hr(p);return f.onDestroy(function(){d.forEach(function(n){return Ra(n,"ng-animating")}),_i(u,e.toStyles)}),c.forEach(function(n){Yr(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 Vr(n.duration,n.delay)},n}(),wa=function(){function n(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Vr,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 Wr(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){Yr(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 Ca(n){return n&&1===n.nodeType}function xa(n,e){var t=n.style.display;return n.style.display=null!=e?e:"none",t}function Sa(n,e,t,l,o){var r=[];t.forEach(function(n){return r.push(xa(n))});var i=[];l.forEach(function(t,l){var r={};t.forEach(function(n){var t=r[n]=e.computeStyle(l,n,o);t&&0!=t.length||(l[va]=ma,i.push(l))}),n.set(l,r)});var a=0;return t.forEach(function(n){return xa(n,r[a++])}),i}function ka(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 r=o.get(e);if(r)return r;var i=e.parentNode;return r=t.has(i)?i:l.has(i)?1:n(i),o.set(e,r),r}(n);1!==e&&t.get(e).push(n)}),t}var Ea="$$classes";function Ta(n,e){if(n.classList)n.classList.add(e);else{var t=n[Ea];t||(t=n[Ea]={}),t[e]=!0}}function Ra(n,e){if(n.classList)n.classList.remove(e);else{var t=n[Ea];t&&delete t[e]}}function Ia(n,e,t){Hr(t).onDone(function(){return n.processLeaveNode(e)})}function Oa(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 Fa=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 _a(n,e,t),this._timelineEngine=new pa(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 r=n+"-"+l,i=this._triggerCache[r];if(!i){var a=[],u=ji(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 - "));i=function(n,e){return new sa(n,e)}(l,u),this._triggerCache[r]=i}this._transitionEngine.registerTrigger(e,l,i)},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){this._transitionEngine.removeNode(n,e,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(s.__read)($r(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(s.__read)($r(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 Da(n,e){var t=null,l=null;return Array.isArray(e)&&e.length?(t=Na(e[0]),e.length>1&&(l=Na(e[e.length-1]))):e&&(t=Na(e)),t||l?new Ma(n,t,l):null}var Ma=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&&_i(this._element,this._startStyles,this._initialStyles),this._state=1)},n.prototype.finish=function(){this.start(),this._state<2&&(_i(this._element,this._initialStyles),this._endStyles&&(_i(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&&(wi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),_i(this._element,this._initialStyles),this._state=3)},n.initialStylesByElement=new WeakMap,n}();function Na(n){for(var e=null,t=Object.keys(n),l=0;l<t.length;l++){var o=t[l];Aa(o)&&((e=e||{})[o]=n[o])}return e}function Aa(n){return"display"===n||"position"===n}var Pa="animation",qa="animationend",ja=function(){function n(n,e,t,l,o,r,i){var a=this;this._element=n,this._name=e,this._duration=t,this._delay=l,this._easing=o,this._fillMode=r,this._onDoneFn=i,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=Ha(n=this._element,"").trim()).length&&(function(n,e){for(var t=0;t<n.length;t++)","===n.charAt(t)&&0}(t),e=t+", "+e),Ua(n,"",e),za(this._element,this._eventFn,!1),this._startTime=Date.now()},n.prototype.pause=function(){La(this._element,this._name,"paused")},n.prototype.resume=function(){La(this._element,this._name,"running")},n.prototype.setPosition=function(n){var e=Va(this._element,this._name);this._position=n*this._duration,Ua(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(),za(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=Ba(t=Ha(n=this._element,"").split(","),e))>=0&&(t.splice(l,1),Ua(n,"",t.join(","))))},n}();function La(n,e,t){Ua(n,"PlayState",t,Va(n,e))}function Va(n,e){var t=Ha(n,"");return t.indexOf(",")>0?Ba(t.split(","),e):Ba([t],e)}function Ba(n,e){for(var t=0;t<n.length;t++)if(n[t].indexOf(e)>=0)return t;return-1}function za(n,e,t){t?n.removeEventListener(qa,e):n.addEventListener(qa,e)}function Ua(n,e,t,l){var o=Pa+e;if(null!=l){var r=n.style[o];if(r.length){var i=r.split(",");i[l]=t,t=i.join(",")}}n.style[o]=t}function Ha(n,e){return n.style[Pa+e]}var Za="linear",Wa=function(){function n(n,e,t,l,o,r,i,a){this.element=n,this.keyframes=e,this.animationName=t,this._duration=l,this._delay=o,this._finalStyles=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||Za,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 ja(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]:Di(n.element,l))})}this.currentSnapshot=e},n}(),Ga=function(n){function e(e,t){var l=n.call(this)||this;return l.element=e,l._startingStyles={},l.__initialized=!1,l._styles=si(t),l}return Object(s.__extends)(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}(Vr),Ka=function(){function n(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return n.prototype.validateStyleProperty=function(n){return ri(n)},n.prototype.matchesElement=function(n,e){return ii(n,e)},n.prototype.containsElement=function(n,e){return ai(n,e)},n.prototype.query=function(n,e,t){return ui(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 si(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 r=document.createElement("style");return r.innerHTML=l,r},n.prototype.animate=function(n,e,t,l,o,r,i){void 0===r&&(r=[]),i&&this._notifyFaultyScrubber();var a=r.filter(function(n){return n instanceof Wa}),u={};Ii(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=Oi(n,e,u));if(0==t)return new Ga(n,s);var d="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(n,d,e);document.querySelector("head").appendChild(c);var p=Da(n,e),f=new Wa(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}(),Ya=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]:Di(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}(),$a=function(){function n(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Xa().toString()),this._cssKeyframesDriver=new Ka}return n.prototype.validateStyleProperty=function(n){return ri(n)},n.prototype.matchesElement=function(n,e){return ii(n,e)},n.prototype.containsElement=function(n,e){return ai(n,e)},n.prototype.query=function(n,e,t){return ui(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,r,i){if(void 0===r&&(r=[]),!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(n,e,t,l,o,r);var a={duration:t,delay:l,fill:0==l?"both":"forwards"};o&&(a.easing=o);var u={},s=r.filter(function(n){return n instanceof Ya});Ii(t,l)&&s.forEach(function(n){var e=n.currentSnapshot;Object.keys(e).forEach(function(n){return u[n]=e[n]})});var d=Da(n,e=Oi(n,e=e.map(function(n){return gi(n,!1)}),u));return new Ya(n,e,a,d)},n}();function Xa(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Qa=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(s.__extends)(e,n),e.prototype.build=function(n){var e=this._nextAnimationId.toString();this._nextAnimationId++;var t=Array.isArray(n)?qr(n):n;return eu(this._renderer,null,e,"register",[t]),new Ja(e,this._renderer)},e}(Nr),Ja=function(n){function e(e,t){var l=n.call(this)||this;return l._id=e,l._renderer=t,l}return Object(s.__extends)(e,n),e.prototype.create=function(n,e){return new nu(this._id,n,e||{},this._renderer)},e}(Ar),nu=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 eu(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 eu(n,e,t,l,o){return n.setProperty(e,"@@"+t+":"+l,o)}var tu=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 lu("",l,this.engine),this._rendererCache.set(l,o)),o}var r=e.id,i=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,n),e.data.animation.forEach(function(e){return t.engine.registerTrigger(r,i,n,e.name,e)}),new ou(this,i,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(s.__read)(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}(),lu=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){this.engine.onRemove(this.namespaceId,e,this.delegate)},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}(),ou=function(n){function e(e,t,l,o){var r=n.call(this,t,l,o)||this;return r.factory=e,r.namespaceId=t,r}return Object(s.__extends)(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,i=this;if("@"==e.charAt(0)){var a=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(n),u=e.substr(1),d="";return"@"!=u.charAt(0)&&(u=(l=Object(s.__read)((o=u,r=o.indexOf("."),[o.substring(0,r),o.substr(r+1)]),2))[0],d=l[1]),this.engine.listen(this.namespaceId,a,u,d,function(n){i.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(n,e,t)},e}(lu),ru=function(n){function e(e,t,l){return n.call(this,e.body,t,l)||this}return Object(s.__extends)(e,n),e}(Fa);function iu(){return"function"==typeof Xa()?new $a:new Ka}function au(){return new ta}function uu(n,e,t){return new tu(n,e,t)}var su=new o.InjectionToken("AnimationModuleType"),du=function(){return function(){}}(),cu=o["\u0275crt"]({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-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 pu(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{ripple:0}),(n()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](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["\u0275did"](4,212992,[[1,4]],0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["\u0275eld"](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["\u0275nov"](e,4).unbounded)})}var fu=o["\u0275crt"]({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-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 hu(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{ripple:0}),(n()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](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["\u0275did"](4,212992,[[1,4]],0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["\u0275eld"](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["\u0275nov"](e,4).unbounded)})}var mu=Ko(function(){return function(n){this._elementRef=n}}()),vu=function(){return function(){}}(),gu=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o._platform=t,o._document=l,o}return Object(s.__extends)(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}(mu),bu=function(){return function(){}}(),yu=o["\u0275crt"]({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 _u(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1)],null,null)}var wu=function(){return function(){}}(),Cu=function(){return function(){}}(),xu=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(),r=n.slice(t+1).trim();e.maybeSetNormalizedName(l,o),e.headers.has(o)?e.headers.get(o).push(r):e.headers.set(o,[r])}})}: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(s.__spread)(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}(),Su=function(){function n(){}return n.prototype.encodeKey=function(n){return ku(n)},n.prototype.encodeValue=function(n){return ku(n)},n.prototype.decodeKey=function(n){return decodeURIComponent(n)},n.prototype.decodeValue=function(n){return decodeURIComponent(n)},n}();function ku(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 Eu=function(){function n(n){void 0===n&&(n={});var e,t,l,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Su,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(s.__read)(-1==e?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,e)),t.decodeValue(n.slice(e+1))],2),r=o[0],i=o[1],a=l.get(r)||[];a.push(i),l.set(r,a)}),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 Tu(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Ru(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Iu(n){return"undefined"!=typeof FormData&&n instanceof FormData}var Ou=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 xu),this.params){var r=this.params.toString();if(0===r.length)this.urlWithParams=e;else{var i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":i<e.length-1?"&":"")+r}}else this.params=new Eu,this.urlWithParams=e}return n.prototype.serializeBody=function(){return null===this.body?null:Tu(this.body)||Ru(this.body)||Iu(this.body)||"string"==typeof this.body?this.body:this.body instanceof Eu?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:Iu(this.body)?null:Ru(this.body)?this.body.type||null:Tu(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Eu?"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,r=void 0!==e.body?e.body:this.body,i=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,r,{params:s,headers:u,reportProgress:a,responseType:o,withCredentials:i})},n}(),Fu=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}({}),Du=function(){return function(n,e,t){void 0===e&&(e=200),void 0===t&&(t="OK"),this.headers=n.headers||new xu,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}}(),Mu=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Fu.ResponseHeader,t}return Object(s.__extends)(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}(Du),Nu=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Fu.Response,t.body=void 0!==e.body?e.body:null,t}return Object(s.__extends)(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}(Du),Au=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(s.__extends)(e,n),e}(Du);function Pu(n,e){return{body:e,headers:n.headers,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var qu=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 Ou)l=n;else{var r;r=t.headers instanceof xu?t.headers:new xu(t.headers);var i=void 0;t.params&&(i=t.params instanceof Eu?t.params:new Eu({fromObject:t.params})),l=new Ou(n,e,void 0!==t.body?t.body:null,{headers:r,params:i,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials})}var a=Object(O.a)(l).pipe(Object(Y.a)(function(n){return o.handler.handle(n)}));if(n instanceof Ou||"events"===t.observe)return a;var u=a.pipe(Object(K.a)(function(n){return n instanceof Nu}));switch(t.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(q.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(q.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(q.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(q.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 Eu).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,Pu(t,e))},n.prototype.post=function(n,e,t){return void 0===t&&(t={}),this.request("POST",n,Pu(t,e))},n.prototype.put=function(n,e,t){return void 0===t&&(t={}),this.request("PUT",n,Pu(t,e))},n}(),ju=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}(),Lu=new o.InjectionToken("HTTP_INTERCEPTORS"),Vu=function(){function n(){}return n.prototype.intercept=function(n,e){return e.handle(n)},n}(),Bu=/^\)\]\}',?\n/,zu=function(){return function(){}}(),Uu=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),Hu=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 d.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 r=n.responseType.toLowerCase();l.responseType="json"!==r?r:"text"}var i=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 xu(l.getAllResponseHeaders()),r=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 Mu({headers:o,status:e,statusText:t,url:r})},s=function(){var e=u(),o=e.headers,r=e.status,i=e.statusText,a=e.url,s=null;204!==r&&(s=void 0===l.response?l.responseText:l.response),0===r&&(r=s?200:0);var d=r>=200&&r<300;if("json"===n.responseType&&"string"==typeof s){var c=s;s=s.replace(Bu,"");try{s=""!==s?JSON.parse(s):null}catch(p){s=c,d&&(d=!1,s={error:p,text:s})}}d?(t.next(new Nu({body:s,headers:o,status:r,statusText:i,url:a||void 0})),t.complete()):t.error(new Au({error:s,headers:o,status:r,statusText:i,url:a||void 0}))},d=function(n){var e=u().url,o=new Au({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:Fu.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:Fu.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!==i&&l.upload&&l.upload.addEventListener("progress",f)),l.send(i),t.next({type:Fu.Sent}),function(){l.removeEventListener("error",d),l.removeEventListener("load",s),n.reportProgress&&(l.removeEventListener("progress",p),null!==i&&l.upload&&l.upload.removeEventListener("progress",f)),l.abort()}})},n}(),Zu=new o.InjectionToken("XSRF_COOKIE_NAME"),Wu=new o.InjectionToken("XSRF_HEADER_NAME"),Gu=function(){return function(){}}(),Ku=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(I["\u0275parseCookieValue"])(n,this.cookieName),this.lastCookieString=n),this.lastToken},n}(),Yu=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}(),$u=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(Lu,[]);this.chain=e.reduceRight(function(n,e){return new ju(n,e)},this.backend)}return this.chain.handle(n)},n}(),Xu=function(){function n(){}var e;return e=n,n.disable=function(){return{ngModule:e,providers:[{provide:Yu,useClass:Vu}]}},n.withOptions=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[n.cookieName?{provide:Zu,useValue:n.cookieName}:[],n.headerName?{provide:Wu,useValue:n.headerName}:[]]}},n}(),Qu=function(){return function(){}}(),Ju=t("XlPw"),ns=t("VNr4"),es=t("S1nX");function ts(n){return Error('Unable to find icon with the name "'+n+'"')}function ls(n){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+n+'".')}function os(n){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+n+'".')}var rs=function(){return function(n){n.nodeName?this.svgElement=n:this.url=n}}(),is=function(){function n(n,e,t){this._httpClient=n,this._sanitizer=e,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){return this.addSvgIconInNamespace("",n,e)},n.prototype.addSvgIconLiteral=function(n,e){return this.addSvgIconLiteralInNamespace("",n,e)},n.prototype.addSvgIconInNamespace=function(n,e,t){return this._addSvgIconConfig(n,e,new rs(t))},n.prototype.addSvgIconLiteralInNamespace=function(n,e,t){var l=this._sanitizer.sanitize(o.SecurityContext.HTML,t);if(!l)throw os(t);var r=this._createSvgElementForSingleIcon(l);return this._addSvgIconConfig(n,e,new rs(r))},n.prototype.addSvgIconSet=function(n){return this.addSvgIconSetInNamespace("",n)},n.prototype.addSvgIconSetLiteral=function(n){return this.addSvgIconSetLiteralInNamespace("",n)},n.prototype.addSvgIconSetInNamespace=function(n,e){return this._addSvgIconSetConfig(n,new rs(e))},n.prototype.addSvgIconSetLiteralInNamespace=function(n,e){var t=this._sanitizer.sanitize(o.SecurityContext.HTML,e);if(!t)throw os(e);var l=this._svgElementFromString(t);return this._addSvgIconSetConfig(n,new rs(l))},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 ls(n);var l=this._cachedIconsByUrl.get(t);return l?Object(O.a)(as(l)):this._loadSvgIconFromConfig(new rs(n)).pipe(Object(X.a)(function(n){return e._cachedIconsByUrl.set(t,n)}),Object(q.a)(function(n){return as(n)}))},n.prototype.getNamedSvgIcon=function(n,e){void 0===e&&(e="");var t=us(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(Ju.a)(ts(t))},n.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},n.prototype._getSvgFromConfig=function(n){return n.svgElement?Object(O.a)(as(n.svgElement)):this._loadSvgIconFromConfig(n).pipe(Object(X.a)(function(e){return n.svgElement=e}),Object(q.a)(function(n){return as(n)}))},n.prototype._getSvgFromIconSetConfigs=function(n,e){var t=this,l=this._extractIconWithNameFromAnySet(n,e);if(l)return Object(O.a)(l);var r=e.filter(function(n){return!n.svgElement}).map(function(n){return t._loadSvgIconSetFromConfig(n).pipe(Object(V.a)(function(e){var l=t._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n.url);return console.error("Loading icon set URL: "+l+" failed: "+e.message),Object(O.a)(null)}))});return Object(ns.a)(r).pipe(Object(q.a)(function(){var l=t._extractIconWithNameFromAnySet(n,e);if(!l)throw ts(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);if(o)return o}}return null},n.prototype._loadSvgIconFromConfig=function(n){var e=this;return this._fetchUrl(n.url).pipe(Object(q.a)(function(n){return e._createSvgElementForSingleIcon(n)}))},n.prototype._loadSvgIconSetFromConfig=function(n){var e=this;return n.svgElement?Object(O.a)(n.svgElement):this._fetchUrl(n.url).pipe(Object(q.a)(function(t){return n.svgElement||(n.svgElement=e._svgElementFromString(t)),n.svgElement}))},n.prototype._createSvgElementForSingleIcon=function(n){var e=this._svgElementFromString(n);return this._setSvgAttributes(e),e},n.prototype._extractSvgIconFromSet=function(n,e){var t=n.querySelector("#"+e);if(!t)return null;var l=t.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l));var o=this._svgElementFromString("<svg></svg>");return o.appendChild(l),this._setSvgAttributes(o)},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=0;t<n.childNodes.length;t++)n.childNodes[t].nodeType===this._document.ELEMENT_NODE&&e.appendChild(n.childNodes[t].cloneNode(!0));return e},n.prototype._setSvgAttributes=function(n){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),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 ls(n);var l=this._inProgressUrlFetches.get(t);if(l)return l;var r=this._httpClient.get(t,{responseType:"text"}).pipe(Object(Q.a)(function(){return e._inProgressUrlFetches.delete(t)}),Object(es.a)());return this._inProgressUrlFetches.set(t,r),r},n.prototype._addSvgIconConfig=function(n,e,t){return this._svgIconConfigs.set(us(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)(qu,8),Object(o.inject)(Jn),Object(o.inject)(I.DOCUMENT,8))},token:n,providedIn:"root"}),n}();function as(n){return n.cloneNode(!0)}function us(n,e){return n+":"+e}var ss=Ko(function(){return function(n){this._elementRef=n}}()),ds=new o.InjectionToken("mat-icon-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(I.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),cs=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ps=cs.map(function(n){return"["+n+"]"}).join(", "),fs=/^url\(['"]?#(.*?)['"]?\)$/,hs=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r._iconRegistry=t,r._location=o,r._inline=!1,l||e.nativeElement.setAttribute("aria-hidden","true"),r}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"inline",{get:function(){return this._inline},set:function(n){this._inline=ao(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);this._iconRegistry.getNamedSvgIcon(l[1],l[0]).pipe(Object(Z.a)(1)).subscribe(function(n){return e._setSvgElement(n)},function(n){return console.log("Error retrieving icon: "+n.message)})}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(ps),t=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,l=function(n){cs.forEach(function(l){var o=e[n],r=o.getAttribute(l),i=r?r.match(fs):null;if(i){var a=t.get(o);a||t.set(o,a=[]),a.push({name:l,value:i[1]})}})},o=0;o<e.length;o++)l(o)},e}(ss),ms=function(){return function(){}}(),vs=o["\u0275crt"]({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 gs(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0)],null,null)}function bs(){throw Error("Host already has a portal attached")}var ys=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()&&bs(),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}(),_s=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r.component=e,r.viewContainerRef=t,r.injector=l,r.componentFactoryResolver=o,r}return Object(s.__extends)(e,n),e}(ys),ws=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(s.__extends)(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}(ys),Cs=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()&&bs(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),n instanceof _s?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof ws?(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}(),xs=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r.outletElement=e,r._componentFactoryResolver=t,r._appRef=l,r._defaultInjector=o,r}return Object(s.__extends)(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}(Cs),Ss=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(s.__extends)(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}(Cs),ks=function(){return function(){}}(),Es=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}(),Ts=t("p0ib"),Rs=t("KQya"),Is=t("ny24"),Os=t("vubp"),Fs=t("bne5"),Ds=(t("tHPV"),t("ad02")),Ms=t("Rney"),Ns=t("qyHS"),As=t("klSw"),Ps=function(){return function(){}}();function qs(n){return n&&"function"==typeof n.connect}var js=function(){function n(n,e,t){void 0===n&&(n=!1),void 0===t&&(t=!0);var l=this;this._multiple=n,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new A.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}(),Ls=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}(),Vs=function(){function n(n,e){this._ngZone=n,this._platform=e,this._scrolled=new A.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 d.a(function(t){e._globalSubscription||e._addGlobalListener();var l=n>0?e._scrolled.pipe(Object(Ms.a)(n)).subscribe(t):e._scrolled.subscribe(t);return e._scrolledCount++,function(){l.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(O.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(K.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(Fs.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)(mo))},token:n,providedIn:"root"}),n}(),Bs=function(){return function(){}}(),zs=function(){function n(n,e){var t=this;this._platform=n,e.runOutsideAngular(function(){t._change=n.isBrowser?Object(Ts.a)(Object(Fs.a)(window,"resize"),Object(Fs.a)(window,"orientationchange")):Object(O.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(Ms.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)(mo),Object(o.inject)(o.NgZone))},token:n,providedIn:"root"}),n}(),Us=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=co(-this._previousScrollPosition.left),n.style.top=co(-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 Hs(){return Error("Scroll strategy has already been attached.")}var Zs=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 Hs();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}(),Ws=function(){function n(){}return n.prototype.enable=function(){},n.prototype.disable=function(){},n.prototype.attach=function(){},n}();function Gs(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 Ks(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 Ys=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 Hs();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;Gs(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}(),$s=function(){function n(n,e,t,l){var o=this;this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this.noop=function(){return new Ws},this.close=function(n){return new Zs(o._scrollDispatcher,o._ngZone,o._viewportRuler,n)},this.block=function(){return new Us(o._viewportRuler,o._document)},this.reposition=function(n){return new Ys(o._scrollDispatcher,o._viewportRuler,o._ngZone,n)},this._document=l}return n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(Vs),Object(o.inject)(zs),Object(o.inject)(o.NgZone),Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),Xs=function(){return function(n){var e=this;this.scrollStrategy=new Ws,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n&&Object.keys(n).forEach(function(t){void 0!==n[t]&&(e[t]=n[t])})}}(),Qs=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}}(),Js=function(){return function(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}();function nd(n,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "top", "bottom" or "center".')}function ed(n,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "start", "end" or "center".')}var td=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,!0),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,!0),this._isAttached=!1)},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),ld=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(){var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),this._document.body.appendChild(n),this._containerElement=n},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),od=function(){function n(n,e,t,l,o,r,i,a){var u=this;this._portalOutlet=n,this._host=e,this._pane=t,this._config=l,this._ngZone=o,this._keyboardDispatcher=r,this._document=i,this._location=a,this._backdropElement=null,this._backdropClick=new A.b,this._attachments=new A.b,this._detachments=new A.b,this._locationChanges=_o.a.EMPTY,this._keydownEventsObservable=new d.a(function(n){var e=u._keydownEvents.subscribe(n);return u._keydownEventSubscriptions++,function(){e.unsubscribe(),u._keydownEventSubscriptions--}}),this._keydownEvents=new A.b,this._keydownEventSubscriptions=0,l.scrollStrategy&&l.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._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(Z.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._config.scrollStrategy&&this._config.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._config.scrollStrategy&&this._config.scrollStrategy.disable(),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(s.__assign)({},this._config,n),this._updateElementSize()},n.prototype.setDirection=function(n){this._config=Object(s.__assign)({},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._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},n.prototype._updateElementSize=function(){var n=this._pane.style;n.width=co(this._config.width),n.height=co(this._config.height),n.minWidth=co(this._config.minWidth),n.minHeight=co(this._config.minHeight),n.maxWidth=co(this._config.maxWidth),n.maxHeight=co(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",function(e){return n._backdropClick.next(e)}),"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.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;so(e).forEach(function(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(Is.a)(Object(Ts.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}(),rd=function(){function n(n,e,t,l,o){var r=this;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 A.b,this._resizeSubscription=_o.a.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=new d.a(function(n){var e=r._positionChanges.subscribe(n);return r._positionChangeSubscriptions++,function(){e.unsubscribe(),r._positionChangeSubscriptions--}}),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&&!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=[],r=0,i=this._preferredPositions;r<i.length;r++){var a=i[r],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&&id(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,r=n.y,i=this._getOffset(l,"x"),a=this._getOffset(l,"y");i&&(o+=i),a&&(r+=a);var u=0-r,s=r+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,r=this._overlayRef.getConfig().minHeight,i=this._overlayRef.getConfig().minWidth;return(n.fitsInViewportVertically||null!=r&&r<=l)&&(n.fitsInViewportHorizontally||null!=i&&i<=o)}},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,r=this._viewportRect,i=Math.max(n.x+e.width-r.right,0),a=Math.max(n.y+e.height-r.bottom,0),u=Math.max(r.top-t.top-n.y,0),s=Math.max(r.left-t.left-n.x,0);return this._previousPushAmount={x:l=e.width<=r.width?s||-i:n.x<this._viewportMargin?r.left-t.left-n.x:0,y:o=e.height<=r.height?u||-a:n.y<this._viewportMargin?r.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._positionChangeSubscriptions>0){var t=this._getScrollVisibility(),l=new Js(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,r,i,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.right-n.x+this._viewportMargin,r=n.x-u.left;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)i=n.x,r=u.right-n.x;else{d=Math.min(u.right-n.x+u.left,n.x);var p=this._lastBoundingBoxSize.width;i=n.x-d,(r=2*d)>p&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.x-p/2)}return{top:l,left:i,bottom:o,right:a,width:r,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,r=this._overlayRef.getConfig().maxWidth;l.height=co(t.height),l.top=co(t.top),l.bottom=co(t.bottom),l.width=co(t.width),l.left=co(t.left),l.right=co(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=co(o)),r&&(l.maxWidth=co(r))}this._lastBoundingBoxSize=t,id(this._boundingBox.style,l)},n.prototype._resetBoundingBoxStyles=function(){id(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},n.prototype._resetOverlayElementStyles=function(){id(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();id(t,this._getExactOverlayY(e,n,l)),id(t,this._getExactOverlayX(e,n,l))}else t.position="static";var o="",r=this._getOffset(e,"x"),i=this._getOffset(e,"y");r&&(o+="translateX("+r+"px) "),i&&(o+="translateY("+i+"px)"),t.transform=o.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(t.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(t.maxWidth=""),id(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 r=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return o.y-=r,"bottom"===n.overlayY?l.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":l.top=co(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=co(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:Ks(n,t),isOriginOutsideView:Gs(n,t),isOverlayClipped:Ks(e,t),isOverlayOutsideView:Gs(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){ed("originX",n.originX),nd("originY",n.originY),ed("overlayX",n.overlayX),nd("overlayY",n.overlayY)})},n.prototype._addPanelClasses=function(n){var e=this;this._pane&&so(n).forEach(function(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){return n._pane.classList.remove(e)}),this._appliedPanelClasses=[])},n.prototype._getOriginRect=function(){var n=this._origin;return n instanceof o.ElementRef?n.nativeElement.getBoundingClientRect():n instanceof HTMLElement?n.getBoundingClientRect():{top:n.y,bottom:n.y,left:n.x,right:n.x,height:0,width:0}},n}();function id(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}var ad=function(){function n(n,e,t,l,o,r){this._preferredPositions=[],this._positionStrategy=new rd(t,l,o,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 Qs(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}(),ud=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}(),sd=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 ud},n.prototype.connectedTo=function(n,e,t){return new ad(e,t,n,this._viewportRuler,this._document)},n.prototype.flexibleConnectedTo=function(n){return new rd(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(zs),Object(o.inject)(I.DOCUMENT),Object(o.inject)(mo,8),Object(o.inject)(ld,8))},token:n,providedIn:"root"}),n}(),dd=0,cd=function(){function n(n,e,t,l,o,r,i,a,u,s){this.scrollStrategies=n,this._overlayContainer=e,this._componentFactoryResolver=t,this._positionBuilder=l,this._keyboardDispatcher=o,this._injector=r,this._ngZone=i,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 Xs(n);return o.direction=o.direction||this._directionality.value,new od(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-"+dd++,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 xs(n,this._componentFactoryResolver,this._appRef,this._injector)},n}(),pd=[{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"}],fd=new o.InjectionToken("cdk-connected-overlay-scroll-strategy"),hd=function(){return function(n){this.elementRef=n}}(),md=function(){function n(n,e,t,l,r){this._overlay=n,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=_o.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 ws(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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(n){this._lockPosition=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"push",{get:function(){return this._push},set:function(n){this._push=ao(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=pd),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(e){n.overlayKeydown.next(e),e.keyCode===wo&&n._detachOverlay()})},n.prototype._buildConfig=function(){var n=this._position=this._createPositionStrategy(),e=new Xs({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}});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 vd(n){return function(){return n.scrollStrategies.reposition()}}var gd=function(){return function(){}}(),bd=new o.InjectionToken("MAT_MENU_PANEL"),yd=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r._elementRef=e,r._focusMonitor=l,r._parentMenu=o,r.role="menuitem",r._hovered=new A.b,r._highlighted=!1,r._triggersSubmenu=!1,l&&l.monitor(r._elementRef,!1),o&&o.addItem&&o.addItem(r),r._document=t,r}return Object(s.__extends)(e,n),e.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),n):this._getHostElement().focus()},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}(Yo(Go(function(){return function(){}}()))),_d=new o.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),wd=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._items=[],this._itemChanges=new A.b,this._tabSubscription=_o.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new A.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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=ao(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._keyManager=new Fo(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return n.closed.emit("tab")})},n.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},n.prototype._hovered=function(){return this._itemChanges.pipe(Object(W.a)(this._items),Object(H.a)(function(n){return Ts.a.apply(void 0,n.map(function(n){return n._hovered}))}))},n.prototype._handleKeydown=function(n){var e=n.keyCode;switch(e){case wo: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;default:38!==e&&40!==e||this._keyManager.setFocusOrigin("keyboard"),this._keyManager.onKeydown(n)}},n.prototype.focusFirstItem=function(n){var e=this;void 0===n&&(n="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(Z.a)(1)).subscribe(function(){return e._keyManager.setFocusOrigin(n).setFirstItemActive()}):this._keyManager.setFocusOrigin(n).setFirstItemActive()},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.addItem=function(n){-1===this._items.indexOf(n)&&(this._items.push(n),this._itemChanges.next(this._items))},n.prototype.removeItem=function(n){var e=this._items.indexOf(n);this._items.indexOf(n)>-1&&(this._items.splice(e,1),this._itemChanges.next(this._items))},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}(),Cd=new o.InjectionToken("mat-menu-scroll-strategy");function xd(n){return function(){return n.scrollStrategies.reposition()}}var Sd=yo({passive:!0}),kd=function(){function n(n,e,t,l,r,i,a,u){var s=this;this._overlay=n,this._element=e,this._viewContainerRef=t,this._parentMenu=r,this._menuItemInstance=i,this._dir=a,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=_o.a.EMPTY,this._hoverSubscription=_o.a.EMPTY,this._menuCloseSubscription=_o.a.EMPTY,this._handleTouchStart=function(){return s._openedBy="touch"},this._openedBy=null,this.menuOpened=new o.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.EventEmitter,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Sd),i&&(i._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,Sd),this._cleanUpSubscriptions(),this._closingActionsSubscription.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 wd&&this.menu._startAnimation()}},n.prototype.closeMenu=function(){this.menu.close.emit()},n.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,n):this._element.nativeElement.focus()},n.prototype._destroyMenu=function(){var n=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof wd?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(K.a)(function(n){return"void"===n.toState}),Object(Z.a)(1),Object(Is.a)(e.lazyContent._attached)).subscribe(function(){return e.lazyContent.detach()},void 0,function(){n._resetMenu()}):this._resetMenu()):(this._resetMenu(),e.lazyContent&&e.lazyContent.detach())}},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._resetMenu=function(){this._setIsMenuOpen(!1),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 Xs({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-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"],r=o[0],i=o[1],a=[r,i],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"===r?8:-8):this.menu.overlapTrigger||(u="top"===r?"bottom":"top",s="top"===i?"bottom":"top"),n.withPositions([{originX:t,originY:u,overlayX:c,overlayY:r,offsetY:f},{originX:l,originY:u,overlayX:p,overlayY:r,offsetY:f},{originX:t,originY:s,overlayX:c,overlayY:i,offsetY:-f},{originX:l,originY:s,overlayX:p,overlayY:i,offsetY:-f}])},n.prototype._cleanUpSubscriptions=function(){this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},n.prototype._menuClosingActions=function(){var n=this,e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),l=this._parentMenu?this._parentMenu.closed:Object(O.a)(),o=this._parentMenu?this._parentMenu._hovered().pipe(Object(K.a)(function(e){return e!==n._menuItemInstance}),Object(K.a)(function(){return n._menuOpen})):Object(O.a)();return Object(Ts.a)(e,l,o,t)},n.prototype._handleMousedown=function(n){Uo(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(K.a)(function(e){return e===n._menuItemInstance&&!e.disabled}),Object(Os.a)(0,Rs.a)).subscribe(function(){n._openedBy="mouse",n.menu instanceof wd&&n.menu._isAnimating?n.menu._animationDone.pipe(Object(Z.a)(1),Object(Os.a)(0,Rs.a),Object(Is.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 ws(this.menu.templateRef,this._viewContainerRef)),this._portal},n}(),Ed=function(){return function(){}}(),Td=o["\u0275crt"]({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}.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}@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",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 Rd(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"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["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),o["\u0275eld"](2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),o["\u0275ncd"](null,0)],function(n,e){n(e,1,0,"mat-menu-panel",e.component._classList)},function(n,e){n(e,0,0,e.component._panelAnimationState)})}function Id(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{templateRef:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,Rd))],null,null)}var Od=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Fd(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](2,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{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["\u0275nov"](e,2).unbounded)})}var Dd=100,Md=Ko(function(){return function(n){this._elementRef=n}}(),"primary"),Nd=new o.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Dd}}}),Ad=function(n){function e(e,t,l,o,r){var i=n.call(this,e,t,l,o,r)||this;return i.mode="indeterminate",i}return Object(s.__extends)(e,n),e}(function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;return i._elementRef=e,i._document=l,i.animationMode=o,i.defaults=r,i._value=0,i._fallbackAnimation=!1,i._noopAnimations="NoopAnimations"===i.animationMode&&!!i.defaults&&!i.defaults._forceAnimations,i._diameter=Dd,i.mode="determinate",i._fallbackAnimation=t.EDGE||t.TRIDENT,r&&(r.diameter&&(i.diameter=r.diameter),r.strokeWidth&&(i.strokeWidth=r.strokeWidth)),e.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(i._fallbackAnimation?"-fallback":"")+"-animation"),i}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(n){this._diameter=uo(n),this._fallbackAnimation||e.diameters.has(this._diameter)||this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(n){this._strokeWidth=uo(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,uo(n)))},enumerable:!0,configurable:!0}),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=e.styleTag;n||(n=this._document.createElement("style"),this._document.head.appendChild(n),e.styleTag=n),n&&n.sheet&&n.sheet.insertRule(this._getAnimationText(),0),e.diameters.add(this.diameter)},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 Set([Dd]),e.styleTag=null,e}(Md)),Pd=function(){return function(){}}(),qd=o["\u0275crt"]({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 jd(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Ld(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Vd(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](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["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,jd)),o["\u0275did"](3,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ld)),o["\u0275did"](5,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.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 Bd,zd=t("kERW"),Ud=new Set,Hd=function(){function n(n){this.platform=n,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Zd}return n.prototype.matchMedia=function(n){return this.platform.WEBKIT&&function(n){if(!Ud.has(n))try{Bd||((Bd=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Bd)),Bd.sheet&&(Bd.sheet.insertRule("@media "+n+" {.fx-query-test{ }}",0),Ud.add(n))}catch(e){console.error(e)}}(n),this._matchMedia(n)},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(mo))},token:n,providedIn:"root"}),n}();function Zd(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var Wd=function(){function n(n,e){this.mediaMatcher=n,this.zone=e,this._queries=new Map,this._destroySubject=new A.b}return n.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},n.prototype.isMatched=function(n){var e=this;return Gd(so(n)).some(function(n){return e._registerQuery(n).mql.matches})},n.prototype.observe=function(n){var e=this,t=Gd(so(n)).map(function(n){return e._registerQuery(n).observable});return Object(M.b)(t).pipe(Object(xo.a)(0,Rs.a),Object(q.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,l=this.mediaMatcher.matchMedia(n),o={observable:Object(zd.a)(function(n){l.addListener(t=function(t){return e.zone.run(function(){return n(t)})})},function(){return l.removeListener(t)}).pipe(Object(W.a)(l),Object(q.a)(function(e){return{query:n,matches:e.matches}}),Object(Is.a)(this._destroySubject)),mql:l};return this._queries.set(n,o),o},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(Hd),Object(o.inject)(o.NgZone))},token:n,providedIn:"root"}),n}();function Gd(n){return n.map(function(n){return n.split(",")}).reduce(function(n,e){return n.concat(e)}).map(function(n){return n.trim()})}var Kd={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)"},Yd=20;function $d(n){return Error('Tooltip position "'+n+'" is invalid.')}var Xd=new o.InjectionToken("mat-tooltip-scroll-strategy");function Qd(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:Yd})}}var Jd=new o.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),nc=function(){function n(n,e,t,l,o,r,i,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=i,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 A.b,this._scrollStrategy=u;var f=e.nativeElement,h=f.style,m="undefined"==typeof window||window.Hammer||c;r.IOS||r.ANDROID?m||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)}),"INPUT"!==f.nodeName&&"TEXTAREA"!==f.nodeName||(h.webkitUserSelect=h.userSelect=h.msUserSelect=""),f.draggable&&"none"===h.webkitUserDrag&&(h.webkitUserDrag=""),a.monitor(e).pipe(Object(Is.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=ao(n),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},set:function(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=n?(""+n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.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.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 _s(ec,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(Is.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===wo&&(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(Is.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(Is.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(s.__assign)({},e.main,t.main),Object(s.__assign)({},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 $d(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 $d(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(Z.a)(1),Object(Is.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}(),ec=function(){function n(n,e){this._changeDetectorRef=n,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new A.b,this._isHandset=this._breakpointObserver.observe(Kd.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}(),tc=function(){return function(){}}(),lc=function(){return function(n,e,t){void 0===t&&(t=!1),this.visible=n,this.error=e,this.clear=t}}(),oc=function(){function n(){this.state=new E.a(new lc(!1))}return n.prototype.setError=function(n){this.state.next(new lc(!1,n))},n.prototype.clear=function(){this.state.next(new lc(!1,null,!0))},n.prototype.activate=function(){this.state.next(new lc(!0))},n.prototype.deactivate=function(){this.state.next(new lc(!1))},n}(),rc=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(){location.reload()},n.prototype.ngOnDestroy=function(){this.routerSubscription.unsubscribe()},n}(),ic=o["\u0275crt"]({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%;-webkit-transform:translate(-50%,-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 ac(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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,Vd,qd)),o["\u0275did"](2,49152,null,0,Ad,[o.ElementRef,mo,[2,I.DOCUMENT],[2,su],Nd],{color:[0,"color"]},null)],function(n,e){n(e,2,0,"primary")},function(n,e){n(e,1,0,o["\u0275nov"](e,2)._noopAnimations,o["\u0275nov"](e,2).diameter,o["\u0275nov"](e,2).diameter)})}function uc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,20,"div",[["class","error-state"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","error-icon"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["error_outline"])),(n()(),o["\u0275eld"](5,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["Error occurred: ",""])),(n()(),o["\u0275eld"](7,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["mat-button",""],["matTooltip","Refresh page"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==r.refresh()&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["refresh"])),(n()(),o["\u0275eld"](14,16777216,null,null,6,"button",[["mat-button",""],["matTooltip","Go to home"],["routerLink","/"]],[[8,"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["\u0275nov"](n,15).onClick()&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,17).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,17)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](15,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](16,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](17,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](19,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color),n(e,6,0,t.error.message),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,14,0,o["\u0275nov"](e,16).disabled||null,"NoopAnimations"===o["\u0275nov"](e,16)._animationMode),n(e,18,0,o["\u0275nov"](e,19).inline,"primary"!==o["\u0275nov"](e,19).color&&"accent"!==o["\u0275nov"](e,19).color&&"warn"!==o["\u0275nov"](e,19).color)})}function sc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","overlay"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,ac)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,uc)),o["\u0275did"](4,16384,null,0,I.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 dc(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,sc)),o["\u0275did"](1,16384,null,0,I.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 cc=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}(),pc=function(){function n(n){var e=this;this.electronService=n,this.serverStatusChanged=new A.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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.electronService.remote.require("./local-server.js").startLocalServer(n)];case 1:return[2,e.sent()]}})})},n.prototype.stop=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(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}(),fc=function(){function n(n,e){this.snackbar=n,this.zone=e,this.snackBarConfigForSuccess={duration:2e3,panelClass:["snackabar-success"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForError={duration:2e3,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.success=function(n){var e=this;this.zone.run(function(){e.snackbar.open(n,"Close",e.snackBarConfigForSuccess)})},n}(),hc=function(){function n(n,e,t,l,o){this.electronService=n,this.recentlyOpenedProjectService=e,this.serverManagement=t,this.toasterService=l,this.progressService=o,this.isInstalledSoftwareAvailable=!1,this.uiVersion=i,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.onBeforeUnload=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(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}(),mc=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,"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.electron.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}(),vc=function(n){function e(){return n.call(this)||this}return Object(s.__extends)(e,n),e}(mc),gc=function(){return function(){}}(),bc=o["\u0275crt"]({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;color:#fff}.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;color:#fff}.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 yc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back to project"]))],function(n,e){var t=e.component;n(e,1,0,o["\u0275inlineInterpolate"](2,"/server/",t.recentlyOpenedServerId,"/project/",t.recentlyOpenedProjectId,""))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function _c(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,41,"header",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,40,"mat-toolbar",[["class","mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,_u,yu)),o["\u0275did"](2,4243456,null,1,gu,[o.ElementRef,mo,I.DOCUMENT],{color:[0,"color"]},null),o["\u0275qud"](603979776,1,{_toolbarRows:1}),(n()(),o["\u0275eld"](4,0,null,0,3,"button",[["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,pu,cu)),o["\u0275did"](5,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](7,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{svgIcon:[0,"svgIcon"]},null),(n()(),o["\u0275eld"](8,0,null,0,3,"button",[["mat-button",""],["routerLink","/servers"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,9).onClick()&&l),l},pu,cu)),o["\u0275did"](9,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](10,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Servers"])),(n()(),o["\u0275and"](16777216,null,0,1,null,yc)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,0,0,"span",[["class","fill-space"]],null,null,null,null,null)),(n()(),o["\u0275eld"](15,16777216,null,0,5,"button",[["aria-haspopup","true"],["mat-button",""]],[[8,"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["\u0275nov"](n,17)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,17)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](16,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](17,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](19,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](21,0,null,0,20,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](22,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,2,{items:1}),o["\u0275qud"](335544320,3,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](26,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["\u0275nov"](n,27).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,28)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,28)._handleMouseEnter()&&l),l},Fd,Od)),o["\u0275did"](27,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](28,180224,[[2,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](29,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,gs,vs)),o["\u0275did"](30,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["settings"])),(n()(),o["\u0275eld"](32,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Settings"])),(n()(),o["\u0275eld"](34,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["\u0275nov"](n,35).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,36)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,36)._handleMouseEnter()&&l),l},Fd,Od)),o["\u0275did"](35,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](36,180224,[[2,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](37,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,gs,vs)),o["\u0275did"](38,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["cloud_download"])),(n()(),o["\u0275eld"](40,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Installed software"])),(n()(),o["\u0275eld"](42,0,null,null,2,"main",[["class","mat-app-background"]],null,null,null,null,null)),(n()(),o["\u0275eld"](43,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](44,212992,null,0,Nl,[Ml,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null),(n()(),o["\u0275eld"](45,0,null,null,1,"app-progress",[],null,null,null,dc,ic)),o["\u0275did"](46,245760,null,0,rc,[oc,Rl],null,null),(n()(),o["\u0275eld"](47,0,null,null,1,"footer",[["class","footer mat-app-background"]],null,null,null,null,null)),(n()(),o["\u0275ted"](48,null,[" GNS3 Web UI \xa9 2019 - 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["\u0275nov"](e,22)),n(e,19,0),n(e,22,0),n(e,27,0,"/settings"),n(e,30,0),n(e,35,0,"/installed-software"),n(e,36,0,!t.isInstalledSoftwareAvailable),n(e,38,0),n(e,44,0),n(e,46,0)},function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2)._toolbarRows.length>0,0===o["\u0275nov"](e,2)._toolbarRows.length),n(e,4,0,o["\u0275nov"](e,5).disabled||null,"NoopAnimations"===o["\u0275nov"](e,5)._animationMode),n(e,6,0,o["\u0275nov"](e,7).inline,"primary"!==o["\u0275nov"](e,7).color&&"accent"!==o["\u0275nov"](e,7).color&&"warn"!==o["\u0275nov"](e,7).color),n(e,8,0,o["\u0275nov"](e,10).disabled||null,"NoopAnimations"===o["\u0275nov"](e,10)._animationMode),n(e,15,0,o["\u0275nov"](e,16).disabled||null,"NoopAnimations"===o["\u0275nov"](e,16)._animationMode,o["\u0275nov"](e,17).menuOpen||null),n(e,18,0,o["\u0275nov"](e,19).inline,"primary"!==o["\u0275nov"](e,19).color&&"accent"!==o["\u0275nov"](e,19).color&&"warn"!==o["\u0275nov"](e,19).color),n(e,26,0,o["\u0275nov"](e,28).role,o["\u0275nov"](e,28)._highlighted,o["\u0275nov"](e,28)._triggersSubmenu,o["\u0275nov"](e,28)._getTabIndex(),o["\u0275nov"](e,28).disabled.toString(),o["\u0275nov"](e,28).disabled||null),n(e,29,0,o["\u0275nov"](e,30).inline,"primary"!==o["\u0275nov"](e,30).color&&"accent"!==o["\u0275nov"](e,30).color&&"warn"!==o["\u0275nov"](e,30).color),n(e,34,0,o["\u0275nov"](e,36).role,o["\u0275nov"](e,36)._highlighted,o["\u0275nov"](e,36)._triggersSubmenu,o["\u0275nov"](e,36)._getTabIndex(),o["\u0275nov"](e,36).disabled.toString(),o["\u0275nov"](e,36).disabled||null),n(e,37,0,o["\u0275nov"](e,38).inline,"primary"!==o["\u0275nov"](e,38).color&&"accent"!==o["\u0275nov"](e,38).color&&"warn"!==o["\u0275nov"](e,38).color),n(e,48,0,t.uiVersion)})}function wc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1).onBeforeUnload(t)&&l),l},_c,bc)),o["\u0275did"](1,245760,null,0,hc,[mc,cc,pc,fc,oc],null,null)],function(n,e){n(e,1,0)},null)}var Cc=o["\u0275ccf"]("app-default-layout",hc,wc,{},{},[]);function xc(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(s.__extends)(e,n),Object.defineProperty(e.prototype,"sticky",{get:function(){return this._sticky},set:function(n){var e=this._sticky;this._sticky=ao(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 Sc=function(){return function(n){this.template=n}}(),kc=function(){return function(n){this.template=n}}(),Ec=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stickyEnd=!1,e}return Object(s.__extends)(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=ao(n),this._hasStickyChanged=e!==this._stickyEnd},enumerable:!0,configurable:!0}),e}(xc(function(){return function(){}}())),Tc=function(){return function(n,e){e.nativeElement.classList.add("cdk-column-"+n.cssClassFriendlyName)}}(),Rc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Tc),Ic=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Tc),Oc=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 Fc?n.headerCell.template:this instanceof Dc?n.footerCell.template:n.cell.template},n}(),Fc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(xc(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Oc))),Dc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(xc(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Oc))),Mc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Oc),Nc=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}(),Ac=function(){return function(){}}(),Pc=function(){return function(){}}();function qc(n){return Error('Could not find column with id "'+n+'".')}var jc=["top","bottom","left","right"],Lc=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 r=0;r<o.children.length;r++)this._removeStickyStyle(o.children[r],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],r=o.children.length,i=this._getCellWidths(o),a=this._getStickyStartColumnPositions(i,e),u=this._getStickyEndColumnPositions(i,t),s="rtl"===this.direction,d=0,c=n;d<c.length;d++)for(var p=c[d],f=0;f<r;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,r=0;r<l.length;r++)if(e[r]){var i=l[r];if(this.isNativeHtmlTable)for(var a=0;a<i.children.length;a++)this._addStickyStyle(i.children[a],t,o);else this._addStickyStyle(i,t,o);if(r===l.length-1)return;o+=i.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),jc.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=jc;l<o.length;l++){var r=o[l];n.style[r]&&(t+=e[r])}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}(),Vc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Bc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),zc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Uc=function(){function n(n,e,t,l,o,r,i){this._differs=n,this._changeDetectorRef=e,this._elementRef=t,this._dir=o,this._platform=i,this._onDestroy=new A.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 E.a({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,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=ao(n),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(),qs(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 r=t.get(l);t.move(r,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 r=0;r<o.length;r++){var i=o[r],a=this._cachedRenderRowsMap.get(i.data);a.has(i.rowDef)?a.get(i.rowDef).push(i):a.set(i.rowDef,[i]),n.push(i)}}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 r=o.shift();return r.dataIndex=e,r}return{data:n,rowDef:l,dataIndex:e}})},n.prototype._cacheColumnDefs=function(){var n=this;this._columnDefsByName.clear(),Hc(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=Hc(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=Hc(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=Hc(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=[],qs(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(qs(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof d.a?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(O.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(Is.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 qc(n);return e}),o=l.map(function(n){return n.sticky}),r=l.map(function(n){return n.stickyEnd});this._stickyStyler.updateStickyColumns(n,o,r)},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,r=this._getCellTemplates(e);o<r.length;o++)Nc.mostRecentCellOutlet&&Nc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r[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 qc(t);return n.extractCellTemplate(l)}):[]},n.prototype._applyNativeTableSections=function(){for(var n=this._document||document,e=n.createDocumentFragment(),t=0,l=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];t<l.length;t++){var o=l[t],r=n.createElement(o.tag);r.setAttribute("role","rowgroup"),r.appendChild(o.outlet.elementRef.nativeElement),e.appendChild(r)}this._elementRef.nativeElement.appendChild(e)},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 Lc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",!this._platform||this._platform.isBrowser),(this._dir?this._dir.change:Object(O.a)()).pipe(Object(Is.a)(this._onDestroy)).subscribe(function(e){n._stickyStyler.direction=e,n.updateStickyColumnStyles()})},n}();function Hc(n,e){return n.toArray().concat(Array.from(e))}var Zc=function(){return function(){}}(),Wc=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}return Object(s.__extends)(e,n),e}(Uc),Gc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Sc),Kc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(kc),Yc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Ec),$c=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(s.__extends)(e,n),e}(Rc),Xc=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(s.__extends)(e,n),e}(Ic),Qc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Fc),Jc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Mc),np=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Ac),ep=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Pc),tp=function(){return function(){}}(),lp=o["\u0275crt"]({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 op(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_rowOutlet:0}),o["\u0275qud"](402653184,2,{_headerRowOutlet:0}),o["\u0275qud"](402653184,3,{_footerRowOutlet:0}),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](5,16384,[[2,4]],0,Bc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["\u0275eld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](7,16384,[[1,4]],0,Vc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["\u0275eld"](8,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](9,16384,[[3,4]],0,zc,[o.ViewContainerRef,o.ElementRef],null,null)],null,null)}var rp=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ip(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Nc,[o.ViewContainerRef],null,null)],null,null)}var ap=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function up(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Nc,[o.ViewContainerRef],null,null)],null,null)}var sp=function(){return function(){}}(),dp=function(){return function(){}}(),cp=function(){return function(){}}(),pp=function(){return function(){this.align="start"}}(),fp=function(){return function(){}}(),hp=function(){return function(){}}(),mp=o["\u0275crt"]({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-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{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 0}@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{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 vp(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1)],null,null)}var gp=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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"inset",{get:function(){return this._inset},set:function(n){this._inset=ao(n)},enumerable:!0,configurable:!0}),n}(),bp=function(){return function(){}}(),yp=o["\u0275crt"]({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 _p(n){return o["\u0275vid"](2,[],null,null)}var wp=t("DtyJ"),Cp=t("pbg4");d.a.bindCallback=Cp.a;var xp=t("emHa");d.a.bindNodeCallback=xp.a,d.a.combineLatest=M.b;var Sp=t("dEwP");d.a.concat=Sp.a,d.a.defer=N.a,d.a.empty=P.b,d.a.forkJoin=ns.a,d.a.from=F.a,d.a.fromEvent=Fs.a,d.a.fromEventPattern=zd.a,d.a.fromPromise=F.a;var kp=t("GFlT");d.a.generate=kp.a;var Ep=t("mEZQ");d.a.if=Ep.a;var Tp=t("xXU7");d.a.interval=Tp.a,d.a.merge=Ts.a;var Rp=t("W0Ae");d.a.race=Rp.a;var Ip=t("GDxn");d.a.never=function(){return Ip.a},d.a.of=O.a;var Op=t("ELzr");d.a.onErrorResumeNext=Op.a;var Fp=t("EWOM");d.a.pairs=Fp.a;var Dp=t("vAyL");d.a.range=Dp.a;var Mp=t("7Qw6");d.a.using=Mp.a,d.a.throw=Ju.a,d.a.throwError=Ju.a;var Np=t("gI3B");d.a.timer=Np.a;var Ap=t("909l");d.a.zip=Ap.b;var Pp="undefined"!=typeof window&&window,qp="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,jp="undefined"!=typeof global&&global,Lp=Pp||jp||qp,Vp=t("FFOo");function Bp(n,e){return void 0===e&&(e=null),new Kp({method:"GET",url:n,headers:e})}function zp(n,e,t){return new Kp({method:"POST",url:n,body:e,headers:t})}function Up(n,e){return new Kp({method:"DELETE",url:n,headers:e})}function Hp(n,e,t){return new Kp({method:"PUT",url:n,body:e,headers:t})}function Zp(n,e,t){return new Kp({method:"PATCH",url:n,body:e,headers:t})}var Wp=Object(q.a)(function(n,e){return n.response});function Gp(n,e){return Wp(new Kp({method:"GET",url:n,responseType:"json",headers:e}))}var Kp=function(n){function e(e){var t=n.call(this)||this,l={async:!0,createXHR:function(){return this.crossDomain?function(){if(Lp.XMLHttpRequest)return new Lp.XMLHttpRequest;if(Lp.XDomainRequest)return new Lp.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(Lp.XMLHttpRequest)return new Lp.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 Lp.ActiveXObject(n=e[t]))break}catch(l){}return new Lp.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 s.__extends(e,n),e.prototype._subscribe=function(n){return new Yp(n,this.request)},e.create=((t=function(n){return new e(n)}).get=Bp,t.post=zp,t.delete=Up,t.put=Hp,t.patch=Zp,t.getJSON=Gp,t),e}(d.a),Yp=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")||Lp.FormData&&t.body instanceof Lp.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 s.__extends(e,n),e.prototype.next=function(n){this.done=!0;var e,t=this.xhr,l=this.request,o=this.destination;try{e=new $p(n,t,l)}catch(r){return o.error(r)}o.next(e)},e.prototype.send=function(){var n=this.request,e=this.request,t=e.user,l=e.method,o=e.url,r=e.async,i=e.password,a=e.headers,u=e.body;try{var s=this.xhr=n.createXHR();this.setupEvents(s,n),t?s.open(l,o,r,t,i):s.open(l,o,r),r&&(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(Lp.FormData&&n instanceof Lp.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 r(n){var e,t=r.subscriber,l=r.progressSubscriber,o=r.request;l&&l.error(n);try{e=new nf(this,o)}catch(i){e=i}t.error(e)}function i(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 r=void 0;try{r=new Qp("ajax error "+o,this,l)}catch(i){r=i}e.error(r)}}}n.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=o,n.upload&&"withCredentials"in n&&(o&&(t=function(n){t.progressSubscriber.next(n)},Lp.XDomainRequest?n.onprogress=t:n.upload.onprogress=t,t.progressSubscriber=o),n.onerror=l=function(n){var e,t=l.progressSubscriber,o=l.subscriber,r=l.request;t&&t.error(n);try{e=new Qp("ajax error",this,r)}catch(i){e=i}o.error(e)},l.request=e,l.subscriber=this,l.progressSubscriber=o),n.onreadystatechange=i,i.subscriber=this,i.progressSubscriber=o,i.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}(Vp.a),$p=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=Jp(this.responseType,e)}}();function Xp(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=Jp(this.responseType,e),this}Xp.prototype=Object.create(Error.prototype);var Qp=Xp;function Jp(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 nf=function(n,e){return Qp.call(this,"ajax timeout",n,e),this.name="AjaxTimeoutError",this};d.a.ajax=Kp.create;var ef=t("S5bw"),tf={url:"",deserializer:function(n){return JSON.parse(n.data)},serializer:function(n){return JSON.stringify(n)}},lf=function(n){function e(e,t){var l=n.call(this)||this;if(e instanceof d.a)l.destination=t,l.source=e;else{var o=l._config=s.__assign({},tf);if(l._output=new A.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 ef.a}return l}return s.__extends(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 ef.a),this._output=new A.b},e.prototype.multiplex=function(n,e,t){var l=this;return new d.a(function(o){try{l.next(n())}catch(i){o.error(i)}var r=l.subscribe(function(n){try{t(n)&&o.next(n)}catch(i){o.error(i)}},function(n){return o.error(n)},function(){return o.complete()});return function(){try{l.next(e())}catch(i){o.error(i)}r.unsubscribe()}})},e.prototype._connectSocket=function(){var n=this,e=this._config,t=e.WebSocketCtor,l=e.protocol,o=e.url,r=e.binaryType,i=this._output,a=null;try{a=l?new t(o,l):new t(o),this._socket=a,r&&(this._socket.binaryType=r)}catch(s){return void i.error(s)}var u=new _o.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=Vp.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):i.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 ef.a&&u.add(l.subscribe(n.destination))},a.onerror=function(e){n._resetState(),i.error(e)},a.onclose=function(e){n._resetState();var t=n._config.closeObserver;t&&t.next(e),e.wasClean?i.complete():i.error(e)},a.onmessage=function(e){try{i.next((0,n._config.deserializer)(e))}catch(t){i.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}(A.a);function of(n){return new lf(n)}d.a.webSocket=of;var rf=t("DaYz");d.a.prototype.buffer=function(n){return Object(rf.a)(n)(this)};var af=t("KD6q");d.a.prototype.bufferCount=function(n,e){return void 0===e&&(e=null),Object(af.a)(n,e)(this)};var uf=t("T1DM"),sf=t("nkY7"),df=t("b7Yd");d.a.prototype.bufferTime=function(n){var e=arguments.length,t=uf.a;Object(sf.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(df.a)(n,l,o,t)(this)};var cf=t("Qkom");d.a.prototype.bufferToggle=function(n,e){return Object(cf.a)(n,e)(this)};var pf=t("xsCy");function ff(n){return Object(V.a)(n)(this)}d.a.prototype.bufferWhen=function(n){return Object(pf.a)(n)(this)},d.a.prototype.catch=ff,d.a.prototype._catch=ff;var hf=t("F1hP");d.a.prototype.combineAll=function(n){return Object(hf.a)(n)(this)};var mf=t("isby");d.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(mf.a)(n[0])&&(n=n[0].slice()),this.lift.call(O.a.apply(void 0,[this].concat(n)),new M.a(t))},d.a.prototype.concat=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Sp.a.apply(void 0,[this].concat(n)))},d.a.prototype.concatAll=function(){return Object(j.a)()(this)},d.a.prototype.concatMap=function(n){return Object(Y.a)(n)(this)};var vf=t("dDXr");d.a.prototype.concatMapTo=function(n){return Object(vf.a)(n)(this)};var gf=t("6Dj2");d.a.prototype.count=function(n){return Object(gf.a)(n)(this)};var bf=t("41IB");d.a.prototype.dematerialize=function(){return Object(bf.a)()(this)};var yf=t("bWpG");d.a.prototype.debounce=function(n){return Object(yf.a)(n)(this)},d.a.prototype.debounceTime=function(n,e){return void 0===e&&(e=uf.a),Object(xo.a)(n,e)(this)};var _f=t("HJBe");d.a.prototype.defaultIfEmpty=function(n){return void 0===n&&(n=null),Object(_f.a)(n)(this)},d.a.prototype.delay=function(n,e){return void 0===e&&(e=uf.a),Object(Os.a)(n,e)(this)};var wf=t("WbdR");d.a.prototype.delayWhen=function(n,e){return Object(wf.a)(n,e)(this)};var Cf=t("ou9H");d.a.prototype.distinct=function(n,e){return Object(Cf.a)(n,e)(this)},d.a.prototype.distinctUntilChanged=function(n,e){return Object(Ds.a)(n,e)(this)};var xf=t("Cr8c");function Sf(n,e,t){return Object(X.a)(n,e,t)(this)}d.a.prototype.distinctUntilKeyChanged=function(n,e){return Object(xf.a)(n,e)(this)},d.a.prototype.do=Sf,d.a.prototype._do=Sf;var kf=t("31qQ");d.a.prototype.exhaust=function(){return Object(kf.a)()(this)};var Ef=t("6V3w");d.a.prototype.exhaustMap=function(n){return Object(Ef.a)(n)(this)};var Tf=t("sLa7");d.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(Tf.a)(n,e,t)(this)};var Rf=t("MPaf");function If(n){return Object(Q.a)(n)(this)}d.a.prototype.elementAt=function(n,e){return Rf.a.apply(void 0,arguments)(this)},d.a.prototype.filter=function(n,e){return Object(K.a)(n,e)(this)},d.a.prototype.finally=If,d.a.prototype._finally=If;var Of=t("NKZO");d.a.prototype.find=function(n,e){return Object(Of.b)(n,e)(this)};var Ff=t("VYim");d.a.prototype.findIndex=function(n,e){return Object(Ff.a)(n,e)(this)},d.a.prototype.first=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return B.a.apply(void 0,n)(this)};var Df=t("IxPp");d.a.prototype.groupBy=function(n,e,t,l){return Object(Df.b)(n,e,t,l)(this)};var Mf=t("DKLv");d.a.prototype.ignoreElements=function(){return Object(Mf.a)()(this)};var Nf=t("igQg");d.a.prototype.isEmpty=function(){return Object(Nf.a)()(this)};var Af=t("MpAI");function Pf(n){return n(this)}d.a.prototype.audit=function(n){return Object(Af.a)(n)(this)},d.a.prototype.auditTime=function(n,e){return void 0===e&&(e=uf.a),Object(Ms.a)(n,e)(this)},d.a.prototype.last=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return L.a.apply(void 0,n)(this)},d.a.prototype.let=Pf,d.a.prototype.letBind=Pf,d.a.prototype.every=function(n,e){return Object(U.a)(n,e)(this)},d.a.prototype.map=function(n,e){return Object(q.a)(n,e)(this)};var qf=t("aGNc");d.a.prototype.mapTo=function(n){return Object(qf.a)(n)(this)};var jf=t("uW6F");d.a.prototype.materialize=function(){return Object(jf.a)()(this)};var Lf=t("mcCJ");function Vf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(z.a)(n,e)(this)}d.a.prototype.max=function(n){return Object(Lf.a)(n)(this)},d.a.prototype.merge=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Ts.a.apply(void 0,[this].concat(n)))},d.a.prototype.mergeAll=function(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object(J.a)(n)(this)},d.a.prototype.mergeMap=Vf,d.a.prototype.flatMap=Vf;var Bf=t("j0HV");function zf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(Bf.a)(n,e)(this)}d.a.prototype.flatMapTo=zf,d.a.prototype.mergeMapTo=zf;var Uf=t("lA9V");d.a.prototype.mergeScan=function(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(Uf.a)(n,e,t)(this)};var Hf=t("gAJb");d.a.prototype.min=function(n){return Object(Hf.a)(n)(this)};var Zf=t("xlPZ");d.a.prototype.multicast=function(n,e){return Object(Zf.a)(n,e)(this)};var Wf=t("mZXl");d.a.prototype.observeOn=function(n,e){return void 0===e&&(e=0),Object(Wf.b)(n,e)(this)};var Gf=t("TJrj");d.a.prototype.onErrorResumeNext=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Gf.a.apply(void 0,n)(this)},d.a.prototype.pairwise=function(){return Object(Ns.a)()(this)};var Kf=t("h+56");d.a.prototype.partition=function(n,e){return Object(Kf.a)(n,e)(this)};var Yf=t("FYXD");d.a.prototype.pluck=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Yf.a.apply(void 0,n)(this)};var $f=t("W1+X");d.a.prototype.publish=function(n){return Object($f.a)(n)(this)};var Xf=t("3J/R");d.a.prototype.publishBehavior=function(n){return Object(Xf.a)(n)(this)};var Qf=t("s4kO");d.a.prototype.publishReplay=function(n,e,t,l){return Object(Qf.a)(n,e,t,l)(this)};var Jf=t("kR3u");d.a.prototype.publishLast=function(){return Object(Jf.a)()(this)};var nh=t("p33S");d.a.prototype.race=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return nh.a.apply(void 0,n)(this)},d.a.prototype.reduce=function(n,e){return arguments.length>=2?Object($.a)(n,e)(this):Object($.a)(n)(this)};var eh=t("Nzu2");d.a.prototype.repeat=function(n){return void 0===n&&(n=-1),Object(eh.a)(n)(this)};var th=t("tMwf");d.a.prototype.repeatWhen=function(n){return Object(th.a)(n)(this)};var lh=t("5tAl");d.a.prototype.retry=function(n){return void 0===n&&(n=-1),Object(lh.a)(n)(this)};var oh=t("ZqrO");d.a.prototype.retryWhen=function(n){return Object(oh.a)(n)(this)};var rh=t("wDBO");d.a.prototype.sample=function(n){return Object(rh.a)(n)(this)};var ih=t("/ojb");d.a.prototype.sampleTime=function(n,e){return void 0===e&&(e=uf.a),Object(ih.a)(n,e)(this)},d.a.prototype.scan=function(n,e){return arguments.length>=2?Object(G.a)(n,e)(this):Object(G.a)(n)(this)};var ah=t("wjTF");d.a.prototype.sequenceEqual=function(n,e){return Object(ah.a)(n,e)(this)},d.a.prototype.share=function(){return Object(es.a)()(this)},d.a.prototype.shareReplay=function(n,e,t){return n&&"object"==typeof n?Object(As.a)(n)(this):Object(As.a)(n,e,t)(this)};var uh=t("ujTQ");d.a.prototype.single=function(n){return Object(uh.a)(n)(this)};var sh=t("0mNj");d.a.prototype.skip=function(n){return Object(sh.a)(n)(this)};var dh=t("14Nl");d.a.prototype.skipLast=function(n){return Object(dh.a)(n)(this)};var ch=t("0GsU");d.a.prototype.skipUntil=function(n){return Object(ch.a)(n)(this)};var ph=t("VQ2P");d.a.prototype.skipWhile=function(n){return Object(ph.a)(n)(this)},d.a.prototype.startWith=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return W.a.apply(void 0,n)(this)};var fh=t("9dfq");d.a.prototype.subscribeOn=function(n,e){return void 0===e&&(e=0),Object(fh.a)(n,e)(this)};var hh=t("KAzf");function mh(){return Object(hh.a)()(this)}d.a.prototype.switch=mh,d.a.prototype._switch=mh,d.a.prototype.switchMap=function(n){return Object(H.a)(n)(this)};var vh=t("zQHH");d.a.prototype.switchMapTo=function(n){return Object(vh.a)(n)(this)},d.a.prototype.take=function(n){return Object(Z.a)(n)(this)};var gh=t("AxiF");d.a.prototype.takeLast=function(n){return Object(gh.a)(n)(this)},d.a.prototype.takeUntil=function(n){return Object(Is.a)(n)(this)};var bh=t("jvbL");d.a.prototype.takeWhile=function(n){return Object(bh.a)(n)(this)};var yh=t("+gEr");d.a.prototype.throttle=function(n,e){return void 0===e&&(e=yh.a),Object(yh.b)(n,e)(this)};var _h=t("AJqF");d.a.prototype.throttleTime=function(n,e,t){return void 0===e&&(e=uf.a),void 0===t&&(t=yh.a),Object(_h.a)(n,e,t)(this)};var wh=t("6wkY");d.a.prototype.timeInterval=function(n){return void 0===n&&(n=uf.a),Object(wh.a)(n)(this)};var Ch=t("0zd0");d.a.prototype.timeout=function(n,e){return void 0===e&&(e=uf.a),Object(Ch.a)(n,e)(this)};var xh=t("ceCD");d.a.prototype.timeoutWith=function(n,e,t){return void 0===t&&(t=uf.a),Object(xh.a)(n,e,t)(this)};var Sh=t("5IO1");d.a.prototype.timestamp=function(n){return void 0===n&&(n=uf.a),Object(Sh.a)(n)(this)};var kh=t("R+r5");d.a.prototype.toArray=function(){return Object(kh.a)()(this)},t("q8iK");var Eh=t("Wnek");d.a.prototype.window=function(n){return Object(Eh.a)(n)(this)};var Th=t("e5mD");d.a.prototype.windowCount=function(n,e){return void 0===e&&(e=0),Object(Th.a)(n,e)(this)};var Rh=t("/21U"),Ih=t("lxKu");d.a.prototype.windowTime=function(n){var e=uf.a,t=null,l=Number.POSITIVE_INFINITY;return Object(sf.a)(arguments[3])&&(e=arguments[3]),Object(sf.a)(arguments[2])?e=arguments[2]:Object(Rh.a)(arguments[2])&&(l=arguments[2]),Object(sf.a)(arguments[1])?e=arguments[1]:Object(Rh.a)(arguments[1])&&(t=arguments[1]),Object(Ih.a)(n,t,l,e)(this)};var Oh=t("K3ba");d.a.prototype.windowToggle=function(n,e){return Object(Oh.a)(n,e)(this)};var Fh=t("MysU");d.a.prototype.windowWhen=function(n){return Object(Fh.a)(n)(this)};var Dh=t("/PH2");d.a.prototype.withLatestFrom=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Dh.a.apply(void 0,n)(this)},d.a.prototype.zip=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Ap.b.apply(void 0,[this].concat(n)))};var Mh=t("br6f");d.a.prototype.zipAll=function(n){return Object(Mh.a)(n)(this)},t("zo3G"),t("L/V9"),t("xTla"),t("En8+"),t("ahDk");var Nh=function(){return function(){}}(),Ah=function(n){function e(e){return n.call(this,e)||this}return s.__extends(e,n),e.fromError=function(n,t){var l=new e(n);return l.originalError=t,l},e}(Error),Ph=function(){function n(){}return n.prototype.handleError=function(n){var e=n;return"HttpErrorResponse"===n.name&&0===n.status&&(e=Ah.fromError("Server is unreachable",n)),Object(Ju.a)(e)},n}(),qh=function(){function n(n,e){this.http=n,this.errorHandler=e}return n.prototype.get=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.get(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.getText=function(n,e,t){t=this.getTextOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.get(l.url,l.options).pipe(Object(V.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.http.post(o.url,t,o.options).pipe(Object(V.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.http.put(o.url,t,o.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.delete=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.delete(l.url,l.options).pipe(Object(V.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(V.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(V.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(V.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}(),jh=function(){function n(n){this.httpServer=n}return n.prototype.get=function(n){return this.httpServer.get(n,"/version")},n}(),Lh=function(){function n(n,e){this.utils=new Vh,this.dbWrapper=new Bh(n,e)}return n.prototype.openDatabase=function(n,e){var t=this,l=this;return new Promise(function(o,r){t.dbWrapper.dbVersion=n;var i=t.utils.indexedDB.open(t.dbWrapper.dbName,n);i.onsuccess=function(n){l.dbWrapper.db=i.result,o()},i.onerror=function(n){r(n.target.errorCode+" ("+n.target.error+")")},"function"==typeof e&&(i.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,r){l.dbWrapper.validateBeforeTransaction(n,r);var i,a=l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},complete:function(n){}}).objectStore(n),u=[];(i=t?a.index(t.indexName).openCursor(e,"desc"===t.order?"prev":"next"):a.openCursor(e)).onerror=function(n){r(n)},i.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,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){r(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,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){r(n)},complete:function(n){o(e)},abort:function(n){r(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,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},complete:function(n){o()},abort:function(n){r(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,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},abort:function(n){r(n)},complete:function(n){}}).objectStore(n).index(e).get(t).onsuccess=function(n){o(n.target.result)}})},n}(),Vh=function(){return function(){this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}}(),Bh=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}(),zh=function(){function n(){this.db=new Lh(n.DATABASE,n.VERSION)}return n.prototype.get=function(){return this.db},n.VERSION=1,n.DATABASE="gns3-web-ui",n}(),Uh=function(){function n(n){var e=this;this.indexedDbService=n,this.tablename="servers",this.ready=n.get().openDatabase(1,function(n){n.currentTarget.result.createObjectStore(e.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.getLocalServer=function(n,e){var t=this;return new Promise(function(l,o){t.findAll().then(function(r){var i=r.find(function(n){return"bundled"===n.location});if(i)i.host=n,i.port=e,t.update(i).then(function(n){l(n)},o);else{var a=new Nh;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}(),Hh=function(){function n(){this.dataChange=new E.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}(),Zh=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(ns.a)(wp.Observable.fromPromise(this.serverService.findAll()).pipe(Object(q.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 wp.Observable.of(null)}))}),new wp.Observable(function(n){Object(ns.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 Nh;return t.host=n,t.port=e,this.versionService.get(t).flatMap(function(n){return wp.Observable.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}(),Wh=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Gh(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,15,"mat-card",[["class","info mat-card"]],null,null,null,vp,mp)),o["\u0275did"](1,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](2,0,null,0,5,"mat-card-content",[["align","center"],["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](3,16384,null,0,sp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" We've discovered GNS3 server on "])),(n()(),o["\u0275eld"](5,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["",":",""])),(n()(),o["\u0275ted"](-1,null,[", would you like to add to the list? "])),(n()(),o["\u0275eld"](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["\u0275did"](9,16384,null,0,pp,[],{align:[0,"align"]},null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](11,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["NO"])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](14,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-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,6,0,t.discoveredServer.host,t.discoveredServer.port),n(e,8,0,"end"===o["\u0275nov"](e,9).align),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode)})}function Kh(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,_p,yp)),o["\u0275did"](1,49152,null,0,gp,[],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).vertical?"vertical":"horizontal",o["\u0275nov"](e,1).vertical,!o["\u0275nov"](e,1).vertical,o["\u0275nov"](e,1).inset)})}function Yh(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,Gh)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Kh)),o["\u0275did"](3,16384,null,0,I.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 $h=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}(),Xh=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(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}($h);function Qh(n){return null==n||0===n.length}var Jh=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,nm=function(){function n(){}return n.min=function(n){return function(e){if(Qh(e.value)||Qh(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(Qh(e.value)||Qh(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 Qh(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return Qh(n.value)?null:Jh.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(e){if(Qh(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(Qh(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(em);return 0==e.length?null:function(n){return lm(function(n,t){return e.map(function(e){return e(n)})}(n))}},n.composeAsync=function(n){if(!n)return null;var e=n.filter(em);return 0==e.length?null:function(n){var t=function(n,t){return e.map(function(e){return e(n)})}(n).map(tm);return Object(ns.a)(t).pipe(Object(q.a)(lm))}},n}();function em(n){return null!=n}function tm(n){var e=Object(o["\u0275isPromise"])(n)?Object(F.a)(n):n;if(!Object(o["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function lm(n){var e=n.reduce(function(n,e){return null!=e?Object(s.__assign)({},n,e):n},{});return 0===Object.keys(e).length?null:e}var om=new o.InjectionToken("NgValueAccessor"),rm=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}(),im=new o.InjectionToken("CompositionEventMode"),am=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=en()?en().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}();function um(n){return n.validate?function(e){return n.validate(e)}:n}function sm(n){return n.validate?function(e){return n.validate(e)}:n}var dm=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}();function cm(){throw new Error("unimplemented")}var pm=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(s.__extends)(e,n),Object.defineProperty(e.prototype,"validator",{get:function(){return cm()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return cm()},enumerable:!0,configurable:!0}),e}($h),fm=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}(),hm=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(pm),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}(),mm=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}(),vm='\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 });',gm='\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 });',bm='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',ym=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 "+vm)},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 '+gm+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+bm)},n.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+vm)},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 "+gm)},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 _m(n,e){return Object(s.__spread)(e.path,[n])}function wm(n,e){n||km(e,"Cannot find control with"),e.valueAccessor||km(e,"No value accessor for form control with"),n.validator=nm.compose([n.validator,e.validator]),n.asyncValidator=nm.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 xm(n,e){null==n&&km(e,"Cannot find control with"),n.validator=nm.compose([n.validator,e.validator]),n.asyncValidator=nm.composeAsync([n.asyncValidator,e.asyncValidator])}function Sm(n){return km(n,"There is no FormControl instance attached to form control element with")}function km(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 Em(n){return null!=n?nm.compose(n.map(um)):null}function Tm(n){return null!=n?nm.composeAsync(n.map(sm)):null}function Rm(n,e){if(!n.hasOwnProperty("model"))return!1;var t=n.model;return!!t.isFirstChange()||!Object(o["\u0275looseIdentical"])(e,t.currentValue)}var Im=[rm,mm,dm,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["\u0275looseIdentical"]}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(s.__values)(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(i){e={error:i}}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["\u0275looseIdentical"]}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,r=0;r<o.length;r++){var i=o.item(r),a=e._getOptionValue(i.value);l.push(a)}else for(o=t.options,r=0;r<o.length;r++)(i=o.item(r)).selected&&(a=e._getOptionValue(i.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(s.__values)(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(i){e={error:i}}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}(),hm];function Om(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 Fm(n,e){if(!e)return null;Array.isArray(e)||km(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 r;e.constructor===am?t=e:(r=e,Im.some(function(n){return r.constructor===n})?(l&&km(n,"More than one built-in value accessor matches form control with"),l=e):(o&&km(n,"More than one custom value accessor matches form control with"),o=e))}),o||l||t||(km(n,"No valid value accessor for form control with"),null)}function Dm(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}var Mm=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(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 _m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Em(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Tm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Xh),Nm=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}(),Am=function(n){function e(e){return n.call(this,e)||this}return Object(s.__extends)(e,n),e}(Nm),Pm=function(n){function e(e){return n.call(this,e)||this}return Object(s.__extends)(e,n),e}(Nm);function qm(n){var e=Lm(n)?n.validators:n;return Array.isArray(e)?Em(e):e||null}function jm(n,e){var t=Lm(e)?e.asyncValidators:n;return Array.isArray(t)?Tm(t):t||null}function Lm(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var Vm=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=qm(n)},n.prototype.setAsyncValidators=function(n){this.asyncValidator=jm(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.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={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(s.__assign)({},n,{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(n),this._onDisabledChange.forEach(function(n){return n(!0)})},n.prototype.enable=function(n){void 0===n&&(n={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(s.__assign)({},n,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(n),this._onDisabledChange.forEach(function(n){return n(!1)})},n.prototype._updateAncestors=function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),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=tm(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 zm?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Um&&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){Lm(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)},n}(),Bm=function(n){function e(e,t,l){void 0===e&&(e=null);var o=n.call(this,qm(t),jm(l,t))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(t),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(s.__extends)(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}(Vm),zm=function(n){function e(e,t,l){var o=n.call(this,qm(t),jm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(s.__extends)(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.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(n,e,t){return n[t]=e instanceof Bm?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(s.__values)(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}(Vm),Um=function(n){function e(e,t,l){var o=n.call(this,qm(t),jm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(s.__extends)(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.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(n){return n instanceof Bm?n.value:n.getRawValue()})},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(s.__values)(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}(Vm),Hm=Promise.resolve(null),Zm=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 zm({},Em(e),Tm(t)),l}return Object(s.__extends)(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;Hm.then(function(){var t=e._findContainer(n.path);n.control=t.registerControl(n.name,n.control),wm(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;Hm.then(function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name),Dm(e._directives,n)})},e.prototype.addFormGroup=function(n){var e=this;Hm.then(function(){var t=e._findContainer(n.path),l=new zm({});xm(l,n),t.registerControl(n.name,l),l.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(n){var e=this;Hm.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;Hm.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,Om(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}(Xh),Wm=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 '+vm+'\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 "+gm+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+bm)},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 "+gm+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+bm)},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}(),Gm=new o.InjectionToken("NgFormSelectorWarning"),Km=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(s.__extends)(e,n),t=e,e.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof Zm||Wm.modelGroupParentException()},e}(Mm),Ym=Promise.resolve(null),$m=function(n){function e(e,t,l,r){var i=n.call(this)||this;return i.control=new Bm,i._registered=!1,i.update=new o.EventEmitter,i._parent=e,i._rawValidators=t||[],i._rawAsyncValidators=l||[],i.valueAccessor=Fm(i,r),i}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),Rm(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?_m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Em(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Tm(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(){wm(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 Km)&&this._parent instanceof Mm?Wm.formGroupNameException():this._parent instanceof Km||this._parent instanceof Zm||Wm.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Wm.missingNameException()},e.prototype._updateValue=function(n){var e=this;Ym.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;Ym.then(function(){l&&!e.control.disabled?e.control.disable():!l&&e.control.disabled&&e.control.enable()})},e}(pm),Xm=new o.InjectionToken("NgModelWithFormControlWarning"),Qm=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(s.__extends)(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 wm(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){Dm(this.directives,n)},e.prototype.addFormGroup=function(n){var e=this.form.get(n.path);xm(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);xm(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,Om(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 Sm(e)}),e.valueAccessor.registerOnTouched(function(){return Sm(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&&wm(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=Em(this._validators);this.form.validator=nm.compose([this.form.validator,n]);var e=Tm(this._asyncValidators);this.form.asyncValidator=nm.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||ym.missingFormException()},e}(Xh),Jm=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(s.__extends)(e,n),e.prototype._checkParentType=function(){ev(this._parent)&&ym.groupParentException()},e}(Mm),nv=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(s.__extends)(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 _m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Em(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Tm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){ev(this._parent)&&ym.arrayParentException()},e}(Xh);function ev(n){return!(n instanceof Jm||n instanceof Qm||n instanceof nv)}var tv=function(n){function e(e,t,l,r,i){var a=n.call(this)||this;return a._ngModelWarningConfig=i,a._added=!1,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._parent=e,a._rawValidators=t||[],a._rawAsyncValidators=l||[],a.valueAccessor=Fm(a,r),a}var t;return Object(s.__extends)(e,n),t=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(n){ym.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(n){var e,l;this._added||this._setUpControl(),Rm(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)||(ym.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 _m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Em(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Tm(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Jm)&&this._parent instanceof Mm?ym.ngModelGroupException():this._parent instanceof Jm||this._parent instanceof Qm||this._parent instanceof nv||ym.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}(pm),lv=function(){function n(){}return n.prototype.group=function(n,e){void 0===e&&(e=null);var t=this._reduceControls(n),l=null,o=null,r=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,r=null!=e.updateOn?e.updateOn:void 0):(l=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new zm(t,{asyncValidators:o,updateOn:r,validators:l})},n.prototype.control=function(n,e,t){return new Bm(n,e,t)},n.prototype.array=function(n,e,t){var l=this,o=n.map(function(n){return l._createControl(n)});return new Um(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 Bm||n instanceof zm||n instanceof Um?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)},n}(),ov=function(){return function(){}}(),rv=function(){return function(){}}(),iv=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Gm,useValue:n.warnOnDeprecatedNgFormSelector}]}},n}(),av=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Xm,useValue:n.warnOnNgModelWithFormControl}]}},n}(),uv=function(){function n(n,e,t,l){this.dialogRef=n,this.electronService=e,this.serverService=t,this.data=l,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.locations=[],this.serverForm=new zm({name:new Bm("",[nm.required]),location:new Bm(""),path:new Bm(""),ubridge_path:new Bm(""),host:new Bm("",[nm.required]),port:new Bm("",[nm.required,nm.min(1)]),authorization:new Bm("none"),login:new Bm(""),password:new Bm("")})}return n.prototype.getLocations=function(){return s.__awaiter(this,void 0,void 0,function(){var n,e;return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){var n;return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){var n,e,t,l,o=this;return s.__generator(this,function(r){switch(r.label){case 0:return n=this,[4,this.getLocations()];case 1:return n.locations=r.sent(),[4,this.getDefaultLocalServerPath()];case 2:return e=r.sent(),[4,this.getDefaultUbridgePath()];case 3:return t=r.sent(),this.serverForm.get("location").valueChanges.subscribe(function(n){var l=o.serverForm.get("path"),r=o.serverForm.get("ubridge_path");"local"===n?(l.setValue(e),l.setValidators([nm.required]),r.setValue(t),r.setValidators([nm.required])):(l.setValue(""),l.clearValidators(),r.setValue(""),r.clearValidators()),[l,r].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([nm.required]),t.setValidators([nm.required])),[e,t].forEach(function(n){n.updateValueAndValidity({onlySelf:!0})})}),[4,this.getDefaultLocation()];case 4:return l=r.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(){if(this.serverForm.valid){var n=Object.assign({},this.serverForm.value);this.dialogRef.close(n)}},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),sv=function(){function n(n,e,t,l,o){this.dialog=n,this.serverService=e,this.serverDatabase=t,this.serverManagement=l,this.changeDetector=o,this.displayedColumns=["id","name","location","ip","port","actions"]}return n.prototype.ngOnInit=function(){var n=this,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")}),n.serverDatabase.addServers(t)}),this.dataSource=new dv(this.serverDatabase),this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(e){var t=n.serverDatabase.find(e.serverName);t&&("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.createModal=function(){var n=this;this.dialog.open(uv,{width:"350px",autoFocus:!1}).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.serverService.delete(n).then(function(){e.serverDatabase.remove(n)})},n.prototype.startServer=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(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 s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.serverManagement.stop(n)];case 1:return e.sent(),[2]}})})},n}(),dv=function(n){function e(e){var t=n.call(this)||this;return t.serverDatabase=e,t}return s.__extends(e,n),e.prototype.connect=function(){var n=this;return Object(Ts.a)(this.serverDatabase.dataChange).pipe(Object(q.a)(function(){return n.serverDatabase.data}))},e.prototype.disconnect=function(){},e}(Ps),cv=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.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function pv(){throw Error("Attempting to attach dialog content after content is already attached")}var fv=function(n){function e(e,t,l,r,i){var a=n.call(this)||this;return a._elementRef=e,a._focusTrapFactory=t,a._changeDetectorRef=l,a._document=r,a._config=i,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new o.EventEmitter,a._ariaLabelledBy=null,a}return Object(s.__extends)(e,n),e.prototype.attachComponentPortal=function(n){return this._portalOutlet.hasAttached()&&pv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._portalOutlet.hasAttached()&&pv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},e.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},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}(Cs),hv=0,mv=function(){function n(n,e,t,l){void 0===l&&(l="mat-dialog-"+hv++);var o=this;this._overlayRef=n,this._containerInstance=e,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.b,this._afterClosed=new A.b,this._beforeClosed=new A.b,e._id=l,e._animationStateChanged.pipe(Object(K.a)(function(n){return"done"===n.phaseName&&"enter"===n.toState}),Object(Z.a)(1)).subscribe(function(){o._afterOpened.next(),o._afterOpened.complete()}),e._animationStateChanged.pipe(Object(K.a)(function(n){return"done"===n.phaseName&&"exit"===n.toState}),Object(Z.a)(1)).subscribe(function(){return 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(K.a)(function(n){return n.keyCode===wo&&!o.disableClose})).subscribe(function(){return o.close()})}return n.prototype.close=function(n){var e=this;this._result=n,this._containerInstance._animationStateChanged.pipe(Object(K.a)(function(n){return"start"===n.phaseName}),Object(Z.a)(1)).subscribe(function(){e._beforeClosed.next(n),e._beforeClosed.complete(),e._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},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._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},n}(),vv=new o.InjectionToken("MatDialogData"),gv=new o.InjectionToken("mat-dialog-default-options"),bv=new o.InjectionToken("mat-dialog-scroll-strategy");function yv(n){return function(){return n.scrollStrategies.block()}}var _v=function(){function n(n,e,t,l,o,r,i){var a=this;this._overlay=n,this._injector=e,this._location=t,this._defaultOptions=l,this._parentDialog=r,this._overlayContainer=i,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.b,this._afterOpenedAtThisLevel=new A.b,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(N.a)(function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Object(W.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(s.__assign)({},e,n)}(e,this._defaultOptions||new cv)).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 Xs({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 Es(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[cv,e]])),l=new _s(fv,e.viewContainerRef,t);return n.attach(l).instance},n.prototype._attachDialogContent=function(n,e,t,l){var r=new mv(t,e,this._location,l.id);if(l.hasBackdrop&&t.backdropClick().subscribe(function(){r.disableClose||r.close()}),n instanceof o.TemplateRef)e.attachTemplatePortal(new ws(n,null,{$implicit:l.data,dialogRef:r}));else{var i=this._createInjector(l,r,e),a=e.attachComponentPortal(new _s(n,void 0,i));r.componentInstance=a.instance}return r.updateSize(l.width,l.height).updatePosition(l.position),r},n.prototype._createInjector=function(n,e,t){var l=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=new WeakMap([[fv,t],[vv,n.data],[mv,e]]);return!n.direction||l&&l.get(Dr,null)||o.set(Dr,{value:n.direction,change:Object(O.a)()}),new Es(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}(),wv=0,Cv=function(){function n(n,e,t){this._dialogRef=n,this._elementRef=e,this._dialog=t,this.id="mat-dialog-title-"+wv++}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}(),xv=function(){return function(){}}(),Sv=function(){return function(){}}(),kv=function(){return function(){}}(),Ev=o["\u0275crt"]({encapsulation:0,styles:[[".buttons-bar[_ngcontent-%COMP%]{padding-top:22px}"]],data:{}});function Tv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" ID "]))],null,null)}function Rv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.id)})}function Iv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function Ov(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275eld"](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["\u0275nov"](n,3).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l},null,null)),o["\u0275did"](3,671744,null,0,Ol,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](4,3),(n()(),o["\u0275ted"](5,null,["",""]))],function(n,e){var t=n(e,4,0,"/server",e.context.$implicit.id,"projects");n(e,3,0,t)},function(n,e){n(e,2,0,o["\u0275nov"](e,3).target,o["\u0275nov"](e,3).href),n(e,5,0,e.context.$implicit.name)})}function Fv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Location "]))],null,null)}function Dv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.location)})}function Mv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Host "]))],null,null)}function Nv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.host)})}function Av(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port "]))],null,null)}function Pv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.port)})}function qv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function jv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"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},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function Lv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"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},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function Vv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,10,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,jv)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Lv)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](6,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"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},pu,cu)),o["\u0275did"](7,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](8,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,gs,vs)),o["\u0275did"](9,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-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,9,0)},function(n,e){n(e,6,0,o["\u0275nov"](e,7).disabled||null,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,9).inline,"primary"!==o["\u0275nov"](e,9).color&&"accent"!==o["\u0275nov"](e,9).color&&"warn"!==o["\u0275nov"](e,9).color)})}function Bv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function zv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function Uv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,101,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Servers"])),(n()(),o["\u0275eld"](4,0,null,null,97,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"app-server-discovery",[],null,null,null,Yh,Wh)),o["\u0275did"](6,114688,null,0,Zh,[jh,Uh,Hh],null,null),(n()(),o["\u0275eld"](7,0,null,null,90,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,89,"mat-table",[["class","mat-table"]],null,null,null,op,lp)),o["\u0275did"](9,2342912,[["table",4]],4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](14,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](16,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,5,{cell:0}),o["\u0275qud"](335544320,6,{headerCell:0}),o["\u0275qud"](335544320,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Tv)),o["\u0275did"](22,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Rv)),o["\u0275did"](25,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](27,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](29,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,8,{cell:0}),o["\u0275qud"](335544320,9,{headerCell:0}),o["\u0275qud"](335544320,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Iv)),o["\u0275did"](35,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Ov)),o["\u0275did"](38,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](40,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](42,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,11,{cell:0}),o["\u0275qud"](335544320,12,{headerCell:0}),o["\u0275qud"](335544320,13,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Fv)),o["\u0275did"](48,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[12,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Dv)),o["\u0275did"](51,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[11,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](53,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](55,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,14,{cell:0}),o["\u0275qud"](335544320,15,{headerCell:0}),o["\u0275qud"](335544320,16,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Mv)),o["\u0275did"](61,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[15,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Nv)),o["\u0275did"](64,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[14,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](66,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](68,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,17,{cell:0}),o["\u0275qud"](335544320,18,{headerCell:0}),o["\u0275qud"](335544320,19,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Av)),o["\u0275did"](74,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[18,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Pv)),o["\u0275did"](77,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[17,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](79,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](81,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,20,{cell:0}),o["\u0275qud"](335544320,21,{headerCell:0}),o["\u0275qud"](335544320,22,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,qv)),o["\u0275did"](87,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[21,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Vv)),o["\u0275did"](90,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[20,4]],Sc,null,[Gc]),(n()(),o["\u0275and"](0,null,null,2,null,Bv)),o["\u0275did"](93,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,zv)),o["\u0275did"](96,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],Mc,null,[Jc]),(n()(),o["\u0275eld"](98,0,null,null,3,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](99,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](100,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add server"]))],function(n,e){var t=e.component;n(e,6,0),n(e,9,0,t.dataSource),n(e,16,0,"id"),n(e,29,0,"name"),n(e,42,0,"location"),n(e,55,0,"ip"),n(e,68,0,"port"),n(e,81,0,"actions"),n(e,93,0,t.displayedColumns),n(e,96,0,t.displayedColumns),n(e,100,0,"primary")},function(n,e){n(e,99,0,o["\u0275nov"](e,100).disabled||null,"NoopAnimations"===o["\u0275nov"](e,100)._animationMode)})}function Hv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-server-list",[],null,null,null,Uv,Ev)),o["\u0275did"](1,245760,null,0,sv,[_v,Uh,Hh,pc,o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}var Zv=o["\u0275ccf"]("app-server-list",sv,Hv,{},{},[]),Wv=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(){n.serverService.getLocalServer(n.document.location.hostname,parseInt(n.document.location.port,10)).then(function(e){n.progressService.deactivate(),n.router.navigate(["/server",e.id,"projects"])})},100)},n}(),Gv=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Kv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-progress",[],null,null,null,dc,ic)),o["\u0275did"](1,245760,null,0,rc,[oc,Rl],null,null)],function(n,e){n(e,1,0)},null)}function Yv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-bundled-server-finder",[],null,null,null,Kv,Gv)),o["\u0275did"](1,114688,null,0,Wv,[Rl,Uh,oc,I.DOCUMENT],null,null)],function(n,e){n(e,1,0)},null)}var $v=o["\u0275ccf"]("app-bundled-server-finder",Wv,Yv,{},{},[]),Xv=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.sortables=new Map,e._stateChanges=new A.b,e.start="asc",e._direction="",e.sortChange=new o.EventEmitter,e}return Object(s.__extends)(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=ao(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}(Qo(Go(function(){return function(){}}()))),Qv=function(){function n(){this.changes=new A.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 Jv(n){return n||new Qv}var ng=function(n){function e(e,t,l,o){var r=n.call(this)||this;if(r._intl=e,r._sort=l,r._columnDef=o,r._showIndicatorHint=!1,r._arrowDirection="",r._disableViewStateAnimation=!1,r.arrowPosition="after",!l)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return r._rerenderSubscription=Object(Ts.a)(l.sortChange,l._stateChanges,e.changes).subscribe(function(){r._isSorted()&&r._updateArrowDirection(),!r._isSorted()&&r._viewState&&"active"===r._viewState.toState&&(r._disableViewStateAnimation=!1,r._setAnimationTransitionState({fromState:"active",toState:r._arrowDirection})),t.markForCheck()}),r}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=ao(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}(Go(function(){return function(){}}())),eg=function(){return function(){}}(),tg=o["\u0275crt"]({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 lg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275eld"](1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(n()(),o["\u0275eld"](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 og(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](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["\u0275eld"](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["\u0275ncd"](null,0),(n()(),o["\u0275and"](16777216,null,null,1,null,lg)),o["\u0275did"](4,16384,null,0,I.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 rg=function(){function n(n,e){this.httpServer=n,this.settingsService=e}return 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.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e)},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:!this.settingsService.isExperimentalEnabled()},n}(),ig=t("YNBZ"),ag=t("EcEN"),ug=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}(),sg=function(){function n(){}return n.prototype.get=function(n){return new RegExp(/[~`!#$%\^&*+=\[\]\\';,\/{}|\\":<>\?]/).test(n.value)?{invalidName:!0}:null},n}(),dg=function(){function n(n,e,t,l,o,r){this.dialog=n,this.dialogRef=e,this.data=t,this.formBuilder=l,this.projectService=o,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.projectNameForm=this.formBuilder.group({projectName:new Bm(null,[nm.required,r.get])})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new ig.FileUploader({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){var r=JSON.parse(t);n.resultMessage="An error occured: "+r.message,n.isFinishEnabled=!0},this.uploader.onCompleteItem=function(e,t,l,o){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(ug,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1}).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(){var n=this.projectNameForm.controls.projectName.value;return"http://"+this.server.host+":"+this.server.port+"/v2/projects/"+Object(ag.v4)()+"/import?name="+n},n}(),cg=function(){function n(n,e,t,l,o,r,i){this.dialogRef=n,this.router=e,this.dialog=t,this.projectService=l,this.toasterService=o,this.formBuilder=r,this.projectNameValidator=i,this.projectNameForm=this.formBuilder.group({projectName:new Bm(null,[nm.required,i.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,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.projectService.add(this.server,this.projectNameForm.controls.projectName.value,Object(ag.v4)()).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(ug,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1}).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}(),pg=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.projectService=t,this.settingsService=l,this.progressService=o,this.dialog=r,this.projectDatabase=new fg,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){var n=this;this.sort.sort({id:"name",start:"asc"}),this.dataSource=new hg(this.projectDatabase,this.sort),this.route.paramMap.pipe(Object(H.a)(function(e){var t=e.get("server_id");return n.serverService.get(parseInt(t,10))})).subscribe(function(e){n.server=e,n.refresh()}),this.settings=this.settingsService.getAll()},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.projectService.delete(this.server,n.project_id).subscribe(function(){e.projectDatabase.remove(n)})},n.prototype.open=function(n){var e=this;this.progressService.activate(),this.projectService.open(this.server,n.project_id).subscribe(function(){e.refresh()},function(){},function(){e.progressService.deactivate()})},n.prototype.close=function(n){var e=this;this.progressService.activate(),this.projectService.close(this.server,n.project_id).subscribe(function(){e.refresh()},function(){},function(){e.progressService.deactivate()})},n.prototype.addBlankProject=function(){this.dialog.open(cg,{width:"400px",autoFocus:!1}).componentInstance.server=this.server},n.prototype.importProject=function(){var n=this,e=this.dialog.open(dg,{width:"400px",autoFocus:!1});e.componentInstance.server=this.server,e.afterClosed().subscribe(function(){n.refresh()})},n}(),fg=function(){function n(){this.dataChange=new E.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}(),hg=function(n){function e(e,t){var l=n.call(this)||this;return l.projectDatabase=e,l.sort=t,l}return s.__extends(e,n),e.prototype.connect=function(){var n=this;return Ts.a.apply(void 0,[this.projectDatabase.dataChange,this.sort.sortChange]).pipe(Object(q.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}(Ps),mg=o["\u0275crt"]({encapsulation:0,styles:[[".add-button[_ngcontent-%COMP%], .import-button[_ngcontent-%COMP%]{height:40px;margin:20px}"]],data:{}});function vg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Add blank project "]))],function(n,e){n(e,1,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function gg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"button",[["class","import-button"],["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Import project "]))],function(n,e){n(e,1,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function bg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},og,tg)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,ng,[Qv,o.ChangeDetectorRef,[2,Xv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Name "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function yg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275eld"](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["\u0275nov"](n,3).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l},null,null)),o["\u0275did"](3,671744,null,0,Ol,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](4,4),(n()(),o["\u0275ted"](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["\u0275nov"](e,3).target,o["\u0275nov"](e,3).href),n(e,5,0,e.context.$implicit.name)})}function _g(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function wg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete project"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.delete(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275and"](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["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function Cg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Open project"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.open(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275and"](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["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function xg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Close project"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.close(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275and"](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["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function Sg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,wg)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Cg)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,xg)),o["\u0275did"](7,16384,null,0,I.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,"closed"==e.context.$implicit.status),n(e,7,0,"opened"==e.context.$implicit.status)},null)}function kg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function Eg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function Tg(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{sort:0}),(n()(),o["\u0275eld"](1,0,null,null,49,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Projects"])),(n()(),o["\u0275and"](16777216,null,null,1,null,vg)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,gg)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,0,null,null,40,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,39,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,38,"mat-table",[["class","mat-table"],["matSort",""]],null,null,null,op,lp)),o["\u0275did"](13,2342912,[["table",4]],4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,2,{_contentColumnDefs:1}),o["\u0275qud"](603979776,3,{_contentRowDefs:1}),o["\u0275qud"](603979776,4,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,5,{_contentFooterRowDefs:1}),o["\u0275did"](18,737280,[[1,4]],0,Xv,[],null,null),(n()(),o["\u0275eld"](19,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](21,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,6,{cell:0}),o["\u0275qud"](335544320,7,{headerCell:0}),o["\u0275qud"](335544320,8,{footerCell:0}),o["\u0275prd"](2048,[[2,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,bg)),o["\u0275did"](27,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[7,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,yg)),o["\u0275did"](30,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](32,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](34,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,9,{cell:0}),o["\u0275qud"](335544320,10,{headerCell:0}),o["\u0275qud"](335544320,11,{footerCell:0}),o["\u0275prd"](2048,[[2,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,_g)),o["\u0275did"](40,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[10,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Sg)),o["\u0275did"](43,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],Sc,null,[Gc]),(n()(),o["\u0275and"](0,null,null,2,null,kg)),o["\u0275did"](46,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[4,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Eg)),o["\u0275did"](49,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Mc,null,[Jc])],function(n,e){var t=e.component;n(e,7,0,t.settings.experimental_features),n(e,9,0,t.settings.experimental_features),n(e,13,0,t.dataSource),n(e,18,0),n(e,21,0,"name"),n(e,34,0,"actions"),n(e,46,0,t.displayedColumns),n(e,49,0,t.displayedColumns)},null)}function Rg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-projects",[],null,null,null,Tg,mg)),o["\u0275did"](1,114688,null,0,pg,[bt,Uh,rg,T,oc,_v],null,null)],function(n,e){n(e,1,0)},null)}var Ig=o["\u0275ccf"]("app-projects",pg,Rg,{},{},[]),Og=0,Fg=function(){function n(){this._stateChanges=new A.b,this._openCloseAllActions=new A.b,this.id="cdk-accordion-"+Og++,this._multi=!1}return Object.defineProperty(n.prototype,"multi",{get:function(){return this._multi},set:function(n){this._multi=ao(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}(),Dg=0,Mg=function(){function n(n,e,t){var l=this;this.accordion=n,this._changeDetectorRef=e,this._expansionDispatcher=t,this._openCloseAllSubscription=_o.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-"+Dg++,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=ao(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=ao(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}(),Ng=function(){return function(){}}(),Ag=new o.InjectionToken("MAT_ACCORDION"),Pg=0,qg=new o.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),jg=function(n){function e(e,t,l,r,i,a,u){var s=n.call(this,e,t,l)||this;return s._viewContainerRef=r,s._animationMode=a,s._hideToggle=!1,s.afterExpand=new o.EventEmitter,s.afterCollapse=new o.EventEmitter,s._inputChanges=new A.b,s._headerId="mat-expansion-panel-header-"+Pg++,s._bodyAnimationDone=new A.b,s.accordion=e,s._document=i,s._bodyAnimationDone.pipe(Object(Ds.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(s.__extends)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(n){this._hideToggle=ao(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(W.a)(null),Object(K.a)(function(){return n.expanded&&!n._portal}),Object(Z.a)(1)).subscribe(function(){n._portal=new ws(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&&this._document){var n=this._document.activeElement,e=this._body.nativeElement;return n===e||e.contains(n)}return!1},e}(Mg),Lg=function(){function n(n,e,t,l,o){var r=this;this.panel=n,this._element=e,this._focusMonitor=t,this._changeDetectorRef=l,this._parentChangeSubscription=_o.a.EMPTY;var i=n.accordion?n.accordion._stateChanges.pipe(Object(K.a)(function(n){return!!n.hideToggle})):P.a;this._parentChangeSubscription=Object(Ts.a)(n.opened,n.closed,i,n._inputChanges.pipe(Object(K.a)(function(n){return!(!n.hideToggle&&!n.disabled)}))).subscribe(function(){return r._changeDetectorRef.markForCheck()}),n.closed.pipe(Object(K.a)(function(){return n._containsFocus()})).subscribe(function(){return t.focusVia(e,"program")}),t.monitor(e).subscribe(function(e){e&&n.accordion&&n.accordion._handleHeaderFocus(r)}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return 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._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},n.prototype._keydown=function(n){switch(n.keyCode){case 32:case 13:Co(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}},n.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor.focusVia(this._element,n)},n.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},n}(),Vg=function(){return function(){}}(),Bg=function(){return function(){}}(),zg=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(n){this._hideToggle=ao(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new Fo(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(n){var e=n.keyCode,t=this._keyManager;36===e?(t.setFirstItemActive(),n.preventDefault()):35===e?(t.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n)},e.prototype._handleHeaderFocus=function(n){this._keyManager.updateActiveItem(n)},e}(Fg),Ug=function(){return function(){}}(),Hg=o["\u0275crt"]({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{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{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 Zg(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function Wg(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_body:0}),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](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["\u0275eld"](3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),o["\u0275ncd"](null,1),(n()(),o["\u0275and"](16777216,null,null,1,null,Zg)),o["\u0275did"](6,212992,null,0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),o["\u0275ncd"](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 Gg=o["\u0275crt"]({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-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 Kg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Yg(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),o["\u0275ncd"](null,0),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2),(n()(),o["\u0275and"](16777216,null,null,1,null,Kg)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,5,0,e.component._showToggle())},null)}var $g=new o.InjectionToken("mat-checkbox-click-action"),Xg=0,Qg=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}(),Jg=function(){return function(){}}(),nb=function(n){function e(e,t,l,r,i,a,u){var s=n.call(this,e)||this;return s._changeDetectorRef=t,s._focusMonitor=l,s._ngZone=r,s._clickAction=a,s._animationMode=u,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++Xg,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=Qg.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(i)||0,s._focusMonitor.monitor(e,!0).subscribe(function(n){n||Promise.resolve().then(function(){s._onTouched(),t.markForCheck()})}),s}return Object(s.__extends)(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=ao(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=ao(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?Qg.Indeterminate:this.checked?Qg.Checked:Qg.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 Jg;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?Qg.Checked:Qg.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},e.prototype._onInteractionEvent=function(n){n.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(n,e){if("NoopAnimations"===this._animationMode)return"";var t="";switch(n){case Qg.Init:if(e===Qg.Checked)t="unchecked-checked";else{if(e!=Qg.Indeterminate)return"";t="unchecked-indeterminate"}break;case Qg.Unchecked:t=e===Qg.Checked?"unchecked-checked":"unchecked-indeterminate";break;case Qg.Checked:t=e===Qg.Unchecked?"checked-unchecked":"checked-indeterminate";break;case Qg.Indeterminate:t=e===Qg.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+t},e}($o(Ko(Yo(Go(function(){return function(n){this._elementRef=n}}())),"accent"))),eb=function(){return function(){}}(),tb=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}(),lb=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=po(n);return new d.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 A.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)(tb))},token:n,providedIn:"root"}),n}(),ob=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=ao(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=uo(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(xo.a)(n.debounce)):e).subscribe(n.event)})},n.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},n}(),rb=function(){return function(){}}(),ib=o["\u0275crt"]({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-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}.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 ab(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_inputElement:0}),o["\u0275qud"](402653184,2,{ripple:0}),(n()(),o["\u0275eld"](2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](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["\u0275eld"](5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](6,212992,[[2,4]],0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["\u0275pod"](7,{enterDuration:0}),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(n()(),o["\u0275eld"](9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(n()(),o["\u0275eld"](10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](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["\u0275eld"](13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275did"](15,1196032,null,0,ob,[lb,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["\u0275eld"](16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["\xa0"])),o["\u0275ncd"](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["\u0275nov"](e,2))},function(n,e){var t=e.component;n(e,2,0,t.inputId),n(e,3,0,!o["\u0275nov"](e,14).textContent||!o["\u0275nov"](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["\u0275nov"](e,6).unbounded)})}var ub=0,sb=function(){return function(){this.id="mat-error-"+ub++}}(),db=function(){return function(){}}();function cb(n){return Error("A hint was already declared for 'align=\""+n+"\"'.")}var pb=function(){return function(){}}(),fb=function(){return function(){}}(),hb=0,mb=Ko(function(){return function(n){this._elementRef=n}}(),"primary"),vb=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),gb=function(n){function e(e,t,l,o,r,i,a,u){var s=n.call(this,e)||this;return s._elementRef=e,s._changeDetectorRef=t,s._dir=o,s._defaults=r,s._platform=i,s._ngZone=a,s._outlineGapCalculationNeededImmediately=!1,s._outlineGapCalculationNeededOnStable=!1,s._destroyed=new A.b,s._showAlwaysAnimate=!1,s._subscriptAnimationState="",s._hintLabel="",s._hintLabelId="mat-hint-"+hb++,s._labelId="mat-form-field-label-"+hb++,s._labelOptions=l||{},s.floatLabel=s._labelOptions.float||"auto",s._animationsEnabled="NoopAnimations"!==u,s.appearance=r&&r.appearance?r.appearance:"legacy",s}return Object(s.__extends)(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._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(n){this._hideRequiredMarker=ao(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}),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(W.a)(null)).subscribe(function(){n._validatePlaceholders(),n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n._changeDetectorRef.markForCheck()});var t=this._ngZone;t&&t.runOutsideAngular(function(){t.onStable.asObservable().pipe(Object(Is.a)(n._destroyed)).subscribe(function(){n._outlineGapCalculationNeededOnStable&&n.updateOutlineGap()})}),Object(Ts.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){n._updateOutlineGapOnStable(),n._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(W.a)(null)).subscribe(function(){n._processHints(),n._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(W.a)(null)).subscribe(function(){n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n.updateOutlineGap()})},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(Fs.a)(this._label.nativeElement,"transitionend").pipe(Object(Z.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 cb("start");n=l}else if("end"===l.align){if(e)throw cb("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||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"),r=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var i=l.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(i),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<r.length;p++)r.item(p).style.width=t+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},e.prototype._getStartEnd=function(n){return this._dir&&"rtl"===this._dir.value?n.right:n.left},e.prototype._updateOutlineGapOnStable=function(){var n=this;this._ngZone?this._outlineGapCalculationNeededOnStable=!0:Promise.resolve().then(function(){return n.updateOutlineGap()})},e}(mb),bb=function(){return function(){}}(),yb=o["\u0275crt"]({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::-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::-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:-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-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 _b(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function wb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),o["\u0275ncd"](null,0)],null,null)}function Cb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),o["\u0275ncd"](null,2),(n()(),o["\u0275ted"](2,null,["",""]))],null,function(n,e){n(e,2,0,e.component._control.placeholder)})}function xb(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,3),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function Sb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275ted"](-1,null,[" *"]))],null,null)}function kb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),o["\u0275did"](2,1196032,null,0,ob,[lb,o.ElementRef,o.NgZone],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(n()(),o["\u0275and"](16777216,null,null,1,null,Cb)),o["\u0275did"](4,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,xb)),o["\u0275did"](6,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Sb)),o["\u0275did"](8,16384,null,0,I.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 Eb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),o["\u0275ncd"](null,4)],null,null)}function Tb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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 Rb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),o["\u0275ncd"](null,5)],null,function(n,e){n(e,0,0,e.component._subscriptAnimationState)})}function Ib(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){var t=e.component;n(e,0,0,t._hintLabelId),n(e,1,0,t.hintLabel)})}function Ob(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Ib)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["\u0275ncd"](null,6),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),o["\u0275ncd"](null,7)],function(n,e){n(e,2,0,e.component.hintLabel)},function(n,e){n(e,0,0,e.component._subscriptAnimationState)})}function Fb(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{underlineRef:0}),o["\u0275qud"](402653184,2,{_connectionContainerRef:0}),o["\u0275qud"](402653184,3,{_inputContainerRef:0}),o["\u0275qud"](671088640,4,{_label:0}),(n()(),o["\u0275eld"](4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275and"](16777216,null,null,1,null,_b)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,wb)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),o["\u0275ncd"](null,1),(n()(),o["\u0275eld"](12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,kb)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Eb)),o["\u0275did"](16,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Tb)),o["\u0275did"](18,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),o["\u0275did"](20,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Rb)),o["\u0275did"](22,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ob)),o["\u0275did"](24,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.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 Db=yo({passive:!0}),Mb=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 P.a;var t=po(n),l=this._monitoredElements.get(t);if(l)return l.subject.asObservable();var o=new A.b,r="cdk-text-field-autofilled",i=function(n){"cdk-text-field-autofill-start"!==n.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===n.animationName&&t.classList.contains(r)&&(t.classList.remove(r),e._ngZone.run(function(){return o.next({target:n.target,isAutofilled:!1})})):(t.classList.add(r),e._ngZone.run(function(){return o.next({target:n.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){t.addEventListener("animationstart",i,Db),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:function(){t.removeEventListener("animationstart",i,Db)}}),o.asObservable()},n.prototype.stopMonitoring=function(n){var e=po(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)(mo),Object(o.inject)(o.NgZone))},token:n,providedIn:"root"}),n}(),Nb=function(){return function(){}}(),Ab=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Pb=0,qb=function(n){function e(e,t,l,o,r,i,a,u,s){var d=n.call(this,i,o,r,l)||this;d._elementRef=e,d._platform=t,d.ngControl=l,d._autofillMonitor=u,d._uid="mat-input-"+Pb++,d._isServer=!1,d._isNativeSelect=!1,d.focused=!1,d.stateChanges=new A.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 bo().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(s.__extends)(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=ao(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=ao(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()&&bo().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=ao(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(){this._elementRef.nativeElement.focus()},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(Ab.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}(Xo(function(){return function(n,e,t,l){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=l}}())),jb=function(){return function(){}}(),Lb=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}(),Vb=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}(),Bb=function(){function n(n,e,t){this.settingsService=n,this.toaster=e,this.consoleService=t,this.settings=s.__assign({},T.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}(),zb=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Ub(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,77,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Settings"])),(n()(),o["\u0275eld"](4,0,null,null,73,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,68,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,67,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](7,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](10,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,Wg,Hg)),o["\u0275did"](11,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],{expanded:[0,"expanded"]},null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,15)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,15)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](15,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](16,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](17,{value:0,params:1}),(n()(),o["\u0275eld"](18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](19,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Local settings "])),(n()(),o["\u0275eld"](21,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["\u0275did"](22,16384,null,0,Vg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Customize your local settings "])),(n()(),o["\u0275eld"](24,0,null,1,7,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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},ab,ib)),o["\u0275did"](26,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](28,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](30,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,["Send anonymous crash reports"])),(n()(),o["\u0275eld"](32,0,null,1,7,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](33,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.experimental_features=t)&&l),l},ab,ib)),o["\u0275did"](34,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](36,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](38,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,["Enable experimental features (WARNING: IT CAN BREAK YOU LABS!)"])),(n()(),o["\u0275eld"](40,16777216,null,null,33,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](41,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],{expanded:[0,"expanded"]},null),o["\u0275qud"](335544320,3,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](44,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,45)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,45)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](45,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](46,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](47,{value:0,params:1}),(n()(),o["\u0275eld"](48,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](49,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Console settings "])),(n()(),o["\u0275eld"](51,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["\u0275did"](52,16384,null,0,Vg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Customize console settings "])),(n()(),o["\u0275eld"](54,0,null,1,19,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](55,0,null,null,18,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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["\u0275nov"](n,65)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,65)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,65)._onInput()&&l),l},null,null)),o["\u0275did"](65,999424,null,0,qb,[o.ElementRef,mo,[8,null],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],value:[1,"value"],readonly:[2,"readonly"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](67,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["\u0275nov"](n,68).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,69)._haltDisabledEvents(t)&&l),l},hu,fu)),o["\u0275did"](68,671744,null,0,Ol,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275did"](69,180224,null,0,Ir,[mo,Bo,o.ElementRef,[2,su]],null,null),o["\u0275did"](70,16384,[[10,4]],0,fb,[],null,null),(n()(),o["\u0275eld"](71,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,gs,vs)),o["\u0275did"](72,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["mode_edit"])),(n()(),o["\u0275eld"](74,0,null,null,3,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](75,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](76,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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,36,0,t.settings.experimental_features),n(e,41,0,!1),n(e,65,0,"console",t.consoleCommand,"true"),n(e,68,0,"/settings/console"),n(e,72,0),n(e,76,0,"primary")},function(n,e){n(e,10,0,o["\u0275nov"](e,11).expanded,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode,o["\u0275nov"](e,11)._hasSpacing());var t=o["\u0275nov"](e,15).panel._headerId,l=o["\u0275nov"](e,15).disabled?-1:0,r=o["\u0275nov"](e,15)._getPanelId(),i=o["\u0275nov"](e,15)._isExpanded(),a=o["\u0275nov"](e,15).panel.disabled,u=o["\u0275nov"](e,15)._isExpanded(),s=n(e,17,0,o["\u0275nov"](e,15)._getExpandedState(),n(e,16,0,o["\u0275nov"](e,15).collapsedHeight,o["\u0275nov"](e,15).expandedHeight));n(e,14,0,t,l,r,i,a,u,s),n(e,25,1,[o["\u0275nov"](e,26).id,null,o["\u0275nov"](e,26).indeterminate,o["\u0275nov"](e,26).checked,o["\u0275nov"](e,26).disabled,"before"==o["\u0275nov"](e,26).labelPosition,"NoopAnimations"===o["\u0275nov"](e,26)._animationMode,o["\u0275nov"](e,30).ngClassUntouched,o["\u0275nov"](e,30).ngClassTouched,o["\u0275nov"](e,30).ngClassPristine,o["\u0275nov"](e,30).ngClassDirty,o["\u0275nov"](e,30).ngClassValid,o["\u0275nov"](e,30).ngClassInvalid,o["\u0275nov"](e,30).ngClassPending]),n(e,33,1,[o["\u0275nov"](e,34).id,null,o["\u0275nov"](e,34).indeterminate,o["\u0275nov"](e,34).checked,o["\u0275nov"](e,34).disabled,"before"==o["\u0275nov"](e,34).labelPosition,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode,o["\u0275nov"](e,38).ngClassUntouched,o["\u0275nov"](e,38).ngClassTouched,o["\u0275nov"](e,38).ngClassPristine,o["\u0275nov"](e,38).ngClassDirty,o["\u0275nov"](e,38).ngClassValid,o["\u0275nov"](e,38).ngClassInvalid,o["\u0275nov"](e,38).ngClassPending]),n(e,40,0,o["\u0275nov"](e,41).expanded,"NoopAnimations"===o["\u0275nov"](e,41)._animationMode,o["\u0275nov"](e,41)._hasSpacing());var d=o["\u0275nov"](e,45).panel._headerId,c=o["\u0275nov"](e,45).disabled?-1:0,p=o["\u0275nov"](e,45)._getPanelId(),f=o["\u0275nov"](e,45)._isExpanded(),h=o["\u0275nov"](e,45).panel.disabled,m=o["\u0275nov"](e,45)._isExpanded(),v=n(e,47,0,o["\u0275nov"](e,45)._getExpandedState(),n(e,46,0,o["\u0275nov"](e,45).collapsedHeight,o["\u0275nov"](e,45).expandedHeight));n(e,44,0,d,c,p,f,h,m,v),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,0,o["\u0275nov"](e,65)._isServer,o["\u0275nov"](e,65).id,o["\u0275nov"](e,65).placeholder,o["\u0275nov"](e,65).disabled,o["\u0275nov"](e,65).required,o["\u0275nov"](e,65).readonly&&!o["\u0275nov"](e,65)._isNativeSelect||null,o["\u0275nov"](e,65)._ariaDescribedby||null,o["\u0275nov"](e,65).errorState,o["\u0275nov"](e,65).required.toString()),n(e,67,0,o["\u0275nov"](e,68).target,o["\u0275nov"](e,68).href,o["\u0275nov"](e,69).disabled?-1:o["\u0275nov"](e,69).tabIndex||0,o["\u0275nov"](e,69).disabled||null,o["\u0275nov"](e,69).disabled.toString(),"NoopAnimations"===o["\u0275nov"](e,69)._animationMode),n(e,71,0,o["\u0275nov"](e,72).inline,"primary"!==o["\u0275nov"](e,72).color&&"accent"!==o["\u0275nov"](e,72).color&&"warn"!==o["\u0275nov"](e,72).color),n(e,75,0,o["\u0275nov"](e,76).disabled||null,"NoopAnimations"===o["\u0275nov"](e,76)._animationMode)})}function Hb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-settings",[],null,null,null,Ub,zb)),o["\u0275did"](1,114688,null,0,Bb,[T,fc,Vb],null,null)],function(n,e){n(e,1,0)},null)}var Zb=o["\u0275ccf"]("app-settings",Bb,Hb,{},{},[]),Wb=function(){function n(n,e,t){this.router=n,this.consoleService=e,this.toasterService=t,this.consoleForm=new zm({command:new Bm("")})}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}(),Gb=o["\u0275crt"]({encapsulation:0,styles:[[".help[_ngcontent-%COMP%]{font-size:14px}"]],data:{}});function Kb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,51,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Console settings"])),(n()(),o["\u0275eld"](5,0,null,null,46,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,37,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,35,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,13,"div",[["class","help"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["The following variables are replaced by GNS3:"])),(n()(),o["\u0275eld"](32,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %h: console IP or hostname"])),(n()(),o["\u0275eld"](34,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %p: console port"])),(n()(),o["\u0275eld"](36,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %s: path of the serial connection"])),(n()(),o["\u0275eld"](38,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %d: title of the console"])),(n()(),o["\u0275eld"](40,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %i: Project UUID"])),(n()(),o["\u0275eld"](42,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %c: server URL (http://user:password@server:port) "])),(n()(),o["\u0275eld"](44,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](45,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](46,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](48,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](49,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](51,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){n(e,10,0,e.component.consoleForm),n(e,25,0,"command"),n(e,28,0,"Command"),n(e,49,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,45,0,o["\u0275nov"](e,46).disabled||null,"NoopAnimations"===o["\u0275nov"](e,46)._animationMode),n(e,48,0,o["\u0275nov"](e,49).disabled||null,"NoopAnimations"===o["\u0275nov"](e,49)._animationMode)})}function Yb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-console",[],null,null,null,Kb,Gb)),o["\u0275did"](1,114688,null,0,Wb,[Rl,Vb,fc],null,null)],function(n,e){n(e,1,0)},null)}var $b=o["\u0275ccf"]("app-console",Wb,Yb,{},{},[]),Xb=function(){function n(){}return n.prototype.ngOnInit=function(){null==window.loadedTextAds355353&&(window.loadedTextAds355353=new Array),window.id355353=165803,window.setID355353=355353,window.rnd=window.rnd||Math.floor(1e7*Math.random()),window.abkw=window.abkw||"";var n=window.sparkCounter355353;null==n?n=1:n+=1,window.sparkCounter355353=n,window.loadedTextAds355353[n]=!1,this.id=window.id355353,this.divId="abta355353"+n,this.setId=window.setID355353,this.abkw=window.abkw,this.rnd=window.rnd,this.sparkCounter=window.sparkCounter355353},n.prototype.ngAfterViewInit=function(){var n="https://servedbyadbutler.com/adserve/;ID="+this.id+";setID="+this.setId+";type=textad;kw="+this.abkw+";pid="+this.rnd+";layoutID="+this.sparkCounter,e=document.createElement("script");e.src=n,e.type="text/javascript",e.async=!0,e.charset="utf-8",this.code.nativeElement.appendChild(e)},n.prototype.ngOnDestroy=function(){window.sparkCounter355353=0,delete window.loadedTextAds355353[this.sparkCounter]},n}(),Qb=o["\u0275crt"]({encapsulation:2,styles:[[".butler a{color:#0097a7}.butler{font-size:14px}"]],data:{}});function Jb(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{code:0}),(n()(),o["\u0275eld"](1,0,null,null,4,"table",[["cellPadding","3"],["cellSpacing","0"],["class","butler"],["style","width: 600px; border: 0px solid #C0C0C0; background-color: #263238"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,3,"tbody",[],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,2,"tr",[],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,[[1,0],["code",1]],null,1,"td",[["height","80"],["style","background-color: #263238"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,0,"div",[],[[8,"id",0]],null,null,null,null))],null,function(n,e){n(e,5,0,o["\u0275inlineInterpolate"](1,"",e.component.divId,""))})}var ny=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}(),ey=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ty(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.buttonText)})}function ly(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,ty)),o["\u0275did"](3,16384,null,0,I.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["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}var oy=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}(),ry=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(){return[{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}]},n.prototype.getForLinux=function(){return[]},n.prototype.getForDarwin=function(){return[]},n}(),iy=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}(),ay=function(){function n(n,e){this.installedSoftwareService=n,this.changeDetectorRef=e,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){this.dataSource=new uy(this.installedSoftwareService)},n.prototype.onInstalled=function(n){this.dataSource.refresh(),this.changeDetectorRef.detectChanges()},n}(),uy=function(n){function e(e){var t=n.call(this)||this;return t.installedSoftwareService=e,t.installed=new E.a([]),t}return s.__extends(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}(Ps),sy=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function dy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function cy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,[" "," "]))],null,function(n,e){n(e,1,0,e.parent.context.$implicit.name)})}function py(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"app-adbutler",[],null,null,null,Jb,Qb)),o["\u0275did"](2,4440064,null,0,Xb,[],null,null)],function(n,e){n(e,2,0)},null)}function fy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,cy)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,py)),o["\u0275did"](5,16384,null,0,I.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 hy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null)],null,null)}function my(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},ly,ey)),o["\u0275did"](1,770048,null,0,ny,[mc],{software:[0,"software"]},{installedChanged:"installedChanged"})],function(n,e){n(e,1,0,e.parent.context.$implicit)},null)}function vy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,my)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,"adbutler"!==e.context.$implicit.type)},null)}function gy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function by(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function yy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,43,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Installed software"])),(n()(),o["\u0275eld"](4,0,null,null,39,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,38,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,37,"mat-table",[["class","mat-table"]],null,null,null,op,lp)),o["\u0275did"](7,2342912,[["table",4]],4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](12,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](14,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,5,{cell:0}),o["\u0275qud"](335544320,6,{headerCell:0}),o["\u0275qud"](335544320,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,dy)),o["\u0275did"](20,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,fy)),o["\u0275did"](23,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](25,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](27,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,8,{cell:0}),o["\u0275qud"](335544320,9,{headerCell:0}),o["\u0275qud"](335544320,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,hy)),o["\u0275did"](33,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,vy)),o["\u0275did"](36,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Sc,null,[Gc]),(n()(),o["\u0275and"](0,null,null,2,null,gy)),o["\u0275did"](39,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,by)),o["\u0275did"](42,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],Mc,null,[Jc])],function(n,e){var t=e.component;n(e,7,0,t.dataSource),n(e,14,0,"name"),n(e,27,0,"actions"),n(e,39,0,t.displayedColumns),n(e,42,0,t.displayedColumns)},null)}function _y(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-installed-software",[],null,null,null,yy,sy)),o["\u0275did"](1,114688,null,0,ay,[iy,o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}var wy=o["\u0275ccf"]("app-installed-software",ay,_y,{},{},[]),Cy=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}(),xy=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(),r=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return t+":"+l.substr(-2)+":"+o.substr(-2)+" "+a+"/"+i+"/"+r},n}(),Sy=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}(),ky=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}(),Ey=function(){function n(n){this.dialog=n}return n.prototype.open=function(){return this.dialog.open(ky,{width:"250px",autoFocus:!1})},n}(),Ty=function(){function n(n,e,t,l,o){this.snapshotService=n,this.serverService=e,this.route=t,this.progressDialogService=l,this.toaster=o,this.displayedColumns=["name","creationDate","actions"]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.projectId=this.route.snapshot.paramMap.get("project_id"),this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.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===ky.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}(),Ry=o["\u0275crt"]({encapsulation:0,styles:[[".filter-field[_ngcontent-%COMP%]{width:100%}.mat-table[_ngcontent-%COMP%]{margin:-16px!important}"]],data:{}});function Iy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},og,tg)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,ng,[Qv,o.ChangeDetectorRef,[2,Xv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Name "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function Oy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function Fy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},og,tg)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,ng,[Qv,o.ChangeDetectorRef,[2,Xv],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Date "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function Dy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "])),o["\u0275ppd"](3,1)],null,function(n,e){var t=o["\u0275unv"](e,2,0,n(e,3,0,o["\u0275nov"](e.parent,1),e.context.$implicit.created_at));n(e,2,0,t)})}function My(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function Ny(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Restore snapshot"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==r.restoreSnapshot(n.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](4,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](6,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["restore"])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete snapshot"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==r.deleteSnapshot(n.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).inline,"primary"!==o["\u0275nov"](e,6).color&&"accent"!==o["\u0275nov"](e,6).color&&"warn"!==o["\u0275nov"](e,6).color),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color)})}function Ay(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function Py(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function qy(n){return o["\u0275vid"](0,[o["\u0275pid"](0,Cy,[]),o["\u0275pid"](0,xy,[]),(n()(),o["\u0275eld"](2,0,null,null,77,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Snapshots"])),(n()(),o["\u0275eld"](7,0,null,null,72,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,71,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](9,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](10,0,null,0,16,"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,Fb,yb)),o["\u0275did"](11,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.searchText=t)&&l),l},null,null)),o["\u0275did"](20,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](22,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](24,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](25,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](27,0,null,0,52,"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},op,lp)),o["\u0275did"](28,2342912,[["table",4]],4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,8,{_contentColumnDefs:1}),o["\u0275qud"](603979776,9,{_contentRowDefs:1}),o["\u0275qud"](603979776,10,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,11,{_contentFooterRowDefs:1}),o["\u0275ppd"](33,2),o["\u0275did"](34,737280,null,0,Xv,[],null,{sortChange:"matSortChange"}),(n()(),o["\u0275eld"](35,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](37,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,12,{cell:0}),o["\u0275qud"](335544320,13,{headerCell:0}),o["\u0275qud"](335544320,14,{footerCell:0}),o["\u0275prd"](2048,[[8,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Iy)),o["\u0275did"](43,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[13,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Oy)),o["\u0275did"](46,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[12,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](48,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](50,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,15,{cell:0}),o["\u0275qud"](335544320,16,{headerCell:0}),o["\u0275qud"](335544320,17,{footerCell:0}),o["\u0275prd"](2048,[[8,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Fy)),o["\u0275did"](56,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[16,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Dy)),o["\u0275did"](59,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[15,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](61,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](63,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,18,{cell:0}),o["\u0275qud"](335544320,19,{headerCell:0}),o["\u0275qud"](335544320,20,{footerCell:0}),o["\u0275prd"](2048,[[8,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,My)),o["\u0275did"](69,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[19,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Ny)),o["\u0275did"](72,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[18,4]],Sc,null,[Gc]),(n()(),o["\u0275and"](0,null,null,2,null,Ay)),o["\u0275did"](75,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[10,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Py)),o["\u0275did"](78,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[9,4]],Mc,null,[Jc])],function(n,e){var t=e.component;n(e,22,0,t.searchText),n(e,25,0,"Filter");var l=o["\u0275unv"](e,28,0,n(e,33,0,o["\u0275nov"](e,0),t.snapshots,t.searchText));n(e,28,0,l),n(e,34,0),n(e,37,0,"name"),n(e,50,0,"creationDate"),n(e,63,0,"actions"),n(e,75,0,t.displayedColumns),n(e,78,0,t.displayedColumns)},function(n,e){n(e,10,1,["standard"==o["\u0275nov"](e,11).appearance,"fill"==o["\u0275nov"](e,11).appearance,"outline"==o["\u0275nov"](e,11).appearance,"legacy"==o["\u0275nov"](e,11).appearance,o["\u0275nov"](e,11)._control.errorState,o["\u0275nov"](e,11)._canLabelFloat,o["\u0275nov"](e,11)._shouldLabelFloat(),o["\u0275nov"](e,11)._hasFloatingLabel(),o["\u0275nov"](e,11)._hideControlPlaceholder(),o["\u0275nov"](e,11)._control.disabled,o["\u0275nov"](e,11)._control.autofilled,o["\u0275nov"](e,11)._control.focused,"accent"==o["\u0275nov"](e,11).color,"warn"==o["\u0275nov"](e,11).color,o["\u0275nov"](e,11)._shouldForward("untouched"),o["\u0275nov"](e,11)._shouldForward("touched"),o["\u0275nov"](e,11)._shouldForward("pristine"),o["\u0275nov"](e,11)._shouldForward("dirty"),o["\u0275nov"](e,11)._shouldForward("valid"),o["\u0275nov"](e,11)._shouldForward("invalid"),o["\u0275nov"](e,11)._shouldForward("pending"),!o["\u0275nov"](e,11)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()])})}function jy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-list-of-snapshots",[],null,null,null,qy,Ry)),o["\u0275did"](1,114688,null,0,Ty,[Sy,Uh,bt,Ey,fc],null,null)],function(n,e){n(e,1,0)},null)}var Ly=o["\u0275ccf"]("app-list-of-snapshots",Ty,jy,{},{},[]),Vy=[".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%}"],By=Yo(function(){return function(){}}()),zy=Yo(function(){return function(){}}()),Uy=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stateChanges=new A.b,e}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(By),Hy=function(n){function e(e){var t=n.call(this)||this;return t._elementRef=e,t._stateChanges=new A.b,"action-list"===t._getListType()&&e&&e.nativeElement.classList.add("mat-action-list"),t}return Object(s.__extends)(e,n),e.prototype._getListType=function(){var n=this._elementRef;if(n){var e=n.nativeElement.nodeName.toLowerCase();if("mat-list"===e)return"list";if("mat-action-list"===e)return"action-list"}return null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(By),Zy=function(n){function e(e,t,l,o){var r=n.call(this)||this;r._element=e,r._isInteractiveList=!1,r._destroyed=new A.b,r._isInteractiveList=!!(t||l&&"action-list"===l._getListType()),r._list=t||l;var i=r._getHostElement();return"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),r._list&&o&&r._list._stateChanges.pipe(Object(Is.a)(r._destroyed)).subscribe(function(){o.markForCheck()}),r}return Object(s.__extends)(e,n),e.prototype.ngAfterContentInit=function(){var n,e;e=this._element,(n=this._lines).changes.pipe(Object(W.a)(n)).subscribe(function(n){var t=n.length;or(e,"mat-2-line",!1),or(e,"mat-3-line",!1),or(e,"mat-multi-line",!1),2===t||3===t?or(e,"mat-"+t+"-line",!0):t>3&&or(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}(zy),Wy=function(){return function(){}}(),Gy=o["\u0275crt"]({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 Ky(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,Xy,$y)),o["\u0275did"](1,49152,null,0,mr,[[2,su]],{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["\u0275nov"](e,1).state,"checked"===o["\u0275nov"](e,1).state,o["\u0275nov"](e,1).disabled,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function Yy(n){return o["\u0275vid"](2,[(n()(),o["\u0275and"](16777216,null,null,1,null,Ky)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](5,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{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["\u0275nov"](e,5).unbounded)})}var $y=o["\u0275crt"]({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 Xy(n){return o["\u0275vid"](2,[],null,null)}var Qy=o["\u0275crt"]({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 Jy(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0)],null,null)}var n_=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function e_(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275did"](2,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),o["\u0275ncd"](null,1),o["\u0275ncd"](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["\u0275nov"](e,2).unbounded)})}var t_=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),l_=o["\u0275crt"]({encapsulation:0,styles:[Vy],data:{}});function o_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,64,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Preferences"])),(n()(),o["\u0275eld"](5,0,null,null,59,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,58,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,57,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](8,704512,null,0,Uy,[],null,null),(n()(),o["\u0275eld"](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["\u0275nov"](n,10).onClick()&&l),l},e_,n_)),o["\u0275did"](10,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](11,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,1,{_lines:1}),o["\u0275qud"](335544320,2,{_avatar:0}),o["\u0275qud"](335544320,3,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Built-in "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,17).onClick()&&l),l},e_,n_)),o["\u0275did"](17,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](18,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_lines:1}),o["\u0275qud"](335544320,5,{_avatar:0}),o["\u0275qud"](335544320,6,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Dynamips "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,24).onClick()&&l),l},e_,n_)),o["\u0275did"](24,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](25,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,7,{_lines:1}),o["\u0275qud"](335544320,8,{_avatar:0}),o["\u0275qud"](335544320,9,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" IOS on Unix "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,31).onClick()&&l),l},e_,n_)),o["\u0275did"](31,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](32,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,10,{_lines:1}),o["\u0275qud"](335544320,11,{_avatar:0}),o["\u0275qud"](335544320,12,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VPCS "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,38).onClick()&&l),l},e_,n_)),o["\u0275did"](38,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](39,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,13,{_lines:1}),o["\u0275qud"](335544320,14,{_avatar:0}),o["\u0275qud"](335544320,15,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" QEMU "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,45).onClick()&&l),l},e_,n_)),o["\u0275did"](45,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](46,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,16,{_lines:1}),o["\u0275qud"](335544320,17,{_avatar:0}),o["\u0275qud"](335544320,18,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VirtualBox "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,52).onClick()&&l),l},e_,n_)),o["\u0275did"](52,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](53,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,19,{_lines:1}),o["\u0275qud"](335544320,20,{_avatar:0}),o["\u0275qud"](335544320,21,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VMware "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,59).onClick()&&l),l},e_,n_)),o["\u0275did"](59,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](60,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,22,{_lines:1}),o["\u0275qud"](335544320,23,{_avatar:0}),o["\u0275qud"](335544320,24,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Docker "]))],function(n,e){var t=e.component;n(e,10,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin")),n(e,17,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/dynamips/templates")),n(e,24,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/iou/templates")),n(e,31,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/vpcs/templates")),n(e,38,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/qemu/templates")),n(e,45,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/virtualbox/templates")),n(e,52,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/vmware/templates")),n(e,59,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/docker/templates"))},function(n,e){n(e,9,0,o["\u0275nov"](e,11)._avatar||o["\u0275nov"](e,11)._icon,o["\u0275nov"](e,11)._avatar||o["\u0275nov"](e,11)._icon),n(e,16,0,o["\u0275nov"](e,18)._avatar||o["\u0275nov"](e,18)._icon,o["\u0275nov"](e,18)._avatar||o["\u0275nov"](e,18)._icon),n(e,23,0,o["\u0275nov"](e,25)._avatar||o["\u0275nov"](e,25)._icon,o["\u0275nov"](e,25)._avatar||o["\u0275nov"](e,25)._icon),n(e,30,0,o["\u0275nov"](e,32)._avatar||o["\u0275nov"](e,32)._icon,o["\u0275nov"](e,32)._avatar||o["\u0275nov"](e,32)._icon),n(e,37,0,o["\u0275nov"](e,39)._avatar||o["\u0275nov"](e,39)._icon,o["\u0275nov"](e,39)._avatar||o["\u0275nov"](e,39)._icon),n(e,44,0,o["\u0275nov"](e,46)._avatar||o["\u0275nov"](e,46)._icon,o["\u0275nov"](e,46)._avatar||o["\u0275nov"](e,46)._icon),n(e,51,0,o["\u0275nov"](e,53)._avatar||o["\u0275nov"](e,53)._icon,o["\u0275nov"](e,53)._avatar||o["\u0275nov"](e,53)._icon),n(e,58,0,o["\u0275nov"](e,60)._avatar||o["\u0275nov"](e,60)._icon,o["\u0275nov"](e,60)._avatar||o["\u0275nov"](e,60)._icon)})}function r_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-preferences",[],null,null,null,o_,l_)),o["\u0275did"](1,114688,null,0,t_,[bt],null,null)],function(n,e){n(e,1,0)},null)}var i_=o["\u0275ccf"]("app-preferences",t_,r_,{},{},[]),a_=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),u_=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function s_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,33,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Built-in preferences"])),(n()(),o["\u0275eld"](5,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,6).onClick()&&l),l},pu,cu)),o["\u0275did"](6,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](7,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"])),(n()(),o["\u0275eld"](9,0,null,null,24,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](10,0,null,null,23,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,22,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](12,704512,null,0,Uy,[],null,null),(n()(),o["\u0275eld"](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["\u0275nov"](n,14).onClick()&&l),l},e_,n_)),o["\u0275did"](14,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](15,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,1,{_lines:1}),o["\u0275qud"](335544320,2,{_avatar:0}),o["\u0275qud"](335544320,3,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Ethernet hubs "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,21).onClick()&&l),l},e_,n_)),o["\u0275did"](21,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](22,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_lines:1}),o["\u0275qud"](335544320,5,{_avatar:0}),o["\u0275qud"](335544320,6,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Ethernet switches "])),(n()(),o["\u0275eld"](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["\u0275nov"](n,28).onClick()&&l),l},e_,n_)),o["\u0275did"](28,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](29,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,7,{_lines:1}),o["\u0275qud"](335544320,8,{_avatar:0}),o["\u0275qud"](335544320,9,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Cloud nodes "]))],function(n,e){var t=e.component;n(e,6,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences")),n(e,14,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-hubs")),n(e,21,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-switches")),n(e,28,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/cloud-nodes"))},function(n,e){n(e,5,0,o["\u0275nov"](e,7).disabled||null,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,13,0,o["\u0275nov"](e,15)._avatar||o["\u0275nov"](e,15)._icon,o["\u0275nov"](e,15)._avatar||o["\u0275nov"](e,15)._icon),n(e,20,0,o["\u0275nov"](e,22)._avatar||o["\u0275nov"](e,22)._icon,o["\u0275nov"](e,22)._avatar||o["\u0275nov"](e,22)._icon),n(e,27,0,o["\u0275nov"](e,29)._avatar||o["\u0275nov"](e,29)._icon,o["\u0275nov"](e,29)._avatar||o["\u0275nov"](e,29)._icon)})}function d_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-built-in-preferences",[],null,null,null,s_,u_)),o["\u0275did"](1,114688,null,0,a_,[bt],null,null)],function(n,e){n(e,1,0)},null)}var c_=o["\u0275ccf"]("app-built-in-preferences",a_,d_,{},{},[]),p_=function(){return function(){this.emptyTemplatesListMessage="Empty templates list",this.textMessage&&(this.emptyTemplatesListMessage=this.textMessage)}}(),f_=o["\u0275crt"]({encapsulation:0,styles:[[".header[_ngcontent-%COMP%]{text-align:center;color:#a9a9a9}"]],data:{}});function h_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,0,null,0,1,"h6",[["class","header"]],null,null,null,null,null)),(n()(),o["\u0275ted"](4,null,[" "," "]))],null,function(n,e){n(e,4,0,e.component.emptyTemplatesListMessage)})}var m_=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 d.a.throw(!1)})},n}(),v_=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}(),g_=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(v_,{width:"300px",height:"250px",data:{templateName:n},autoFocus:!1}).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}(),b_=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function y_(n){return o["\u0275vid"](0,[],null,null)}var __=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}(),w_=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}(),C_=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function x_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function S_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Ethernet hub template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-hubs/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function k_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function E_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function T_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,E_)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.ethernetHubsTemplates)},null)}function R_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,T_)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function I_(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet hubs templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,x_)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,S_)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,k_)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,R_)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 O_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-templates",[],null,null,null,I_,C_)),o["\u0275did"](1,114688,null,0,w_,[bt,Uh,__],null,null)],function(n,e){n(e,1,0)},null)}var F_=o["\u0275ccf"]("app-ethernet-hubs-templates",w_,O_,{},{},[]),D_=function(){function n(){}return n.prototype.getQemuTemplate=function(){return Object(O.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(O.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(O.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(O.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(O.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(O.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(O.a)({auto_delete_disks:!0,builtin:!1,category:"router",chassis:"",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:"",iomem:0,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(O.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(O.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(O.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}(),M_=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Bm("",nm.required),numberOfPorts:new Bm("",nm.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.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(ag.v4)(),e.name=this.templateName;for(var t=0;t<this.numberOfPorts;t++)e.ports_mapping.push({name:"Ethernet"+t,port_number:t});this.builtInTemplatesService.addTemplate(this.server,e).subscribe(function(){n.goBack()})}},n}(),N_=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function A_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,53,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Ethernet hub template"])),(n()(),o["\u0275eld"](5,0,null,null,48,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,40,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,38,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,16,"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,Fb,yb)),o["\u0275did"](31,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,8,{_control:0}),o["\u0275qud"](335544320,9,{_placeholderChild:0}),o["\u0275qud"](335544320,10,{_labelChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](39,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfPorts"],["matInput",""],["placeholder","Number of ports"],["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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,40)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,40).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,40)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,40)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,45)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,45)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,45)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.numberOfPorts=t)&&l),l},null,null)),o["\u0275did"](40,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](42,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](44,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](45,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[8,4]],db,null,[qb]),(n()(),o["\u0275eld"](47,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](48,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](49,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](51,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](52,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Template name","text"),n(e,42,0,"numberOfPorts",t.numberOfPorts),n(e,45,0,"Number of ports","text"),n(e,52,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,30,1,["standard"==o["\u0275nov"](e,31).appearance,"fill"==o["\u0275nov"](e,31).appearance,"outline"==o["\u0275nov"](e,31).appearance,"legacy"==o["\u0275nov"](e,31).appearance,o["\u0275nov"](e,31)._control.errorState,o["\u0275nov"](e,31)._canLabelFloat,o["\u0275nov"](e,31)._shouldLabelFloat(),o["\u0275nov"](e,31)._hasFloatingLabel(),o["\u0275nov"](e,31)._hideControlPlaceholder(),o["\u0275nov"](e,31)._control.disabled,o["\u0275nov"](e,31)._control.autofilled,o["\u0275nov"](e,31)._control.focused,"accent"==o["\u0275nov"](e,31).color,"warn"==o["\u0275nov"](e,31).color,o["\u0275nov"](e,31)._shouldForward("untouched"),o["\u0275nov"](e,31)._shouldForward("touched"),o["\u0275nov"](e,31)._shouldForward("pristine"),o["\u0275nov"](e,31)._shouldForward("dirty"),o["\u0275nov"](e,31)._shouldForward("valid"),o["\u0275nov"](e,31)._shouldForward("invalid"),o["\u0275nov"](e,31)._shouldForward("pending"),!o["\u0275nov"](e,31)._animationsEnabled]),n(e,39,1,[o["\u0275nov"](e,44).ngClassUntouched,o["\u0275nov"](e,44).ngClassTouched,o["\u0275nov"](e,44).ngClassPristine,o["\u0275nov"](e,44).ngClassDirty,o["\u0275nov"](e,44).ngClassValid,o["\u0275nov"](e,44).ngClassInvalid,o["\u0275nov"](e,44).ngClassPending,o["\u0275nov"](e,45)._isServer,o["\u0275nov"](e,45).id,o["\u0275nov"](e,45).placeholder,o["\u0275nov"](e,45).disabled,o["\u0275nov"](e,45).required,o["\u0275nov"](e,45).readonly&&!o["\u0275nov"](e,45)._isNativeSelect||null,o["\u0275nov"](e,45)._ariaDescribedby||null,o["\u0275nov"](e,45).errorState,o["\u0275nov"](e,45).required.toString()]),n(e,48,0,o["\u0275nov"](e,49).disabled||null,"NoopAnimations"===o["\u0275nov"](e,49)._animationMode),n(e,51,0,o["\u0275nov"](e,52).disabled||null,"NoopAnimations"===o["\u0275nov"](e,52)._animationMode)})}function P_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-add-template",[],null,null,null,A_,N_)),o["\u0275did"](1,114688,null,0,M_,[bt,Uh,__,Rl,fc,D_,lv],null,null)],function(n,e){n(e,1,0)},null)}var q_=o["\u0275ccf"]("app-ethernet-hubs-add-template",M_,P_,{},{},[]),j_=0,L_=0,V_=new o.InjectionToken("mat-select-scroll-strategy");function B_(n){return function(){return n.scrollStrategies.reposition()}}var z_=function(){return function(n,e){this.source=n,this.value=e}}(),U_=function(n){function e(e,t,l,r,i,a,u,s,d,c,p,f,h){var m=n.call(this,i,r,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-"+j_++,m._destroy=new A.b,m._triggerFontSize=0,m._onChange=function(){},m._onTouched=function(){},m._optionIds="",m._transformOrigin="top",m._panelDoneAnimatingStream=new A.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(N.a)(function(){return m.options?Ts.a.apply(void 0,m.options.map(function(n){return n.onSelectionChange})):m._ngZone.onStable.asObservable().pipe(Object(Z.a)(1),Object(H.a)(function(){return m.optionSelectionChanges}))}),m.openedChange=new o.EventEmitter,m._openedStream=m.openedChange.pipe(Object(K.a)(function(n){return n}),Object(q.a)(function(){})),m._closedStream=m.openedChange.pipe(Object(K.a)(function(n){return!n}),Object(q.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(s.__extends)(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=ao(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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(n){this._disableOptionCentering=ao(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 js(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(Ds.a)(),Object(Is.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())})},e.prototype.ngAfterContentInit=function(){var n=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(Is.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(W.a)(null),Object(Is.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()},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(Z.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)&&!Co(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),this._liveAnnouncer&&o!==this.selected&&this._liveAnnouncer.announce(this.selected.viewValue)}},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||Co(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 r=l.activeItemIndex;l.onKeydown(n),this._multiple&&t&&n.shiftKey&&l.activeItem&&l.activeItemIndex!==r&&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(Z.a)(1)).subscribe(function(){n._setPseudoCheckboxPaddingSize(),n._changeDetectorRef.detectChanges(),n._calculateOverlayOffsetX(),n.panel.nativeElement.scrollTop=n._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},e.prototype._setPseudoCheckboxPaddingSize=function(){if(!L_&&this.multiple){var n=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");n&&(L_=24+n.offsetWidth)}},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._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 Oo(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(Is.a)(this._destroy)).subscribe(function(){n.focus(),n.close()}),this._keyManager.change.pipe(Object(Is.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(Ts.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(Is.a)(e)).subscribe(function(e){n._onSelect(e.source,e.isUserInput),e.isUserInput&&!n.multiple&&n._panelOpen&&(n.close(),n.focus())}),Ts.a.apply(void 0,this.options.map(function(n){return n._stateChanges})).pipe(Object(Is.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?(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 z_(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=xr(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(){this._elementRef.nativeElement.focus()},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+=xr(o,this.options,this.optionGroups);var r=t/2;this._scrollTop=this._calculateOverlayScroll(o,r,l),this._offsetY=this._calculateOverlayOffsetY(o,r,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?L_+16:32;if(this.multiple)n=L_;else{var r=this._selectionModel.selected[0]||this.options.first;n=r&&r.group?32:16}l||(n*=-1);var i=0-(e.left+n-(l?o:0)),a=e.right+n-t.width+(l?0:o);i>0?n+=i+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(),r=(o-this._triggerRect.height)/2,i=Math.floor(256/o);return this._disableOptionCentering?0:(l=0===this._scrollTop?n*o:this._scrollTop===t?(n-(this._getItemCount()-i))*o+(o-(this._getItemCount()*o-256)%o):e-o/2,Math.round(-1*l-r))},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,r=Math.abs(this._offsetY),i=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;i>o?this._adjustPanelUp(i,o):r>l?this._adjustPanelDown(r,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}(Yo($o(Go(Xo(function(){return function(n,e,t,l,o){this._elementRef=n,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=l,this.ngControl=o}}()))))),H_=function(){return function(){}}(),Z_=o["\u0275crt"]({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 W_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.placeholder||"\xa0")})}function G_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.triggerValue||"\xa0")})}function K_(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function Y_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,G_)),o["\u0275did"](3,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,K_)),o["\u0275did"](5,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(n,e){n(e,1,0,!!e.component.customTrigger),n(e,5,0,!0)},null)}function $_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(n()(),o["\u0275eld"](1,0,[[2,0],["panel",1]],null,2,"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["\u0275did"](2,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275ncd"](null,1)],function(n,e){var t=e.component;n(e,2,0,o["\u0275inlineInterpolate"](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 X_(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{trigger:0}),o["\u0275qud"](671088640,2,{panel:0}),o["\u0275qud"](402653184,3,{overlayDir:0}),(n()(),o["\u0275eld"](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["\u0275did"](4,16384,[["origin",4]],0,hd,[o.ElementRef],null,null),(n()(),o["\u0275eld"](5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),o["\u0275did"](6,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,W_)),o["\u0275did"](8,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Y_)),o["\u0275did"](10,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275eld"](11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(n()(),o["\u0275and"](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},$_)),o["\u0275did"](14,671744,[[3,4]],0,md,[cd,o.TemplateRef,o.ViewContainerRef,fd,[2,Dr]],{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["\u0275nov"](e,4),t._positions,t._offsetY,null==t._triggerRect?null:t._triggerRect.width,"cdk-overlay-transparent-backdrop",t._scrollStrategy,t.panelOpen,"","")},null)}var Q_=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}(),J_=function(){function n(n){this.httpServer=n,this.symbols=new E.a([])}return n.prototype.get=function(n){return this.symbols.getValue().find(function(e){return e.symbol_id===n})},n.prototype.load=function(n){var e=this,t=this.list(n).subscribe(function(l){var o=l.map(function(t){return e.raw(n,t.symbol_id)});Object(ns.a)(o).subscribe(function(n){l.forEach(function(e,t){e.raw=n[t]}),e.symbols.next(l),t.unsubscribe()})});return this.symbols.asObservable()},n.prototype.list=function(n){return this.httpServer.get(n,"/symbols")},n.prototype.raw=function(n,e){var t=encodeURI(e);return this.httpServer.getText(n,"/symbols/"+t+"/raw")},n}(),nw=function(){function n(n){this.symbolService=n,this.symbolChanged=new o.EventEmitter,this.symbols=[],this.isSelected="",this.searchText=""}return n.prototype.ngOnInit=function(){var n=this;this.isSelected=this.symbol,this.symbolService.list(this.server).subscribe(function(e){n.symbols=e})},n.prototype.setSelected=function(n){this.isSelected=n,this.symbolChanged.emit(this.isSelected)},n}(),ew=o["\u0275crt"]({encapsulation:0,styles:[[".buttonWrapper[_ngcontent-%COMP%]{width:85px;height:85px;display:flex;align-items:center;margin-left:auto;margin-right:auto;outline:0}.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}.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}"]],data:{}});function tw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","buttonWrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,5,"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["\u0275did"](2,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{buttonSelected:0}),(n()(),o["\u0275eld"](4,0,null,null,2,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),o["\u0275did"](5,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](6,{imageSelected:0})],function(n,e){var t=e.component,l=n(e,3,0,t.isSelected===e.context.$implicit.symbol_id);n(e,2,0,"button",l);var o=n(e,6,0,t.isSelected===e.context.$implicit.symbol_id);n(e,5,0,"image",o)},function(n,e){n(e,4,0,o["\u0275inlineInterpolate"](1,"http://127.0.0.1:3080/v2/symbols/",e.context.$implicit.symbol_id,"/raw"))})}function lw(n){return o["\u0275vid"](0,[o["\u0275pid"](0,Q_,[]),(n()(),o["\u0275eld"](1,0,null,null,15,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,0,null,0,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by filename"],["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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,5)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,5).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,5)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,5)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,10)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,10)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.searchText=t)&&l),l},null,null)),o["\u0275prd"](6144,null,db,null,[qb]),o["\u0275did"](5,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](7,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](9,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](10,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),(n()(),o["\u0275eld"](11,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](13,0,null,0,3,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,tw)),o["\u0275did"](15,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275ppd"](16,2)],function(n,e){var t=e.component;n(e,7,0,t.searchText),n(e,10,0,"Search by filename","text");var l=o["\u0275unv"](e,15,0,n(e,16,0,o["\u0275nov"](e,0),t.symbols,t.searchText));n(e,15,0,l)},function(n,e){n(e,3,1,[o["\u0275nov"](e,9).ngClassUntouched,o["\u0275nov"](e,9).ngClassTouched,o["\u0275nov"](e,9).ngClassPristine,o["\u0275nov"](e,9).ngClassDirty,o["\u0275nov"](e,9).ngClassValid,o["\u0275nov"](e,9).ngClassInvalid,o["\u0275nov"](e,9).ngClassPending,o["\u0275nov"](e,10)._isServer,o["\u0275nov"](e,10).id,o["\u0275nov"](e,10).placeholder,o["\u0275nov"](e,10).disabled,o["\u0275nov"](e,10).required,o["\u0275nov"](e,10).readonly&&!o["\u0275nov"](e,10)._isNativeSelect||null,o["\u0275nov"](e,10)._ariaDescribedby||null,o["\u0275nov"](e,10).errorState,o["\u0275nov"](e,10).required.toString()])})}function ow(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols",[],null,null,null,lw,ew)),o["\u0275did"](1,114688,null,0,nw,[J_],null,null)],function(n,e){n(e,1,0)},null)}var rw=o["\u0275ccf"]("app-symbols",nw,ow,{server:"server",symbol:"symbol"},{symbolChanged:"symbolChanged"},[]),iw=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}(),aw=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function uw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Symbol selection"])),(n()(),o["\u0275eld"](5,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](6,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](8,0,null,null,2,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](11,0,null,null,2,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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},lw,ew)),o["\u0275did"](13,114688,null,0,nw,[J_],{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["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode)})}var sw=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}(),dw=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.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}(),cw=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function pw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[29,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function fw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,112,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,103,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,0,null,0,101,"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["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,0,null,null,16,"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,Fb,yb)),o["\u0275did"](9,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](17,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,18)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,18)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,18)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,23)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.name=t)&&l),l},null,null)),o["\u0275did"](18,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](20,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](22,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](23,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](25,0,null,null,16,"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,Fb,yb)),o["\u0275did"](26,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,8,{_control:0}),o["\u0275qud"](335544320,9,{_placeholderChild:0}),o["\u0275qud"](335544320,10,{_labelChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](34,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,40)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](35,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](37,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](39,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](40,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[8,4]],db,null,[qb]),(n()(),o["\u0275eld"](42,0,null,null,16,"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,Fb,yb)),o["\u0275did"](43,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,15,{_control:0}),o["\u0275qud"](335544320,16,{_placeholderChild:0}),o["\u0275qud"](335544320,17,{_labelChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](54,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](56,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](57,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[15,4]],db,null,[qb]),(n()(),o["\u0275eld"](59,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](60,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](62,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](63,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](64,0,null,null,21,"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,Fb,yb)),o["\u0275did"](65,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,22,{_control:0}),o["\u0275qud"](335544320,23,{_placeholderChild:0}),o["\u0275qud"](335544320,24,{_labelChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](73,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,79)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,79)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,79)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](75,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](76,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](78,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](79,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,29,{options:1}),o["\u0275qud"](603979776,30,{optionGroups:1}),o["\u0275qud"](335544320,31,{customTrigger:0}),o["\u0275prd"](2048,[[22,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,pw)),o["\u0275did"](85,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](86,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,Fb,yb)),o["\u0275did"](87,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,32,{_control:0}),o["\u0275qud"](335544320,33,{_placeholderChild:0}),o["\u0275qud"](335544320,34,{_labelChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](95,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,96)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,96).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,96)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,96)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,97).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,97).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,97).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,103)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,103)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,103)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.numberOfPorts=t)&&l),l},null,null)),o["\u0275did"](96,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](97,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](99,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](100,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](102,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](103,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[32,4]],db,null,[qb]),(n()(),o["\u0275eld"](105,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](106,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](107,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](109,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](110,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](112,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,20,0,"templateName",t.ethernetHubTemplate.name),n(e,23,0,"Template name","text"),n(e,37,0,"defaultName",t.ethernetHubTemplate.default_name_format),n(e,40,0,"Default name format","text"),n(e,54,0,"symbol",t.ethernetHubTemplate.symbol),n(e,57,0,"Symbol","text");var l=t.ethernetHubTemplate.category,o=n(e,76,0,!0);n(e,75,0,l,o),n(e,79,0,"Category"),n(e,85,0,t.categories);var r=t.numberOfPorts,i=n(e,100,0,!0);n(e,99,0,r,i),n(e,103,0,"Number of ports","number"),n(e,110,0,"primary")},function(n,e){n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,17,1,[o["\u0275nov"](e,22).ngClassUntouched,o["\u0275nov"](e,22).ngClassTouched,o["\u0275nov"](e,22).ngClassPristine,o["\u0275nov"](e,22).ngClassDirty,o["\u0275nov"](e,22).ngClassValid,o["\u0275nov"](e,22).ngClassInvalid,o["\u0275nov"](e,22).ngClassPending,o["\u0275nov"](e,23)._isServer,o["\u0275nov"](e,23).id,o["\u0275nov"](e,23).placeholder,o["\u0275nov"](e,23).disabled,o["\u0275nov"](e,23).required,o["\u0275nov"](e,23).readonly&&!o["\u0275nov"](e,23)._isNativeSelect||null,o["\u0275nov"](e,23)._ariaDescribedby||null,o["\u0275nov"](e,23).errorState,o["\u0275nov"](e,23).required.toString()]),n(e,25,1,["standard"==o["\u0275nov"](e,26).appearance,"fill"==o["\u0275nov"](e,26).appearance,"outline"==o["\u0275nov"](e,26).appearance,"legacy"==o["\u0275nov"](e,26).appearance,o["\u0275nov"](e,26)._control.errorState,o["\u0275nov"](e,26)._canLabelFloat,o["\u0275nov"](e,26)._shouldLabelFloat(),o["\u0275nov"](e,26)._hasFloatingLabel(),o["\u0275nov"](e,26)._hideControlPlaceholder(),o["\u0275nov"](e,26)._control.disabled,o["\u0275nov"](e,26)._control.autofilled,o["\u0275nov"](e,26)._control.focused,"accent"==o["\u0275nov"](e,26).color,"warn"==o["\u0275nov"](e,26).color,o["\u0275nov"](e,26)._shouldForward("untouched"),o["\u0275nov"](e,26)._shouldForward("touched"),o["\u0275nov"](e,26)._shouldForward("pristine"),o["\u0275nov"](e,26)._shouldForward("dirty"),o["\u0275nov"](e,26)._shouldForward("valid"),o["\u0275nov"](e,26)._shouldForward("invalid"),o["\u0275nov"](e,26)._shouldForward("pending"),!o["\u0275nov"](e,26)._animationsEnabled]),n(e,34,1,[o["\u0275nov"](e,39).ngClassUntouched,o["\u0275nov"](e,39).ngClassTouched,o["\u0275nov"](e,39).ngClassPristine,o["\u0275nov"](e,39).ngClassDirty,o["\u0275nov"](e,39).ngClassValid,o["\u0275nov"](e,39).ngClassInvalid,o["\u0275nov"](e,39).ngClassPending,o["\u0275nov"](e,40)._isServer,o["\u0275nov"](e,40).id,o["\u0275nov"](e,40).placeholder,o["\u0275nov"](e,40).disabled,o["\u0275nov"](e,40).required,o["\u0275nov"](e,40).readonly&&!o["\u0275nov"](e,40)._isNativeSelect||null,o["\u0275nov"](e,40)._ariaDescribedby||null,o["\u0275nov"](e,40).errorState,o["\u0275nov"](e,40).required.toString()]),n(e,42,1,["standard"==o["\u0275nov"](e,43).appearance,"fill"==o["\u0275nov"](e,43).appearance,"outline"==o["\u0275nov"](e,43).appearance,"legacy"==o["\u0275nov"](e,43).appearance,o["\u0275nov"](e,43)._control.errorState,o["\u0275nov"](e,43)._canLabelFloat,o["\u0275nov"](e,43)._shouldLabelFloat(),o["\u0275nov"](e,43)._hasFloatingLabel(),o["\u0275nov"](e,43)._hideControlPlaceholder(),o["\u0275nov"](e,43)._control.disabled,o["\u0275nov"](e,43)._control.autofilled,o["\u0275nov"](e,43)._control.focused,"accent"==o["\u0275nov"](e,43).color,"warn"==o["\u0275nov"](e,43).color,o["\u0275nov"](e,43)._shouldForward("untouched"),o["\u0275nov"](e,43)._shouldForward("touched"),o["\u0275nov"](e,43)._shouldForward("pristine"),o["\u0275nov"](e,43)._shouldForward("dirty"),o["\u0275nov"](e,43)._shouldForward("valid"),o["\u0275nov"](e,43)._shouldForward("invalid"),o["\u0275nov"](e,43)._shouldForward("pending"),!o["\u0275nov"](e,43)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,0,o["\u0275nov"](e,60).disabled||null,"NoopAnimations"===o["\u0275nov"](e,60)._animationMode),n(e,64,1,["standard"==o["\u0275nov"](e,65).appearance,"fill"==o["\u0275nov"](e,65).appearance,"outline"==o["\u0275nov"](e,65).appearance,"legacy"==o["\u0275nov"](e,65).appearance,o["\u0275nov"](e,65)._control.errorState,o["\u0275nov"](e,65)._canLabelFloat,o["\u0275nov"](e,65)._shouldLabelFloat(),o["\u0275nov"](e,65)._hasFloatingLabel(),o["\u0275nov"](e,65)._hideControlPlaceholder(),o["\u0275nov"](e,65)._control.disabled,o["\u0275nov"](e,65)._control.autofilled,o["\u0275nov"](e,65)._control.focused,"accent"==o["\u0275nov"](e,65).color,"warn"==o["\u0275nov"](e,65).color,o["\u0275nov"](e,65)._shouldForward("untouched"),o["\u0275nov"](e,65)._shouldForward("touched"),o["\u0275nov"](e,65)._shouldForward("pristine"),o["\u0275nov"](e,65)._shouldForward("dirty"),o["\u0275nov"](e,65)._shouldForward("valid"),o["\u0275nov"](e,65)._shouldForward("invalid"),o["\u0275nov"](e,65)._shouldForward("pending"),!o["\u0275nov"](e,65)._animationsEnabled]),n(e,73,1,[o["\u0275nov"](e,78).ngClassUntouched,o["\u0275nov"](e,78).ngClassTouched,o["\u0275nov"](e,78).ngClassPristine,o["\u0275nov"](e,78).ngClassDirty,o["\u0275nov"](e,78).ngClassValid,o["\u0275nov"](e,78).ngClassInvalid,o["\u0275nov"](e,78).ngClassPending,o["\u0275nov"](e,79).id,o["\u0275nov"](e,79).tabIndex,o["\u0275nov"](e,79)._getAriaLabel(),o["\u0275nov"](e,79)._getAriaLabelledby(),o["\u0275nov"](e,79).required.toString(),o["\u0275nov"](e,79).disabled.toString(),o["\u0275nov"](e,79).errorState,o["\u0275nov"](e,79).panelOpen?o["\u0275nov"](e,79)._optionIds:null,o["\u0275nov"](e,79).multiple,o["\u0275nov"](e,79)._ariaDescribedby||null,o["\u0275nov"](e,79)._getAriaActiveDescendant(),o["\u0275nov"](e,79).disabled,o["\u0275nov"](e,79).errorState,o["\u0275nov"](e,79).required,o["\u0275nov"](e,79).empty]),n(e,86,1,["standard"==o["\u0275nov"](e,87).appearance,"fill"==o["\u0275nov"](e,87).appearance,"outline"==o["\u0275nov"](e,87).appearance,"legacy"==o["\u0275nov"](e,87).appearance,o["\u0275nov"](e,87)._control.errorState,o["\u0275nov"](e,87)._canLabelFloat,o["\u0275nov"](e,87)._shouldLabelFloat(),o["\u0275nov"](e,87)._hasFloatingLabel(),o["\u0275nov"](e,87)._hideControlPlaceholder(),o["\u0275nov"](e,87)._control.disabled,o["\u0275nov"](e,87)._control.autofilled,o["\u0275nov"](e,87)._control.focused,"accent"==o["\u0275nov"](e,87).color,"warn"==o["\u0275nov"](e,87).color,o["\u0275nov"](e,87)._shouldForward("untouched"),o["\u0275nov"](e,87)._shouldForward("touched"),o["\u0275nov"](e,87)._shouldForward("pristine"),o["\u0275nov"](e,87)._shouldForward("dirty"),o["\u0275nov"](e,87)._shouldForward("valid"),o["\u0275nov"](e,87)._shouldForward("invalid"),o["\u0275nov"](e,87)._shouldForward("pending"),!o["\u0275nov"](e,87)._animationsEnabled]),n(e,95,1,[o["\u0275nov"](e,102).ngClassUntouched,o["\u0275nov"](e,102).ngClassTouched,o["\u0275nov"](e,102).ngClassPristine,o["\u0275nov"](e,102).ngClassDirty,o["\u0275nov"](e,102).ngClassValid,o["\u0275nov"](e,102).ngClassInvalid,o["\u0275nov"](e,102).ngClassPending,o["\u0275nov"](e,103)._isServer,o["\u0275nov"](e,103).id,o["\u0275nov"](e,103).placeholder,o["\u0275nov"](e,103).disabled,o["\u0275nov"](e,103).required,o["\u0275nov"](e,103).readonly&&!o["\u0275nov"](e,103)._isNativeSelect||null,o["\u0275nov"](e,103)._ariaDescribedby||null,o["\u0275nov"](e,103).errorState,o["\u0275nov"](e,103).required.toString()]),n(e,106,0,o["\u0275nov"](e,107).disabled||null,"NoopAnimations"===o["\u0275nov"](e,107)._animationMode),n(e,109,0,o["\u0275nov"](e,110).disabled||null,"NoopAnimations"===o["\u0275nov"](e,110)._animationMode)})}function hw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 mw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet hub settings"])),(n()(),o["\u0275and"](16777216,null,null,1,null,fw)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,hw)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.ethernetHubTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.ethernetHubTemplate)},null)}function vw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-template-details",[],null,null,null,mw,cw)),o["\u0275did"](1,114688,null,0,dw,[bt,Uh,__,fc,lv,sw,Rl],null,null)],function(n,e){n(e,1,0)},null)}var gw=o["\u0275ccf"]("app-ethernet-hubs-template-details",dw,vw,{},{},[]),bw=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}(),yw=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function _w(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function ww(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Ethernet switch template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-switches/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Cw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function xw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function Sw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,xw)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.ethernetSwitchesTemplates)},null)}function kw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Sw)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function Ew(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet switches templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,_w)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ww)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Cw)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,kw)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 Tw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-templates",[],null,null,null,Ew,yw)),o["\u0275did"](1,114688,null,0,bw,[bt,Uh,__],null,null)],function(n,e){n(e,1,0)},null)}var Rw=o["\u0275ccf"]("app-ethernet-switches-templates",bw,Tw,{},{},[]),Iw=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Bm("",nm.required),numberOfPorts:new Bm("",nm.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.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},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(ag.v4)(),e.name=this.templateName;for(var t=0;t<this.numberOfPorts;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}(),Ow=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function Fw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Ethernet switch template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Template name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function Dw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-add-template",[],null,null,null,Fw,Ow)),o["\u0275did"](1,114688,null,0,Iw,[bt,Uh,__,Rl,fc,D_,lv],null,null)],function(n,e){n(e,1,0)},null)}var Mw=o["\u0275ccf"]("app-ethernet-switches-add-template",Iw,Dw,{},{},[]),Nw=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=r,this.router=i,this.ethernetPorts=[],this.dataSource=[],this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.portTypes=[],this.etherTypes=[],this.displayedColumns=["port_number","vlan","type","ethertype"],this.inputForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.required)}),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.ethernetSwitchTemplate=e,n.ethernetPorts=n.ethernetSwitchTemplate.ports_mapping,n.dataSource=n.ethernetSwitchTemplate.ports_mapping})})},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForEthernetSwitches(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches(),this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches()},n.prototype.onAdd=function(){this.ethernetPorts.push(this.newPort),this.dataSource=this.ethernetPorts.slice(),this.newPort={name:"",port_number:0}},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.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}(),Aw=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function Pw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[31,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function qw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[41,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function jw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port number "]))],null,null)}function Lw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.port_number)})}function Vw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" VLAN "]))],null,null)}function Bw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.vlan)})}function zw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Type "]))],null,null)}function Uw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.type)})}function Hw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" EtherType "]))],null,null)}function Zw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.ethertype)})}function Ww(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function Gw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function Kw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[82,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Yw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[92,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function $w(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,159,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](1,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,44,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](4,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,5)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,5)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](5,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](6,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](7,{value:0,params:1}),(n()(),o["\u0275eld"](8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Port settings "])),(n()(),o["\u0275eld"](11,0,null,1,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,op,lp)),o["\u0275did"](12,2342912,null,4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,45,{_contentColumnDefs:1}),o["\u0275qud"](603979776,46,{_contentRowDefs:1}),o["\u0275qud"](603979776,47,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,48,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](17,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](19,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,49,{cell:0}),o["\u0275qud"](335544320,50,{headerCell:0}),o["\u0275qud"](335544320,51,{footerCell:0}),o["\u0275prd"](2048,[[45,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,jw)),o["\u0275did"](25,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[50,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Lw)),o["\u0275did"](28,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[49,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](30,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](32,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,52,{cell:0}),o["\u0275qud"](335544320,53,{headerCell:0}),o["\u0275qud"](335544320,54,{footerCell:0}),o["\u0275prd"](2048,[[45,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Vw)),o["\u0275did"](38,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[53,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Bw)),o["\u0275did"](41,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[52,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](43,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](45,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,55,{cell:0}),o["\u0275qud"](335544320,56,{headerCell:0}),o["\u0275qud"](335544320,57,{footerCell:0}),o["\u0275prd"](2048,[[45,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,zw)),o["\u0275did"](51,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[56,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Uw)),o["\u0275did"](54,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[55,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](56,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](58,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,58,{cell:0}),o["\u0275qud"](335544320,59,{headerCell:0}),o["\u0275qud"](335544320,60,{footerCell:0}),o["\u0275prd"](2048,[[45,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,Hw)),o["\u0275did"](64,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[59,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,Zw)),o["\u0275did"](67,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[58,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](69,0,null,null,6,"tbody",[],null,null,null,null,null)),(n()(),o["\u0275and"](0,null,null,2,null,Ww)),o["\u0275did"](71,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[47,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Gw)),o["\u0275did"](74,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[46,4]],Mc,null,[Jc]),(n()(),o["\u0275eld"](76,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,1,17,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,61,{_control:0}),o["\u0275qud"](335544320,62,{_placeholderChild:0}),o["\u0275qud"](335544320,63,{_labelChild:0}),o["\u0275qud"](603979776,64,{_errorChildren:1}),o["\u0275qud"](603979776,65,{_hintChildren:1}),o["\u0275qud"](603979776,66,{_prefixChildren:1}),o["\u0275qud"](603979776,67,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,87)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,87).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,88).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,88).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,88).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,93)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,93)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,93)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.port_number=t)&&l),l},null,null)),o["\u0275did"](87,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](88,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](90,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](92,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](93,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[61,4]],db,null,[qb]),(n()(),o["\u0275eld"](95,0,null,1,17,"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,Fb,yb)),o["\u0275did"](96,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,68,{_control:0}),o["\u0275qud"](335544320,69,{_placeholderChild:0}),o["\u0275qud"](335544320,70,{_labelChild:0}),o["\u0275qud"](603979776,71,{_errorChildren:1}),o["\u0275qud"](603979776,72,{_hintChildren:1}),o["\u0275qud"](603979776,73,{_prefixChildren:1}),o["\u0275qud"](603979776,74,{_suffixChildren:1}),(n()(),o["\u0275eld"](104,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,105)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,105).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,105)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,105)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,106).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,106).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,106).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,111)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,111)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,111)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.vlan=t)&&l),l},null,null)),o["\u0275did"](105,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](106,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](108,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](110,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](111,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[68,4]],db,null,[qb]),(n()(),o["\u0275eld"](113,0,null,1,21,"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,Fb,yb)),o["\u0275did"](114,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,75,{_control:0}),o["\u0275qud"](335544320,76,{_placeholderChild:0}),o["\u0275qud"](335544320,77,{_labelChild:0}),o["\u0275qud"](603979776,78,{_errorChildren:1}),o["\u0275qud"](603979776,79,{_hintChildren:1}),o["\u0275qud"](603979776,80,{_prefixChildren:1}),o["\u0275qud"](603979776,81,{_suffixChildren:1}),(n()(),o["\u0275eld"](122,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,128)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,128)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,128)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](124,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](125,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](127,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](128,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,82,{options:1}),o["\u0275qud"](603979776,83,{optionGroups:1}),o["\u0275qud"](335544320,84,{customTrigger:0}),o["\u0275prd"](2048,[[75,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Kw)),o["\u0275did"](134,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](135,0,null,1,21,"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,Fb,yb)),o["\u0275did"](136,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,85,{_control:0}),o["\u0275qud"](335544320,86,{_placeholderChild:0}),o["\u0275qud"](335544320,87,{_labelChild:0}),o["\u0275qud"](603979776,88,{_errorChildren:1}),o["\u0275qud"](603979776,89,{_hintChildren:1}),o["\u0275qud"](603979776,90,{_prefixChildren:1}),o["\u0275qud"](603979776,91,{_suffixChildren:1}),(n()(),o["\u0275eld"](144,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,150)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,150)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,150)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.ethertype=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](146,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](147,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](149,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](150,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,92,{options:1}),o["\u0275qud"](603979776,93,{optionGroups:1}),o["\u0275qud"](335544320,94,{customTrigger:0}),o["\u0275prd"](2048,[[85,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Yw)),o["\u0275did"](156,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](157,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](158,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){var t=e.component;n(e,12,0,t.dataSource),n(e,19,0,"port_number"),n(e,32,0,"vlan"),n(e,45,0,"type"),n(e,58,0,"ethertype"),n(e,71,0,t.displayedColumns),n(e,74,0,t.displayedColumns),n(e,90,0,t.newPort.port_number),n(e,93,0,"Port","number"),n(e,108,0,t.newPort.vlan),n(e,111,0,"VLAN","number");var l=t.newPort.type,o=n(e,125,0,!0);n(e,124,0,l,o),n(e,128,0,"Type"),n(e,134,0,t.portTypes);var r=t.newPort.ethertype,i=n(e,147,0,!0);n(e,146,0,r,i),n(e,150,0,"EtherType"),n(e,156,0,t.etherTypes)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).expanded,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode,o["\u0275nov"](e,1)._hasSpacing());var t=o["\u0275nov"](e,5).panel._headerId,l=o["\u0275nov"](e,5).disabled?-1:0,r=o["\u0275nov"](e,5)._getPanelId(),i=o["\u0275nov"](e,5)._isExpanded(),a=o["\u0275nov"](e,5).panel.disabled,u=o["\u0275nov"](e,5)._isExpanded(),s=n(e,7,0,o["\u0275nov"](e,5)._getExpandedState(),n(e,6,0,o["\u0275nov"](e,5).collapsedHeight,o["\u0275nov"](e,5).expandedHeight));n(e,4,0,t,l,r,i,a,u,s),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,92).ngClassUntouched,o["\u0275nov"](e,92).ngClassTouched,o["\u0275nov"](e,92).ngClassPristine,o["\u0275nov"](e,92).ngClassDirty,o["\u0275nov"](e,92).ngClassValid,o["\u0275nov"](e,92).ngClassInvalid,o["\u0275nov"](e,92).ngClassPending,o["\u0275nov"](e,93)._isServer,o["\u0275nov"](e,93).id,o["\u0275nov"](e,93).placeholder,o["\u0275nov"](e,93).disabled,o["\u0275nov"](e,93).required,o["\u0275nov"](e,93).readonly&&!o["\u0275nov"](e,93)._isNativeSelect||null,o["\u0275nov"](e,93)._ariaDescribedby||null,o["\u0275nov"](e,93).errorState,o["\u0275nov"](e,93).required.toString()]),n(e,95,1,["standard"==o["\u0275nov"](e,96).appearance,"fill"==o["\u0275nov"](e,96).appearance,"outline"==o["\u0275nov"](e,96).appearance,"legacy"==o["\u0275nov"](e,96).appearance,o["\u0275nov"](e,96)._control.errorState,o["\u0275nov"](e,96)._canLabelFloat,o["\u0275nov"](e,96)._shouldLabelFloat(),o["\u0275nov"](e,96)._hasFloatingLabel(),o["\u0275nov"](e,96)._hideControlPlaceholder(),o["\u0275nov"](e,96)._control.disabled,o["\u0275nov"](e,96)._control.autofilled,o["\u0275nov"](e,96)._control.focused,"accent"==o["\u0275nov"](e,96).color,"warn"==o["\u0275nov"](e,96).color,o["\u0275nov"](e,96)._shouldForward("untouched"),o["\u0275nov"](e,96)._shouldForward("touched"),o["\u0275nov"](e,96)._shouldForward("pristine"),o["\u0275nov"](e,96)._shouldForward("dirty"),o["\u0275nov"](e,96)._shouldForward("valid"),o["\u0275nov"](e,96)._shouldForward("invalid"),o["\u0275nov"](e,96)._shouldForward("pending"),!o["\u0275nov"](e,96)._animationsEnabled]),n(e,104,1,[o["\u0275nov"](e,110).ngClassUntouched,o["\u0275nov"](e,110).ngClassTouched,o["\u0275nov"](e,110).ngClassPristine,o["\u0275nov"](e,110).ngClassDirty,o["\u0275nov"](e,110).ngClassValid,o["\u0275nov"](e,110).ngClassInvalid,o["\u0275nov"](e,110).ngClassPending,o["\u0275nov"](e,111)._isServer,o["\u0275nov"](e,111).id,o["\u0275nov"](e,111).placeholder,o["\u0275nov"](e,111).disabled,o["\u0275nov"](e,111).required,o["\u0275nov"](e,111).readonly&&!o["\u0275nov"](e,111)._isNativeSelect||null,o["\u0275nov"](e,111)._ariaDescribedby||null,o["\u0275nov"](e,111).errorState,o["\u0275nov"](e,111).required.toString()]),n(e,113,1,["standard"==o["\u0275nov"](e,114).appearance,"fill"==o["\u0275nov"](e,114).appearance,"outline"==o["\u0275nov"](e,114).appearance,"legacy"==o["\u0275nov"](e,114).appearance,o["\u0275nov"](e,114)._control.errorState,o["\u0275nov"](e,114)._canLabelFloat,o["\u0275nov"](e,114)._shouldLabelFloat(),o["\u0275nov"](e,114)._hasFloatingLabel(),o["\u0275nov"](e,114)._hideControlPlaceholder(),o["\u0275nov"](e,114)._control.disabled,o["\u0275nov"](e,114)._control.autofilled,o["\u0275nov"](e,114)._control.focused,"accent"==o["\u0275nov"](e,114).color,"warn"==o["\u0275nov"](e,114).color,o["\u0275nov"](e,114)._shouldForward("untouched"),o["\u0275nov"](e,114)._shouldForward("touched"),o["\u0275nov"](e,114)._shouldForward("pristine"),o["\u0275nov"](e,114)._shouldForward("dirty"),o["\u0275nov"](e,114)._shouldForward("valid"),o["\u0275nov"](e,114)._shouldForward("invalid"),o["\u0275nov"](e,114)._shouldForward("pending"),!o["\u0275nov"](e,114)._animationsEnabled]),n(e,122,1,[o["\u0275nov"](e,127).ngClassUntouched,o["\u0275nov"](e,127).ngClassTouched,o["\u0275nov"](e,127).ngClassPristine,o["\u0275nov"](e,127).ngClassDirty,o["\u0275nov"](e,127).ngClassValid,o["\u0275nov"](e,127).ngClassInvalid,o["\u0275nov"](e,127).ngClassPending,o["\u0275nov"](e,128).id,o["\u0275nov"](e,128).tabIndex,o["\u0275nov"](e,128)._getAriaLabel(),o["\u0275nov"](e,128)._getAriaLabelledby(),o["\u0275nov"](e,128).required.toString(),o["\u0275nov"](e,128).disabled.toString(),o["\u0275nov"](e,128).errorState,o["\u0275nov"](e,128).panelOpen?o["\u0275nov"](e,128)._optionIds:null,o["\u0275nov"](e,128).multiple,o["\u0275nov"](e,128)._ariaDescribedby||null,o["\u0275nov"](e,128)._getAriaActiveDescendant(),o["\u0275nov"](e,128).disabled,o["\u0275nov"](e,128).errorState,o["\u0275nov"](e,128).required,o["\u0275nov"](e,128).empty]),n(e,135,1,["standard"==o["\u0275nov"](e,136).appearance,"fill"==o["\u0275nov"](e,136).appearance,"outline"==o["\u0275nov"](e,136).appearance,"legacy"==o["\u0275nov"](e,136).appearance,o["\u0275nov"](e,136)._control.errorState,o["\u0275nov"](e,136)._canLabelFloat,o["\u0275nov"](e,136)._shouldLabelFloat(),o["\u0275nov"](e,136)._hasFloatingLabel(),o["\u0275nov"](e,136)._hideControlPlaceholder(),o["\u0275nov"](e,136)._control.disabled,o["\u0275nov"](e,136)._control.autofilled,o["\u0275nov"](e,136)._control.focused,"accent"==o["\u0275nov"](e,136).color,"warn"==o["\u0275nov"](e,136).color,o["\u0275nov"](e,136)._shouldForward("untouched"),o["\u0275nov"](e,136)._shouldForward("touched"),o["\u0275nov"](e,136)._shouldForward("pristine"),o["\u0275nov"](e,136)._shouldForward("dirty"),o["\u0275nov"](e,136)._shouldForward("valid"),o["\u0275nov"](e,136)._shouldForward("invalid"),o["\u0275nov"](e,136)._shouldForward("pending"),!o["\u0275nov"](e,136)._animationsEnabled]),n(e,144,1,[o["\u0275nov"](e,149).ngClassUntouched,o["\u0275nov"](e,149).ngClassTouched,o["\u0275nov"](e,149).ngClassPristine,o["\u0275nov"](e,149).ngClassDirty,o["\u0275nov"](e,149).ngClassValid,o["\u0275nov"](e,149).ngClassInvalid,o["\u0275nov"](e,149).ngClassPending,o["\u0275nov"](e,150).id,o["\u0275nov"](e,150).tabIndex,o["\u0275nov"](e,150)._getAriaLabel(),o["\u0275nov"](e,150)._getAriaLabelledby(),o["\u0275nov"](e,150).required.toString(),o["\u0275nov"](e,150).disabled.toString(),o["\u0275nov"](e,150).errorState,o["\u0275nov"](e,150).panelOpen?o["\u0275nov"](e,150)._optionIds:null,o["\u0275nov"](e,150).multiple,o["\u0275nov"](e,150)._ariaDescribedby||null,o["\u0275nov"](e,150)._getAriaActiveDescendant(),o["\u0275nov"](e,150).disabled,o["\u0275nov"](e,150).errorState,o["\u0275nov"](e,150).required,o["\u0275nov"](e,150).empty]),n(e,157,0,o["\u0275nov"](e,158).disabled||null,"NoopAnimations"===o["\u0275nov"](e,158)._animationMode)})}function Xw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,129,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,121,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,115,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,104,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,3,{_control:0}),o["\u0275qud"](335544320,4,{_placeholderChild:0}),o["\u0275qud"](335544320,5,{_labelChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,16,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,17,{_control:0}),o["\u0275qud"](335544320,18,{_placeholderChild:0}),o["\u0275qud"](335544320,19,{_labelChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,65)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,70)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](65,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](67,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[17,4]],db,null,[qb]),(n()(),o["\u0275eld"](72,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](73,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](75,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](76,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,null,21,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,24,{_control:0}),o["\u0275qud"](335544320,25,{_placeholderChild:0}),o["\u0275qud"](335544320,26,{_labelChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,92)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](88,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](89,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](91,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](92,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,31,{options:1}),o["\u0275qud"](603979776,32,{optionGroups:1}),o["\u0275qud"](335544320,33,{customTrigger:0}),o["\u0275prd"](2048,[[24,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Pw)),o["\u0275did"](98,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](99,0,null,null,21,"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,Fb,yb)),o["\u0275did"](100,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](108,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,114)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,114)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,114)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](110,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](111,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](113,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](114,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,41,{options:1}),o["\u0275qud"](603979776,42,{optionGroups:1}),o["\u0275qud"](335544320,43,{customTrigger:0}),o["\u0275prd"](2048,[[34,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,qw)),o["\u0275did"](120,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$w)),o["\u0275did"](122,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](123,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](124,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](125,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](127,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](128,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.inputForm),n(e,33,0,"templateName",t.ethernetSwitchTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.ethernetSwitchTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,67,0,"symbol",t.ethernetSwitchTemplate.symbol),n(e,70,0,"Symbol","text");var l=t.ethernetSwitchTemplate.category,o=n(e,89,0,!0);n(e,88,0,l,o),n(e,92,0,"Category"),n(e,98,0,t.categories);var r=t.ethernetSwitchTemplate.console_type,i=n(e,111,0,!0);n(e,110,0,r,i),n(e,114,0,"Console type"),n(e,120,0,t.consoleTypes),n(e,122,0,t.newPort),n(e,128,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70)._isServer,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).placeholder,o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).readonly&&!o["\u0275nov"](e,70)._isNativeSelect||null,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required.toString()]),n(e,72,0,o["\u0275nov"](e,73).disabled||null,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).tabIndex,o["\u0275nov"](e,92)._getAriaLabel(),o["\u0275nov"](e,92)._getAriaLabelledby(),o["\u0275nov"](e,92).required.toString(),o["\u0275nov"](e,92).disabled.toString(),o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).panelOpen?o["\u0275nov"](e,92)._optionIds:null,o["\u0275nov"](e,92).multiple,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92)._getAriaActiveDescendant(),o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).empty]),n(e,99,1,["standard"==o["\u0275nov"](e,100).appearance,"fill"==o["\u0275nov"](e,100).appearance,"outline"==o["\u0275nov"](e,100).appearance,"legacy"==o["\u0275nov"](e,100).appearance,o["\u0275nov"](e,100)._control.errorState,o["\u0275nov"](e,100)._canLabelFloat,o["\u0275nov"](e,100)._shouldLabelFloat(),o["\u0275nov"](e,100)._hasFloatingLabel(),o["\u0275nov"](e,100)._hideControlPlaceholder(),o["\u0275nov"](e,100)._control.disabled,o["\u0275nov"](e,100)._control.autofilled,o["\u0275nov"](e,100)._control.focused,"accent"==o["\u0275nov"](e,100).color,"warn"==o["\u0275nov"](e,100).color,o["\u0275nov"](e,100)._shouldForward("untouched"),o["\u0275nov"](e,100)._shouldForward("touched"),o["\u0275nov"](e,100)._shouldForward("pristine"),o["\u0275nov"](e,100)._shouldForward("dirty"),o["\u0275nov"](e,100)._shouldForward("valid"),o["\u0275nov"](e,100)._shouldForward("invalid"),o["\u0275nov"](e,100)._shouldForward("pending"),!o["\u0275nov"](e,100)._animationsEnabled]),n(e,108,1,[o["\u0275nov"](e,113).ngClassUntouched,o["\u0275nov"](e,113).ngClassTouched,o["\u0275nov"](e,113).ngClassPristine,o["\u0275nov"](e,113).ngClassDirty,o["\u0275nov"](e,113).ngClassValid,o["\u0275nov"](e,113).ngClassInvalid,o["\u0275nov"](e,113).ngClassPending,o["\u0275nov"](e,114).id,o["\u0275nov"](e,114).tabIndex,o["\u0275nov"](e,114)._getAriaLabel(),o["\u0275nov"](e,114)._getAriaLabelledby(),o["\u0275nov"](e,114).required.toString(),o["\u0275nov"](e,114).disabled.toString(),o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).panelOpen?o["\u0275nov"](e,114)._optionIds:null,o["\u0275nov"](e,114).multiple,o["\u0275nov"](e,114)._ariaDescribedby||null,o["\u0275nov"](e,114)._getAriaActiveDescendant(),o["\u0275nov"](e,114).disabled,o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).required,o["\u0275nov"](e,114).empty]),n(e,124,0,o["\u0275nov"](e,125).disabled||null,"NoopAnimations"===o["\u0275nov"](e,125)._animationMode),n(e,127,0,o["\u0275nov"](e,128).disabled||null,"NoopAnimations"===o["\u0275nov"](e,128)._animationMode)})}function Qw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 Jw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet switch configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Xw)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Qw)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.ethernetSwitchTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.ethernetSwitchTemplate)},null)}function nC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-template-details",[],null,null,null,Jw,Aw)),o["\u0275did"](1,114688,null,0,Nw,[bt,Uh,__,fc,lv,sw,Rl],null,null)],function(n,e){n(e,1,0)},null)}var eC=o["\u0275ccf"]("app-ethernet-switches-template-details",Nw,nC,{},{},[]),tC=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}(),lC=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function oC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function rC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add cloud node template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/cloud-nodes/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function iC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function aC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function uC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,aC)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.cloudNodesTemplates)},null)}function sC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,uC)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function dC(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Cloud nodes templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,oC)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,rC)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,iC)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,sC)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 cC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-templates",[],null,null,null,dC,lC)),o["\u0275did"](1,114688,null,0,tC,[bt,Uh,__],null,null)],function(n,e){n(e,1,0)},null)}var pC=o["\u0275ccf"]("app-cloud-nodes-templates",tC,cC,{},{},[]),fC=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Bm("",nm.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.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(ag.v4)(),n.name=this.templateName,this.builtInTemplatesService.addTemplate(this.server,n).subscribe(function(n){e.goBack()}))},n}(),hC=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function mC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New cloud node template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Template name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function vC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-add-template",[],null,null,null,mC,hC)),o["\u0275did"](1,114688,null,0,fC,[bt,Uh,__,Rl,fc,D_,lv],null,null)],function(n,e){n(e,1,0)},null)}var gC=o["\u0275ccf"]("app-cloud-nodes-add-template",fC,vC,{},{},[]),bC=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.builtInTemplatesConfigurationService=o,this.router=r,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}(),yC=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function _C(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[31,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function wC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[41,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function CC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function xC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[73,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function SC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function kC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function EC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function TC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Local port "]))],null,null)}function RC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.rport)})}function IC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Type "]))],null,null)}function OC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.rhost)})}function FC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Remote port "]))],null,null)}function DC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.lport)})}function MC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function NC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function AC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,op,lp)),o["\u0275did"](1,2342912,null,4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,85,{_contentColumnDefs:1}),o["\u0275qud"](603979776,86,{_contentRowDefs:1}),o["\u0275qud"](603979776,87,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,88,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](6,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](8,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,89,{cell:0}),o["\u0275qud"](335544320,90,{headerCell:0}),o["\u0275qud"](335544320,91,{footerCell:0}),o["\u0275prd"](2048,[[85,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,kC)),o["\u0275did"](14,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[90,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,EC)),o["\u0275did"](17,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[89,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](19,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](21,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,92,{cell:0}),o["\u0275qud"](335544320,93,{headerCell:0}),o["\u0275qud"](335544320,94,{footerCell:0}),o["\u0275prd"](2048,[[85,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,TC)),o["\u0275did"](27,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[93,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,RC)),o["\u0275did"](30,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[92,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](32,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](34,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,95,{cell:0}),o["\u0275qud"](335544320,96,{headerCell:0}),o["\u0275qud"](335544320,97,{footerCell:0}),o["\u0275prd"](2048,[[85,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,IC)),o["\u0275did"](40,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[96,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,OC)),o["\u0275did"](43,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[95,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](45,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](47,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,98,{cell:0}),o["\u0275qud"](335544320,99,{headerCell:0}),o["\u0275qud"](335544320,100,{footerCell:0}),o["\u0275prd"](2048,[[85,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,FC)),o["\u0275did"](53,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[99,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,DC)),o["\u0275did"](56,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[98,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](58,0,null,null,6,"tbody",[],null,null,null,null,null)),(n()(),o["\u0275and"](0,null,null,2,null,MC)),o["\u0275did"](60,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[87,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,NC)),o["\u0275did"](63,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[86,4]],Mc,null,[Jc])],function(n,e){var t=e.component;n(e,1,0,t.dataSourceUdp),n(e,8,0,"name"),n(e,21,0,"rport"),n(e,34,0,"rhost"),n(e,47,0,"lport"),n(e,60,0,t.displayedColumns),n(e,63,0,t.displayedColumns)},null)}function PC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function qC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,331,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,322,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,159,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General "])),(n()(),o["\u0275eld"](16,0,null,1,16,"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,Fb,yb)),o["\u0275did"](17,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,3,{_control:0}),o["\u0275qud"](335544320,4,{_placeholderChild:0}),o["\u0275qud"](335544320,5,{_labelChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](25,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,26)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,26).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,31)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.name=t)&&l),l},null,null)),o["\u0275did"](26,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](28,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](30,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](31,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4]],db,null,[qb]),(n()(),o["\u0275eld"](33,0,null,1,16,"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,Fb,yb)),o["\u0275did"](34,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](42,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,43)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,43).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,43)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,43)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,48)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,48)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](43,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](45,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](47,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](48,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb]),(n()(),o["\u0275eld"](50,0,null,1,16,"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,Fb,yb)),o["\u0275did"](51,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,17,{_control:0}),o["\u0275qud"](335544320,18,{_placeholderChild:0}),o["\u0275qud"](335544320,19,{_labelChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](59,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,60)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,60).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,60)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,60)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,65)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,65)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](60,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](62,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](64,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](65,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[17,4]],db,null,[qb]),(n()(),o["\u0275eld"](67,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](68,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](70,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](71,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](72,0,null,1,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,Fb,yb)),o["\u0275did"](73,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,24,{_control:0}),o["\u0275qud"](335544320,25,{_placeholderChild:0}),o["\u0275qud"](335544320,26,{_labelChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](81,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,86)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,86)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,86)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](83,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](85,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](86,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,31,{options:1}),o["\u0275qud"](603979776,32,{optionGroups:1}),o["\u0275qud"](335544320,33,{customTrigger:0}),o["\u0275prd"](2048,[[24,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,_C)),o["\u0275did"](92,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](93,0,null,1,20,"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,Fb,yb)),o["\u0275did"](94,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](102,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,107)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,107)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,107)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](104,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](106,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](107,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,41,{options:1}),o["\u0275qud"](603979776,42,{optionGroups:1}),o["\u0275qud"](335544320,43,{customTrigger:0}),o["\u0275prd"](2048,[[34,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,wC)),o["\u0275did"](113,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](114,0,null,1,16,"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,Fb,yb)),o["\u0275did"](115,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,44,{_control:0}),o["\u0275qud"](335544320,45,{_placeholderChild:0}),o["\u0275qud"](335544320,46,{_labelChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](123,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,124)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,124)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,124)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,129)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,129)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,129)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_host=t)&&l),l},null,null)),o["\u0275did"](124,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](126,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](128,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](129,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[44,4]],db,null,[qb]),(n()(),o["\u0275eld"](131,0,null,1,16,"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,Fb,yb)),o["\u0275did"](132,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,51,{_control:0}),o["\u0275qud"](335544320,52,{_placeholderChild:0}),o["\u0275qud"](335544320,53,{_labelChild:0}),o["\u0275qud"](603979776,54,{_errorChildren:1}),o["\u0275qud"](603979776,55,{_hintChildren:1}),o["\u0275qud"](603979776,56,{_prefixChildren:1}),o["\u0275qud"](603979776,57,{_suffixChildren:1}),(n()(),o["\u0275eld"](140,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,141)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,141).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,141)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,141)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,146)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,146)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,146)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_port=t)&&l),l},null,null)),o["\u0275did"](141,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](143,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](145,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](146,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[51,4]],db,null,[qb]),(n()(),o["\u0275eld"](148,0,null,1,16,"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,Fb,yb)),o["\u0275did"](149,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,58,{_control:0}),o["\u0275qud"](335544320,59,{_placeholderChild:0}),o["\u0275qud"](335544320,60,{_labelChild:0}),o["\u0275qud"](603979776,61,{_errorChildren:1}),o["\u0275qud"](603979776,62,{_hintChildren:1}),o["\u0275qud"](603979776,63,{_prefixChildren:1}),o["\u0275qud"](603979776,64,{_suffixChildren:1}),(n()(),o["\u0275eld"](157,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,158)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,158).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,158)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,158)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,163)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,163)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,163)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_http_path=t)&&l),l},null,null)),o["\u0275did"](158,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](160,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](162,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](163,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[58,4]],db,null,[qb]),(n()(),o["\u0275eld"](165,16777216,null,null,37,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](166,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,65,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](169,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,170)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,170)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](170,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](171,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](172,{value:0,params:1}),(n()(),o["\u0275eld"](173,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](174,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Ethernet interfaces "])),(n()(),o["\u0275and"](16777216,null,1,1,null,CC)),o["\u0275did"](177,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](178,0,null,1,21,"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,Fb,yb)),o["\u0275did"](179,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,66,{_control:0}),o["\u0275qud"](335544320,67,{_placeholderChild:0}),o["\u0275qud"](335544320,68,{_labelChild:0}),o["\u0275qud"](603979776,69,{_errorChildren:1}),o["\u0275qud"](603979776,70,{_hintChildren:1}),o["\u0275qud"](603979776,71,{_prefixChildren:1}),o["\u0275qud"](603979776,72,{_suffixChildren:1}),(n()(),o["\u0275eld"](187,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,193)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,193)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,193)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetInterface=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](189,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](190,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](192,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](193,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,73,{options:1}),o["\u0275qud"](603979776,74,{optionGroups:1}),o["\u0275qud"](335544320,75,{customTrigger:0}),o["\u0275prd"](2048,[[66,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,xC)),o["\u0275did"](199,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](200,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](201,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](203,16777216,null,null,32,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](204,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,76,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](207,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,208)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,208)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](208,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](209,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](210,{value:0,params:1}),(n()(),o["\u0275eld"](211,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](212,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" TAP interfaces "])),(n()(),o["\u0275and"](16777216,null,1,1,null,SC)),o["\u0275did"](215,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](216,0,null,1,16,"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,Fb,yb)),o["\u0275did"](217,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,77,{_control:0}),o["\u0275qud"](335544320,78,{_placeholderChild:0}),o["\u0275qud"](335544320,79,{_labelChild:0}),o["\u0275qud"](603979776,80,{_errorChildren:1}),o["\u0275qud"](603979776,81,{_hintChildren:1}),o["\u0275qud"](603979776,82,{_prefixChildren:1}),o["\u0275qud"](603979776,83,{_suffixChildren:1}),(n()(),o["\u0275eld"](225,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,226)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,226).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,226)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,226)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,231)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,231)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,231)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.tapInterface=t)&&l),l},null,null)),o["\u0275did"](226,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](228,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](230,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](231,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[77,4]],db,null,[qb]),(n()(),o["\u0275eld"](233,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](234,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](236,16777216,null,null,87,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](237,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,84,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](240,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,241)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,241)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](241,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](242,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](243,{value:0,params:1}),(n()(),o["\u0275eld"](244,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](245,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" UDP tunnels "])),(n()(),o["\u0275and"](16777216,null,1,1,null,AC)),o["\u0275did"](248,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,PC)),o["\u0275did"](250,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](251,0,null,1,16,"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,Fb,yb)),o["\u0275did"](252,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,101,{_control:0}),o["\u0275qud"](335544320,102,{_placeholderChild:0}),o["\u0275qud"](335544320,103,{_labelChild:0}),o["\u0275qud"](603979776,104,{_errorChildren:1}),o["\u0275qud"](603979776,105,{_hintChildren:1}),o["\u0275qud"](603979776,106,{_prefixChildren:1}),o["\u0275qud"](603979776,107,{_suffixChildren:1}),(n()(),o["\u0275eld"](260,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,261)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,261).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,261)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,261)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,266)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,266)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,266)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.name=t)&&l),l},null,null)),o["\u0275did"](261,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](263,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](265,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](266,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[101,4]],db,null,[qb]),(n()(),o["\u0275eld"](268,0,null,1,17,"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,Fb,yb)),o["\u0275did"](269,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,108,{_control:0}),o["\u0275qud"](335544320,109,{_placeholderChild:0}),o["\u0275qud"](335544320,110,{_labelChild:0}),o["\u0275qud"](603979776,111,{_errorChildren:1}),o["\u0275qud"](603979776,112,{_hintChildren:1}),o["\u0275qud"](603979776,113,{_prefixChildren:1}),o["\u0275qud"](603979776,114,{_suffixChildren:1}),(n()(),o["\u0275eld"](277,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,278)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,278).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,278)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,278)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,279).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,279).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,279).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,284)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,284)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,284)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.lport=t)&&l),l},null,null)),o["\u0275did"](278,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](279,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](281,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](283,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](284,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[108,4]],db,null,[qb]),(n()(),o["\u0275eld"](286,0,null,1,16,"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,Fb,yb)),o["\u0275did"](287,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,115,{_control:0}),o["\u0275qud"](335544320,116,{_placeholderChild:0}),o["\u0275qud"](335544320,117,{_labelChild:0}),o["\u0275qud"](603979776,118,{_errorChildren:1}),o["\u0275qud"](603979776,119,{_hintChildren:1}),o["\u0275qud"](603979776,120,{_prefixChildren:1}),o["\u0275qud"](603979776,121,{_suffixChildren:1}),(n()(),o["\u0275eld"](295,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,296)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,296).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,296)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,296)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,301)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,301)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,301)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.rhost=t)&&l),l},null,null)),o["\u0275did"](296,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](298,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](300,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](301,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[115,4]],db,null,[qb]),(n()(),o["\u0275eld"](303,0,null,1,17,"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,Fb,yb)),o["\u0275did"](304,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,122,{_control:0}),o["\u0275qud"](335544320,123,{_placeholderChild:0}),o["\u0275qud"](335544320,124,{_labelChild:0}),o["\u0275qud"](603979776,125,{_errorChildren:1}),o["\u0275qud"](603979776,126,{_hintChildren:1}),o["\u0275qud"](603979776,127,{_prefixChildren:1}),o["\u0275qud"](603979776,128,{_suffixChildren:1}),(n()(),o["\u0275eld"](312,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,313)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,313).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,313)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,313)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,314).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,314).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,314).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,319)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,319)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,319)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.rport=t)&&l),l},null,null)),o["\u0275did"](313,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](314,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](316,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](318,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](319,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[122,4]],db,null,[qb]),(n()(),o["\u0275eld"](321,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](322,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](324,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](325,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](326,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](328,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](329,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](331,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,28,0,t.cloudNodeTemplate.name),n(e,31,0,"Template name","text"),n(e,45,0,t.cloudNodeTemplate.default_name_format),n(e,48,0,"Default name format","text"),n(e,62,0,t.cloudNodeTemplate.symbol),n(e,65,0,"Symbol","text"),n(e,83,0,t.cloudNodeTemplate.category),n(e,86,0,"Category"),n(e,92,0,t.categories),n(e,104,0,t.cloudNodeTemplate.console_type),n(e,107,0,"Console type"),n(e,113,0,t.consoleTypes),n(e,126,0,t.cloudNodeTemplate.remote_console_host),n(e,129,0,"Console host","text"),n(e,143,0,t.cloudNodeTemplate.remote_console_port),n(e,146,0,"Console port","text"),n(e,160,0,t.cloudNodeTemplate.remote_console_http_path),n(e,163,0,"Console HTTP path","text"),n(e,177,0,t.portsMappingEthernet);var l=t.ethernetInterface,o=n(e,190,0,!0);n(e,189,0,l,o),n(e,193,0,"Ethernet interface"),n(e,199,0,null),n(e,215,0,t.portsMappingTap),n(e,228,0,t.tapInterface),n(e,231,0,"TAP interface","text"),n(e,248,0,t.dataSourceUdp.length),n(e,250,0,t.dataSourceUdp.length),n(e,263,0,t.newPort.name),n(e,266,0,"Name","text"),n(e,281,0,t.newPort.lport),n(e,284,0,"Local port","number"),n(e,298,0,t.newPort.rhost),n(e,301,0,"Remote host","text"),n(e,316,0,t.newPort.rport),n(e,319,0,"Remote port","number"),n(e,329,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,1,["standard"==o["\u0275nov"](e,17).appearance,"fill"==o["\u0275nov"](e,17).appearance,"outline"==o["\u0275nov"](e,17).appearance,"legacy"==o["\u0275nov"](e,17).appearance,o["\u0275nov"](e,17)._control.errorState,o["\u0275nov"](e,17)._canLabelFloat,o["\u0275nov"](e,17)._shouldLabelFloat(),o["\u0275nov"](e,17)._hasFloatingLabel(),o["\u0275nov"](e,17)._hideControlPlaceholder(),o["\u0275nov"](e,17)._control.disabled,o["\u0275nov"](e,17)._control.autofilled,o["\u0275nov"](e,17)._control.focused,"accent"==o["\u0275nov"](e,17).color,"warn"==o["\u0275nov"](e,17).color,o["\u0275nov"](e,17)._shouldForward("untouched"),o["\u0275nov"](e,17)._shouldForward("touched"),o["\u0275nov"](e,17)._shouldForward("pristine"),o["\u0275nov"](e,17)._shouldForward("dirty"),o["\u0275nov"](e,17)._shouldForward("valid"),o["\u0275nov"](e,17)._shouldForward("invalid"),o["\u0275nov"](e,17)._shouldForward("pending"),!o["\u0275nov"](e,17)._animationsEnabled]),n(e,25,1,[o["\u0275nov"](e,30).ngClassUntouched,o["\u0275nov"](e,30).ngClassTouched,o["\u0275nov"](e,30).ngClassPristine,o["\u0275nov"](e,30).ngClassDirty,o["\u0275nov"](e,30).ngClassValid,o["\u0275nov"](e,30).ngClassInvalid,o["\u0275nov"](e,30).ngClassPending,o["\u0275nov"](e,31)._isServer,o["\u0275nov"](e,31).id,o["\u0275nov"](e,31).placeholder,o["\u0275nov"](e,31).disabled,o["\u0275nov"](e,31).required,o["\u0275nov"](e,31).readonly&&!o["\u0275nov"](e,31)._isNativeSelect||null,o["\u0275nov"](e,31)._ariaDescribedby||null,o["\u0275nov"](e,31).errorState,o["\u0275nov"](e,31).required.toString()]),n(e,33,1,["standard"==o["\u0275nov"](e,34).appearance,"fill"==o["\u0275nov"](e,34).appearance,"outline"==o["\u0275nov"](e,34).appearance,"legacy"==o["\u0275nov"](e,34).appearance,o["\u0275nov"](e,34)._control.errorState,o["\u0275nov"](e,34)._canLabelFloat,o["\u0275nov"](e,34)._shouldLabelFloat(),o["\u0275nov"](e,34)._hasFloatingLabel(),o["\u0275nov"](e,34)._hideControlPlaceholder(),o["\u0275nov"](e,34)._control.disabled,o["\u0275nov"](e,34)._control.autofilled,o["\u0275nov"](e,34)._control.focused,"accent"==o["\u0275nov"](e,34).color,"warn"==o["\u0275nov"](e,34).color,o["\u0275nov"](e,34)._shouldForward("untouched"),o["\u0275nov"](e,34)._shouldForward("touched"),o["\u0275nov"](e,34)._shouldForward("pristine"),o["\u0275nov"](e,34)._shouldForward("dirty"),o["\u0275nov"](e,34)._shouldForward("valid"),o["\u0275nov"](e,34)._shouldForward("invalid"),o["\u0275nov"](e,34)._shouldForward("pending"),!o["\u0275nov"](e,34)._animationsEnabled]),n(e,42,1,[o["\u0275nov"](e,47).ngClassUntouched,o["\u0275nov"](e,47).ngClassTouched,o["\u0275nov"](e,47).ngClassPristine,o["\u0275nov"](e,47).ngClassDirty,o["\u0275nov"](e,47).ngClassValid,o["\u0275nov"](e,47).ngClassInvalid,o["\u0275nov"](e,47).ngClassPending,o["\u0275nov"](e,48)._isServer,o["\u0275nov"](e,48).id,o["\u0275nov"](e,48).placeholder,o["\u0275nov"](e,48).disabled,o["\u0275nov"](e,48).required,o["\u0275nov"](e,48).readonly&&!o["\u0275nov"](e,48)._isNativeSelect||null,o["\u0275nov"](e,48)._ariaDescribedby||null,o["\u0275nov"](e,48).errorState,o["\u0275nov"](e,48).required.toString()]),n(e,50,1,["standard"==o["\u0275nov"](e,51).appearance,"fill"==o["\u0275nov"](e,51).appearance,"outline"==o["\u0275nov"](e,51).appearance,"legacy"==o["\u0275nov"](e,51).appearance,o["\u0275nov"](e,51)._control.errorState,o["\u0275nov"](e,51)._canLabelFloat,o["\u0275nov"](e,51)._shouldLabelFloat(),o["\u0275nov"](e,51)._hasFloatingLabel(),o["\u0275nov"](e,51)._hideControlPlaceholder(),o["\u0275nov"](e,51)._control.disabled,o["\u0275nov"](e,51)._control.autofilled,o["\u0275nov"](e,51)._control.focused,"accent"==o["\u0275nov"](e,51).color,"warn"==o["\u0275nov"](e,51).color,o["\u0275nov"](e,51)._shouldForward("untouched"),o["\u0275nov"](e,51)._shouldForward("touched"),o["\u0275nov"](e,51)._shouldForward("pristine"),o["\u0275nov"](e,51)._shouldForward("dirty"),o["\u0275nov"](e,51)._shouldForward("valid"),o["\u0275nov"](e,51)._shouldForward("invalid"),o["\u0275nov"](e,51)._shouldForward("pending"),!o["\u0275nov"](e,51)._animationsEnabled]),n(e,59,1,[o["\u0275nov"](e,64).ngClassUntouched,o["\u0275nov"](e,64).ngClassTouched,o["\u0275nov"](e,64).ngClassPristine,o["\u0275nov"](e,64).ngClassDirty,o["\u0275nov"](e,64).ngClassValid,o["\u0275nov"](e,64).ngClassInvalid,o["\u0275nov"](e,64).ngClassPending,o["\u0275nov"](e,65)._isServer,o["\u0275nov"](e,65).id,o["\u0275nov"](e,65).placeholder,o["\u0275nov"](e,65).disabled,o["\u0275nov"](e,65).required,o["\u0275nov"](e,65).readonly&&!o["\u0275nov"](e,65)._isNativeSelect||null,o["\u0275nov"](e,65)._ariaDescribedby||null,o["\u0275nov"](e,65).errorState,o["\u0275nov"](e,65).required.toString()]),n(e,67,0,o["\u0275nov"](e,68).disabled||null,"NoopAnimations"===o["\u0275nov"](e,68)._animationMode),n(e,72,1,["standard"==o["\u0275nov"](e,73).appearance,"fill"==o["\u0275nov"](e,73).appearance,"outline"==o["\u0275nov"](e,73).appearance,"legacy"==o["\u0275nov"](e,73).appearance,o["\u0275nov"](e,73)._control.errorState,o["\u0275nov"](e,73)._canLabelFloat,o["\u0275nov"](e,73)._shouldLabelFloat(),o["\u0275nov"](e,73)._hasFloatingLabel(),o["\u0275nov"](e,73)._hideControlPlaceholder(),o["\u0275nov"](e,73)._control.disabled,o["\u0275nov"](e,73)._control.autofilled,o["\u0275nov"](e,73)._control.focused,"accent"==o["\u0275nov"](e,73).color,"warn"==o["\u0275nov"](e,73).color,o["\u0275nov"](e,73)._shouldForward("untouched"),o["\u0275nov"](e,73)._shouldForward("touched"),o["\u0275nov"](e,73)._shouldForward("pristine"),o["\u0275nov"](e,73)._shouldForward("dirty"),o["\u0275nov"](e,73)._shouldForward("valid"),o["\u0275nov"](e,73)._shouldForward("invalid"),o["\u0275nov"](e,73)._shouldForward("pending"),!o["\u0275nov"](e,73)._animationsEnabled]),n(e,81,1,[o["\u0275nov"](e,85).ngClassUntouched,o["\u0275nov"](e,85).ngClassTouched,o["\u0275nov"](e,85).ngClassPristine,o["\u0275nov"](e,85).ngClassDirty,o["\u0275nov"](e,85).ngClassValid,o["\u0275nov"](e,85).ngClassInvalid,o["\u0275nov"](e,85).ngClassPending,o["\u0275nov"](e,86).id,o["\u0275nov"](e,86).tabIndex,o["\u0275nov"](e,86)._getAriaLabel(),o["\u0275nov"](e,86)._getAriaLabelledby(),o["\u0275nov"](e,86).required.toString(),o["\u0275nov"](e,86).disabled.toString(),o["\u0275nov"](e,86).errorState,o["\u0275nov"](e,86).panelOpen?o["\u0275nov"](e,86)._optionIds:null,o["\u0275nov"](e,86).multiple,o["\u0275nov"](e,86)._ariaDescribedby||null,o["\u0275nov"](e,86)._getAriaActiveDescendant(),o["\u0275nov"](e,86).disabled,o["\u0275nov"](e,86).errorState,o["\u0275nov"](e,86).required,o["\u0275nov"](e,86).empty]),n(e,93,1,["standard"==o["\u0275nov"](e,94).appearance,"fill"==o["\u0275nov"](e,94).appearance,"outline"==o["\u0275nov"](e,94).appearance,"legacy"==o["\u0275nov"](e,94).appearance,o["\u0275nov"](e,94)._control.errorState,o["\u0275nov"](e,94)._canLabelFloat,o["\u0275nov"](e,94)._shouldLabelFloat(),o["\u0275nov"](e,94)._hasFloatingLabel(),o["\u0275nov"](e,94)._hideControlPlaceholder(),o["\u0275nov"](e,94)._control.disabled,o["\u0275nov"](e,94)._control.autofilled,o["\u0275nov"](e,94)._control.focused,"accent"==o["\u0275nov"](e,94).color,"warn"==o["\u0275nov"](e,94).color,o["\u0275nov"](e,94)._shouldForward("untouched"),o["\u0275nov"](e,94)._shouldForward("touched"),o["\u0275nov"](e,94)._shouldForward("pristine"),o["\u0275nov"](e,94)._shouldForward("dirty"),o["\u0275nov"](e,94)._shouldForward("valid"),o["\u0275nov"](e,94)._shouldForward("invalid"),o["\u0275nov"](e,94)._shouldForward("pending"),!o["\u0275nov"](e,94)._animationsEnabled]),n(e,102,1,[o["\u0275nov"](e,106).ngClassUntouched,o["\u0275nov"](e,106).ngClassTouched,o["\u0275nov"](e,106).ngClassPristine,o["\u0275nov"](e,106).ngClassDirty,o["\u0275nov"](e,106).ngClassValid,o["\u0275nov"](e,106).ngClassInvalid,o["\u0275nov"](e,106).ngClassPending,o["\u0275nov"](e,107).id,o["\u0275nov"](e,107).tabIndex,o["\u0275nov"](e,107)._getAriaLabel(),o["\u0275nov"](e,107)._getAriaLabelledby(),o["\u0275nov"](e,107).required.toString(),o["\u0275nov"](e,107).disabled.toString(),o["\u0275nov"](e,107).errorState,o["\u0275nov"](e,107).panelOpen?o["\u0275nov"](e,107)._optionIds:null,o["\u0275nov"](e,107).multiple,o["\u0275nov"](e,107)._ariaDescribedby||null,o["\u0275nov"](e,107)._getAriaActiveDescendant(),o["\u0275nov"](e,107).disabled,o["\u0275nov"](e,107).errorState,o["\u0275nov"](e,107).required,o["\u0275nov"](e,107).empty]),n(e,114,1,["standard"==o["\u0275nov"](e,115).appearance,"fill"==o["\u0275nov"](e,115).appearance,"outline"==o["\u0275nov"](e,115).appearance,"legacy"==o["\u0275nov"](e,115).appearance,o["\u0275nov"](e,115)._control.errorState,o["\u0275nov"](e,115)._canLabelFloat,o["\u0275nov"](e,115)._shouldLabelFloat(),o["\u0275nov"](e,115)._hasFloatingLabel(),o["\u0275nov"](e,115)._hideControlPlaceholder(),o["\u0275nov"](e,115)._control.disabled,o["\u0275nov"](e,115)._control.autofilled,o["\u0275nov"](e,115)._control.focused,"accent"==o["\u0275nov"](e,115).color,"warn"==o["\u0275nov"](e,115).color,o["\u0275nov"](e,115)._shouldForward("untouched"),o["\u0275nov"](e,115)._shouldForward("touched"),o["\u0275nov"](e,115)._shouldForward("pristine"),o["\u0275nov"](e,115)._shouldForward("dirty"),o["\u0275nov"](e,115)._shouldForward("valid"),o["\u0275nov"](e,115)._shouldForward("invalid"),o["\u0275nov"](e,115)._shouldForward("pending"),!o["\u0275nov"](e,115)._animationsEnabled]),n(e,123,1,[o["\u0275nov"](e,128).ngClassUntouched,o["\u0275nov"](e,128).ngClassTouched,o["\u0275nov"](e,128).ngClassPristine,o["\u0275nov"](e,128).ngClassDirty,o["\u0275nov"](e,128).ngClassValid,o["\u0275nov"](e,128).ngClassInvalid,o["\u0275nov"](e,128).ngClassPending,o["\u0275nov"](e,129)._isServer,o["\u0275nov"](e,129).id,o["\u0275nov"](e,129).placeholder,o["\u0275nov"](e,129).disabled,o["\u0275nov"](e,129).required,o["\u0275nov"](e,129).readonly&&!o["\u0275nov"](e,129)._isNativeSelect||null,o["\u0275nov"](e,129)._ariaDescribedby||null,o["\u0275nov"](e,129).errorState,o["\u0275nov"](e,129).required.toString()]),n(e,131,1,["standard"==o["\u0275nov"](e,132).appearance,"fill"==o["\u0275nov"](e,132).appearance,"outline"==o["\u0275nov"](e,132).appearance,"legacy"==o["\u0275nov"](e,132).appearance,o["\u0275nov"](e,132)._control.errorState,o["\u0275nov"](e,132)._canLabelFloat,o["\u0275nov"](e,132)._shouldLabelFloat(),o["\u0275nov"](e,132)._hasFloatingLabel(),o["\u0275nov"](e,132)._hideControlPlaceholder(),o["\u0275nov"](e,132)._control.disabled,o["\u0275nov"](e,132)._control.autofilled,o["\u0275nov"](e,132)._control.focused,"accent"==o["\u0275nov"](e,132).color,"warn"==o["\u0275nov"](e,132).color,o["\u0275nov"](e,132)._shouldForward("untouched"),o["\u0275nov"](e,132)._shouldForward("touched"),o["\u0275nov"](e,132)._shouldForward("pristine"),o["\u0275nov"](e,132)._shouldForward("dirty"),o["\u0275nov"](e,132)._shouldForward("valid"),o["\u0275nov"](e,132)._shouldForward("invalid"),o["\u0275nov"](e,132)._shouldForward("pending"),!o["\u0275nov"](e,132)._animationsEnabled]),n(e,140,1,[o["\u0275nov"](e,145).ngClassUntouched,o["\u0275nov"](e,145).ngClassTouched,o["\u0275nov"](e,145).ngClassPristine,o["\u0275nov"](e,145).ngClassDirty,o["\u0275nov"](e,145).ngClassValid,o["\u0275nov"](e,145).ngClassInvalid,o["\u0275nov"](e,145).ngClassPending,o["\u0275nov"](e,146)._isServer,o["\u0275nov"](e,146).id,o["\u0275nov"](e,146).placeholder,o["\u0275nov"](e,146).disabled,o["\u0275nov"](e,146).required,o["\u0275nov"](e,146).readonly&&!o["\u0275nov"](e,146)._isNativeSelect||null,o["\u0275nov"](e,146)._ariaDescribedby||null,o["\u0275nov"](e,146).errorState,o["\u0275nov"](e,146).required.toString()]),n(e,148,1,["standard"==o["\u0275nov"](e,149).appearance,"fill"==o["\u0275nov"](e,149).appearance,"outline"==o["\u0275nov"](e,149).appearance,"legacy"==o["\u0275nov"](e,149).appearance,o["\u0275nov"](e,149)._control.errorState,o["\u0275nov"](e,149)._canLabelFloat,o["\u0275nov"](e,149)._shouldLabelFloat(),o["\u0275nov"](e,149)._hasFloatingLabel(),o["\u0275nov"](e,149)._hideControlPlaceholder(),o["\u0275nov"](e,149)._control.disabled,o["\u0275nov"](e,149)._control.autofilled,o["\u0275nov"](e,149)._control.focused,"accent"==o["\u0275nov"](e,149).color,"warn"==o["\u0275nov"](e,149).color,o["\u0275nov"](e,149)._shouldForward("untouched"),o["\u0275nov"](e,149)._shouldForward("touched"),o["\u0275nov"](e,149)._shouldForward("pristine"),o["\u0275nov"](e,149)._shouldForward("dirty"),o["\u0275nov"](e,149)._shouldForward("valid"),o["\u0275nov"](e,149)._shouldForward("invalid"),o["\u0275nov"](e,149)._shouldForward("pending"),!o["\u0275nov"](e,149)._animationsEnabled]),n(e,157,1,[o["\u0275nov"](e,162).ngClassUntouched,o["\u0275nov"](e,162).ngClassTouched,o["\u0275nov"](e,162).ngClassPristine,o["\u0275nov"](e,162).ngClassDirty,o["\u0275nov"](e,162).ngClassValid,o["\u0275nov"](e,162).ngClassInvalid,o["\u0275nov"](e,162).ngClassPending,o["\u0275nov"](e,163)._isServer,o["\u0275nov"](e,163).id,o["\u0275nov"](e,163).placeholder,o["\u0275nov"](e,163).disabled,o["\u0275nov"](e,163).required,o["\u0275nov"](e,163).readonly&&!o["\u0275nov"](e,163)._isNativeSelect||null,o["\u0275nov"](e,163)._ariaDescribedby||null,o["\u0275nov"](e,163).errorState,o["\u0275nov"](e,163).required.toString()]),n(e,165,0,o["\u0275nov"](e,166).expanded,"NoopAnimations"===o["\u0275nov"](e,166)._animationMode,o["\u0275nov"](e,166)._hasSpacing());var d=o["\u0275nov"](e,170).panel._headerId,c=o["\u0275nov"](e,170).disabled?-1:0,p=o["\u0275nov"](e,170)._getPanelId(),f=o["\u0275nov"](e,170)._isExpanded(),h=o["\u0275nov"](e,170).panel.disabled,m=o["\u0275nov"](e,170)._isExpanded(),v=n(e,172,0,o["\u0275nov"](e,170)._getExpandedState(),n(e,171,0,o["\u0275nov"](e,170).collapsedHeight,o["\u0275nov"](e,170).expandedHeight));n(e,169,0,d,c,p,f,h,m,v),n(e,178,1,["standard"==o["\u0275nov"](e,179).appearance,"fill"==o["\u0275nov"](e,179).appearance,"outline"==o["\u0275nov"](e,179).appearance,"legacy"==o["\u0275nov"](e,179).appearance,o["\u0275nov"](e,179)._control.errorState,o["\u0275nov"](e,179)._canLabelFloat,o["\u0275nov"](e,179)._shouldLabelFloat(),o["\u0275nov"](e,179)._hasFloatingLabel(),o["\u0275nov"](e,179)._hideControlPlaceholder(),o["\u0275nov"](e,179)._control.disabled,o["\u0275nov"](e,179)._control.autofilled,o["\u0275nov"](e,179)._control.focused,"accent"==o["\u0275nov"](e,179).color,"warn"==o["\u0275nov"](e,179).color,o["\u0275nov"](e,179)._shouldForward("untouched"),o["\u0275nov"](e,179)._shouldForward("touched"),o["\u0275nov"](e,179)._shouldForward("pristine"),o["\u0275nov"](e,179)._shouldForward("dirty"),o["\u0275nov"](e,179)._shouldForward("valid"),o["\u0275nov"](e,179)._shouldForward("invalid"),o["\u0275nov"](e,179)._shouldForward("pending"),!o["\u0275nov"](e,179)._animationsEnabled]),n(e,187,1,[o["\u0275nov"](e,192).ngClassUntouched,o["\u0275nov"](e,192).ngClassTouched,o["\u0275nov"](e,192).ngClassPristine,o["\u0275nov"](e,192).ngClassDirty,o["\u0275nov"](e,192).ngClassValid,o["\u0275nov"](e,192).ngClassInvalid,o["\u0275nov"](e,192).ngClassPending,o["\u0275nov"](e,193).id,o["\u0275nov"](e,193).tabIndex,o["\u0275nov"](e,193)._getAriaLabel(),o["\u0275nov"](e,193)._getAriaLabelledby(),o["\u0275nov"](e,193).required.toString(),o["\u0275nov"](e,193).disabled.toString(),o["\u0275nov"](e,193).errorState,o["\u0275nov"](e,193).panelOpen?o["\u0275nov"](e,193)._optionIds:null,o["\u0275nov"](e,193).multiple,o["\u0275nov"](e,193)._ariaDescribedby||null,o["\u0275nov"](e,193)._getAriaActiveDescendant(),o["\u0275nov"](e,193).disabled,o["\u0275nov"](e,193).errorState,o["\u0275nov"](e,193).required,o["\u0275nov"](e,193).empty]),n(e,200,0,o["\u0275nov"](e,201).disabled||null,"NoopAnimations"===o["\u0275nov"](e,201)._animationMode),n(e,203,0,o["\u0275nov"](e,204).expanded,"NoopAnimations"===o["\u0275nov"](e,204)._animationMode,o["\u0275nov"](e,204)._hasSpacing());var g=o["\u0275nov"](e,208).panel._headerId,b=o["\u0275nov"](e,208).disabled?-1:0,y=o["\u0275nov"](e,208)._getPanelId(),_=o["\u0275nov"](e,208)._isExpanded(),w=o["\u0275nov"](e,208).panel.disabled,C=o["\u0275nov"](e,208)._isExpanded(),x=n(e,210,0,o["\u0275nov"](e,208)._getExpandedState(),n(e,209,0,o["\u0275nov"](e,208).collapsedHeight,o["\u0275nov"](e,208).expandedHeight));n(e,207,0,g,b,y,_,w,C,x),n(e,216,1,["standard"==o["\u0275nov"](e,217).appearance,"fill"==o["\u0275nov"](e,217).appearance,"outline"==o["\u0275nov"](e,217).appearance,"legacy"==o["\u0275nov"](e,217).appearance,o["\u0275nov"](e,217)._control.errorState,o["\u0275nov"](e,217)._canLabelFloat,o["\u0275nov"](e,217)._shouldLabelFloat(),o["\u0275nov"](e,217)._hasFloatingLabel(),o["\u0275nov"](e,217)._hideControlPlaceholder(),o["\u0275nov"](e,217)._control.disabled,o["\u0275nov"](e,217)._control.autofilled,o["\u0275nov"](e,217)._control.focused,"accent"==o["\u0275nov"](e,217).color,"warn"==o["\u0275nov"](e,217).color,o["\u0275nov"](e,217)._shouldForward("untouched"),o["\u0275nov"](e,217)._shouldForward("touched"),o["\u0275nov"](e,217)._shouldForward("pristine"),o["\u0275nov"](e,217)._shouldForward("dirty"),o["\u0275nov"](e,217)._shouldForward("valid"),o["\u0275nov"](e,217)._shouldForward("invalid"),o["\u0275nov"](e,217)._shouldForward("pending"),!o["\u0275nov"](e,217)._animationsEnabled]),n(e,225,1,[o["\u0275nov"](e,230).ngClassUntouched,o["\u0275nov"](e,230).ngClassTouched,o["\u0275nov"](e,230).ngClassPristine,o["\u0275nov"](e,230).ngClassDirty,o["\u0275nov"](e,230).ngClassValid,o["\u0275nov"](e,230).ngClassInvalid,o["\u0275nov"](e,230).ngClassPending,o["\u0275nov"](e,231)._isServer,o["\u0275nov"](e,231).id,o["\u0275nov"](e,231).placeholder,o["\u0275nov"](e,231).disabled,o["\u0275nov"](e,231).required,o["\u0275nov"](e,231).readonly&&!o["\u0275nov"](e,231)._isNativeSelect||null,o["\u0275nov"](e,231)._ariaDescribedby||null,o["\u0275nov"](e,231).errorState,o["\u0275nov"](e,231).required.toString()]),n(e,233,0,o["\u0275nov"](e,234).disabled||null,"NoopAnimations"===o["\u0275nov"](e,234)._animationMode),n(e,236,0,o["\u0275nov"](e,237).expanded,"NoopAnimations"===o["\u0275nov"](e,237)._animationMode,o["\u0275nov"](e,237)._hasSpacing());var S=o["\u0275nov"](e,241).panel._headerId,k=o["\u0275nov"](e,241).disabled?-1:0,E=o["\u0275nov"](e,241)._getPanelId(),T=o["\u0275nov"](e,241)._isExpanded(),R=o["\u0275nov"](e,241).panel.disabled,I=o["\u0275nov"](e,241)._isExpanded(),O=n(e,243,0,o["\u0275nov"](e,241)._getExpandedState(),n(e,242,0,o["\u0275nov"](e,241).collapsedHeight,o["\u0275nov"](e,241).expandedHeight));n(e,240,0,S,k,E,T,R,I,O),n(e,251,1,["standard"==o["\u0275nov"](e,252).appearance,"fill"==o["\u0275nov"](e,252).appearance,"outline"==o["\u0275nov"](e,252).appearance,"legacy"==o["\u0275nov"](e,252).appearance,o["\u0275nov"](e,252)._control.errorState,o["\u0275nov"](e,252)._canLabelFloat,o["\u0275nov"](e,252)._shouldLabelFloat(),o["\u0275nov"](e,252)._hasFloatingLabel(),o["\u0275nov"](e,252)._hideControlPlaceholder(),o["\u0275nov"](e,252)._control.disabled,o["\u0275nov"](e,252)._control.autofilled,o["\u0275nov"](e,252)._control.focused,"accent"==o["\u0275nov"](e,252).color,"warn"==o["\u0275nov"](e,252).color,o["\u0275nov"](e,252)._shouldForward("untouched"),o["\u0275nov"](e,252)._shouldForward("touched"),o["\u0275nov"](e,252)._shouldForward("pristine"),o["\u0275nov"](e,252)._shouldForward("dirty"),o["\u0275nov"](e,252)._shouldForward("valid"),o["\u0275nov"](e,252)._shouldForward("invalid"),o["\u0275nov"](e,252)._shouldForward("pending"),!o["\u0275nov"](e,252)._animationsEnabled]),n(e,260,1,[o["\u0275nov"](e,265).ngClassUntouched,o["\u0275nov"](e,265).ngClassTouched,o["\u0275nov"](e,265).ngClassPristine,o["\u0275nov"](e,265).ngClassDirty,o["\u0275nov"](e,265).ngClassValid,o["\u0275nov"](e,265).ngClassInvalid,o["\u0275nov"](e,265).ngClassPending,o["\u0275nov"](e,266)._isServer,o["\u0275nov"](e,266).id,o["\u0275nov"](e,266).placeholder,o["\u0275nov"](e,266).disabled,o["\u0275nov"](e,266).required,o["\u0275nov"](e,266).readonly&&!o["\u0275nov"](e,266)._isNativeSelect||null,o["\u0275nov"](e,266)._ariaDescribedby||null,o["\u0275nov"](e,266).errorState,o["\u0275nov"](e,266).required.toString()]),n(e,268,1,["standard"==o["\u0275nov"](e,269).appearance,"fill"==o["\u0275nov"](e,269).appearance,"outline"==o["\u0275nov"](e,269).appearance,"legacy"==o["\u0275nov"](e,269).appearance,o["\u0275nov"](e,269)._control.errorState,o["\u0275nov"](e,269)._canLabelFloat,o["\u0275nov"](e,269)._shouldLabelFloat(),o["\u0275nov"](e,269)._hasFloatingLabel(),o["\u0275nov"](e,269)._hideControlPlaceholder(),o["\u0275nov"](e,269)._control.disabled,o["\u0275nov"](e,269)._control.autofilled,o["\u0275nov"](e,269)._control.focused,"accent"==o["\u0275nov"](e,269).color,"warn"==o["\u0275nov"](e,269).color,o["\u0275nov"](e,269)._shouldForward("untouched"),o["\u0275nov"](e,269)._shouldForward("touched"),o["\u0275nov"](e,269)._shouldForward("pristine"),o["\u0275nov"](e,269)._shouldForward("dirty"),o["\u0275nov"](e,269)._shouldForward("valid"),o["\u0275nov"](e,269)._shouldForward("invalid"),o["\u0275nov"](e,269)._shouldForward("pending"),!o["\u0275nov"](e,269)._animationsEnabled]),n(e,277,1,[o["\u0275nov"](e,283).ngClassUntouched,o["\u0275nov"](e,283).ngClassTouched,o["\u0275nov"](e,283).ngClassPristine,o["\u0275nov"](e,283).ngClassDirty,o["\u0275nov"](e,283).ngClassValid,o["\u0275nov"](e,283).ngClassInvalid,o["\u0275nov"](e,283).ngClassPending,o["\u0275nov"](e,284)._isServer,o["\u0275nov"](e,284).id,o["\u0275nov"](e,284).placeholder,o["\u0275nov"](e,284).disabled,o["\u0275nov"](e,284).required,o["\u0275nov"](e,284).readonly&&!o["\u0275nov"](e,284)._isNativeSelect||null,o["\u0275nov"](e,284)._ariaDescribedby||null,o["\u0275nov"](e,284).errorState,o["\u0275nov"](e,284).required.toString()]),n(e,286,1,["standard"==o["\u0275nov"](e,287).appearance,"fill"==o["\u0275nov"](e,287).appearance,"outline"==o["\u0275nov"](e,287).appearance,"legacy"==o["\u0275nov"](e,287).appearance,o["\u0275nov"](e,287)._control.errorState,o["\u0275nov"](e,287)._canLabelFloat,o["\u0275nov"](e,287)._shouldLabelFloat(),o["\u0275nov"](e,287)._hasFloatingLabel(),o["\u0275nov"](e,287)._hideControlPlaceholder(),o["\u0275nov"](e,287)._control.disabled,o["\u0275nov"](e,287)._control.autofilled,o["\u0275nov"](e,287)._control.focused,"accent"==o["\u0275nov"](e,287).color,"warn"==o["\u0275nov"](e,287).color,o["\u0275nov"](e,287)._shouldForward("untouched"),o["\u0275nov"](e,287)._shouldForward("touched"),o["\u0275nov"](e,287)._shouldForward("pristine"),o["\u0275nov"](e,287)._shouldForward("dirty"),o["\u0275nov"](e,287)._shouldForward("valid"),o["\u0275nov"](e,287)._shouldForward("invalid"),o["\u0275nov"](e,287)._shouldForward("pending"),!o["\u0275nov"](e,287)._animationsEnabled]),n(e,295,1,[o["\u0275nov"](e,300).ngClassUntouched,o["\u0275nov"](e,300).ngClassTouched,o["\u0275nov"](e,300).ngClassPristine,o["\u0275nov"](e,300).ngClassDirty,o["\u0275nov"](e,300).ngClassValid,o["\u0275nov"](e,300).ngClassInvalid,o["\u0275nov"](e,300).ngClassPending,o["\u0275nov"](e,301)._isServer,o["\u0275nov"](e,301).id,o["\u0275nov"](e,301).placeholder,o["\u0275nov"](e,301).disabled,o["\u0275nov"](e,301).required,o["\u0275nov"](e,301).readonly&&!o["\u0275nov"](e,301)._isNativeSelect||null,o["\u0275nov"](e,301)._ariaDescribedby||null,o["\u0275nov"](e,301).errorState,o["\u0275nov"](e,301).required.toString()]),n(e,303,1,["standard"==o["\u0275nov"](e,304).appearance,"fill"==o["\u0275nov"](e,304).appearance,"outline"==o["\u0275nov"](e,304).appearance,"legacy"==o["\u0275nov"](e,304).appearance,o["\u0275nov"](e,304)._control.errorState,o["\u0275nov"](e,304)._canLabelFloat,o["\u0275nov"](e,304)._shouldLabelFloat(),o["\u0275nov"](e,304)._hasFloatingLabel(),o["\u0275nov"](e,304)._hideControlPlaceholder(),o["\u0275nov"](e,304)._control.disabled,o["\u0275nov"](e,304)._control.autofilled,o["\u0275nov"](e,304)._control.focused,"accent"==o["\u0275nov"](e,304).color,"warn"==o["\u0275nov"](e,304).color,o["\u0275nov"](e,304)._shouldForward("untouched"),o["\u0275nov"](e,304)._shouldForward("touched"),o["\u0275nov"](e,304)._shouldForward("pristine"),o["\u0275nov"](e,304)._shouldForward("dirty"),o["\u0275nov"](e,304)._shouldForward("valid"),o["\u0275nov"](e,304)._shouldForward("invalid"),o["\u0275nov"](e,304)._shouldForward("pending"),!o["\u0275nov"](e,304)._animationsEnabled]),n(e,312,1,[o["\u0275nov"](e,318).ngClassUntouched,o["\u0275nov"](e,318).ngClassTouched,o["\u0275nov"](e,318).ngClassPristine,o["\u0275nov"](e,318).ngClassDirty,o["\u0275nov"](e,318).ngClassValid,o["\u0275nov"](e,318).ngClassInvalid,o["\u0275nov"](e,318).ngClassPending,o["\u0275nov"](e,319)._isServer,o["\u0275nov"](e,319).id,o["\u0275nov"](e,319).placeholder,o["\u0275nov"](e,319).disabled,o["\u0275nov"](e,319).required,o["\u0275nov"](e,319).readonly&&!o["\u0275nov"](e,319)._isNativeSelect||null,o["\u0275nov"](e,319)._ariaDescribedby||null,o["\u0275nov"](e,319).errorState,o["\u0275nov"](e,319).required.toString()]),n(e,321,0,o["\u0275nov"](e,322).disabled||null,"NoopAnimations"===o["\u0275nov"](e,322)._animationMode),n(e,325,0,o["\u0275nov"](e,326).disabled||null,"NoopAnimations"===o["\u0275nov"](e,326)._animationMode),n(e,328,0,o["\u0275nov"](e,329).disabled||null,"NoopAnimations"===o["\u0275nov"](e,329)._animationMode)})}function jC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 LC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Cloud configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,qC)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,jC)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.cloudNodeTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.cloudNodeTemplate)},null)}function VC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-template-details",[],null,null,null,LC,yC)),o["\u0275did"](1,114688,null,0,bC,[bt,Uh,__,fc,sw,Rl],null,null)],function(n,e){n(e,1,0)},null)}var BC=o["\u0275ccf"]("app-cloud-nodes-template-details",bC,VC,{},{},[]),zC=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}(),UC=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}(),HC=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function ZC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function WC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add IOS router template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/dynamips/templates/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function GC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function KC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,32,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,18,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](26,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,27)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,27)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](27,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](28,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,gs,vs)),o["\u0275did"](29,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](31,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0),n(e,29,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color),n(e,26,0,o["\u0275nov"](e,27).role,o["\u0275nov"](e,27)._highlighted,o["\u0275nov"](e,27)._triggersSubmenu,o["\u0275nov"](e,27)._getTabIndex(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).disabled||null),n(e,28,0,o["\u0275nov"](e,29).inline,"primary"!==o["\u0275nov"](e,29).color&&"accent"!==o["\u0275nov"](e,29).color&&"warn"!==o["\u0275nov"](e,29).color)})}function YC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,KC)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.iosTemplates)},null)}function $C(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,YC)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function XC(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOS routers templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,ZC)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,WC)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,GC)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$C)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 QC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ios-templates",[],null,null,null,XC,HC)),o["\u0275did"](1,114688,null,0,UC,[bt,Uh,zC,Rl],null,null)],function(n,e){n(e,1,0)},null)}var JC=o["\u0275ccf"]("app-ios-templates",UC,QC,{},{},[]),nx=function(){return function(n){this.template=n}}(),ex=function(){function n(n){this._elementRef=n}return n.prototype.focus=function(){this._elementRef.nativeElement.focus()},n}(),tx=0,lx=new o.InjectionToken("STEPPER_GLOBAL_OPTIONS"),ox=function(){function n(n,e){this._stepper=n,this.interacted=!1,this._editable=!0,this._optional=!1,this._customCompleted=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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"optional",{get:function(){return this._optional},set:function(n){this._optional=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"completed",{get:function(){return null==this._customCompleted?this._getDefaultCompleted():this._customCompleted},set:function(n){this._customCompleted=ao(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=ao(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._customCompleted&&(this._customCompleted=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()},n.prototype.ngOnChanges=function(){this._stepper._stateChanged()},n}(),rx=function(){function n(n,e,t,l){this._dir=n,this._changeDetectorRef=e,this._elementRef=t,this._destroyed=new A.b,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.EventEmitter,this._orientation="horizontal",this._groupId=tx++,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=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){var e=uo(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 Fo(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(O.a)()).pipe(Object(W.a)(this._layoutDirection()),Object(Is.a)(this._destroyed)).subscribe(function(e){return n._keyManager.withHorizontalOrientation(e)}),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(Object(Is.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=Co(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.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}(),ix=function(){return function(){}}(),ax=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(nx),ux=function(){function n(){this.changes=new A.b,this.optionalLabel="Optional"}return n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n},token:n,providedIn:"root"}),n}();function sx(n){return n||new ux}var dx=function(n){function e(e,t,l,o){var r=n.call(this,l)||this;return r._intl=e,r._focusMonitor=t,t.monitor(l,!0),r._intlSubscription=e.changes.subscribe(function(){return o.markForCheck()}),r}return Object(s.__extends)(e,n),e.prototype.ngOnDestroy=function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype._stringLabel=function(){return this.label instanceof ax?null:this.label},e.prototype._templateLabel=function(){return this.label instanceof ax?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}(ex),cx=function(n){function e(e,t,l){var o=n.call(this,e,l)||this;return o._errorStateMatcher=t,o}return Object(s.__extends)(e,n),e.prototype.isErrorState=function(n,e){return this._errorStateMatcher.isErrorState(n,e)||!!(n&&n.invalid&&this.interacted)},e}(ox),px=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.animationDone=new o.EventEmitter,e._iconOverrides={},e._animationDone=new A.b,e}return Object(s.__extends)(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(Is.a)(this._destroyed)).subscribe(function(){return n._stateChanged()}),this._animationDone.pipe(Object(Ds.a)(function(n,e){return n.fromState===e.fromState&&n.toState===e.toState}),Object(Is.a)(this._destroyed)).subscribe(function(e){"current"===e.toState&&n.animationDone.emit()})},e}(rx),fx=function(n){function e(e,t,l,o){var r=n.call(this,e,t,l,o)||this;return r._orientation="vertical",r}return Object(s.__extends)(e,n),e}(px),hx=function(){return function(){}}(),mx=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function vx(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function gx(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{content:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,vx))],null,null)}var bx=o["\u0275crt"]({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 yx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","mat-step"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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},Ox,wx)),o["\u0275did"](2,180224,[[1,4]],0,dx,[ux,Bo,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"]},null),(n()(),o["\u0275eld"](3,0,null,null,4,"div",[["class","mat-vertical-content-container"]],[[2,"mat-stepper-vertical-line",null]],null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](5,0,null,null,2,"div",[["class","mat-vertical-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](7,540672,null,0,I.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),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 _x(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_stepHeader:1}),(n()(),o["\u0275and"](16777216,null,null,1,null,yx)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,2,0,e.component.steps)},null)}var wx=o["\u0275crt"]({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 Cx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,540672,null,0,I.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){var t=e.component;n(e,1,0,t._getIconContext(),t.iconOverrides[t.state])},null)}function xx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){var t=e.component;n(e,1,0,t._getDefaultTextForState(t.state))})}function Sx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](1,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](2,0,["",""]))],function(n,e){n(e,1,0)},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).inline,"primary"!==o["\u0275nov"](e,1).color&&"accent"!==o["\u0275nov"](e,1).color&&"warn"!==o["\u0275nov"](e,1).color),n(e,2,0,t._getDefaultTextForState(t.state))})}function kx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,null,null,null,null,null,null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,xx)),o["\u0275did"](3,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Sx)),o["\u0275did"](5,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.component.state),n(e,3,0,"number")},null)}function Ex(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,540672,null,0,I.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.component._templateLabel().template)},null)}function Tx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-text-label"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.label)})}function Rx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-optional"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component._intl.optionalLabel)})}function Ix(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-sub-label-error"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.errorMessage)})}function Ox(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-header-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](1,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{trigger:[0,"trigger"]},null),(n()(),o["\u0275eld"](2,0,null,null,6,"div",[],[[8,"className",0],[2,"mat-step-icon-selected",null]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,5,"div",[["class","mat-step-icon-content"]],null,null,null,null,null)),o["\u0275did"](4,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Cx)),o["\u0275did"](6,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,kx)),o["\u0275did"](8,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275eld"](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["\u0275and"](16777216,null,null,1,null,Ex)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Tx)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Rx)),o["\u0275did"](15,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ix)),o["\u0275did"](17,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,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["\u0275nov"](e,1).unbounded),n(e,2,0,o["\u0275inlineInterpolate"](1,"mat-step-icon-state-",t.state," mat-step-icon"),t.selected),n(e,9,0,t.active,t.selected,"error"==t.state)})}var Fx=function(){return function(){}}(),Dx=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:256,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(){return{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}(),Mx=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.router=r,this.templateMocksService=i,this.iosConfigurationService=a,this.isEtherSwitchRouter=!1,this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[],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.iosTemplate=new Fx,this.iosImageForm=this.formBuilder.group({imageName:new Bm(null,[nm.required])}),this.iosNameForm=this.formBuilder.group({templateName:new Bm(null,[nm.required]),platform:new Bm(null,[nm.required]),chassis:new Bm(null,[nm.required])}),this.iosMemoryForm=this.formBuilder.group({memory:new Bm(null,[nm.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.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.prototype.addTemplate=function(){var n=this;this.iosImageForm.invalid||this.iosNameForm.invalid||this.iosMemoryForm.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=Object(ag.v4)(),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.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(e){n.goBack()}))},n.prototype.completeAdaptersData=function(){if(this.chassis[this.iosTemplate.platform]){if(Object.keys(this.networkAdapters[this.iosTemplate.platform]))for(var n=0;n<Object.keys(this.networkAdapters[this.iosTemplate.platform]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="")}else if(Object.keys(this.networkAdaptersForPlatform[this.iosTemplate.platform]))for(n=0;n<Object.keys(this.networkAdaptersForPlatform[this.iosTemplate.platform]).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.onPlatformChosen=function(){this.iosTemplate.chassis="",this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[]},n.prototype.onChassisChosen=function(){this.networkAdaptersForTemplate=[]},n}(),Nx=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function Ax(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[26,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Px(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[36,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function qx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,29,{_control:0}),o["\u0275qud"](335544320,30,{_placeholderChild:0}),o["\u0275qud"](335544320,31,{_labelChild:0}),o["\u0275qud"](603979776,32,{_errorChildren:1}),o["\u0275qud"](603979776,33,{_hintChildren:1}),o["\u0275qud"](603979776,34,{_prefixChildren:1}),o["\u0275qud"](603979776,35,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,14)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,14)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,14)._onBlur()&&l),"selectionChange"===e&&(l=!1!==r.onChassisChosen(t)&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.chassis=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](11,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](13,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](14,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["\u0275qud"](603979776,36,{options:1}),o["\u0275qud"](603979776,37,{optionGroups:1}),o["\u0275qud"](335544320,38,{customTrigger:0}),o["\u0275prd"](2048,[[29,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Px)),o["\u0275did"](20,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,11,0,"chassis",t.iosTemplate.chassis),n(e,14,0,"Chassis"),n(e,20,0,t.chassis[t.iosTemplate.platform])},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,13).ngClassUntouched,o["\u0275nov"](e,13).ngClassTouched,o["\u0275nov"](e,13).ngClassPristine,o["\u0275nov"](e,13).ngClassDirty,o["\u0275nov"](e,13).ngClassValid,o["\u0275nov"](e,13).ngClassInvalid,o["\u0275nov"](e,13).ngClassPending,o["\u0275nov"](e,14).id,o["\u0275nov"](e,14).tabIndex,o["\u0275nov"](e,14)._getAriaLabel(),o["\u0275nov"](e,14)._getAriaLabelledby(),o["\u0275nov"](e,14).required.toString(),o["\u0275nov"](e,14).disabled.toString(),o["\u0275nov"](e,14).errorState,o["\u0275nov"](e,14).panelOpen?o["\u0275nov"](e,14)._optionIds:null,o["\u0275nov"](e,14).multiple,o["\u0275nov"](e,14)._ariaDescribedby||null,o["\u0275nov"](e,14)._getAriaActiveDescendant(),o["\u0275nov"](e,14).disabled,o["\u0275nov"](e,14).errorState,o["\u0275nov"](e,14).required,o["\u0275nov"](e,14).empty])})}function jx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},ab,ib)),o["\u0275did"](1,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](5,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,1).id,null,o["\u0275nov"](e,1).indeterminate,o["\u0275nov"](e,1).checked,o["\u0275nov"](e,1).disabled,"before"==o["\u0275nov"](e,1).labelPosition,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode,o["\u0275nov"](e,5).ngClassUntouched,o["\u0275nov"](e,5).ngClassTouched,o["\u0275nov"](e,5).ngClassPristine,o["\u0275nov"](e,5).ngClassDirty,o["\u0275nov"](e,5).ngClassValid,o["\u0275nov"](e,5).ngClassInvalid,o["\u0275nov"](e,5).ngClassPending])})}function Lx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[48,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Vx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,48,{options:1}),o["\u0275qud"](603979776,49,{optionGroups:1}),o["\u0275qud"](335544320,50,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Lx)),o["\u0275did"](12,278528,null,0,I.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],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function Bx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Vx)),o["\u0275did"](2,16384,null,0,I.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 zx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,Bx)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](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 Ux(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[51,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Hx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,51,{options:1}),o["\u0275qud"](603979776,52,{optionGroups:1}),o["\u0275qud"](335544320,53,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Ux)),o["\u0275did"](12,278528,null,0,I.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],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function Zx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Hx)),o["\u0275did"](2,16384,null,0,I.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 Wx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,Zx)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](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 Gx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[55,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Kx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkModulesForTemplate[n.parent.context.$implicit]=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,55,{options:1}),o["\u0275qud"](603979776,56,{optionGroups:1}),o["\u0275qud"](335544320,57,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Gx)),o["\u0275did"](12,278528,null,0,I.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],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"WIC ",e.parent.context.$implicit,"")),n(e,12,0,t.networkModules[t.iosTemplate.platform][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function Yx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Kx)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkModules[t.iosTemplate.platform][e.context.$implicit])},null)}function $x(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,Yx)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,4)],function(n,e){var t=n(e,3,0,0,1,2,3);n(e,2,0,t)},null)}function Xx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,156,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,148,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,147,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,_x,bx)),o["\u0275did"](3,5423104,null,2,fx,[[2,Dr],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,px,null,[fx]),(n()(),o["\u0275eld"](7,0,null,null,25,"mat-step",[["label","IOS image"]],null,null,null,gx,mx)),o["\u0275did"](8,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,3,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](11,0,null,0,21,"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["\u0275nov"](n,13).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,13).onReset()&&l),l},null,null)),o["\u0275did"](12,16384,null,0,ov,[],null,null),o["\u0275did"](13,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](15,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](16,0,null,null,16,"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,Fb,yb)),o["\u0275did"](17,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](25,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","imageName"],["matInput",""],["placeholder","IOS 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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,26)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,26).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,31)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.image=t)&&l),l},null,null)),o["\u0275did"](26,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](28,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](30,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](31,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](33,0,null,null,50,"mat-step",[["label","Name and platform"]],null,null,null,gx,mx)),o["\u0275did"](34,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,11,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](37,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["\u0275nov"](n,39).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,39).onReset()&&l),l},null,null)),o["\u0275did"](38,16384,null,0,ov,[],null,null),o["\u0275did"](39,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](41,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](42,0,null,null,16,"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,Fb,yb)),o["\u0275did"](43,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,12,{_control:0}),o["\u0275qud"](335544320,13,{_placeholderChild:0}),o["\u0275qud"](335544320,14,{_labelChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.name=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](54,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](56,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](57,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4]],db,null,[qb]),(n()(),o["\u0275eld"](59,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,Fb,yb)),o["\u0275did"](60,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,19,{_control:0}),o["\u0275qud"](335544320,20,{_placeholderChild:0}),o["\u0275qud"](335544320,21,{_labelChild:0}),o["\u0275qud"](603979776,22,{_errorChildren:1}),o["\u0275qud"](603979776,23,{_hintChildren:1}),o["\u0275qud"](603979776,24,{_prefixChildren:1}),o["\u0275qud"](603979776,25,{_suffixChildren:1}),(n()(),o["\u0275eld"](68,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,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,73)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,73)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,73)._onBlur()&&l),"selectionChange"===e&&(l=!1!==r.onPlatformChosen(t)&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.platform=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](70,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](72,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](73,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["\u0275qud"](603979776,26,{options:1}),o["\u0275qud"](603979776,27,{optionGroups:1}),o["\u0275qud"](335544320,28,{customTrigger:0}),o["\u0275prd"](2048,[[19,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Ax)),o["\u0275did"](79,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qx)),o["\u0275did"](81,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,jx)),o["\u0275did"](83,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](84,0,null,null,30,"mat-step",[["label","Memory"]],null,null,null,gx,mx)),o["\u0275did"](85,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,39,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](88,0,null,0,26,"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["\u0275nov"](n,90).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,90).onReset()&&l),l},null,null)),o["\u0275did"](89,16384,null,0,ov,[],null,null),o["\u0275did"](90,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](92,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](93,0,null,null,17,"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,Fb,yb)),o["\u0275did"](94,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,40,{_control:0}),o["\u0275qud"](335544320,41,{_placeholderChild:0}),o["\u0275qud"](335544320,42,{_labelChild:0}),o["\u0275qud"](603979776,43,{_errorChildren:1}),o["\u0275qud"](603979776,44,{_hintChildren:1}),o["\u0275qud"](603979776,45,{_prefixChildren:1}),o["\u0275qud"](603979776,46,{_suffixChildren:1}),(n()(),o["\u0275eld"](102,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","memory"],["matInput",""],["placeholder","Default RAM"],["type","number"],["value","defaultRam[iosTemplate.platform]"]],[[2,"ng-untouched",null],[2,"ng-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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,103)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,103).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,103)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,103)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,104).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,104).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,104).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,109)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,109)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,109)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](103,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](104,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](106,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](108,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](109,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"],value:[2,"value"]},null),o["\u0275prd"](2048,[[40,4]],db,null,[qb]),(n()(),o["\u0275eld"](111,0,null,null,3,"mat-label",[],null,null,null,null,null)),o["\u0275did"](112,16384,null,0,pb,[],null,null),(n()(),o["\u0275eld"](113,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Check for minimum and maximum RAM requirement"])),(n()(),o["\u0275eld"](115,0,null,null,7,"mat-step",[["label","Network adapters"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](117,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,47,{stepLabel:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,zx)),o["\u0275did"](120,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,Wx)),o["\u0275did"](122,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](123,0,null,null,5,"mat-step",[["label","WIC modules"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](125,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,54,{stepLabel:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,$x)),o["\u0275did"](128,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](129,0,null,null,20,"mat-step",[["label","Idle-PC"]],null,null,null,gx,mx)),o["\u0275did"](130,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,58,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](133,0,null,0,16,"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,Fb,yb)),o["\u0275did"](134,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,59,{_control:0}),o["\u0275qud"](335544320,60,{_placeholderChild:0}),o["\u0275qud"](335544320,61,{_labelChild:0}),o["\u0275qud"](603979776,62,{_errorChildren:1}),o["\u0275qud"](603979776,63,{_hintChildren:1}),o["\u0275qud"](603979776,64,{_prefixChildren:1}),o["\u0275qud"](603979776,65,{_suffixChildren:1}),(n()(),o["\u0275eld"](142,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,143)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,143).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,143)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,143)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,148)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,148)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,148)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlepc=t)&&l),l},null,null)),o["\u0275did"](143,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](145,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](147,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](148,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[59,4]],db,null,[qb]),(n()(),o["\u0275eld"](150,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](151,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](152,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](154,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](155,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,3,0,!0),n(e,8,0,"IOS image"),n(e,13,0,t.iosImageForm),n(e,28,0,"imageName",t.iosTemplate.image),n(e,31,0,"IOS image","text"),n(e,34,0,"Name and platform"),n(e,39,0,t.iosNameForm),n(e,54,0,"templateName",t.iosTemplate.name),n(e,57,0,"Name","text"),n(e,70,0,"platform",t.iosTemplate.platform),n(e,73,0,"Platform"),n(e,79,0,t.platforms),n(e,81,0,t.chassis[t.iosTemplate.platform]),n(e,83,0,t.platformsWithEtherSwitchRouterOption[t.iosTemplate.platform]),n(e,85,0,"Memory"),n(e,90,0,t.iosMemoryForm),n(e,106,0,"memory",t.iosTemplate.ram),n(e,109,0,"Default RAM","number","defaultRam[iosTemplate.platform]"),n(e,117,0,"Network adapters"),n(e,120,0,t.iosTemplate.chassis&&t.chassis[t.iosTemplate.platform]),n(e,122,0,t.iosTemplate.platform&&!t.chassis[t.iosTemplate.platform]),n(e,125,0,"WIC modules"),n(e,128,0,t.iosTemplate.platform&&t.networkModules[t.iosTemplate.platform]),n(e,130,0,"Idle-PC"),n(e,145,0,t.iosTemplate.idlepc),n(e,148,0,"Idle-PC","text"),n(e,155,0,"primary")},function(n,e){var t=e.component;n(e,11,0,o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending),n(e,16,1,["standard"==o["\u0275nov"](e,17).appearance,"fill"==o["\u0275nov"](e,17).appearance,"outline"==o["\u0275nov"](e,17).appearance,"legacy"==o["\u0275nov"](e,17).appearance,o["\u0275nov"](e,17)._control.errorState,o["\u0275nov"](e,17)._canLabelFloat,o["\u0275nov"](e,17)._shouldLabelFloat(),o["\u0275nov"](e,17)._hasFloatingLabel(),o["\u0275nov"](e,17)._hideControlPlaceholder(),o["\u0275nov"](e,17)._control.disabled,o["\u0275nov"](e,17)._control.autofilled,o["\u0275nov"](e,17)._control.focused,"accent"==o["\u0275nov"](e,17).color,"warn"==o["\u0275nov"](e,17).color,o["\u0275nov"](e,17)._shouldForward("untouched"),o["\u0275nov"](e,17)._shouldForward("touched"),o["\u0275nov"](e,17)._shouldForward("pristine"),o["\u0275nov"](e,17)._shouldForward("dirty"),o["\u0275nov"](e,17)._shouldForward("valid"),o["\u0275nov"](e,17)._shouldForward("invalid"),o["\u0275nov"](e,17)._shouldForward("pending"),!o["\u0275nov"](e,17)._animationsEnabled]),n(e,25,1,[o["\u0275nov"](e,30).ngClassUntouched,o["\u0275nov"](e,30).ngClassTouched,o["\u0275nov"](e,30).ngClassPristine,o["\u0275nov"](e,30).ngClassDirty,o["\u0275nov"](e,30).ngClassValid,o["\u0275nov"](e,30).ngClassInvalid,o["\u0275nov"](e,30).ngClassPending,o["\u0275nov"](e,31)._isServer,o["\u0275nov"](e,31).id,o["\u0275nov"](e,31).placeholder,o["\u0275nov"](e,31).disabled,o["\u0275nov"](e,31).required,o["\u0275nov"](e,31).readonly&&!o["\u0275nov"](e,31)._isNativeSelect||null,o["\u0275nov"](e,31)._ariaDescribedby||null,o["\u0275nov"](e,31).errorState,o["\u0275nov"](e,31).required.toString()]),n(e,37,0,o["\u0275nov"](e,41).ngClassUntouched,o["\u0275nov"](e,41).ngClassTouched,o["\u0275nov"](e,41).ngClassPristine,o["\u0275nov"](e,41).ngClassDirty,o["\u0275nov"](e,41).ngClassValid,o["\u0275nov"](e,41).ngClassInvalid,o["\u0275nov"](e,41).ngClassPending),n(e,42,1,["standard"==o["\u0275nov"](e,43).appearance,"fill"==o["\u0275nov"](e,43).appearance,"outline"==o["\u0275nov"](e,43).appearance,"legacy"==o["\u0275nov"](e,43).appearance,o["\u0275nov"](e,43)._control.errorState,o["\u0275nov"](e,43)._canLabelFloat,o["\u0275nov"](e,43)._shouldLabelFloat(),o["\u0275nov"](e,43)._hasFloatingLabel(),o["\u0275nov"](e,43)._hideControlPlaceholder(),o["\u0275nov"](e,43)._control.disabled,o["\u0275nov"](e,43)._control.autofilled,o["\u0275nov"](e,43)._control.focused,"accent"==o["\u0275nov"](e,43).color,"warn"==o["\u0275nov"](e,43).color,o["\u0275nov"](e,43)._shouldForward("untouched"),o["\u0275nov"](e,43)._shouldForward("touched"),o["\u0275nov"](e,43)._shouldForward("pristine"),o["\u0275nov"](e,43)._shouldForward("dirty"),o["\u0275nov"](e,43)._shouldForward("valid"),o["\u0275nov"](e,43)._shouldForward("invalid"),o["\u0275nov"](e,43)._shouldForward("pending"),!o["\u0275nov"](e,43)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,68,1,[o["\u0275nov"](e,72).ngClassUntouched,o["\u0275nov"](e,72).ngClassTouched,o["\u0275nov"](e,72).ngClassPristine,o["\u0275nov"](e,72).ngClassDirty,o["\u0275nov"](e,72).ngClassValid,o["\u0275nov"](e,72).ngClassInvalid,o["\u0275nov"](e,72).ngClassPending,o["\u0275nov"](e,73).id,o["\u0275nov"](e,73).tabIndex,o["\u0275nov"](e,73)._getAriaLabel(),o["\u0275nov"](e,73)._getAriaLabelledby(),o["\u0275nov"](e,73).required.toString(),o["\u0275nov"](e,73).disabled.toString(),o["\u0275nov"](e,73).errorState,o["\u0275nov"](e,73).panelOpen?o["\u0275nov"](e,73)._optionIds:null,o["\u0275nov"](e,73).multiple,o["\u0275nov"](e,73)._ariaDescribedby||null,o["\u0275nov"](e,73)._getAriaActiveDescendant(),o["\u0275nov"](e,73).disabled,o["\u0275nov"](e,73).errorState,o["\u0275nov"](e,73).required,o["\u0275nov"](e,73).empty]),n(e,88,0,o["\u0275nov"](e,92).ngClassUntouched,o["\u0275nov"](e,92).ngClassTouched,o["\u0275nov"](e,92).ngClassPristine,o["\u0275nov"](e,92).ngClassDirty,o["\u0275nov"](e,92).ngClassValid,o["\u0275nov"](e,92).ngClassInvalid,o["\u0275nov"](e,92).ngClassPending),n(e,93,1,["standard"==o["\u0275nov"](e,94).appearance,"fill"==o["\u0275nov"](e,94).appearance,"outline"==o["\u0275nov"](e,94).appearance,"legacy"==o["\u0275nov"](e,94).appearance,o["\u0275nov"](e,94)._control.errorState,o["\u0275nov"](e,94)._canLabelFloat,o["\u0275nov"](e,94)._shouldLabelFloat(),o["\u0275nov"](e,94)._hasFloatingLabel(),o["\u0275nov"](e,94)._hideControlPlaceholder(),o["\u0275nov"](e,94)._control.disabled,o["\u0275nov"](e,94)._control.autofilled,o["\u0275nov"](e,94)._control.focused,"accent"==o["\u0275nov"](e,94).color,"warn"==o["\u0275nov"](e,94).color,o["\u0275nov"](e,94)._shouldForward("untouched"),o["\u0275nov"](e,94)._shouldForward("touched"),o["\u0275nov"](e,94)._shouldForward("pristine"),o["\u0275nov"](e,94)._shouldForward("dirty"),o["\u0275nov"](e,94)._shouldForward("valid"),o["\u0275nov"](e,94)._shouldForward("invalid"),o["\u0275nov"](e,94)._shouldForward("pending"),!o["\u0275nov"](e,94)._animationsEnabled]),n(e,102,1,[o["\u0275nov"](e,108).ngClassUntouched,o["\u0275nov"](e,108).ngClassTouched,o["\u0275nov"](e,108).ngClassPristine,o["\u0275nov"](e,108).ngClassDirty,o["\u0275nov"](e,108).ngClassValid,o["\u0275nov"](e,108).ngClassInvalid,o["\u0275nov"](e,108).ngClassPending,o["\u0275nov"](e,109)._isServer,o["\u0275nov"](e,109).id,o["\u0275nov"](e,109).placeholder,o["\u0275nov"](e,109).disabled,o["\u0275nov"](e,109).required,o["\u0275nov"](e,109).readonly&&!o["\u0275nov"](e,109)._isNativeSelect||null,o["\u0275nov"](e,109)._ariaDescribedby||null,o["\u0275nov"](e,109).errorState,o["\u0275nov"](e,109).required.toString()]),n(e,113,0,o["\u0275inlineInterpolate"](1,"",t.ciscoUrl,"")),n(e,133,1,["standard"==o["\u0275nov"](e,134).appearance,"fill"==o["\u0275nov"](e,134).appearance,"outline"==o["\u0275nov"](e,134).appearance,"legacy"==o["\u0275nov"](e,134).appearance,o["\u0275nov"](e,134)._control.errorState,o["\u0275nov"](e,134)._canLabelFloat,o["\u0275nov"](e,134)._shouldLabelFloat(),o["\u0275nov"](e,134)._hasFloatingLabel(),o["\u0275nov"](e,134)._hideControlPlaceholder(),o["\u0275nov"](e,134)._control.disabled,o["\u0275nov"](e,134)._control.autofilled,o["\u0275nov"](e,134)._control.focused,"accent"==o["\u0275nov"](e,134).color,"warn"==o["\u0275nov"](e,134).color,o["\u0275nov"](e,134)._shouldForward("untouched"),o["\u0275nov"](e,134)._shouldForward("touched"),o["\u0275nov"](e,134)._shouldForward("pristine"),o["\u0275nov"](e,134)._shouldForward("dirty"),o["\u0275nov"](e,134)._shouldForward("valid"),o["\u0275nov"](e,134)._shouldForward("invalid"),o["\u0275nov"](e,134)._shouldForward("pending"),!o["\u0275nov"](e,134)._animationsEnabled]),n(e,142,1,[o["\u0275nov"](e,147).ngClassUntouched,o["\u0275nov"](e,147).ngClassTouched,o["\u0275nov"](e,147).ngClassPristine,o["\u0275nov"](e,147).ngClassDirty,o["\u0275nov"](e,147).ngClassValid,o["\u0275nov"](e,147).ngClassInvalid,o["\u0275nov"](e,147).ngClassPending,o["\u0275nov"](e,148)._isServer,o["\u0275nov"](e,148).id,o["\u0275nov"](e,148).placeholder,o["\u0275nov"](e,148).disabled,o["\u0275nov"](e,148).required,o["\u0275nov"](e,148).readonly&&!o["\u0275nov"](e,148)._isNativeSelect||null,o["\u0275nov"](e,148)._ariaDescribedby||null,o["\u0275nov"](e,148).errorState,o["\u0275nov"](e,148).required.toString()]),n(e,151,0,o["\u0275nov"](e,152).disabled||null,"NoopAnimations"===o["\u0275nov"](e,152)._animationMode),n(e,154,0,o["\u0275nov"](e,155).disabled||null,"NoopAnimations"===o["\u0275nov"](e,155)._animationMode)})}function Qx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New IOS router"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Xx)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.iosTemplate)},null)}function Jx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-ios-template",[],null,null,null,Qx,Nx)),o["\u0275did"](1,114688,null,0,Mx,[bt,Uh,zC,fc,lv,Rl,D_,Dx],null,null)],function(n,e){n(e,1,0)},null)}var nS=o["\u0275ccf"]("app-add-ios-template",Mx,Jx,{},{},[]),eS=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.iosConfigurationService=r,this.router=i,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 Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.required),path:new Bm("",nm.required),initialConfig:new Bm("",nm.required)}),this.memoryForm=this.formBuilder.group({ram:new Bm("",nm.required),nvram:new Bm("",nm.required),iomemory:new Bm("",nm.required),disk0:new Bm("",nm.required),disk1:new Bm("",nm.required)}),this.advancedForm=this.formBuilder.group({systemId:new Bm("",nm.required),idlemax:new Bm("",nm.required),idlesleep:new Bm("",nm.required),execarea:new Bm("",nm.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}(),tS=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function lS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[31,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function oS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[62,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function rS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[102,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function iS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,102,{options:1}),o["\u0275qud"](603979776,103,{optionGroups:1}),o["\u0275qud"](335544320,104,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,rS)),o["\u0275did"](12,278528,null,0,I.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],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function aS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,iS)),o["\u0275did"](2,16384,null,0,I.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 uS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,aS)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](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 sS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[105,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function dS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,105,{options:1}),o["\u0275qud"](603979776,106,{optionGroups:1}),o["\u0275qud"](335544320,107,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,sS)),o["\u0275did"](12,278528,null,0,I.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],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function cS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,dS)),o["\u0275did"](2,16384,null,0,I.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 pS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,cS)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](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 fS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[108,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function hS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic0=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](7,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](8,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,108,{options:1}),o["\u0275qud"](603979776,109,{optionGroups:1}),o["\u0275qud"](335544320,110,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,fS)),o["\u0275did"](13,278528,null,0,I.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["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function mS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[111,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function vS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic1=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](7,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](8,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,111,{options:1}),o["\u0275qud"](603979776,112,{optionGroups:1}),o["\u0275qud"](335544320,113,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,mS)),o["\u0275did"](13,278528,null,0,I.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["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function gS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[114,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function bS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic2=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](7,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](8,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,114,{options:1}),o["\u0275qud"](603979776,115,{optionGroups:1}),o["\u0275qud"](335544320,116,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,gS)),o["\u0275did"](13,278528,null,0,I.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["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function yS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,502,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,494,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,183,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,144,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,3,{_control:0}),o["\u0275qud"](335544320,4,{_placeholderChild:0}),o["\u0275qud"](335544320,5,{_labelChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["\u0275did"](56,16384,null,0,pb,[],null,null),(n()(),o["\u0275ted"](57,null,["Platform - ",""])),(n()(),o["\u0275eld"](58,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](59,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](60,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["\u0275did"](61,16384,null,0,pb,[],null,null),(n()(),o["\u0275ted"](62,null,["Chassis - ",""])),(n()(),o["\u0275eld"](63,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](64,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](65,0,null,null,16,"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,Fb,yb)),o["\u0275did"](66,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,17,{_control:0}),o["\u0275qud"](335544320,18,{_placeholderChild:0}),o["\u0275qud"](335544320,19,{_labelChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](74,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,75)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,75).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,75)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,75)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,80)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,80)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,80)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](75,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](77,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](79,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](80,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[17,4]],db,null,[qb]),(n()(),o["\u0275eld"](82,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](83,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](85,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](86,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](87,0,null,null,21,"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,Fb,yb)),o["\u0275did"](88,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,24,{_control:0}),o["\u0275qud"](335544320,25,{_placeholderChild:0}),o["\u0275qud"](335544320,26,{_labelChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](96,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,102)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,102)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,102)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](98,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](99,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](101,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](102,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,31,{options:1}),o["\u0275qud"](603979776,32,{optionGroups:1}),o["\u0275qud"](335544320,33,{customTrigger:0}),o["\u0275prd"](2048,[[24,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,lS)),o["\u0275did"](108,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](109,0,null,null,16,"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,Fb,yb)),o["\u0275did"](110,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](118,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,119)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,119).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,119)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,119)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,124)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,124)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.image=t)&&l),l},null,null)),o["\u0275did"](119,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](121,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](123,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](124,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[34,4]],db,null,[qb]),(n()(),o["\u0275eld"](126,0,null,null,16,"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,Fb,yb)),o["\u0275did"](127,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,41,{_control:0}),o["\u0275qud"](335544320,42,{_placeholderChild:0}),o["\u0275qud"](335544320,43,{_labelChild:0}),o["\u0275qud"](603979776,44,{_errorChildren:1}),o["\u0275qud"](603979776,45,{_hintChildren:1}),o["\u0275qud"](603979776,46,{_prefixChildren:1}),o["\u0275qud"](603979776,47,{_suffixChildren:1}),(n()(),o["\u0275eld"](135,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,136)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,136).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,136)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,136)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,141)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,141)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,141)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.startup_config=t)&&l),l},null,null)),o["\u0275did"](136,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](138,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](140,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](141,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[41,4]],db,null,[qb]),(n()(),o["\u0275eld"](143,0,null,null,17,"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,Fb,yb)),o["\u0275did"](144,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,48,{_control:0}),o["\u0275qud"](335544320,49,{_placeholderChild:0}),o["\u0275qud"](335544320,50,{_labelChild:0}),o["\u0275qud"](603979776,51,{_errorChildren:1}),o["\u0275qud"](603979776,52,{_hintChildren:1}),o["\u0275qud"](603979776,53,{_prefixChildren:1}),o["\u0275qud"](603979776,54,{_suffixChildren:1}),(n()(),o["\u0275eld"](152,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,153)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,153).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,153)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,153)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,159)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.private_config=t)&&l),l},null,null)),o["\u0275did"](153,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](155,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](156,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](158,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](159,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[48,4]],db,null,[qb]),(n()(),o["\u0275eld"](161,0,null,1,20,"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,Fb,yb)),o["\u0275did"](162,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,55,{_control:0}),o["\u0275qud"](335544320,56,{_placeholderChild:0}),o["\u0275qud"](335544320,57,{_labelChild:0}),o["\u0275qud"](603979776,58,{_errorChildren:1}),o["\u0275qud"](603979776,59,{_hintChildren:1}),o["\u0275qud"](603979776,60,{_prefixChildren:1}),o["\u0275qud"](603979776,61,{_suffixChildren:1}),(n()(),o["\u0275eld"](170,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,175)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,175)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,175)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](172,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](174,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](175,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,62,{options:1}),o["\u0275qud"](603979776,63,{optionGroups:1}),o["\u0275qud"](335544320,64,{customTrigger:0}),o["\u0275prd"](2048,[[55,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,oS)),o["\u0275did"](181,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](182,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},ab,ib)),o["\u0275did"](183,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](185,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](187,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](189,16777216,null,null,112,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](190,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,65,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](193,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,194)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,194)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](194,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](195,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](196,{value:0,params:1}),(n()(),o["\u0275eld"](197,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](198,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Memories and disks "])),(n()(),o["\u0275eld"](200,0,null,1,94,"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["\u0275nov"](n,202).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,202).onReset()&&l),l},null,null)),o["\u0275did"](201,16384,null,0,ov,[],null,null),o["\u0275did"](202,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](204,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](205,0,null,null,17,"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,Fb,yb)),o["\u0275did"](206,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,66,{_control:0}),o["\u0275qud"](335544320,67,{_placeholderChild:0}),o["\u0275qud"](335544320,68,{_labelChild:0}),o["\u0275qud"](603979776,69,{_errorChildren:1}),o["\u0275qud"](603979776,70,{_hintChildren:1}),o["\u0275qud"](603979776,71,{_prefixChildren:1}),o["\u0275qud"](603979776,72,{_suffixChildren:1}),(n()(),o["\u0275eld"](214,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,215)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,215).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,215)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,215)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,216).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,216).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,216).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,221)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,221)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,221)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](215,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](216,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](218,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](220,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](221,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[66,4]],db,null,[qb]),(n()(),o["\u0275eld"](223,0,null,null,17,"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,Fb,yb)),o["\u0275did"](224,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,73,{_control:0}),o["\u0275qud"](335544320,74,{_placeholderChild:0}),o["\u0275qud"](335544320,75,{_labelChild:0}),o["\u0275qud"](603979776,76,{_errorChildren:1}),o["\u0275qud"](603979776,77,{_hintChildren:1}),o["\u0275qud"](603979776,78,{_prefixChildren:1}),o["\u0275qud"](603979776,79,{_suffixChildren:1}),(n()(),o["\u0275eld"](232,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,233)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,233).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,233)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,233)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,234).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,234).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,234).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,239)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,239)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,239)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.nvram=t)&&l),l},null,null)),o["\u0275did"](233,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](234,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](236,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](238,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](239,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[73,4]],db,null,[qb]),(n()(),o["\u0275eld"](241,0,null,null,17,"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,Fb,yb)),o["\u0275did"](242,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,80,{_control:0}),o["\u0275qud"](335544320,81,{_placeholderChild:0}),o["\u0275qud"](335544320,82,{_labelChild:0}),o["\u0275qud"](603979776,83,{_errorChildren:1}),o["\u0275qud"](603979776,84,{_hintChildren:1}),o["\u0275qud"](603979776,85,{_prefixChildren:1}),o["\u0275qud"](603979776,86,{_suffixChildren:1}),(n()(),o["\u0275eld"](250,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,251)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,251).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,251)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,251)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,252).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,252).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,252).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,257)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,257)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,257)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.iomem=t)&&l),l},null,null)),o["\u0275did"](251,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](252,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](254,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](256,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](257,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[80,4]],db,null,[qb]),(n()(),o["\u0275eld"](259,0,null,null,17,"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,Fb,yb)),o["\u0275did"](260,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,87,{_control:0}),o["\u0275qud"](335544320,88,{_placeholderChild:0}),o["\u0275qud"](335544320,89,{_labelChild:0}),o["\u0275qud"](603979776,90,{_errorChildren:1}),o["\u0275qud"](603979776,91,{_hintChildren:1}),o["\u0275qud"](603979776,92,{_prefixChildren:1}),o["\u0275qud"](603979776,93,{_suffixChildren:1}),(n()(),o["\u0275eld"](268,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,269)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,269).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,269)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,269)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,270).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,270).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,270).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,275)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,275)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,275)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.disk0=t)&&l),l},null,null)),o["\u0275did"](269,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](270,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](272,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](274,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](275,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[87,4]],db,null,[qb]),(n()(),o["\u0275eld"](277,0,null,null,17,"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,Fb,yb)),o["\u0275did"](278,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,94,{_control:0}),o["\u0275qud"](335544320,95,{_placeholderChild:0}),o["\u0275qud"](335544320,96,{_labelChild:0}),o["\u0275qud"](603979776,97,{_errorChildren:1}),o["\u0275qud"](603979776,98,{_hintChildren:1}),o["\u0275qud"](603979776,99,{_prefixChildren:1}),o["\u0275qud"](603979776,100,{_suffixChildren:1}),(n()(),o["\u0275eld"](286,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,287)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,287).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,287)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,287)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,288).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,288).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,288).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,293)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,293)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,293)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.disk1=t)&&l),l},null,null)),o["\u0275did"](287,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](288,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](290,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](292,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](293,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[94,4]],db,null,[qb]),(n()(),o["\u0275eld"](295,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},ab,ib)),o["\u0275did"](296,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](298,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](300,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Automatically delete NVRAM and disk files "])),(n()(),o["\u0275eld"](302,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,Wg,Hg)),o["\u0275did"](303,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,101,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](306,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,307)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,307)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](307,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](308,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](309,{value:0,params:1}),(n()(),o["\u0275eld"](310,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](311,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Slots "])),(n()(),o["\u0275eld"](313,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Adapters"])),(n()(),o["\u0275and"](16777216,null,1,1,null,uS)),o["\u0275did"](316,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,pS)),o["\u0275did"](318,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](319,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](320,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](321,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["WICs"])),(n()(),o["\u0275and"](16777216,null,1,1,null,hS)),o["\u0275did"](324,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,vS)),o["\u0275did"](326,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,bS)),o["\u0275did"](328,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](329,16777216,null,null,138,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](330,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,117,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](333,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,334)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,334)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](334,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](335,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](336,{value:0,params:1}),(n()(),o["\u0275eld"](337,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](338,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](340,0,null,1,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["\u0275nov"](n,342).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,342).onReset()&&l),l},null,null)),o["\u0275did"](341,16384,null,0,ov,[],null,null),o["\u0275did"](342,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](344,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](345,0,null,null,16,"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,Fb,yb)),o["\u0275did"](346,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,118,{_control:0}),o["\u0275qud"](335544320,119,{_placeholderChild:0}),o["\u0275qud"](335544320,120,{_labelChild:0}),o["\u0275qud"](603979776,121,{_errorChildren:1}),o["\u0275qud"](603979776,122,{_hintChildren:1}),o["\u0275qud"](603979776,123,{_prefixChildren:1}),o["\u0275qud"](603979776,124,{_suffixChildren:1}),(n()(),o["\u0275eld"](354,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,355)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,355).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,355)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,355)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,360)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,360)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,360)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.system_id=t)&&l),l},null,null)),o["\u0275did"](355,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](357,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](359,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](360,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[118,4]],db,null,[qb]),(n()(),o["\u0275eld"](362,0,null,null,17,"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,Fb,yb)),o["\u0275did"](363,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,125,{_control:0}),o["\u0275qud"](335544320,126,{_placeholderChild:0}),o["\u0275qud"](335544320,127,{_labelChild:0}),o["\u0275qud"](603979776,128,{_errorChildren:1}),o["\u0275qud"](603979776,129,{_hintChildren:1}),o["\u0275qud"](603979776,130,{_prefixChildren:1}),o["\u0275qud"](603979776,131,{_suffixChildren:1}),(n()(),o["\u0275eld"](371,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,372)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,372).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,372)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,372)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,378)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,378)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,378)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.mac_addr=t)&&l),l},null,null)),o["\u0275did"](372,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](374,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](375,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](377,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](378,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[125,4]],db,null,[qb]),(n()(),o["\u0275eld"](380,0,null,null,17,"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,Fb,yb)),o["\u0275did"](381,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,132,{_control:0}),o["\u0275qud"](335544320,133,{_placeholderChild:0}),o["\u0275qud"](335544320,134,{_labelChild:0}),o["\u0275qud"](603979776,135,{_errorChildren:1}),o["\u0275qud"](603979776,136,{_hintChildren:1}),o["\u0275qud"](603979776,137,{_prefixChildren:1}),o["\u0275qud"](603979776,138,{_suffixChildren:1}),(n()(),o["\u0275eld"](389,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,390)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,390).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,390)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,390)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,396)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,396)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,396)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlepc=t)&&l),l},null,null)),o["\u0275did"](390,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](392,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](393,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](395,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](396,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[132,4]],db,null,[qb]),(n()(),o["\u0275eld"](398,0,null,null,17,"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,Fb,yb)),o["\u0275did"](399,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,139,{_control:0}),o["\u0275qud"](335544320,140,{_placeholderChild:0}),o["\u0275qud"](335544320,141,{_labelChild:0}),o["\u0275qud"](603979776,142,{_errorChildren:1}),o["\u0275qud"](603979776,143,{_hintChildren:1}),o["\u0275qud"](603979776,144,{_prefixChildren:1}),o["\u0275qud"](603979776,145,{_suffixChildren:1}),(n()(),o["\u0275eld"](407,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,408)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,408).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,408)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,408)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,409).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,409).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,409).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,414)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,414)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,414)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlemax=t)&&l),l},null,null)),o["\u0275did"](408,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](409,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](411,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](413,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](414,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[139,4]],db,null,[qb]),(n()(),o["\u0275eld"](416,0,null,null,17,"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,Fb,yb)),o["\u0275did"](417,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,146,{_control:0}),o["\u0275qud"](335544320,147,{_placeholderChild:0}),o["\u0275qud"](335544320,148,{_labelChild:0}),o["\u0275qud"](603979776,149,{_errorChildren:1}),o["\u0275qud"](603979776,150,{_hintChildren:1}),o["\u0275qud"](603979776,151,{_prefixChildren:1}),o["\u0275qud"](603979776,152,{_suffixChildren:1}),(n()(),o["\u0275eld"](425,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,426)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,426).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,426)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,426)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,427).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,427).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,427).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,432)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,432)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,432)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlesleep=t)&&l),l},null,null)),o["\u0275did"](426,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](427,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](429,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](431,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](432,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[146,4]],db,null,[qb]),(n()(),o["\u0275eld"](434,0,null,null,17,"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,Fb,yb)),o["\u0275did"](435,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,153,{_control:0}),o["\u0275qud"](335544320,154,{_placeholderChild:0}),o["\u0275qud"](335544320,155,{_labelChild:0}),o["\u0275qud"](603979776,156,{_errorChildren:1}),o["\u0275qud"](603979776,157,{_hintChildren:1}),o["\u0275qud"](603979776,158,{_prefixChildren:1}),o["\u0275qud"](603979776,159,{_suffixChildren:1}),(n()(),o["\u0275eld"](443,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,444)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,444).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,444)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,444)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,445).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,445).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,445).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,450)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,450)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,450)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.exec_area=t)&&l),l},null,null)),o["\u0275did"](444,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](445,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](447,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](449,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](450,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[153,4]],db,null,[qb]),(n()(),o["\u0275eld"](452,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},ab,ib)),o["\u0275did"](453,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](455,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](457,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable mmap support "])),(n()(),o["\u0275eld"](459,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](460,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](461,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},ab,ib)),o["\u0275did"](462,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](464,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](466,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable sparse memory supoport "])),(n()(),o["\u0275eld"](468,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](469,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,160,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](472,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,473)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,473)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](473,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](474,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](475,{value:0,params:1}),(n()(),o["\u0275eld"](476,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](477,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](479,0,null,1,16,"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,Fb,yb)),o["\u0275did"](480,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,161,{_control:0}),o["\u0275qud"](335544320,162,{_placeholderChild:0}),o["\u0275qud"](335544320,163,{_labelChild:0}),o["\u0275qud"](603979776,164,{_errorChildren:1}),o["\u0275qud"](603979776,165,{_hintChildren:1}),o["\u0275qud"](603979776,166,{_prefixChildren:1}),o["\u0275qud"](603979776,167,{_suffixChildren:1}),(n()(),o["\u0275eld"](488,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,489)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,489).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,489)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,489)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,494)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,494)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,494)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](489,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](491,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](493,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](494,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[161,4]],db,null,[qb]),(n()(),o["\u0275eld"](496,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](497,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](498,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](500,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](501,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.iosTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.iosTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,77,0,"symbol",t.iosTemplate.symbol),n(e,80,0,"Symbol","text");var l=t.iosTemplate.category,o=n(e,99,0,!0);n(e,98,0,l,o),n(e,102,0,"Category"),n(e,108,0,t.categories),n(e,121,0,"path",t.iosTemplate.image),n(e,124,0,"IOS image path","text"),n(e,138,0,"initialConfig",t.iosTemplate.startup_config),n(e,141,0,"Initial startup-config","text");var r=t.iosTemplate.private_config,i=n(e,156,0,!0);n(e,155,0,r,i),n(e,159,0,"Initial private-config","text"),n(e,172,0,t.iosTemplate.console_type),n(e,175,0,"Console type"),n(e,181,0,t.consoleTypes),n(e,185,0,t.iosTemplate.console_auto_start),n(e,202,0,t.memoryForm),n(e,218,0,"ram",t.iosTemplate.ram),n(e,221,0,"RAM size","number"),n(e,236,0,"nvram",t.iosTemplate.nvram),n(e,239,0,"NVRAM size","number"),n(e,254,0,"iomemory",t.iosTemplate.iomem),n(e,257,0,"I/O memory","number"),n(e,272,0,"disk0",t.iosTemplate.disk0),n(e,275,0,"PCMCIA disk0","number"),n(e,290,0,"disk1",t.iosTemplate.disk1),n(e,293,0,"PCMCIA disk1","number"),n(e,298,0,t.iosTemplate.auto_delete_disks),n(e,316,0,t.iosTemplate.chassis&&t.chassis[t.iosTemplate.platform]),n(e,318,0,t.iosTemplate.platform&&!t.chassis[t.iosTemplate.platform]),n(e,324,0,t.iosTemplate.wic0||""===t.iosTemplate.wic0),n(e,326,0,t.iosTemplate.wic1||""===t.iosTemplate.wic1),n(e,328,0,t.iosTemplate.wic2||""===t.iosTemplate.wic2),n(e,342,0,t.advancedForm),n(e,357,0,"systemId",t.iosTemplate.system_id),n(e,360,0,"System ID","text");var a=t.iosTemplate.mac_addr,u=n(e,375,0,!0);n(e,374,0,a,u),n(e,378,0,"Base MAC","text");var s=t.iosTemplate.idlepc,d=n(e,393,0,!0);n(e,392,0,s,d),n(e,396,0,"Idle-PC","text"),n(e,411,0,"idlemax",t.iosTemplate.idlemax),n(e,414,0,"Idlemax","number"),n(e,429,0,"idlesleep",t.iosTemplate.idlesleep),n(e,432,0,"Idlesleep","number"),n(e,447,0,"execarea",t.iosTemplate.exec_area),n(e,450,0,"Exec area","number"),n(e,455,0,t.iosTemplate.mmap),n(e,464,0,t.iosTemplate.sparsemem),n(e,491,0,t.iosTemplate.usage),n(e,494,0,"text"),n(e,501,0,"primary")},function(n,e){var t=e.component;n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var l=o["\u0275nov"](e,10).panel._headerId,r=o["\u0275nov"](e,10).disabled?-1:0,i=o["\u0275nov"](e,10)._getPanelId(),a=o["\u0275nov"](e,10)._isExpanded(),u=o["\u0275nov"](e,10).panel.disabled,s=o["\u0275nov"](e,10)._isExpanded(),d=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,l,r,i,a,u,s,d),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,57,0,t.iosTemplate.platform),n(e,62,0,t.iosTemplate.chassis),n(e,65,1,["standard"==o["\u0275nov"](e,66).appearance,"fill"==o["\u0275nov"](e,66).appearance,"outline"==o["\u0275nov"](e,66).appearance,"legacy"==o["\u0275nov"](e,66).appearance,o["\u0275nov"](e,66)._control.errorState,o["\u0275nov"](e,66)._canLabelFloat,o["\u0275nov"](e,66)._shouldLabelFloat(),o["\u0275nov"](e,66)._hasFloatingLabel(),o["\u0275nov"](e,66)._hideControlPlaceholder(),o["\u0275nov"](e,66)._control.disabled,o["\u0275nov"](e,66)._control.autofilled,o["\u0275nov"](e,66)._control.focused,"accent"==o["\u0275nov"](e,66).color,"warn"==o["\u0275nov"](e,66).color,o["\u0275nov"](e,66)._shouldForward("untouched"),o["\u0275nov"](e,66)._shouldForward("touched"),o["\u0275nov"](e,66)._shouldForward("pristine"),o["\u0275nov"](e,66)._shouldForward("dirty"),o["\u0275nov"](e,66)._shouldForward("valid"),o["\u0275nov"](e,66)._shouldForward("invalid"),o["\u0275nov"](e,66)._shouldForward("pending"),!o["\u0275nov"](e,66)._animationsEnabled]),n(e,74,1,[o["\u0275nov"](e,79).ngClassUntouched,o["\u0275nov"](e,79).ngClassTouched,o["\u0275nov"](e,79).ngClassPristine,o["\u0275nov"](e,79).ngClassDirty,o["\u0275nov"](e,79).ngClassValid,o["\u0275nov"](e,79).ngClassInvalid,o["\u0275nov"](e,79).ngClassPending,o["\u0275nov"](e,80)._isServer,o["\u0275nov"](e,80).id,o["\u0275nov"](e,80).placeholder,o["\u0275nov"](e,80).disabled,o["\u0275nov"](e,80).required,o["\u0275nov"](e,80).readonly&&!o["\u0275nov"](e,80)._isNativeSelect||null,o["\u0275nov"](e,80)._ariaDescribedby||null,o["\u0275nov"](e,80).errorState,o["\u0275nov"](e,80).required.toString()]),n(e,82,0,o["\u0275nov"](e,83).disabled||null,"NoopAnimations"===o["\u0275nov"](e,83)._animationMode),n(e,87,1,["standard"==o["\u0275nov"](e,88).appearance,"fill"==o["\u0275nov"](e,88).appearance,"outline"==o["\u0275nov"](e,88).appearance,"legacy"==o["\u0275nov"](e,88).appearance,o["\u0275nov"](e,88)._control.errorState,o["\u0275nov"](e,88)._canLabelFloat,o["\u0275nov"](e,88)._shouldLabelFloat(),o["\u0275nov"](e,88)._hasFloatingLabel(),o["\u0275nov"](e,88)._hideControlPlaceholder(),o["\u0275nov"](e,88)._control.disabled,o["\u0275nov"](e,88)._control.autofilled,o["\u0275nov"](e,88)._control.focused,"accent"==o["\u0275nov"](e,88).color,"warn"==o["\u0275nov"](e,88).color,o["\u0275nov"](e,88)._shouldForward("untouched"),o["\u0275nov"](e,88)._shouldForward("touched"),o["\u0275nov"](e,88)._shouldForward("pristine"),o["\u0275nov"](e,88)._shouldForward("dirty"),o["\u0275nov"](e,88)._shouldForward("valid"),o["\u0275nov"](e,88)._shouldForward("invalid"),o["\u0275nov"](e,88)._shouldForward("pending"),!o["\u0275nov"](e,88)._animationsEnabled]),n(e,96,1,[o["\u0275nov"](e,101).ngClassUntouched,o["\u0275nov"](e,101).ngClassTouched,o["\u0275nov"](e,101).ngClassPristine,o["\u0275nov"](e,101).ngClassDirty,o["\u0275nov"](e,101).ngClassValid,o["\u0275nov"](e,101).ngClassInvalid,o["\u0275nov"](e,101).ngClassPending,o["\u0275nov"](e,102).id,o["\u0275nov"](e,102).tabIndex,o["\u0275nov"](e,102)._getAriaLabel(),o["\u0275nov"](e,102)._getAriaLabelledby(),o["\u0275nov"](e,102).required.toString(),o["\u0275nov"](e,102).disabled.toString(),o["\u0275nov"](e,102).errorState,o["\u0275nov"](e,102).panelOpen?o["\u0275nov"](e,102)._optionIds:null,o["\u0275nov"](e,102).multiple,o["\u0275nov"](e,102)._ariaDescribedby||null,o["\u0275nov"](e,102)._getAriaActiveDescendant(),o["\u0275nov"](e,102).disabled,o["\u0275nov"](e,102).errorState,o["\u0275nov"](e,102).required,o["\u0275nov"](e,102).empty]),n(e,109,1,["standard"==o["\u0275nov"](e,110).appearance,"fill"==o["\u0275nov"](e,110).appearance,"outline"==o["\u0275nov"](e,110).appearance,"legacy"==o["\u0275nov"](e,110).appearance,o["\u0275nov"](e,110)._control.errorState,o["\u0275nov"](e,110)._canLabelFloat,o["\u0275nov"](e,110)._shouldLabelFloat(),o["\u0275nov"](e,110)._hasFloatingLabel(),o["\u0275nov"](e,110)._hideControlPlaceholder(),o["\u0275nov"](e,110)._control.disabled,o["\u0275nov"](e,110)._control.autofilled,o["\u0275nov"](e,110)._control.focused,"accent"==o["\u0275nov"](e,110).color,"warn"==o["\u0275nov"](e,110).color,o["\u0275nov"](e,110)._shouldForward("untouched"),o["\u0275nov"](e,110)._shouldForward("touched"),o["\u0275nov"](e,110)._shouldForward("pristine"),o["\u0275nov"](e,110)._shouldForward("dirty"),o["\u0275nov"](e,110)._shouldForward("valid"),o["\u0275nov"](e,110)._shouldForward("invalid"),o["\u0275nov"](e,110)._shouldForward("pending"),!o["\u0275nov"](e,110)._animationsEnabled]),n(e,118,1,[o["\u0275nov"](e,123).ngClassUntouched,o["\u0275nov"](e,123).ngClassTouched,o["\u0275nov"](e,123).ngClassPristine,o["\u0275nov"](e,123).ngClassDirty,o["\u0275nov"](e,123).ngClassValid,o["\u0275nov"](e,123).ngClassInvalid,o["\u0275nov"](e,123).ngClassPending,o["\u0275nov"](e,124)._isServer,o["\u0275nov"](e,124).id,o["\u0275nov"](e,124).placeholder,o["\u0275nov"](e,124).disabled,o["\u0275nov"](e,124).required,o["\u0275nov"](e,124).readonly&&!o["\u0275nov"](e,124)._isNativeSelect||null,o["\u0275nov"](e,124)._ariaDescribedby||null,o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).required.toString()]),n(e,126,1,["standard"==o["\u0275nov"](e,127).appearance,"fill"==o["\u0275nov"](e,127).appearance,"outline"==o["\u0275nov"](e,127).appearance,"legacy"==o["\u0275nov"](e,127).appearance,o["\u0275nov"](e,127)._control.errorState,o["\u0275nov"](e,127)._canLabelFloat,o["\u0275nov"](e,127)._shouldLabelFloat(),o["\u0275nov"](e,127)._hasFloatingLabel(),o["\u0275nov"](e,127)._hideControlPlaceholder(),o["\u0275nov"](e,127)._control.disabled,o["\u0275nov"](e,127)._control.autofilled,o["\u0275nov"](e,127)._control.focused,"accent"==o["\u0275nov"](e,127).color,"warn"==o["\u0275nov"](e,127).color,o["\u0275nov"](e,127)._shouldForward("untouched"),o["\u0275nov"](e,127)._shouldForward("touched"),o["\u0275nov"](e,127)._shouldForward("pristine"),o["\u0275nov"](e,127)._shouldForward("dirty"),o["\u0275nov"](e,127)._shouldForward("valid"),o["\u0275nov"](e,127)._shouldForward("invalid"),o["\u0275nov"](e,127)._shouldForward("pending"),!o["\u0275nov"](e,127)._animationsEnabled]),n(e,135,1,[o["\u0275nov"](e,140).ngClassUntouched,o["\u0275nov"](e,140).ngClassTouched,o["\u0275nov"](e,140).ngClassPristine,o["\u0275nov"](e,140).ngClassDirty,o["\u0275nov"](e,140).ngClassValid,o["\u0275nov"](e,140).ngClassInvalid,o["\u0275nov"](e,140).ngClassPending,o["\u0275nov"](e,141)._isServer,o["\u0275nov"](e,141).id,o["\u0275nov"](e,141).placeholder,o["\u0275nov"](e,141).disabled,o["\u0275nov"](e,141).required,o["\u0275nov"](e,141).readonly&&!o["\u0275nov"](e,141)._isNativeSelect||null,o["\u0275nov"](e,141)._ariaDescribedby||null,o["\u0275nov"](e,141).errorState,o["\u0275nov"](e,141).required.toString()]),n(e,143,1,["standard"==o["\u0275nov"](e,144).appearance,"fill"==o["\u0275nov"](e,144).appearance,"outline"==o["\u0275nov"](e,144).appearance,"legacy"==o["\u0275nov"](e,144).appearance,o["\u0275nov"](e,144)._control.errorState,o["\u0275nov"](e,144)._canLabelFloat,o["\u0275nov"](e,144)._shouldLabelFloat(),o["\u0275nov"](e,144)._hasFloatingLabel(),o["\u0275nov"](e,144)._hideControlPlaceholder(),o["\u0275nov"](e,144)._control.disabled,o["\u0275nov"](e,144)._control.autofilled,o["\u0275nov"](e,144)._control.focused,"accent"==o["\u0275nov"](e,144).color,"warn"==o["\u0275nov"](e,144).color,o["\u0275nov"](e,144)._shouldForward("untouched"),o["\u0275nov"](e,144)._shouldForward("touched"),o["\u0275nov"](e,144)._shouldForward("pristine"),o["\u0275nov"](e,144)._shouldForward("dirty"),o["\u0275nov"](e,144)._shouldForward("valid"),o["\u0275nov"](e,144)._shouldForward("invalid"),o["\u0275nov"](e,144)._shouldForward("pending"),!o["\u0275nov"](e,144)._animationsEnabled]),n(e,152,1,[o["\u0275nov"](e,158).ngClassUntouched,o["\u0275nov"](e,158).ngClassTouched,o["\u0275nov"](e,158).ngClassPristine,o["\u0275nov"](e,158).ngClassDirty,o["\u0275nov"](e,158).ngClassValid,o["\u0275nov"](e,158).ngClassInvalid,o["\u0275nov"](e,158).ngClassPending,o["\u0275nov"](e,159)._isServer,o["\u0275nov"](e,159).id,o["\u0275nov"](e,159).placeholder,o["\u0275nov"](e,159).disabled,o["\u0275nov"](e,159).required,o["\u0275nov"](e,159).readonly&&!o["\u0275nov"](e,159)._isNativeSelect||null,o["\u0275nov"](e,159)._ariaDescribedby||null,o["\u0275nov"](e,159).errorState,o["\u0275nov"](e,159).required.toString()]),n(e,161,1,["standard"==o["\u0275nov"](e,162).appearance,"fill"==o["\u0275nov"](e,162).appearance,"outline"==o["\u0275nov"](e,162).appearance,"legacy"==o["\u0275nov"](e,162).appearance,o["\u0275nov"](e,162)._control.errorState,o["\u0275nov"](e,162)._canLabelFloat,o["\u0275nov"](e,162)._shouldLabelFloat(),o["\u0275nov"](e,162)._hasFloatingLabel(),o["\u0275nov"](e,162)._hideControlPlaceholder(),o["\u0275nov"](e,162)._control.disabled,o["\u0275nov"](e,162)._control.autofilled,o["\u0275nov"](e,162)._control.focused,"accent"==o["\u0275nov"](e,162).color,"warn"==o["\u0275nov"](e,162).color,o["\u0275nov"](e,162)._shouldForward("untouched"),o["\u0275nov"](e,162)._shouldForward("touched"),o["\u0275nov"](e,162)._shouldForward("pristine"),o["\u0275nov"](e,162)._shouldForward("dirty"),o["\u0275nov"](e,162)._shouldForward("valid"),o["\u0275nov"](e,162)._shouldForward("invalid"),o["\u0275nov"](e,162)._shouldForward("pending"),!o["\u0275nov"](e,162)._animationsEnabled]),n(e,170,1,[o["\u0275nov"](e,174).ngClassUntouched,o["\u0275nov"](e,174).ngClassTouched,o["\u0275nov"](e,174).ngClassPristine,o["\u0275nov"](e,174).ngClassDirty,o["\u0275nov"](e,174).ngClassValid,o["\u0275nov"](e,174).ngClassInvalid,o["\u0275nov"](e,174).ngClassPending,o["\u0275nov"](e,175).id,o["\u0275nov"](e,175).tabIndex,o["\u0275nov"](e,175)._getAriaLabel(),o["\u0275nov"](e,175)._getAriaLabelledby(),o["\u0275nov"](e,175).required.toString(),o["\u0275nov"](e,175).disabled.toString(),o["\u0275nov"](e,175).errorState,o["\u0275nov"](e,175).panelOpen?o["\u0275nov"](e,175)._optionIds:null,o["\u0275nov"](e,175).multiple,o["\u0275nov"](e,175)._ariaDescribedby||null,o["\u0275nov"](e,175)._getAriaActiveDescendant(),o["\u0275nov"](e,175).disabled,o["\u0275nov"](e,175).errorState,o["\u0275nov"](e,175).required,o["\u0275nov"](e,175).empty]),n(e,182,1,[o["\u0275nov"](e,183).id,null,o["\u0275nov"](e,183).indeterminate,o["\u0275nov"](e,183).checked,o["\u0275nov"](e,183).disabled,"before"==o["\u0275nov"](e,183).labelPosition,"NoopAnimations"===o["\u0275nov"](e,183)._animationMode,o["\u0275nov"](e,187).ngClassUntouched,o["\u0275nov"](e,187).ngClassTouched,o["\u0275nov"](e,187).ngClassPristine,o["\u0275nov"](e,187).ngClassDirty,o["\u0275nov"](e,187).ngClassValid,o["\u0275nov"](e,187).ngClassInvalid,o["\u0275nov"](e,187).ngClassPending]),n(e,189,0,o["\u0275nov"](e,190).expanded,"NoopAnimations"===o["\u0275nov"](e,190)._animationMode,o["\u0275nov"](e,190)._hasSpacing());var c=o["\u0275nov"](e,194).panel._headerId,p=o["\u0275nov"](e,194).disabled?-1:0,f=o["\u0275nov"](e,194)._getPanelId(),h=o["\u0275nov"](e,194)._isExpanded(),m=o["\u0275nov"](e,194).panel.disabled,v=o["\u0275nov"](e,194)._isExpanded(),g=n(e,196,0,o["\u0275nov"](e,194)._getExpandedState(),n(e,195,0,o["\u0275nov"](e,194).collapsedHeight,o["\u0275nov"](e,194).expandedHeight));n(e,193,0,c,p,f,h,m,v,g),n(e,200,0,o["\u0275nov"](e,204).ngClassUntouched,o["\u0275nov"](e,204).ngClassTouched,o["\u0275nov"](e,204).ngClassPristine,o["\u0275nov"](e,204).ngClassDirty,o["\u0275nov"](e,204).ngClassValid,o["\u0275nov"](e,204).ngClassInvalid,o["\u0275nov"](e,204).ngClassPending),n(e,205,1,["standard"==o["\u0275nov"](e,206).appearance,"fill"==o["\u0275nov"](e,206).appearance,"outline"==o["\u0275nov"](e,206).appearance,"legacy"==o["\u0275nov"](e,206).appearance,o["\u0275nov"](e,206)._control.errorState,o["\u0275nov"](e,206)._canLabelFloat,o["\u0275nov"](e,206)._shouldLabelFloat(),o["\u0275nov"](e,206)._hasFloatingLabel(),o["\u0275nov"](e,206)._hideControlPlaceholder(),o["\u0275nov"](e,206)._control.disabled,o["\u0275nov"](e,206)._control.autofilled,o["\u0275nov"](e,206)._control.focused,"accent"==o["\u0275nov"](e,206).color,"warn"==o["\u0275nov"](e,206).color,o["\u0275nov"](e,206)._shouldForward("untouched"),o["\u0275nov"](e,206)._shouldForward("touched"),o["\u0275nov"](e,206)._shouldForward("pristine"),o["\u0275nov"](e,206)._shouldForward("dirty"),o["\u0275nov"](e,206)._shouldForward("valid"),o["\u0275nov"](e,206)._shouldForward("invalid"),o["\u0275nov"](e,206)._shouldForward("pending"),!o["\u0275nov"](e,206)._animationsEnabled]),n(e,214,1,[o["\u0275nov"](e,220).ngClassUntouched,o["\u0275nov"](e,220).ngClassTouched,o["\u0275nov"](e,220).ngClassPristine,o["\u0275nov"](e,220).ngClassDirty,o["\u0275nov"](e,220).ngClassValid,o["\u0275nov"](e,220).ngClassInvalid,o["\u0275nov"](e,220).ngClassPending,o["\u0275nov"](e,221)._isServer,o["\u0275nov"](e,221).id,o["\u0275nov"](e,221).placeholder,o["\u0275nov"](e,221).disabled,o["\u0275nov"](e,221).required,o["\u0275nov"](e,221).readonly&&!o["\u0275nov"](e,221)._isNativeSelect||null,o["\u0275nov"](e,221)._ariaDescribedby||null,o["\u0275nov"](e,221).errorState,o["\u0275nov"](e,221).required.toString()]),n(e,223,1,["standard"==o["\u0275nov"](e,224).appearance,"fill"==o["\u0275nov"](e,224).appearance,"outline"==o["\u0275nov"](e,224).appearance,"legacy"==o["\u0275nov"](e,224).appearance,o["\u0275nov"](e,224)._control.errorState,o["\u0275nov"](e,224)._canLabelFloat,o["\u0275nov"](e,224)._shouldLabelFloat(),o["\u0275nov"](e,224)._hasFloatingLabel(),o["\u0275nov"](e,224)._hideControlPlaceholder(),o["\u0275nov"](e,224)._control.disabled,o["\u0275nov"](e,224)._control.autofilled,o["\u0275nov"](e,224)._control.focused,"accent"==o["\u0275nov"](e,224).color,"warn"==o["\u0275nov"](e,224).color,o["\u0275nov"](e,224)._shouldForward("untouched"),o["\u0275nov"](e,224)._shouldForward("touched"),o["\u0275nov"](e,224)._shouldForward("pristine"),o["\u0275nov"](e,224)._shouldForward("dirty"),o["\u0275nov"](e,224)._shouldForward("valid"),o["\u0275nov"](e,224)._shouldForward("invalid"),o["\u0275nov"](e,224)._shouldForward("pending"),!o["\u0275nov"](e,224)._animationsEnabled]),n(e,232,1,[o["\u0275nov"](e,238).ngClassUntouched,o["\u0275nov"](e,238).ngClassTouched,o["\u0275nov"](e,238).ngClassPristine,o["\u0275nov"](e,238).ngClassDirty,o["\u0275nov"](e,238).ngClassValid,o["\u0275nov"](e,238).ngClassInvalid,o["\u0275nov"](e,238).ngClassPending,o["\u0275nov"](e,239)._isServer,o["\u0275nov"](e,239).id,o["\u0275nov"](e,239).placeholder,o["\u0275nov"](e,239).disabled,o["\u0275nov"](e,239).required,o["\u0275nov"](e,239).readonly&&!o["\u0275nov"](e,239)._isNativeSelect||null,o["\u0275nov"](e,239)._ariaDescribedby||null,o["\u0275nov"](e,239).errorState,o["\u0275nov"](e,239).required.toString()]),n(e,241,1,["standard"==o["\u0275nov"](e,242).appearance,"fill"==o["\u0275nov"](e,242).appearance,"outline"==o["\u0275nov"](e,242).appearance,"legacy"==o["\u0275nov"](e,242).appearance,o["\u0275nov"](e,242)._control.errorState,o["\u0275nov"](e,242)._canLabelFloat,o["\u0275nov"](e,242)._shouldLabelFloat(),o["\u0275nov"](e,242)._hasFloatingLabel(),o["\u0275nov"](e,242)._hideControlPlaceholder(),o["\u0275nov"](e,242)._control.disabled,o["\u0275nov"](e,242)._control.autofilled,o["\u0275nov"](e,242)._control.focused,"accent"==o["\u0275nov"](e,242).color,"warn"==o["\u0275nov"](e,242).color,o["\u0275nov"](e,242)._shouldForward("untouched"),o["\u0275nov"](e,242)._shouldForward("touched"),o["\u0275nov"](e,242)._shouldForward("pristine"),o["\u0275nov"](e,242)._shouldForward("dirty"),o["\u0275nov"](e,242)._shouldForward("valid"),o["\u0275nov"](e,242)._shouldForward("invalid"),o["\u0275nov"](e,242)._shouldForward("pending"),!o["\u0275nov"](e,242)._animationsEnabled]),n(e,250,1,[o["\u0275nov"](e,256).ngClassUntouched,o["\u0275nov"](e,256).ngClassTouched,o["\u0275nov"](e,256).ngClassPristine,o["\u0275nov"](e,256).ngClassDirty,o["\u0275nov"](e,256).ngClassValid,o["\u0275nov"](e,256).ngClassInvalid,o["\u0275nov"](e,256).ngClassPending,o["\u0275nov"](e,257)._isServer,o["\u0275nov"](e,257).id,o["\u0275nov"](e,257).placeholder,o["\u0275nov"](e,257).disabled,o["\u0275nov"](e,257).required,o["\u0275nov"](e,257).readonly&&!o["\u0275nov"](e,257)._isNativeSelect||null,o["\u0275nov"](e,257)._ariaDescribedby||null,o["\u0275nov"](e,257).errorState,o["\u0275nov"](e,257).required.toString()]),n(e,259,1,["standard"==o["\u0275nov"](e,260).appearance,"fill"==o["\u0275nov"](e,260).appearance,"outline"==o["\u0275nov"](e,260).appearance,"legacy"==o["\u0275nov"](e,260).appearance,o["\u0275nov"](e,260)._control.errorState,o["\u0275nov"](e,260)._canLabelFloat,o["\u0275nov"](e,260)._shouldLabelFloat(),o["\u0275nov"](e,260)._hasFloatingLabel(),o["\u0275nov"](e,260)._hideControlPlaceholder(),o["\u0275nov"](e,260)._control.disabled,o["\u0275nov"](e,260)._control.autofilled,o["\u0275nov"](e,260)._control.focused,"accent"==o["\u0275nov"](e,260).color,"warn"==o["\u0275nov"](e,260).color,o["\u0275nov"](e,260)._shouldForward("untouched"),o["\u0275nov"](e,260)._shouldForward("touched"),o["\u0275nov"](e,260)._shouldForward("pristine"),o["\u0275nov"](e,260)._shouldForward("dirty"),o["\u0275nov"](e,260)._shouldForward("valid"),o["\u0275nov"](e,260)._shouldForward("invalid"),o["\u0275nov"](e,260)._shouldForward("pending"),!o["\u0275nov"](e,260)._animationsEnabled]),n(e,268,1,[o["\u0275nov"](e,274).ngClassUntouched,o["\u0275nov"](e,274).ngClassTouched,o["\u0275nov"](e,274).ngClassPristine,o["\u0275nov"](e,274).ngClassDirty,o["\u0275nov"](e,274).ngClassValid,o["\u0275nov"](e,274).ngClassInvalid,o["\u0275nov"](e,274).ngClassPending,o["\u0275nov"](e,275)._isServer,o["\u0275nov"](e,275).id,o["\u0275nov"](e,275).placeholder,o["\u0275nov"](e,275).disabled,o["\u0275nov"](e,275).required,o["\u0275nov"](e,275).readonly&&!o["\u0275nov"](e,275)._isNativeSelect||null,o["\u0275nov"](e,275)._ariaDescribedby||null,o["\u0275nov"](e,275).errorState,o["\u0275nov"](e,275).required.toString()]),n(e,277,1,["standard"==o["\u0275nov"](e,278).appearance,"fill"==o["\u0275nov"](e,278).appearance,"outline"==o["\u0275nov"](e,278).appearance,"legacy"==o["\u0275nov"](e,278).appearance,o["\u0275nov"](e,278)._control.errorState,o["\u0275nov"](e,278)._canLabelFloat,o["\u0275nov"](e,278)._shouldLabelFloat(),o["\u0275nov"](e,278)._hasFloatingLabel(),o["\u0275nov"](e,278)._hideControlPlaceholder(),o["\u0275nov"](e,278)._control.disabled,o["\u0275nov"](e,278)._control.autofilled,o["\u0275nov"](e,278)._control.focused,"accent"==o["\u0275nov"](e,278).color,"warn"==o["\u0275nov"](e,278).color,o["\u0275nov"](e,278)._shouldForward("untouched"),o["\u0275nov"](e,278)._shouldForward("touched"),o["\u0275nov"](e,278)._shouldForward("pristine"),o["\u0275nov"](e,278)._shouldForward("dirty"),o["\u0275nov"](e,278)._shouldForward("valid"),o["\u0275nov"](e,278)._shouldForward("invalid"),o["\u0275nov"](e,278)._shouldForward("pending"),!o["\u0275nov"](e,278)._animationsEnabled]),n(e,286,1,[o["\u0275nov"](e,292).ngClassUntouched,o["\u0275nov"](e,292).ngClassTouched,o["\u0275nov"](e,292).ngClassPristine,o["\u0275nov"](e,292).ngClassDirty,o["\u0275nov"](e,292).ngClassValid,o["\u0275nov"](e,292).ngClassInvalid,o["\u0275nov"](e,292).ngClassPending,o["\u0275nov"](e,293)._isServer,o["\u0275nov"](e,293).id,o["\u0275nov"](e,293).placeholder,o["\u0275nov"](e,293).disabled,o["\u0275nov"](e,293).required,o["\u0275nov"](e,293).readonly&&!o["\u0275nov"](e,293)._isNativeSelect||null,o["\u0275nov"](e,293)._ariaDescribedby||null,o["\u0275nov"](e,293).errorState,o["\u0275nov"](e,293).required.toString()]),n(e,295,1,[o["\u0275nov"](e,296).id,null,o["\u0275nov"](e,296).indeterminate,o["\u0275nov"](e,296).checked,o["\u0275nov"](e,296).disabled,"before"==o["\u0275nov"](e,296).labelPosition,"NoopAnimations"===o["\u0275nov"](e,296)._animationMode,o["\u0275nov"](e,300).ngClassUntouched,o["\u0275nov"](e,300).ngClassTouched,o["\u0275nov"](e,300).ngClassPristine,o["\u0275nov"](e,300).ngClassDirty,o["\u0275nov"](e,300).ngClassValid,o["\u0275nov"](e,300).ngClassInvalid,o["\u0275nov"](e,300).ngClassPending]),n(e,302,0,o["\u0275nov"](e,303).expanded,"NoopAnimations"===o["\u0275nov"](e,303)._animationMode,o["\u0275nov"](e,303)._hasSpacing());var b=o["\u0275nov"](e,307).panel._headerId,y=o["\u0275nov"](e,307).disabled?-1:0,_=o["\u0275nov"](e,307)._getPanelId(),w=o["\u0275nov"](e,307)._isExpanded(),C=o["\u0275nov"](e,307).panel.disabled,x=o["\u0275nov"](e,307)._isExpanded(),S=n(e,309,0,o["\u0275nov"](e,307)._getExpandedState(),n(e,308,0,o["\u0275nov"](e,307).collapsedHeight,o["\u0275nov"](e,307).expandedHeight));n(e,306,0,b,y,_,w,C,x,S),n(e,329,0,o["\u0275nov"](e,330).expanded,"NoopAnimations"===o["\u0275nov"](e,330)._animationMode,o["\u0275nov"](e,330)._hasSpacing());var k=o["\u0275nov"](e,334).panel._headerId,E=o["\u0275nov"](e,334).disabled?-1:0,T=o["\u0275nov"](e,334)._getPanelId(),R=o["\u0275nov"](e,334)._isExpanded(),I=o["\u0275nov"](e,334).panel.disabled,O=o["\u0275nov"](e,334)._isExpanded(),F=n(e,336,0,o["\u0275nov"](e,334)._getExpandedState(),n(e,335,0,o["\u0275nov"](e,334).collapsedHeight,o["\u0275nov"](e,334).expandedHeight));n(e,333,0,k,E,T,R,I,O,F),n(e,340,0,o["\u0275nov"](e,344).ngClassUntouched,o["\u0275nov"](e,344).ngClassTouched,o["\u0275nov"](e,344).ngClassPristine,o["\u0275nov"](e,344).ngClassDirty,o["\u0275nov"](e,344).ngClassValid,o["\u0275nov"](e,344).ngClassInvalid,o["\u0275nov"](e,344).ngClassPending),n(e,345,1,["standard"==o["\u0275nov"](e,346).appearance,"fill"==o["\u0275nov"](e,346).appearance,"outline"==o["\u0275nov"](e,346).appearance,"legacy"==o["\u0275nov"](e,346).appearance,o["\u0275nov"](e,346)._control.errorState,o["\u0275nov"](e,346)._canLabelFloat,o["\u0275nov"](e,346)._shouldLabelFloat(),o["\u0275nov"](e,346)._hasFloatingLabel(),o["\u0275nov"](e,346)._hideControlPlaceholder(),o["\u0275nov"](e,346)._control.disabled,o["\u0275nov"](e,346)._control.autofilled,o["\u0275nov"](e,346)._control.focused,"accent"==o["\u0275nov"](e,346).color,"warn"==o["\u0275nov"](e,346).color,o["\u0275nov"](e,346)._shouldForward("untouched"),o["\u0275nov"](e,346)._shouldForward("touched"),o["\u0275nov"](e,346)._shouldForward("pristine"),o["\u0275nov"](e,346)._shouldForward("dirty"),o["\u0275nov"](e,346)._shouldForward("valid"),o["\u0275nov"](e,346)._shouldForward("invalid"),o["\u0275nov"](e,346)._shouldForward("pending"),!o["\u0275nov"](e,346)._animationsEnabled]),n(e,354,1,[o["\u0275nov"](e,359).ngClassUntouched,o["\u0275nov"](e,359).ngClassTouched,o["\u0275nov"](e,359).ngClassPristine,o["\u0275nov"](e,359).ngClassDirty,o["\u0275nov"](e,359).ngClassValid,o["\u0275nov"](e,359).ngClassInvalid,o["\u0275nov"](e,359).ngClassPending,o["\u0275nov"](e,360)._isServer,o["\u0275nov"](e,360).id,o["\u0275nov"](e,360).placeholder,o["\u0275nov"](e,360).disabled,o["\u0275nov"](e,360).required,o["\u0275nov"](e,360).readonly&&!o["\u0275nov"](e,360)._isNativeSelect||null,o["\u0275nov"](e,360)._ariaDescribedby||null,o["\u0275nov"](e,360).errorState,o["\u0275nov"](e,360).required.toString()]),n(e,362,1,["standard"==o["\u0275nov"](e,363).appearance,"fill"==o["\u0275nov"](e,363).appearance,"outline"==o["\u0275nov"](e,363).appearance,"legacy"==o["\u0275nov"](e,363).appearance,o["\u0275nov"](e,363)._control.errorState,o["\u0275nov"](e,363)._canLabelFloat,o["\u0275nov"](e,363)._shouldLabelFloat(),o["\u0275nov"](e,363)._hasFloatingLabel(),o["\u0275nov"](e,363)._hideControlPlaceholder(),o["\u0275nov"](e,363)._control.disabled,o["\u0275nov"](e,363)._control.autofilled,o["\u0275nov"](e,363)._control.focused,"accent"==o["\u0275nov"](e,363).color,"warn"==o["\u0275nov"](e,363).color,o["\u0275nov"](e,363)._shouldForward("untouched"),o["\u0275nov"](e,363)._shouldForward("touched"),o["\u0275nov"](e,363)._shouldForward("pristine"),o["\u0275nov"](e,363)._shouldForward("dirty"),o["\u0275nov"](e,363)._shouldForward("valid"),o["\u0275nov"](e,363)._shouldForward("invalid"),o["\u0275nov"](e,363)._shouldForward("pending"),!o["\u0275nov"](e,363)._animationsEnabled]),n(e,371,1,[o["\u0275nov"](e,377).ngClassUntouched,o["\u0275nov"](e,377).ngClassTouched,o["\u0275nov"](e,377).ngClassPristine,o["\u0275nov"](e,377).ngClassDirty,o["\u0275nov"](e,377).ngClassValid,o["\u0275nov"](e,377).ngClassInvalid,o["\u0275nov"](e,377).ngClassPending,o["\u0275nov"](e,378)._isServer,o["\u0275nov"](e,378).id,o["\u0275nov"](e,378).placeholder,o["\u0275nov"](e,378).disabled,o["\u0275nov"](e,378).required,o["\u0275nov"](e,378).readonly&&!o["\u0275nov"](e,378)._isNativeSelect||null,o["\u0275nov"](e,378)._ariaDescribedby||null,o["\u0275nov"](e,378).errorState,o["\u0275nov"](e,378).required.toString()]),n(e,380,1,["standard"==o["\u0275nov"](e,381).appearance,"fill"==o["\u0275nov"](e,381).appearance,"outline"==o["\u0275nov"](e,381).appearance,"legacy"==o["\u0275nov"](e,381).appearance,o["\u0275nov"](e,381)._control.errorState,o["\u0275nov"](e,381)._canLabelFloat,o["\u0275nov"](e,381)._shouldLabelFloat(),o["\u0275nov"](e,381)._hasFloatingLabel(),o["\u0275nov"](e,381)._hideControlPlaceholder(),o["\u0275nov"](e,381)._control.disabled,o["\u0275nov"](e,381)._control.autofilled,o["\u0275nov"](e,381)._control.focused,"accent"==o["\u0275nov"](e,381).color,"warn"==o["\u0275nov"](e,381).color,o["\u0275nov"](e,381)._shouldForward("untouched"),o["\u0275nov"](e,381)._shouldForward("touched"),o["\u0275nov"](e,381)._shouldForward("pristine"),o["\u0275nov"](e,381)._shouldForward("dirty"),o["\u0275nov"](e,381)._shouldForward("valid"),o["\u0275nov"](e,381)._shouldForward("invalid"),o["\u0275nov"](e,381)._shouldForward("pending"),!o["\u0275nov"](e,381)._animationsEnabled]),n(e,389,1,[o["\u0275nov"](e,395).ngClassUntouched,o["\u0275nov"](e,395).ngClassTouched,o["\u0275nov"](e,395).ngClassPristine,o["\u0275nov"](e,395).ngClassDirty,o["\u0275nov"](e,395).ngClassValid,o["\u0275nov"](e,395).ngClassInvalid,o["\u0275nov"](e,395).ngClassPending,o["\u0275nov"](e,396)._isServer,o["\u0275nov"](e,396).id,o["\u0275nov"](e,396).placeholder,o["\u0275nov"](e,396).disabled,o["\u0275nov"](e,396).required,o["\u0275nov"](e,396).readonly&&!o["\u0275nov"](e,396)._isNativeSelect||null,o["\u0275nov"](e,396)._ariaDescribedby||null,o["\u0275nov"](e,396).errorState,o["\u0275nov"](e,396).required.toString()]),n(e,398,1,["standard"==o["\u0275nov"](e,399).appearance,"fill"==o["\u0275nov"](e,399).appearance,"outline"==o["\u0275nov"](e,399).appearance,"legacy"==o["\u0275nov"](e,399).appearance,o["\u0275nov"](e,399)._control.errorState,o["\u0275nov"](e,399)._canLabelFloat,o["\u0275nov"](e,399)._shouldLabelFloat(),o["\u0275nov"](e,399)._hasFloatingLabel(),o["\u0275nov"](e,399)._hideControlPlaceholder(),o["\u0275nov"](e,399)._control.disabled,o["\u0275nov"](e,399)._control.autofilled,o["\u0275nov"](e,399)._control.focused,"accent"==o["\u0275nov"](e,399).color,"warn"==o["\u0275nov"](e,399).color,o["\u0275nov"](e,399)._shouldForward("untouched"),o["\u0275nov"](e,399)._shouldForward("touched"),o["\u0275nov"](e,399)._shouldForward("pristine"),o["\u0275nov"](e,399)._shouldForward("dirty"),o["\u0275nov"](e,399)._shouldForward("valid"),o["\u0275nov"](e,399)._shouldForward("invalid"),o["\u0275nov"](e,399)._shouldForward("pending"),!o["\u0275nov"](e,399)._animationsEnabled]),n(e,407,1,[o["\u0275nov"](e,413).ngClassUntouched,o["\u0275nov"](e,413).ngClassTouched,o["\u0275nov"](e,413).ngClassPristine,o["\u0275nov"](e,413).ngClassDirty,o["\u0275nov"](e,413).ngClassValid,o["\u0275nov"](e,413).ngClassInvalid,o["\u0275nov"](e,413).ngClassPending,o["\u0275nov"](e,414)._isServer,o["\u0275nov"](e,414).id,o["\u0275nov"](e,414).placeholder,o["\u0275nov"](e,414).disabled,o["\u0275nov"](e,414).required,o["\u0275nov"](e,414).readonly&&!o["\u0275nov"](e,414)._isNativeSelect||null,o["\u0275nov"](e,414)._ariaDescribedby||null,o["\u0275nov"](e,414).errorState,o["\u0275nov"](e,414).required.toString()]),n(e,416,1,["standard"==o["\u0275nov"](e,417).appearance,"fill"==o["\u0275nov"](e,417).appearance,"outline"==o["\u0275nov"](e,417).appearance,"legacy"==o["\u0275nov"](e,417).appearance,o["\u0275nov"](e,417)._control.errorState,o["\u0275nov"](e,417)._canLabelFloat,o["\u0275nov"](e,417)._shouldLabelFloat(),o["\u0275nov"](e,417)._hasFloatingLabel(),o["\u0275nov"](e,417)._hideControlPlaceholder(),o["\u0275nov"](e,417)._control.disabled,o["\u0275nov"](e,417)._control.autofilled,o["\u0275nov"](e,417)._control.focused,"accent"==o["\u0275nov"](e,417).color,"warn"==o["\u0275nov"](e,417).color,o["\u0275nov"](e,417)._shouldForward("untouched"),o["\u0275nov"](e,417)._shouldForward("touched"),o["\u0275nov"](e,417)._shouldForward("pristine"),o["\u0275nov"](e,417)._shouldForward("dirty"),o["\u0275nov"](e,417)._shouldForward("valid"),o["\u0275nov"](e,417)._shouldForward("invalid"),o["\u0275nov"](e,417)._shouldForward("pending"),!o["\u0275nov"](e,417)._animationsEnabled]),n(e,425,1,[o["\u0275nov"](e,431).ngClassUntouched,o["\u0275nov"](e,431).ngClassTouched,o["\u0275nov"](e,431).ngClassPristine,o["\u0275nov"](e,431).ngClassDirty,o["\u0275nov"](e,431).ngClassValid,o["\u0275nov"](e,431).ngClassInvalid,o["\u0275nov"](e,431).ngClassPending,o["\u0275nov"](e,432)._isServer,o["\u0275nov"](e,432).id,o["\u0275nov"](e,432).placeholder,o["\u0275nov"](e,432).disabled,o["\u0275nov"](e,432).required,o["\u0275nov"](e,432).readonly&&!o["\u0275nov"](e,432)._isNativeSelect||null,o["\u0275nov"](e,432)._ariaDescribedby||null,o["\u0275nov"](e,432).errorState,o["\u0275nov"](e,432).required.toString()]),n(e,434,1,["standard"==o["\u0275nov"](e,435).appearance,"fill"==o["\u0275nov"](e,435).appearance,"outline"==o["\u0275nov"](e,435).appearance,"legacy"==o["\u0275nov"](e,435).appearance,o["\u0275nov"](e,435)._control.errorState,o["\u0275nov"](e,435)._canLabelFloat,o["\u0275nov"](e,435)._shouldLabelFloat(),o["\u0275nov"](e,435)._hasFloatingLabel(),o["\u0275nov"](e,435)._hideControlPlaceholder(),o["\u0275nov"](e,435)._control.disabled,o["\u0275nov"](e,435)._control.autofilled,o["\u0275nov"](e,435)._control.focused,"accent"==o["\u0275nov"](e,435).color,"warn"==o["\u0275nov"](e,435).color,o["\u0275nov"](e,435)._shouldForward("untouched"),o["\u0275nov"](e,435)._shouldForward("touched"),o["\u0275nov"](e,435)._shouldForward("pristine"),o["\u0275nov"](e,435)._shouldForward("dirty"),o["\u0275nov"](e,435)._shouldForward("valid"),o["\u0275nov"](e,435)._shouldForward("invalid"),o["\u0275nov"](e,435)._shouldForward("pending"),!o["\u0275nov"](e,435)._animationsEnabled]),n(e,443,1,[o["\u0275nov"](e,449).ngClassUntouched,o["\u0275nov"](e,449).ngClassTouched,o["\u0275nov"](e,449).ngClassPristine,o["\u0275nov"](e,449).ngClassDirty,o["\u0275nov"](e,449).ngClassValid,o["\u0275nov"](e,449).ngClassInvalid,o["\u0275nov"](e,449).ngClassPending,o["\u0275nov"](e,450)._isServer,o["\u0275nov"](e,450).id,o["\u0275nov"](e,450).placeholder,o["\u0275nov"](e,450).disabled,o["\u0275nov"](e,450).required,o["\u0275nov"](e,450).readonly&&!o["\u0275nov"](e,450)._isNativeSelect||null,o["\u0275nov"](e,450)._ariaDescribedby||null,o["\u0275nov"](e,450).errorState,o["\u0275nov"](e,450).required.toString()]),n(e,452,1,[o["\u0275nov"](e,453).id,null,o["\u0275nov"](e,453).indeterminate,o["\u0275nov"](e,453).checked,o["\u0275nov"](e,453).disabled,"before"==o["\u0275nov"](e,453).labelPosition,"NoopAnimations"===o["\u0275nov"](e,453)._animationMode,o["\u0275nov"](e,457).ngClassUntouched,o["\u0275nov"](e,457).ngClassTouched,o["\u0275nov"](e,457).ngClassPristine,o["\u0275nov"](e,457).ngClassDirty,o["\u0275nov"](e,457).ngClassValid,o["\u0275nov"](e,457).ngClassInvalid,o["\u0275nov"](e,457).ngClassPending]),n(e,461,1,[o["\u0275nov"](e,462).id,null,o["\u0275nov"](e,462).indeterminate,o["\u0275nov"](e,462).checked,o["\u0275nov"](e,462).disabled,"before"==o["\u0275nov"](e,462).labelPosition,"NoopAnimations"===o["\u0275nov"](e,462)._animationMode,o["\u0275nov"](e,466).ngClassUntouched,o["\u0275nov"](e,466).ngClassTouched,o["\u0275nov"](e,466).ngClassPristine,o["\u0275nov"](e,466).ngClassDirty,o["\u0275nov"](e,466).ngClassValid,o["\u0275nov"](e,466).ngClassInvalid,o["\u0275nov"](e,466).ngClassPending]),n(e,468,0,o["\u0275nov"](e,469).expanded,"NoopAnimations"===o["\u0275nov"](e,469)._animationMode,o["\u0275nov"](e,469)._hasSpacing());var D=o["\u0275nov"](e,473).panel._headerId,M=o["\u0275nov"](e,473).disabled?-1:0,N=o["\u0275nov"](e,473)._getPanelId(),A=o["\u0275nov"](e,473)._isExpanded(),P=o["\u0275nov"](e,473).panel.disabled,q=o["\u0275nov"](e,473)._isExpanded(),j=n(e,475,0,o["\u0275nov"](e,473)._getExpandedState(),n(e,474,0,o["\u0275nov"](e,473).collapsedHeight,o["\u0275nov"](e,473).expandedHeight));n(e,472,0,D,M,N,A,P,q,j),n(e,479,1,["standard"==o["\u0275nov"](e,480).appearance,"fill"==o["\u0275nov"](e,480).appearance,"outline"==o["\u0275nov"](e,480).appearance,"legacy"==o["\u0275nov"](e,480).appearance,o["\u0275nov"](e,480)._control.errorState,o["\u0275nov"](e,480)._canLabelFloat,o["\u0275nov"](e,480)._shouldLabelFloat(),o["\u0275nov"](e,480)._hasFloatingLabel(),o["\u0275nov"](e,480)._hideControlPlaceholder(),o["\u0275nov"](e,480)._control.disabled,o["\u0275nov"](e,480)._control.autofilled,o["\u0275nov"](e,480)._control.focused,"accent"==o["\u0275nov"](e,480).color,"warn"==o["\u0275nov"](e,480).color,o["\u0275nov"](e,480)._shouldForward("untouched"),o["\u0275nov"](e,480)._shouldForward("touched"),o["\u0275nov"](e,480)._shouldForward("pristine"),o["\u0275nov"](e,480)._shouldForward("dirty"),o["\u0275nov"](e,480)._shouldForward("valid"),o["\u0275nov"](e,480)._shouldForward("invalid"),o["\u0275nov"](e,480)._shouldForward("pending"),!o["\u0275nov"](e,480)._animationsEnabled]),n(e,488,1,[o["\u0275nov"](e,493).ngClassUntouched,o["\u0275nov"](e,493).ngClassTouched,o["\u0275nov"](e,493).ngClassPristine,o["\u0275nov"](e,493).ngClassDirty,o["\u0275nov"](e,493).ngClassValid,o["\u0275nov"](e,493).ngClassInvalid,o["\u0275nov"](e,493).ngClassPending,o["\u0275nov"](e,494)._isServer,o["\u0275nov"](e,494).id,o["\u0275nov"](e,494).placeholder,o["\u0275nov"](e,494).disabled,o["\u0275nov"](e,494).required,o["\u0275nov"](e,494).readonly&&!o["\u0275nov"](e,494)._isNativeSelect||null,o["\u0275nov"](e,494)._ariaDescribedby||null,o["\u0275nov"](e,494).errorState,o["\u0275nov"](e,494).required.toString()]),n(e,497,0,o["\u0275nov"](e,498).disabled||null,"NoopAnimations"===o["\u0275nov"](e,498)._animationMode),n(e,500,0,o["\u0275nov"](e,501).disabled||null,"NoopAnimations"===o["\u0275nov"](e,501)._animationMode)})}function _S(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 wS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Dynamips IOS Router configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,yS)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,_S)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.iosTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.iosTemplate)},null)}function CS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ios-template-details",[],null,null,null,wS,tS)),o["\u0275did"](1,114688,null,0,eS,[bt,Uh,zC,fc,lv,Dx,Rl],null,null)],function(n,e){n(e,1,0)},null)}var xS=o["\u0275ccf"]("app-ios-template-details",eS,CS,{},{},[]),SS=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Bm("",nm.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(ag.v4)(),this.iosTemplate.name=this.templateName,this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(e){n.goBack()}))},n}(),kS=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function ES(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy IOS router template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function TS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-ios-template",[],null,null,null,ES,kS)),o["\u0275did"](1,114688,null,0,SS,[bt,Uh,zC,fc,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var RS=o["\u0275ccf"]("app-copy-ios-template",SS,TS,{},{},[]),IS=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.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.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}(),OS=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}(),FS=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function DS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function MS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add QEMU VM template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/qemu/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function NS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function AS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,32,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,18,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](26,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,27)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,27)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](27,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](28,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,gs,vs)),o["\u0275did"](29,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](31,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0),n(e,29,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color),n(e,26,0,o["\u0275nov"](e,27).role,o["\u0275nov"](e,27)._highlighted,o["\u0275nov"](e,27)._triggersSubmenu,o["\u0275nov"](e,27)._getTabIndex(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).disabled||null),n(e,28,0,o["\u0275nov"](e,29).inline,"primary"!==o["\u0275nov"](e,29).color&&"accent"!==o["\u0275nov"](e,29).color&&"warn"!==o["\u0275nov"](e,29).color)})}function PS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,AS)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.qemuTemplates)},null)}function qS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,PS)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function jS(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["QEMU VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,DS)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,MS)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,NS)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qS)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 LS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-qemu-virtual-machines-templates",[],null,null,null,jS,FS)),o["\u0275did"](1,114688,null,0,OS,[bt,Uh,IS,Rl],null,null)],function(n,e){n(e,1,0)},null)}var VS=o["\u0275ccf"]("app-qemu-virtual-machines-templates",OS,LS,{},{},[]),BS=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.qemuBinaries=[],this.templateName="",this.nameForm=this.formBuilder.group({templateName:new Bm("",nm.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(ag.v4)(),this.qemuTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(e){n.goBack()}))},n}(),zS=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function US(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy QEMU VM template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.nameForm),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function HS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-qemu-virtual-machine-template",[],null,null,null,US,zS)),o["\u0275did"](1,114688,null,0,BS,[bt,Uh,IS,fc,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var ZS=o["\u0275ccf"]("app-copy-qemu-virtual-machine-template",BS,HS,{},{},[]),WS=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.closeConfiguratorEmitter=new o.EventEmitter,this.saveConfigurationEmitter=new o.EventEmitter}return n.prototype.cancelConfigureCustomAdapters=function(){this.closeConfiguratorEmitter.emit(!1)},n.prototype.configureCustomAdapters=function(){this.saveConfigurationEmitter.emit(this.adapters)},n}(),GS=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function KS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Adapter number "]))],null,null)}function YS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" Adapter "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.adapter_number)})}function $S(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port name "]))],null,null)}function XS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" Ethernet "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.adapter_number)})}function QS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Adapter type "]))],null,null)}function JS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[14,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," (",") "]))],function(n,e){n(e,1,0,e.context.$implicit[0])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[1],e.context.$implicit[0])})}function nk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.adapters[n.context.index].adapter_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](5,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](7,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](8,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,14,{options:1}),o["\u0275qud"](603979776,15,{optionGroups:1}),o["\u0275qud"](335544320,16,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,JS)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,5,0,t.adapters[e.context.index].adapter_type),n(e,8,0,"Type"),n(e,13,0,t.networkTypes)},function(n,e){n(e,2,1,[o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function ek(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function tk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function lk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,66,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Custom adapters configuration"])),(n()(),o["\u0275eld"](5,0,null,null,61,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,52,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,51,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,op,lp)),o["\u0275did"](8,2342912,null,4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](13,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](15,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,5,{cell:0}),o["\u0275qud"](335544320,6,{headerCell:0}),o["\u0275qud"](335544320,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,KS)),o["\u0275did"](21,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,YS)),o["\u0275did"](24,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](26,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](28,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,8,{cell:0}),o["\u0275qud"](335544320,9,{headerCell:0}),o["\u0275qud"](335544320,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,$S)),o["\u0275did"](34,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,XS)),o["\u0275did"](37,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](39,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](41,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,11,{cell:0}),o["\u0275qud"](335544320,12,{headerCell:0}),o["\u0275qud"](335544320,13,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,QS)),o["\u0275did"](47,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[12,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,nk)),o["\u0275did"](50,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[11,4]],Sc,null,[Gc]),(n()(),o["\u0275eld"](52,0,null,null,6,"tbody",[],null,null,null,null,null)),(n()(),o["\u0275and"](0,null,null,2,null,ek)),o["\u0275did"](54,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,tk)),o["\u0275did"](57,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],Mc,null,[Jc]),(n()(),o["\u0275eld"](59,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](60,0,null,null,2,"button",[["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](61,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](63,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](64,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"])),(n()(),o["\u0275eld"](66,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,8,0,t.adapters),n(e,15,0,"adapter_number"),n(e,28,0,"port_name"),n(e,41,0,"adapter_type"),n(e,54,0,t.displayedColumns),n(e,57,0,t.displayedColumns),n(e,64,0,"primary")},function(n,e){n(e,60,0,o["\u0275nov"](e,61).disabled||null,"NoopAnimations"===o["\u0275nov"](e,61)._animationMode),n(e,63,0,o["\u0275nov"](e,64).disabled||null,"NoopAnimations"===o["\u0275nov"](e,64)._animationMode)})}var ok=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","none"]},n.prototype.getNetworkTypes=function(){return[["e1000","Intel Gigabit Ethernet"],["i82550","Intel i82550 Ethernet"],["i82551","Intel i82551 Ethernet"],["i82557a","Intel i82557A Ethernet"],["i82557b","Intel i82557B Ethernet"],["i82557c","Intel i82557C Ethernet"],["i82558a","Intel i82558A Ethernet"],["i82558b","Intel i82558B Ethernet"],["i82559a","Intel i82559A Ethernet"],["i82559b","Intel i82559B Ethernet"],["i82559c","Intel i82559C Ethernet"],["i82559er","Intel i82559ER Ethernet"],["i82562","Intel i82562 Ethernet"],["i82801","Intel i82801 Ethernet"],["ne2k_pci","NE2000 Ethernet"],["pcnet","AMD PCNet Ethernet"],["rtl8139","Realtek 8139 Ethernet"],["virtio","Legacy paravirtualized Network I/O"],["virtio-net-pci","Paravirtualized Network I/O"],["vmxnet3","VMWare Paravirtualized Ethernet v3"]]},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}(),rk=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=r,this.router=i,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"],this.generalSettingsForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.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}(),ik=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function ak(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[32,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function uk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[56,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.path)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)})}function sk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[66,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function dk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[76,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function ck(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[86,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function pk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[104,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function fk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[121,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function hk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[138,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function mk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[155,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function vk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[209,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," (",") "]))],function(n,e){n(e,1,0,e.context.$implicit[0])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[1],e.context.$implicit[0])})}function gk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,17,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,241,{_control:0}),o["\u0275qud"](335544320,242,{_placeholderChild:0}),o["\u0275qud"](335544320,243,{_labelChild:0}),o["\u0275qud"](603979776,244,{_errorChildren:1}),o["\u0275qud"](603979776,245,{_hintChildren:1}),o["\u0275qud"](603979776,246,{_prefixChildren:1}),o["\u0275qud"](603979776,247,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,11).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,16)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cpu_throttling=t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](11,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](13,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](15,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](16,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[241,4]],db,null,[qb])],function(n,e){n(e,13,0,e.component.qemuTemplate.cpu_throttling),n(e,16,0,"Perecentage of CPU allowed","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16)._isServer,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).placeholder,o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).readonly&&!o["\u0275nov"](e,16)._isNativeSelect||null,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required.toString()])})}function bk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[255,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function yk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,805,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,797,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,219,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,3,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,11,{_control:0}),o["\u0275qud"](335544320,12,{_placeholderChild:0}),o["\u0275qud"](335544320,13,{_labelChild:0}),o["\u0275qud"](603979776,14,{_errorChildren:1}),o["\u0275qud"](603979776,15,{_hintChildren:1}),o["\u0275qud"](603979776,16,{_prefixChildren:1}),o["\u0275qud"](603979776,17,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[11,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,16,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,18,{_control:0}),o["\u0275qud"](335544320,19,{_placeholderChild:0}),o["\u0275qud"](335544320,20,{_labelChild:0}),o["\u0275qud"](603979776,21,{_errorChildren:1}),o["\u0275qud"](603979776,22,{_hintChildren:1}),o["\u0275qud"](603979776,23,{_prefixChildren:1}),o["\u0275qud"](603979776,24,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,65)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,70)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](65,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](67,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[18,4]],db,null,[qb]),(n()(),o["\u0275eld"](72,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](73,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](75,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](76,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,1,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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,25,{_control:0}),o["\u0275qud"](335544320,26,{_placeholderChild:0}),o["\u0275qud"](335544320,27,{_labelChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,91)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,91)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,91)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](88,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](90,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](91,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,32,{options:1}),o["\u0275qud"](603979776,33,{optionGroups:1}),o["\u0275qud"](335544320,34,{customTrigger:0}),o["\u0275prd"](2048,[[25,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,ak)),o["\u0275did"](97,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](98,0,null,1,17,"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,Fb,yb)),o["\u0275did"](99,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,35,{_control:0}),o["\u0275qud"](335544320,36,{_placeholderChild:0}),o["\u0275qud"](335544320,37,{_labelChild:0}),o["\u0275qud"](603979776,38,{_errorChildren:1}),o["\u0275qud"](603979776,39,{_hintChildren:1}),o["\u0275qud"](603979776,40,{_prefixChildren:1}),o["\u0275qud"](603979776,41,{_suffixChildren:1}),(n()(),o["\u0275eld"](107,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,108)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,108).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,108)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,108)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,109).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,109).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,109).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,114)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,114)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,114)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](108,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](109,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](111,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](113,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](114,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[35,4]],db,null,[qb]),(n()(),o["\u0275eld"](116,0,null,1,17,"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,Fb,yb)),o["\u0275did"](117,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,42,{_control:0}),o["\u0275qud"](335544320,43,{_placeholderChild:0}),o["\u0275qud"](335544320,44,{_labelChild:0}),o["\u0275qud"](603979776,45,{_errorChildren:1}),o["\u0275qud"](603979776,46,{_hintChildren:1}),o["\u0275qud"](603979776,47,{_prefixChildren:1}),o["\u0275qud"](603979776,48,{_suffixChildren:1}),(n()(),o["\u0275eld"](125,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,126)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,126).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,126)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,126)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,127).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,127).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,127).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,132)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,132)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,132)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cpus=t)&&l),l},null,null)),o["\u0275did"](126,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](127,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](129,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](131,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](132,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[42,4]],db,null,[qb]),(n()(),o["\u0275eld"](134,0,null,1,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,Fb,yb)),o["\u0275did"](135,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,49,{_control:0}),o["\u0275qud"](335544320,50,{_placeholderChild:0}),o["\u0275qud"](335544320,51,{_labelChild:0}),o["\u0275qud"](603979776,52,{_errorChildren:1}),o["\u0275qud"](603979776,53,{_hintChildren:1}),o["\u0275qud"](603979776,54,{_prefixChildren:1}),o["\u0275qud"](603979776,55,{_suffixChildren:1}),(n()(),o["\u0275eld"](143,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,148)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,148)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,148)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.qemu_path=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](145,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](147,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](148,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,56,{options:1}),o["\u0275qud"](603979776,57,{optionGroups:1}),o["\u0275qud"](335544320,58,{customTrigger:0}),o["\u0275prd"](2048,[[49,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,uk)),o["\u0275did"](154,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](155,0,null,1,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,Fb,yb)),o["\u0275did"](156,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,59,{_control:0}),o["\u0275qud"](335544320,60,{_placeholderChild:0}),o["\u0275qud"](335544320,61,{_labelChild:0}),o["\u0275qud"](603979776,62,{_errorChildren:1}),o["\u0275qud"](603979776,63,{_hintChildren:1}),o["\u0275qud"](603979776,64,{_prefixChildren:1}),o["\u0275qud"](603979776,65,{_suffixChildren:1}),(n()(),o["\u0275eld"](164,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,169)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,169)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,169)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.boot_priority=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](166,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](168,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](169,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,66,{options:1}),o["\u0275qud"](603979776,67,{optionGroups:1}),o["\u0275qud"](335544320,68,{customTrigger:0}),o["\u0275prd"](2048,[[59,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,sk)),o["\u0275did"](175,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](176,0,null,1,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,Fb,yb)),o["\u0275did"](177,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,69,{_control:0}),o["\u0275qud"](335544320,70,{_placeholderChild:0}),o["\u0275qud"](335544320,71,{_labelChild:0}),o["\u0275qud"](603979776,72,{_errorChildren:1}),o["\u0275qud"](603979776,73,{_hintChildren:1}),o["\u0275qud"](603979776,74,{_prefixChildren:1}),o["\u0275qud"](603979776,75,{_suffixChildren:1}),(n()(),o["\u0275eld"](185,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,190)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,190)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,190)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.on_close=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](187,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](189,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](190,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,76,{options:1}),o["\u0275qud"](603979776,77,{optionGroups:1}),o["\u0275qud"](335544320,78,{customTrigger:0}),o["\u0275prd"](2048,[[69,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,dk)),o["\u0275did"](196,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](197,0,null,1,20,"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,Fb,yb)),o["\u0275did"](198,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,79,{_control:0}),o["\u0275qud"](335544320,80,{_placeholderChild:0}),o["\u0275qud"](335544320,81,{_labelChild:0}),o["\u0275qud"](603979776,82,{_errorChildren:1}),o["\u0275qud"](603979776,83,{_hintChildren:1}),o["\u0275qud"](603979776,84,{_prefixChildren:1}),o["\u0275qud"](603979776,85,{_suffixChildren:1}),(n()(),o["\u0275eld"](206,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,211)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,211)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,211)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](208,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](210,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](211,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,86,{options:1}),o["\u0275qud"](603979776,87,{optionGroups:1}),o["\u0275qud"](335544320,88,{customTrigger:0}),o["\u0275prd"](2048,[[79,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,ck)),o["\u0275did"](217,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](218,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},ab,ib)),o["\u0275did"](219,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](221,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](223,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](225,16777216,null,null,198,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](226,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,89,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](229,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,230)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,230)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](230,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](231,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](232,{value:0,params:1}),(n()(),o["\u0275eld"](233,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](234,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDD "])),(n()(),o["\u0275eld"](236,0,null,1,46,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](237,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](238,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](239,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](240,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](241,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDA (Primary Master) "])),(n()(),o["\u0275eld"](243,0,null,0,39,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](244,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](245,0,null,null,16,"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,Fb,yb)),o["\u0275did"](246,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,90,{_control:0}),o["\u0275qud"](335544320,91,{_placeholderChild:0}),o["\u0275qud"](335544320,92,{_labelChild:0}),o["\u0275qud"](603979776,93,{_errorChildren:1}),o["\u0275qud"](603979776,94,{_hintChildren:1}),o["\u0275qud"](603979776,95,{_prefixChildren:1}),o["\u0275qud"](603979776,96,{_suffixChildren:1}),(n()(),o["\u0275eld"](254,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,255)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,255).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,255)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,255)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,260)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,260)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,260)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hda_disk_image=t)&&l),l},null,null)),o["\u0275did"](255,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](257,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](259,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](260,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[90,4]],db,null,[qb]),(n()(),o["\u0275eld"](262,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,Fb,yb)),o["\u0275did"](263,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,97,{_control:0}),o["\u0275qud"](335544320,98,{_placeholderChild:0}),o["\u0275qud"](335544320,99,{_labelChild:0}),o["\u0275qud"](603979776,100,{_errorChildren:1}),o["\u0275qud"](603979776,101,{_hintChildren:1}),o["\u0275qud"](603979776,102,{_prefixChildren:1}),o["\u0275qud"](603979776,103,{_suffixChildren:1}),(n()(),o["\u0275eld"](271,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,276)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,276)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,276)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hda_disk_interface=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](273,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](275,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](276,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,104,{options:1}),o["\u0275qud"](603979776,105,{optionGroups:1}),o["\u0275qud"](335544320,106,{customTrigger:0}),o["\u0275prd"](2048,[[97,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,pk)),o["\u0275did"](282,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](283,0,null,1,46,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](284,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](285,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](286,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](287,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](288,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDB (Primary Slave) "])),(n()(),o["\u0275eld"](290,0,null,0,39,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](291,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](292,0,null,null,16,"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,Fb,yb)),o["\u0275did"](293,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,107,{_control:0}),o["\u0275qud"](335544320,108,{_placeholderChild:0}),o["\u0275qud"](335544320,109,{_labelChild:0}),o["\u0275qud"](603979776,110,{_errorChildren:1}),o["\u0275qud"](603979776,111,{_hintChildren:1}),o["\u0275qud"](603979776,112,{_prefixChildren:1}),o["\u0275qud"](603979776,113,{_suffixChildren:1}),(n()(),o["\u0275eld"](301,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,302)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,302).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,302)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,302)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,307)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,307)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,307)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdb_disk_image=t)&&l),l},null,null)),o["\u0275did"](302,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](304,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](306,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](307,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[107,4]],db,null,[qb]),(n()(),o["\u0275eld"](309,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,Fb,yb)),o["\u0275did"](310,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,114,{_control:0}),o["\u0275qud"](335544320,115,{_placeholderChild:0}),o["\u0275qud"](335544320,116,{_labelChild:0}),o["\u0275qud"](603979776,117,{_errorChildren:1}),o["\u0275qud"](603979776,118,{_hintChildren:1}),o["\u0275qud"](603979776,119,{_prefixChildren:1}),o["\u0275qud"](603979776,120,{_suffixChildren:1}),(n()(),o["\u0275eld"](318,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,323)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,323)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,323)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdb_disk_interface=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](320,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](322,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](323,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,121,{options:1}),o["\u0275qud"](603979776,122,{optionGroups:1}),o["\u0275qud"](335544320,123,{customTrigger:0}),o["\u0275prd"](2048,[[114,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,fk)),o["\u0275did"](329,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](330,0,null,1,46,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](331,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](332,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](333,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](334,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](335,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDC (Secondary Master) "])),(n()(),o["\u0275eld"](337,0,null,0,39,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](338,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](339,0,null,null,16,"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,Fb,yb)),o["\u0275did"](340,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,124,{_control:0}),o["\u0275qud"](335544320,125,{_placeholderChild:0}),o["\u0275qud"](335544320,126,{_labelChild:0}),o["\u0275qud"](603979776,127,{_errorChildren:1}),o["\u0275qud"](603979776,128,{_hintChildren:1}),o["\u0275qud"](603979776,129,{_prefixChildren:1}),o["\u0275qud"](603979776,130,{_suffixChildren:1}),(n()(),o["\u0275eld"](348,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,349)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,349).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,349)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,349)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,354)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,354)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,354)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdc_disk_image=t)&&l),l},null,null)),o["\u0275did"](349,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](351,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](353,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](354,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[124,4]],db,null,[qb]),(n()(),o["\u0275eld"](356,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,Fb,yb)),o["\u0275did"](357,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,131,{_control:0}),o["\u0275qud"](335544320,132,{_placeholderChild:0}),o["\u0275qud"](335544320,133,{_labelChild:0}),o["\u0275qud"](603979776,134,{_errorChildren:1}),o["\u0275qud"](603979776,135,{_hintChildren:1}),o["\u0275qud"](603979776,136,{_prefixChildren:1}),o["\u0275qud"](603979776,137,{_suffixChildren:1}),(n()(),o["\u0275eld"](365,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,370)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,370)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,370)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdc_disk_interface=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](367,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](369,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](370,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,138,{options:1}),o["\u0275qud"](603979776,139,{optionGroups:1}),o["\u0275qud"](335544320,140,{customTrigger:0}),o["\u0275prd"](2048,[[131,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,hk)),o["\u0275did"](376,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](377,0,null,1,46,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](378,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](379,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](380,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](381,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](382,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDD (Secondary Slave) "])),(n()(),o["\u0275eld"](384,0,null,0,39,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](385,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](386,0,null,null,16,"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,Fb,yb)),o["\u0275did"](387,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,141,{_control:0}),o["\u0275qud"](335544320,142,{_placeholderChild:0}),o["\u0275qud"](335544320,143,{_labelChild:0}),o["\u0275qud"](603979776,144,{_errorChildren:1}),o["\u0275qud"](603979776,145,{_hintChildren:1}),o["\u0275qud"](603979776,146,{_prefixChildren:1}),o["\u0275qud"](603979776,147,{_suffixChildren:1}),(n()(),o["\u0275eld"](395,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,396)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,396).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,396)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,396)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,401)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,401)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,401)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdd_disk_image=t)&&l),l},null,null)),o["\u0275did"](396,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](398,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](400,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](401,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[141,4]],db,null,[qb]),(n()(),o["\u0275eld"](403,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,Fb,yb)),o["\u0275did"](404,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,148,{_control:0}),o["\u0275qud"](335544320,149,{_placeholderChild:0}),o["\u0275qud"](335544320,150,{_labelChild:0}),o["\u0275qud"](603979776,151,{_errorChildren:1}),o["\u0275qud"](603979776,152,{_hintChildren:1}),o["\u0275qud"](603979776,153,{_prefixChildren:1}),o["\u0275qud"](603979776,154,{_suffixChildren:1}),(n()(),o["\u0275eld"](412,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,417)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,417)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,417)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdd_disk_interface=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](414,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](416,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](417,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,155,{options:1}),o["\u0275qud"](603979776,156,{optionGroups:1}),o["\u0275qud"](335544320,157,{customTrigger:0}),o["\u0275prd"](2048,[[148,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,mk)),o["\u0275did"](423,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](424,16777216,null,null,32,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](425,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,158,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](428,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,429)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,429)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](429,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](430,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](431,{value:0,params:1}),(n()(),o["\u0275eld"](432,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](433,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" CD/DVD "])),(n()(),o["\u0275eld"](435,0,null,1,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](436,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,439).click()&&l),l},pu,cu)),o["\u0275did"](437,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](439,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["\u0275eld"](440,0,null,null,16,"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,Fb,yb)),o["\u0275did"](441,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,159,{_control:0}),o["\u0275qud"](335544320,160,{_placeholderChild:0}),o["\u0275qud"](335544320,161,{_labelChild:0}),o["\u0275qud"](603979776,162,{_errorChildren:1}),o["\u0275qud"](603979776,163,{_hintChildren:1}),o["\u0275qud"](603979776,164,{_prefixChildren:1}),o["\u0275qud"](603979776,165,{_suffixChildren:1}),(n()(),o["\u0275eld"](449,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,450)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,450).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,450)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,450)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,455)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,455)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,455)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cdrom_image=t)&&l),l},null,null)),o["\u0275did"](450,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](452,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](454,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](455,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[159,4]],db,null,[qb]),(n()(),o["\u0275eld"](457,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,Wg,Hg)),o["\u0275did"](458,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,166,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](461,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,462)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,462)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](462,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](463,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](464,{value:0,params:1}),(n()(),o["\u0275eld"](465,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](466,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](468,0,null,1,17,"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,Fb,yb)),o["\u0275did"](469,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,167,{_control:0}),o["\u0275qud"](335544320,168,{_placeholderChild:0}),o["\u0275qud"](335544320,169,{_labelChild:0}),o["\u0275qud"](603979776,170,{_errorChildren:1}),o["\u0275qud"](603979776,171,{_hintChildren:1}),o["\u0275qud"](603979776,172,{_prefixChildren:1}),o["\u0275qud"](603979776,173,{_suffixChildren:1}),(n()(),o["\u0275eld"](477,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,478)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,478).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,478)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,478)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,479).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,479).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,479).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,484)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,484)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,484)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](478,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](479,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](481,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](483,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](484,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[167,4]],db,null,[qb]),(n()(),o["\u0275eld"](486,0,null,1,16,"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,Fb,yb)),o["\u0275did"](487,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,174,{_control:0}),o["\u0275qud"](335544320,175,{_placeholderChild:0}),o["\u0275qud"](335544320,176,{_labelChild:0}),o["\u0275qud"](603979776,177,{_errorChildren:1}),o["\u0275qud"](603979776,178,{_hintChildren:1}),o["\u0275qud"](603979776,179,{_prefixChildren:1}),o["\u0275qud"](603979776,180,{_suffixChildren:1}),(n()(),o["\u0275eld"](495,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,496)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,496).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,496)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,496)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,501)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,501)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,501)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](496,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](498,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](500,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](501,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[174,4]],db,null,[qb]),(n()(),o["\u0275eld"](503,0,null,1,16,"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,Fb,yb)),o["\u0275did"](504,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,181,{_control:0}),o["\u0275qud"](335544320,182,{_placeholderChild:0}),o["\u0275qud"](335544320,183,{_labelChild:0}),o["\u0275qud"](603979776,184,{_errorChildren:1}),o["\u0275qud"](603979776,185,{_hintChildren:1}),o["\u0275qud"](603979776,186,{_prefixChildren:1}),o["\u0275qud"](603979776,187,{_suffixChildren:1}),(n()(),o["\u0275eld"](512,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,513)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,513).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,513)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,513)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,518)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,518)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,518)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](513,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](515,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](517,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](518,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[181,4]],db,null,[qb]),(n()(),o["\u0275eld"](520,0,null,1,17,"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,Fb,yb)),o["\u0275did"](521,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,188,{_control:0}),o["\u0275qud"](335544320,189,{_placeholderChild:0}),o["\u0275qud"](335544320,190,{_labelChild:0}),o["\u0275qud"](603979776,191,{_errorChildren:1}),o["\u0275qud"](603979776,192,{_hintChildren:1}),o["\u0275qud"](603979776,193,{_prefixChildren:1}),o["\u0275qud"](603979776,194,{_suffixChildren:1}),(n()(),o["\u0275eld"](529,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,530)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,530).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,530)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,530)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,531).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,531).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,531).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,536)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,536)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,536)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](530,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](531,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](533,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](535,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](536,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[188,4]],db,null,[qb]),(n()(),o["\u0275eld"](538,0,null,1,16,"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,Fb,yb)),o["\u0275did"](539,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,195,{_control:0}),o["\u0275qud"](335544320,196,{_placeholderChild:0}),o["\u0275qud"](335544320,197,{_labelChild:0}),o["\u0275qud"](603979776,198,{_errorChildren:1}),o["\u0275qud"](603979776,199,{_hintChildren:1}),o["\u0275qud"](603979776,200,{_prefixChildren:1}),o["\u0275qud"](603979776,201,{_suffixChildren:1}),(n()(),o["\u0275eld"](547,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,548)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,548).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,548)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,548)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,553)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,553)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,553)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.mac_address=t)&&l),l},null,null)),o["\u0275did"](548,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](550,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](552,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](553,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[195,4]],db,null,[qb]),(n()(),o["\u0275eld"](555,0,null,1,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,Fb,yb)),o["\u0275did"](556,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,202,{_control:0}),o["\u0275qud"](335544320,203,{_placeholderChild:0}),o["\u0275qud"](335544320,204,{_labelChild:0}),o["\u0275qud"](603979776,205,{_errorChildren:1}),o["\u0275qud"](603979776,206,{_hintChildren:1}),o["\u0275qud"](603979776,207,{_prefixChildren:1}),o["\u0275qud"](603979776,208,{_suffixChildren:1}),(n()(),o["\u0275eld"](564,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,569)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,569)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,569)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.adapter_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](566,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](568,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](569,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,209,{options:1}),o["\u0275qud"](603979776,210,{optionGroups:1}),o["\u0275qud"](335544320,211,{customTrigger:0}),o["\u0275prd"](2048,[[202,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,vk)),o["\u0275did"](575,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](576,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](577,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](579,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](580,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},ab,ib)),o["\u0275did"](581,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](583,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](585,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use the legacy networking mode "])),(n()(),o["\u0275eld"](587,16777216,null,null,183,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](588,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,212,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](591,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,592)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,592)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](592,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](593,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](594,{value:0,params:1}),(n()(),o["\u0275eld"](595,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](596,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](598,0,null,1,69,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](599,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](600,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](601,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](602,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](603,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Linux boot specific settings "])),(n()(),o["\u0275eld"](605,0,null,0,62,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](606,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](607,0,null,null,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](608,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,611).click()&&l),l},pu,cu)),o["\u0275did"](609,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](611,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["\u0275eld"](612,0,null,null,16,"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,Fb,yb)),o["\u0275did"](613,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,213,{_control:0}),o["\u0275qud"](335544320,214,{_placeholderChild:0}),o["\u0275qud"](335544320,215,{_labelChild:0}),o["\u0275qud"](603979776,216,{_errorChildren:1}),o["\u0275qud"](603979776,217,{_hintChildren:1}),o["\u0275qud"](603979776,218,{_prefixChildren:1}),o["\u0275qud"](603979776,219,{_suffixChildren:1}),(n()(),o["\u0275eld"](621,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,622)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,622).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,622)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,622)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,627)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,627)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,627)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.initrd=t)&&l),l},null,null)),o["\u0275did"](622,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](624,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](626,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](627,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[213,4]],db,null,[qb]),(n()(),o["\u0275eld"](629,0,null,null,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](630,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](631,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](633,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["\u0275eld"](634,0,null,null,16,"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,Fb,yb)),o["\u0275did"](635,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,220,{_control:0}),o["\u0275qud"](335544320,221,{_placeholderChild:0}),o["\u0275qud"](335544320,222,{_labelChild:0}),o["\u0275qud"](603979776,223,{_errorChildren:1}),o["\u0275qud"](603979776,224,{_hintChildren:1}),o["\u0275qud"](603979776,225,{_prefixChildren:1}),o["\u0275qud"](603979776,226,{_suffixChildren:1}),(n()(),o["\u0275eld"](643,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,644)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,644).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,644)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,644)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,649)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,649)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,649)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.kernel_image=t)&&l),l},null,null)),o["\u0275did"](644,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](646,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](648,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](649,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[220,4]],db,null,[qb]),(n()(),o["\u0275eld"](651,0,null,null,16,"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,Fb,yb)),o["\u0275did"](652,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,227,{_control:0}),o["\u0275qud"](335544320,228,{_placeholderChild:0}),o["\u0275qud"](335544320,229,{_labelChild:0}),o["\u0275qud"](603979776,230,{_errorChildren:1}),o["\u0275qud"](603979776,231,{_hintChildren:1}),o["\u0275qud"](603979776,232,{_prefixChildren:1}),o["\u0275qud"](603979776,233,{_suffixChildren:1}),(n()(),o["\u0275eld"](660,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,661)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,661).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,661)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,661)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,666)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,666)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,666)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.kernel_command_line=t)&&l),l},null,null)),o["\u0275did"](661,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](663,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](665,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](666,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[227,4]],db,null,[qb]),(n()(),o["\u0275eld"](668,0,null,1,30,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](669,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](670,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](671,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](672,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](673,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Bios "])),(n()(),o["\u0275eld"](675,0,null,0,23,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](676,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](677,0,null,null,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](678,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,681).click()&&l),l},pu,cu)),o["\u0275did"](679,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](681,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["\u0275eld"](682,0,null,null,16,"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,Fb,yb)),o["\u0275did"](683,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,234,{_control:0}),o["\u0275qud"](335544320,235,{_placeholderChild:0}),o["\u0275qud"](335544320,236,{_labelChild:0}),o["\u0275qud"](603979776,237,{_errorChildren:1}),o["\u0275qud"](603979776,238,{_hintChildren:1}),o["\u0275qud"](603979776,239,{_prefixChildren:1}),o["\u0275qud"](603979776,240,{_suffixChildren:1}),(n()(),o["\u0275eld"](691,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,692)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,692).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,692)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,692)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,697)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,697)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,697)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.bios_image=t)&&l),l},null,null)),o["\u0275did"](692,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](694,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](696,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](697,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[234,4]],db,null,[qb]),(n()(),o["\u0275eld"](699,0,null,1,38,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](700,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](701,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](702,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](703,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](704,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Optimization "])),(n()(),o["\u0275eld"](706,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](707,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](708,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},ab,ib)),o["\u0275did"](709,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](711,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](713,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Activate CPU throttling "])),(n()(),o["\u0275and"](16777216,null,null,1,null,gk)),o["\u0275did"](716,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](717,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,Fb,yb)),o["\u0275did"](718,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,248,{_control:0}),o["\u0275qud"](335544320,249,{_placeholderChild:0}),o["\u0275qud"](335544320,250,{_labelChild:0}),o["\u0275qud"](603979776,251,{_errorChildren:1}),o["\u0275qud"](603979776,252,{_hintChildren:1}),o["\u0275qud"](603979776,253,{_prefixChildren:1}),o["\u0275qud"](603979776,254,{_suffixChildren:1}),(n()(),o["\u0275eld"](726,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,731)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,731)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,731)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.process_priority=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](728,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](730,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](731,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,255,{options:1}),o["\u0275qud"](603979776,256,{optionGroups:1}),o["\u0275qud"](335544320,257,{customTrigger:0}),o["\u0275prd"](2048,[[248,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,bk)),o["\u0275did"](737,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](738,0,null,1,32,"mat-card",[["class","mat-card"]],null,null,null,vp,mp)),o["\u0275did"](739,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](740,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](741,16384,null,0,dp,[],null,null),(n()(),o["\u0275eld"](742,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](743,16384,null,0,cp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Additional settings "])),(n()(),o["\u0275eld"](745,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](746,16384,null,0,sp,[],null,null),(n()(),o["\u0275eld"](747,0,null,null,16,"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,Fb,yb)),o["\u0275did"](748,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,258,{_control:0}),o["\u0275qud"](335544320,259,{_placeholderChild:0}),o["\u0275qud"](335544320,260,{_labelChild:0}),o["\u0275qud"](603979776,261,{_errorChildren:1}),o["\u0275qud"](603979776,262,{_hintChildren:1}),o["\u0275qud"](603979776,263,{_prefixChildren:1}),o["\u0275qud"](603979776,264,{_suffixChildren:1}),(n()(),o["\u0275eld"](756,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,757)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,757).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,757)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,757)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,762)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,762)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,762)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.options=t)&&l),l},null,null)),o["\u0275did"](757,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](759,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](761,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](762,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[258,4]],db,null,[qb]),(n()(),o["\u0275eld"](764,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},ab,ib)),o["\u0275did"](765,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](767,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](769,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM "])),(n()(),o["\u0275eld"](771,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](772,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,265,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](775,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,776)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,776)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](776,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](777,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](778,{value:0,params:1}),(n()(),o["\u0275eld"](779,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](780,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](782,0,null,1,16,"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,Fb,yb)),o["\u0275did"](783,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,266,{_control:0}),o["\u0275qud"](335544320,267,{_placeholderChild:0}),o["\u0275qud"](335544320,268,{_labelChild:0}),o["\u0275qud"](603979776,269,{_errorChildren:1}),o["\u0275qud"](603979776,270,{_hintChildren:1}),o["\u0275qud"](603979776,271,{_prefixChildren:1}),o["\u0275qud"](603979776,272,{_suffixChildren:1}),(n()(),o["\u0275eld"](791,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,792)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,792).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,792)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,792)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,797)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,797)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,797)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](792,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](794,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](796,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](797,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[266,4]],db,null,[qb]),(n()(),o["\u0275eld"](799,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](800,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](801,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](803,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](804,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.qemuTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.qemuTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,67,0,"symbol",t.qemuTemplate.symbol),n(e,70,0,"Symbol","text"),n(e,88,0,t.qemuTemplate.category),n(e,91,0,"Category"),n(e,97,0,t.categories),n(e,111,0,t.qemuTemplate.ram),n(e,114,0,"RAM","number"),n(e,129,0,t.qemuTemplate.cpus),n(e,132,0,"vCPUs","number"),n(e,145,0,t.qemuTemplate.qemu_path),n(e,148,0,"Qemu binary"),n(e,154,0,t.binaries),n(e,166,0,t.qemuTemplate.boot_priority),n(e,169,0,"Boot priority"),n(e,175,0,t.bootPriorities),n(e,187,0,t.qemuTemplate.on_close),n(e,190,0,"On close"),n(e,196,0,t.onCloseOptions),n(e,208,0,t.qemuTemplate.console_type),n(e,211,0,"Console type"),n(e,217,0,t.consoleTypes),n(e,221,0,t.qemuTemplate.console_auto_start),n(e,257,0,t.qemuTemplate.hda_disk_image),n(e,260,0,"Disk image"),n(e,273,0,t.qemuTemplate.hda_disk_interface),n(e,276,0,"Disk interface"),n(e,282,0,t.diskInterfaces),n(e,304,0,t.qemuTemplate.hdb_disk_image),n(e,307,0,"Disk image"),n(e,320,0,t.qemuTemplate.hdb_disk_interface),n(e,323,0,"Disk interface"),n(e,329,0,t.diskInterfaces),n(e,351,0,t.qemuTemplate.hdc_disk_image),n(e,354,0,"Disk image"),n(e,367,0,t.qemuTemplate.hdc_disk_interface),n(e,370,0,"Disk interface"),n(e,376,0,t.diskInterfaces),n(e,398,0,t.qemuTemplate.hdd_disk_image),n(e,401,0,"Disk image"),n(e,414,0,t.qemuTemplate.hdd_disk_interface),n(e,417,0,"Disk interface"),n(e,423,0,t.diskInterfaces),n(e,437,0,"primary"),n(e,452,0,t.qemuTemplate.cdrom_image),n(e,455,0,"Image","text"),n(e,481,0,t.qemuTemplate.adapters),n(e,484,0,"Adapters","number"),n(e,498,0,t.qemuTemplate.first_port_name),n(e,501,0,"First port name","text"),n(e,515,0,t.qemuTemplate.port_name_format),n(e,518,0,"Name format","text"),n(e,533,0,t.qemuTemplate.port_segment_size),n(e,536,0,"Segment size","number"),n(e,550,0,t.qemuTemplate.mac_address),n(e,553,0,"Base MAC","text"),n(e,566,0,t.qemuTemplate.adapter_type),n(e,569,0,"Type"),n(e,575,0,t.networkTypes),n(e,583,0,t.qemuTemplate.legacy_networking),n(e,609,0,"primary"),n(e,624,0,t.qemuTemplate.initrd),n(e,627,0,"Initial RAM disk (initrd)","text"),n(e,631,0,"primary"),n(e,646,0,t.qemuTemplate.kernel_image),n(e,649,0,"Kernel image","text"),n(e,663,0,t.qemuTemplate.kernel_command_line),n(e,666,0,"Kernel command line","text"),n(e,679,0,"primary"),n(e,694,0,t.qemuTemplate.bios_image),n(e,697,0,"Bios image","text"),n(e,711,0,t.activateCpuThrottling),n(e,716,0,t.activateCpuThrottling),n(e,728,0,t.qemuTemplate.process_priority),n(e,731,0,"Process priority"),n(e,737,0,t.priorities),n(e,759,0,t.qemuTemplate.options),n(e,762,0,"Options","text"),n(e,767,0,t.qemuTemplate.linked_clone),n(e,794,0,t.qemuTemplate.usage),n(e,797,0,"text"),n(e,804,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70)._isServer,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).placeholder,o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).readonly&&!o["\u0275nov"](e,70)._isNativeSelect||null,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required.toString()]),n(e,72,0,o["\u0275nov"](e,73).disabled||null,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,90).ngClassUntouched,o["\u0275nov"](e,90).ngClassTouched,o["\u0275nov"](e,90).ngClassPristine,o["\u0275nov"](e,90).ngClassDirty,o["\u0275nov"](e,90).ngClassValid,o["\u0275nov"](e,90).ngClassInvalid,o["\u0275nov"](e,90).ngClassPending,o["\u0275nov"](e,91).id,o["\u0275nov"](e,91).tabIndex,o["\u0275nov"](e,91)._getAriaLabel(),o["\u0275nov"](e,91)._getAriaLabelledby(),o["\u0275nov"](e,91).required.toString(),o["\u0275nov"](e,91).disabled.toString(),o["\u0275nov"](e,91).errorState,o["\u0275nov"](e,91).panelOpen?o["\u0275nov"](e,91)._optionIds:null,o["\u0275nov"](e,91).multiple,o["\u0275nov"](e,91)._ariaDescribedby||null,o["\u0275nov"](e,91)._getAriaActiveDescendant(),o["\u0275nov"](e,91).disabled,o["\u0275nov"](e,91).errorState,o["\u0275nov"](e,91).required,o["\u0275nov"](e,91).empty]),n(e,98,1,["standard"==o["\u0275nov"](e,99).appearance,"fill"==o["\u0275nov"](e,99).appearance,"outline"==o["\u0275nov"](e,99).appearance,"legacy"==o["\u0275nov"](e,99).appearance,o["\u0275nov"](e,99)._control.errorState,o["\u0275nov"](e,99)._canLabelFloat,o["\u0275nov"](e,99)._shouldLabelFloat(),o["\u0275nov"](e,99)._hasFloatingLabel(),o["\u0275nov"](e,99)._hideControlPlaceholder(),o["\u0275nov"](e,99)._control.disabled,o["\u0275nov"](e,99)._control.autofilled,o["\u0275nov"](e,99)._control.focused,"accent"==o["\u0275nov"](e,99).color,"warn"==o["\u0275nov"](e,99).color,o["\u0275nov"](e,99)._shouldForward("untouched"),o["\u0275nov"](e,99)._shouldForward("touched"),o["\u0275nov"](e,99)._shouldForward("pristine"),o["\u0275nov"](e,99)._shouldForward("dirty"),o["\u0275nov"](e,99)._shouldForward("valid"),o["\u0275nov"](e,99)._shouldForward("invalid"),o["\u0275nov"](e,99)._shouldForward("pending"),!o["\u0275nov"](e,99)._animationsEnabled]),n(e,107,1,[o["\u0275nov"](e,113).ngClassUntouched,o["\u0275nov"](e,113).ngClassTouched,o["\u0275nov"](e,113).ngClassPristine,o["\u0275nov"](e,113).ngClassDirty,o["\u0275nov"](e,113).ngClassValid,o["\u0275nov"](e,113).ngClassInvalid,o["\u0275nov"](e,113).ngClassPending,o["\u0275nov"](e,114)._isServer,o["\u0275nov"](e,114).id,o["\u0275nov"](e,114).placeholder,o["\u0275nov"](e,114).disabled,o["\u0275nov"](e,114).required,o["\u0275nov"](e,114).readonly&&!o["\u0275nov"](e,114)._isNativeSelect||null,o["\u0275nov"](e,114)._ariaDescribedby||null,o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).required.toString()]),n(e,116,1,["standard"==o["\u0275nov"](e,117).appearance,"fill"==o["\u0275nov"](e,117).appearance,"outline"==o["\u0275nov"](e,117).appearance,"legacy"==o["\u0275nov"](e,117).appearance,o["\u0275nov"](e,117)._control.errorState,o["\u0275nov"](e,117)._canLabelFloat,o["\u0275nov"](e,117)._shouldLabelFloat(),o["\u0275nov"](e,117)._hasFloatingLabel(),o["\u0275nov"](e,117)._hideControlPlaceholder(),o["\u0275nov"](e,117)._control.disabled,o["\u0275nov"](e,117)._control.autofilled,o["\u0275nov"](e,117)._control.focused,"accent"==o["\u0275nov"](e,117).color,"warn"==o["\u0275nov"](e,117).color,o["\u0275nov"](e,117)._shouldForward("untouched"),o["\u0275nov"](e,117)._shouldForward("touched"),o["\u0275nov"](e,117)._shouldForward("pristine"),o["\u0275nov"](e,117)._shouldForward("dirty"),o["\u0275nov"](e,117)._shouldForward("valid"),o["\u0275nov"](e,117)._shouldForward("invalid"),o["\u0275nov"](e,117)._shouldForward("pending"),!o["\u0275nov"](e,117)._animationsEnabled]),n(e,125,1,[o["\u0275nov"](e,131).ngClassUntouched,o["\u0275nov"](e,131).ngClassTouched,o["\u0275nov"](e,131).ngClassPristine,o["\u0275nov"](e,131).ngClassDirty,o["\u0275nov"](e,131).ngClassValid,o["\u0275nov"](e,131).ngClassInvalid,o["\u0275nov"](e,131).ngClassPending,o["\u0275nov"](e,132)._isServer,o["\u0275nov"](e,132).id,o["\u0275nov"](e,132).placeholder,o["\u0275nov"](e,132).disabled,o["\u0275nov"](e,132).required,o["\u0275nov"](e,132).readonly&&!o["\u0275nov"](e,132)._isNativeSelect||null,o["\u0275nov"](e,132)._ariaDescribedby||null,o["\u0275nov"](e,132).errorState,o["\u0275nov"](e,132).required.toString()]),n(e,134,1,["standard"==o["\u0275nov"](e,135).appearance,"fill"==o["\u0275nov"](e,135).appearance,"outline"==o["\u0275nov"](e,135).appearance,"legacy"==o["\u0275nov"](e,135).appearance,o["\u0275nov"](e,135)._control.errorState,o["\u0275nov"](e,135)._canLabelFloat,o["\u0275nov"](e,135)._shouldLabelFloat(),o["\u0275nov"](e,135)._hasFloatingLabel(),o["\u0275nov"](e,135)._hideControlPlaceholder(),o["\u0275nov"](e,135)._control.disabled,o["\u0275nov"](e,135)._control.autofilled,o["\u0275nov"](e,135)._control.focused,"accent"==o["\u0275nov"](e,135).color,"warn"==o["\u0275nov"](e,135).color,o["\u0275nov"](e,135)._shouldForward("untouched"),o["\u0275nov"](e,135)._shouldForward("touched"),o["\u0275nov"](e,135)._shouldForward("pristine"),o["\u0275nov"](e,135)._shouldForward("dirty"),o["\u0275nov"](e,135)._shouldForward("valid"),o["\u0275nov"](e,135)._shouldForward("invalid"),o["\u0275nov"](e,135)._shouldForward("pending"),!o["\u0275nov"](e,135)._animationsEnabled]),n(e,143,1,[o["\u0275nov"](e,147).ngClassUntouched,o["\u0275nov"](e,147).ngClassTouched,o["\u0275nov"](e,147).ngClassPristine,o["\u0275nov"](e,147).ngClassDirty,o["\u0275nov"](e,147).ngClassValid,o["\u0275nov"](e,147).ngClassInvalid,o["\u0275nov"](e,147).ngClassPending,o["\u0275nov"](e,148).id,o["\u0275nov"](e,148).tabIndex,o["\u0275nov"](e,148)._getAriaLabel(),o["\u0275nov"](e,148)._getAriaLabelledby(),o["\u0275nov"](e,148).required.toString(),o["\u0275nov"](e,148).disabled.toString(),o["\u0275nov"](e,148).errorState,o["\u0275nov"](e,148).panelOpen?o["\u0275nov"](e,148)._optionIds:null,o["\u0275nov"](e,148).multiple,o["\u0275nov"](e,148)._ariaDescribedby||null,o["\u0275nov"](e,148)._getAriaActiveDescendant(),o["\u0275nov"](e,148).disabled,o["\u0275nov"](e,148).errorState,o["\u0275nov"](e,148).required,o["\u0275nov"](e,148).empty]),n(e,155,1,["standard"==o["\u0275nov"](e,156).appearance,"fill"==o["\u0275nov"](e,156).appearance,"outline"==o["\u0275nov"](e,156).appearance,"legacy"==o["\u0275nov"](e,156).appearance,o["\u0275nov"](e,156)._control.errorState,o["\u0275nov"](e,156)._canLabelFloat,o["\u0275nov"](e,156)._shouldLabelFloat(),o["\u0275nov"](e,156)._hasFloatingLabel(),o["\u0275nov"](e,156)._hideControlPlaceholder(),o["\u0275nov"](e,156)._control.disabled,o["\u0275nov"](e,156)._control.autofilled,o["\u0275nov"](e,156)._control.focused,"accent"==o["\u0275nov"](e,156).color,"warn"==o["\u0275nov"](e,156).color,o["\u0275nov"](e,156)._shouldForward("untouched"),o["\u0275nov"](e,156)._shouldForward("touched"),o["\u0275nov"](e,156)._shouldForward("pristine"),o["\u0275nov"](e,156)._shouldForward("dirty"),o["\u0275nov"](e,156)._shouldForward("valid"),o["\u0275nov"](e,156)._shouldForward("invalid"),o["\u0275nov"](e,156)._shouldForward("pending"),!o["\u0275nov"](e,156)._animationsEnabled]),n(e,164,1,[o["\u0275nov"](e,168).ngClassUntouched,o["\u0275nov"](e,168).ngClassTouched,o["\u0275nov"](e,168).ngClassPristine,o["\u0275nov"](e,168).ngClassDirty,o["\u0275nov"](e,168).ngClassValid,o["\u0275nov"](e,168).ngClassInvalid,o["\u0275nov"](e,168).ngClassPending,o["\u0275nov"](e,169).id,o["\u0275nov"](e,169).tabIndex,o["\u0275nov"](e,169)._getAriaLabel(),o["\u0275nov"](e,169)._getAriaLabelledby(),o["\u0275nov"](e,169).required.toString(),o["\u0275nov"](e,169).disabled.toString(),o["\u0275nov"](e,169).errorState,o["\u0275nov"](e,169).panelOpen?o["\u0275nov"](e,169)._optionIds:null,o["\u0275nov"](e,169).multiple,o["\u0275nov"](e,169)._ariaDescribedby||null,o["\u0275nov"](e,169)._getAriaActiveDescendant(),o["\u0275nov"](e,169).disabled,o["\u0275nov"](e,169).errorState,o["\u0275nov"](e,169).required,o["\u0275nov"](e,169).empty]),n(e,176,1,["standard"==o["\u0275nov"](e,177).appearance,"fill"==o["\u0275nov"](e,177).appearance,"outline"==o["\u0275nov"](e,177).appearance,"legacy"==o["\u0275nov"](e,177).appearance,o["\u0275nov"](e,177)._control.errorState,o["\u0275nov"](e,177)._canLabelFloat,o["\u0275nov"](e,177)._shouldLabelFloat(),o["\u0275nov"](e,177)._hasFloatingLabel(),o["\u0275nov"](e,177)._hideControlPlaceholder(),o["\u0275nov"](e,177)._control.disabled,o["\u0275nov"](e,177)._control.autofilled,o["\u0275nov"](e,177)._control.focused,"accent"==o["\u0275nov"](e,177).color,"warn"==o["\u0275nov"](e,177).color,o["\u0275nov"](e,177)._shouldForward("untouched"),o["\u0275nov"](e,177)._shouldForward("touched"),o["\u0275nov"](e,177)._shouldForward("pristine"),o["\u0275nov"](e,177)._shouldForward("dirty"),o["\u0275nov"](e,177)._shouldForward("valid"),o["\u0275nov"](e,177)._shouldForward("invalid"),o["\u0275nov"](e,177)._shouldForward("pending"),!o["\u0275nov"](e,177)._animationsEnabled]),n(e,185,1,[o["\u0275nov"](e,189).ngClassUntouched,o["\u0275nov"](e,189).ngClassTouched,o["\u0275nov"](e,189).ngClassPristine,o["\u0275nov"](e,189).ngClassDirty,o["\u0275nov"](e,189).ngClassValid,o["\u0275nov"](e,189).ngClassInvalid,o["\u0275nov"](e,189).ngClassPending,o["\u0275nov"](e,190).id,o["\u0275nov"](e,190).tabIndex,o["\u0275nov"](e,190)._getAriaLabel(),o["\u0275nov"](e,190)._getAriaLabelledby(),o["\u0275nov"](e,190).required.toString(),o["\u0275nov"](e,190).disabled.toString(),o["\u0275nov"](e,190).errorState,o["\u0275nov"](e,190).panelOpen?o["\u0275nov"](e,190)._optionIds:null,o["\u0275nov"](e,190).multiple,o["\u0275nov"](e,190)._ariaDescribedby||null,o["\u0275nov"](e,190)._getAriaActiveDescendant(),o["\u0275nov"](e,190).disabled,o["\u0275nov"](e,190).errorState,o["\u0275nov"](e,190).required,o["\u0275nov"](e,190).empty]),n(e,197,1,["standard"==o["\u0275nov"](e,198).appearance,"fill"==o["\u0275nov"](e,198).appearance,"outline"==o["\u0275nov"](e,198).appearance,"legacy"==o["\u0275nov"](e,198).appearance,o["\u0275nov"](e,198)._control.errorState,o["\u0275nov"](e,198)._canLabelFloat,o["\u0275nov"](e,198)._shouldLabelFloat(),o["\u0275nov"](e,198)._hasFloatingLabel(),o["\u0275nov"](e,198)._hideControlPlaceholder(),o["\u0275nov"](e,198)._control.disabled,o["\u0275nov"](e,198)._control.autofilled,o["\u0275nov"](e,198)._control.focused,"accent"==o["\u0275nov"](e,198).color,"warn"==o["\u0275nov"](e,198).color,o["\u0275nov"](e,198)._shouldForward("untouched"),o["\u0275nov"](e,198)._shouldForward("touched"),o["\u0275nov"](e,198)._shouldForward("pristine"),o["\u0275nov"](e,198)._shouldForward("dirty"),o["\u0275nov"](e,198)._shouldForward("valid"),o["\u0275nov"](e,198)._shouldForward("invalid"),o["\u0275nov"](e,198)._shouldForward("pending"),!o["\u0275nov"](e,198)._animationsEnabled]),n(e,206,1,[o["\u0275nov"](e,210).ngClassUntouched,o["\u0275nov"](e,210).ngClassTouched,o["\u0275nov"](e,210).ngClassPristine,o["\u0275nov"](e,210).ngClassDirty,o["\u0275nov"](e,210).ngClassValid,o["\u0275nov"](e,210).ngClassInvalid,o["\u0275nov"](e,210).ngClassPending,o["\u0275nov"](e,211).id,o["\u0275nov"](e,211).tabIndex,o["\u0275nov"](e,211)._getAriaLabel(),o["\u0275nov"](e,211)._getAriaLabelledby(),o["\u0275nov"](e,211).required.toString(),o["\u0275nov"](e,211).disabled.toString(),o["\u0275nov"](e,211).errorState,o["\u0275nov"](e,211).panelOpen?o["\u0275nov"](e,211)._optionIds:null,o["\u0275nov"](e,211).multiple,o["\u0275nov"](e,211)._ariaDescribedby||null,o["\u0275nov"](e,211)._getAriaActiveDescendant(),o["\u0275nov"](e,211).disabled,o["\u0275nov"](e,211).errorState,o["\u0275nov"](e,211).required,o["\u0275nov"](e,211).empty]),n(e,218,1,[o["\u0275nov"](e,219).id,null,o["\u0275nov"](e,219).indeterminate,o["\u0275nov"](e,219).checked,o["\u0275nov"](e,219).disabled,"before"==o["\u0275nov"](e,219).labelPosition,"NoopAnimations"===o["\u0275nov"](e,219)._animationMode,o["\u0275nov"](e,223).ngClassUntouched,o["\u0275nov"](e,223).ngClassTouched,o["\u0275nov"](e,223).ngClassPristine,o["\u0275nov"](e,223).ngClassDirty,o["\u0275nov"](e,223).ngClassValid,o["\u0275nov"](e,223).ngClassInvalid,o["\u0275nov"](e,223).ngClassPending]),n(e,225,0,o["\u0275nov"](e,226).expanded,"NoopAnimations"===o["\u0275nov"](e,226)._animationMode,o["\u0275nov"](e,226)._hasSpacing());var d=o["\u0275nov"](e,230).panel._headerId,c=o["\u0275nov"](e,230).disabled?-1:0,p=o["\u0275nov"](e,230)._getPanelId(),f=o["\u0275nov"](e,230)._isExpanded(),h=o["\u0275nov"](e,230).panel.disabled,m=o["\u0275nov"](e,230)._isExpanded(),v=n(e,232,0,o["\u0275nov"](e,230)._getExpandedState(),n(e,231,0,o["\u0275nov"](e,230).collapsedHeight,o["\u0275nov"](e,230).expandedHeight));n(e,229,0,d,c,p,f,h,m,v),n(e,245,1,["standard"==o["\u0275nov"](e,246).appearance,"fill"==o["\u0275nov"](e,246).appearance,"outline"==o["\u0275nov"](e,246).appearance,"legacy"==o["\u0275nov"](e,246).appearance,o["\u0275nov"](e,246)._control.errorState,o["\u0275nov"](e,246)._canLabelFloat,o["\u0275nov"](e,246)._shouldLabelFloat(),o["\u0275nov"](e,246)._hasFloatingLabel(),o["\u0275nov"](e,246)._hideControlPlaceholder(),o["\u0275nov"](e,246)._control.disabled,o["\u0275nov"](e,246)._control.autofilled,o["\u0275nov"](e,246)._control.focused,"accent"==o["\u0275nov"](e,246).color,"warn"==o["\u0275nov"](e,246).color,o["\u0275nov"](e,246)._shouldForward("untouched"),o["\u0275nov"](e,246)._shouldForward("touched"),o["\u0275nov"](e,246)._shouldForward("pristine"),o["\u0275nov"](e,246)._shouldForward("dirty"),o["\u0275nov"](e,246)._shouldForward("valid"),o["\u0275nov"](e,246)._shouldForward("invalid"),o["\u0275nov"](e,246)._shouldForward("pending"),!o["\u0275nov"](e,246)._animationsEnabled]),n(e,254,1,[o["\u0275nov"](e,259).ngClassUntouched,o["\u0275nov"](e,259).ngClassTouched,o["\u0275nov"](e,259).ngClassPristine,o["\u0275nov"](e,259).ngClassDirty,o["\u0275nov"](e,259).ngClassValid,o["\u0275nov"](e,259).ngClassInvalid,o["\u0275nov"](e,259).ngClassPending,o["\u0275nov"](e,260)._isServer,o["\u0275nov"](e,260).id,o["\u0275nov"](e,260).placeholder,o["\u0275nov"](e,260).disabled,o["\u0275nov"](e,260).required,o["\u0275nov"](e,260).readonly&&!o["\u0275nov"](e,260)._isNativeSelect||null,o["\u0275nov"](e,260)._ariaDescribedby||null,o["\u0275nov"](e,260).errorState,o["\u0275nov"](e,260).required.toString()]),n(e,262,1,["standard"==o["\u0275nov"](e,263).appearance,"fill"==o["\u0275nov"](e,263).appearance,"outline"==o["\u0275nov"](e,263).appearance,"legacy"==o["\u0275nov"](e,263).appearance,o["\u0275nov"](e,263)._control.errorState,o["\u0275nov"](e,263)._canLabelFloat,o["\u0275nov"](e,263)._shouldLabelFloat(),o["\u0275nov"](e,263)._hasFloatingLabel(),o["\u0275nov"](e,263)._hideControlPlaceholder(),o["\u0275nov"](e,263)._control.disabled,o["\u0275nov"](e,263)._control.autofilled,o["\u0275nov"](e,263)._control.focused,"accent"==o["\u0275nov"](e,263).color,"warn"==o["\u0275nov"](e,263).color,o["\u0275nov"](e,263)._shouldForward("untouched"),o["\u0275nov"](e,263)._shouldForward("touched"),o["\u0275nov"](e,263)._shouldForward("pristine"),o["\u0275nov"](e,263)._shouldForward("dirty"),o["\u0275nov"](e,263)._shouldForward("valid"),o["\u0275nov"](e,263)._shouldForward("invalid"),o["\u0275nov"](e,263)._shouldForward("pending"),!o["\u0275nov"](e,263)._animationsEnabled]),n(e,271,1,[o["\u0275nov"](e,275).ngClassUntouched,o["\u0275nov"](e,275).ngClassTouched,o["\u0275nov"](e,275).ngClassPristine,o["\u0275nov"](e,275).ngClassDirty,o["\u0275nov"](e,275).ngClassValid,o["\u0275nov"](e,275).ngClassInvalid,o["\u0275nov"](e,275).ngClassPending,o["\u0275nov"](e,276).id,o["\u0275nov"](e,276).tabIndex,o["\u0275nov"](e,276)._getAriaLabel(),o["\u0275nov"](e,276)._getAriaLabelledby(),o["\u0275nov"](e,276).required.toString(),o["\u0275nov"](e,276).disabled.toString(),o["\u0275nov"](e,276).errorState,o["\u0275nov"](e,276).panelOpen?o["\u0275nov"](e,276)._optionIds:null,o["\u0275nov"](e,276).multiple,o["\u0275nov"](e,276)._ariaDescribedby||null,o["\u0275nov"](e,276)._getAriaActiveDescendant(),o["\u0275nov"](e,276).disabled,o["\u0275nov"](e,276).errorState,o["\u0275nov"](e,276).required,o["\u0275nov"](e,276).empty]),n(e,292,1,["standard"==o["\u0275nov"](e,293).appearance,"fill"==o["\u0275nov"](e,293).appearance,"outline"==o["\u0275nov"](e,293).appearance,"legacy"==o["\u0275nov"](e,293).appearance,o["\u0275nov"](e,293)._control.errorState,o["\u0275nov"](e,293)._canLabelFloat,o["\u0275nov"](e,293)._shouldLabelFloat(),o["\u0275nov"](e,293)._hasFloatingLabel(),o["\u0275nov"](e,293)._hideControlPlaceholder(),o["\u0275nov"](e,293)._control.disabled,o["\u0275nov"](e,293)._control.autofilled,o["\u0275nov"](e,293)._control.focused,"accent"==o["\u0275nov"](e,293).color,"warn"==o["\u0275nov"](e,293).color,o["\u0275nov"](e,293)._shouldForward("untouched"),o["\u0275nov"](e,293)._shouldForward("touched"),o["\u0275nov"](e,293)._shouldForward("pristine"),o["\u0275nov"](e,293)._shouldForward("dirty"),o["\u0275nov"](e,293)._shouldForward("valid"),o["\u0275nov"](e,293)._shouldForward("invalid"),o["\u0275nov"](e,293)._shouldForward("pending"),!o["\u0275nov"](e,293)._animationsEnabled]),n(e,301,1,[o["\u0275nov"](e,306).ngClassUntouched,o["\u0275nov"](e,306).ngClassTouched,o["\u0275nov"](e,306).ngClassPristine,o["\u0275nov"](e,306).ngClassDirty,o["\u0275nov"](e,306).ngClassValid,o["\u0275nov"](e,306).ngClassInvalid,o["\u0275nov"](e,306).ngClassPending,o["\u0275nov"](e,307)._isServer,o["\u0275nov"](e,307).id,o["\u0275nov"](e,307).placeholder,o["\u0275nov"](e,307).disabled,o["\u0275nov"](e,307).required,o["\u0275nov"](e,307).readonly&&!o["\u0275nov"](e,307)._isNativeSelect||null,o["\u0275nov"](e,307)._ariaDescribedby||null,o["\u0275nov"](e,307).errorState,o["\u0275nov"](e,307).required.toString()]),n(e,309,1,["standard"==o["\u0275nov"](e,310).appearance,"fill"==o["\u0275nov"](e,310).appearance,"outline"==o["\u0275nov"](e,310).appearance,"legacy"==o["\u0275nov"](e,310).appearance,o["\u0275nov"](e,310)._control.errorState,o["\u0275nov"](e,310)._canLabelFloat,o["\u0275nov"](e,310)._shouldLabelFloat(),o["\u0275nov"](e,310)._hasFloatingLabel(),o["\u0275nov"](e,310)._hideControlPlaceholder(),o["\u0275nov"](e,310)._control.disabled,o["\u0275nov"](e,310)._control.autofilled,o["\u0275nov"](e,310)._control.focused,"accent"==o["\u0275nov"](e,310).color,"warn"==o["\u0275nov"](e,310).color,o["\u0275nov"](e,310)._shouldForward("untouched"),o["\u0275nov"](e,310)._shouldForward("touched"),o["\u0275nov"](e,310)._shouldForward("pristine"),o["\u0275nov"](e,310)._shouldForward("dirty"),o["\u0275nov"](e,310)._shouldForward("valid"),o["\u0275nov"](e,310)._shouldForward("invalid"),o["\u0275nov"](e,310)._shouldForward("pending"),!o["\u0275nov"](e,310)._animationsEnabled]),n(e,318,1,[o["\u0275nov"](e,322).ngClassUntouched,o["\u0275nov"](e,322).ngClassTouched,o["\u0275nov"](e,322).ngClassPristine,o["\u0275nov"](e,322).ngClassDirty,o["\u0275nov"](e,322).ngClassValid,o["\u0275nov"](e,322).ngClassInvalid,o["\u0275nov"](e,322).ngClassPending,o["\u0275nov"](e,323).id,o["\u0275nov"](e,323).tabIndex,o["\u0275nov"](e,323)._getAriaLabel(),o["\u0275nov"](e,323)._getAriaLabelledby(),o["\u0275nov"](e,323).required.toString(),o["\u0275nov"](e,323).disabled.toString(),o["\u0275nov"](e,323).errorState,o["\u0275nov"](e,323).panelOpen?o["\u0275nov"](e,323)._optionIds:null,o["\u0275nov"](e,323).multiple,o["\u0275nov"](e,323)._ariaDescribedby||null,o["\u0275nov"](e,323)._getAriaActiveDescendant(),o["\u0275nov"](e,323).disabled,o["\u0275nov"](e,323).errorState,o["\u0275nov"](e,323).required,o["\u0275nov"](e,323).empty]),n(e,339,1,["standard"==o["\u0275nov"](e,340).appearance,"fill"==o["\u0275nov"](e,340).appearance,"outline"==o["\u0275nov"](e,340).appearance,"legacy"==o["\u0275nov"](e,340).appearance,o["\u0275nov"](e,340)._control.errorState,o["\u0275nov"](e,340)._canLabelFloat,o["\u0275nov"](e,340)._shouldLabelFloat(),o["\u0275nov"](e,340)._hasFloatingLabel(),o["\u0275nov"](e,340)._hideControlPlaceholder(),o["\u0275nov"](e,340)._control.disabled,o["\u0275nov"](e,340)._control.autofilled,o["\u0275nov"](e,340)._control.focused,"accent"==o["\u0275nov"](e,340).color,"warn"==o["\u0275nov"](e,340).color,o["\u0275nov"](e,340)._shouldForward("untouched"),o["\u0275nov"](e,340)._shouldForward("touched"),o["\u0275nov"](e,340)._shouldForward("pristine"),o["\u0275nov"](e,340)._shouldForward("dirty"),o["\u0275nov"](e,340)._shouldForward("valid"),o["\u0275nov"](e,340)._shouldForward("invalid"),o["\u0275nov"](e,340)._shouldForward("pending"),!o["\u0275nov"](e,340)._animationsEnabled]),n(e,348,1,[o["\u0275nov"](e,353).ngClassUntouched,o["\u0275nov"](e,353).ngClassTouched,o["\u0275nov"](e,353).ngClassPristine,o["\u0275nov"](e,353).ngClassDirty,o["\u0275nov"](e,353).ngClassValid,o["\u0275nov"](e,353).ngClassInvalid,o["\u0275nov"](e,353).ngClassPending,o["\u0275nov"](e,354)._isServer,o["\u0275nov"](e,354).id,o["\u0275nov"](e,354).placeholder,o["\u0275nov"](e,354).disabled,o["\u0275nov"](e,354).required,o["\u0275nov"](e,354).readonly&&!o["\u0275nov"](e,354)._isNativeSelect||null,o["\u0275nov"](e,354)._ariaDescribedby||null,o["\u0275nov"](e,354).errorState,o["\u0275nov"](e,354).required.toString()]),n(e,356,1,["standard"==o["\u0275nov"](e,357).appearance,"fill"==o["\u0275nov"](e,357).appearance,"outline"==o["\u0275nov"](e,357).appearance,"legacy"==o["\u0275nov"](e,357).appearance,o["\u0275nov"](e,357)._control.errorState,o["\u0275nov"](e,357)._canLabelFloat,o["\u0275nov"](e,357)._shouldLabelFloat(),o["\u0275nov"](e,357)._hasFloatingLabel(),o["\u0275nov"](e,357)._hideControlPlaceholder(),o["\u0275nov"](e,357)._control.disabled,o["\u0275nov"](e,357)._control.autofilled,o["\u0275nov"](e,357)._control.focused,"accent"==o["\u0275nov"](e,357).color,"warn"==o["\u0275nov"](e,357).color,o["\u0275nov"](e,357)._shouldForward("untouched"),o["\u0275nov"](e,357)._shouldForward("touched"),o["\u0275nov"](e,357)._shouldForward("pristine"),o["\u0275nov"](e,357)._shouldForward("dirty"),o["\u0275nov"](e,357)._shouldForward("valid"),o["\u0275nov"](e,357)._shouldForward("invalid"),o["\u0275nov"](e,357)._shouldForward("pending"),!o["\u0275nov"](e,357)._animationsEnabled]),n(e,365,1,[o["\u0275nov"](e,369).ngClassUntouched,o["\u0275nov"](e,369).ngClassTouched,o["\u0275nov"](e,369).ngClassPristine,o["\u0275nov"](e,369).ngClassDirty,o["\u0275nov"](e,369).ngClassValid,o["\u0275nov"](e,369).ngClassInvalid,o["\u0275nov"](e,369).ngClassPending,o["\u0275nov"](e,370).id,o["\u0275nov"](e,370).tabIndex,o["\u0275nov"](e,370)._getAriaLabel(),o["\u0275nov"](e,370)._getAriaLabelledby(),o["\u0275nov"](e,370).required.toString(),o["\u0275nov"](e,370).disabled.toString(),o["\u0275nov"](e,370).errorState,o["\u0275nov"](e,370).panelOpen?o["\u0275nov"](e,370)._optionIds:null,o["\u0275nov"](e,370).multiple,o["\u0275nov"](e,370)._ariaDescribedby||null,o["\u0275nov"](e,370)._getAriaActiveDescendant(),o["\u0275nov"](e,370).disabled,o["\u0275nov"](e,370).errorState,o["\u0275nov"](e,370).required,o["\u0275nov"](e,370).empty]),n(e,386,1,["standard"==o["\u0275nov"](e,387).appearance,"fill"==o["\u0275nov"](e,387).appearance,"outline"==o["\u0275nov"](e,387).appearance,"legacy"==o["\u0275nov"](e,387).appearance,o["\u0275nov"](e,387)._control.errorState,o["\u0275nov"](e,387)._canLabelFloat,o["\u0275nov"](e,387)._shouldLabelFloat(),o["\u0275nov"](e,387)._hasFloatingLabel(),o["\u0275nov"](e,387)._hideControlPlaceholder(),o["\u0275nov"](e,387)._control.disabled,o["\u0275nov"](e,387)._control.autofilled,o["\u0275nov"](e,387)._control.focused,"accent"==o["\u0275nov"](e,387).color,"warn"==o["\u0275nov"](e,387).color,o["\u0275nov"](e,387)._shouldForward("untouched"),o["\u0275nov"](e,387)._shouldForward("touched"),o["\u0275nov"](e,387)._shouldForward("pristine"),o["\u0275nov"](e,387)._shouldForward("dirty"),o["\u0275nov"](e,387)._shouldForward("valid"),o["\u0275nov"](e,387)._shouldForward("invalid"),o["\u0275nov"](e,387)._shouldForward("pending"),!o["\u0275nov"](e,387)._animationsEnabled]),n(e,395,1,[o["\u0275nov"](e,400).ngClassUntouched,o["\u0275nov"](e,400).ngClassTouched,o["\u0275nov"](e,400).ngClassPristine,o["\u0275nov"](e,400).ngClassDirty,o["\u0275nov"](e,400).ngClassValid,o["\u0275nov"](e,400).ngClassInvalid,o["\u0275nov"](e,400).ngClassPending,o["\u0275nov"](e,401)._isServer,o["\u0275nov"](e,401).id,o["\u0275nov"](e,401).placeholder,o["\u0275nov"](e,401).disabled,o["\u0275nov"](e,401).required,o["\u0275nov"](e,401).readonly&&!o["\u0275nov"](e,401)._isNativeSelect||null,o["\u0275nov"](e,401)._ariaDescribedby||null,o["\u0275nov"](e,401).errorState,o["\u0275nov"](e,401).required.toString()]),n(e,403,1,["standard"==o["\u0275nov"](e,404).appearance,"fill"==o["\u0275nov"](e,404).appearance,"outline"==o["\u0275nov"](e,404).appearance,"legacy"==o["\u0275nov"](e,404).appearance,o["\u0275nov"](e,404)._control.errorState,o["\u0275nov"](e,404)._canLabelFloat,o["\u0275nov"](e,404)._shouldLabelFloat(),o["\u0275nov"](e,404)._hasFloatingLabel(),o["\u0275nov"](e,404)._hideControlPlaceholder(),o["\u0275nov"](e,404)._control.disabled,o["\u0275nov"](e,404)._control.autofilled,o["\u0275nov"](e,404)._control.focused,"accent"==o["\u0275nov"](e,404).color,"warn"==o["\u0275nov"](e,404).color,o["\u0275nov"](e,404)._shouldForward("untouched"),o["\u0275nov"](e,404)._shouldForward("touched"),o["\u0275nov"](e,404)._shouldForward("pristine"),o["\u0275nov"](e,404)._shouldForward("dirty"),o["\u0275nov"](e,404)._shouldForward("valid"),o["\u0275nov"](e,404)._shouldForward("invalid"),o["\u0275nov"](e,404)._shouldForward("pending"),!o["\u0275nov"](e,404)._animationsEnabled]),n(e,412,1,[o["\u0275nov"](e,416).ngClassUntouched,o["\u0275nov"](e,416).ngClassTouched,o["\u0275nov"](e,416).ngClassPristine,o["\u0275nov"](e,416).ngClassDirty,o["\u0275nov"](e,416).ngClassValid,o["\u0275nov"](e,416).ngClassInvalid,o["\u0275nov"](e,416).ngClassPending,o["\u0275nov"](e,417).id,o["\u0275nov"](e,417).tabIndex,o["\u0275nov"](e,417)._getAriaLabel(),o["\u0275nov"](e,417)._getAriaLabelledby(),o["\u0275nov"](e,417).required.toString(),o["\u0275nov"](e,417).disabled.toString(),o["\u0275nov"](e,417).errorState,o["\u0275nov"](e,417).panelOpen?o["\u0275nov"](e,417)._optionIds:null,o["\u0275nov"](e,417).multiple,o["\u0275nov"](e,417)._ariaDescribedby||null,o["\u0275nov"](e,417)._getAriaActiveDescendant(),o["\u0275nov"](e,417).disabled,o["\u0275nov"](e,417).errorState,o["\u0275nov"](e,417).required,o["\u0275nov"](e,417).empty]),n(e,424,0,o["\u0275nov"](e,425).expanded,"NoopAnimations"===o["\u0275nov"](e,425)._animationMode,o["\u0275nov"](e,425)._hasSpacing());var g=o["\u0275nov"](e,429).panel._headerId,b=o["\u0275nov"](e,429).disabled?-1:0,y=o["\u0275nov"](e,429)._getPanelId(),_=o["\u0275nov"](e,429)._isExpanded(),w=o["\u0275nov"](e,429).panel.disabled,C=o["\u0275nov"](e,429)._isExpanded(),x=n(e,431,0,o["\u0275nov"](e,429)._getExpandedState(),n(e,430,0,o["\u0275nov"](e,429).collapsedHeight,o["\u0275nov"](e,429).expandedHeight));n(e,428,0,g,b,y,_,w,C,x),n(e,436,0,o["\u0275nov"](e,437).disabled||null,"NoopAnimations"===o["\u0275nov"](e,437)._animationMode),n(e,440,1,["standard"==o["\u0275nov"](e,441).appearance,"fill"==o["\u0275nov"](e,441).appearance,"outline"==o["\u0275nov"](e,441).appearance,"legacy"==o["\u0275nov"](e,441).appearance,o["\u0275nov"](e,441)._control.errorState,o["\u0275nov"](e,441)._canLabelFloat,o["\u0275nov"](e,441)._shouldLabelFloat(),o["\u0275nov"](e,441)._hasFloatingLabel(),o["\u0275nov"](e,441)._hideControlPlaceholder(),o["\u0275nov"](e,441)._control.disabled,o["\u0275nov"](e,441)._control.autofilled,o["\u0275nov"](e,441)._control.focused,"accent"==o["\u0275nov"](e,441).color,"warn"==o["\u0275nov"](e,441).color,o["\u0275nov"](e,441)._shouldForward("untouched"),o["\u0275nov"](e,441)._shouldForward("touched"),o["\u0275nov"](e,441)._shouldForward("pristine"),o["\u0275nov"](e,441)._shouldForward("dirty"),o["\u0275nov"](e,441)._shouldForward("valid"),o["\u0275nov"](e,441)._shouldForward("invalid"),o["\u0275nov"](e,441)._shouldForward("pending"),!o["\u0275nov"](e,441)._animationsEnabled]),n(e,449,1,[o["\u0275nov"](e,454).ngClassUntouched,o["\u0275nov"](e,454).ngClassTouched,o["\u0275nov"](e,454).ngClassPristine,o["\u0275nov"](e,454).ngClassDirty,o["\u0275nov"](e,454).ngClassValid,o["\u0275nov"](e,454).ngClassInvalid,o["\u0275nov"](e,454).ngClassPending,o["\u0275nov"](e,455)._isServer,o["\u0275nov"](e,455).id,o["\u0275nov"](e,455).placeholder,o["\u0275nov"](e,455).disabled,o["\u0275nov"](e,455).required,o["\u0275nov"](e,455).readonly&&!o["\u0275nov"](e,455)._isNativeSelect||null,o["\u0275nov"](e,455)._ariaDescribedby||null,o["\u0275nov"](e,455).errorState,o["\u0275nov"](e,455).required.toString()]),n(e,457,0,o["\u0275nov"](e,458).expanded,"NoopAnimations"===o["\u0275nov"](e,458)._animationMode,o["\u0275nov"](e,458)._hasSpacing());var S=o["\u0275nov"](e,462).panel._headerId,k=o["\u0275nov"](e,462).disabled?-1:0,E=o["\u0275nov"](e,462)._getPanelId(),T=o["\u0275nov"](e,462)._isExpanded(),R=o["\u0275nov"](e,462).panel.disabled,I=o["\u0275nov"](e,462)._isExpanded(),O=n(e,464,0,o["\u0275nov"](e,462)._getExpandedState(),n(e,463,0,o["\u0275nov"](e,462).collapsedHeight,o["\u0275nov"](e,462).expandedHeight));n(e,461,0,S,k,E,T,R,I,O),n(e,468,1,["standard"==o["\u0275nov"](e,469).appearance,"fill"==o["\u0275nov"](e,469).appearance,"outline"==o["\u0275nov"](e,469).appearance,"legacy"==o["\u0275nov"](e,469).appearance,o["\u0275nov"](e,469)._control.errorState,o["\u0275nov"](e,469)._canLabelFloat,o["\u0275nov"](e,469)._shouldLabelFloat(),o["\u0275nov"](e,469)._hasFloatingLabel(),o["\u0275nov"](e,469)._hideControlPlaceholder(),o["\u0275nov"](e,469)._control.disabled,o["\u0275nov"](e,469)._control.autofilled,o["\u0275nov"](e,469)._control.focused,"accent"==o["\u0275nov"](e,469).color,"warn"==o["\u0275nov"](e,469).color,o["\u0275nov"](e,469)._shouldForward("untouched"),o["\u0275nov"](e,469)._shouldForward("touched"),o["\u0275nov"](e,469)._shouldForward("pristine"),o["\u0275nov"](e,469)._shouldForward("dirty"),o["\u0275nov"](e,469)._shouldForward("valid"),o["\u0275nov"](e,469)._shouldForward("invalid"),o["\u0275nov"](e,469)._shouldForward("pending"),!o["\u0275nov"](e,469)._animationsEnabled]),n(e,477,1,[o["\u0275nov"](e,483).ngClassUntouched,o["\u0275nov"](e,483).ngClassTouched,o["\u0275nov"](e,483).ngClassPristine,o["\u0275nov"](e,483).ngClassDirty,o["\u0275nov"](e,483).ngClassValid,o["\u0275nov"](e,483).ngClassInvalid,o["\u0275nov"](e,483).ngClassPending,o["\u0275nov"](e,484)._isServer,o["\u0275nov"](e,484).id,o["\u0275nov"](e,484).placeholder,o["\u0275nov"](e,484).disabled,o["\u0275nov"](e,484).required,o["\u0275nov"](e,484).readonly&&!o["\u0275nov"](e,484)._isNativeSelect||null,o["\u0275nov"](e,484)._ariaDescribedby||null,o["\u0275nov"](e,484).errorState,o["\u0275nov"](e,484).required.toString()]),n(e,486,1,["standard"==o["\u0275nov"](e,487).appearance,"fill"==o["\u0275nov"](e,487).appearance,"outline"==o["\u0275nov"](e,487).appearance,"legacy"==o["\u0275nov"](e,487).appearance,o["\u0275nov"](e,487)._control.errorState,o["\u0275nov"](e,487)._canLabelFloat,o["\u0275nov"](e,487)._shouldLabelFloat(),o["\u0275nov"](e,487)._hasFloatingLabel(),o["\u0275nov"](e,487)._hideControlPlaceholder(),o["\u0275nov"](e,487)._control.disabled,o["\u0275nov"](e,487)._control.autofilled,o["\u0275nov"](e,487)._control.focused,"accent"==o["\u0275nov"](e,487).color,"warn"==o["\u0275nov"](e,487).color,o["\u0275nov"](e,487)._shouldForward("untouched"),o["\u0275nov"](e,487)._shouldForward("touched"),o["\u0275nov"](e,487)._shouldForward("pristine"),o["\u0275nov"](e,487)._shouldForward("dirty"),o["\u0275nov"](e,487)._shouldForward("valid"),o["\u0275nov"](e,487)._shouldForward("invalid"),o["\u0275nov"](e,487)._shouldForward("pending"),!o["\u0275nov"](e,487)._animationsEnabled]),n(e,495,1,[o["\u0275nov"](e,500).ngClassUntouched,o["\u0275nov"](e,500).ngClassTouched,o["\u0275nov"](e,500).ngClassPristine,o["\u0275nov"](e,500).ngClassDirty,o["\u0275nov"](e,500).ngClassValid,o["\u0275nov"](e,500).ngClassInvalid,o["\u0275nov"](e,500).ngClassPending,o["\u0275nov"](e,501)._isServer,o["\u0275nov"](e,501).id,o["\u0275nov"](e,501).placeholder,o["\u0275nov"](e,501).disabled,o["\u0275nov"](e,501).required,o["\u0275nov"](e,501).readonly&&!o["\u0275nov"](e,501)._isNativeSelect||null,o["\u0275nov"](e,501)._ariaDescribedby||null,o["\u0275nov"](e,501).errorState,o["\u0275nov"](e,501).required.toString()]),n(e,503,1,["standard"==o["\u0275nov"](e,504).appearance,"fill"==o["\u0275nov"](e,504).appearance,"outline"==o["\u0275nov"](e,504).appearance,"legacy"==o["\u0275nov"](e,504).appearance,o["\u0275nov"](e,504)._control.errorState,o["\u0275nov"](e,504)._canLabelFloat,o["\u0275nov"](e,504)._shouldLabelFloat(),o["\u0275nov"](e,504)._hasFloatingLabel(),o["\u0275nov"](e,504)._hideControlPlaceholder(),o["\u0275nov"](e,504)._control.disabled,o["\u0275nov"](e,504)._control.autofilled,o["\u0275nov"](e,504)._control.focused,"accent"==o["\u0275nov"](e,504).color,"warn"==o["\u0275nov"](e,504).color,o["\u0275nov"](e,504)._shouldForward("untouched"),o["\u0275nov"](e,504)._shouldForward("touched"),o["\u0275nov"](e,504)._shouldForward("pristine"),o["\u0275nov"](e,504)._shouldForward("dirty"),o["\u0275nov"](e,504)._shouldForward("valid"),o["\u0275nov"](e,504)._shouldForward("invalid"),o["\u0275nov"](e,504)._shouldForward("pending"),!o["\u0275nov"](e,504)._animationsEnabled]),n(e,512,1,[o["\u0275nov"](e,517).ngClassUntouched,o["\u0275nov"](e,517).ngClassTouched,o["\u0275nov"](e,517).ngClassPristine,o["\u0275nov"](e,517).ngClassDirty,o["\u0275nov"](e,517).ngClassValid,o["\u0275nov"](e,517).ngClassInvalid,o["\u0275nov"](e,517).ngClassPending,o["\u0275nov"](e,518)._isServer,o["\u0275nov"](e,518).id,o["\u0275nov"](e,518).placeholder,o["\u0275nov"](e,518).disabled,o["\u0275nov"](e,518).required,o["\u0275nov"](e,518).readonly&&!o["\u0275nov"](e,518)._isNativeSelect||null,o["\u0275nov"](e,518)._ariaDescribedby||null,o["\u0275nov"](e,518).errorState,o["\u0275nov"](e,518).required.toString()]),n(e,520,1,["standard"==o["\u0275nov"](e,521).appearance,"fill"==o["\u0275nov"](e,521).appearance,"outline"==o["\u0275nov"](e,521).appearance,"legacy"==o["\u0275nov"](e,521).appearance,o["\u0275nov"](e,521)._control.errorState,o["\u0275nov"](e,521)._canLabelFloat,o["\u0275nov"](e,521)._shouldLabelFloat(),o["\u0275nov"](e,521)._hasFloatingLabel(),o["\u0275nov"](e,521)._hideControlPlaceholder(),o["\u0275nov"](e,521)._control.disabled,o["\u0275nov"](e,521)._control.autofilled,o["\u0275nov"](e,521)._control.focused,"accent"==o["\u0275nov"](e,521).color,"warn"==o["\u0275nov"](e,521).color,o["\u0275nov"](e,521)._shouldForward("untouched"),o["\u0275nov"](e,521)._shouldForward("touched"),o["\u0275nov"](e,521)._shouldForward("pristine"),o["\u0275nov"](e,521)._shouldForward("dirty"),o["\u0275nov"](e,521)._shouldForward("valid"),o["\u0275nov"](e,521)._shouldForward("invalid"),o["\u0275nov"](e,521)._shouldForward("pending"),!o["\u0275nov"](e,521)._animationsEnabled]),n(e,529,1,[o["\u0275nov"](e,535).ngClassUntouched,o["\u0275nov"](e,535).ngClassTouched,o["\u0275nov"](e,535).ngClassPristine,o["\u0275nov"](e,535).ngClassDirty,o["\u0275nov"](e,535).ngClassValid,o["\u0275nov"](e,535).ngClassInvalid,o["\u0275nov"](e,535).ngClassPending,o["\u0275nov"](e,536)._isServer,o["\u0275nov"](e,536).id,o["\u0275nov"](e,536).placeholder,o["\u0275nov"](e,536).disabled,o["\u0275nov"](e,536).required,o["\u0275nov"](e,536).readonly&&!o["\u0275nov"](e,536)._isNativeSelect||null,o["\u0275nov"](e,536)._ariaDescribedby||null,o["\u0275nov"](e,536).errorState,o["\u0275nov"](e,536).required.toString()]),n(e,538,1,["standard"==o["\u0275nov"](e,539).appearance,"fill"==o["\u0275nov"](e,539).appearance,"outline"==o["\u0275nov"](e,539).appearance,"legacy"==o["\u0275nov"](e,539).appearance,o["\u0275nov"](e,539)._control.errorState,o["\u0275nov"](e,539)._canLabelFloat,o["\u0275nov"](e,539)._shouldLabelFloat(),o["\u0275nov"](e,539)._hasFloatingLabel(),o["\u0275nov"](e,539)._hideControlPlaceholder(),o["\u0275nov"](e,539)._control.disabled,o["\u0275nov"](e,539)._control.autofilled,o["\u0275nov"](e,539)._control.focused,"accent"==o["\u0275nov"](e,539).color,"warn"==o["\u0275nov"](e,539).color,o["\u0275nov"](e,539)._shouldForward("untouched"),o["\u0275nov"](e,539)._shouldForward("touched"),o["\u0275nov"](e,539)._shouldForward("pristine"),o["\u0275nov"](e,539)._shouldForward("dirty"),o["\u0275nov"](e,539)._shouldForward("valid"),o["\u0275nov"](e,539)._shouldForward("invalid"),o["\u0275nov"](e,539)._shouldForward("pending"),!o["\u0275nov"](e,539)._animationsEnabled]),n(e,547,1,[o["\u0275nov"](e,552).ngClassUntouched,o["\u0275nov"](e,552).ngClassTouched,o["\u0275nov"](e,552).ngClassPristine,o["\u0275nov"](e,552).ngClassDirty,o["\u0275nov"](e,552).ngClassValid,o["\u0275nov"](e,552).ngClassInvalid,o["\u0275nov"](e,552).ngClassPending,o["\u0275nov"](e,553)._isServer,o["\u0275nov"](e,553).id,o["\u0275nov"](e,553).placeholder,o["\u0275nov"](e,553).disabled,o["\u0275nov"](e,553).required,o["\u0275nov"](e,553).readonly&&!o["\u0275nov"](e,553)._isNativeSelect||null,o["\u0275nov"](e,553)._ariaDescribedby||null,o["\u0275nov"](e,553).errorState,o["\u0275nov"](e,553).required.toString()]),n(e,555,1,["standard"==o["\u0275nov"](e,556).appearance,"fill"==o["\u0275nov"](e,556).appearance,"outline"==o["\u0275nov"](e,556).appearance,"legacy"==o["\u0275nov"](e,556).appearance,o["\u0275nov"](e,556)._control.errorState,o["\u0275nov"](e,556)._canLabelFloat,o["\u0275nov"](e,556)._shouldLabelFloat(),o["\u0275nov"](e,556)._hasFloatingLabel(),o["\u0275nov"](e,556)._hideControlPlaceholder(),o["\u0275nov"](e,556)._control.disabled,o["\u0275nov"](e,556)._control.autofilled,o["\u0275nov"](e,556)._control.focused,"accent"==o["\u0275nov"](e,556).color,"warn"==o["\u0275nov"](e,556).color,o["\u0275nov"](e,556)._shouldForward("untouched"),o["\u0275nov"](e,556)._shouldForward("touched"),o["\u0275nov"](e,556)._shouldForward("pristine"),o["\u0275nov"](e,556)._shouldForward("dirty"),o["\u0275nov"](e,556)._shouldForward("valid"),o["\u0275nov"](e,556)._shouldForward("invalid"),o["\u0275nov"](e,556)._shouldForward("pending"),!o["\u0275nov"](e,556)._animationsEnabled]),n(e,564,1,[o["\u0275nov"](e,568).ngClassUntouched,o["\u0275nov"](e,568).ngClassTouched,o["\u0275nov"](e,568).ngClassPristine,o["\u0275nov"](e,568).ngClassDirty,o["\u0275nov"](e,568).ngClassValid,o["\u0275nov"](e,568).ngClassInvalid,o["\u0275nov"](e,568).ngClassPending,o["\u0275nov"](e,569).id,o["\u0275nov"](e,569).tabIndex,o["\u0275nov"](e,569)._getAriaLabel(),o["\u0275nov"](e,569)._getAriaLabelledby(),o["\u0275nov"](e,569).required.toString(),o["\u0275nov"](e,569).disabled.toString(),o["\u0275nov"](e,569).errorState,o["\u0275nov"](e,569).panelOpen?o["\u0275nov"](e,569)._optionIds:null,o["\u0275nov"](e,569).multiple,o["\u0275nov"](e,569)._ariaDescribedby||null,o["\u0275nov"](e,569)._getAriaActiveDescendant(),o["\u0275nov"](e,569).disabled,o["\u0275nov"](e,569).errorState,o["\u0275nov"](e,569).required,o["\u0275nov"](e,569).empty]),n(e,576,0,o["\u0275nov"](e,577).disabled||null,"NoopAnimations"===o["\u0275nov"](e,577)._animationMode),n(e,580,1,[o["\u0275nov"](e,581).id,null,o["\u0275nov"](e,581).indeterminate,o["\u0275nov"](e,581).checked,o["\u0275nov"](e,581).disabled,"before"==o["\u0275nov"](e,581).labelPosition,"NoopAnimations"===o["\u0275nov"](e,581)._animationMode,o["\u0275nov"](e,585).ngClassUntouched,o["\u0275nov"](e,585).ngClassTouched,o["\u0275nov"](e,585).ngClassPristine,o["\u0275nov"](e,585).ngClassDirty,o["\u0275nov"](e,585).ngClassValid,o["\u0275nov"](e,585).ngClassInvalid,o["\u0275nov"](e,585).ngClassPending]),n(e,587,0,o["\u0275nov"](e,588).expanded,"NoopAnimations"===o["\u0275nov"](e,588)._animationMode,o["\u0275nov"](e,588)._hasSpacing());var F=o["\u0275nov"](e,592).panel._headerId,D=o["\u0275nov"](e,592).disabled?-1:0,M=o["\u0275nov"](e,592)._getPanelId(),N=o["\u0275nov"](e,592)._isExpanded(),A=o["\u0275nov"](e,592).panel.disabled,P=o["\u0275nov"](e,592)._isExpanded(),q=n(e,594,0,o["\u0275nov"](e,592)._getExpandedState(),n(e,593,0,o["\u0275nov"](e,592).collapsedHeight,o["\u0275nov"](e,592).expandedHeight));n(e,591,0,F,D,M,N,A,P,q),n(e,608,0,o["\u0275nov"](e,609).disabled||null,"NoopAnimations"===o["\u0275nov"](e,609)._animationMode),n(e,612,1,["standard"==o["\u0275nov"](e,613).appearance,"fill"==o["\u0275nov"](e,613).appearance,"outline"==o["\u0275nov"](e,613).appearance,"legacy"==o["\u0275nov"](e,613).appearance,o["\u0275nov"](e,613)._control.errorState,o["\u0275nov"](e,613)._canLabelFloat,o["\u0275nov"](e,613)._shouldLabelFloat(),o["\u0275nov"](e,613)._hasFloatingLabel(),o["\u0275nov"](e,613)._hideControlPlaceholder(),o["\u0275nov"](e,613)._control.disabled,o["\u0275nov"](e,613)._control.autofilled,o["\u0275nov"](e,613)._control.focused,"accent"==o["\u0275nov"](e,613).color,"warn"==o["\u0275nov"](e,613).color,o["\u0275nov"](e,613)._shouldForward("untouched"),o["\u0275nov"](e,613)._shouldForward("touched"),o["\u0275nov"](e,613)._shouldForward("pristine"),o["\u0275nov"](e,613)._shouldForward("dirty"),o["\u0275nov"](e,613)._shouldForward("valid"),o["\u0275nov"](e,613)._shouldForward("invalid"),o["\u0275nov"](e,613)._shouldForward("pending"),!o["\u0275nov"](e,613)._animationsEnabled]),n(e,621,1,[o["\u0275nov"](e,626).ngClassUntouched,o["\u0275nov"](e,626).ngClassTouched,o["\u0275nov"](e,626).ngClassPristine,o["\u0275nov"](e,626).ngClassDirty,o["\u0275nov"](e,626).ngClassValid,o["\u0275nov"](e,626).ngClassInvalid,o["\u0275nov"](e,626).ngClassPending,o["\u0275nov"](e,627)._isServer,o["\u0275nov"](e,627).id,o["\u0275nov"](e,627).placeholder,o["\u0275nov"](e,627).disabled,o["\u0275nov"](e,627).required,o["\u0275nov"](e,627).readonly&&!o["\u0275nov"](e,627)._isNativeSelect||null,o["\u0275nov"](e,627)._ariaDescribedby||null,o["\u0275nov"](e,627).errorState,o["\u0275nov"](e,627).required.toString()]),n(e,630,0,o["\u0275nov"](e,631).disabled||null,"NoopAnimations"===o["\u0275nov"](e,631)._animationMode),n(e,634,1,["standard"==o["\u0275nov"](e,635).appearance,"fill"==o["\u0275nov"](e,635).appearance,"outline"==o["\u0275nov"](e,635).appearance,"legacy"==o["\u0275nov"](e,635).appearance,o["\u0275nov"](e,635)._control.errorState,o["\u0275nov"](e,635)._canLabelFloat,o["\u0275nov"](e,635)._shouldLabelFloat(),o["\u0275nov"](e,635)._hasFloatingLabel(),o["\u0275nov"](e,635)._hideControlPlaceholder(),o["\u0275nov"](e,635)._control.disabled,o["\u0275nov"](e,635)._control.autofilled,o["\u0275nov"](e,635)._control.focused,"accent"==o["\u0275nov"](e,635).color,"warn"==o["\u0275nov"](e,635).color,o["\u0275nov"](e,635)._shouldForward("untouched"),o["\u0275nov"](e,635)._shouldForward("touched"),o["\u0275nov"](e,635)._shouldForward("pristine"),o["\u0275nov"](e,635)._shouldForward("dirty"),o["\u0275nov"](e,635)._shouldForward("valid"),o["\u0275nov"](e,635)._shouldForward("invalid"),o["\u0275nov"](e,635)._shouldForward("pending"),!o["\u0275nov"](e,635)._animationsEnabled]),n(e,643,1,[o["\u0275nov"](e,648).ngClassUntouched,o["\u0275nov"](e,648).ngClassTouched,o["\u0275nov"](e,648).ngClassPristine,o["\u0275nov"](e,648).ngClassDirty,o["\u0275nov"](e,648).ngClassValid,o["\u0275nov"](e,648).ngClassInvalid,o["\u0275nov"](e,648).ngClassPending,o["\u0275nov"](e,649)._isServer,o["\u0275nov"](e,649).id,o["\u0275nov"](e,649).placeholder,o["\u0275nov"](e,649).disabled,o["\u0275nov"](e,649).required,o["\u0275nov"](e,649).readonly&&!o["\u0275nov"](e,649)._isNativeSelect||null,o["\u0275nov"](e,649)._ariaDescribedby||null,o["\u0275nov"](e,649).errorState,o["\u0275nov"](e,649).required.toString()]),n(e,651,1,["standard"==o["\u0275nov"](e,652).appearance,"fill"==o["\u0275nov"](e,652).appearance,"outline"==o["\u0275nov"](e,652).appearance,"legacy"==o["\u0275nov"](e,652).appearance,o["\u0275nov"](e,652)._control.errorState,o["\u0275nov"](e,652)._canLabelFloat,o["\u0275nov"](e,652)._shouldLabelFloat(),o["\u0275nov"](e,652)._hasFloatingLabel(),o["\u0275nov"](e,652)._hideControlPlaceholder(),o["\u0275nov"](e,652)._control.disabled,o["\u0275nov"](e,652)._control.autofilled,o["\u0275nov"](e,652)._control.focused,"accent"==o["\u0275nov"](e,652).color,"warn"==o["\u0275nov"](e,652).color,o["\u0275nov"](e,652)._shouldForward("untouched"),o["\u0275nov"](e,652)._shouldForward("touched"),o["\u0275nov"](e,652)._shouldForward("pristine"),o["\u0275nov"](e,652)._shouldForward("dirty"),o["\u0275nov"](e,652)._shouldForward("valid"),o["\u0275nov"](e,652)._shouldForward("invalid"),o["\u0275nov"](e,652)._shouldForward("pending"),!o["\u0275nov"](e,652)._animationsEnabled]),n(e,660,1,[o["\u0275nov"](e,665).ngClassUntouched,o["\u0275nov"](e,665).ngClassTouched,o["\u0275nov"](e,665).ngClassPristine,o["\u0275nov"](e,665).ngClassDirty,o["\u0275nov"](e,665).ngClassValid,o["\u0275nov"](e,665).ngClassInvalid,o["\u0275nov"](e,665).ngClassPending,o["\u0275nov"](e,666)._isServer,o["\u0275nov"](e,666).id,o["\u0275nov"](e,666).placeholder,o["\u0275nov"](e,666).disabled,o["\u0275nov"](e,666).required,o["\u0275nov"](e,666).readonly&&!o["\u0275nov"](e,666)._isNativeSelect||null,o["\u0275nov"](e,666)._ariaDescribedby||null,o["\u0275nov"](e,666).errorState,o["\u0275nov"](e,666).required.toString()]),n(e,678,0,o["\u0275nov"](e,679).disabled||null,"NoopAnimations"===o["\u0275nov"](e,679)._animationMode),n(e,682,1,["standard"==o["\u0275nov"](e,683).appearance,"fill"==o["\u0275nov"](e,683).appearance,"outline"==o["\u0275nov"](e,683).appearance,"legacy"==o["\u0275nov"](e,683).appearance,o["\u0275nov"](e,683)._control.errorState,o["\u0275nov"](e,683)._canLabelFloat,o["\u0275nov"](e,683)._shouldLabelFloat(),o["\u0275nov"](e,683)._hasFloatingLabel(),o["\u0275nov"](e,683)._hideControlPlaceholder(),o["\u0275nov"](e,683)._control.disabled,o["\u0275nov"](e,683)._control.autofilled,o["\u0275nov"](e,683)._control.focused,"accent"==o["\u0275nov"](e,683).color,"warn"==o["\u0275nov"](e,683).color,o["\u0275nov"](e,683)._shouldForward("untouched"),o["\u0275nov"](e,683)._shouldForward("touched"),o["\u0275nov"](e,683)._shouldForward("pristine"),o["\u0275nov"](e,683)._shouldForward("dirty"),o["\u0275nov"](e,683)._shouldForward("valid"),o["\u0275nov"](e,683)._shouldForward("invalid"),o["\u0275nov"](e,683)._shouldForward("pending"),!o["\u0275nov"](e,683)._animationsEnabled]),n(e,691,1,[o["\u0275nov"](e,696).ngClassUntouched,o["\u0275nov"](e,696).ngClassTouched,o["\u0275nov"](e,696).ngClassPristine,o["\u0275nov"](e,696).ngClassDirty,o["\u0275nov"](e,696).ngClassValid,o["\u0275nov"](e,696).ngClassInvalid,o["\u0275nov"](e,696).ngClassPending,o["\u0275nov"](e,697)._isServer,o["\u0275nov"](e,697).id,o["\u0275nov"](e,697).placeholder,o["\u0275nov"](e,697).disabled,o["\u0275nov"](e,697).required,o["\u0275nov"](e,697).readonly&&!o["\u0275nov"](e,697)._isNativeSelect||null,o["\u0275nov"](e,697)._ariaDescribedby||null,o["\u0275nov"](e,697).errorState,o["\u0275nov"](e,697).required.toString()]),n(e,708,1,[o["\u0275nov"](e,709).id,null,o["\u0275nov"](e,709).indeterminate,o["\u0275nov"](e,709).checked,o["\u0275nov"](e,709).disabled,"before"==o["\u0275nov"](e,709).labelPosition,"NoopAnimations"===o["\u0275nov"](e,709)._animationMode,o["\u0275nov"](e,713).ngClassUntouched,o["\u0275nov"](e,713).ngClassTouched,o["\u0275nov"](e,713).ngClassPristine,o["\u0275nov"](e,713).ngClassDirty,o["\u0275nov"](e,713).ngClassValid,o["\u0275nov"](e,713).ngClassInvalid,o["\u0275nov"](e,713).ngClassPending]),n(e,717,1,["standard"==o["\u0275nov"](e,718).appearance,"fill"==o["\u0275nov"](e,718).appearance,"outline"==o["\u0275nov"](e,718).appearance,"legacy"==o["\u0275nov"](e,718).appearance,o["\u0275nov"](e,718)._control.errorState,o["\u0275nov"](e,718)._canLabelFloat,o["\u0275nov"](e,718)._shouldLabelFloat(),o["\u0275nov"](e,718)._hasFloatingLabel(),o["\u0275nov"](e,718)._hideControlPlaceholder(),o["\u0275nov"](e,718)._control.disabled,o["\u0275nov"](e,718)._control.autofilled,o["\u0275nov"](e,718)._control.focused,"accent"==o["\u0275nov"](e,718).color,"warn"==o["\u0275nov"](e,718).color,o["\u0275nov"](e,718)._shouldForward("untouched"),o["\u0275nov"](e,718)._shouldForward("touched"),o["\u0275nov"](e,718)._shouldForward("pristine"),o["\u0275nov"](e,718)._shouldForward("dirty"),o["\u0275nov"](e,718)._shouldForward("valid"),o["\u0275nov"](e,718)._shouldForward("invalid"),o["\u0275nov"](e,718)._shouldForward("pending"),!o["\u0275nov"](e,718)._animationsEnabled]),n(e,726,1,[o["\u0275nov"](e,730).ngClassUntouched,o["\u0275nov"](e,730).ngClassTouched,o["\u0275nov"](e,730).ngClassPristine,o["\u0275nov"](e,730).ngClassDirty,o["\u0275nov"](e,730).ngClassValid,o["\u0275nov"](e,730).ngClassInvalid,o["\u0275nov"](e,730).ngClassPending,o["\u0275nov"](e,731).id,o["\u0275nov"](e,731).tabIndex,o["\u0275nov"](e,731)._getAriaLabel(),o["\u0275nov"](e,731)._getAriaLabelledby(),o["\u0275nov"](e,731).required.toString(),o["\u0275nov"](e,731).disabled.toString(),o["\u0275nov"](e,731).errorState,o["\u0275nov"](e,731).panelOpen?o["\u0275nov"](e,731)._optionIds:null,o["\u0275nov"](e,731).multiple,o["\u0275nov"](e,731)._ariaDescribedby||null,o["\u0275nov"](e,731)._getAriaActiveDescendant(),o["\u0275nov"](e,731).disabled,o["\u0275nov"](e,731).errorState,o["\u0275nov"](e,731).required,o["\u0275nov"](e,731).empty]),n(e,747,1,["standard"==o["\u0275nov"](e,748).appearance,"fill"==o["\u0275nov"](e,748).appearance,"outline"==o["\u0275nov"](e,748).appearance,"legacy"==o["\u0275nov"](e,748).appearance,o["\u0275nov"](e,748)._control.errorState,o["\u0275nov"](e,748)._canLabelFloat,o["\u0275nov"](e,748)._shouldLabelFloat(),o["\u0275nov"](e,748)._hasFloatingLabel(),o["\u0275nov"](e,748)._hideControlPlaceholder(),o["\u0275nov"](e,748)._control.disabled,o["\u0275nov"](e,748)._control.autofilled,o["\u0275nov"](e,748)._control.focused,"accent"==o["\u0275nov"](e,748).color,"warn"==o["\u0275nov"](e,748).color,o["\u0275nov"](e,748)._shouldForward("untouched"),o["\u0275nov"](e,748)._shouldForward("touched"),o["\u0275nov"](e,748)._shouldForward("pristine"),o["\u0275nov"](e,748)._shouldForward("dirty"),o["\u0275nov"](e,748)._shouldForward("valid"),o["\u0275nov"](e,748)._shouldForward("invalid"),o["\u0275nov"](e,748)._shouldForward("pending"),!o["\u0275nov"](e,748)._animationsEnabled]),n(e,756,1,[o["\u0275nov"](e,761).ngClassUntouched,o["\u0275nov"](e,761).ngClassTouched,o["\u0275nov"](e,761).ngClassPristine,o["\u0275nov"](e,761).ngClassDirty,o["\u0275nov"](e,761).ngClassValid,o["\u0275nov"](e,761).ngClassInvalid,o["\u0275nov"](e,761).ngClassPending,o["\u0275nov"](e,762)._isServer,o["\u0275nov"](e,762).id,o["\u0275nov"](e,762).placeholder,o["\u0275nov"](e,762).disabled,o["\u0275nov"](e,762).required,o["\u0275nov"](e,762).readonly&&!o["\u0275nov"](e,762)._isNativeSelect||null,o["\u0275nov"](e,762)._ariaDescribedby||null,o["\u0275nov"](e,762).errorState,o["\u0275nov"](e,762).required.toString()]),n(e,764,1,[o["\u0275nov"](e,765).id,null,o["\u0275nov"](e,765).indeterminate,o["\u0275nov"](e,765).checked,o["\u0275nov"](e,765).disabled,"before"==o["\u0275nov"](e,765).labelPosition,"NoopAnimations"===o["\u0275nov"](e,765)._animationMode,o["\u0275nov"](e,769).ngClassUntouched,o["\u0275nov"](e,769).ngClassTouched,o["\u0275nov"](e,769).ngClassPristine,o["\u0275nov"](e,769).ngClassDirty,o["\u0275nov"](e,769).ngClassValid,o["\u0275nov"](e,769).ngClassInvalid,o["\u0275nov"](e,769).ngClassPending]),n(e,771,0,o["\u0275nov"](e,772).expanded,"NoopAnimations"===o["\u0275nov"](e,772)._animationMode,o["\u0275nov"](e,772)._hasSpacing());var j=o["\u0275nov"](e,776).panel._headerId,L=o["\u0275nov"](e,776).disabled?-1:0,V=o["\u0275nov"](e,776)._getPanelId(),B=o["\u0275nov"](e,776)._isExpanded(),z=o["\u0275nov"](e,776).panel.disabled,U=o["\u0275nov"](e,776)._isExpanded(),H=n(e,778,0,o["\u0275nov"](e,776)._getExpandedState(),n(e,777,0,o["\u0275nov"](e,776).collapsedHeight,o["\u0275nov"](e,776).expandedHeight));n(e,775,0,j,L,V,B,z,U,H),n(e,782,1,["standard"==o["\u0275nov"](e,783).appearance,"fill"==o["\u0275nov"](e,783).appearance,"outline"==o["\u0275nov"](e,783).appearance,"legacy"==o["\u0275nov"](e,783).appearance,o["\u0275nov"](e,783)._control.errorState,o["\u0275nov"](e,783)._canLabelFloat,o["\u0275nov"](e,783)._shouldLabelFloat(),o["\u0275nov"](e,783)._hasFloatingLabel(),o["\u0275nov"](e,783)._hideControlPlaceholder(),o["\u0275nov"](e,783)._control.disabled,o["\u0275nov"](e,783)._control.autofilled,o["\u0275nov"](e,783)._control.focused,"accent"==o["\u0275nov"](e,783).color,"warn"==o["\u0275nov"](e,783).color,o["\u0275nov"](e,783)._shouldForward("untouched"),o["\u0275nov"](e,783)._shouldForward("touched"),o["\u0275nov"](e,783)._shouldForward("pristine"),o["\u0275nov"](e,783)._shouldForward("dirty"),o["\u0275nov"](e,783)._shouldForward("valid"),o["\u0275nov"](e,783)._shouldForward("invalid"),o["\u0275nov"](e,783)._shouldForward("pending"),!o["\u0275nov"](e,783)._animationsEnabled]),n(e,791,1,[o["\u0275nov"](e,796).ngClassUntouched,o["\u0275nov"](e,796).ngClassTouched,o["\u0275nov"](e,796).ngClassPristine,o["\u0275nov"](e,796).ngClassDirty,o["\u0275nov"](e,796).ngClassValid,o["\u0275nov"](e,796).ngClassInvalid,o["\u0275nov"](e,796).ngClassPending,o["\u0275nov"](e,797)._isServer,o["\u0275nov"](e,797).id,o["\u0275nov"](e,797).placeholder,o["\u0275nov"](e,797).disabled,o["\u0275nov"](e,797).required,o["\u0275nov"](e,797).readonly&&!o["\u0275nov"](e,797)._isNativeSelect||null,o["\u0275nov"](e,797)._ariaDescribedby||null,o["\u0275nov"](e,797).errorState,o["\u0275nov"](e,797).required.toString()]),n(e,800,0,o["\u0275nov"](e,801).disabled||null,"NoopAnimations"===o["\u0275nov"](e,801)._animationMode),n(e,803,0,o["\u0275nov"](e,804).disabled||null,"NoopAnimations"===o["\u0275nov"](e,804)._animationMode)})}function _k(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 wk(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](2,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["QEMU VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,yk)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,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},lk,GS)),o["\u0275did"](11,49152,[[1,4],["customAdaptersConfigurator",4]],0,WS,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,_k)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.qemuTemplate),n(e,11,0,t.networkTypes,t.displayedColumns),n(e,13,0,t.isSymbolSelectionOpened&&t.qemuTemplate)},function(n,e){var t=e.component;n(e,10,0,!(t.isConfiguratorOpened&&t.qemuTemplate))})}function Ck(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-qemu-virtual-machine-template-details",[],null,null,null,wk,ik)),o["\u0275did"](1,114688,null,0,rk,[bt,Uh,IS,fc,ok,lv,Rl],null,null)],function(n,e){n(e,1,0)},null)}var xk=o["\u0275ccf"]("app-qemu-virtual-machine-template-details",rk,Ck,{},{},[]),Sk=0,kk=function(){return function(n,e){this.source=n,this.value=e}}(),Ek=function(){function n(n){this._changeDetector=n,this._value=null,this._name="mat-radio-group-"+Sk++,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=ao(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=ao(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 kk(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}(),Tk=function(n){function e(e,t,l,r,i,a){var u=n.call(this,t)||this;return u._changeDetector=l,u._focusMonitor=r,u._radioDispatcher=i,u._animationMode=a,u._uniqueId="mat-radio-"+ ++Sk,u.id=u._uniqueId,u.change=new o.EventEmitter,u._checked=!1,u._value=null,u._removeUniqueSelectionListener=function(){},u.radioGroup=e,u._removeUniqueSelectionListener=i.listen(function(n,e){n!==u.id&&e===u.name&&(u.checked=!1)}),u}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(n){var e=ao(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=ao(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=ao(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(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},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 kk(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}(Ko(Yo($o(function(){return function(n){this._elementRef=n}}())),"accent")),Rk=function(){return function(){}}(),Ik=o["\u0275crt"]({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}.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{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 Ok(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_inputElement:0}),(n()(),o["\u0275eld"](1,0,[["label",1]],null,12,"label",[["class","mat-radio-label"]],[[1,"for",0]],null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","mat-radio-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-radio-outer-circle"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-radio-inner-circle"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","mat-radio-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](6,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["\u0275pod"](7,{enterDuration:0}),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-radio-persistent-ripple"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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],[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["\u0275eld"](10,0,null,null,3,"div",[["class","mat-radio-label-content"]],[[2,"mat-radio-label-before",null]],null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["\xa0"])),o["\u0275ncd"](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["\u0275nov"](e,1))},function(n,e){var t=e.component;n(e,1,0,t.inputId),n(e,5,0,o["\u0275nov"](e,6).unbounded),n(e,9,0,t.inputId,t.checked,t.disabled,t.tabIndex,t.name,t.required,t.ariaLabel,t.ariaLabelledby,t.ariaDescribedby),n(e,10,0,"before"==t.labelPosition)})}var Fk=function(){return function(){}}(),Dk=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.configurationService=a,this.qemuBinaries=[],this.consoleTypes=[],this.newImageSelected=!1,this.qemuImages=[],this.chosenImage="",this.qemuTemplate=new Fk,this.nameForm=this.formBuilder.group({templateName:new Bm("",nm.required)}),this.memoryForm=this.formBuilder.group({binary:new Bm("",nm.required),ramMemory:new Bm("",nm.required)}),this.diskForm=this.formBuilder.group({fileName:new Bm("",nm.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.templateMocksService.getQemuTemplate().subscribe(function(e){n.qemuTemplate=e}),n.qemuService.getBinaries(e).subscribe(function(e){n.qemuBinaries=e}),n.qemuService.getImages(e).subscribe(function(e){n.qemuImages=e}),n.consoleTypes=n.configurationService.getConsoleTypes()})},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){this.chosenImage=n.target.files[0].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.memoryForm.invalid||!this.selectedImage&&!this.chosenImage?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.ram=this.ramMemory,this.qemuTemplate.qemu_path=this.selectedBinary.path,this.qemuTemplate.hda_disk_image=this.newImageSelected?this.chosenImage:this.selectedImage.path,this.qemuTemplate.template_id=Object(ag.v4)(),this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(e){n.goBack()}))},n}(),Mk=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function Nk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[19,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)})}function Ak(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[37,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Pk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[42,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)})}function qk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedImage=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,42,{options:1}),o["\u0275qud"](603979776,43,{optionGroups:1}),o["\u0275qud"](335544320,44,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Pk)),o["\u0275did"](12,278528,null,0,I.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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function jk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,[["file",1]],null,0,"input",[["accept",".qcow2"],["class","nonvisible"],["ngDefaultContro",""],["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["\u0275eld"](2,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).click()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](5,0,null,null,16,"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,Fb,yb)),o["\u0275did"](6,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,45,{_control:0}),o["\u0275qud"](335544320,46,{_placeholderChild:0}),o["\u0275qud"](335544320,47,{_labelChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](14,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,15)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,15)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,15)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,20)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,20)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.chosenImage=t)&&l),l},null,null)),o["\u0275did"](15,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](17,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](19,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](20,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[45,4]],db,null,[qb])],function(n,e){var t=e.component;n(e,3,0,"primary"),n(e,17,0,"fileName",t.chosenImage),n(e,20,0,"Please enter name","text")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,1,["standard"==o["\u0275nov"](e,6).appearance,"fill"==o["\u0275nov"](e,6).appearance,"outline"==o["\u0275nov"](e,6).appearance,"legacy"==o["\u0275nov"](e,6).appearance,o["\u0275nov"](e,6)._control.errorState,o["\u0275nov"](e,6)._canLabelFloat,o["\u0275nov"](e,6)._shouldLabelFloat(),o["\u0275nov"](e,6)._hasFloatingLabel(),o["\u0275nov"](e,6)._hideControlPlaceholder(),o["\u0275nov"](e,6)._control.disabled,o["\u0275nov"](e,6)._control.autofilled,o["\u0275nov"](e,6)._control.focused,"accent"==o["\u0275nov"](e,6).color,"warn"==o["\u0275nov"](e,6).color,o["\u0275nov"](e,6)._shouldForward("untouched"),o["\u0275nov"](e,6)._shouldForward("touched"),o["\u0275nov"](e,6)._shouldForward("pristine"),o["\u0275nov"](e,6)._shouldForward("dirty"),o["\u0275nov"](e,6)._shouldForward("valid"),o["\u0275nov"](e,6)._shouldForward("invalid"),o["\u0275nov"](e,6)._shouldForward("pending"),!o["\u0275nov"](e,6)._animationsEnabled]),n(e,14,1,[o["\u0275nov"](e,19).ngClassUntouched,o["\u0275nov"](e,19).ngClassTouched,o["\u0275nov"](e,19).ngClassPristine,o["\u0275nov"](e,19).ngClassDirty,o["\u0275nov"](e,19).ngClassValid,o["\u0275nov"](e,19).ngClassInvalid,o["\u0275nov"](e,19).ngClassPending,o["\u0275nov"](e,20)._isServer,o["\u0275nov"](e,20).id,o["\u0275nov"](e,20).placeholder,o["\u0275nov"](e,20).disabled,o["\u0275nov"](e,20).required,o["\u0275nov"](e,20).readonly&&!o["\u0275nov"](e,20)._isNativeSelect||null,o["\u0275nov"](e,20)._ariaDescribedby||null,o["\u0275nov"](e,20).errorState,o["\u0275nov"](e,20).required.toString()])})}function Lk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,149,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New QEMU VM template"])),(n()(),o["\u0275eld"](5,0,null,null,144,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,136,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,135,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,_x,bx)),o["\u0275did"](8,5423104,null,2,fx,[[2,Dr],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,px,null,[fx]),(n()(),o["\u0275eld"](12,0,null,null,30,"mat-step",[["label","QEMU VM Name"]],null,null,null,gx,mx)),o["\u0275did"](13,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,3,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](16,0,null,0,26,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](39,0,null,null,3,"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]],null,null,ab,ib)),o["\u0275prd"](5120,null,om,function(n){return[n]},[nb]),o["\u0275did"](41,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,[" This is a legacy ASA VM "])),(n()(),o["\u0275eld"](43,0,null,null,48,"mat-step",[["label","QEMU binary and memory"]],null,null,null,gx,mx)),o["\u0275did"](44,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,11,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](47,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["\u0275nov"](n,49).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,49).onReset()&&l),l},null,null)),o["\u0275did"](48,16384,null,0,ov,[],null,null),o["\u0275did"](49,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](51,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](52,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,Fb,yb)),o["\u0275did"](53,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,12,{_control:0}),o["\u0275qud"](335544320,13,{_placeholderChild:0}),o["\u0275qud"](335544320,14,{_labelChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](61,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","binary"],["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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,66)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,66)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,66)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedBinary=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](63,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](65,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](66,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,19,{options:1}),o["\u0275qud"](603979776,20,{optionGroups:1}),o["\u0275qud"](335544320,21,{customTrigger:0}),o["\u0275prd"](2048,[[12,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Nk)),o["\u0275did"](72,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](73,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](74,0,null,null,17,"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,Fb,yb)),o["\u0275did"](75,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,22,{_control:0}),o["\u0275qud"](335544320,23,{_placeholderChild:0}),o["\u0275qud"](335544320,24,{_labelChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](83,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,84)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,84).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,84)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,84)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,85).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,85).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,85).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,90)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,90)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,90)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ramMemory=t)&&l),l},null,null)),o["\u0275did"](84,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](85,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](87,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](89,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](90,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4]],db,null,[qb]),(n()(),o["\u0275eld"](92,0,null,null,25,"mat-step",[["label","Console type"]],null,null,null,gx,mx)),o["\u0275did"](93,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,29,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](96,0,null,0,21,"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,Fb,yb)),o["\u0275did"](97,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,30,{_control:0}),o["\u0275qud"](335544320,31,{_placeholderChild:0}),o["\u0275qud"](335544320,32,{_labelChild:0}),o["\u0275qud"](603979776,33,{_errorChildren:1}),o["\u0275qud"](603979776,34,{_hintChildren:1}),o["\u0275qud"](603979776,35,{_prefixChildren:1}),o["\u0275qud"](603979776,36,{_suffixChildren:1}),(n()(),o["\u0275eld"](105,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,111)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,111)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,111)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](107,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](108,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](110,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](111,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,37,{options:1}),o["\u0275qud"](603979776,38,{optionGroups:1}),o["\u0275qud"](335544320,39,{customTrigger:0}),o["\u0275prd"](2048,[[30,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Ak)),o["\u0275did"](117,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](118,0,null,null,24,"mat-step",[["label","Disk image"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](120,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,40,{stepLabel:0}),(n()(),o["\u0275eld"](122,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["\u0275nov"](n,124).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,124).onReset()&&l),l},null,null)),o["\u0275did"](123,16384,null,0,ov,[],null,null),o["\u0275did"](124,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](126,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](127,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[Ek]),o["\u0275did"](129,1064960,null,1,Ek,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,41,{_radios:1}),(n()(),o["\u0275eld"](131,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,132)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Ok,Ik)),o["\u0275did"](132,4440064,[[41,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](134,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,135)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Ok,Ik)),o["\u0275did"](135,4440064,[[41,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275eld"](137,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](138,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,qk)),o["\u0275did"](140,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,jk)),o["\u0275did"](142,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](143,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](144,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](145,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](147,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](148,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,8,0,!0),n(e,13,0,"QEMU VM Name"),n(e,18,0,t.nameForm),n(e,33,0,"templateName",t.qemuTemplate.name),n(e,36,0,"Please choose a descriptive name for your new QEMU virtual machine","text"),n(e,44,0,"QEMU binary and memory"),n(e,49,0,t.memoryForm),n(e,63,0,"binary",t.selectedBinary),n(e,66,0,"Qemu binary"),n(e,72,0,t.qemuBinaries),n(e,87,0,"ramMemory",t.ramMemory),n(e,90,0,"RAM","number"),n(e,93,0,"Console type");var l=t.qemuTemplate.console_type,o=n(e,108,0,!0);n(e,107,0,l,o),n(e,111,0,"Console type"),n(e,117,0,t.consoleTypes),n(e,120,0,"Disk image"),n(e,124,0,t.diskForm),n(e,132,0,"","1"),n(e,135,0,"2"),n(e,140,0,!t.newImageSelected),n(e,142,0,t.newImageSelected),n(e,148,0,"primary")},function(n,e){n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,39,0,o["\u0275nov"](e,41).id,null,o["\u0275nov"](e,41).indeterminate,o["\u0275nov"](e,41).checked,o["\u0275nov"](e,41).disabled,"before"==o["\u0275nov"](e,41).labelPosition,"NoopAnimations"===o["\u0275nov"](e,41)._animationMode),n(e,47,0,o["\u0275nov"](e,51).ngClassUntouched,o["\u0275nov"](e,51).ngClassTouched,o["\u0275nov"](e,51).ngClassPristine,o["\u0275nov"](e,51).ngClassDirty,o["\u0275nov"](e,51).ngClassValid,o["\u0275nov"](e,51).ngClassInvalid,o["\u0275nov"](e,51).ngClassPending),n(e,52,1,["standard"==o["\u0275nov"](e,53).appearance,"fill"==o["\u0275nov"](e,53).appearance,"outline"==o["\u0275nov"](e,53).appearance,"legacy"==o["\u0275nov"](e,53).appearance,o["\u0275nov"](e,53)._control.errorState,o["\u0275nov"](e,53)._canLabelFloat,o["\u0275nov"](e,53)._shouldLabelFloat(),o["\u0275nov"](e,53)._hasFloatingLabel(),o["\u0275nov"](e,53)._hideControlPlaceholder(),o["\u0275nov"](e,53)._control.disabled,o["\u0275nov"](e,53)._control.autofilled,o["\u0275nov"](e,53)._control.focused,"accent"==o["\u0275nov"](e,53).color,"warn"==o["\u0275nov"](e,53).color,o["\u0275nov"](e,53)._shouldForward("untouched"),o["\u0275nov"](e,53)._shouldForward("touched"),o["\u0275nov"](e,53)._shouldForward("pristine"),o["\u0275nov"](e,53)._shouldForward("dirty"),o["\u0275nov"](e,53)._shouldForward("valid"),o["\u0275nov"](e,53)._shouldForward("invalid"),o["\u0275nov"](e,53)._shouldForward("pending"),!o["\u0275nov"](e,53)._animationsEnabled]),n(e,61,1,[o["\u0275nov"](e,65).ngClassUntouched,o["\u0275nov"](e,65).ngClassTouched,o["\u0275nov"](e,65).ngClassPristine,o["\u0275nov"](e,65).ngClassDirty,o["\u0275nov"](e,65).ngClassValid,o["\u0275nov"](e,65).ngClassInvalid,o["\u0275nov"](e,65).ngClassPending,o["\u0275nov"](e,66).id,o["\u0275nov"](e,66).tabIndex,o["\u0275nov"](e,66)._getAriaLabel(),o["\u0275nov"](e,66)._getAriaLabelledby(),o["\u0275nov"](e,66).required.toString(),o["\u0275nov"](e,66).disabled.toString(),o["\u0275nov"](e,66).errorState,o["\u0275nov"](e,66).panelOpen?o["\u0275nov"](e,66)._optionIds:null,o["\u0275nov"](e,66).multiple,o["\u0275nov"](e,66)._ariaDescribedby||null,o["\u0275nov"](e,66)._getAriaActiveDescendant(),o["\u0275nov"](e,66).disabled,o["\u0275nov"](e,66).errorState,o["\u0275nov"](e,66).required,o["\u0275nov"](e,66).empty]),n(e,74,1,["standard"==o["\u0275nov"](e,75).appearance,"fill"==o["\u0275nov"](e,75).appearance,"outline"==o["\u0275nov"](e,75).appearance,"legacy"==o["\u0275nov"](e,75).appearance,o["\u0275nov"](e,75)._control.errorState,o["\u0275nov"](e,75)._canLabelFloat,o["\u0275nov"](e,75)._shouldLabelFloat(),o["\u0275nov"](e,75)._hasFloatingLabel(),o["\u0275nov"](e,75)._hideControlPlaceholder(),o["\u0275nov"](e,75)._control.disabled,o["\u0275nov"](e,75)._control.autofilled,o["\u0275nov"](e,75)._control.focused,"accent"==o["\u0275nov"](e,75).color,"warn"==o["\u0275nov"](e,75).color,o["\u0275nov"](e,75)._shouldForward("untouched"),o["\u0275nov"](e,75)._shouldForward("touched"),o["\u0275nov"](e,75)._shouldForward("pristine"),o["\u0275nov"](e,75)._shouldForward("dirty"),o["\u0275nov"](e,75)._shouldForward("valid"),o["\u0275nov"](e,75)._shouldForward("invalid"),o["\u0275nov"](e,75)._shouldForward("pending"),!o["\u0275nov"](e,75)._animationsEnabled]),n(e,83,1,[o["\u0275nov"](e,89).ngClassUntouched,o["\u0275nov"](e,89).ngClassTouched,o["\u0275nov"](e,89).ngClassPristine,o["\u0275nov"](e,89).ngClassDirty,o["\u0275nov"](e,89).ngClassValid,o["\u0275nov"](e,89).ngClassInvalid,o["\u0275nov"](e,89).ngClassPending,o["\u0275nov"](e,90)._isServer,o["\u0275nov"](e,90).id,o["\u0275nov"](e,90).placeholder,o["\u0275nov"](e,90).disabled,o["\u0275nov"](e,90).required,o["\u0275nov"](e,90).readonly&&!o["\u0275nov"](e,90)._isNativeSelect||null,o["\u0275nov"](e,90)._ariaDescribedby||null,o["\u0275nov"](e,90).errorState,o["\u0275nov"](e,90).required.toString()]),n(e,96,1,["standard"==o["\u0275nov"](e,97).appearance,"fill"==o["\u0275nov"](e,97).appearance,"outline"==o["\u0275nov"](e,97).appearance,"legacy"==o["\u0275nov"](e,97).appearance,o["\u0275nov"](e,97)._control.errorState,o["\u0275nov"](e,97)._canLabelFloat,o["\u0275nov"](e,97)._shouldLabelFloat(),o["\u0275nov"](e,97)._hasFloatingLabel(),o["\u0275nov"](e,97)._hideControlPlaceholder(),o["\u0275nov"](e,97)._control.disabled,o["\u0275nov"](e,97)._control.autofilled,o["\u0275nov"](e,97)._control.focused,"accent"==o["\u0275nov"](e,97).color,"warn"==o["\u0275nov"](e,97).color,o["\u0275nov"](e,97)._shouldForward("untouched"),o["\u0275nov"](e,97)._shouldForward("touched"),o["\u0275nov"](e,97)._shouldForward("pristine"),o["\u0275nov"](e,97)._shouldForward("dirty"),o["\u0275nov"](e,97)._shouldForward("valid"),o["\u0275nov"](e,97)._shouldForward("invalid"),o["\u0275nov"](e,97)._shouldForward("pending"),!o["\u0275nov"](e,97)._animationsEnabled]),n(e,105,1,[o["\u0275nov"](e,110).ngClassUntouched,o["\u0275nov"](e,110).ngClassTouched,o["\u0275nov"](e,110).ngClassPristine,o["\u0275nov"](e,110).ngClassDirty,o["\u0275nov"](e,110).ngClassValid,o["\u0275nov"](e,110).ngClassInvalid,o["\u0275nov"](e,110).ngClassPending,o["\u0275nov"](e,111).id,o["\u0275nov"](e,111).tabIndex,o["\u0275nov"](e,111)._getAriaLabel(),o["\u0275nov"](e,111)._getAriaLabelledby(),o["\u0275nov"](e,111).required.toString(),o["\u0275nov"](e,111).disabled.toString(),o["\u0275nov"](e,111).errorState,o["\u0275nov"](e,111).panelOpen?o["\u0275nov"](e,111)._optionIds:null,o["\u0275nov"](e,111).multiple,o["\u0275nov"](e,111)._ariaDescribedby||null,o["\u0275nov"](e,111)._getAriaActiveDescendant(),o["\u0275nov"](e,111).disabled,o["\u0275nov"](e,111).errorState,o["\u0275nov"](e,111).required,o["\u0275nov"](e,111).empty]),n(e,122,0,o["\u0275nov"](e,126).ngClassUntouched,o["\u0275nov"](e,126).ngClassTouched,o["\u0275nov"](e,126).ngClassPristine,o["\u0275nov"](e,126).ngClassDirty,o["\u0275nov"](e,126).ngClassValid,o["\u0275nov"](e,126).ngClassInvalid,o["\u0275nov"](e,126).ngClassPending),n(e,131,0,o["\u0275nov"](e,132).checked,o["\u0275nov"](e,132).disabled,"NoopAnimations"===o["\u0275nov"](e,132)._animationMode,-1,o["\u0275nov"](e,132).id),n(e,134,0,o["\u0275nov"](e,135).checked,o["\u0275nov"](e,135).disabled,"NoopAnimations"===o["\u0275nov"](e,135)._animationMode,-1,o["\u0275nov"](e,135).id),n(e,144,0,o["\u0275nov"](e,145).disabled||null,"NoopAnimations"===o["\u0275nov"](e,145)._animationMode),n(e,147,0,o["\u0275nov"](e,148).disabled||null,"NoopAnimations"===o["\u0275nov"](e,148)._animationMode)})}function Vk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-qemu-virtual-machine-template",[],null,null,null,Lk,Mk)),o["\u0275did"](1,114688,null,0,Dk,[bt,Uh,IS,fc,Rl,lv,D_,ok],null,null)],function(n,e){n(e,1,0)},null)}var Bk=o["\u0275ccf"]("app-add-qemu-virtual-machine-template",Dk,Vk,{},{},[]),zk=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}(),Uk=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}(),Hk=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function Zk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Wk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add VPCS template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vpcs/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Gk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function Kk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function Yk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,Kk)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.vpcsTemplates)},null)}function $k(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Yk)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function Xk(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VPCS node templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Zk)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Wk)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Gk)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$k)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 Qk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vpcs-templates",[],null,null,null,Xk,Hk)),o["\u0275did"](1,114688,null,0,Uk,[bt,Uh,zk],null,null)],function(n,e){n(e,1,0)},null)}var Jk=o["\u0275ccf"]("app-vpcs-templates",Uk,Qk,{},{},[]),nE=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}(),eE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vpcsService=t,this.toasterService=l,this.formBuilder=o,this.vpcsConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),scriptFile:new Bm("",nm.required),symbol:new Bm("",nm.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}(),tE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function lE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[36,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function oE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[46,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function rE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,139,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,131,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,0,null,0,129,"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["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,0,null,null,16,"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,Fb,yb)),o["\u0275did"](9,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](17,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,18)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,18)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,18)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,23)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.name=t)&&l),l},null,null)),o["\u0275did"](18,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](20,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](22,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](23,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](25,0,null,null,16,"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,Fb,yb)),o["\u0275did"](26,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,8,{_control:0}),o["\u0275qud"](335544320,9,{_placeholderChild:0}),o["\u0275qud"](335544320,10,{_labelChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](34,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,35)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,40)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](35,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](37,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](39,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](40,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[8,4]],db,null,[qb]),(n()(),o["\u0275eld"](42,0,null,null,16,"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,Fb,yb)),o["\u0275did"](43,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,15,{_control:0}),o["\u0275qud"](335544320,16,{_placeholderChild:0}),o["\u0275qud"](335544320,17,{_labelChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.base_script_file=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](54,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](56,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](57,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[15,4]],db,null,[qb]),(n()(),o["\u0275eld"](59,0,null,null,16,"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,Fb,yb)),o["\u0275did"](60,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,22,{_control:0}),o["\u0275qud"](335544320,23,{_placeholderChild:0}),o["\u0275qud"](335544320,24,{_labelChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](68,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,69)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,69).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,69)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,69)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,74)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,74)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,74)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](69,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](71,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](73,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](74,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4]],db,null,[qb]),(n()(),o["\u0275eld"](76,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](77,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](79,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](80,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](81,0,null,null,21,"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,Fb,yb)),o["\u0275did"](82,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,29,{_control:0}),o["\u0275qud"](335544320,30,{_placeholderChild:0}),o["\u0275qud"](335544320,31,{_labelChild:0}),o["\u0275qud"](603979776,32,{_errorChildren:1}),o["\u0275qud"](603979776,33,{_hintChildren:1}),o["\u0275qud"](603979776,34,{_prefixChildren:1}),o["\u0275qud"](603979776,35,{_suffixChildren:1}),(n()(),o["\u0275eld"](90,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,96)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,96)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,96)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](92,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](93,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](95,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](96,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,36,{options:1}),o["\u0275qud"](603979776,37,{optionGroups:1}),o["\u0275qud"](335544320,38,{customTrigger:0}),o["\u0275prd"](2048,[[29,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,lE)),o["\u0275did"](102,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](103,0,null,null,21,"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,Fb,yb)),o["\u0275did"](104,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,39,{_control:0}),o["\u0275qud"](335544320,40,{_placeholderChild:0}),o["\u0275qud"](335544320,41,{_labelChild:0}),o["\u0275qud"](603979776,42,{_errorChildren:1}),o["\u0275qud"](603979776,43,{_hintChildren:1}),o["\u0275qud"](603979776,44,{_prefixChildren:1}),o["\u0275qud"](603979776,45,{_suffixChildren:1}),(n()(),o["\u0275eld"](112,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,118)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,118)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,118)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](114,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](115,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](117,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](118,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,46,{options:1}),o["\u0275qud"](603979776,47,{optionGroups:1}),o["\u0275qud"](335544320,48,{customTrigger:0}),o["\u0275prd"](2048,[[39,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,oE)),o["\u0275did"](124,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](125,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},ab,ib)),o["\u0275did"](126,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](128,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](129,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](131,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](133,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](134,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](135,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](137,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](138,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,20,0,"templateName",t.vpcsTemplate.name),n(e,23,0,"Template name","text"),n(e,37,0,"defaultName",t.vpcsTemplate.default_name_format),n(e,40,0,"Default name format","text"),n(e,54,0,"scriptFile",t.vpcsTemplate.base_script_file),n(e,57,0,"Base script file","text"),n(e,71,0,"symbol",t.vpcsTemplate.symbol),n(e,74,0,"Symbol","text");var l=t.vpcsTemplate.category,o=n(e,93,0,!0);n(e,92,0,l,o),n(e,96,0,"Category"),n(e,102,0,t.categories);var r=t.vpcsTemplate.console_type,i=n(e,115,0,!0);n(e,114,0,r,i),n(e,118,0,"Console type"),n(e,124,0,t.consoleTypes);var a=t.vpcsTemplate.console_auto_start,u=n(e,129,0,!0);n(e,128,0,a,u),n(e,138,0,"primary")},function(n,e){n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,17,1,[o["\u0275nov"](e,22).ngClassUntouched,o["\u0275nov"](e,22).ngClassTouched,o["\u0275nov"](e,22).ngClassPristine,o["\u0275nov"](e,22).ngClassDirty,o["\u0275nov"](e,22).ngClassValid,o["\u0275nov"](e,22).ngClassInvalid,o["\u0275nov"](e,22).ngClassPending,o["\u0275nov"](e,23)._isServer,o["\u0275nov"](e,23).id,o["\u0275nov"](e,23).placeholder,o["\u0275nov"](e,23).disabled,o["\u0275nov"](e,23).required,o["\u0275nov"](e,23).readonly&&!o["\u0275nov"](e,23)._isNativeSelect||null,o["\u0275nov"](e,23)._ariaDescribedby||null,o["\u0275nov"](e,23).errorState,o["\u0275nov"](e,23).required.toString()]),n(e,25,1,["standard"==o["\u0275nov"](e,26).appearance,"fill"==o["\u0275nov"](e,26).appearance,"outline"==o["\u0275nov"](e,26).appearance,"legacy"==o["\u0275nov"](e,26).appearance,o["\u0275nov"](e,26)._control.errorState,o["\u0275nov"](e,26)._canLabelFloat,o["\u0275nov"](e,26)._shouldLabelFloat(),o["\u0275nov"](e,26)._hasFloatingLabel(),o["\u0275nov"](e,26)._hideControlPlaceholder(),o["\u0275nov"](e,26)._control.disabled,o["\u0275nov"](e,26)._control.autofilled,o["\u0275nov"](e,26)._control.focused,"accent"==o["\u0275nov"](e,26).color,"warn"==o["\u0275nov"](e,26).color,o["\u0275nov"](e,26)._shouldForward("untouched"),o["\u0275nov"](e,26)._shouldForward("touched"),o["\u0275nov"](e,26)._shouldForward("pristine"),o["\u0275nov"](e,26)._shouldForward("dirty"),o["\u0275nov"](e,26)._shouldForward("valid"),o["\u0275nov"](e,26)._shouldForward("invalid"),o["\u0275nov"](e,26)._shouldForward("pending"),!o["\u0275nov"](e,26)._animationsEnabled]),n(e,34,1,[o["\u0275nov"](e,39).ngClassUntouched,o["\u0275nov"](e,39).ngClassTouched,o["\u0275nov"](e,39).ngClassPristine,o["\u0275nov"](e,39).ngClassDirty,o["\u0275nov"](e,39).ngClassValid,o["\u0275nov"](e,39).ngClassInvalid,o["\u0275nov"](e,39).ngClassPending,o["\u0275nov"](e,40)._isServer,o["\u0275nov"](e,40).id,o["\u0275nov"](e,40).placeholder,o["\u0275nov"](e,40).disabled,o["\u0275nov"](e,40).required,o["\u0275nov"](e,40).readonly&&!o["\u0275nov"](e,40)._isNativeSelect||null,o["\u0275nov"](e,40)._ariaDescribedby||null,o["\u0275nov"](e,40).errorState,o["\u0275nov"](e,40).required.toString()]),n(e,42,1,["standard"==o["\u0275nov"](e,43).appearance,"fill"==o["\u0275nov"](e,43).appearance,"outline"==o["\u0275nov"](e,43).appearance,"legacy"==o["\u0275nov"](e,43).appearance,o["\u0275nov"](e,43)._control.errorState,o["\u0275nov"](e,43)._canLabelFloat,o["\u0275nov"](e,43)._shouldLabelFloat(),o["\u0275nov"](e,43)._hasFloatingLabel(),o["\u0275nov"](e,43)._hideControlPlaceholder(),o["\u0275nov"](e,43)._control.disabled,o["\u0275nov"](e,43)._control.autofilled,o["\u0275nov"](e,43)._control.focused,"accent"==o["\u0275nov"](e,43).color,"warn"==o["\u0275nov"](e,43).color,o["\u0275nov"](e,43)._shouldForward("untouched"),o["\u0275nov"](e,43)._shouldForward("touched"),o["\u0275nov"](e,43)._shouldForward("pristine"),o["\u0275nov"](e,43)._shouldForward("dirty"),o["\u0275nov"](e,43)._shouldForward("valid"),o["\u0275nov"](e,43)._shouldForward("invalid"),o["\u0275nov"](e,43)._shouldForward("pending"),!o["\u0275nov"](e,43)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,68,1,[o["\u0275nov"](e,73).ngClassUntouched,o["\u0275nov"](e,73).ngClassTouched,o["\u0275nov"](e,73).ngClassPristine,o["\u0275nov"](e,73).ngClassDirty,o["\u0275nov"](e,73).ngClassValid,o["\u0275nov"](e,73).ngClassInvalid,o["\u0275nov"](e,73).ngClassPending,o["\u0275nov"](e,74)._isServer,o["\u0275nov"](e,74).id,o["\u0275nov"](e,74).placeholder,o["\u0275nov"](e,74).disabled,o["\u0275nov"](e,74).required,o["\u0275nov"](e,74).readonly&&!o["\u0275nov"](e,74)._isNativeSelect||null,o["\u0275nov"](e,74)._ariaDescribedby||null,o["\u0275nov"](e,74).errorState,o["\u0275nov"](e,74).required.toString()]),n(e,76,0,o["\u0275nov"](e,77).disabled||null,"NoopAnimations"===o["\u0275nov"](e,77)._animationMode),n(e,81,1,["standard"==o["\u0275nov"](e,82).appearance,"fill"==o["\u0275nov"](e,82).appearance,"outline"==o["\u0275nov"](e,82).appearance,"legacy"==o["\u0275nov"](e,82).appearance,o["\u0275nov"](e,82)._control.errorState,o["\u0275nov"](e,82)._canLabelFloat,o["\u0275nov"](e,82)._shouldLabelFloat(),o["\u0275nov"](e,82)._hasFloatingLabel(),o["\u0275nov"](e,82)._hideControlPlaceholder(),o["\u0275nov"](e,82)._control.disabled,o["\u0275nov"](e,82)._control.autofilled,o["\u0275nov"](e,82)._control.focused,"accent"==o["\u0275nov"](e,82).color,"warn"==o["\u0275nov"](e,82).color,o["\u0275nov"](e,82)._shouldForward("untouched"),o["\u0275nov"](e,82)._shouldForward("touched"),o["\u0275nov"](e,82)._shouldForward("pristine"),o["\u0275nov"](e,82)._shouldForward("dirty"),o["\u0275nov"](e,82)._shouldForward("valid"),o["\u0275nov"](e,82)._shouldForward("invalid"),o["\u0275nov"](e,82)._shouldForward("pending"),!o["\u0275nov"](e,82)._animationsEnabled]),n(e,90,1,[o["\u0275nov"](e,95).ngClassUntouched,o["\u0275nov"](e,95).ngClassTouched,o["\u0275nov"](e,95).ngClassPristine,o["\u0275nov"](e,95).ngClassDirty,o["\u0275nov"](e,95).ngClassValid,o["\u0275nov"](e,95).ngClassInvalid,o["\u0275nov"](e,95).ngClassPending,o["\u0275nov"](e,96).id,o["\u0275nov"](e,96).tabIndex,o["\u0275nov"](e,96)._getAriaLabel(),o["\u0275nov"](e,96)._getAriaLabelledby(),o["\u0275nov"](e,96).required.toString(),o["\u0275nov"](e,96).disabled.toString(),o["\u0275nov"](e,96).errorState,o["\u0275nov"](e,96).panelOpen?o["\u0275nov"](e,96)._optionIds:null,o["\u0275nov"](e,96).multiple,o["\u0275nov"](e,96)._ariaDescribedby||null,o["\u0275nov"](e,96)._getAriaActiveDescendant(),o["\u0275nov"](e,96).disabled,o["\u0275nov"](e,96).errorState,o["\u0275nov"](e,96).required,o["\u0275nov"](e,96).empty]),n(e,103,1,["standard"==o["\u0275nov"](e,104).appearance,"fill"==o["\u0275nov"](e,104).appearance,"outline"==o["\u0275nov"](e,104).appearance,"legacy"==o["\u0275nov"](e,104).appearance,o["\u0275nov"](e,104)._control.errorState,o["\u0275nov"](e,104)._canLabelFloat,o["\u0275nov"](e,104)._shouldLabelFloat(),o["\u0275nov"](e,104)._hasFloatingLabel(),o["\u0275nov"](e,104)._hideControlPlaceholder(),o["\u0275nov"](e,104)._control.disabled,o["\u0275nov"](e,104)._control.autofilled,o["\u0275nov"](e,104)._control.focused,"accent"==o["\u0275nov"](e,104).color,"warn"==o["\u0275nov"](e,104).color,o["\u0275nov"](e,104)._shouldForward("untouched"),o["\u0275nov"](e,104)._shouldForward("touched"),o["\u0275nov"](e,104)._shouldForward("pristine"),o["\u0275nov"](e,104)._shouldForward("dirty"),o["\u0275nov"](e,104)._shouldForward("valid"),o["\u0275nov"](e,104)._shouldForward("invalid"),o["\u0275nov"](e,104)._shouldForward("pending"),!o["\u0275nov"](e,104)._animationsEnabled]),n(e,112,1,[o["\u0275nov"](e,117).ngClassUntouched,o["\u0275nov"](e,117).ngClassTouched,o["\u0275nov"](e,117).ngClassPristine,o["\u0275nov"](e,117).ngClassDirty,o["\u0275nov"](e,117).ngClassValid,o["\u0275nov"](e,117).ngClassInvalid,o["\u0275nov"](e,117).ngClassPending,o["\u0275nov"](e,118).id,o["\u0275nov"](e,118).tabIndex,o["\u0275nov"](e,118)._getAriaLabel(),o["\u0275nov"](e,118)._getAriaLabelledby(),o["\u0275nov"](e,118).required.toString(),o["\u0275nov"](e,118).disabled.toString(),o["\u0275nov"](e,118).errorState,o["\u0275nov"](e,118).panelOpen?o["\u0275nov"](e,118)._optionIds:null,o["\u0275nov"](e,118).multiple,o["\u0275nov"](e,118)._ariaDescribedby||null,o["\u0275nov"](e,118)._getAriaActiveDescendant(),o["\u0275nov"](e,118).disabled,o["\u0275nov"](e,118).errorState,o["\u0275nov"](e,118).required,o["\u0275nov"](e,118).empty]),n(e,125,1,[o["\u0275nov"](e,126).id,null,o["\u0275nov"](e,126).indeterminate,o["\u0275nov"](e,126).checked,o["\u0275nov"](e,126).disabled,"before"==o["\u0275nov"](e,126).labelPosition,"NoopAnimations"===o["\u0275nov"](e,126)._animationMode,o["\u0275nov"](e,131).ngClassUntouched,o["\u0275nov"](e,131).ngClassTouched,o["\u0275nov"](e,131).ngClassPristine,o["\u0275nov"](e,131).ngClassDirty,o["\u0275nov"](e,131).ngClassValid,o["\u0275nov"](e,131).ngClassInvalid,o["\u0275nov"](e,131).ngClassPending]),n(e,134,0,o["\u0275nov"](e,135).disabled||null,"NoopAnimations"===o["\u0275nov"](e,135)._animationMode),n(e,137,0,o["\u0275nov"](e,138).disabled||null,"NoopAnimations"===o["\u0275nov"](e,138)._animationMode)})}function iE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 aE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VPCS device configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,rE)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,iE)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.vpcsTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.vpcsTemplate)},null)}function uE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vpcs-template-details",[],null,null,null,aE,tE)),o["\u0275did"](1,114688,null,0,eE,[bt,Uh,zk,fc,lv,nE,Rl],null,null)],function(n,e){n(e,1,0)},null)}var sE=o["\u0275ccf"]("app-vpcs-template-details",eE,uE,{},{},[]),dE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vpcsService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Bm(null,[nm.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.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(ag.v4)(),n.name=this.templateName,this.vpcsService.addTemplate(this.server,n).subscribe(function(){e.goBack()}))},n}(),cE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function pE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VPCS node template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){n(e,10,0,e.component.templateNameForm),n(e,25,0,"templateName"),n(e,28,0,"Template name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function fE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-vpcs-template",[],null,null,null,pE,cE)),o["\u0275did"](1,114688,null,0,dE,[bt,Uh,zk,Rl,fc,D_,lv],null,null)],function(n,e){n(e,1,0)},null)}var hE=o["\u0275ccf"]("app-add-vpcs-template",dE,fE,{},{},[]),mE=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}(),vE=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}(),gE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function bE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function yE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Virtual Box VM template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/virtualbox/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function _E(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function wE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function CE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,wE)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.virtualBoxTemplates)},null)}function xE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,CE)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function SE(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VirtualBox VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,bE)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,yE)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,_E)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,xE)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 kE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-virtual-box-templates",[],null,null,null,SE,gE)),o["\u0275did"](1,114688,null,0,vE,[bt,Uh,mE],null,null)],function(n,e){n(e,1,0)},null)}var EE=o["\u0275ccf"]("app-virtual-box-templates",vE,kE,{},{},[]),TE=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}(),RE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.formBuilder=o,this.virtualBoxConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.onCloseOptions=[],this.categories=[],this.networkTypes=[],this.displayedColumns=["adapter_number","port_name","adapter_type"],this.isConfiguratorOpened=!1,this.generalSettingsForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.required),ram:new Bm("",nm.required)}),this.networkForm=this.formBuilder.group({adapters:new Bm("",nm.required),nameFormat:new Bm("",nm.required),size:new Bm("",nm.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}(),IE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function OE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[32,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function FE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[42,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function DE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[59,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function ME(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[98,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function NE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,338,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,330,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,178,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,3,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,152,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,11,{_control:0}),o["\u0275qud"](335544320,12,{_placeholderChild:0}),o["\u0275qud"](335544320,13,{_labelChild:0}),o["\u0275qud"](603979776,14,{_errorChildren:1}),o["\u0275qud"](603979776,15,{_hintChildren:1}),o["\u0275qud"](603979776,16,{_prefixChildren:1}),o["\u0275qud"](603979776,17,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[11,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,16,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,18,{_control:0}),o["\u0275qud"](335544320,19,{_placeholderChild:0}),o["\u0275qud"](335544320,20,{_labelChild:0}),o["\u0275qud"](603979776,21,{_errorChildren:1}),o["\u0275qud"](603979776,22,{_hintChildren:1}),o["\u0275qud"](603979776,23,{_prefixChildren:1}),o["\u0275qud"](603979776,24,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,65)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,70)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](65,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](67,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[18,4]],db,null,[qb]),(n()(),o["\u0275eld"](72,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](73,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](75,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](76,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,null,21,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,25,{_control:0}),o["\u0275qud"](335544320,26,{_placeholderChild:0}),o["\u0275qud"](335544320,27,{_labelChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,92)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](88,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](89,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](91,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](92,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,32,{options:1}),o["\u0275qud"](603979776,33,{optionGroups:1}),o["\u0275qud"](335544320,34,{customTrigger:0}),o["\u0275prd"](2048,[[25,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,OE)),o["\u0275did"](98,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](99,0,null,null,21,"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,Fb,yb)),o["\u0275did"](100,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,35,{_control:0}),o["\u0275qud"](335544320,36,{_placeholderChild:0}),o["\u0275qud"](335544320,37,{_labelChild:0}),o["\u0275qud"](603979776,38,{_errorChildren:1}),o["\u0275qud"](603979776,39,{_hintChildren:1}),o["\u0275qud"](603979776,40,{_prefixChildren:1}),o["\u0275qud"](603979776,41,{_suffixChildren:1}),(n()(),o["\u0275eld"](108,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,114)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,114)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,114)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](110,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](111,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](113,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](114,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,42,{options:1}),o["\u0275qud"](603979776,43,{optionGroups:1}),o["\u0275qud"](335544320,44,{customTrigger:0}),o["\u0275prd"](2048,[[35,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,FE)),o["\u0275did"](120,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](121,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},ab,ib)),o["\u0275did"](122,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](124,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](125,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](127,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](129,0,null,null,17,"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,Fb,yb)),o["\u0275did"](130,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,45,{_control:0}),o["\u0275qud"](335544320,46,{_placeholderChild:0}),o["\u0275qud"](335544320,47,{_labelChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](138,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,139)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,139).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,139)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,139)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,140).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,140).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,140).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,145)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,145)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,145)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](139,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](140,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](142,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](144,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](145,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[45,4]],db,null,[qb]),(n()(),o["\u0275eld"](147,0,null,null,21,"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,Fb,yb)),o["\u0275did"](148,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,52,{_control:0}),o["\u0275qud"](335544320,53,{_placeholderChild:0}),o["\u0275qud"](335544320,54,{_labelChild:0}),o["\u0275qud"](603979776,55,{_errorChildren:1}),o["\u0275qud"](603979776,56,{_hintChildren:1}),o["\u0275qud"](603979776,57,{_prefixChildren:1}),o["\u0275qud"](603979776,58,{_suffixChildren:1}),(n()(),o["\u0275eld"](156,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,162)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,162)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,162)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.on_close=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](158,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](159,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](161,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](162,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,59,{options:1}),o["\u0275qud"](603979776,60,{optionGroups:1}),o["\u0275qud"](335544320,61,{customTrigger:0}),o["\u0275prd"](2048,[[52,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,DE)),o["\u0275did"](168,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](169,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},ab,ib)),o["\u0275did"](170,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](172,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](174,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Start VM in headless mode "])),(n()(),o["\u0275eld"](176,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](177,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},ab,ib)),o["\u0275did"](178,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](180,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](182,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](184,16777216,null,null,119,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](185,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,62,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](188,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,189)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,189)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](189,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](190,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](191,{value:0,params:1}),(n()(),o["\u0275eld"](192,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](193,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](195,0,null,1,97,"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["\u0275nov"](n,197).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,197).onReset()&&l),l},null,null)),o["\u0275did"](196,16384,null,0,ov,[],null,null),o["\u0275did"](197,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](199,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](200,0,null,null,17,"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,Fb,yb)),o["\u0275did"](201,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,63,{_control:0}),o["\u0275qud"](335544320,64,{_placeholderChild:0}),o["\u0275qud"](335544320,65,{_labelChild:0}),o["\u0275qud"](603979776,66,{_errorChildren:1}),o["\u0275qud"](603979776,67,{_hintChildren:1}),o["\u0275qud"](603979776,68,{_prefixChildren:1}),o["\u0275qud"](603979776,69,{_suffixChildren:1}),(n()(),o["\u0275eld"](209,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,210)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,210).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,210)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,210)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,211).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,211).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,211).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,216)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,216)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,216)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](210,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](211,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](213,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](215,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](216,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[63,4]],db,null,[qb]),(n()(),o["\u0275eld"](218,0,null,null,17,"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,Fb,yb)),o["\u0275did"](219,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,70,{_control:0}),o["\u0275qud"](335544320,71,{_placeholderChild:0}),o["\u0275qud"](335544320,72,{_labelChild:0}),o["\u0275qud"](603979776,73,{_errorChildren:1}),o["\u0275qud"](603979776,74,{_hintChildren:1}),o["\u0275qud"](603979776,75,{_prefixChildren:1}),o["\u0275qud"](603979776,76,{_suffixChildren:1}),(n()(),o["\u0275eld"](227,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,228)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,228).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,228)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,228)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,234)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,234)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,234)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](228,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](230,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](231,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](233,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](234,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[70,4]],db,null,[qb]),(n()(),o["\u0275eld"](236,0,null,null,16,"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,Fb,yb)),o["\u0275did"](237,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,77,{_control:0}),o["\u0275qud"](335544320,78,{_placeholderChild:0}),o["\u0275qud"](335544320,79,{_labelChild:0}),o["\u0275qud"](603979776,80,{_errorChildren:1}),o["\u0275qud"](603979776,81,{_hintChildren:1}),o["\u0275qud"](603979776,82,{_prefixChildren:1}),o["\u0275qud"](603979776,83,{_suffixChildren:1}),(n()(),o["\u0275eld"](245,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,246)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,246).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,251)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,251)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,251)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](246,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](248,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](250,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](251,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[77,4]],db,null,[qb]),(n()(),o["\u0275eld"](253,0,null,null,17,"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,Fb,yb)),o["\u0275did"](254,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,84,{_control:0}),o["\u0275qud"](335544320,85,{_placeholderChild:0}),o["\u0275qud"](335544320,86,{_labelChild:0}),o["\u0275qud"](603979776,87,{_errorChildren:1}),o["\u0275qud"](603979776,88,{_hintChildren:1}),o["\u0275qud"](603979776,89,{_prefixChildren:1}),o["\u0275qud"](603979776,90,{_suffixChildren:1}),(n()(),o["\u0275eld"](262,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,263)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,263).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,263)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,263)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,264).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,264).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,264).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,269)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,269)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,269)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](263,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](264,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](266,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](268,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](269,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[84,4]],db,null,[qb]),(n()(),o["\u0275eld"](271,0,null,null,21,"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,Fb,yb)),o["\u0275did"](272,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,91,{_control:0}),o["\u0275qud"](335544320,92,{_placeholderChild:0}),o["\u0275qud"](335544320,93,{_labelChild:0}),o["\u0275qud"](603979776,94,{_errorChildren:1}),o["\u0275qud"](603979776,95,{_hintChildren:1}),o["\u0275qud"](603979776,96,{_prefixChildren:1}),o["\u0275qud"](603979776,97,{_suffixChildren:1}),(n()(),o["\u0275eld"](280,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,286)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,286)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,286)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.adapter_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](282,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](283,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](285,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](286,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,98,{options:1}),o["\u0275qud"](603979776,99,{optionGroups:1}),o["\u0275qud"](335544320,100,{customTrigger:0}),o["\u0275prd"](2048,[[91,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,ME)),o["\u0275did"](292,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](293,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](294,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](296,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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.virtualBoxTemplate.use_any_adapter=t)&&l),l},ab,ib)),o["\u0275did"](298,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](300,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](302,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Allow GNS3 to use any configured VirtualBox adapter "])),(n()(),o["\u0275eld"](304,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](305,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,101,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,309)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,309)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](309,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](310,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](311,{value:0,params:1}),(n()(),o["\u0275eld"](312,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](313,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](315,0,null,1,16,"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,Fb,yb)),o["\u0275did"](316,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,102,{_control:0}),o["\u0275qud"](335544320,103,{_placeholderChild:0}),o["\u0275qud"](335544320,104,{_labelChild:0}),o["\u0275qud"](603979776,105,{_errorChildren:1}),o["\u0275qud"](603979776,106,{_hintChildren:1}),o["\u0275qud"](603979776,107,{_prefixChildren:1}),o["\u0275qud"](603979776,108,{_suffixChildren:1}),(n()(),o["\u0275eld"](324,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,325)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,325).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,325)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,325)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,330)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,330)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,330)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](325,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](327,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](329,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](330,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[102,4]],db,null,[qb]),(n()(),o["\u0275eld"](332,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](333,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](334,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](336,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](337,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.virtualBoxTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.virtualBoxTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,67,0,"symbol",t.virtualBoxTemplate.symbol),n(e,70,0,"Symbol","text");var l=t.virtualBoxTemplate.category,o=n(e,89,0,!0);n(e,88,0,l,o),n(e,92,0,"Category"),n(e,98,0,t.categories);var r=t.virtualBoxTemplate.console_type,i=n(e,111,0,!0);n(e,110,0,r,i),n(e,114,0,"Console type"),n(e,120,0,t.consoleTypes);var a=t.virtualBoxTemplate.console_auto_start,u=n(e,125,0,!0);n(e,124,0,a,u),n(e,142,0,"ram",t.virtualBoxTemplate.ram),n(e,145,0,"RAM","number");var s=t.virtualBoxTemplate.on_close,d=n(e,159,0,!0);n(e,158,0,s,d),n(e,162,0,"On close"),n(e,168,0,t.onCloseOptions),n(e,172,0,t.virtualBoxTemplate.headless),n(e,180,0,t.virtualBoxTemplate.linked_clone),n(e,197,0,t.networkForm),n(e,213,0,"adapters",t.virtualBoxTemplate.adapters),n(e,216,0,"Adapters","number");var c=t.virtualBoxTemplate.first_port_name,p=n(e,231,0,!0);n(e,230,0,c,p),n(e,234,0,"First port name","text"),n(e,248,0,"nameFormat",t.virtualBoxTemplate.port_name_format),n(e,251,0,"Name format","text"),n(e,266,0,"size",t.virtualBoxTemplate.port_segment_size),n(e,269,0,"Segment size","number");var f=t.virtualBoxTemplate.adapter_type,h=n(e,283,0,!0);n(e,282,0,f,h),n(e,286,0,"Type"),n(e,292,0,t.networkTypes),n(e,300,0,t.virtualBoxTemplate.use_any_adapter),n(e,327,0,t.virtualBoxTemplate.usage),n(e,330,0,"text"),n(e,337,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70)._isServer,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).placeholder,o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).readonly&&!o["\u0275nov"](e,70)._isNativeSelect||null,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required.toString()]),n(e,72,0,o["\u0275nov"](e,73).disabled||null,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).tabIndex,o["\u0275nov"](e,92)._getAriaLabel(),o["\u0275nov"](e,92)._getAriaLabelledby(),o["\u0275nov"](e,92).required.toString(),o["\u0275nov"](e,92).disabled.toString(),o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).panelOpen?o["\u0275nov"](e,92)._optionIds:null,o["\u0275nov"](e,92).multiple,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92)._getAriaActiveDescendant(),o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).empty]),n(e,99,1,["standard"==o["\u0275nov"](e,100).appearance,"fill"==o["\u0275nov"](e,100).appearance,"outline"==o["\u0275nov"](e,100).appearance,"legacy"==o["\u0275nov"](e,100).appearance,o["\u0275nov"](e,100)._control.errorState,o["\u0275nov"](e,100)._canLabelFloat,o["\u0275nov"](e,100)._shouldLabelFloat(),o["\u0275nov"](e,100)._hasFloatingLabel(),o["\u0275nov"](e,100)._hideControlPlaceholder(),o["\u0275nov"](e,100)._control.disabled,o["\u0275nov"](e,100)._control.autofilled,o["\u0275nov"](e,100)._control.focused,"accent"==o["\u0275nov"](e,100).color,"warn"==o["\u0275nov"](e,100).color,o["\u0275nov"](e,100)._shouldForward("untouched"),o["\u0275nov"](e,100)._shouldForward("touched"),o["\u0275nov"](e,100)._shouldForward("pristine"),o["\u0275nov"](e,100)._shouldForward("dirty"),o["\u0275nov"](e,100)._shouldForward("valid"),o["\u0275nov"](e,100)._shouldForward("invalid"),o["\u0275nov"](e,100)._shouldForward("pending"),!o["\u0275nov"](e,100)._animationsEnabled]),n(e,108,1,[o["\u0275nov"](e,113).ngClassUntouched,o["\u0275nov"](e,113).ngClassTouched,o["\u0275nov"](e,113).ngClassPristine,o["\u0275nov"](e,113).ngClassDirty,o["\u0275nov"](e,113).ngClassValid,o["\u0275nov"](e,113).ngClassInvalid,o["\u0275nov"](e,113).ngClassPending,o["\u0275nov"](e,114).id,o["\u0275nov"](e,114).tabIndex,o["\u0275nov"](e,114)._getAriaLabel(),o["\u0275nov"](e,114)._getAriaLabelledby(),o["\u0275nov"](e,114).required.toString(),o["\u0275nov"](e,114).disabled.toString(),o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).panelOpen?o["\u0275nov"](e,114)._optionIds:null,o["\u0275nov"](e,114).multiple,o["\u0275nov"](e,114)._ariaDescribedby||null,o["\u0275nov"](e,114)._getAriaActiveDescendant(),o["\u0275nov"](e,114).disabled,o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).required,o["\u0275nov"](e,114).empty]),n(e,121,1,[o["\u0275nov"](e,122).id,null,o["\u0275nov"](e,122).indeterminate,o["\u0275nov"](e,122).checked,o["\u0275nov"](e,122).disabled,"before"==o["\u0275nov"](e,122).labelPosition,"NoopAnimations"===o["\u0275nov"](e,122)._animationMode,o["\u0275nov"](e,127).ngClassUntouched,o["\u0275nov"](e,127).ngClassTouched,o["\u0275nov"](e,127).ngClassPristine,o["\u0275nov"](e,127).ngClassDirty,o["\u0275nov"](e,127).ngClassValid,o["\u0275nov"](e,127).ngClassInvalid,o["\u0275nov"](e,127).ngClassPending]),n(e,129,1,["standard"==o["\u0275nov"](e,130).appearance,"fill"==o["\u0275nov"](e,130).appearance,"outline"==o["\u0275nov"](e,130).appearance,"legacy"==o["\u0275nov"](e,130).appearance,o["\u0275nov"](e,130)._control.errorState,o["\u0275nov"](e,130)._canLabelFloat,o["\u0275nov"](e,130)._shouldLabelFloat(),o["\u0275nov"](e,130)._hasFloatingLabel(),o["\u0275nov"](e,130)._hideControlPlaceholder(),o["\u0275nov"](e,130)._control.disabled,o["\u0275nov"](e,130)._control.autofilled,o["\u0275nov"](e,130)._control.focused,"accent"==o["\u0275nov"](e,130).color,"warn"==o["\u0275nov"](e,130).color,o["\u0275nov"](e,130)._shouldForward("untouched"),o["\u0275nov"](e,130)._shouldForward("touched"),o["\u0275nov"](e,130)._shouldForward("pristine"),o["\u0275nov"](e,130)._shouldForward("dirty"),o["\u0275nov"](e,130)._shouldForward("valid"),o["\u0275nov"](e,130)._shouldForward("invalid"),o["\u0275nov"](e,130)._shouldForward("pending"),!o["\u0275nov"](e,130)._animationsEnabled]),n(e,138,1,[o["\u0275nov"](e,144).ngClassUntouched,o["\u0275nov"](e,144).ngClassTouched,o["\u0275nov"](e,144).ngClassPristine,o["\u0275nov"](e,144).ngClassDirty,o["\u0275nov"](e,144).ngClassValid,o["\u0275nov"](e,144).ngClassInvalid,o["\u0275nov"](e,144).ngClassPending,o["\u0275nov"](e,145)._isServer,o["\u0275nov"](e,145).id,o["\u0275nov"](e,145).placeholder,o["\u0275nov"](e,145).disabled,o["\u0275nov"](e,145).required,o["\u0275nov"](e,145).readonly&&!o["\u0275nov"](e,145)._isNativeSelect||null,o["\u0275nov"](e,145)._ariaDescribedby||null,o["\u0275nov"](e,145).errorState,o["\u0275nov"](e,145).required.toString()]),n(e,147,1,["standard"==o["\u0275nov"](e,148).appearance,"fill"==o["\u0275nov"](e,148).appearance,"outline"==o["\u0275nov"](e,148).appearance,"legacy"==o["\u0275nov"](e,148).appearance,o["\u0275nov"](e,148)._control.errorState,o["\u0275nov"](e,148)._canLabelFloat,o["\u0275nov"](e,148)._shouldLabelFloat(),o["\u0275nov"](e,148)._hasFloatingLabel(),o["\u0275nov"](e,148)._hideControlPlaceholder(),o["\u0275nov"](e,148)._control.disabled,o["\u0275nov"](e,148)._control.autofilled,o["\u0275nov"](e,148)._control.focused,"accent"==o["\u0275nov"](e,148).color,"warn"==o["\u0275nov"](e,148).color,o["\u0275nov"](e,148)._shouldForward("untouched"),o["\u0275nov"](e,148)._shouldForward("touched"),o["\u0275nov"](e,148)._shouldForward("pristine"),o["\u0275nov"](e,148)._shouldForward("dirty"),o["\u0275nov"](e,148)._shouldForward("valid"),o["\u0275nov"](e,148)._shouldForward("invalid"),o["\u0275nov"](e,148)._shouldForward("pending"),!o["\u0275nov"](e,148)._animationsEnabled]),n(e,156,1,[o["\u0275nov"](e,161).ngClassUntouched,o["\u0275nov"](e,161).ngClassTouched,o["\u0275nov"](e,161).ngClassPristine,o["\u0275nov"](e,161).ngClassDirty,o["\u0275nov"](e,161).ngClassValid,o["\u0275nov"](e,161).ngClassInvalid,o["\u0275nov"](e,161).ngClassPending,o["\u0275nov"](e,162).id,o["\u0275nov"](e,162).tabIndex,o["\u0275nov"](e,162)._getAriaLabel(),o["\u0275nov"](e,162)._getAriaLabelledby(),o["\u0275nov"](e,162).required.toString(),o["\u0275nov"](e,162).disabled.toString(),o["\u0275nov"](e,162).errorState,o["\u0275nov"](e,162).panelOpen?o["\u0275nov"](e,162)._optionIds:null,o["\u0275nov"](e,162).multiple,o["\u0275nov"](e,162)._ariaDescribedby||null,o["\u0275nov"](e,162)._getAriaActiveDescendant(),o["\u0275nov"](e,162).disabled,o["\u0275nov"](e,162).errorState,o["\u0275nov"](e,162).required,o["\u0275nov"](e,162).empty]),n(e,169,1,[o["\u0275nov"](e,170).id,null,o["\u0275nov"](e,170).indeterminate,o["\u0275nov"](e,170).checked,o["\u0275nov"](e,170).disabled,"before"==o["\u0275nov"](e,170).labelPosition,"NoopAnimations"===o["\u0275nov"](e,170)._animationMode,o["\u0275nov"](e,174).ngClassUntouched,o["\u0275nov"](e,174).ngClassTouched,o["\u0275nov"](e,174).ngClassPristine,o["\u0275nov"](e,174).ngClassDirty,o["\u0275nov"](e,174).ngClassValid,o["\u0275nov"](e,174).ngClassInvalid,o["\u0275nov"](e,174).ngClassPending]),n(e,177,1,[o["\u0275nov"](e,178).id,null,o["\u0275nov"](e,178).indeterminate,o["\u0275nov"](e,178).checked,o["\u0275nov"](e,178).disabled,"before"==o["\u0275nov"](e,178).labelPosition,"NoopAnimations"===o["\u0275nov"](e,178)._animationMode,o["\u0275nov"](e,182).ngClassUntouched,o["\u0275nov"](e,182).ngClassTouched,o["\u0275nov"](e,182).ngClassPristine,o["\u0275nov"](e,182).ngClassDirty,o["\u0275nov"](e,182).ngClassValid,o["\u0275nov"](e,182).ngClassInvalid,o["\u0275nov"](e,182).ngClassPending]),n(e,184,0,o["\u0275nov"](e,185).expanded,"NoopAnimations"===o["\u0275nov"](e,185)._animationMode,o["\u0275nov"](e,185)._hasSpacing());var d=o["\u0275nov"](e,189).panel._headerId,c=o["\u0275nov"](e,189).disabled?-1:0,p=o["\u0275nov"](e,189)._getPanelId(),f=o["\u0275nov"](e,189)._isExpanded(),h=o["\u0275nov"](e,189).panel.disabled,m=o["\u0275nov"](e,189)._isExpanded(),v=n(e,191,0,o["\u0275nov"](e,189)._getExpandedState(),n(e,190,0,o["\u0275nov"](e,189).collapsedHeight,o["\u0275nov"](e,189).expandedHeight));n(e,188,0,d,c,p,f,h,m,v),n(e,195,0,o["\u0275nov"](e,199).ngClassUntouched,o["\u0275nov"](e,199).ngClassTouched,o["\u0275nov"](e,199).ngClassPristine,o["\u0275nov"](e,199).ngClassDirty,o["\u0275nov"](e,199).ngClassValid,o["\u0275nov"](e,199).ngClassInvalid,o["\u0275nov"](e,199).ngClassPending),n(e,200,1,["standard"==o["\u0275nov"](e,201).appearance,"fill"==o["\u0275nov"](e,201).appearance,"outline"==o["\u0275nov"](e,201).appearance,"legacy"==o["\u0275nov"](e,201).appearance,o["\u0275nov"](e,201)._control.errorState,o["\u0275nov"](e,201)._canLabelFloat,o["\u0275nov"](e,201)._shouldLabelFloat(),o["\u0275nov"](e,201)._hasFloatingLabel(),o["\u0275nov"](e,201)._hideControlPlaceholder(),o["\u0275nov"](e,201)._control.disabled,o["\u0275nov"](e,201)._control.autofilled,o["\u0275nov"](e,201)._control.focused,"accent"==o["\u0275nov"](e,201).color,"warn"==o["\u0275nov"](e,201).color,o["\u0275nov"](e,201)._shouldForward("untouched"),o["\u0275nov"](e,201)._shouldForward("touched"),o["\u0275nov"](e,201)._shouldForward("pristine"),o["\u0275nov"](e,201)._shouldForward("dirty"),o["\u0275nov"](e,201)._shouldForward("valid"),o["\u0275nov"](e,201)._shouldForward("invalid"),o["\u0275nov"](e,201)._shouldForward("pending"),!o["\u0275nov"](e,201)._animationsEnabled]),n(e,209,1,[o["\u0275nov"](e,215).ngClassUntouched,o["\u0275nov"](e,215).ngClassTouched,o["\u0275nov"](e,215).ngClassPristine,o["\u0275nov"](e,215).ngClassDirty,o["\u0275nov"](e,215).ngClassValid,o["\u0275nov"](e,215).ngClassInvalid,o["\u0275nov"](e,215).ngClassPending,o["\u0275nov"](e,216)._isServer,o["\u0275nov"](e,216).id,o["\u0275nov"](e,216).placeholder,o["\u0275nov"](e,216).disabled,o["\u0275nov"](e,216).required,o["\u0275nov"](e,216).readonly&&!o["\u0275nov"](e,216)._isNativeSelect||null,o["\u0275nov"](e,216)._ariaDescribedby||null,o["\u0275nov"](e,216).errorState,o["\u0275nov"](e,216).required.toString()]),n(e,218,1,["standard"==o["\u0275nov"](e,219).appearance,"fill"==o["\u0275nov"](e,219).appearance,"outline"==o["\u0275nov"](e,219).appearance,"legacy"==o["\u0275nov"](e,219).appearance,o["\u0275nov"](e,219)._control.errorState,o["\u0275nov"](e,219)._canLabelFloat,o["\u0275nov"](e,219)._shouldLabelFloat(),o["\u0275nov"](e,219)._hasFloatingLabel(),o["\u0275nov"](e,219)._hideControlPlaceholder(),o["\u0275nov"](e,219)._control.disabled,o["\u0275nov"](e,219)._control.autofilled,o["\u0275nov"](e,219)._control.focused,"accent"==o["\u0275nov"](e,219).color,"warn"==o["\u0275nov"](e,219).color,o["\u0275nov"](e,219)._shouldForward("untouched"),o["\u0275nov"](e,219)._shouldForward("touched"),o["\u0275nov"](e,219)._shouldForward("pristine"),o["\u0275nov"](e,219)._shouldForward("dirty"),o["\u0275nov"](e,219)._shouldForward("valid"),o["\u0275nov"](e,219)._shouldForward("invalid"),o["\u0275nov"](e,219)._shouldForward("pending"),!o["\u0275nov"](e,219)._animationsEnabled]),n(e,227,1,[o["\u0275nov"](e,233).ngClassUntouched,o["\u0275nov"](e,233).ngClassTouched,o["\u0275nov"](e,233).ngClassPristine,o["\u0275nov"](e,233).ngClassDirty,o["\u0275nov"](e,233).ngClassValid,o["\u0275nov"](e,233).ngClassInvalid,o["\u0275nov"](e,233).ngClassPending,o["\u0275nov"](e,234)._isServer,o["\u0275nov"](e,234).id,o["\u0275nov"](e,234).placeholder,o["\u0275nov"](e,234).disabled,o["\u0275nov"](e,234).required,o["\u0275nov"](e,234).readonly&&!o["\u0275nov"](e,234)._isNativeSelect||null,o["\u0275nov"](e,234)._ariaDescribedby||null,o["\u0275nov"](e,234).errorState,o["\u0275nov"](e,234).required.toString()]),n(e,236,1,["standard"==o["\u0275nov"](e,237).appearance,"fill"==o["\u0275nov"](e,237).appearance,"outline"==o["\u0275nov"](e,237).appearance,"legacy"==o["\u0275nov"](e,237).appearance,o["\u0275nov"](e,237)._control.errorState,o["\u0275nov"](e,237)._canLabelFloat,o["\u0275nov"](e,237)._shouldLabelFloat(),o["\u0275nov"](e,237)._hasFloatingLabel(),o["\u0275nov"](e,237)._hideControlPlaceholder(),o["\u0275nov"](e,237)._control.disabled,o["\u0275nov"](e,237)._control.autofilled,o["\u0275nov"](e,237)._control.focused,"accent"==o["\u0275nov"](e,237).color,"warn"==o["\u0275nov"](e,237).color,o["\u0275nov"](e,237)._shouldForward("untouched"),o["\u0275nov"](e,237)._shouldForward("touched"),o["\u0275nov"](e,237)._shouldForward("pristine"),o["\u0275nov"](e,237)._shouldForward("dirty"),o["\u0275nov"](e,237)._shouldForward("valid"),o["\u0275nov"](e,237)._shouldForward("invalid"),o["\u0275nov"](e,237)._shouldForward("pending"),!o["\u0275nov"](e,237)._animationsEnabled]),n(e,245,1,[o["\u0275nov"](e,250).ngClassUntouched,o["\u0275nov"](e,250).ngClassTouched,o["\u0275nov"](e,250).ngClassPristine,o["\u0275nov"](e,250).ngClassDirty,o["\u0275nov"](e,250).ngClassValid,o["\u0275nov"](e,250).ngClassInvalid,o["\u0275nov"](e,250).ngClassPending,o["\u0275nov"](e,251)._isServer,o["\u0275nov"](e,251).id,o["\u0275nov"](e,251).placeholder,o["\u0275nov"](e,251).disabled,o["\u0275nov"](e,251).required,o["\u0275nov"](e,251).readonly&&!o["\u0275nov"](e,251)._isNativeSelect||null,o["\u0275nov"](e,251)._ariaDescribedby||null,o["\u0275nov"](e,251).errorState,o["\u0275nov"](e,251).required.toString()]),n(e,253,1,["standard"==o["\u0275nov"](e,254).appearance,"fill"==o["\u0275nov"](e,254).appearance,"outline"==o["\u0275nov"](e,254).appearance,"legacy"==o["\u0275nov"](e,254).appearance,o["\u0275nov"](e,254)._control.errorState,o["\u0275nov"](e,254)._canLabelFloat,o["\u0275nov"](e,254)._shouldLabelFloat(),o["\u0275nov"](e,254)._hasFloatingLabel(),o["\u0275nov"](e,254)._hideControlPlaceholder(),o["\u0275nov"](e,254)._control.disabled,o["\u0275nov"](e,254)._control.autofilled,o["\u0275nov"](e,254)._control.focused,"accent"==o["\u0275nov"](e,254).color,"warn"==o["\u0275nov"](e,254).color,o["\u0275nov"](e,254)._shouldForward("untouched"),o["\u0275nov"](e,254)._shouldForward("touched"),o["\u0275nov"](e,254)._shouldForward("pristine"),o["\u0275nov"](e,254)._shouldForward("dirty"),o["\u0275nov"](e,254)._shouldForward("valid"),o["\u0275nov"](e,254)._shouldForward("invalid"),o["\u0275nov"](e,254)._shouldForward("pending"),!o["\u0275nov"](e,254)._animationsEnabled]),n(e,262,1,[o["\u0275nov"](e,268).ngClassUntouched,o["\u0275nov"](e,268).ngClassTouched,o["\u0275nov"](e,268).ngClassPristine,o["\u0275nov"](e,268).ngClassDirty,o["\u0275nov"](e,268).ngClassValid,o["\u0275nov"](e,268).ngClassInvalid,o["\u0275nov"](e,268).ngClassPending,o["\u0275nov"](e,269)._isServer,o["\u0275nov"](e,269).id,o["\u0275nov"](e,269).placeholder,o["\u0275nov"](e,269).disabled,o["\u0275nov"](e,269).required,o["\u0275nov"](e,269).readonly&&!o["\u0275nov"](e,269)._isNativeSelect||null,o["\u0275nov"](e,269)._ariaDescribedby||null,o["\u0275nov"](e,269).errorState,o["\u0275nov"](e,269).required.toString()]),n(e,271,1,["standard"==o["\u0275nov"](e,272).appearance,"fill"==o["\u0275nov"](e,272).appearance,"outline"==o["\u0275nov"](e,272).appearance,"legacy"==o["\u0275nov"](e,272).appearance,o["\u0275nov"](e,272)._control.errorState,o["\u0275nov"](e,272)._canLabelFloat,o["\u0275nov"](e,272)._shouldLabelFloat(),o["\u0275nov"](e,272)._hasFloatingLabel(),o["\u0275nov"](e,272)._hideControlPlaceholder(),o["\u0275nov"](e,272)._control.disabled,o["\u0275nov"](e,272)._control.autofilled,o["\u0275nov"](e,272)._control.focused,"accent"==o["\u0275nov"](e,272).color,"warn"==o["\u0275nov"](e,272).color,o["\u0275nov"](e,272)._shouldForward("untouched"),o["\u0275nov"](e,272)._shouldForward("touched"),o["\u0275nov"](e,272)._shouldForward("pristine"),o["\u0275nov"](e,272)._shouldForward("dirty"),o["\u0275nov"](e,272)._shouldForward("valid"),o["\u0275nov"](e,272)._shouldForward("invalid"),o["\u0275nov"](e,272)._shouldForward("pending"),!o["\u0275nov"](e,272)._animationsEnabled]),n(e,280,1,[o["\u0275nov"](e,285).ngClassUntouched,o["\u0275nov"](e,285).ngClassTouched,o["\u0275nov"](e,285).ngClassPristine,o["\u0275nov"](e,285).ngClassDirty,o["\u0275nov"](e,285).ngClassValid,o["\u0275nov"](e,285).ngClassInvalid,o["\u0275nov"](e,285).ngClassPending,o["\u0275nov"](e,286).id,o["\u0275nov"](e,286).tabIndex,o["\u0275nov"](e,286)._getAriaLabel(),o["\u0275nov"](e,286)._getAriaLabelledby(),o["\u0275nov"](e,286).required.toString(),o["\u0275nov"](e,286).disabled.toString(),o["\u0275nov"](e,286).errorState,o["\u0275nov"](e,286).panelOpen?o["\u0275nov"](e,286)._optionIds:null,o["\u0275nov"](e,286).multiple,o["\u0275nov"](e,286)._ariaDescribedby||null,o["\u0275nov"](e,286)._getAriaActiveDescendant(),o["\u0275nov"](e,286).disabled,o["\u0275nov"](e,286).errorState,o["\u0275nov"](e,286).required,o["\u0275nov"](e,286).empty]),n(e,293,0,o["\u0275nov"](e,294).disabled||null,"NoopAnimations"===o["\u0275nov"](e,294)._animationMode),n(e,297,1,[o["\u0275nov"](e,298).id,null,o["\u0275nov"](e,298).indeterminate,o["\u0275nov"](e,298).checked,o["\u0275nov"](e,298).disabled,"before"==o["\u0275nov"](e,298).labelPosition,"NoopAnimations"===o["\u0275nov"](e,298)._animationMode,o["\u0275nov"](e,302).ngClassUntouched,o["\u0275nov"](e,302).ngClassTouched,o["\u0275nov"](e,302).ngClassPristine,o["\u0275nov"](e,302).ngClassDirty,o["\u0275nov"](e,302).ngClassValid,o["\u0275nov"](e,302).ngClassInvalid,o["\u0275nov"](e,302).ngClassPending]),n(e,304,0,o["\u0275nov"](e,305).expanded,"NoopAnimations"===o["\u0275nov"](e,305)._animationMode,o["\u0275nov"](e,305)._hasSpacing());var g=o["\u0275nov"](e,309).panel._headerId,b=o["\u0275nov"](e,309).disabled?-1:0,y=o["\u0275nov"](e,309)._getPanelId(),_=o["\u0275nov"](e,309)._isExpanded(),w=o["\u0275nov"](e,309).panel.disabled,C=o["\u0275nov"](e,309)._isExpanded(),x=n(e,311,0,o["\u0275nov"](e,309)._getExpandedState(),n(e,310,0,o["\u0275nov"](e,309).collapsedHeight,o["\u0275nov"](e,309).expandedHeight));n(e,308,0,g,b,y,_,w,C,x),n(e,315,1,["standard"==o["\u0275nov"](e,316).appearance,"fill"==o["\u0275nov"](e,316).appearance,"outline"==o["\u0275nov"](e,316).appearance,"legacy"==o["\u0275nov"](e,316).appearance,o["\u0275nov"](e,316)._control.errorState,o["\u0275nov"](e,316)._canLabelFloat,o["\u0275nov"](e,316)._shouldLabelFloat(),o["\u0275nov"](e,316)._hasFloatingLabel(),o["\u0275nov"](e,316)._hideControlPlaceholder(),o["\u0275nov"](e,316)._control.disabled,o["\u0275nov"](e,316)._control.autofilled,o["\u0275nov"](e,316)._control.focused,"accent"==o["\u0275nov"](e,316).color,"warn"==o["\u0275nov"](e,316).color,o["\u0275nov"](e,316)._shouldForward("untouched"),o["\u0275nov"](e,316)._shouldForward("touched"),o["\u0275nov"](e,316)._shouldForward("pristine"),o["\u0275nov"](e,316)._shouldForward("dirty"),o["\u0275nov"](e,316)._shouldForward("valid"),o["\u0275nov"](e,316)._shouldForward("invalid"),o["\u0275nov"](e,316)._shouldForward("pending"),!o["\u0275nov"](e,316)._animationsEnabled]),n(e,324,1,[o["\u0275nov"](e,329).ngClassUntouched,o["\u0275nov"](e,329).ngClassTouched,o["\u0275nov"](e,329).ngClassPristine,o["\u0275nov"](e,329).ngClassDirty,o["\u0275nov"](e,329).ngClassValid,o["\u0275nov"](e,329).ngClassInvalid,o["\u0275nov"](e,329).ngClassPending,o["\u0275nov"](e,330)._isServer,o["\u0275nov"](e,330).id,o["\u0275nov"](e,330).placeholder,o["\u0275nov"](e,330).disabled,o["\u0275nov"](e,330).required,o["\u0275nov"](e,330).readonly&&!o["\u0275nov"](e,330)._isNativeSelect||null,o["\u0275nov"](e,330)._ariaDescribedby||null,o["\u0275nov"](e,330).errorState,o["\u0275nov"](e,330).required.toString()]),n(e,333,0,o["\u0275nov"](e,334).disabled||null,"NoopAnimations"===o["\u0275nov"](e,334)._animationMode),n(e,336,0,o["\u0275nov"](e,337).disabled||null,"NoopAnimations"===o["\u0275nov"](e,337)._animationMode)})}function AE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 PE(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](2,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VirtualBox VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,NE)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,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},lk,GS)),o["\u0275did"](11,49152,[[1,4],["customAdaptersConfigurator",4]],0,WS,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,AE)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.virtualBoxTemplate),n(e,11,0,t.networkTypes,t.displayedColumns),n(e,13,0,t.isSymbolSelectionOpened&&t.virtualBoxTemplate)},function(n,e){var t=e.component;n(e,10,0,!(t.isConfiguratorOpened&&t.virtualBoxTemplate))})}function qE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-virtual-box-template-details",[],null,null,null,PE,IE)),o["\u0275did"](1,114688,null,0,RE,[bt,Uh,mE,fc,lv,TE,Rl],null,null)],function(n,e){n(e,1,0)},null)}var jE=o["\u0275ccf"]("app-virtual-box-template-details",RE,qE,{},{},[]),LE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.templateMocksService=o,this.router=r,this.formBuilder=i,this.vmForm=this.formBuilder.group({vm:new Bm("",nm.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(ag.v4)(),this.virtualBoxService.addTemplate(this.server,this.virtualBoxTemplate).subscribe(function(){n.goBack()}))},n}(),VE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function BE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[8,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)})}function zE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,42,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,34,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,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["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,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,Fb,yb)),o["\u0275did"](9,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](17,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,22)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedVM=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](19,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](21,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](22,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,8,{options:1}),o["\u0275qud"](603979776,9,{optionGroups:1}),o["\u0275qud"](335544320,10,{customTrigger:0}),o["\u0275prd"](2048,[[1,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,BE)),o["\u0275did"](28,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](29,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},ab,ib)),o["\u0275did"](30,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](32,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](34,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](36,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](37,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](38,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](40,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](41,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,5,0,t.vmForm),n(e,19,0,"vm",t.selectedVM),n(e,22,0,"VM list"),n(e,28,0,t.virtualMachines),n(e,32,0,t.virtualBoxTemplate.linked_clone),n(e,41,0,"primary")},function(n,e){n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,17,1,[o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending,o["\u0275nov"](e,22).id,o["\u0275nov"](e,22).tabIndex,o["\u0275nov"](e,22)._getAriaLabel(),o["\u0275nov"](e,22)._getAriaLabelledby(),o["\u0275nov"](e,22).required.toString(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).panelOpen?o["\u0275nov"](e,22)._optionIds:null,o["\u0275nov"](e,22).multiple,o["\u0275nov"](e,22)._ariaDescribedby||null,o["\u0275nov"](e,22)._getAriaActiveDescendant(),o["\u0275nov"](e,22).disabled,o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).required,o["\u0275nov"](e,22).empty]),n(e,29,1,[o["\u0275nov"](e,30).id,null,o["\u0275nov"](e,30).indeterminate,o["\u0275nov"](e,30).checked,o["\u0275nov"](e,30).disabled,"before"==o["\u0275nov"](e,30).labelPosition,"NoopAnimations"===o["\u0275nov"](e,30)._animationMode,o["\u0275nov"](e,34).ngClassUntouched,o["\u0275nov"](e,34).ngClassTouched,o["\u0275nov"](e,34).ngClassPristine,o["\u0275nov"](e,34).ngClassDirty,o["\u0275nov"](e,34).ngClassValid,o["\u0275nov"](e,34).ngClassInvalid,o["\u0275nov"](e,34).ngClassPending]),n(e,37,0,o["\u0275nov"](e,38).disabled||null,"NoopAnimations"===o["\u0275nov"](e,38)._animationMode),n(e,40,0,o["\u0275nov"](e,41).disabled||null,"NoopAnimations"===o["\u0275nov"](e,41)._animationMode)})}function UE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VirtualBox VM template"])),(n()(),o["\u0275and"](16777216,null,null,1,null,zE)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.virtualBoxTemplate)},null)}function HE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-virtual-box-template",[],null,null,null,UE,VE)),o["\u0275did"](1,114688,null,0,LE,[bt,Uh,mE,fc,D_,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var ZE=o["\u0275ccf"]("app-add-virtual-box-template",LE,HE,{},{},[]),WE=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}(),GE=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}(),KE=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function YE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function $E(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add VMware template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vmware/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function XE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function QE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,11,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}function JE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,QE)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.vmwareTemplates)},null)}function nT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,JE)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function eT(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VMware VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,YE)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$E)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,XE)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,nT)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 tT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vmware-templates",[],null,null,null,eT,KE)),o["\u0275did"](1,114688,null,0,GE,[bt,Uh,WE],null,null)],function(n,e){n(e,1,0)},null)}var lT=o["\u0275ccf"]("app-vmware-templates",GE,tT,{},{},[]),oT=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}(),rT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.formBuilder=o,this.vmwareConfigurationService=r,this.router=i,this.displayedColumns=["adapter_number","port_name","adapter_type"],this.isConfiguratorOpened=!1,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.onCloseOptions=[],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.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}(),iT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function aT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[32,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function uT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[42,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function sT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[52,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function dT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[91,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function cT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,316,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,308,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,163,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,3,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,152,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,11,{_control:0}),o["\u0275qud"](335544320,12,{_placeholderChild:0}),o["\u0275qud"](335544320,13,{_labelChild:0}),o["\u0275qud"](603979776,14,{_errorChildren:1}),o["\u0275qud"](603979776,15,{_hintChildren:1}),o["\u0275qud"](603979776,16,{_prefixChildren:1}),o["\u0275qud"](603979776,17,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[11,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,16,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,18,{_control:0}),o["\u0275qud"](335544320,19,{_placeholderChild:0}),o["\u0275qud"](335544320,20,{_labelChild:0}),o["\u0275qud"](603979776,21,{_errorChildren:1}),o["\u0275qud"](603979776,22,{_hintChildren:1}),o["\u0275qud"](603979776,23,{_prefixChildren:1}),o["\u0275qud"](603979776,24,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,65)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,70)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](65,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](67,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[18,4]],db,null,[qb]),(n()(),o["\u0275eld"](72,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](73,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](75,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](76,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,null,21,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,25,{_control:0}),o["\u0275qud"](335544320,26,{_placeholderChild:0}),o["\u0275qud"](335544320,27,{_labelChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,92)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](88,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](89,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](91,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](92,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,32,{options:1}),o["\u0275qud"](603979776,33,{optionGroups:1}),o["\u0275qud"](335544320,34,{customTrigger:0}),o["\u0275prd"](2048,[[25,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,aT)),o["\u0275did"](98,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](99,0,null,null,21,"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,Fb,yb)),o["\u0275did"](100,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,35,{_control:0}),o["\u0275qud"](335544320,36,{_placeholderChild:0}),o["\u0275qud"](335544320,37,{_labelChild:0}),o["\u0275qud"](603979776,38,{_errorChildren:1}),o["\u0275qud"](603979776,39,{_hintChildren:1}),o["\u0275qud"](603979776,40,{_prefixChildren:1}),o["\u0275qud"](603979776,41,{_suffixChildren:1}),(n()(),o["\u0275eld"](108,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,114)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,114)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,114)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](110,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](111,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](113,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](114,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,42,{options:1}),o["\u0275qud"](603979776,43,{optionGroups:1}),o["\u0275qud"](335544320,44,{customTrigger:0}),o["\u0275prd"](2048,[[35,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,uT)),o["\u0275did"](120,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](121,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},ab,ib)),o["\u0275did"](122,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](124,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](125,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](127,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](129,0,null,null,21,"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,Fb,yb)),o["\u0275did"](130,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,45,{_control:0}),o["\u0275qud"](335544320,46,{_placeholderChild:0}),o["\u0275qud"](335544320,47,{_labelChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](138,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,144)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,144)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,144)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.on_close=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](140,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](141,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](143,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](144,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,52,{options:1}),o["\u0275qud"](603979776,53,{optionGroups:1}),o["\u0275qud"](335544320,54,{customTrigger:0}),o["\u0275prd"](2048,[[45,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,sT)),o["\u0275did"](150,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](151,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},ab,ib)),o["\u0275did"](152,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](154,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](155,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](157,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Start VM in headless mode "])),(n()(),o["\u0275eld"](159,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](160,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](161,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},ab,ib)),o["\u0275did"](162,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](164,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](165,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](167,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](169,16777216,null,null,112,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](170,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,55,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](173,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,174)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,174)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](174,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](175,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](176,{value:0,params:1}),(n()(),o["\u0275eld"](177,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](178,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](180,0,null,1,17,"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,Fb,yb)),o["\u0275did"](181,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,56,{_control:0}),o["\u0275qud"](335544320,57,{_placeholderChild:0}),o["\u0275qud"](335544320,58,{_labelChild:0}),o["\u0275qud"](603979776,59,{_errorChildren:1}),o["\u0275qud"](603979776,60,{_hintChildren:1}),o["\u0275qud"](603979776,61,{_prefixChildren:1}),o["\u0275qud"](603979776,62,{_suffixChildren:1}),(n()(),o["\u0275eld"](189,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,190)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,190).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,190)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,190)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,191).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,191).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,191).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,196)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,196)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,196)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](190,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](191,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](193,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](195,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](196,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[56,4]],db,null,[qb]),(n()(),o["\u0275eld"](198,0,null,1,16,"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,Fb,yb)),o["\u0275did"](199,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,63,{_control:0}),o["\u0275qud"](335544320,64,{_placeholderChild:0}),o["\u0275qud"](335544320,65,{_labelChild:0}),o["\u0275qud"](603979776,66,{_errorChildren:1}),o["\u0275qud"](603979776,67,{_hintChildren:1}),o["\u0275qud"](603979776,68,{_prefixChildren:1}),o["\u0275qud"](603979776,69,{_suffixChildren:1}),(n()(),o["\u0275eld"](207,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,208)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,208).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,208)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,208)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,213)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,213)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,213)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](208,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](210,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](212,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](213,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[63,4]],db,null,[qb]),(n()(),o["\u0275eld"](215,0,null,1,16,"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,Fb,yb)),o["\u0275did"](216,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,70,{_control:0}),o["\u0275qud"](335544320,71,{_placeholderChild:0}),o["\u0275qud"](335544320,72,{_labelChild:0}),o["\u0275qud"](603979776,73,{_errorChildren:1}),o["\u0275qud"](603979776,74,{_hintChildren:1}),o["\u0275qud"](603979776,75,{_prefixChildren:1}),o["\u0275qud"](603979776,76,{_suffixChildren:1}),(n()(),o["\u0275eld"](224,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,225)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,225).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,225)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,225)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,230)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,230)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,230)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](225,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](227,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](229,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](230,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[70,4]],db,null,[qb]),(n()(),o["\u0275eld"](232,0,null,1,17,"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,Fb,yb)),o["\u0275did"](233,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,77,{_control:0}),o["\u0275qud"](335544320,78,{_placeholderChild:0}),o["\u0275qud"](335544320,79,{_labelChild:0}),o["\u0275qud"](603979776,80,{_errorChildren:1}),o["\u0275qud"](603979776,81,{_hintChildren:1}),o["\u0275qud"](603979776,82,{_prefixChildren:1}),o["\u0275qud"](603979776,83,{_suffixChildren:1}),(n()(),o["\u0275eld"](241,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,242)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,242).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,242)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,242)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,243).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,243).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,243).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,248)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,248)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,248)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](242,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](243,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](245,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](247,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](248,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[77,4]],db,null,[qb]),(n()(),o["\u0275eld"](250,0,null,1,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,Fb,yb)),o["\u0275did"](251,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,84,{_control:0}),o["\u0275qud"](335544320,85,{_placeholderChild:0}),o["\u0275qud"](335544320,86,{_labelChild:0}),o["\u0275qud"](603979776,87,{_errorChildren:1}),o["\u0275qud"](603979776,88,{_hintChildren:1}),o["\u0275qud"](603979776,89,{_prefixChildren:1}),o["\u0275qud"](603979776,90,{_suffixChildren:1}),(n()(),o["\u0275eld"](259,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,264)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,264)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,264)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.adapter_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](261,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](263,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](264,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,91,{options:1}),o["\u0275qud"](603979776,92,{optionGroups:1}),o["\u0275qud"](335544320,93,{customTrigger:0}),o["\u0275prd"](2048,[[84,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,dT)),o["\u0275did"](270,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](271,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](272,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](274,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](275,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},ab,ib)),o["\u0275did"](276,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](278,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](280,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Allow GNS3 to override non custom VMware adapter "])),(n()(),o["\u0275eld"](282,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](283,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,94,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](286,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,287)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,287)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](287,180224,[[2,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](288,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](289,{value:0,params:1}),(n()(),o["\u0275eld"](290,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](291,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](293,0,null,1,16,"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,Fb,yb)),o["\u0275did"](294,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,95,{_control:0}),o["\u0275qud"](335544320,96,{_placeholderChild:0}),o["\u0275qud"](335544320,97,{_labelChild:0}),o["\u0275qud"](603979776,98,{_errorChildren:1}),o["\u0275qud"](603979776,99,{_hintChildren:1}),o["\u0275qud"](603979776,100,{_prefixChildren:1}),o["\u0275qud"](603979776,101,{_suffixChildren:1}),(n()(),o["\u0275eld"](302,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,303)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,303).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,303)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,303)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,308)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,308)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,308)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](303,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](305,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](307,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](308,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[95,4]],db,null,[qb]),(n()(),o["\u0275eld"](310,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](311,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](312,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](314,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](315,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.vmwareTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.vmwareTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,67,0,"symbol",t.vmwareTemplate.symbol),n(e,70,0,"Symbol","text");var l=t.vmwareTemplate.category,o=n(e,89,0,!0);n(e,88,0,l,o),n(e,92,0,"Category"),n(e,98,0,t.categories);var r=t.vmwareTemplate.console_type,i=n(e,111,0,!0);n(e,110,0,r,i),n(e,114,0,"Console type"),n(e,120,0,t.consoleTypes);var a=t.vmwareTemplate.console_auto_start,u=n(e,125,0,!0);n(e,124,0,a,u);var s=t.vmwareTemplate.on_close,d=n(e,141,0,!0);n(e,140,0,s,d),n(e,144,0,"On close"),n(e,150,0,t.onCloseOptions);var c=t.vmwareTemplate.headless,p=n(e,155,0,!0);n(e,154,0,c,p);var f=t.vmwareTemplate.linked_clone,h=n(e,165,0,!0);n(e,164,0,f,h),n(e,193,0,t.vmwareTemplate.adapters),n(e,196,0,"Adapters","number"),n(e,210,0,t.vmwareTemplate.first_port_name),n(e,213,0,"First port name","text"),n(e,227,0,t.vmwareTemplate.port_name_format),n(e,230,0,"Name format","text"),n(e,245,0,t.vmwareTemplate.port_segment_size),n(e,248,0,"Segment size","number"),n(e,261,0,t.vmwareTemplate.adapter_type),n(e,264,0,"Type"),n(e,270,0,t.networkTypes),n(e,278,0,t.vmwareTemplate.use_any_adapter),n(e,305,0,t.vmwareTemplate.usage),n(e,308,0,"text"),n(e,315,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70)._isServer,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).placeholder,o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).readonly&&!o["\u0275nov"](e,70)._isNativeSelect||null,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required.toString()]),n(e,72,0,o["\u0275nov"](e,73).disabled||null,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).tabIndex,o["\u0275nov"](e,92)._getAriaLabel(),o["\u0275nov"](e,92)._getAriaLabelledby(),o["\u0275nov"](e,92).required.toString(),o["\u0275nov"](e,92).disabled.toString(),o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).panelOpen?o["\u0275nov"](e,92)._optionIds:null,o["\u0275nov"](e,92).multiple,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92)._getAriaActiveDescendant(),o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).empty]),n(e,99,1,["standard"==o["\u0275nov"](e,100).appearance,"fill"==o["\u0275nov"](e,100).appearance,"outline"==o["\u0275nov"](e,100).appearance,"legacy"==o["\u0275nov"](e,100).appearance,o["\u0275nov"](e,100)._control.errorState,o["\u0275nov"](e,100)._canLabelFloat,o["\u0275nov"](e,100)._shouldLabelFloat(),o["\u0275nov"](e,100)._hasFloatingLabel(),o["\u0275nov"](e,100)._hideControlPlaceholder(),o["\u0275nov"](e,100)._control.disabled,o["\u0275nov"](e,100)._control.autofilled,o["\u0275nov"](e,100)._control.focused,"accent"==o["\u0275nov"](e,100).color,"warn"==o["\u0275nov"](e,100).color,o["\u0275nov"](e,100)._shouldForward("untouched"),o["\u0275nov"](e,100)._shouldForward("touched"),o["\u0275nov"](e,100)._shouldForward("pristine"),o["\u0275nov"](e,100)._shouldForward("dirty"),o["\u0275nov"](e,100)._shouldForward("valid"),o["\u0275nov"](e,100)._shouldForward("invalid"),o["\u0275nov"](e,100)._shouldForward("pending"),!o["\u0275nov"](e,100)._animationsEnabled]),n(e,108,1,[o["\u0275nov"](e,113).ngClassUntouched,o["\u0275nov"](e,113).ngClassTouched,o["\u0275nov"](e,113).ngClassPristine,o["\u0275nov"](e,113).ngClassDirty,o["\u0275nov"](e,113).ngClassValid,o["\u0275nov"](e,113).ngClassInvalid,o["\u0275nov"](e,113).ngClassPending,o["\u0275nov"](e,114).id,o["\u0275nov"](e,114).tabIndex,o["\u0275nov"](e,114)._getAriaLabel(),o["\u0275nov"](e,114)._getAriaLabelledby(),o["\u0275nov"](e,114).required.toString(),o["\u0275nov"](e,114).disabled.toString(),o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).panelOpen?o["\u0275nov"](e,114)._optionIds:null,o["\u0275nov"](e,114).multiple,o["\u0275nov"](e,114)._ariaDescribedby||null,o["\u0275nov"](e,114)._getAriaActiveDescendant(),o["\u0275nov"](e,114).disabled,o["\u0275nov"](e,114).errorState,o["\u0275nov"](e,114).required,o["\u0275nov"](e,114).empty]),n(e,121,1,[o["\u0275nov"](e,122).id,null,o["\u0275nov"](e,122).indeterminate,o["\u0275nov"](e,122).checked,o["\u0275nov"](e,122).disabled,"before"==o["\u0275nov"](e,122).labelPosition,"NoopAnimations"===o["\u0275nov"](e,122)._animationMode,o["\u0275nov"](e,127).ngClassUntouched,o["\u0275nov"](e,127).ngClassTouched,o["\u0275nov"](e,127).ngClassPristine,o["\u0275nov"](e,127).ngClassDirty,o["\u0275nov"](e,127).ngClassValid,o["\u0275nov"](e,127).ngClassInvalid,o["\u0275nov"](e,127).ngClassPending]),n(e,129,1,["standard"==o["\u0275nov"](e,130).appearance,"fill"==o["\u0275nov"](e,130).appearance,"outline"==o["\u0275nov"](e,130).appearance,"legacy"==o["\u0275nov"](e,130).appearance,o["\u0275nov"](e,130)._control.errorState,o["\u0275nov"](e,130)._canLabelFloat,o["\u0275nov"](e,130)._shouldLabelFloat(),o["\u0275nov"](e,130)._hasFloatingLabel(),o["\u0275nov"](e,130)._hideControlPlaceholder(),o["\u0275nov"](e,130)._control.disabled,o["\u0275nov"](e,130)._control.autofilled,o["\u0275nov"](e,130)._control.focused,"accent"==o["\u0275nov"](e,130).color,"warn"==o["\u0275nov"](e,130).color,o["\u0275nov"](e,130)._shouldForward("untouched"),o["\u0275nov"](e,130)._shouldForward("touched"),o["\u0275nov"](e,130)._shouldForward("pristine"),o["\u0275nov"](e,130)._shouldForward("dirty"),o["\u0275nov"](e,130)._shouldForward("valid"),o["\u0275nov"](e,130)._shouldForward("invalid"),o["\u0275nov"](e,130)._shouldForward("pending"),!o["\u0275nov"](e,130)._animationsEnabled]),n(e,138,1,[o["\u0275nov"](e,143).ngClassUntouched,o["\u0275nov"](e,143).ngClassTouched,o["\u0275nov"](e,143).ngClassPristine,o["\u0275nov"](e,143).ngClassDirty,o["\u0275nov"](e,143).ngClassValid,o["\u0275nov"](e,143).ngClassInvalid,o["\u0275nov"](e,143).ngClassPending,o["\u0275nov"](e,144).id,o["\u0275nov"](e,144).tabIndex,o["\u0275nov"](e,144)._getAriaLabel(),o["\u0275nov"](e,144)._getAriaLabelledby(),o["\u0275nov"](e,144).required.toString(),o["\u0275nov"](e,144).disabled.toString(),o["\u0275nov"](e,144).errorState,o["\u0275nov"](e,144).panelOpen?o["\u0275nov"](e,144)._optionIds:null,o["\u0275nov"](e,144).multiple,o["\u0275nov"](e,144)._ariaDescribedby||null,o["\u0275nov"](e,144)._getAriaActiveDescendant(),o["\u0275nov"](e,144).disabled,o["\u0275nov"](e,144).errorState,o["\u0275nov"](e,144).required,o["\u0275nov"](e,144).empty]),n(e,151,1,[o["\u0275nov"](e,152).id,null,o["\u0275nov"](e,152).indeterminate,o["\u0275nov"](e,152).checked,o["\u0275nov"](e,152).disabled,"before"==o["\u0275nov"](e,152).labelPosition,"NoopAnimations"===o["\u0275nov"](e,152)._animationMode,o["\u0275nov"](e,157).ngClassUntouched,o["\u0275nov"](e,157).ngClassTouched,o["\u0275nov"](e,157).ngClassPristine,o["\u0275nov"](e,157).ngClassDirty,o["\u0275nov"](e,157).ngClassValid,o["\u0275nov"](e,157).ngClassInvalid,o["\u0275nov"](e,157).ngClassPending]),n(e,161,1,[o["\u0275nov"](e,162).id,null,o["\u0275nov"](e,162).indeterminate,o["\u0275nov"](e,162).checked,o["\u0275nov"](e,162).disabled,"before"==o["\u0275nov"](e,162).labelPosition,"NoopAnimations"===o["\u0275nov"](e,162)._animationMode,o["\u0275nov"](e,167).ngClassUntouched,o["\u0275nov"](e,167).ngClassTouched,o["\u0275nov"](e,167).ngClassPristine,o["\u0275nov"](e,167).ngClassDirty,o["\u0275nov"](e,167).ngClassValid,o["\u0275nov"](e,167).ngClassInvalid,o["\u0275nov"](e,167).ngClassPending]),n(e,169,0,o["\u0275nov"](e,170).expanded,"NoopAnimations"===o["\u0275nov"](e,170)._animationMode,o["\u0275nov"](e,170)._hasSpacing());var d=o["\u0275nov"](e,174).panel._headerId,c=o["\u0275nov"](e,174).disabled?-1:0,p=o["\u0275nov"](e,174)._getPanelId(),f=o["\u0275nov"](e,174)._isExpanded(),h=o["\u0275nov"](e,174).panel.disabled,m=o["\u0275nov"](e,174)._isExpanded(),v=n(e,176,0,o["\u0275nov"](e,174)._getExpandedState(),n(e,175,0,o["\u0275nov"](e,174).collapsedHeight,o["\u0275nov"](e,174).expandedHeight));n(e,173,0,d,c,p,f,h,m,v),n(e,180,1,["standard"==o["\u0275nov"](e,181).appearance,"fill"==o["\u0275nov"](e,181).appearance,"outline"==o["\u0275nov"](e,181).appearance,"legacy"==o["\u0275nov"](e,181).appearance,o["\u0275nov"](e,181)._control.errorState,o["\u0275nov"](e,181)._canLabelFloat,o["\u0275nov"](e,181)._shouldLabelFloat(),o["\u0275nov"](e,181)._hasFloatingLabel(),o["\u0275nov"](e,181)._hideControlPlaceholder(),o["\u0275nov"](e,181)._control.disabled,o["\u0275nov"](e,181)._control.autofilled,o["\u0275nov"](e,181)._control.focused,"accent"==o["\u0275nov"](e,181).color,"warn"==o["\u0275nov"](e,181).color,o["\u0275nov"](e,181)._shouldForward("untouched"),o["\u0275nov"](e,181)._shouldForward("touched"),o["\u0275nov"](e,181)._shouldForward("pristine"),o["\u0275nov"](e,181)._shouldForward("dirty"),o["\u0275nov"](e,181)._shouldForward("valid"),o["\u0275nov"](e,181)._shouldForward("invalid"),o["\u0275nov"](e,181)._shouldForward("pending"),!o["\u0275nov"](e,181)._animationsEnabled]),n(e,189,1,[o["\u0275nov"](e,195).ngClassUntouched,o["\u0275nov"](e,195).ngClassTouched,o["\u0275nov"](e,195).ngClassPristine,o["\u0275nov"](e,195).ngClassDirty,o["\u0275nov"](e,195).ngClassValid,o["\u0275nov"](e,195).ngClassInvalid,o["\u0275nov"](e,195).ngClassPending,o["\u0275nov"](e,196)._isServer,o["\u0275nov"](e,196).id,o["\u0275nov"](e,196).placeholder,o["\u0275nov"](e,196).disabled,o["\u0275nov"](e,196).required,o["\u0275nov"](e,196).readonly&&!o["\u0275nov"](e,196)._isNativeSelect||null,o["\u0275nov"](e,196)._ariaDescribedby||null,o["\u0275nov"](e,196).errorState,o["\u0275nov"](e,196).required.toString()]),n(e,198,1,["standard"==o["\u0275nov"](e,199).appearance,"fill"==o["\u0275nov"](e,199).appearance,"outline"==o["\u0275nov"](e,199).appearance,"legacy"==o["\u0275nov"](e,199).appearance,o["\u0275nov"](e,199)._control.errorState,o["\u0275nov"](e,199)._canLabelFloat,o["\u0275nov"](e,199)._shouldLabelFloat(),o["\u0275nov"](e,199)._hasFloatingLabel(),o["\u0275nov"](e,199)._hideControlPlaceholder(),o["\u0275nov"](e,199)._control.disabled,o["\u0275nov"](e,199)._control.autofilled,o["\u0275nov"](e,199)._control.focused,"accent"==o["\u0275nov"](e,199).color,"warn"==o["\u0275nov"](e,199).color,o["\u0275nov"](e,199)._shouldForward("untouched"),o["\u0275nov"](e,199)._shouldForward("touched"),o["\u0275nov"](e,199)._shouldForward("pristine"),o["\u0275nov"](e,199)._shouldForward("dirty"),o["\u0275nov"](e,199)._shouldForward("valid"),o["\u0275nov"](e,199)._shouldForward("invalid"),o["\u0275nov"](e,199)._shouldForward("pending"),!o["\u0275nov"](e,199)._animationsEnabled]),n(e,207,1,[o["\u0275nov"](e,212).ngClassUntouched,o["\u0275nov"](e,212).ngClassTouched,o["\u0275nov"](e,212).ngClassPristine,o["\u0275nov"](e,212).ngClassDirty,o["\u0275nov"](e,212).ngClassValid,o["\u0275nov"](e,212).ngClassInvalid,o["\u0275nov"](e,212).ngClassPending,o["\u0275nov"](e,213)._isServer,o["\u0275nov"](e,213).id,o["\u0275nov"](e,213).placeholder,o["\u0275nov"](e,213).disabled,o["\u0275nov"](e,213).required,o["\u0275nov"](e,213).readonly&&!o["\u0275nov"](e,213)._isNativeSelect||null,o["\u0275nov"](e,213)._ariaDescribedby||null,o["\u0275nov"](e,213).errorState,o["\u0275nov"](e,213).required.toString()]),n(e,215,1,["standard"==o["\u0275nov"](e,216).appearance,"fill"==o["\u0275nov"](e,216).appearance,"outline"==o["\u0275nov"](e,216).appearance,"legacy"==o["\u0275nov"](e,216).appearance,o["\u0275nov"](e,216)._control.errorState,o["\u0275nov"](e,216)._canLabelFloat,o["\u0275nov"](e,216)._shouldLabelFloat(),o["\u0275nov"](e,216)._hasFloatingLabel(),o["\u0275nov"](e,216)._hideControlPlaceholder(),o["\u0275nov"](e,216)._control.disabled,o["\u0275nov"](e,216)._control.autofilled,o["\u0275nov"](e,216)._control.focused,"accent"==o["\u0275nov"](e,216).color,"warn"==o["\u0275nov"](e,216).color,o["\u0275nov"](e,216)._shouldForward("untouched"),o["\u0275nov"](e,216)._shouldForward("touched"),o["\u0275nov"](e,216)._shouldForward("pristine"),o["\u0275nov"](e,216)._shouldForward("dirty"),o["\u0275nov"](e,216)._shouldForward("valid"),o["\u0275nov"](e,216)._shouldForward("invalid"),o["\u0275nov"](e,216)._shouldForward("pending"),!o["\u0275nov"](e,216)._animationsEnabled]),n(e,224,1,[o["\u0275nov"](e,229).ngClassUntouched,o["\u0275nov"](e,229).ngClassTouched,o["\u0275nov"](e,229).ngClassPristine,o["\u0275nov"](e,229).ngClassDirty,o["\u0275nov"](e,229).ngClassValid,o["\u0275nov"](e,229).ngClassInvalid,o["\u0275nov"](e,229).ngClassPending,o["\u0275nov"](e,230)._isServer,o["\u0275nov"](e,230).id,o["\u0275nov"](e,230).placeholder,o["\u0275nov"](e,230).disabled,o["\u0275nov"](e,230).required,o["\u0275nov"](e,230).readonly&&!o["\u0275nov"](e,230)._isNativeSelect||null,o["\u0275nov"](e,230)._ariaDescribedby||null,o["\u0275nov"](e,230).errorState,o["\u0275nov"](e,230).required.toString()]),n(e,232,1,["standard"==o["\u0275nov"](e,233).appearance,"fill"==o["\u0275nov"](e,233).appearance,"outline"==o["\u0275nov"](e,233).appearance,"legacy"==o["\u0275nov"](e,233).appearance,o["\u0275nov"](e,233)._control.errorState,o["\u0275nov"](e,233)._canLabelFloat,o["\u0275nov"](e,233)._shouldLabelFloat(),o["\u0275nov"](e,233)._hasFloatingLabel(),o["\u0275nov"](e,233)._hideControlPlaceholder(),o["\u0275nov"](e,233)._control.disabled,o["\u0275nov"](e,233)._control.autofilled,o["\u0275nov"](e,233)._control.focused,"accent"==o["\u0275nov"](e,233).color,"warn"==o["\u0275nov"](e,233).color,o["\u0275nov"](e,233)._shouldForward("untouched"),o["\u0275nov"](e,233)._shouldForward("touched"),o["\u0275nov"](e,233)._shouldForward("pristine"),o["\u0275nov"](e,233)._shouldForward("dirty"),o["\u0275nov"](e,233)._shouldForward("valid"),o["\u0275nov"](e,233)._shouldForward("invalid"),o["\u0275nov"](e,233)._shouldForward("pending"),!o["\u0275nov"](e,233)._animationsEnabled]),n(e,241,1,[o["\u0275nov"](e,247).ngClassUntouched,o["\u0275nov"](e,247).ngClassTouched,o["\u0275nov"](e,247).ngClassPristine,o["\u0275nov"](e,247).ngClassDirty,o["\u0275nov"](e,247).ngClassValid,o["\u0275nov"](e,247).ngClassInvalid,o["\u0275nov"](e,247).ngClassPending,o["\u0275nov"](e,248)._isServer,o["\u0275nov"](e,248).id,o["\u0275nov"](e,248).placeholder,o["\u0275nov"](e,248).disabled,o["\u0275nov"](e,248).required,o["\u0275nov"](e,248).readonly&&!o["\u0275nov"](e,248)._isNativeSelect||null,o["\u0275nov"](e,248)._ariaDescribedby||null,o["\u0275nov"](e,248).errorState,o["\u0275nov"](e,248).required.toString()]),n(e,250,1,["standard"==o["\u0275nov"](e,251).appearance,"fill"==o["\u0275nov"](e,251).appearance,"outline"==o["\u0275nov"](e,251).appearance,"legacy"==o["\u0275nov"](e,251).appearance,o["\u0275nov"](e,251)._control.errorState,o["\u0275nov"](e,251)._canLabelFloat,o["\u0275nov"](e,251)._shouldLabelFloat(),o["\u0275nov"](e,251)._hasFloatingLabel(),o["\u0275nov"](e,251)._hideControlPlaceholder(),o["\u0275nov"](e,251)._control.disabled,o["\u0275nov"](e,251)._control.autofilled,o["\u0275nov"](e,251)._control.focused,"accent"==o["\u0275nov"](e,251).color,"warn"==o["\u0275nov"](e,251).color,o["\u0275nov"](e,251)._shouldForward("untouched"),o["\u0275nov"](e,251)._shouldForward("touched"),o["\u0275nov"](e,251)._shouldForward("pristine"),o["\u0275nov"](e,251)._shouldForward("dirty"),o["\u0275nov"](e,251)._shouldForward("valid"),o["\u0275nov"](e,251)._shouldForward("invalid"),o["\u0275nov"](e,251)._shouldForward("pending"),!o["\u0275nov"](e,251)._animationsEnabled]),n(e,259,1,[o["\u0275nov"](e,263).ngClassUntouched,o["\u0275nov"](e,263).ngClassTouched,o["\u0275nov"](e,263).ngClassPristine,o["\u0275nov"](e,263).ngClassDirty,o["\u0275nov"](e,263).ngClassValid,o["\u0275nov"](e,263).ngClassInvalid,o["\u0275nov"](e,263).ngClassPending,o["\u0275nov"](e,264).id,o["\u0275nov"](e,264).tabIndex,o["\u0275nov"](e,264)._getAriaLabel(),o["\u0275nov"](e,264)._getAriaLabelledby(),o["\u0275nov"](e,264).required.toString(),o["\u0275nov"](e,264).disabled.toString(),o["\u0275nov"](e,264).errorState,o["\u0275nov"](e,264).panelOpen?o["\u0275nov"](e,264)._optionIds:null,o["\u0275nov"](e,264).multiple,o["\u0275nov"](e,264)._ariaDescribedby||null,o["\u0275nov"](e,264)._getAriaActiveDescendant(),o["\u0275nov"](e,264).disabled,o["\u0275nov"](e,264).errorState,o["\u0275nov"](e,264).required,o["\u0275nov"](e,264).empty]),n(e,271,0,o["\u0275nov"](e,272).disabled||null,"NoopAnimations"===o["\u0275nov"](e,272)._animationMode),n(e,275,1,[o["\u0275nov"](e,276).id,null,o["\u0275nov"](e,276).indeterminate,o["\u0275nov"](e,276).checked,o["\u0275nov"](e,276).disabled,"before"==o["\u0275nov"](e,276).labelPosition,"NoopAnimations"===o["\u0275nov"](e,276)._animationMode,o["\u0275nov"](e,280).ngClassUntouched,o["\u0275nov"](e,280).ngClassTouched,o["\u0275nov"](e,280).ngClassPristine,o["\u0275nov"](e,280).ngClassDirty,o["\u0275nov"](e,280).ngClassValid,o["\u0275nov"](e,280).ngClassInvalid,o["\u0275nov"](e,280).ngClassPending]),n(e,282,0,o["\u0275nov"](e,283).expanded,"NoopAnimations"===o["\u0275nov"](e,283)._animationMode,o["\u0275nov"](e,283)._hasSpacing());var g=o["\u0275nov"](e,287).panel._headerId,b=o["\u0275nov"](e,287).disabled?-1:0,y=o["\u0275nov"](e,287)._getPanelId(),_=o["\u0275nov"](e,287)._isExpanded(),w=o["\u0275nov"](e,287).panel.disabled,C=o["\u0275nov"](e,287)._isExpanded(),x=n(e,289,0,o["\u0275nov"](e,287)._getExpandedState(),n(e,288,0,o["\u0275nov"](e,287).collapsedHeight,o["\u0275nov"](e,287).expandedHeight));n(e,286,0,g,b,y,_,w,C,x),n(e,293,1,["standard"==o["\u0275nov"](e,294).appearance,"fill"==o["\u0275nov"](e,294).appearance,"outline"==o["\u0275nov"](e,294).appearance,"legacy"==o["\u0275nov"](e,294).appearance,o["\u0275nov"](e,294)._control.errorState,o["\u0275nov"](e,294)._canLabelFloat,o["\u0275nov"](e,294)._shouldLabelFloat(),o["\u0275nov"](e,294)._hasFloatingLabel(),o["\u0275nov"](e,294)._hideControlPlaceholder(),o["\u0275nov"](e,294)._control.disabled,o["\u0275nov"](e,294)._control.autofilled,o["\u0275nov"](e,294)._control.focused,"accent"==o["\u0275nov"](e,294).color,"warn"==o["\u0275nov"](e,294).color,o["\u0275nov"](e,294)._shouldForward("untouched"),o["\u0275nov"](e,294)._shouldForward("touched"),o["\u0275nov"](e,294)._shouldForward("pristine"),o["\u0275nov"](e,294)._shouldForward("dirty"),o["\u0275nov"](e,294)._shouldForward("valid"),o["\u0275nov"](e,294)._shouldForward("invalid"),o["\u0275nov"](e,294)._shouldForward("pending"),!o["\u0275nov"](e,294)._animationsEnabled]),n(e,302,1,[o["\u0275nov"](e,307).ngClassUntouched,o["\u0275nov"](e,307).ngClassTouched,o["\u0275nov"](e,307).ngClassPristine,o["\u0275nov"](e,307).ngClassDirty,o["\u0275nov"](e,307).ngClassValid,o["\u0275nov"](e,307).ngClassInvalid,o["\u0275nov"](e,307).ngClassPending,o["\u0275nov"](e,308)._isServer,o["\u0275nov"](e,308).id,o["\u0275nov"](e,308).placeholder,o["\u0275nov"](e,308).disabled,o["\u0275nov"](e,308).required,o["\u0275nov"](e,308).readonly&&!o["\u0275nov"](e,308)._isNativeSelect||null,o["\u0275nov"](e,308)._ariaDescribedby||null,o["\u0275nov"](e,308).errorState,o["\u0275nov"](e,308).required.toString()]),n(e,311,0,o["\u0275nov"](e,312).disabled||null,"NoopAnimations"===o["\u0275nov"](e,312)._animationMode),n(e,314,0,o["\u0275nov"](e,315).disabled||null,"NoopAnimations"===o["\u0275nov"](e,315)._animationMode)})}function pT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 fT(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](2,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VMware VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,cT)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,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},lk,GS)),o["\u0275did"](11,49152,[[1,4],["customAdaptersConfigurator",4]],0,WS,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,pT)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened||t.isConfiguratorOpened);n(e,2,0,"content",l),n(e,9,0,t.vmwareTemplate),n(e,11,0,t.networkTypes,t.displayedColumns),n(e,13,0,t.isSymbolSelectionOpened&&t.vmwareTemplate)},function(n,e){var t=e.component;n(e,10,0,!(t.isConfiguratorOpened&&t.vmwareTemplate))})}function hT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vmware-template-details",[],null,null,null,fT,iT)),o["\u0275did"](1,114688,null,0,rT,[bt,Uh,WE,fc,lv,oT,Rl],null,null)],function(n,e){n(e,1,0)},null)}var mT=o["\u0275ccf"]("app-vmware-template-details",rT,hT,{},{},[]),vT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.templateMocksService=o,this.router=r,this.formBuilder=i,this.templateNameForm=this.formBuilder.group({templateName:new Bm(null,[nm.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(ag.v4)(),this.vmwareService.addTemplate(this.server,this.vmwareTemplate).subscribe(function(){n.goBack()}))},n}(),gT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function bT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[8,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)})}function yT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,44,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,36,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](2,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](3,0,null,0,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,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,Fb,yb)),o["\u0275did"](9,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](17,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,22)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedVM=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](19,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](21,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](22,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,8,{options:1}),o["\u0275qud"](603979776,9,{optionGroups:1}),o["\u0275qud"](335544320,10,{customTrigger:0}),o["\u0275prd"](2048,[[1,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,bT)),o["\u0275did"](28,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](29,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](30,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},ab,ib)),o["\u0275did"](31,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](33,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](34,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](36,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](38,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](39,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](40,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](42,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](43,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,5,0,t.templateNameForm),n(e,19,0,"templateName",t.selectedVM),n(e,22,0,"VM list"),n(e,28,0,t.virtualMachines);var l=t.vmwareTemplate.linked_clone,o=n(e,34,0,!0);n(e,33,0,l,o),n(e,43,0,"primary")},function(n,e){n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,17,1,[o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending,o["\u0275nov"](e,22).id,o["\u0275nov"](e,22).tabIndex,o["\u0275nov"](e,22)._getAriaLabel(),o["\u0275nov"](e,22)._getAriaLabelledby(),o["\u0275nov"](e,22).required.toString(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).panelOpen?o["\u0275nov"](e,22)._optionIds:null,o["\u0275nov"](e,22).multiple,o["\u0275nov"](e,22)._ariaDescribedby||null,o["\u0275nov"](e,22)._getAriaActiveDescendant(),o["\u0275nov"](e,22).disabled,o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).required,o["\u0275nov"](e,22).empty]),n(e,30,1,[o["\u0275nov"](e,31).id,null,o["\u0275nov"](e,31).indeterminate,o["\u0275nov"](e,31).checked,o["\u0275nov"](e,31).disabled,"before"==o["\u0275nov"](e,31).labelPosition,"NoopAnimations"===o["\u0275nov"](e,31)._animationMode,o["\u0275nov"](e,36).ngClassUntouched,o["\u0275nov"](e,36).ngClassTouched,o["\u0275nov"](e,36).ngClassPristine,o["\u0275nov"](e,36).ngClassDirty,o["\u0275nov"](e,36).ngClassValid,o["\u0275nov"](e,36).ngClassInvalid,o["\u0275nov"](e,36).ngClassPending]),n(e,39,0,o["\u0275nov"](e,40).disabled||null,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode),n(e,42,0,o["\u0275nov"](e,43).disabled||null,"NoopAnimations"===o["\u0275nov"](e,43)._animationMode)})}function _T(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VMware VM template"])),(n()(),o["\u0275and"](16777216,null,null,1,null,yT)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.vmwareTemplate)},null)}function wT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-vmware-template",[],null,null,null,_T,gT)),o["\u0275did"](1,114688,null,0,vT,[bt,Uh,WE,fc,D_,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var CT=o["\u0275ccf"]("app-add-vmware-template",vT,wT,{},{},[]),xT=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}(),ST=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}(),kT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function ET(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function TT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Docker container template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/docker/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function RT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function IT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,32,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,18,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](26,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,27)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,27)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](27,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](28,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,gs,vs)),o["\u0275did"](29,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](31,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0),n(e,29,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color),n(e,26,0,o["\u0275nov"](e,27).role,o["\u0275nov"](e,27)._highlighted,o["\u0275nov"](e,27)._triggersSubmenu,o["\u0275nov"](e,27)._getTabIndex(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).disabled||null),n(e,28,0,o["\u0275nov"](e,29).inline,"primary"!==o["\u0275nov"](e,29).color&&"accent"!==o["\u0275nov"](e,29).color&&"warn"!==o["\u0275nov"](e,29).color)})}function OT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,IT)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.dockerTemplates)},null)}function FT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,OT)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function DT(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Docker container templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,ET)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,TT)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,RT)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,FT)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 MT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-docker-templates",[],null,null,null,DT,kT)),o["\u0275did"](1,114688,null,0,ST,[bt,Uh,xT,Rl],null,null)],function(n,e){n(e,1,0)},null)}var NT=o["\u0275ccf"]("app-docker-templates",ST,MT,{},{},[]),AT=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}(),PT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.adapters=[],this.displayedColumns=["adapter_number","port_name"],this.generalSettingsForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),adapter:new Bm("",nm.required),symbol:new Bm("",nm.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}(),qT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function jT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[24,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function LT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[55,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function VT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[65,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function BT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,307,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,299,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](5,16777216,null,null,237,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,207,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,3,{_control:0}),o["\u0275qud"](335544320,4,{_placeholderChild:0}),o["\u0275qud"](335544320,5,{_labelChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,21,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,17,{_control:0}),o["\u0275qud"](335544320,18,{_placeholderChild:0}),o["\u0275qud"](335544320,19,{_labelChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,70)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](66,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](67,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,24,{options:1}),o["\u0275qud"](603979776,25,{optionGroups:1}),o["\u0275qud"](335544320,26,{customTrigger:0}),o["\u0275prd"](2048,[[17,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,jT)),o["\u0275did"](76,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](77,0,null,null,16,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,27,{_control:0}),o["\u0275qud"](335544320,28,{_placeholderChild:0}),o["\u0275qud"](335544320,29,{_labelChild:0}),o["\u0275qud"](603979776,30,{_errorChildren:1}),o["\u0275qud"](603979776,31,{_hintChildren:1}),o["\u0275qud"](603979776,32,{_prefixChildren:1}),o["\u0275qud"](603979776,33,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,87)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,87).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,92)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](87,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](89,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](91,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](92,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[27,4]],db,null,[qb]),(n()(),o["\u0275eld"](94,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](95,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](97,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](98,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](99,0,null,null,17,"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,Fb,yb)),o["\u0275did"](100,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](108,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,109)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,109).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,115)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,115)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,115)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.start_command=t)&&l),l},null,null)),o["\u0275did"](109,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](111,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](112,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](114,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](115,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[34,4]],db,null,[qb]),(n()(),o["\u0275eld"](117,0,null,null,17,"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,Fb,yb)),o["\u0275did"](118,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,41,{_control:0}),o["\u0275qud"](335544320,42,{_placeholderChild:0}),o["\u0275qud"](335544320,43,{_labelChild:0}),o["\u0275qud"](603979776,44,{_errorChildren:1}),o["\u0275qud"](603979776,45,{_hintChildren:1}),o["\u0275qud"](603979776,46,{_prefixChildren:1}),o["\u0275qud"](603979776,47,{_suffixChildren:1}),(n()(),o["\u0275eld"](126,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,127)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,127).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,127)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,127)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,128).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,128).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,128).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,133)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,133)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,133)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](127,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](128,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](130,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](132,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](133,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[41,4]],db,null,[qb]),(n()(),o["\u0275eld"](135,0,null,null,21,"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,Fb,yb)),o["\u0275did"](136,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,48,{_control:0}),o["\u0275qud"](335544320,49,{_placeholderChild:0}),o["\u0275qud"](335544320,50,{_labelChild:0}),o["\u0275qud"](603979776,51,{_errorChildren:1}),o["\u0275qud"](603979776,52,{_hintChildren:1}),o["\u0275qud"](603979776,53,{_prefixChildren:1}),o["\u0275qud"](603979776,54,{_suffixChildren:1}),(n()(),o["\u0275eld"](144,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,150)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,150)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,150)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](146,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](147,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](149,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](150,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,55,{options:1}),o["\u0275qud"](603979776,56,{optionGroups:1}),o["\u0275qud"](335544320,57,{customTrigger:0}),o["\u0275prd"](2048,[[48,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,LT)),o["\u0275did"](156,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](157,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},ab,ib)),o["\u0275did"](158,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](160,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](161,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](163,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](165,0,null,null,21,"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,Fb,yb)),o["\u0275did"](166,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,58,{_control:0}),o["\u0275qud"](335544320,59,{_placeholderChild:0}),o["\u0275qud"](335544320,60,{_labelChild:0}),o["\u0275qud"](603979776,61,{_errorChildren:1}),o["\u0275qud"](603979776,62,{_hintChildren:1}),o["\u0275qud"](603979776,63,{_prefixChildren:1}),o["\u0275qud"](603979776,64,{_suffixChildren:1}),(n()(),o["\u0275eld"](174,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,180)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,180)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,180)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_resolution=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](176,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](177,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](179,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](180,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,65,{options:1}),o["\u0275qud"](603979776,66,{optionGroups:1}),o["\u0275qud"](335544320,67,{customTrigger:0}),o["\u0275prd"](2048,[[58,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,VT)),o["\u0275did"](186,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](187,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,Fb,yb)),o["\u0275did"](188,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,68,{_control:0}),o["\u0275qud"](335544320,69,{_placeholderChild:0}),o["\u0275qud"](335544320,70,{_labelChild:0}),o["\u0275qud"](603979776,71,{_errorChildren:1}),o["\u0275qud"](603979776,72,{_hintChildren:1}),o["\u0275qud"](603979776,73,{_prefixChildren:1}),o["\u0275qud"](603979776,74,{_suffixChildren:1}),(n()(),o["\u0275eld"](196,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,197)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,197).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,197)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,197)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,198).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,198).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,198).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,204)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,204)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,204)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_http_port=t)&&l),l},null,null)),o["\u0275did"](197,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](198,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](200,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](201,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](203,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](204,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[68,4]],db,null,[qb]),(n()(),o["\u0275eld"](206,0,null,null,17,"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,Fb,yb)),o["\u0275did"](207,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,75,{_control:0}),o["\u0275qud"](335544320,76,{_placeholderChild:0}),o["\u0275qud"](335544320,77,{_labelChild:0}),o["\u0275qud"](603979776,78,{_errorChildren:1}),o["\u0275qud"](603979776,79,{_hintChildren:1}),o["\u0275qud"](603979776,80,{_prefixChildren:1}),o["\u0275qud"](603979776,81,{_suffixChildren:1}),(n()(),o["\u0275eld"](215,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,216)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,216).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,216)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,216)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,222)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,222)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,222)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_http_path=t)&&l),l},null,null)),o["\u0275did"](216,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](218,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](219,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](221,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](222,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[75,4]],db,null,[qb]),(n()(),o["\u0275eld"](224,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Environment"])),(n()(),o["\u0275eld"](226,0,null,1,16,"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,Fb,yb)),o["\u0275did"](227,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,82,{_control:0}),o["\u0275qud"](335544320,83,{_placeholderChild:0}),o["\u0275qud"](335544320,84,{_labelChild:0}),o["\u0275qud"](603979776,85,{_errorChildren:1}),o["\u0275qud"](603979776,86,{_hintChildren:1}),o["\u0275qud"](603979776,87,{_prefixChildren:1}),o["\u0275qud"](603979776,88,{_suffixChildren:1}),(n()(),o["\u0275eld"](235,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,236)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,236).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,236)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,236)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,241)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,241)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,241)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.environment=t)&&l),l},null,null)),o["\u0275did"](236,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](238,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](240,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](241,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[82,4]],db,null,[qb]),(n()(),o["\u0275eld"](243,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,Wg,Hg)),o["\u0275did"](244,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,89,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](247,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,248)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,248)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](248,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](249,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](250,{value:0,params:1}),(n()(),o["\u0275eld"](251,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](252,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](254,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Extra hosts"])),(n()(),o["\u0275eld"](256,0,null,1,16,"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,Fb,yb)),o["\u0275did"](257,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,90,{_control:0}),o["\u0275qud"](335544320,91,{_placeholderChild:0}),o["\u0275qud"](335544320,92,{_labelChild:0}),o["\u0275qud"](603979776,93,{_errorChildren:1}),o["\u0275qud"](603979776,94,{_hintChildren:1}),o["\u0275qud"](603979776,95,{_prefixChildren:1}),o["\u0275qud"](603979776,96,{_suffixChildren:1}),(n()(),o["\u0275eld"](265,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,266)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,266).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,266)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,266)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,271)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,271)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,271)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.extra_hosts=t)&&l),l},null,null)),o["\u0275did"](266,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](268,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](270,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](271,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[90,4]],db,null,[qb]),(n()(),o["\u0275eld"](273,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](274,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,97,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](277,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,278)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,278)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](278,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](279,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](280,{value:0,params:1}),(n()(),o["\u0275eld"](281,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](282,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](284,0,null,1,16,"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,Fb,yb)),o["\u0275did"](285,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,98,{_control:0}),o["\u0275qud"](335544320,99,{_placeholderChild:0}),o["\u0275qud"](335544320,100,{_labelChild:0}),o["\u0275qud"](603979776,101,{_errorChildren:1}),o["\u0275qud"](603979776,102,{_hintChildren:1}),o["\u0275qud"](603979776,103,{_prefixChildren:1}),o["\u0275qud"](603979776,104,{_suffixChildren:1}),(n()(),o["\u0275eld"](293,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,294)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,294).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,294)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,294)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,299)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,299)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,299)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](294,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](296,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](298,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](299,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[98,4]],db,null,[qb]),(n()(),o["\u0275eld"](301,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](302,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](303,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](305,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](306,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.dockerTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.dockerTemplate.default_name_format),n(e,53,0,"Default name format","text");var l=t.dockerTemplate.category,o=n(e,67,0,!0);n(e,66,0,l,o),n(e,70,0,"Category"),n(e,76,0,t.categories),n(e,89,0,"symbol",t.dockerTemplate.symbol),n(e,92,0,"Symbol","text");var r=t.dockerTemplate.start_command,i=n(e,112,0,!0);n(e,111,0,r,i),n(e,115,0,"Start command","text"),n(e,130,0,"adapter",t.dockerTemplate.adapters),n(e,133,0,"Adapters","number");var a=t.dockerTemplate.console_type,u=n(e,147,0,!0);n(e,146,0,a,u),n(e,150,0,"Console type"),n(e,156,0,t.consoleTypes);var s=t.dockerTemplate.console_auto_start,d=n(e,161,0,!0);n(e,160,0,s,d);var c=t.dockerTemplate.console_resolution,p=n(e,177,0,!0);n(e,176,0,c,p),n(e,180,0,"VNC console resolution"),n(e,186,0,t.consoleResolutions);var f=t.dockerTemplate.console_http_port,h=n(e,201,0,!0);n(e,200,0,f,h),n(e,204,0,"HTTP port in the container","number");var m=t.dockerTemplate.console_http_path,v=n(e,219,0,!0);n(e,218,0,m,v),n(e,222,0,"HTTP path","text"),n(e,238,0,t.dockerTemplate.environment),n(e,241,0,"text"),n(e,268,0,t.dockerTemplate.extra_hosts),n(e,271,0,"text"),n(e,296,0,t.dockerTemplate.usage),n(e,299,0,"text"),n(e,306,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).tabIndex,o["\u0275nov"](e,70)._getAriaLabel(),o["\u0275nov"](e,70)._getAriaLabelledby(),o["\u0275nov"](e,70).required.toString(),o["\u0275nov"](e,70).disabled.toString(),o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).panelOpen?o["\u0275nov"](e,70)._optionIds:null,o["\u0275nov"](e,70).multiple,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70)._getAriaActiveDescendant(),o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).empty]),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92)._isServer,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).placeholder,o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).readonly&&!o["\u0275nov"](e,92)._isNativeSelect||null,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required.toString()]),n(e,94,0,o["\u0275nov"](e,95).disabled||null,"NoopAnimations"===o["\u0275nov"](e,95)._animationMode),n(e,99,1,["standard"==o["\u0275nov"](e,100).appearance,"fill"==o["\u0275nov"](e,100).appearance,"outline"==o["\u0275nov"](e,100).appearance,"legacy"==o["\u0275nov"](e,100).appearance,o["\u0275nov"](e,100)._control.errorState,o["\u0275nov"](e,100)._canLabelFloat,o["\u0275nov"](e,100)._shouldLabelFloat(),o["\u0275nov"](e,100)._hasFloatingLabel(),o["\u0275nov"](e,100)._hideControlPlaceholder(),o["\u0275nov"](e,100)._control.disabled,o["\u0275nov"](e,100)._control.autofilled,o["\u0275nov"](e,100)._control.focused,"accent"==o["\u0275nov"](e,100).color,"warn"==o["\u0275nov"](e,100).color,o["\u0275nov"](e,100)._shouldForward("untouched"),o["\u0275nov"](e,100)._shouldForward("touched"),o["\u0275nov"](e,100)._shouldForward("pristine"),o["\u0275nov"](e,100)._shouldForward("dirty"),o["\u0275nov"](e,100)._shouldForward("valid"),o["\u0275nov"](e,100)._shouldForward("invalid"),o["\u0275nov"](e,100)._shouldForward("pending"),!o["\u0275nov"](e,100)._animationsEnabled]),n(e,108,1,[o["\u0275nov"](e,114).ngClassUntouched,o["\u0275nov"](e,114).ngClassTouched,o["\u0275nov"](e,114).ngClassPristine,o["\u0275nov"](e,114).ngClassDirty,o["\u0275nov"](e,114).ngClassValid,o["\u0275nov"](e,114).ngClassInvalid,o["\u0275nov"](e,114).ngClassPending,o["\u0275nov"](e,115)._isServer,o["\u0275nov"](e,115).id,o["\u0275nov"](e,115).placeholder,o["\u0275nov"](e,115).disabled,o["\u0275nov"](e,115).required,o["\u0275nov"](e,115).readonly&&!o["\u0275nov"](e,115)._isNativeSelect||null,o["\u0275nov"](e,115)._ariaDescribedby||null,o["\u0275nov"](e,115).errorState,o["\u0275nov"](e,115).required.toString()]),n(e,117,1,["standard"==o["\u0275nov"](e,118).appearance,"fill"==o["\u0275nov"](e,118).appearance,"outline"==o["\u0275nov"](e,118).appearance,"legacy"==o["\u0275nov"](e,118).appearance,o["\u0275nov"](e,118)._control.errorState,o["\u0275nov"](e,118)._canLabelFloat,o["\u0275nov"](e,118)._shouldLabelFloat(),o["\u0275nov"](e,118)._hasFloatingLabel(),o["\u0275nov"](e,118)._hideControlPlaceholder(),o["\u0275nov"](e,118)._control.disabled,o["\u0275nov"](e,118)._control.autofilled,o["\u0275nov"](e,118)._control.focused,"accent"==o["\u0275nov"](e,118).color,"warn"==o["\u0275nov"](e,118).color,o["\u0275nov"](e,118)._shouldForward("untouched"),o["\u0275nov"](e,118)._shouldForward("touched"),o["\u0275nov"](e,118)._shouldForward("pristine"),o["\u0275nov"](e,118)._shouldForward("dirty"),o["\u0275nov"](e,118)._shouldForward("valid"),o["\u0275nov"](e,118)._shouldForward("invalid"),o["\u0275nov"](e,118)._shouldForward("pending"),!o["\u0275nov"](e,118)._animationsEnabled]),n(e,126,1,[o["\u0275nov"](e,132).ngClassUntouched,o["\u0275nov"](e,132).ngClassTouched,o["\u0275nov"](e,132).ngClassPristine,o["\u0275nov"](e,132).ngClassDirty,o["\u0275nov"](e,132).ngClassValid,o["\u0275nov"](e,132).ngClassInvalid,o["\u0275nov"](e,132).ngClassPending,o["\u0275nov"](e,133)._isServer,o["\u0275nov"](e,133).id,o["\u0275nov"](e,133).placeholder,o["\u0275nov"](e,133).disabled,o["\u0275nov"](e,133).required,o["\u0275nov"](e,133).readonly&&!o["\u0275nov"](e,133)._isNativeSelect||null,o["\u0275nov"](e,133)._ariaDescribedby||null,o["\u0275nov"](e,133).errorState,o["\u0275nov"](e,133).required.toString()]),n(e,135,1,["standard"==o["\u0275nov"](e,136).appearance,"fill"==o["\u0275nov"](e,136).appearance,"outline"==o["\u0275nov"](e,136).appearance,"legacy"==o["\u0275nov"](e,136).appearance,o["\u0275nov"](e,136)._control.errorState,o["\u0275nov"](e,136)._canLabelFloat,o["\u0275nov"](e,136)._shouldLabelFloat(),o["\u0275nov"](e,136)._hasFloatingLabel(),o["\u0275nov"](e,136)._hideControlPlaceholder(),o["\u0275nov"](e,136)._control.disabled,o["\u0275nov"](e,136)._control.autofilled,o["\u0275nov"](e,136)._control.focused,"accent"==o["\u0275nov"](e,136).color,"warn"==o["\u0275nov"](e,136).color,o["\u0275nov"](e,136)._shouldForward("untouched"),o["\u0275nov"](e,136)._shouldForward("touched"),o["\u0275nov"](e,136)._shouldForward("pristine"),o["\u0275nov"](e,136)._shouldForward("dirty"),o["\u0275nov"](e,136)._shouldForward("valid"),o["\u0275nov"](e,136)._shouldForward("invalid"),o["\u0275nov"](e,136)._shouldForward("pending"),!o["\u0275nov"](e,136)._animationsEnabled]),n(e,144,1,[o["\u0275nov"](e,149).ngClassUntouched,o["\u0275nov"](e,149).ngClassTouched,o["\u0275nov"](e,149).ngClassPristine,o["\u0275nov"](e,149).ngClassDirty,o["\u0275nov"](e,149).ngClassValid,o["\u0275nov"](e,149).ngClassInvalid,o["\u0275nov"](e,149).ngClassPending,o["\u0275nov"](e,150).id,o["\u0275nov"](e,150).tabIndex,o["\u0275nov"](e,150)._getAriaLabel(),o["\u0275nov"](e,150)._getAriaLabelledby(),o["\u0275nov"](e,150).required.toString(),o["\u0275nov"](e,150).disabled.toString(),o["\u0275nov"](e,150).errorState,o["\u0275nov"](e,150).panelOpen?o["\u0275nov"](e,150)._optionIds:null,o["\u0275nov"](e,150).multiple,o["\u0275nov"](e,150)._ariaDescribedby||null,o["\u0275nov"](e,150)._getAriaActiveDescendant(),o["\u0275nov"](e,150).disabled,o["\u0275nov"](e,150).errorState,o["\u0275nov"](e,150).required,o["\u0275nov"](e,150).empty]),n(e,157,1,[o["\u0275nov"](e,158).id,null,o["\u0275nov"](e,158).indeterminate,o["\u0275nov"](e,158).checked,o["\u0275nov"](e,158).disabled,"before"==o["\u0275nov"](e,158).labelPosition,"NoopAnimations"===o["\u0275nov"](e,158)._animationMode,o["\u0275nov"](e,163).ngClassUntouched,o["\u0275nov"](e,163).ngClassTouched,o["\u0275nov"](e,163).ngClassPristine,o["\u0275nov"](e,163).ngClassDirty,o["\u0275nov"](e,163).ngClassValid,o["\u0275nov"](e,163).ngClassInvalid,o["\u0275nov"](e,163).ngClassPending]),n(e,165,1,["standard"==o["\u0275nov"](e,166).appearance,"fill"==o["\u0275nov"](e,166).appearance,"outline"==o["\u0275nov"](e,166).appearance,"legacy"==o["\u0275nov"](e,166).appearance,o["\u0275nov"](e,166)._control.errorState,o["\u0275nov"](e,166)._canLabelFloat,o["\u0275nov"](e,166)._shouldLabelFloat(),o["\u0275nov"](e,166)._hasFloatingLabel(),o["\u0275nov"](e,166)._hideControlPlaceholder(),o["\u0275nov"](e,166)._control.disabled,o["\u0275nov"](e,166)._control.autofilled,o["\u0275nov"](e,166)._control.focused,"accent"==o["\u0275nov"](e,166).color,"warn"==o["\u0275nov"](e,166).color,o["\u0275nov"](e,166)._shouldForward("untouched"),o["\u0275nov"](e,166)._shouldForward("touched"),o["\u0275nov"](e,166)._shouldForward("pristine"),o["\u0275nov"](e,166)._shouldForward("dirty"),o["\u0275nov"](e,166)._shouldForward("valid"),o["\u0275nov"](e,166)._shouldForward("invalid"),o["\u0275nov"](e,166)._shouldForward("pending"),!o["\u0275nov"](e,166)._animationsEnabled]),n(e,174,1,[o["\u0275nov"](e,179).ngClassUntouched,o["\u0275nov"](e,179).ngClassTouched,o["\u0275nov"](e,179).ngClassPristine,o["\u0275nov"](e,179).ngClassDirty,o["\u0275nov"](e,179).ngClassValid,o["\u0275nov"](e,179).ngClassInvalid,o["\u0275nov"](e,179).ngClassPending,o["\u0275nov"](e,180).id,o["\u0275nov"](e,180).tabIndex,o["\u0275nov"](e,180)._getAriaLabel(),o["\u0275nov"](e,180)._getAriaLabelledby(),o["\u0275nov"](e,180).required.toString(),o["\u0275nov"](e,180).disabled.toString(),o["\u0275nov"](e,180).errorState,o["\u0275nov"](e,180).panelOpen?o["\u0275nov"](e,180)._optionIds:null,o["\u0275nov"](e,180).multiple,o["\u0275nov"](e,180)._ariaDescribedby||null,o["\u0275nov"](e,180)._getAriaActiveDescendant(),o["\u0275nov"](e,180).disabled,o["\u0275nov"](e,180).errorState,o["\u0275nov"](e,180).required,o["\u0275nov"](e,180).empty]),n(e,187,1,["standard"==o["\u0275nov"](e,188).appearance,"fill"==o["\u0275nov"](e,188).appearance,"outline"==o["\u0275nov"](e,188).appearance,"legacy"==o["\u0275nov"](e,188).appearance,o["\u0275nov"](e,188)._control.errorState,o["\u0275nov"](e,188)._canLabelFloat,o["\u0275nov"](e,188)._shouldLabelFloat(),o["\u0275nov"](e,188)._hasFloatingLabel(),o["\u0275nov"](e,188)._hideControlPlaceholder(),o["\u0275nov"](e,188)._control.disabled,o["\u0275nov"](e,188)._control.autofilled,o["\u0275nov"](e,188)._control.focused,"accent"==o["\u0275nov"](e,188).color,"warn"==o["\u0275nov"](e,188).color,o["\u0275nov"](e,188)._shouldForward("untouched"),o["\u0275nov"](e,188)._shouldForward("touched"),o["\u0275nov"](e,188)._shouldForward("pristine"),o["\u0275nov"](e,188)._shouldForward("dirty"),o["\u0275nov"](e,188)._shouldForward("valid"),o["\u0275nov"](e,188)._shouldForward("invalid"),o["\u0275nov"](e,188)._shouldForward("pending"),!o["\u0275nov"](e,188)._animationsEnabled]),n(e,196,1,[o["\u0275nov"](e,203).ngClassUntouched,o["\u0275nov"](e,203).ngClassTouched,o["\u0275nov"](e,203).ngClassPristine,o["\u0275nov"](e,203).ngClassDirty,o["\u0275nov"](e,203).ngClassValid,o["\u0275nov"](e,203).ngClassInvalid,o["\u0275nov"](e,203).ngClassPending,o["\u0275nov"](e,204)._isServer,o["\u0275nov"](e,204).id,o["\u0275nov"](e,204).placeholder,o["\u0275nov"](e,204).disabled,o["\u0275nov"](e,204).required,o["\u0275nov"](e,204).readonly&&!o["\u0275nov"](e,204)._isNativeSelect||null,o["\u0275nov"](e,204)._ariaDescribedby||null,o["\u0275nov"](e,204).errorState,o["\u0275nov"](e,204).required.toString()]),n(e,206,1,["standard"==o["\u0275nov"](e,207).appearance,"fill"==o["\u0275nov"](e,207).appearance,"outline"==o["\u0275nov"](e,207).appearance,"legacy"==o["\u0275nov"](e,207).appearance,o["\u0275nov"](e,207)._control.errorState,o["\u0275nov"](e,207)._canLabelFloat,o["\u0275nov"](e,207)._shouldLabelFloat(),o["\u0275nov"](e,207)._hasFloatingLabel(),o["\u0275nov"](e,207)._hideControlPlaceholder(),o["\u0275nov"](e,207)._control.disabled,o["\u0275nov"](e,207)._control.autofilled,o["\u0275nov"](e,207)._control.focused,"accent"==o["\u0275nov"](e,207).color,"warn"==o["\u0275nov"](e,207).color,o["\u0275nov"](e,207)._shouldForward("untouched"),o["\u0275nov"](e,207)._shouldForward("touched"),o["\u0275nov"](e,207)._shouldForward("pristine"),o["\u0275nov"](e,207)._shouldForward("dirty"),o["\u0275nov"](e,207)._shouldForward("valid"),o["\u0275nov"](e,207)._shouldForward("invalid"),o["\u0275nov"](e,207)._shouldForward("pending"),!o["\u0275nov"](e,207)._animationsEnabled]),n(e,215,1,[o["\u0275nov"](e,221).ngClassUntouched,o["\u0275nov"](e,221).ngClassTouched,o["\u0275nov"](e,221).ngClassPristine,o["\u0275nov"](e,221).ngClassDirty,o["\u0275nov"](e,221).ngClassValid,o["\u0275nov"](e,221).ngClassInvalid,o["\u0275nov"](e,221).ngClassPending,o["\u0275nov"](e,222)._isServer,o["\u0275nov"](e,222).id,o["\u0275nov"](e,222).placeholder,o["\u0275nov"](e,222).disabled,o["\u0275nov"](e,222).required,o["\u0275nov"](e,222).readonly&&!o["\u0275nov"](e,222)._isNativeSelect||null,o["\u0275nov"](e,222)._ariaDescribedby||null,o["\u0275nov"](e,222).errorState,o["\u0275nov"](e,222).required.toString()]),n(e,226,1,["standard"==o["\u0275nov"](e,227).appearance,"fill"==o["\u0275nov"](e,227).appearance,"outline"==o["\u0275nov"](e,227).appearance,"legacy"==o["\u0275nov"](e,227).appearance,o["\u0275nov"](e,227)._control.errorState,o["\u0275nov"](e,227)._canLabelFloat,o["\u0275nov"](e,227)._shouldLabelFloat(),o["\u0275nov"](e,227)._hasFloatingLabel(),o["\u0275nov"](e,227)._hideControlPlaceholder(),o["\u0275nov"](e,227)._control.disabled,o["\u0275nov"](e,227)._control.autofilled,o["\u0275nov"](e,227)._control.focused,"accent"==o["\u0275nov"](e,227).color,"warn"==o["\u0275nov"](e,227).color,o["\u0275nov"](e,227)._shouldForward("untouched"),o["\u0275nov"](e,227)._shouldForward("touched"),o["\u0275nov"](e,227)._shouldForward("pristine"),o["\u0275nov"](e,227)._shouldForward("dirty"),o["\u0275nov"](e,227)._shouldForward("valid"),o["\u0275nov"](e,227)._shouldForward("invalid"),o["\u0275nov"](e,227)._shouldForward("pending"),!o["\u0275nov"](e,227)._animationsEnabled]),n(e,235,1,[o["\u0275nov"](e,240).ngClassUntouched,o["\u0275nov"](e,240).ngClassTouched,o["\u0275nov"](e,240).ngClassPristine,o["\u0275nov"](e,240).ngClassDirty,o["\u0275nov"](e,240).ngClassValid,o["\u0275nov"](e,240).ngClassInvalid,o["\u0275nov"](e,240).ngClassPending,o["\u0275nov"](e,241)._isServer,o["\u0275nov"](e,241).id,o["\u0275nov"](e,241).placeholder,o["\u0275nov"](e,241).disabled,o["\u0275nov"](e,241).required,o["\u0275nov"](e,241).readonly&&!o["\u0275nov"](e,241)._isNativeSelect||null,o["\u0275nov"](e,241)._ariaDescribedby||null,o["\u0275nov"](e,241).errorState,o["\u0275nov"](e,241).required.toString()]),n(e,243,0,o["\u0275nov"](e,244).expanded,"NoopAnimations"===o["\u0275nov"](e,244)._animationMode,o["\u0275nov"](e,244)._hasSpacing());var d=o["\u0275nov"](e,248).panel._headerId,c=o["\u0275nov"](e,248).disabled?-1:0,p=o["\u0275nov"](e,248)._getPanelId(),f=o["\u0275nov"](e,248)._isExpanded(),h=o["\u0275nov"](e,248).panel.disabled,m=o["\u0275nov"](e,248)._isExpanded(),v=n(e,250,0,o["\u0275nov"](e,248)._getExpandedState(),n(e,249,0,o["\u0275nov"](e,248).collapsedHeight,o["\u0275nov"](e,248).expandedHeight));n(e,247,0,d,c,p,f,h,m,v),n(e,256,1,["standard"==o["\u0275nov"](e,257).appearance,"fill"==o["\u0275nov"](e,257).appearance,"outline"==o["\u0275nov"](e,257).appearance,"legacy"==o["\u0275nov"](e,257).appearance,o["\u0275nov"](e,257)._control.errorState,o["\u0275nov"](e,257)._canLabelFloat,o["\u0275nov"](e,257)._shouldLabelFloat(),o["\u0275nov"](e,257)._hasFloatingLabel(),o["\u0275nov"](e,257)._hideControlPlaceholder(),o["\u0275nov"](e,257)._control.disabled,o["\u0275nov"](e,257)._control.autofilled,o["\u0275nov"](e,257)._control.focused,"accent"==o["\u0275nov"](e,257).color,"warn"==o["\u0275nov"](e,257).color,o["\u0275nov"](e,257)._shouldForward("untouched"),o["\u0275nov"](e,257)._shouldForward("touched"),o["\u0275nov"](e,257)._shouldForward("pristine"),o["\u0275nov"](e,257)._shouldForward("dirty"),o["\u0275nov"](e,257)._shouldForward("valid"),o["\u0275nov"](e,257)._shouldForward("invalid"),o["\u0275nov"](e,257)._shouldForward("pending"),!o["\u0275nov"](e,257)._animationsEnabled]),n(e,265,1,[o["\u0275nov"](e,270).ngClassUntouched,o["\u0275nov"](e,270).ngClassTouched,o["\u0275nov"](e,270).ngClassPristine,o["\u0275nov"](e,270).ngClassDirty,o["\u0275nov"](e,270).ngClassValid,o["\u0275nov"](e,270).ngClassInvalid,o["\u0275nov"](e,270).ngClassPending,o["\u0275nov"](e,271)._isServer,o["\u0275nov"](e,271).id,o["\u0275nov"](e,271).placeholder,o["\u0275nov"](e,271).disabled,o["\u0275nov"](e,271).required,o["\u0275nov"](e,271).readonly&&!o["\u0275nov"](e,271)._isNativeSelect||null,o["\u0275nov"](e,271)._ariaDescribedby||null,o["\u0275nov"](e,271).errorState,o["\u0275nov"](e,271).required.toString()]),n(e,273,0,o["\u0275nov"](e,274).expanded,"NoopAnimations"===o["\u0275nov"](e,274)._animationMode,o["\u0275nov"](e,274)._hasSpacing());var g=o["\u0275nov"](e,278).panel._headerId,b=o["\u0275nov"](e,278).disabled?-1:0,y=o["\u0275nov"](e,278)._getPanelId(),_=o["\u0275nov"](e,278)._isExpanded(),w=o["\u0275nov"](e,278).panel.disabled,C=o["\u0275nov"](e,278)._isExpanded(),x=n(e,280,0,o["\u0275nov"](e,278)._getExpandedState(),n(e,279,0,o["\u0275nov"](e,278).collapsedHeight,o["\u0275nov"](e,278).expandedHeight));n(e,277,0,g,b,y,_,w,C,x),n(e,284,1,["standard"==o["\u0275nov"](e,285).appearance,"fill"==o["\u0275nov"](e,285).appearance,"outline"==o["\u0275nov"](e,285).appearance,"legacy"==o["\u0275nov"](e,285).appearance,o["\u0275nov"](e,285)._control.errorState,o["\u0275nov"](e,285)._canLabelFloat,o["\u0275nov"](e,285)._shouldLabelFloat(),o["\u0275nov"](e,285)._hasFloatingLabel(),o["\u0275nov"](e,285)._hideControlPlaceholder(),o["\u0275nov"](e,285)._control.disabled,o["\u0275nov"](e,285)._control.autofilled,o["\u0275nov"](e,285)._control.focused,"accent"==o["\u0275nov"](e,285).color,"warn"==o["\u0275nov"](e,285).color,o["\u0275nov"](e,285)._shouldForward("untouched"),o["\u0275nov"](e,285)._shouldForward("touched"),o["\u0275nov"](e,285)._shouldForward("pristine"),o["\u0275nov"](e,285)._shouldForward("dirty"),o["\u0275nov"](e,285)._shouldForward("valid"),o["\u0275nov"](e,285)._shouldForward("invalid"),o["\u0275nov"](e,285)._shouldForward("pending"),!o["\u0275nov"](e,285)._animationsEnabled]),n(e,293,1,[o["\u0275nov"](e,298).ngClassUntouched,o["\u0275nov"](e,298).ngClassTouched,o["\u0275nov"](e,298).ngClassPristine,o["\u0275nov"](e,298).ngClassDirty,o["\u0275nov"](e,298).ngClassValid,o["\u0275nov"](e,298).ngClassInvalid,o["\u0275nov"](e,298).ngClassPending,o["\u0275nov"](e,299)._isServer,o["\u0275nov"](e,299).id,o["\u0275nov"](e,299).placeholder,o["\u0275nov"](e,299).disabled,o["\u0275nov"](e,299).required,o["\u0275nov"](e,299).readonly&&!o["\u0275nov"](e,299)._isNativeSelect||null,o["\u0275nov"](e,299)._ariaDescribedby||null,o["\u0275nov"](e,299).errorState,o["\u0275nov"](e,299).required.toString()]),n(e,302,0,o["\u0275nov"](e,303).disabled||null,"NoopAnimations"===o["\u0275nov"](e,303)._animationMode),n(e,305,0,o["\u0275nov"](e,306).disabled||null,"NoopAnimations"===o["\u0275nov"](e,306)._animationMode)})}function zT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 UT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Docker image configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,BT)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,zT)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.dockerTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.dockerTemplate)},null)}function HT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-docker-template-details",[],null,null,null,UT,qT)),o["\u0275did"](1,114688,null,0,PT,[bt,Uh,xT,fc,AT,lv,Rl],null,null)],function(n,e){n(e,1,0)},null)}var ZT=o["\u0275ccf"]("app-docker-template-details",PT,HT,{},{},[]),WT=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Bm("",nm.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(ag.v4)(),this.dockerTemplate.name=this.templateName,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(e){n.goBack()}))},n}(),GT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function KT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,35,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy Docker container template"])),(n()(),o["\u0275eld"](5,0,null,null,30,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,22,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,21,"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["\u0275nov"](n,9).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,9).onReset()&&l),l},null,null)),o["\u0275did"](8,16384,null,0,ov,[],null,null),o["\u0275did"](9,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](11,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](12,0,null,null,16,"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,Fb,yb)),o["\u0275did"](13,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](21,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,27)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](22,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](24,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](26,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](27,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](29,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](30,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](31,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](34,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,9,0,t.templateNameForm),n(e,24,0,"templateName",t.templateName),n(e,27,0,"Name","text"),n(e,34,0,"primary")},function(n,e){n(e,7,0,o["\u0275nov"](e,11).ngClassUntouched,o["\u0275nov"](e,11).ngClassTouched,o["\u0275nov"](e,11).ngClassPristine,o["\u0275nov"](e,11).ngClassDirty,o["\u0275nov"](e,11).ngClassValid,o["\u0275nov"](e,11).ngClassInvalid,o["\u0275nov"](e,11).ngClassPending),n(e,12,1,["standard"==o["\u0275nov"](e,13).appearance,"fill"==o["\u0275nov"](e,13).appearance,"outline"==o["\u0275nov"](e,13).appearance,"legacy"==o["\u0275nov"](e,13).appearance,o["\u0275nov"](e,13)._control.errorState,o["\u0275nov"](e,13)._canLabelFloat,o["\u0275nov"](e,13)._shouldLabelFloat(),o["\u0275nov"](e,13)._hasFloatingLabel(),o["\u0275nov"](e,13)._hideControlPlaceholder(),o["\u0275nov"](e,13)._control.disabled,o["\u0275nov"](e,13)._control.autofilled,o["\u0275nov"](e,13)._control.focused,"accent"==o["\u0275nov"](e,13).color,"warn"==o["\u0275nov"](e,13).color,o["\u0275nov"](e,13)._shouldForward("untouched"),o["\u0275nov"](e,13)._shouldForward("touched"),o["\u0275nov"](e,13)._shouldForward("pristine"),o["\u0275nov"](e,13)._shouldForward("dirty"),o["\u0275nov"](e,13)._shouldForward("valid"),o["\u0275nov"](e,13)._shouldForward("invalid"),o["\u0275nov"](e,13)._shouldForward("pending"),!o["\u0275nov"](e,13)._animationsEnabled]),n(e,21,1,[o["\u0275nov"](e,26).ngClassUntouched,o["\u0275nov"](e,26).ngClassTouched,o["\u0275nov"](e,26).ngClassPristine,o["\u0275nov"](e,26).ngClassDirty,o["\u0275nov"](e,26).ngClassValid,o["\u0275nov"](e,26).ngClassInvalid,o["\u0275nov"](e,26).ngClassPending,o["\u0275nov"](e,27)._isServer,o["\u0275nov"](e,27).id,o["\u0275nov"](e,27).placeholder,o["\u0275nov"](e,27).disabled,o["\u0275nov"](e,27).required,o["\u0275nov"](e,27).readonly&&!o["\u0275nov"](e,27)._isNativeSelect||null,o["\u0275nov"](e,27)._ariaDescribedby||null,o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).required.toString()]),n(e,30,0,o["\u0275nov"](e,31).disabled||null,"NoopAnimations"===o["\u0275nov"](e,31)._animationMode),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode)})}function YT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-docker-template",[],null,null,null,KT,GT)),o["\u0275did"](1,114688,null,0,WT,[bt,Uh,xT,fc,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var $T=o["\u0275ccf"]("app-copy-docker-template",WT,YT,{},{},[]),XT=function(){return function(){}}(),QT=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.configurationService=a,this.consoleTypes=[],this.isGns3VmChosen=!1,this.isRemoteComputerChosen=!1,this.dockerImages=[],this.newImageSelected=!1,this.dockerTemplate=new XT,this.virtualMachineForm=this.formBuilder.group({filename:new Bm("",nm.required)}),this.containerNameForm=this.formBuilder.group({templateName:new Bm("",nm.required)}),this.networkAdaptersForm=this.formBuilder.group({adapters:new Bm("",nm.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.prototype.setServerType=function(n){"gns3 vm"===n?this.isGns3VmChosen=!0:this.isRemoteComputerChosen=!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.containerNameForm.invalid||this.networkAdaptersForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=Object(ag.v4)(),this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(e){n.goBack()}))},n}(),JT=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function nR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[7,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)})}function eR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedImage=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](3,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](6,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](7,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,7,{options:1}),o["\u0275qud"](603979776,8,{optionGroups:1}),o["\u0275qud"](335544320,9,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,nR)),o["\u0275did"](12,278528,null,0,I.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["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function tR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,17,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,16,"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,Fb,yb)),o["\u0275did"](2,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](10,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,11)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,11).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,11)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,11)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,16)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.image=t)&&l),l},null,null)),o["\u0275did"](11,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](13,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](15,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](16,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb])],function(n,e){n(e,13,0,"filename",e.component.dockerTemplate.image),n(e,16,0,"Image name","text")},function(n,e){n(e,1,1,["standard"==o["\u0275nov"](e,2).appearance,"fill"==o["\u0275nov"](e,2).appearance,"outline"==o["\u0275nov"](e,2).appearance,"legacy"==o["\u0275nov"](e,2).appearance,o["\u0275nov"](e,2)._control.errorState,o["\u0275nov"](e,2)._canLabelFloat,o["\u0275nov"](e,2)._shouldLabelFloat(),o["\u0275nov"](e,2)._hasFloatingLabel(),o["\u0275nov"](e,2)._hideControlPlaceholder(),o["\u0275nov"](e,2)._control.disabled,o["\u0275nov"](e,2)._control.autofilled,o["\u0275nov"](e,2)._control.focused,"accent"==o["\u0275nov"](e,2).color,"warn"==o["\u0275nov"](e,2).color,o["\u0275nov"](e,2)._shouldForward("untouched"),o["\u0275nov"](e,2)._shouldForward("touched"),o["\u0275nov"](e,2)._shouldForward("pristine"),o["\u0275nov"](e,2)._shouldForward("dirty"),o["\u0275nov"](e,2)._shouldForward("valid"),o["\u0275nov"](e,2)._shouldForward("invalid"),o["\u0275nov"](e,2)._shouldForward("pending"),!o["\u0275nov"](e,2)._animationsEnabled]),n(e,10,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16)._isServer,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).placeholder,o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).readonly&&!o["\u0275nov"](e,16)._isNativeSelect||null,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required.toString()])})}function lR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[42,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function oR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,167,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Docker container template"])),(n()(),o["\u0275eld"](5,0,null,null,162,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,154,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,153,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,_x,bx)),o["\u0275did"](8,5423104,null,2,fx,[[2,Dr],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,px,null,[fx]),(n()(),o["\u0275eld"](12,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](14,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,3,{stepLabel:0}),(n()(),o["\u0275eld"](16,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[Ek]),o["\u0275did"](18,1064960,null,1,Ek,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_radios:1}),(n()(),o["\u0275eld"](20,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,21)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("remote computer")&&l),l},Ok,Ik)),o["\u0275did"](21,4440064,[[4,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this Docker container on a remote computer"])),(n()(),o["\u0275eld"](23,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,24)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("gns3 vm")&&l),l},Ok,Ik)),o["\u0275did"](24,4440064,[[4,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this Docker container on the GNS3 VM"])),(n()(),o["\u0275eld"](26,0,null,null,22,"mat-step",[["label","Docker Virtual Machine"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](28,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,5,{stepLabel:0}),(n()(),o["\u0275eld"](30,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["\u0275nov"](n,32).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,32).onReset()&&l),l},null,null)),o["\u0275did"](31,16384,null,0,ov,[],null,null),o["\u0275did"](32,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](34,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](35,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[Ek]),o["\u0275did"](37,1064960,null,1,Ek,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,6,{_radios:1}),(n()(),o["\u0275eld"](39,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,40)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Ok,Ik)),o["\u0275did"](40,4440064,[[6,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](42,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,43)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Ok,Ik)),o["\u0275did"](43,4440064,[[6,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275and"](16777216,null,null,1,null,eR)),o["\u0275did"](46,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,tR)),o["\u0275did"](48,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](49,0,null,null,25,"mat-step",[["label","Container name"]],null,null,null,gx,mx)),o["\u0275did"](50,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,17,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](53,0,null,0,21,"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["\u0275nov"](n,55).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,55).onReset()&&l),l},null,null)),o["\u0275did"](54,16384,null,0,ov,[],null,null),o["\u0275did"](55,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](57,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](58,0,null,null,16,"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,Fb,yb)),o["\u0275did"](59,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,18,{_control:0}),o["\u0275qud"](335544320,19,{_placeholderChild:0}),o["\u0275qud"](335544320,20,{_labelChild:0}),o["\u0275qud"](603979776,21,{_errorChildren:1}),o["\u0275qud"](603979776,22,{_hintChildren:1}),o["\u0275qud"](603979776,23,{_prefixChildren:1}),o["\u0275qud"](603979776,24,{_suffixChildren:1}),(n()(),o["\u0275eld"](67,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,68)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,68).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,68)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,68)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,73)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,73)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,73)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.name=t)&&l),l},null,null)),o["\u0275did"](68,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](70,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](72,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](73,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[18,4]],db,null,[qb]),(n()(),o["\u0275eld"](75,0,null,null,26,"mat-step",[["label","Network adapters"]],null,null,null,gx,mx)),o["\u0275did"](76,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,25,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](79,0,null,0,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,81).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,81).onReset()&&l),l},null,null)),o["\u0275did"](80,16384,null,0,ov,[],null,null),o["\u0275did"](81,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](83,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](84,0,null,null,17,"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,Fb,yb)),o["\u0275did"](85,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,26,{_control:0}),o["\u0275qud"](335544320,27,{_placeholderChild:0}),o["\u0275qud"](335544320,28,{_labelChild:0}),o["\u0275qud"](603979776,29,{_errorChildren:1}),o["\u0275qud"](603979776,30,{_hintChildren:1}),o["\u0275qud"](603979776,31,{_prefixChildren:1}),o["\u0275qud"](603979776,32,{_suffixChildren:1}),(n()(),o["\u0275eld"](93,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,94)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,94).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,94)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,94)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,95).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,95).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,95).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,100)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](94,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](95,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](97,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](99,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](100,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[26,4]],db,null,[qb]),(n()(),o["\u0275eld"](102,0,null,null,20,"mat-step",[["label","Start command"]],null,null,null,gx,mx)),o["\u0275did"](103,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,33,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](106,0,null,0,16,"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,Fb,yb)),o["\u0275did"](107,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](115,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,116)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,116).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,116)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,116)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,121)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,121)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,121)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.start_command=t)&&l),l},null,null)),o["\u0275did"](116,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](118,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](120,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](121,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[34,4]],db,null,[qb]),(n()(),o["\u0275eld"](123,0,null,null,16,"mat-step",[["label","Console type"]],null,null,null,gx,mx)),o["\u0275did"](124,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,41,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](127,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,134)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,134)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,134)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275prd"](6144,null,db,null,[U_]),o["\u0275did"](130,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](131,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](133,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](134,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,42,{options:1}),o["\u0275qud"](603979776,43,{optionGroups:1}),o["\u0275qud"](335544320,44,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,lR)),o["\u0275did"](139,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](140,0,null,null,20,"mat-step",[["label","Environment"]],null,null,null,gx,mx)),o["\u0275did"](141,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,45,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](144,0,null,0,16,"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,Fb,yb)),o["\u0275did"](145,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,46,{_control:0}),o["\u0275qud"](335544320,47,{_placeholderChild:0}),o["\u0275qud"](335544320,48,{_labelChild:0}),o["\u0275qud"](603979776,49,{_errorChildren:1}),o["\u0275qud"](603979776,50,{_hintChildren:1}),o["\u0275qud"](603979776,51,{_prefixChildren:1}),o["\u0275qud"](603979776,52,{_suffixChildren:1}),(n()(),o["\u0275eld"](153,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,154)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,154).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,154)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,154)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,159)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.environment=t)&&l),l},null,null)),o["\u0275did"](154,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](156,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](158,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](159,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[46,4]],db,null,[qb]),(n()(),o["\u0275eld"](161,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](162,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](163,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](165,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](166,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,8,0,!0),n(e,14,0,"Server type"),n(e,21,0,"1"),n(e,24,0,"","2"),n(e,28,0,"Docker Virtual Machine"),n(e,32,0,t.virtualMachineForm),n(e,40,0,"","1"),n(e,43,0,"2"),n(e,46,0,!t.newImageSelected),n(e,48,0,t.newImageSelected),n(e,50,0,"Container name"),n(e,55,0,t.containerNameForm),n(e,70,0,"templateName",t.dockerTemplate.name),n(e,73,0,"Container name","text"),n(e,76,0,"Network adapters"),n(e,81,0,t.networkAdaptersForm),n(e,97,0,"adapters",t.dockerTemplate.adapters),n(e,100,0,"Adapters","number"),n(e,103,0,"Start command"),n(e,118,0,t.dockerTemplate.start_command),n(e,121,0,"Start command","text"),n(e,124,0,"Console type");var l=t.dockerTemplate.console_type,o=n(e,131,0,!0);n(e,130,0,l,o),n(e,134,0,"Console type"),n(e,139,0,t.consoleTypes),n(e,141,0,"Environment"),n(e,156,0,t.dockerTemplate.environment),n(e,159,0,"text"),n(e,166,0,"primary")},function(n,e){n(e,20,0,o["\u0275nov"](e,21).checked,o["\u0275nov"](e,21).disabled,"NoopAnimations"===o["\u0275nov"](e,21)._animationMode,-1,o["\u0275nov"](e,21).id),n(e,23,0,o["\u0275nov"](e,24).checked,o["\u0275nov"](e,24).disabled,"NoopAnimations"===o["\u0275nov"](e,24)._animationMode,-1,o["\u0275nov"](e,24).id),n(e,30,0,o["\u0275nov"](e,34).ngClassUntouched,o["\u0275nov"](e,34).ngClassTouched,o["\u0275nov"](e,34).ngClassPristine,o["\u0275nov"](e,34).ngClassDirty,o["\u0275nov"](e,34).ngClassValid,o["\u0275nov"](e,34).ngClassInvalid,o["\u0275nov"](e,34).ngClassPending),n(e,39,0,o["\u0275nov"](e,40).checked,o["\u0275nov"](e,40).disabled,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode,-1,o["\u0275nov"](e,40).id),n(e,42,0,o["\u0275nov"](e,43).checked,o["\u0275nov"](e,43).disabled,"NoopAnimations"===o["\u0275nov"](e,43)._animationMode,-1,o["\u0275nov"](e,43).id),n(e,53,0,o["\u0275nov"](e,57).ngClassUntouched,o["\u0275nov"](e,57).ngClassTouched,o["\u0275nov"](e,57).ngClassPristine,o["\u0275nov"](e,57).ngClassDirty,o["\u0275nov"](e,57).ngClassValid,o["\u0275nov"](e,57).ngClassInvalid,o["\u0275nov"](e,57).ngClassPending),n(e,58,1,["standard"==o["\u0275nov"](e,59).appearance,"fill"==o["\u0275nov"](e,59).appearance,"outline"==o["\u0275nov"](e,59).appearance,"legacy"==o["\u0275nov"](e,59).appearance,o["\u0275nov"](e,59)._control.errorState,o["\u0275nov"](e,59)._canLabelFloat,o["\u0275nov"](e,59)._shouldLabelFloat(),o["\u0275nov"](e,59)._hasFloatingLabel(),o["\u0275nov"](e,59)._hideControlPlaceholder(),o["\u0275nov"](e,59)._control.disabled,o["\u0275nov"](e,59)._control.autofilled,o["\u0275nov"](e,59)._control.focused,"accent"==o["\u0275nov"](e,59).color,"warn"==o["\u0275nov"](e,59).color,o["\u0275nov"](e,59)._shouldForward("untouched"),o["\u0275nov"](e,59)._shouldForward("touched"),o["\u0275nov"](e,59)._shouldForward("pristine"),o["\u0275nov"](e,59)._shouldForward("dirty"),o["\u0275nov"](e,59)._shouldForward("valid"),o["\u0275nov"](e,59)._shouldForward("invalid"),o["\u0275nov"](e,59)._shouldForward("pending"),!o["\u0275nov"](e,59)._animationsEnabled]),n(e,67,1,[o["\u0275nov"](e,72).ngClassUntouched,o["\u0275nov"](e,72).ngClassTouched,o["\u0275nov"](e,72).ngClassPristine,o["\u0275nov"](e,72).ngClassDirty,o["\u0275nov"](e,72).ngClassValid,o["\u0275nov"](e,72).ngClassInvalid,o["\u0275nov"](e,72).ngClassPending,o["\u0275nov"](e,73)._isServer,o["\u0275nov"](e,73).id,o["\u0275nov"](e,73).placeholder,o["\u0275nov"](e,73).disabled,o["\u0275nov"](e,73).required,o["\u0275nov"](e,73).readonly&&!o["\u0275nov"](e,73)._isNativeSelect||null,o["\u0275nov"](e,73)._ariaDescribedby||null,o["\u0275nov"](e,73).errorState,o["\u0275nov"](e,73).required.toString()]),n(e,79,0,o["\u0275nov"](e,83).ngClassUntouched,o["\u0275nov"](e,83).ngClassTouched,o["\u0275nov"](e,83).ngClassPristine,o["\u0275nov"](e,83).ngClassDirty,o["\u0275nov"](e,83).ngClassValid,o["\u0275nov"](e,83).ngClassInvalid,o["\u0275nov"](e,83).ngClassPending),n(e,84,1,["standard"==o["\u0275nov"](e,85).appearance,"fill"==o["\u0275nov"](e,85).appearance,"outline"==o["\u0275nov"](e,85).appearance,"legacy"==o["\u0275nov"](e,85).appearance,o["\u0275nov"](e,85)._control.errorState,o["\u0275nov"](e,85)._canLabelFloat,o["\u0275nov"](e,85)._shouldLabelFloat(),o["\u0275nov"](e,85)._hasFloatingLabel(),o["\u0275nov"](e,85)._hideControlPlaceholder(),o["\u0275nov"](e,85)._control.disabled,o["\u0275nov"](e,85)._control.autofilled,o["\u0275nov"](e,85)._control.focused,"accent"==o["\u0275nov"](e,85).color,"warn"==o["\u0275nov"](e,85).color,o["\u0275nov"](e,85)._shouldForward("untouched"),o["\u0275nov"](e,85)._shouldForward("touched"),o["\u0275nov"](e,85)._shouldForward("pristine"),o["\u0275nov"](e,85)._shouldForward("dirty"),o["\u0275nov"](e,85)._shouldForward("valid"),o["\u0275nov"](e,85)._shouldForward("invalid"),o["\u0275nov"](e,85)._shouldForward("pending"),!o["\u0275nov"](e,85)._animationsEnabled]),n(e,93,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100)._isServer,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).placeholder,o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).readonly&&!o["\u0275nov"](e,100)._isNativeSelect||null,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required.toString()]),n(e,106,1,["standard"==o["\u0275nov"](e,107).appearance,"fill"==o["\u0275nov"](e,107).appearance,"outline"==o["\u0275nov"](e,107).appearance,"legacy"==o["\u0275nov"](e,107).appearance,o["\u0275nov"](e,107)._control.errorState,o["\u0275nov"](e,107)._canLabelFloat,o["\u0275nov"](e,107)._shouldLabelFloat(),o["\u0275nov"](e,107)._hasFloatingLabel(),o["\u0275nov"](e,107)._hideControlPlaceholder(),o["\u0275nov"](e,107)._control.disabled,o["\u0275nov"](e,107)._control.autofilled,o["\u0275nov"](e,107)._control.focused,"accent"==o["\u0275nov"](e,107).color,"warn"==o["\u0275nov"](e,107).color,o["\u0275nov"](e,107)._shouldForward("untouched"),o["\u0275nov"](e,107)._shouldForward("touched"),o["\u0275nov"](e,107)._shouldForward("pristine"),o["\u0275nov"](e,107)._shouldForward("dirty"),o["\u0275nov"](e,107)._shouldForward("valid"),o["\u0275nov"](e,107)._shouldForward("invalid"),o["\u0275nov"](e,107)._shouldForward("pending"),!o["\u0275nov"](e,107)._animationsEnabled]),n(e,115,1,[o["\u0275nov"](e,120).ngClassUntouched,o["\u0275nov"](e,120).ngClassTouched,o["\u0275nov"](e,120).ngClassPristine,o["\u0275nov"](e,120).ngClassDirty,o["\u0275nov"](e,120).ngClassValid,o["\u0275nov"](e,120).ngClassInvalid,o["\u0275nov"](e,120).ngClassPending,o["\u0275nov"](e,121)._isServer,o["\u0275nov"](e,121).id,o["\u0275nov"](e,121).placeholder,o["\u0275nov"](e,121).disabled,o["\u0275nov"](e,121).required,o["\u0275nov"](e,121).readonly&&!o["\u0275nov"](e,121)._isNativeSelect||null,o["\u0275nov"](e,121)._ariaDescribedby||null,o["\u0275nov"](e,121).errorState,o["\u0275nov"](e,121).required.toString()]),n(e,127,1,[o["\u0275nov"](e,133).ngClassUntouched,o["\u0275nov"](e,133).ngClassTouched,o["\u0275nov"](e,133).ngClassPristine,o["\u0275nov"](e,133).ngClassDirty,o["\u0275nov"](e,133).ngClassValid,o["\u0275nov"](e,133).ngClassInvalid,o["\u0275nov"](e,133).ngClassPending,o["\u0275nov"](e,134).id,o["\u0275nov"](e,134).tabIndex,o["\u0275nov"](e,134)._getAriaLabel(),o["\u0275nov"](e,134)._getAriaLabelledby(),o["\u0275nov"](e,134).required.toString(),o["\u0275nov"](e,134).disabled.toString(),o["\u0275nov"](e,134).errorState,o["\u0275nov"](e,134).panelOpen?o["\u0275nov"](e,134)._optionIds:null,o["\u0275nov"](e,134).multiple,o["\u0275nov"](e,134)._ariaDescribedby||null,o["\u0275nov"](e,134)._getAriaActiveDescendant(),o["\u0275nov"](e,134).disabled,o["\u0275nov"](e,134).errorState,o["\u0275nov"](e,134).required,o["\u0275nov"](e,134).empty]),n(e,144,1,["standard"==o["\u0275nov"](e,145).appearance,"fill"==o["\u0275nov"](e,145).appearance,"outline"==o["\u0275nov"](e,145).appearance,"legacy"==o["\u0275nov"](e,145).appearance,o["\u0275nov"](e,145)._control.errorState,o["\u0275nov"](e,145)._canLabelFloat,o["\u0275nov"](e,145)._shouldLabelFloat(),o["\u0275nov"](e,145)._hasFloatingLabel(),o["\u0275nov"](e,145)._hideControlPlaceholder(),o["\u0275nov"](e,145)._control.disabled,o["\u0275nov"](e,145)._control.autofilled,o["\u0275nov"](e,145)._control.focused,"accent"==o["\u0275nov"](e,145).color,"warn"==o["\u0275nov"](e,145).color,o["\u0275nov"](e,145)._shouldForward("untouched"),o["\u0275nov"](e,145)._shouldForward("touched"),o["\u0275nov"](e,145)._shouldForward("pristine"),o["\u0275nov"](e,145)._shouldForward("dirty"),o["\u0275nov"](e,145)._shouldForward("valid"),o["\u0275nov"](e,145)._shouldForward("invalid"),o["\u0275nov"](e,145)._shouldForward("pending"),!o["\u0275nov"](e,145)._animationsEnabled]),n(e,153,1,[o["\u0275nov"](e,158).ngClassUntouched,o["\u0275nov"](e,158).ngClassTouched,o["\u0275nov"](e,158).ngClassPristine,o["\u0275nov"](e,158).ngClassDirty,o["\u0275nov"](e,158).ngClassValid,o["\u0275nov"](e,158).ngClassInvalid,o["\u0275nov"](e,158).ngClassPending,o["\u0275nov"](e,159)._isServer,o["\u0275nov"](e,159).id,o["\u0275nov"](e,159).placeholder,o["\u0275nov"](e,159).disabled,o["\u0275nov"](e,159).required,o["\u0275nov"](e,159).readonly&&!o["\u0275nov"](e,159)._isNativeSelect||null,o["\u0275nov"](e,159)._ariaDescribedby||null,o["\u0275nov"](e,159).errorState,o["\u0275nov"](e,159).required.toString()]),n(e,162,0,o["\u0275nov"](e,163).disabled||null,"NoopAnimations"===o["\u0275nov"](e,163)._animationMode),n(e,165,0,o["\u0275nov"](e,166).disabled||null,"NoopAnimations"===o["\u0275nov"](e,166)._animationMode)})}function rR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-docker-template",[],null,null,null,oR,JT)),o["\u0275did"](1,114688,null,0,QT,[bt,Uh,xT,fc,Rl,lv,D_,AT],null,null)],function(n,e){n(e,1,0)},null)}var iR=o["\u0275ccf"]("app-add-docker-template",QT,rR,{},{},[]),aR=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.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}(),uR=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}(),sR=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function dR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function cR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add IOU device template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/iou/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function pR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,h_,f_)),o["\u0275did"](1,49152,null,0,p_,[],null,null)],null,null)}function fR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,32,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](n,2).onClick()&&l),l},e_,n_)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,Zy,[o.ElementRef,[2,Uy],[2,Hy],o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](335544320,3,{_avatar:0}),o["\u0275qud"](335544320,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[8,"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["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,18,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](15,1294336,[["menu",4]],2,wd,[o.ElementRef,o.NgZone,_d],null,null),o["\u0275qud"](603979776,5,{items:1}),o["\u0275qud"](335544320,6,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](19,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,20)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,20)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](20,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](24,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](26,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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,27)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,27)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](27,180224,[[5,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](28,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,gs,vs)),o["\u0275did"](29,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](31,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,22,0),n(e,29,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,19,0,o["\u0275nov"](e,20).role,o["\u0275nov"](e,20)._highlighted,o["\u0275nov"](e,20)._triggersSubmenu,o["\u0275nov"](e,20)._getTabIndex(),o["\u0275nov"](e,20).disabled.toString(),o["\u0275nov"](e,20).disabled||null),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color),n(e,26,0,o["\u0275nov"](e,27).role,o["\u0275nov"](e,27)._highlighted,o["\u0275nov"](e,27)._triggersSubmenu,o["\u0275nov"](e,27)._getTabIndex(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).disabled||null),n(e,28,0,o["\u0275nov"](e,29).inline,"primary"!==o["\u0275nov"](e,29).color&&"accent"!==o["\u0275nov"](e,29).color&&"warn"!==o["\u0275nov"](e,29).color)})}function hR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,Jy,Qy)),o["\u0275did"](1,704512,null,0,Uy,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,fR)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.iouTemplates)},null)}function mR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,hR)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function vR(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOU devices templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,dR)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,cR)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,pR)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,mR)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](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},y_,b_)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,g_,[m_,_v,fc],{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 gR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-iou-templates",[],null,null,null,vR,sR)),o["\u0275did"](1,114688,null,0,uR,[bt,Uh,aR,Rl],null,null)],function(n,e){n(e,1,0)},null)}var bR=o["\u0275ccf"]("app-iou-templates",uR,gR,{},{},[]),yR=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}(),_R=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.configurationService=o,this.router=r,this.formBuilder=i,this.isSymbolSelectionOpened=!1,this.defaultSettings=!0,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Bm("",nm.required),defaultName:new Bm("",nm.required),symbol:new Bm("",nm.required),path:new Bm("",nm.required),initialConfig:new Bm("",nm.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new Bm("",nm.required),serialAdapters:new Bm("",nm.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}(),wR=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function CR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[31,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function xR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[62,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function SR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,17,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,65,{_control:0}),o["\u0275qud"](335544320,66,{_placeholderChild:0}),o["\u0275qud"](335544320,67,{_labelChild:0}),o["\u0275qud"](603979776,68,{_errorChildren:1}),o["\u0275qud"](603979776,69,{_hintChildren:1}),o["\u0275qud"](603979776,70,{_prefixChildren:1}),o["\u0275qud"](603979776,71,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,11).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,16)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](11,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](13,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](15,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](16,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[65,4]],db,null,[qb])],function(n,e){n(e,13,0,e.component.iouTemplate.ram),n(e,16,0,"RAM size","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16)._isServer,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).placeholder,o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).readonly&&!o["\u0275nov"](e,16)._isNativeSelect||null,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required.toString()])})}function kR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,17,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,72,{_control:0}),o["\u0275qud"](335544320,73,{_placeholderChild:0}),o["\u0275qud"](335544320,74,{_labelChild:0}),o["\u0275qud"](603979776,75,{_errorChildren:1}),o["\u0275qud"](603979776,76,{_hintChildren:1}),o["\u0275qud"](603979776,77,{_prefixChildren:1}),o["\u0275qud"](603979776,78,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,11).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,11).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,16)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.nvram=t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](11,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](13,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](15,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](16,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[72,4]],db,null,[qb])],function(n,e){n(e,13,0,e.component.iouTemplate.nvram),n(e,16,0,"NVRAM size","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16)._isServer,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).placeholder,o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).readonly&&!o["\u0275nov"](e,16)._isNativeSelect||null,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required.toString()])})}function ER(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,291,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,283,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,zg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Ag,null,[zg]),(n()(),o["\u0275eld"](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,Wg,Hg)),o["\u0275did"](6,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,2,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](10,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,140,"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["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,ov,[],null,null),o["\u0275did"](18,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](20,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,3,{_control:0}),o["\u0275qud"](335544320,4,{_placeholderChild:0}),o["\u0275qud"](335544320,5,{_labelChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.name=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,10,{_control:0}),o["\u0275qud"](335544320,11,{_placeholderChild:0}),o["\u0275qud"](335544320,12,{_labelChild:0}),o["\u0275qud"](603979776,13,{_errorChildren:1}),o["\u0275qud"](603979776,14,{_hintChildren:1}),o["\u0275qud"](603979776,15,{_prefixChildren:1}),o["\u0275qud"](603979776,16,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4]],db,null,[qb]),(n()(),o["\u0275eld"](55,0,null,null,16,"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,Fb,yb)),o["\u0275did"](56,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,17,{_control:0}),o["\u0275qud"](335544320,18,{_placeholderChild:0}),o["\u0275qud"](335544320,19,{_labelChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](64,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,65)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,65).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,65)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,70)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](65,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](67,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](69,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](70,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[17,4]],db,null,[qb]),(n()(),o["\u0275eld"](72,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](73,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](75,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](76,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,null,21,"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,Fb,yb)),o["\u0275did"](78,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,24,{_control:0}),o["\u0275qud"](335544320,25,{_placeholderChild:0}),o["\u0275qud"](335544320,26,{_labelChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,92)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.category=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](88,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](89,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](91,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](92,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,31,{options:1}),o["\u0275qud"](603979776,32,{optionGroups:1}),o["\u0275qud"](335544320,33,{customTrigger:0}),o["\u0275prd"](2048,[[24,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,CR)),o["\u0275did"](98,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](99,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,101)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,101).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,101)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,101)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==r.uploadImageFile(t)&&l),l},null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[am]),o["\u0275did"](101,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),(n()(),o["\u0275eld"](102,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,99).click()&&l),l},pu,cu)),o["\u0275did"](103,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](105,0,null,null,16,"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,Fb,yb)),o["\u0275did"](106,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,34,{_control:0}),o["\u0275qud"](335544320,35,{_placeholderChild:0}),o["\u0275qud"](335544320,36,{_labelChild:0}),o["\u0275qud"](603979776,37,{_errorChildren:1}),o["\u0275qud"](603979776,38,{_hintChildren:1}),o["\u0275qud"](603979776,39,{_prefixChildren:1}),o["\u0275qud"](603979776,40,{_suffixChildren:1}),(n()(),o["\u0275eld"](114,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,115)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,115).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,115)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,115)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,120)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,120)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,120)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.path=t)&&l),l},null,null)),o["\u0275did"](115,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](117,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](119,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](120,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[34,4]],db,null,[qb]),(n()(),o["\u0275eld"](122,0,null,null,16,"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,Fb,yb)),o["\u0275did"](123,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,41,{_control:0}),o["\u0275qud"](335544320,42,{_placeholderChild:0}),o["\u0275qud"](335544320,43,{_labelChild:0}),o["\u0275qud"](603979776,44,{_errorChildren:1}),o["\u0275qud"](603979776,45,{_hintChildren:1}),o["\u0275qud"](603979776,46,{_prefixChildren:1}),o["\u0275qud"](603979776,47,{_suffixChildren:1}),(n()(),o["\u0275eld"](131,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,132)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,132).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,132)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,132)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,137)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,137)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,137)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.startup_config=t)&&l),l},null,null)),o["\u0275did"](132,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](134,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](136,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](137,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[41,4]],db,null,[qb]),(n()(),o["\u0275eld"](139,0,null,null,17,"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,Fb,yb)),o["\u0275did"](140,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,48,{_control:0}),o["\u0275qud"](335544320,49,{_placeholderChild:0}),o["\u0275qud"](335544320,50,{_labelChild:0}),o["\u0275qud"](603979776,51,{_errorChildren:1}),o["\u0275qud"](603979776,52,{_hintChildren:1}),o["\u0275qud"](603979776,53,{_prefixChildren:1}),o["\u0275qud"](603979776,54,{_suffixChildren:1}),(n()(),o["\u0275eld"](148,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,149)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,149).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,149)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,149)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,155)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,155)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,155)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.private_config=t)&&l),l},null,null)),o["\u0275did"](149,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](151,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[6,om]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](152,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](154,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](155,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[48,4]],db,null,[qb]),(n()(),o["\u0275eld"](157,0,null,1,20,"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,Fb,yb)),o["\u0275did"](158,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,55,{_control:0}),o["\u0275qud"](335544320,56,{_placeholderChild:0}),o["\u0275qud"](335544320,57,{_labelChild:0}),o["\u0275qud"](603979776,58,{_errorChildren:1}),o["\u0275qud"](603979776,59,{_hintChildren:1}),o["\u0275qud"](603979776,60,{_prefixChildren:1}),o["\u0275qud"](603979776,61,{_suffixChildren:1}),(n()(),o["\u0275eld"](166,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,171)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,171)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,171)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.console_type=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](168,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](170,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](171,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,62,{options:1}),o["\u0275qud"](603979776,63,{optionGroups:1}),o["\u0275qud"](335544320,64,{customTrigger:0}),o["\u0275prd"](2048,[[55,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,xR)),o["\u0275did"](177,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](178,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},ab,ib)),o["\u0275did"](179,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](181,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](183,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](185,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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.iouTemplate.l1_keepalives=t)&&l),l},ab,ib)),o["\u0275did"](187,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](189,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](191,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable layer 1 keepalive messages (non-functional) "])),(n()(),o["\u0275eld"](193,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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.defaultSettings=t)&&l),l},ab,ib)),o["\u0275did"](195,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](197,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](199,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use default IOU values for memories "])),(n()(),o["\u0275and"](16777216,null,1,1,null,SR)),o["\u0275did"](202,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,kR)),o["\u0275did"](204,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](205,16777216,null,null,51,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](206,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,79,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,210)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,210)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](210,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](211,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](212,{value:0,params:1}),(n()(),o["\u0275eld"](213,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](214,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](216,0,null,1,40,"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["\u0275nov"](n,218).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,218).onReset()&&l),l},null,null)),o["\u0275did"](217,16384,null,0,ov,[],null,null),o["\u0275did"](218,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](220,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](221,0,null,null,17,"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,Fb,yb)),o["\u0275did"](222,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,80,{_control:0}),o["\u0275qud"](335544320,81,{_placeholderChild:0}),o["\u0275qud"](335544320,82,{_labelChild:0}),o["\u0275qud"](603979776,83,{_errorChildren:1}),o["\u0275qud"](603979776,84,{_hintChildren:1}),o["\u0275qud"](603979776,85,{_prefixChildren:1}),o["\u0275qud"](603979776,86,{_suffixChildren:1}),(n()(),o["\u0275eld"](230,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,231)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,231).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,231)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,231)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,232).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,232).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,232).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,237)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,237)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,237)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.ethernet_adapters=t)&&l),l},null,null)),o["\u0275did"](231,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](232,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](234,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](236,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](237,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[80,4]],db,null,[qb]),(n()(),o["\u0275eld"](239,0,null,null,17,"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,Fb,yb)),o["\u0275did"](240,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,87,{_control:0}),o["\u0275qud"](335544320,88,{_placeholderChild:0}),o["\u0275qud"](335544320,89,{_labelChild:0}),o["\u0275qud"](603979776,90,{_errorChildren:1}),o["\u0275qud"](603979776,91,{_hintChildren:1}),o["\u0275qud"](603979776,92,{_prefixChildren:1}),o["\u0275qud"](603979776,93,{_suffixChildren:1}),(n()(),o["\u0275eld"](248,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,249)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,249).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,249)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,249)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,250).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,250).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,250).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,255)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,255)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,255)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.serial_adapters=t)&&l),l},null,null)),o["\u0275did"](249,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](250,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](252,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](254,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](255,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[87,4]],db,null,[qb]),(n()(),o["\u0275eld"](257,16777216,null,null,27,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Wg,Hg)),o["\u0275did"](258,1753088,null,1,jg,[[3,Ag],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,qg]],null,null),o["\u0275qud"](335544320,94,{_lazyContent:0}),o["\u0275prd"](256,null,Ag,void 0,[]),(n()(),o["\u0275eld"](261,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],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,262)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,262)._keydown(t)&&l),l},Yg,Gg)),o["\u0275did"](262,180224,[[1,4]],0,Lg,[jg,o.ElementRef,Bo,o.ChangeDetectorRef,[2,qg]],null,null),o["\u0275pod"](263,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](264,{value:0,params:1}),(n()(),o["\u0275eld"](265,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](266,16384,null,0,Bg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](268,0,null,1,16,"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,Fb,yb)),o["\u0275did"](269,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,95,{_control:0}),o["\u0275qud"](335544320,96,{_placeholderChild:0}),o["\u0275qud"](335544320,97,{_labelChild:0}),o["\u0275qud"](603979776,98,{_errorChildren:1}),o["\u0275qud"](603979776,99,{_hintChildren:1}),o["\u0275qud"](603979776,100,{_prefixChildren:1}),o["\u0275qud"](603979776,101,{_suffixChildren:1}),(n()(),o["\u0275eld"](277,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,278)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,278).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,278)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,278)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,283)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,283)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,283)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](278,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](280,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](282,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](283,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[95,4]],db,null,[qb]),(n()(),o["\u0275eld"](285,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](286,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](287,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](289,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](290,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,33,0,"templateName",t.iouTemplate.name),n(e,36,0,"Template name","text"),n(e,50,0,"defaultName",t.iouTemplate.default_name_format),n(e,53,0,"Default name format","text"),n(e,67,0,"symbol",t.iouTemplate.symbol),n(e,70,0,"Symbol","text");var l=t.iouTemplate.category,o=n(e,89,0,!0);n(e,88,0,l,o),n(e,92,0,"Category"),n(e,98,0,t.categories),n(e,103,0,"primary"),n(e,117,0,"path",t.iouTemplate.path),n(e,120,0,"IOU image path","text"),n(e,134,0,"initialConfig",t.iouTemplate.startup_config),n(e,137,0,"Startup config","text");var r=t.iouTemplate.private_config,i=n(e,152,0,!0);n(e,151,0,r,i),n(e,155,0,"Private config","text"),n(e,168,0,t.iouTemplate.console_type),n(e,171,0,"Console type"),n(e,177,0,t.consoleTypes),n(e,181,0,t.iouTemplate.console_auto_start),n(e,189,0,t.iouTemplate.l1_keepalives),n(e,197,0,t.defaultSettings),n(e,202,0,!t.defaultSettings),n(e,204,0,!t.defaultSettings),n(e,218,0,t.networkForm),n(e,234,0,"ethernetAdapters",t.iouTemplate.ethernet_adapters),n(e,237,0,"Ethernet adapters","number"),n(e,252,0,"serialAdapters",t.iouTemplate.serial_adapters),n(e,255,0,"Serial adapters","number"),n(e,280,0,t.iouTemplate.usage),n(e,283,0,"text"),n(e,290,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,64,1,[o["\u0275nov"](e,69).ngClassUntouched,o["\u0275nov"](e,69).ngClassTouched,o["\u0275nov"](e,69).ngClassPristine,o["\u0275nov"](e,69).ngClassDirty,o["\u0275nov"](e,69).ngClassValid,o["\u0275nov"](e,69).ngClassInvalid,o["\u0275nov"](e,69).ngClassPending,o["\u0275nov"](e,70)._isServer,o["\u0275nov"](e,70).id,o["\u0275nov"](e,70).placeholder,o["\u0275nov"](e,70).disabled,o["\u0275nov"](e,70).required,o["\u0275nov"](e,70).readonly&&!o["\u0275nov"](e,70)._isNativeSelect||null,o["\u0275nov"](e,70)._ariaDescribedby||null,o["\u0275nov"](e,70).errorState,o["\u0275nov"](e,70).required.toString()]),n(e,72,0,o["\u0275nov"](e,73).disabled||null,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).tabIndex,o["\u0275nov"](e,92)._getAriaLabel(),o["\u0275nov"](e,92)._getAriaLabelledby(),o["\u0275nov"](e,92).required.toString(),o["\u0275nov"](e,92).disabled.toString(),o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).panelOpen?o["\u0275nov"](e,92)._optionIds:null,o["\u0275nov"](e,92).multiple,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92)._getAriaActiveDescendant(),o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).empty]),n(e,102,0,o["\u0275nov"](e,103).disabled||null,"NoopAnimations"===o["\u0275nov"](e,103)._animationMode),n(e,105,1,["standard"==o["\u0275nov"](e,106).appearance,"fill"==o["\u0275nov"](e,106).appearance,"outline"==o["\u0275nov"](e,106).appearance,"legacy"==o["\u0275nov"](e,106).appearance,o["\u0275nov"](e,106)._control.errorState,o["\u0275nov"](e,106)._canLabelFloat,o["\u0275nov"](e,106)._shouldLabelFloat(),o["\u0275nov"](e,106)._hasFloatingLabel(),o["\u0275nov"](e,106)._hideControlPlaceholder(),o["\u0275nov"](e,106)._control.disabled,o["\u0275nov"](e,106)._control.autofilled,o["\u0275nov"](e,106)._control.focused,"accent"==o["\u0275nov"](e,106).color,"warn"==o["\u0275nov"](e,106).color,o["\u0275nov"](e,106)._shouldForward("untouched"),o["\u0275nov"](e,106)._shouldForward("touched"),o["\u0275nov"](e,106)._shouldForward("pristine"),o["\u0275nov"](e,106)._shouldForward("dirty"),o["\u0275nov"](e,106)._shouldForward("valid"),o["\u0275nov"](e,106)._shouldForward("invalid"),o["\u0275nov"](e,106)._shouldForward("pending"),!o["\u0275nov"](e,106)._animationsEnabled]),n(e,114,1,[o["\u0275nov"](e,119).ngClassUntouched,o["\u0275nov"](e,119).ngClassTouched,o["\u0275nov"](e,119).ngClassPristine,o["\u0275nov"](e,119).ngClassDirty,o["\u0275nov"](e,119).ngClassValid,o["\u0275nov"](e,119).ngClassInvalid,o["\u0275nov"](e,119).ngClassPending,o["\u0275nov"](e,120)._isServer,o["\u0275nov"](e,120).id,o["\u0275nov"](e,120).placeholder,o["\u0275nov"](e,120).disabled,o["\u0275nov"](e,120).required,o["\u0275nov"](e,120).readonly&&!o["\u0275nov"](e,120)._isNativeSelect||null,o["\u0275nov"](e,120)._ariaDescribedby||null,o["\u0275nov"](e,120).errorState,o["\u0275nov"](e,120).required.toString()]),n(e,122,1,["standard"==o["\u0275nov"](e,123).appearance,"fill"==o["\u0275nov"](e,123).appearance,"outline"==o["\u0275nov"](e,123).appearance,"legacy"==o["\u0275nov"](e,123).appearance,o["\u0275nov"](e,123)._control.errorState,o["\u0275nov"](e,123)._canLabelFloat,o["\u0275nov"](e,123)._shouldLabelFloat(),o["\u0275nov"](e,123)._hasFloatingLabel(),o["\u0275nov"](e,123)._hideControlPlaceholder(),o["\u0275nov"](e,123)._control.disabled,o["\u0275nov"](e,123)._control.autofilled,o["\u0275nov"](e,123)._control.focused,"accent"==o["\u0275nov"](e,123).color,"warn"==o["\u0275nov"](e,123).color,o["\u0275nov"](e,123)._shouldForward("untouched"),o["\u0275nov"](e,123)._shouldForward("touched"),o["\u0275nov"](e,123)._shouldForward("pristine"),o["\u0275nov"](e,123)._shouldForward("dirty"),o["\u0275nov"](e,123)._shouldForward("valid"),o["\u0275nov"](e,123)._shouldForward("invalid"),o["\u0275nov"](e,123)._shouldForward("pending"),!o["\u0275nov"](e,123)._animationsEnabled]),n(e,131,1,[o["\u0275nov"](e,136).ngClassUntouched,o["\u0275nov"](e,136).ngClassTouched,o["\u0275nov"](e,136).ngClassPristine,o["\u0275nov"](e,136).ngClassDirty,o["\u0275nov"](e,136).ngClassValid,o["\u0275nov"](e,136).ngClassInvalid,o["\u0275nov"](e,136).ngClassPending,o["\u0275nov"](e,137)._isServer,o["\u0275nov"](e,137).id,o["\u0275nov"](e,137).placeholder,o["\u0275nov"](e,137).disabled,o["\u0275nov"](e,137).required,o["\u0275nov"](e,137).readonly&&!o["\u0275nov"](e,137)._isNativeSelect||null,o["\u0275nov"](e,137)._ariaDescribedby||null,o["\u0275nov"](e,137).errorState,o["\u0275nov"](e,137).required.toString()]),n(e,139,1,["standard"==o["\u0275nov"](e,140).appearance,"fill"==o["\u0275nov"](e,140).appearance,"outline"==o["\u0275nov"](e,140).appearance,"legacy"==o["\u0275nov"](e,140).appearance,o["\u0275nov"](e,140)._control.errorState,o["\u0275nov"](e,140)._canLabelFloat,o["\u0275nov"](e,140)._shouldLabelFloat(),o["\u0275nov"](e,140)._hasFloatingLabel(),o["\u0275nov"](e,140)._hideControlPlaceholder(),o["\u0275nov"](e,140)._control.disabled,o["\u0275nov"](e,140)._control.autofilled,o["\u0275nov"](e,140)._control.focused,"accent"==o["\u0275nov"](e,140).color,"warn"==o["\u0275nov"](e,140).color,o["\u0275nov"](e,140)._shouldForward("untouched"),o["\u0275nov"](e,140)._shouldForward("touched"),o["\u0275nov"](e,140)._shouldForward("pristine"),o["\u0275nov"](e,140)._shouldForward("dirty"),o["\u0275nov"](e,140)._shouldForward("valid"),o["\u0275nov"](e,140)._shouldForward("invalid"),o["\u0275nov"](e,140)._shouldForward("pending"),!o["\u0275nov"](e,140)._animationsEnabled]),n(e,148,1,[o["\u0275nov"](e,154).ngClassUntouched,o["\u0275nov"](e,154).ngClassTouched,o["\u0275nov"](e,154).ngClassPristine,o["\u0275nov"](e,154).ngClassDirty,o["\u0275nov"](e,154).ngClassValid,o["\u0275nov"](e,154).ngClassInvalid,o["\u0275nov"](e,154).ngClassPending,o["\u0275nov"](e,155)._isServer,o["\u0275nov"](e,155).id,o["\u0275nov"](e,155).placeholder,o["\u0275nov"](e,155).disabled,o["\u0275nov"](e,155).required,o["\u0275nov"](e,155).readonly&&!o["\u0275nov"](e,155)._isNativeSelect||null,o["\u0275nov"](e,155)._ariaDescribedby||null,o["\u0275nov"](e,155).errorState,o["\u0275nov"](e,155).required.toString()]),n(e,157,1,["standard"==o["\u0275nov"](e,158).appearance,"fill"==o["\u0275nov"](e,158).appearance,"outline"==o["\u0275nov"](e,158).appearance,"legacy"==o["\u0275nov"](e,158).appearance,o["\u0275nov"](e,158)._control.errorState,o["\u0275nov"](e,158)._canLabelFloat,o["\u0275nov"](e,158)._shouldLabelFloat(),o["\u0275nov"](e,158)._hasFloatingLabel(),o["\u0275nov"](e,158)._hideControlPlaceholder(),o["\u0275nov"](e,158)._control.disabled,o["\u0275nov"](e,158)._control.autofilled,o["\u0275nov"](e,158)._control.focused,"accent"==o["\u0275nov"](e,158).color,"warn"==o["\u0275nov"](e,158).color,o["\u0275nov"](e,158)._shouldForward("untouched"),o["\u0275nov"](e,158)._shouldForward("touched"),o["\u0275nov"](e,158)._shouldForward("pristine"),o["\u0275nov"](e,158)._shouldForward("dirty"),o["\u0275nov"](e,158)._shouldForward("valid"),o["\u0275nov"](e,158)._shouldForward("invalid"),o["\u0275nov"](e,158)._shouldForward("pending"),!o["\u0275nov"](e,158)._animationsEnabled]),n(e,166,1,[o["\u0275nov"](e,170).ngClassUntouched,o["\u0275nov"](e,170).ngClassTouched,o["\u0275nov"](e,170).ngClassPristine,o["\u0275nov"](e,170).ngClassDirty,o["\u0275nov"](e,170).ngClassValid,o["\u0275nov"](e,170).ngClassInvalid,o["\u0275nov"](e,170).ngClassPending,o["\u0275nov"](e,171).id,o["\u0275nov"](e,171).tabIndex,o["\u0275nov"](e,171)._getAriaLabel(),o["\u0275nov"](e,171)._getAriaLabelledby(),o["\u0275nov"](e,171).required.toString(),o["\u0275nov"](e,171).disabled.toString(),o["\u0275nov"](e,171).errorState,o["\u0275nov"](e,171).panelOpen?o["\u0275nov"](e,171)._optionIds:null,o["\u0275nov"](e,171).multiple,o["\u0275nov"](e,171)._ariaDescribedby||null,o["\u0275nov"](e,171)._getAriaActiveDescendant(),o["\u0275nov"](e,171).disabled,o["\u0275nov"](e,171).errorState,o["\u0275nov"](e,171).required,o["\u0275nov"](e,171).empty]),n(e,178,1,[o["\u0275nov"](e,179).id,null,o["\u0275nov"](e,179).indeterminate,o["\u0275nov"](e,179).checked,o["\u0275nov"](e,179).disabled,"before"==o["\u0275nov"](e,179).labelPosition,"NoopAnimations"===o["\u0275nov"](e,179)._animationMode,o["\u0275nov"](e,183).ngClassUntouched,o["\u0275nov"](e,183).ngClassTouched,o["\u0275nov"](e,183).ngClassPristine,o["\u0275nov"](e,183).ngClassDirty,o["\u0275nov"](e,183).ngClassValid,o["\u0275nov"](e,183).ngClassInvalid,o["\u0275nov"](e,183).ngClassPending]),n(e,186,1,[o["\u0275nov"](e,187).id,null,o["\u0275nov"](e,187).indeterminate,o["\u0275nov"](e,187).checked,o["\u0275nov"](e,187).disabled,"before"==o["\u0275nov"](e,187).labelPosition,"NoopAnimations"===o["\u0275nov"](e,187)._animationMode,o["\u0275nov"](e,191).ngClassUntouched,o["\u0275nov"](e,191).ngClassTouched,o["\u0275nov"](e,191).ngClassPristine,o["\u0275nov"](e,191).ngClassDirty,o["\u0275nov"](e,191).ngClassValid,o["\u0275nov"](e,191).ngClassInvalid,o["\u0275nov"](e,191).ngClassPending]),n(e,194,1,[o["\u0275nov"](e,195).id,null,o["\u0275nov"](e,195).indeterminate,o["\u0275nov"](e,195).checked,o["\u0275nov"](e,195).disabled,"before"==o["\u0275nov"](e,195).labelPosition,"NoopAnimations"===o["\u0275nov"](e,195)._animationMode,o["\u0275nov"](e,199).ngClassUntouched,o["\u0275nov"](e,199).ngClassTouched,o["\u0275nov"](e,199).ngClassPristine,o["\u0275nov"](e,199).ngClassDirty,o["\u0275nov"](e,199).ngClassValid,o["\u0275nov"](e,199).ngClassInvalid,o["\u0275nov"](e,199).ngClassPending]),n(e,205,0,o["\u0275nov"](e,206).expanded,"NoopAnimations"===o["\u0275nov"](e,206)._animationMode,o["\u0275nov"](e,206)._hasSpacing());var d=o["\u0275nov"](e,210).panel._headerId,c=o["\u0275nov"](e,210).disabled?-1:0,p=o["\u0275nov"](e,210)._getPanelId(),f=o["\u0275nov"](e,210)._isExpanded(),h=o["\u0275nov"](e,210).panel.disabled,m=o["\u0275nov"](e,210)._isExpanded(),v=n(e,212,0,o["\u0275nov"](e,210)._getExpandedState(),n(e,211,0,o["\u0275nov"](e,210).collapsedHeight,o["\u0275nov"](e,210).expandedHeight));n(e,209,0,d,c,p,f,h,m,v),n(e,216,0,o["\u0275nov"](e,220).ngClassUntouched,o["\u0275nov"](e,220).ngClassTouched,o["\u0275nov"](e,220).ngClassPristine,o["\u0275nov"](e,220).ngClassDirty,o["\u0275nov"](e,220).ngClassValid,o["\u0275nov"](e,220).ngClassInvalid,o["\u0275nov"](e,220).ngClassPending),n(e,221,1,["standard"==o["\u0275nov"](e,222).appearance,"fill"==o["\u0275nov"](e,222).appearance,"outline"==o["\u0275nov"](e,222).appearance,"legacy"==o["\u0275nov"](e,222).appearance,o["\u0275nov"](e,222)._control.errorState,o["\u0275nov"](e,222)._canLabelFloat,o["\u0275nov"](e,222)._shouldLabelFloat(),o["\u0275nov"](e,222)._hasFloatingLabel(),o["\u0275nov"](e,222)._hideControlPlaceholder(),o["\u0275nov"](e,222)._control.disabled,o["\u0275nov"](e,222)._control.autofilled,o["\u0275nov"](e,222)._control.focused,"accent"==o["\u0275nov"](e,222).color,"warn"==o["\u0275nov"](e,222).color,o["\u0275nov"](e,222)._shouldForward("untouched"),o["\u0275nov"](e,222)._shouldForward("touched"),o["\u0275nov"](e,222)._shouldForward("pristine"),o["\u0275nov"](e,222)._shouldForward("dirty"),o["\u0275nov"](e,222)._shouldForward("valid"),o["\u0275nov"](e,222)._shouldForward("invalid"),o["\u0275nov"](e,222)._shouldForward("pending"),!o["\u0275nov"](e,222)._animationsEnabled]),n(e,230,1,[o["\u0275nov"](e,236).ngClassUntouched,o["\u0275nov"](e,236).ngClassTouched,o["\u0275nov"](e,236).ngClassPristine,o["\u0275nov"](e,236).ngClassDirty,o["\u0275nov"](e,236).ngClassValid,o["\u0275nov"](e,236).ngClassInvalid,o["\u0275nov"](e,236).ngClassPending,o["\u0275nov"](e,237)._isServer,o["\u0275nov"](e,237).id,o["\u0275nov"](e,237).placeholder,o["\u0275nov"](e,237).disabled,o["\u0275nov"](e,237).required,o["\u0275nov"](e,237).readonly&&!o["\u0275nov"](e,237)._isNativeSelect||null,o["\u0275nov"](e,237)._ariaDescribedby||null,o["\u0275nov"](e,237).errorState,o["\u0275nov"](e,237).required.toString()]),n(e,239,1,["standard"==o["\u0275nov"](e,240).appearance,"fill"==o["\u0275nov"](e,240).appearance,"outline"==o["\u0275nov"](e,240).appearance,"legacy"==o["\u0275nov"](e,240).appearance,o["\u0275nov"](e,240)._control.errorState,o["\u0275nov"](e,240)._canLabelFloat,o["\u0275nov"](e,240)._shouldLabelFloat(),o["\u0275nov"](e,240)._hasFloatingLabel(),o["\u0275nov"](e,240)._hideControlPlaceholder(),o["\u0275nov"](e,240)._control.disabled,o["\u0275nov"](e,240)._control.autofilled,o["\u0275nov"](e,240)._control.focused,"accent"==o["\u0275nov"](e,240).color,"warn"==o["\u0275nov"](e,240).color,o["\u0275nov"](e,240)._shouldForward("untouched"),o["\u0275nov"](e,240)._shouldForward("touched"),o["\u0275nov"](e,240)._shouldForward("pristine"),o["\u0275nov"](e,240)._shouldForward("dirty"),o["\u0275nov"](e,240)._shouldForward("valid"),o["\u0275nov"](e,240)._shouldForward("invalid"),o["\u0275nov"](e,240)._shouldForward("pending"),!o["\u0275nov"](e,240)._animationsEnabled]),n(e,248,1,[o["\u0275nov"](e,254).ngClassUntouched,o["\u0275nov"](e,254).ngClassTouched,o["\u0275nov"](e,254).ngClassPristine,o["\u0275nov"](e,254).ngClassDirty,o["\u0275nov"](e,254).ngClassValid,o["\u0275nov"](e,254).ngClassInvalid,o["\u0275nov"](e,254).ngClassPending,o["\u0275nov"](e,255)._isServer,o["\u0275nov"](e,255).id,o["\u0275nov"](e,255).placeholder,o["\u0275nov"](e,255).disabled,o["\u0275nov"](e,255).required,o["\u0275nov"](e,255).readonly&&!o["\u0275nov"](e,255)._isNativeSelect||null,o["\u0275nov"](e,255)._ariaDescribedby||null,o["\u0275nov"](e,255).errorState,o["\u0275nov"](e,255).required.toString()]),n(e,257,0,o["\u0275nov"](e,258).expanded,"NoopAnimations"===o["\u0275nov"](e,258)._animationMode,o["\u0275nov"](e,258)._hasSpacing());var g=o["\u0275nov"](e,262).panel._headerId,b=o["\u0275nov"](e,262).disabled?-1:0,y=o["\u0275nov"](e,262)._getPanelId(),_=o["\u0275nov"](e,262)._isExpanded(),w=o["\u0275nov"](e,262).panel.disabled,C=o["\u0275nov"](e,262)._isExpanded(),x=n(e,264,0,o["\u0275nov"](e,262)._getExpandedState(),n(e,263,0,o["\u0275nov"](e,262).collapsedHeight,o["\u0275nov"](e,262).expandedHeight));n(e,261,0,g,b,y,_,w,C,x),n(e,268,1,["standard"==o["\u0275nov"](e,269).appearance,"fill"==o["\u0275nov"](e,269).appearance,"outline"==o["\u0275nov"](e,269).appearance,"legacy"==o["\u0275nov"](e,269).appearance,o["\u0275nov"](e,269)._control.errorState,o["\u0275nov"](e,269)._canLabelFloat,o["\u0275nov"](e,269)._shouldLabelFloat(),o["\u0275nov"](e,269)._hasFloatingLabel(),o["\u0275nov"](e,269)._hideControlPlaceholder(),o["\u0275nov"](e,269)._control.disabled,o["\u0275nov"](e,269)._control.autofilled,o["\u0275nov"](e,269)._control.focused,"accent"==o["\u0275nov"](e,269).color,"warn"==o["\u0275nov"](e,269).color,o["\u0275nov"](e,269)._shouldForward("untouched"),o["\u0275nov"](e,269)._shouldForward("touched"),o["\u0275nov"](e,269)._shouldForward("pristine"),o["\u0275nov"](e,269)._shouldForward("dirty"),o["\u0275nov"](e,269)._shouldForward("valid"),o["\u0275nov"](e,269)._shouldForward("invalid"),o["\u0275nov"](e,269)._shouldForward("pending"),!o["\u0275nov"](e,269)._animationsEnabled]),n(e,277,1,[o["\u0275nov"](e,282).ngClassUntouched,o["\u0275nov"](e,282).ngClassTouched,o["\u0275nov"](e,282).ngClassPristine,o["\u0275nov"](e,282).ngClassDirty,o["\u0275nov"](e,282).ngClassValid,o["\u0275nov"](e,282).ngClassInvalid,o["\u0275nov"](e,282).ngClassPending,o["\u0275nov"](e,283)._isServer,o["\u0275nov"](e,283).id,o["\u0275nov"](e,283).placeholder,o["\u0275nov"](e,283).disabled,o["\u0275nov"](e,283).required,o["\u0275nov"](e,283).readonly&&!o["\u0275nov"](e,283)._isNativeSelect||null,o["\u0275nov"](e,283)._ariaDescribedby||null,o["\u0275nov"](e,283).errorState,o["\u0275nov"](e,283).required.toString()]),n(e,286,0,o["\u0275nov"](e,287).disabled||null,"NoopAnimations"===o["\u0275nov"](e,287)._animationMode),n(e,289,0,o["\u0275nov"](e,290).disabled||null,"NoopAnimations"===o["\u0275nov"](e,290)._animationMode)})}function TR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},uw,aw)),o["\u0275did"](1,49152,null,0,iw,[],{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 RR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOU device configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,ER)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,TR)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,t.isSymbolSelectionOpened);n(e,1,0,"content",l),n(e,8,0,t.iouTemplate),n(e,10,0,t.isSymbolSelectionOpened&&t.iouTemplate)},null)}function IR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-iou-template-details",[],null,null,null,RR,wR)),o["\u0275did"](1,114688,null,0,_R,[bt,Uh,aR,fc,yR,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var OR=o["\u0275ccf"]("app-iou-template-details",_R,IR,{},{},[]),FR=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Bm("",nm.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(ag.v4)(),this.iouTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.iouTemplate).subscribe(function(e){n.goBack()}))},n}(),DR=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function MR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,36,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy IOU device template"])),(n()(),o["\u0275eld"](5,0,null,null,31,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,23,"mat-card",[["class","matCard mat-card"]],null,null,null,vp,mp)),o["\u0275did"](7,49152,null,0,fp,[],null,null),(n()(),o["\u0275eld"](8,0,null,0,21,"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["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,ov,[],null,null),o["\u0275did"](10,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](12,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](13,0,null,null,16,"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,Fb,yb)),o["\u0275did"](14,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](22,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](23,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](25,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](27,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](28,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](30,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](31,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](32,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.templateNameForm),n(e,25,0,"templateName",t.templateName),n(e,28,0,"Name","text"),n(e,35,0,"primary")},function(n,e){n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,22,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,31,0,o["\u0275nov"](e,32).disabled||null,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode)})}function NR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-iou-template",[],null,null,null,MR,DR)),o["\u0275did"](1,114688,null,0,FR,[bt,Uh,aR,fc,Rl,lv],null,null)],function(n,e){n(e,1,0)},null)}var AR=o["\u0275ccf"]("app-copy-iou-template",FR,NR,{},{},[]),PR=function(){return function(){}}(),qR=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.isGns3VmChosen=!1,this.isRemoteComputerChosen=!1,this.newImageSelected=!1,this.types=["L2 image","L3 image"],this.iouImages=[],this.iouTemplate=new PR,this.templateNameForm=this.formBuilder.group({templateName:new Bm("",nm.required)}),this.imageForm=this.formBuilder.group({imageName:new Bm("",nm.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.templateMocksService.getIouTemplate().subscribe(function(e){n.iouTemplate=e})})},n.prototype.setServerType=function(n){"gns3 vm"===n?this.isGns3VmChosen=!0:this.isRemoteComputerChosen=!0},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){this.iouTemplate.path=n.target.files[0].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.newImageSelected&&!this.imageForm.invalid||!this.newImageSelected&&this.iouTemplate.path)?(this.iouTemplate.template_id=Object(ag.v4)(),this.iouService.addTemplate(this.server,this.iouTemplate).subscribe(function(e){n.goBack()})):this.toasterService.error("Fill all required fields")},n}(),jR=o["\u0275crt"]({encapsulation:0,styles:[[""],Vy],data:{}});function LR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[22,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function VR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[32,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function BR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,21,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,25,{_control:0}),o["\u0275qud"](335544320,26,{_placeholderChild:0}),o["\u0275qud"](335544320,27,{_labelChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,15)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.path=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](11,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](12,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,32,{options:1}),o["\u0275qud"](603979776,33,{optionGroups:1}),o["\u0275qud"](335544320,34,{customTrigger:0}),o["\u0275prd"](2048,[[25,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,VR)),o["\u0275did"](21,278528,null,0,I.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,12,0,!0);n(e,11,0,l,o),n(e,15,0,"IOU image"),n(e,21,0,t.iouImages)},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).tabIndex,o["\u0275nov"](e,15)._getAriaLabel(),o["\u0275nov"](e,15)._getAriaLabelledby(),o["\u0275nov"](e,15).required.toString(),o["\u0275nov"](e,15).disabled.toString(),o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).panelOpen?o["\u0275nov"](e,15)._optionIds:null,o["\u0275nov"](e,15).multiple,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15)._getAriaActiveDescendant(),o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).empty])})}function zR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,3)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,3).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,3)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,3)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==r.uploadImageFile(t)&&l),l},null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[am]),o["\u0275did"](3,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),(n()(),o["\u0275eld"](4,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).click()&&l),l},pu,cu)),o["\u0275did"](5,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](7,0,null,null,16,"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,Fb,yb)),o["\u0275did"](8,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,35,{_control:0}),o["\u0275qud"](335544320,36,{_placeholderChild:0}),o["\u0275qud"](335544320,37,{_labelChild:0}),o["\u0275qud"](603979776,38,{_errorChildren:1}),o["\u0275qud"](603979776,39,{_hintChildren:1}),o["\u0275qud"](603979776,40,{_prefixChildren:1}),o["\u0275qud"](603979776,41,{_suffixChildren:1}),(n()(),o["\u0275eld"](16,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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,17)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,22)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.path=t)&&l),l},null,null)),o["\u0275did"](17,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](19,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](21,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](22,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[35,4]],db,null,[qb])],function(n,e){var t=e.component;n(e,5,0,"primary"),n(e,19,0,"imageName",t.iouTemplate.path),n(e,22,0,"IOU image","text")},function(n,e){n(e,4,0,o["\u0275nov"](e,5).disabled||null,"NoopAnimations"===o["\u0275nov"](e,5)._animationMode),n(e,7,1,["standard"==o["\u0275nov"](e,8).appearance,"fill"==o["\u0275nov"](e,8).appearance,"outline"==o["\u0275nov"](e,8).appearance,"legacy"==o["\u0275nov"](e,8).appearance,o["\u0275nov"](e,8)._control.errorState,o["\u0275nov"](e,8)._canLabelFloat,o["\u0275nov"](e,8)._shouldLabelFloat(),o["\u0275nov"](e,8)._hasFloatingLabel(),o["\u0275nov"](e,8)._hideControlPlaceholder(),o["\u0275nov"](e,8)._control.disabled,o["\u0275nov"](e,8)._control.autofilled,o["\u0275nov"](e,8)._control.focused,"accent"==o["\u0275nov"](e,8).color,"warn"==o["\u0275nov"](e,8).color,o["\u0275nov"](e,8)._shouldForward("untouched"),o["\u0275nov"](e,8)._shouldForward("touched"),o["\u0275nov"](e,8)._shouldForward("pristine"),o["\u0275nov"](e,8)._shouldForward("dirty"),o["\u0275nov"](e,8)._shouldForward("valid"),o["\u0275nov"](e,8)._shouldForward("invalid"),o["\u0275nov"](e,8)._shouldForward("pending"),!o["\u0275nov"](e,8)._animationsEnabled]),n(e,16,1,[o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending,o["\u0275nov"](e,22)._isServer,o["\u0275nov"](e,22).id,o["\u0275nov"](e,22).placeholder,o["\u0275nov"](e,22).disabled,o["\u0275nov"](e,22).required,o["\u0275nov"](e,22).readonly&&!o["\u0275nov"](e,22)._isNativeSelect||null,o["\u0275nov"](e,22)._ariaDescribedby||null,o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).required.toString()])})}function UR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,104,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New IOU device template"])),(n()(),o["\u0275eld"](5,0,null,null,99,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,91,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,90,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,_x,bx)),o["\u0275did"](8,5423104,null,2,fx,[[2,Dr],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,px,null,[fx]),(n()(),o["\u0275eld"](12,0,null,null,14,"mat-step",[["label","Server type"]],null,null,null,gx,mx)),o["\u0275prd"](6144,null,Jo,null,[cx]),o["\u0275did"](14,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,3,{stepLabel:0}),(n()(),o["\u0275eld"](16,0,null,0,10,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[Ek]),o["\u0275did"](18,1064960,null,1,Ek,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_radios:1}),(n()(),o["\u0275eld"](20,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,21)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("remote computer")&&l),l},Ok,Ik)),o["\u0275did"](21,4440064,[[4,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this IOU device on a remote computer"])),(n()(),o["\u0275eld"](23,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](24,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("gns3 vm")&&l),l},Ok,Ik)),o["\u0275did"](25,4440064,[[4,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this IOU device on the GNS3 VM"])),(n()(),o["\u0275eld"](27,0,null,null,25,"mat-step",[["label","Name"]],null,null,null,gx,mx)),o["\u0275did"](28,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,5,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](31,0,null,0,21,"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["\u0275nov"](n,33).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,33).onReset()&&l),l},null,null)),o["\u0275did"](32,16384,null,0,ov,[],null,null),o["\u0275did"](33,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](35,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](36,0,null,null,16,"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,Fb,yb)),o["\u0275did"](37,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,6,{_control:0}),o["\u0275qud"](335544320,7,{_placeholderChild:0}),o["\u0275qud"](335544320,8,{_labelChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](45,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,46)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,46).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,46)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,46)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,51)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,51)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,51)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.name=t)&&l),l},null,null)),o["\u0275did"](46,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](48,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](50,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](51,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[6,4]],db,null,[qb]),(n()(),o["\u0275eld"](53,0,null,null,44,"mat-step",[["label","Image"]],null,null,null,gx,mx)),o["\u0275did"](54,573440,[[1,4]],1,cx,[px,[1,Jo],[2,lx]],{label:[0,"label"]},null),o["\u0275qud"](335544320,13,{stepLabel:0}),o["\u0275prd"](2048,null,Jo,null,[cx]),(n()(),o["\u0275eld"](57,0,null,0,40,"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["\u0275nov"](n,59).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,59).onReset()&&l),l},null,null)),o["\u0275did"](58,16384,null,0,ov,[],null,null),o["\u0275did"](59,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](61,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](62,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,om,function(n){return[n]},[Ek]),o["\u0275did"](64,1064960,null,1,Ek,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,14,{_radios:1}),(n()(),o["\u0275eld"](66,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,67)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Ok,Ik)),o["\u0275did"](67,4440064,[[14,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](69,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],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Ok,Ik)),o["\u0275did"](70,4440064,[[14,4]],0,Tk,[[2,Ek],o.ElementRef,o.ChangeDetectorRef,Bo,Ls,[2,su]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275eld"](72,0,null,null,21,"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,Fb,yb)),o["\u0275did"](73,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,15,{_control:0}),o["\u0275qud"](335544320,16,{_placeholderChild:0}),o["\u0275qud"](335544320,17,{_labelChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](81,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,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,87)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,87)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,87)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedType=t)&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](83,671744,null,0,$m,[[2,Xh],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](84,{standalone:0}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](86,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](87,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,22,{options:1}),o["\u0275qud"](603979776,23,{optionGroups:1}),o["\u0275qud"](335544320,24,{customTrigger:0}),o["\u0275prd"](2048,[[15,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,LR)),o["\u0275did"](93,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,BR)),o["\u0275did"](95,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,zR)),o["\u0275did"](97,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](98,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](99,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](100,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](102,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[8,"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},pu,cu)),o["\u0275did"](103,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,8,0,!0),n(e,14,0,"Server type"),n(e,21,0,"1"),n(e,25,0,"","2"),n(e,28,0,"Name"),n(e,33,0,t.templateNameForm),n(e,48,0,"templateName",t.iouTemplate.name),n(e,51,0,"Name","text"),n(e,54,0,"Image"),n(e,59,0,t.imageForm),n(e,67,0,"","1"),n(e,70,0,"2");var l=t.selectedType,o=n(e,84,0,!0);n(e,83,0,l,o),n(e,87,0,"Type"),n(e,93,0,t.types),n(e,95,0,!t.newImageSelected),n(e,97,0,t.newImageSelected),n(e,103,0,"primary")},function(n,e){n(e,20,0,o["\u0275nov"](e,21).checked,o["\u0275nov"](e,21).disabled,"NoopAnimations"===o["\u0275nov"](e,21)._animationMode,-1,o["\u0275nov"](e,21).id),n(e,24,0,o["\u0275nov"](e,25).checked,o["\u0275nov"](e,25).disabled,"NoopAnimations"===o["\u0275nov"](e,25)._animationMode,-1,o["\u0275nov"](e,25).id),n(e,31,0,o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending),n(e,36,1,["standard"==o["\u0275nov"](e,37).appearance,"fill"==o["\u0275nov"](e,37).appearance,"outline"==o["\u0275nov"](e,37).appearance,"legacy"==o["\u0275nov"](e,37).appearance,o["\u0275nov"](e,37)._control.errorState,o["\u0275nov"](e,37)._canLabelFloat,o["\u0275nov"](e,37)._shouldLabelFloat(),o["\u0275nov"](e,37)._hasFloatingLabel(),o["\u0275nov"](e,37)._hideControlPlaceholder(),o["\u0275nov"](e,37)._control.disabled,o["\u0275nov"](e,37)._control.autofilled,o["\u0275nov"](e,37)._control.focused,"accent"==o["\u0275nov"](e,37).color,"warn"==o["\u0275nov"](e,37).color,o["\u0275nov"](e,37)._shouldForward("untouched"),o["\u0275nov"](e,37)._shouldForward("touched"),o["\u0275nov"](e,37)._shouldForward("pristine"),o["\u0275nov"](e,37)._shouldForward("dirty"),o["\u0275nov"](e,37)._shouldForward("valid"),o["\u0275nov"](e,37)._shouldForward("invalid"),o["\u0275nov"](e,37)._shouldForward("pending"),!o["\u0275nov"](e,37)._animationsEnabled]),n(e,45,1,[o["\u0275nov"](e,50).ngClassUntouched,o["\u0275nov"](e,50).ngClassTouched,o["\u0275nov"](e,50).ngClassPristine,o["\u0275nov"](e,50).ngClassDirty,o["\u0275nov"](e,50).ngClassValid,o["\u0275nov"](e,50).ngClassInvalid,o["\u0275nov"](e,50).ngClassPending,o["\u0275nov"](e,51)._isServer,o["\u0275nov"](e,51).id,o["\u0275nov"](e,51).placeholder,o["\u0275nov"](e,51).disabled,o["\u0275nov"](e,51).required,o["\u0275nov"](e,51).readonly&&!o["\u0275nov"](e,51)._isNativeSelect||null,o["\u0275nov"](e,51)._ariaDescribedby||null,o["\u0275nov"](e,51).errorState,o["\u0275nov"](e,51).required.toString()]),n(e,57,0,o["\u0275nov"](e,61).ngClassUntouched,o["\u0275nov"](e,61).ngClassTouched,o["\u0275nov"](e,61).ngClassPristine,o["\u0275nov"](e,61).ngClassDirty,o["\u0275nov"](e,61).ngClassValid,o["\u0275nov"](e,61).ngClassInvalid,o["\u0275nov"](e,61).ngClassPending),n(e,66,0,o["\u0275nov"](e,67).checked,o["\u0275nov"](e,67).disabled,"NoopAnimations"===o["\u0275nov"](e,67)._animationMode,-1,o["\u0275nov"](e,67).id),n(e,69,0,o["\u0275nov"](e,70).checked,o["\u0275nov"](e,70).disabled,"NoopAnimations"===o["\u0275nov"](e,70)._animationMode,-1,o["\u0275nov"](e,70).id),n(e,72,1,["standard"==o["\u0275nov"](e,73).appearance,"fill"==o["\u0275nov"](e,73).appearance,"outline"==o["\u0275nov"](e,73).appearance,"legacy"==o["\u0275nov"](e,73).appearance,o["\u0275nov"](e,73)._control.errorState,o["\u0275nov"](e,73)._canLabelFloat,o["\u0275nov"](e,73)._shouldLabelFloat(),o["\u0275nov"](e,73)._hasFloatingLabel(),o["\u0275nov"](e,73)._hideControlPlaceholder(),o["\u0275nov"](e,73)._control.disabled,o["\u0275nov"](e,73)._control.autofilled,o["\u0275nov"](e,73)._control.focused,"accent"==o["\u0275nov"](e,73).color,"warn"==o["\u0275nov"](e,73).color,o["\u0275nov"](e,73)._shouldForward("untouched"),o["\u0275nov"](e,73)._shouldForward("touched"),o["\u0275nov"](e,73)._shouldForward("pristine"),o["\u0275nov"](e,73)._shouldForward("dirty"),o["\u0275nov"](e,73)._shouldForward("valid"),o["\u0275nov"](e,73)._shouldForward("invalid"),o["\u0275nov"](e,73)._shouldForward("pending"),!o["\u0275nov"](e,73)._animationsEnabled]),n(e,81,1,[o["\u0275nov"](e,86).ngClassUntouched,o["\u0275nov"](e,86).ngClassTouched,o["\u0275nov"](e,86).ngClassPristine,o["\u0275nov"](e,86).ngClassDirty,o["\u0275nov"](e,86).ngClassValid,o["\u0275nov"](e,86).ngClassInvalid,o["\u0275nov"](e,86).ngClassPending,o["\u0275nov"](e,87).id,o["\u0275nov"](e,87).tabIndex,o["\u0275nov"](e,87)._getAriaLabel(),o["\u0275nov"](e,87)._getAriaLabelledby(),o["\u0275nov"](e,87).required.toString(),o["\u0275nov"](e,87).disabled.toString(),o["\u0275nov"](e,87).errorState,o["\u0275nov"](e,87).panelOpen?o["\u0275nov"](e,87)._optionIds:null,o["\u0275nov"](e,87).multiple,o["\u0275nov"](e,87)._ariaDescribedby||null,o["\u0275nov"](e,87)._getAriaActiveDescendant(),o["\u0275nov"](e,87).disabled,o["\u0275nov"](e,87).errorState,o["\u0275nov"](e,87).required,o["\u0275nov"](e,87).empty]),n(e,99,0,o["\u0275nov"](e,100).disabled||null,"NoopAnimations"===o["\u0275nov"](e,100)._animationMode),n(e,102,0,o["\u0275nov"](e,103).disabled||null,"NoopAnimations"===o["\u0275nov"](e,103)._animationMode)})}function HR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-iou-template",[],null,null,null,UR,jR)),o["\u0275did"](1,114688,null,0,qR,[bt,Uh,aR,fc,Rl,lv,D_],null,null)],function(n,e){n(e,1,0)},null)}var ZR=o["\u0275ccf"]("app-add-iou-template",qR,HR,{},{},[]),WR=function(){return function(n,e){this.width=n,this.height=e}}(),GR=function(){return function(n,e){this.x=n,this.y=e}}(),KR=function(){return function(n,e,t){this.x=n,this.y=e,this.k=t}}(),YR=function(){function n(){this.centerZeroZeroPoint=!0,this.size=new WR(0,0),this.transformation=new KR(0,0,1)}return n.prototype.getZeroZeroTransformationPoint=function(){return this.centerZeroZeroPoint?new GR(this.size.width/2,this.size.height/2):new GR(0,0)},n}(),$R=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}}(),XR=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(function(){return function(n,e,t){this.datum=n,this.dx=e,this.dy=t}}()),QR=function(){return function(n,e,t,l,o){this.datum=n,this.x=e,this.y=t,this.width=l,this.height=o}}(),JR=function(){return function(n,e){this.x=n,this.y=e}}(),nI=function(){return function(n,e,t){this.datum=n,this.x=e,this.y=t}}(),eI=function(){return function(n,e,t){this.savedText=n,this.x=e,this.y=t}}(),tI=function(){return function(n,e,t){this.textDrawingId=n,this.editedText=e,this.textElement=t}}(),lI=function(){return function(n,e){this.event=n,this.drawing=e}}(),oI=function(){return function(n,e){this.event=n,this.link=e}}(),rI=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),l=e.pageY-(n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y);n.drawingsEventSource.pointToAddSelected.emit(new JR(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}(),iI=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function aI(n){return o["\u0275vid"](0,[],null,null)}var uI=function(){return function(){}}(),sI=function(){function n(){}return n.prototype.convert=function(n){var e=new uI;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 r=n.attributes.getNamedItem("font-size");r&&(e.font_size=+r.value);var i=n.attributes.getNamedItem("font-weight");i&&(e.font_weight=i.value);var a=n.attributes.getNamedItem("text-decoration");return a&&(e.text_decoration=a.value),e},n}(),dI=function(){return function(){}}(),cI=function(){function n(){}return n.prototype.convert=function(n){var e=new dI,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}(),pI=function(){return function(){}}(),fI=function(){function n(){}return n.prototype.convert=function(n){var e=new pI,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 r=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(r.value,10));var i=n.attributes.getNamedItem("stroke-dasharray");i&&(e.stroke_dasharray=i.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}(),hI=function(){return function(){}}(),mI=function(){function n(){}return n.prototype.convert=function(n){var e=new hI,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 r=n.attributes.getNamedItem("x1");r&&(e.x1=parseInt(r.value,10));var i=n.attributes.getNamedItem("x2");i&&(e.x2=parseInt(i.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}(),vI=function(){return function(){}}(),gI=function(){function n(){}return n.prototype.convert=function(n){var e=new vI,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 r=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(r.value,10));var i=n.attributes.getNamedItem("stroke-dasharray");i&&(e.stroke_dasharray=i.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}(),bI=function(){function n(){this.parser=new DOMParser,this.elementParsers={text:new sI,image:new cI,rect:new fI,line:new mI,ellipse:new gI}}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 r in t.children){var i=(o=t.children[r]).nodeName;if(i in this.elementParsers){l=this.elementParsers[i];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}(),yI={value:function(){}};function _I(){for(var n,e=0,t=arguments.length,l={};e<t;++e){if(!(n=arguments[e]+"")||n in l)throw new Error("illegal type: "+n);l[n]=[]}return new wI(l)}function wI(n){this._=n}function CI(n,e){for(var t,l=0,o=n.length;l<o;++l)if((t=n[l]).name===e)return t.value}function xI(n,e,t){for(var l=0,o=n.length;l<o;++l)if(n[l].name===e){n[l]=yI,n=n.slice(0,l).concat(n.slice(l+1));break}return null!=t&&n.push({name:e,value:t}),n}wI.prototype=_I.prototype={constructor:wI,on:function(n,e){var t,l,o=this._,r=(l=o,(n+"").trim().split(/^|\s+/).map(function(n){var e="",t=n.indexOf(".");if(t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),n&&!l.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:e}})),i=-1,a=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++i<a;)if(t=(n=r[i]).type)o[t]=xI(o[t],n.name,e);else if(null==e)for(t in o)o[t]=xI(o[t],n.name,null);return this}for(;++i<a;)if((t=(n=r[i]).type)&&(t=CI(o[t],n.name)))return t},copy:function(){var n={},e=this._;for(var t in e)n[t]=e[t].slice();return new wI(n)},call:function(n,e){if((t=arguments.length-2)>0)for(var t,l,o=new Array(t),r=0;r<t;++r)o[r]=arguments[r+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(r=0,t=(l=this._[n]).length;r<t;++r)l[r].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,r=l.length;o<r;++o)l[o].value.apply(e,t)}};var SI=_I,kI="http://www.w3.org/1999/xhtml",EI={svg:"http://www.w3.org/2000/svg",xhtml:kI,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},TI=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),EI.hasOwnProperty(e)?{space:EI[e],local:n}:n},RI=function(n){var e=TI(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===kI&&e.documentElement.namespaceURI===kI?e.createElement(n):e.createElementNS(t,n)}})(e)};function II(){}var OI=function(n){return null==n?II:function(){return this.querySelector(n)}};function FI(){return[]}var DI=function(n){return null==n?FI:function(){return this.querySelectorAll(n)}},MI=function(n){return function(){return this.matches(n)}},NI=function(n){return new Array(n.length)};function AI(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}AI.prototype={constructor:AI,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 PI="$";function qI(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new AI(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function jI(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=PI+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=PI+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new AI(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function LI(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}var VI=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function BI(n,e){return n.style.getPropertyValue(e)||VI(n).getComputedStyle(n,null).getPropertyValue(e)}function zI(n){return n.trim().split(/^|\s+/)}function UI(n){return n.classList||new HI(n)}function HI(n){this._node=n,this._names=zI(n.getAttribute("class")||"")}function ZI(n,e){for(var t=UI(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function WI(n,e){for(var t=UI(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function GI(){this.textContent=""}function KI(){this.innerHTML=""}function YI(){this.nextSibling&&this.parentNode.appendChild(this)}function $I(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function XI(){return null}function QI(){var n=this.parentNode;n&&n.removeChild(this)}function JI(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function nO(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}HI.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 eO={},tO=null;function lO(n,e,t){return n=oO(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function oO(n,e,t){return function(l){var o=tO;tO=l;try{n.call(this,this.__data__,e,t)}finally{tO=o}}}function rO(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++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 iO(n,e,t){var l=eO.hasOwnProperty(n.type)?lO:oO;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);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 aO(n,e,t,l){var o=tO;n.sourceEvent=tO,tO=n;try{return e.apply(t,l)}finally{tO=o}}function uO(n,e,t){var l=VI(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)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(eO={mouseenter:"mouseover",mouseleave:"mouseout"}));var sO=[null];function dO(n,e){this._groups=n,this._parents=e}function cO(){return new dO([[document.documentElement]],sO)}dO.prototype=cO.prototype={constructor:dO,select:function(n){"function"!=typeof n&&(n=OI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new dO(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=DI(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new dO(l,o)},filter:function(n){"function"!=typeof n&&(n=MI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new dO(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?jI:qI,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[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,w=0;_<m;++_)if(b=v[_]){for(_>=w&&(w=_+1);!(y=g[w])&&++w<m;);b._next=y||null}}return(a=new dO(a,o))._enter=u,a._exit=s,a},enter:function(){return new dO(this._enter||this._groups.map(NI),this._parents)},exit:function(){return new dO(this._exit||this._groups.map(NI),this._parents)},join:function(n,e,t){var l=this.enter(),o=this,r=this.exit();return l="function"==typeof n?n(l):l.append(n+""),null!=e&&(o=e(o)),null==t?r.remove():t(r),l&&o?l.merge(o).order():o},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new dO(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&4^l.compareDocumentPosition(i)&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=LI);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new dO(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,r=l.length;o<r;++o){var i=l[o];if(i)return i}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,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=TI(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?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}}:"function"==typeof e?t.local?function(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)}}:function(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}:t.local?function(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}:function(n,e){return function(){this.setAttribute(n,e)}})(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?function(n){return function(){this.style.removeProperty(n)}}:"function"==typeof e?function(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}:function(n,e,t){return function(){this.style.setProperty(n,e,t)}})(n,e,null==t?"":t)):BI(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?function(n){return function(){delete this[n]}}:"function"==typeof e?function(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}:function(n,e){return function(){this[n]=e}})(n,e)):this.node()[n]},classed:function(n,e){var t=zI(n+"");if(arguments.length<2){for(var l=UI(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?function(n,e){return function(){(e.apply(this,arguments)?ZI:WI)(this,n)}}:e?function(n){return function(){ZI(this,n)}}:function(n){return function(){WI(this,n)}})(t,e))},text:function(n){return arguments.length?this.each(null==n?GI:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}:function(n){return function(){this.textContent=n}})(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?KI:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(n){return function(){this.innerHTML=n}})(n)):this.node().innerHTML},raise:function(){return this.each(YI)},lower:function(){return this.each($I)},append:function(n){var e="function"==typeof n?n:RI(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:RI(n),l=null==e?XI:"function"==typeof e?e:OI(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(QI)},clone:function(n){return this.select(n?nO:JI)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=(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}}),i=r.length;if(!(arguments.length<2)){for(a=e?iO:rO,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[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<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return uO(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return uO(this,n,e)}})(n,e))}};var pO=cO,fO=function(n){return"string"==typeof n?new dO([[document.querySelector(n)]],[document.documentElement]):new dO([[n]],sO)},hO=0;function mO(){this._="@"+(++hO).toString(36)}mO.prototype=(function(){return new mO}).prototype={constructor:mO,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 vO=function(){for(var n,e=tO;n=e.sourceEvent;)e=n;return e},gO=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]},bO=function(n){var e=vO();return e.changedTouches&&(e=e.changedTouches[0]),gO(n,e)},yO=function(n,e,t){arguments.length<3&&(t=e,e=vO().changedTouches);for(var l,o=0,r=e?e.length:0;o<r;++o)if((l=e[o]).identifier===t)return gO(n,l);return null};function _O(){tO.stopImmediatePropagation()}var wO=function(){tO.preventDefault(),tO.stopImmediatePropagation()},CO=function(n){var e=n.document.documentElement,t=fO(n).on("dragstart.drag",wO,!0);"onselectstart"in e?t.on("selectstart.drag",wO,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function xO(n,e){var t=n.document.documentElement,l=fO(n).on("dragstart.drag",null);e&&(l.on("click.drag",wO,!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 SO=function(n){return function(){return n}};function kO(n,e,t,l,o,r,i,a,u,s){this.target=n,this.type=e,this.subject=t,this.identifier=l,this.active=o,this.x=r,this.y=i,this.dx=a,this.dy=u,this._=s}function EO(){return!tO.button}function TO(){return this.parentNode}function RO(n){return null==n?{x:tO.x,y:tO.y}:n}function IO(){return"ontouchstart"in this}kO.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};var OO=function(){var n,e,t,l,o=EO,r=TO,i=RO,a=IO,u={},s=SI("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 i=y("mouse",r.apply(this,arguments),bO,this,arguments);i&&(fO(tO.view).on("mousemove.drag",h,!0).on("mouseup.drag",m,!0),CO(tO.view),_O(),t=!1,n=tO.clientX,e=tO.clientY,i("start"))}}function h(){if(wO(),!t){var l=tO.clientX-n,o=tO.clientY-e;t=l*l+o*o>c}u.mouse("drag")}function m(){fO(tO.view).on("mousemove.drag mouseup.drag",null),xO(tO.view,t),wO(),u.mouse("end")}function v(){if(o.apply(this,arguments)){var n,e,t=tO.changedTouches,l=r.apply(this,arguments),i=t.length;for(n=0;n<i;++n)(e=y(t[n].identifier,l,yO,this,arguments))&&(_O(),e("start"))}}function g(){var n,e,t=tO.changedTouches,l=t.length;for(n=0;n<l;++n)(e=u[t[n].identifier])&&(wO(),e("drag"))}function b(){var n,e,t=tO.changedTouches,o=t.length;for(l&&clearTimeout(l),l=setTimeout(function(){l=null},500),n=0;n<o;++n)(e=u[t[n].identifier])&&(_O(),e("end"))}function y(n,e,t,l,o){var r,a,c,f=t(e,n),h=s.copy();if(aO(new kO(p,"beforestart",r,n,d,f[0],f[1],0,0,h),function(){return null!=(tO.subject=r=i.apply(l,o))&&(a=r.x-f[0]||0,c=r.y-f[1]||0,!0)}))return function i(s){var m,v=f;switch(s){case"start":u[n]=i,m=d++;break;case"end":delete u[n],--d;case"drag":f=t(e,n),m=d}aO(new kO(p,s,r,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:SO(!!n),p):o},p.container=function(n){return arguments.length?(r="function"==typeof n?n:SO(n),p):r},p.subject=function(n){return arguments.length?(i="function"==typeof n?n:SO(n),p):i},p.touchable=function(n){return arguments.length?(a="function"==typeof n?n:SO(!!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},FO=function(){return function(){}}(),DO=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(FO),MO=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(FO),NO=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(FO),AO=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 OO().on("start",function(o){e=tO.sourceEvent.clientX,t=tO.sourceEvent.clientY,(n=new DO(o)).dx=tO.dx,n.dy=tO.dy,n.x=tO.x,n.y=tO.y,l.start.emit(n)}).on("drag",function(n){var o=new MO(n);o.dx=tO.sourceEvent.clientX-e,o.dy=tO.sourceEvent.clientY-t,e=tO.sourceEvent.clientX,t=tO.sourceEvent.clientY,l.drag.emit(o)}).on("end",function(e){var t=new NO(e);t.dx=tO.x-n.x,t.dy=tO.y-n.y,l.end.emit(t)})},n}(),PO=t("zahk"),qO=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=PO.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 r=l.value,i=this.fix({font_family:(o?t.name:t.value).split('"').join(""),font_size:parseInt(r,10)});o?t.name=i.font_family:t.value=i.font_family,l.value=i.font_size}return PO.generate(e)},n.DEFAULT_FONT="TypeWriter",n.DEFAULT_SIZE=10,n.REPLACE_BY_FONT="Noto Sans",n.REPLACE_BY_SIZE=11,n}(),jO=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 uI?[n.element]:[]}),o=l.enter().append("text").attr("class","text_element noselect"),r=l.merge(o);r.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 i=r.selectAll("tspan").data(function(n){return n.text.split(/\r?\n/)}),a=i.enter().append("tspan");i.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"}),i.exit().remove(),r.attr("transform",function(){var e=fO(this).selectAll("tspan"),t=this.getBBox().height/e.size();return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"}),l.exit().remove()},n.MARGIN=4,n}(),LO=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 dI?[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}(),VO=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}(),BO=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 pI?[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}(),zO=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 hI?[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}(),UO=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 vI?[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}(),HO=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}(),ZO=function(){function n(n,e,t,l,o,r){this.textDrawingWidget=n,this.imageDrawingWidget=e,this.rectDrawingWidget=t,this.lineDrawingWidget=l,this.ellipseDrawingWidget=o,this.selectionManager=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("line.top").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(n){return n.element instanceof vI?n.element.cx-n.element.width/10:"0"}).attr("x2",function(n){return n.element instanceof vI?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 vI?n.element.cx-n.element.width/10:"0"}).attr("x2",function(n){return n.element instanceof vI?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 vI?n.element.cy-n.element.height/10:"0"}).attr("y2",function(n){return n.element instanceof vI?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 vI?n.element.cy-n.element.height/10:"0"}).attr("y2",function(n){return n.element instanceof vI?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}(),WO=function(){return function(){}}(),GO=function(){return function(){this.isReadOnly=!1}}(),KO=function(){function n(n,e,t,l){this.drawingWidget=n,this.svgToDrawingConverter=e,this.context=t,this.mapSettings=l,this.draggable=new AO,this.draggingEnabled=!1,this.resizingFinished=new o.EventEmitter,this.onContextMenu=new o.EventEmitter,this.svgToDrawingConverter=new bI}return n.prototype.redrawDrawing=function(n,e){this.drawingWidget.draw(this.selectDrawing(n,e))},n.prototype.draw=function(n){var e,t,l,o,r=this,i=n.selectAll("g.drawing").data(function(n){return n.drawings.forEach(function(n){try{n.element=r.svgToDrawingConverter.convert(n.svg)}catch(e){console.log("Cannot convert due to Error: '"+e+"'")}}),n.drawings},function(n){return n.id}),a=i.enter().append("g").attr("class","drawing").attr("drawing_id",function(n){return n.id}).on("contextmenu",function(n){tO.preventDefault(),r.onContextMenu.emit(new lI(tO,n))}),u=i.merge(a);this.drawingWidget.draw(u),i.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(u);var s,d,c,p,f=!1,h=OO().on("start",function(n){document.body.style.cursor="ns-resize",l=n.y}).on("drag",function(o){var i=tO;f?(t=e-(i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y)),e=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o.element.height+t<0?(f=!1,e=l,o.element.height=Math.abs(o.element.height+i.dy)):(o.y=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o.element.height+=t,o.element instanceof vI&&(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+i.dy<0?(f=!0,e=l,o.element.height=Math.abs(o.element.height+i.dy)):(o.element.height+=i.dy,o.element instanceof vI&&(o.element.cy=o.element.cy+i.dy/2<0?1:o.element.cy+=i.dy/2,o.element.ry=o.element.ry+i.dy/2<0?1:o.element.ry+=i.dy/2)),r.redrawDrawing(n,o)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),m=OO().on("start",function(n){e=tO.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o=e+n.element.height,document.body.style.cursor="ns-resize"}).on("drag",function(l){var i=tO;f?l.element.height+i.dy<0?(f=!1,e=o,l.element.height=Math.abs(l.element.height+i.dy)):(l.element.height+=i.dy,l.element instanceof vI&&(l.element.cy=l.element.cy+i.dy/2<0?1:l.element.cy+=i.dy/2,l.element.ry=l.element.ry+i.dy/2<0?1:l.element.ry+=i.dy/2)):(t=e-(i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y)),e=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),l.element.height+t<0?(e=o,f=!0,l.element.height=Math.abs(l.element.height+i.dy)):(l.y=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),l.element.height+=t,l.element instanceof vI&&(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))),r.redrawDrawing(n,l)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),v=!1,g=OO().on("start",function(n){s=tO.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),p=s+n.element.width,document.body.style.cursor="ew-resize"}).on("drag",function(e){var t=tO;v?e.element.width+t.dx<0?(s=p,v=!1,e.element.width=Math.abs(e.element.width+t.dx)):(e.element instanceof vI&&(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-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x)),s=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.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-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+=d,e.element instanceof vI&&(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))),r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),b=OO().on("start",function(n){document.body.style.cursor="ew-resize",c=n.x}).on("drag",function(e){var t=tO;v?(d=s-(t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x)),s=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.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-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+=d,e.element instanceof vI&&(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 vI&&(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),r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),y=OO().on("start",function(){document.body.style.cursor="move"}).on("drag",function(e){var t=tO;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x2+=t.dx,e.element.y2+=t.dy,r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),_=OO().on("start",function(){document.body.style.cursor="move"}).on("drag",function(e){var t=tO;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x1+=t.dx,e.element.y1+=t.dy,r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.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(y),u.select("circle.left").call(_)},n.prototype.createResizingEvent=function(n){var e=new WO;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}(),YO=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 QR(e.datum,e.x,e.y,e.width,e.height))})},n.prototype.ngOnDestroy=function(){this.resizingFinished.unsubscribe()},n}(),$O=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function XO(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var QO=function(){return function(){this.selected=new A.b}}(),JO=function(){return function(){}}(),nF=function(){return function(){}}(),eF=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}(),tF=function(){function n(){}return n.prototype.fix=function(n){var e=PO.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")}})}),PO.generate(e)},n}(),lF=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 nF;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),r=this.fontBBoxCalculator.calculate(t.text,o);return null!==t.x&&(t.x+=3),null!==t.y&&(t.y+=r.height),t},n}(),oF=function(){return function(){}}(),rF=function(){function n(){}return n.prototype.convert=function(n){var e=new oF;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}(),iF=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 JO;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.firstPortName=n.first_port_name,t.height=n.height,t.label=this.labelToMapLabel.convert(n.label,{node_id:n.node_id}),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.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.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),r=this.fontBBoxCalculator.calculate(t.label.text,o);null!==n.label.x&&null!==n.label.y||(t.label.x=n.width/2-r.width/2+3,t.label.y=-8)}return t},n}(),aF=function(){return function(){}}(),uF=function(){function n(n){this.labelToMapLabel=n}return n.prototype.convert=function(n,e){var t=new aF;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}(),sF=function(){return function(){this.isSelected=!1}}(),dF=function(){function n(n){this.linkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new sF;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}(),cF=function(){return function(){}}(),pF=function(){function n(){}return n.prototype.convert=function(n){var e=new cF;return e.id=n.drawing_id,e.projectId=n.project_id,e.rotation=n.rotation,e.svg=n.svg,e.x=n.x,e.y=n.y,e.z=n.z,e},n}(),fF=function(){return function(){}}(),hF=function(){function n(){}return n.prototype.convert=function(n){var e=new fF;return e.id=n.symbol_id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),mF=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}}(),vF=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 mF,this.layers[n].index=Number(n)),this.layers[n]},n}(),gF=function(){function n(){this.data=[],this.dataChange=new E.a([]),this.itemUpdated=new A.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}(),bF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.id},e}(gF),yF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(bF),_F=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(bF),wF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(bF),CF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(bF),xF=function(){function n(){this.LINK_WIDTH=2}return n.prototype.linkTranslation=function(n,e,t){var l,o,r=t.y-e.y;if(0===r)l=0,o=n;else{var i=Math.atan((t.x-e.x)/r);l=-n*Math.cos(i),o=n*Math.sin(i)}return{dx:l,dy:o}},n.prototype.assignDataToLinks=function(n){var e=this,t={};n.forEach(function(n,l){var o=n.source.id,r=n.target.id,i=o<r?o+","+r:r+","+o,a=1;i in t?a=t[i].push(l):t[i]=[l],n.distance=a%2==0?a*e.LINK_WIDTH:(1-a)*e.LINK_WIDTH})},n}(),SF=function(){function n(n,e,t,l,o,r,i,a,u,s){this.mapNodesDataSource=n,this.mapLinksDataSource=e,this.mapDrawingsDataSource=t,this.mapSymbolsDataSource=l,this.nodeToMapNode=o,this.linkToMapLink=r,this.drawingToMapDrawing=i,this.symbolToMapSymbol=a,this.layersManager=u,this.multiLinkCalculator=s}return n.prototype.setNodes=function(n){var e=this,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,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,t=n.map(function(n){return e.drawingToMapDrawing.convert(n)});this.mapDrawingsDataSource.set(t),this.onDataUpdate()},n.prototype.setSymbols=function(n){var e=this,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}(),kF=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}(),EF=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)}),r=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}),i=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=i.concat(a),s=t.concat(l,o,r,u);n.selectionManager.setSelected(s)})},n.prototype.ngOnDestroy=function(){this.onSelection.unsubscribe()},n}(),TF=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function RF(n){return o["\u0275vid"](0,[],null,null)}var IF=function(){function n(){this.changesDetected=new o.EventEmitter,this.hasBeenDrawn=!1}return n.prototype.detectChanges=function(){this.changesDetected.emit(!0)},n}(),OF=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}(),FF=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function DF(n){return o["\u0275vid"](0,[],null,null)}var MF=function(){function n(){this.isSelectionToolActivated=new A.b,this.isMovingToolActivated=new A.b,this.isTextEditingToolActivated=new A.b,this.isTextAddingToolActivated=new A.b,this.isDrawLinkToolActivated=new A.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}(),NF=function(){function n(n,e,t,l){this.drawingsEventSource=n,this.toolsService=e,this.context=t,this.renderer=l,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.activateTextEditing()},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.temporaryTextElement.nativeElement.focus(),n.textListener=function(){n.drawingsEventSource.textAdded.emit(new eI(n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),e.pageX-n.context.transformation.x,e.pageY-n.context.transformation.y)),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.activateTextEditing=function(){var n=this,e=fO(this.svg);e.selectAll("text.text_element").on("dblclick",function(t,l,o){n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.editedElement=t,fO(o[l]).attr("visibility","hidden"),fO(o[l]).classed("editingMode",!0),n.editingDrawingId=o[l].parentElement.parentElement.getAttribute("drawing_id");var r=o[l].parentElement.getAttribute("transform").split(/\(|\)/),i=Number(r[1].split(/,/)[0])+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,a=Number(r[1].split(/,/)[1])+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=i.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 tI(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}(),AF=o["\u0275crt"]({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 PF(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{temporaryTextElement:0}),(n()(),o["\u0275eld"](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["\u0275ted"](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 qF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(function(){return function(n,e){this.event=n,this.node=e}}()),jF=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.draggable=new AO}return n.prototype.redrawLabel=function(n,e){this.drawLabel(this.selectLabel(n,e))},n.prototype.draw=function(n){var e=n.selectAll("g.label_container").data(function(n){return[n.label]}),t=e.enter().append("g").attr("class","label_container").attr("label_id",function(n){return n.id}),l=e.merge(t);this.drawLabel(l),e.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(e)},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=fO(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}(),LF=function(){return function(){this.dragged=new o.EventEmitter,this.labelDragged=new o.EventEmitter,this.clicked=new o.EventEmitter}}(),VF=function(){function n(n,e,t,l){this.graphDataManager=n,this.selectionManager=e,this.labelWidget=t,this.nodesEventSource=l,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 r=l.merge(o).classed("selected",function(n){return e.selectionManager.isSelected(n)}).on("contextmenu",function(n,e){tO.preventDefault(),t.onContextMenu.emit(new qF(tO,n))}).on("click",function(n){e.nodesEventSource.clicked.emit(new nI(n,tO.clientX,tO.clientY))});r.select("image").attr("xnode:href",function(n){return n.symbolUrl}).attr("width",function(n){return n.width}).attr("height",function(n){return n.height}).attr("x",function(n){return 0}).attr("y",function(n){return 0}).on("mouseover",function(n){fO(this).attr("class","over")}).on("mouseout",function(n){fO(this).attr("class","")}),r.attr("transform",function(n){return"translate("+n.x+","+n.y+")"}),this.labelWidget.draw(r)},n}(),BF=function(){function n(n,e){this.nodeWidget=n,this.mapSettings=e,this.draggable=new AO}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}(),zF=Math.PI,UF=2*zF,HF=UF-1e-6;function ZF(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function WF(){return new ZF}ZF.prototype=WF.prototype={constructor:ZF,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,r){this._+="C"+ +n+","+ +e+","+ +t+","+ +l+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(n,e,t,l,o){var r=this._x1,i=this._y1,a=(t=+t)-(n=+n),u=(l=+l)-(e=+e),s=r-n,d=i-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-r,f=l-i,h=a*a+u*u,m=p*p+f*f,v=Math.sqrt(h),g=Math.sqrt(c),b=o*Math.tan((zF-Math.acos((h+c-m)/(2*v*g)))/2),y=b/g,_=b/v;Math.abs(y-1)>1e-6&&(this._+="L"+(n+y*s)+","+(e+y*d)),this._+="A"+o+","+o+",0,0,"+ +(d*p>s*f)+","+(this._x1=n+_*a)+","+(this._y1=e+_*u)}else this._+="L"+(this._x1=n)+","+(this._y1=e)},arc:function(n,e,t,l,o,r){n=+n,e=+e;var i=(t=+t)*Math.cos(l),a=t*Math.sin(l),u=n+i,s=e+a,d=1^r,c=r?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%UF+UF),c>HF?this._+="A"+t+","+t+",0,1,"+d+","+(n-i)+","+(e-a)+"A"+t+","+t+",0,1,"+d+","+(this._x1=u)+","+(this._y1=s):c>1e-6&&(this._+="A"+t+","+t+",0,"+ +(c>=zF)+","+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 GF=WF,KF=function(){return function(n,e,t,l){this.source=n,this.source_angle=e,this.target_angle=t,this.target=l}}(),YF=function(){function n(){}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,r=Math.atan2(o,l),i=-Math.PI/4,a=[Math.cos(r+i),Math.sin(r+i)];return new KF([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");l.attr("stroke","#B22222").attr("fill","none").attr("stroke-width","2"),t.merge(l).attr("d",function(n){var e=GF();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}(),$F=function(){return function(n,e){this.source=n,this.target=e}}(),XF=function(){function n(){}return n.prototype.linktoEthernetLink=function(n){return new $F([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");l.attr("stroke","#000").attr("stroke-width","2"),t.merge(l).attr("d",function(n){var e=GF();return e.moveTo(n.source[0],n.source[1]),e.lineTo(n.target[0],n.target[1]),e.toString()})},n}(),QF=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.draggable=new AO,this.enabled=!0}return n.prototype.setEnabled=function(n){this.enabled=n},n.prototype.draw=function(n){var e=this,t=n.selectAll("g.link_node_position").data(function(n){return[[n.source,n.nodes[0]],[n.target,n.nodes[1]]]}),l=t.enter().append("g").classed("link_node_position",!0),o=t.merge(l);o.attr("transform",function(n){return"translate("+n[0].x+", "+n[0].y+")"});var r=o.selectAll("g.interface_label_container").data(function(n){return e.enabled?[n[1]]:[]}),i=r.enter().append("g").classed("interface_label_container",!0);i.append("rect").attr("class","interface_label_selection"),i.append("text").attr("class","interface_label noselect").attr("interface_label_id",function(n){return""+n.id});var a=r.merge(i);a.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+")"}),a.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=fO(this),t=a.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(a)},n.SURROUNDING_TEXT_BORDER=5,n}(),JF=function(){return function(n,e,t){this.x=n,this.y=e,this.status=t}}(),nD=function(){function n(){}return n.prototype.draw=function(n){n.each(function(n){var e=fO(this),t=e.select("path"),l=t.node().getPointAtLength(45),o=t.node().getPointAtLength(t.node().getTotalLength()-45),r=[];t.node().getTotalLength()>100&&(r=[new JF(l.x,l.y,n.source.status),new JF(o.x,o.y,n.target.status)]);var i=e.selectAll("circle.status_started").data(r.filter(function(n){return"started"===n.status})),a=i.enter().append("circle");i.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"),i.exit().remove();var u=e.selectAll("rect.status_stopped").data(r.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()})},n}(),eD=function(){function n(n,e,t,l){this.multiLinkCalculatorHelper=n,this.interfaceLabelWidget=e,this.interfaceStatusWidget=t,this.selectionManager=l,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.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 oI(tO,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.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 oI(tO,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 oI(tO,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"),(new YF).draw(o),(new XF).draw(o),o.select("path").classed("selected",function(n){return e.selectionManager.isSelected(n)}),this.interfaceLabelWidget.draw(o),this.interfaceStatusWidget.draw(o)},n}(),tD=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}(),lD=function(){return function(){this.created=new o.EventEmitter,this.interfaceDragged=new o.EventEmitter}}(),oD=function(){function n(n,e,t,l,o,r,i,a,u,s){this.nodesWidget=n,this.drawingsWidget=e,this.linksWidget=t,this.labelWidget=l,this.interfaceWidget=o,this.selectionManager=r,this.nodesEventSource=i,this.drawingsEventSource=a,this.graphDataManager=u,this.linksEventSource=s}return n.prototype.ngOnInit=function(){var n=this,e=fO(this.svg);this.start=Object(Ts.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 JO&&0===t.filter(function(n){return n instanceof JO&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof cF&&0===t.filter(function(n){return n instanceof cF&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof nF&&0===t.filter(function(n){return n instanceof nF&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof aF&&0===t.filter(function(n){return n instanceof aF&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum])}),this.drag=Object(Ts.a)(this.nodesWidget.draggable.drag,this.drawingsWidget.draggable.drag,this.labelWidget.draggable.drag,this.interfaceWidget.draggable.drag).subscribe(function(t){var l=n.selectionManager.getSelected(),o=l.filter(function(n){return n instanceof JO});o.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 cF}).forEach(function(l){l.x+=t.dx,l.y+=t.dy,n.drawingsWidget.redrawDrawing(e,l)}),l.filter(function(n){return n instanceof nF}).forEach(function(l){if(!(o.filter(function(n){return n.id===l.nodeId}).length>0)){var r=n.graphDataManager.getNodes().filter(function(n){return n.id===l.nodeId})[0];r.label.x+=t.dx,r.label.y+=t.dy,n.labelWidget.redrawLabel(e,l)}}),l.filter(function(n){return n instanceof aF}).forEach(function(l){if(!(o.filter(function(n){return n.id===l.nodeId}).length>0)){var r=n.graphDataManager.getLinks().filter(function(n){return n.nodes[0].id===l.id||n.nodes[1].id===l.id})[0];r.nodes[0].id===l.id&&(r.nodes[0].label.x+=t.dx,r.nodes[0].label.y+=t.dy),r.nodes[1].id===l.id&&(r.nodes[1].label.x+=t.dx,r.nodes[1].label.y+=t.dy),n.linksWidget.redrawLink(e,r)}})}),this.end=Object(Ts.a)(this.nodesWidget.draggable.end,this.drawingsWidget.draggable.end,this.labelWidget.draggable.end,this.interfaceWidget.draggable.end).subscribe(function(e){var t=n.selectionManager.getSelected(),l=t.filter(function(n){return n instanceof JO});l.forEach(function(t){n.nodesEventSource.dragged.emit(new XR(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof cF}).forEach(function(t){n.drawingsEventSource.dragged.emit(new XR(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof nF}).forEach(function(t){l.filter(function(n){return n.id===t.nodeId}).length>0||n.nodesEventSource.labelDragged.emit(new XR(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof aF}).forEach(function(t){l.filter(function(n){return n.id===t.nodeId}).length>0||n.linksEventSource.interfaceDragged.emit(new XR(t,e.dx,e.dy))})})},n.prototype.ngOnDestroy=function(){this.start.unsubscribe(),this.drag.unsubscribe(),this.end.unsubscribe()},n}(),rD=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function iD(n){return o["\u0275vid"](0,[],null,null)}var aD=function(n){return function(){return n}},uD=Math.abs,sD=Math.atan2,dD=Math.cos,cD=Math.max,pD=Math.min,fD=Math.sin,hD=Math.sqrt,mD=1e-12,vD=Math.PI,gD=vD/2,bD=2*vD;function yD(n){return n>=1?gD:n<=-1?-gD:Math.asin(n)}function _D(n){return n.innerRadius}function wD(n){return n.outerRadius}function CD(n){return n.startAngle}function xD(n){return n.endAngle}function SD(n){return n&&n.padAngle}function kD(n,e,t,l,o,r,i){var a=n-t,u=e-l,s=(i?r:-r)/hD(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,y=m-f,_=b*b+y*y,w=o-r,C=p*m-h*f,x=(y<0?-1:1)*hD(cD(0,w*w*_-C*C)),S=(C*y-b*x)/_,k=(-C*b-y*x)/_,E=(C*y+b*x)/_,T=(-C*b+y*x)/_,R=S-v,I=k-g,O=E-v,F=T-g;return R*R+I*I>O*O+F*F&&(S=E,k=T),{cx:S,cy:k,x01:-d,y01:-c,x11:S*(o/w-1),y11:k*(o/w-1)}}var ED=function(){var n=_D,e=wD,t=aD(0),l=null,o=CD,r=xD,i=SD,a=null;function u(){var u,s,d,c=+n.apply(this,arguments),p=+e.apply(this,arguments),f=o.apply(this,arguments)-gD,h=r.apply(this,arguments)-gD,m=uD(h-f),v=h>f;if(a||(a=u=GF()),p<c&&(s=p,p=c,c=s),p>mD)if(m>bD-mD)a.moveTo(p*dD(f),p*fD(f)),a.arc(0,0,p,f,h,!v),c>mD&&(a.moveTo(c*dD(h),c*fD(h)),a.arc(0,0,c,h,f,v));else{var g,b,y=f,_=h,w=f,C=h,x=m,S=m,k=i.apply(this,arguments)/2,E=k>mD&&(l?+l.apply(this,arguments):hD(c*c+p*p)),T=pD(uD(p-c)/2,+t.apply(this,arguments)),R=T,I=T;if(E>mD){var O=yD(E/c*fD(k)),F=yD(E/p*fD(k));(x-=2*O)>mD?(w+=O*=v?1:-1,C-=O):(x=0,w=C=(f+h)/2),(S-=2*F)>mD?(y+=F*=v?1:-1,_-=F):(S=0,y=_=(f+h)/2)}var D=p*dD(y),M=p*fD(y),N=c*dD(C),A=c*fD(C);if(T>mD){var P,q=p*dD(_),j=p*fD(_),L=c*dD(w),V=c*fD(w);if(m<=bD-mD&&(P=function(n,e,t,l,o,r,i,a){var u=L-D,s=V-M,d=i-q,c=a-j,p=c*u-d*s;if(!(p*p<mD))return[D+(p=(d*(M-j)-c*(D-q))/p)*u,M+p*s]}(0,0,0,0,0,0,N,A))){var B=D-P[0],z=M-P[1],U=q-P[0],H=j-P[1],Z=1/fD(((d=(B*U+z*H)/(hD(B*B+z*z)*hD(U*U+H*H)))>1?0:d<-1?vD:Math.acos(d))/2),W=hD(P[0]*P[0]+P[1]*P[1]);R=pD(T,(c-W)/(Z-1)),I=pD(T,(p-W)/(Z+1))}}S>mD?I>mD?(g=kD(L,V,D,M,p,I,v),b=kD(q,j,N,A,p,I,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),I<T?a.arc(g.cx,g.cy,I,sD(g.y01,g.x01),sD(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,I,sD(g.y01,g.x01),sD(g.y11,g.x11),!v),a.arc(0,0,p,sD(g.cy+g.y11,g.cx+g.x11),sD(b.cy+b.y11,b.cx+b.x11),!v),a.arc(b.cx,b.cy,I,sD(b.y11,b.x11),sD(b.y01,b.x01),!v))):(a.moveTo(D,M),a.arc(0,0,p,y,_,!v)):a.moveTo(D,M),c>mD&&x>mD?R>mD?(g=kD(N,A,q,j,c,-R,v),b=kD(D,M,L,V,c,-R,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),R<T?a.arc(g.cx,g.cy,R,sD(g.y01,g.x01),sD(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,R,sD(g.y01,g.x01),sD(g.y11,g.x11),!v),a.arc(0,0,c,sD(g.cy+g.y11,g.cx+g.x11),sD(b.cy+b.y11,b.cx+b.x11),v),a.arc(b.cx,b.cy,R,sD(b.y11,b.x11),sD(b.y01,b.x01),!v))):a.arc(0,0,c,C,w,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)+ +r.apply(this,arguments))/2-vD/2;return[dD(l)*t,fD(l)*t]},u.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:aD(+e),u):n},u.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:aD(+n),u):e},u.cornerRadius=function(n){return arguments.length?(t="function"==typeof n?n:aD(+n),u):t},u.padRadius=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:aD(+n),u):l},u.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:aD(+n),u):o},u.endAngle=function(n){return arguments.length?(r="function"==typeof n?n:aD(+n),u):r},u.padAngle=function(n){return arguments.length?(i="function"==typeof n?n:aD(+n),u):i},u.context=function(n){return arguments.length?(a=null==n?null:n,u):a},u};function TD(n){this._context=n}TD.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 RD=function(n){return new TD(n)};function ID(n){return n[0]}function OD(n){return n[1]}var FD=function(){var n=ID,e=OD,t=aD(!0),l=null,o=RD,r=null;function i(i){var a,u,s,d=i.length,c=!1;for(null==l&&(r=o(s=GF())),a=0;a<=d;++a)!(a<d&&t(u=i[a],a,i))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+n(u,a,i),+e(u,a,i));if(s)return r=null,s+""||null}return i.x=function(e){return arguments.length?(n="function"==typeof e?e:aD(+e),i):n},i.y=function(n){return arguments.length?(e="function"==typeof n?n:aD(+n),i):e},i.defined=function(n){return arguments.length?(t="function"==typeof n?n:aD(!!n),i):t},i.curve=function(n){return arguments.length?(o=n,null!=l&&(r=o(l)),i):o},i.context=function(n){return arguments.length?(null==n?l=r=null:r=o(l=n),i):l},i},DD=function(){var n=ID,e=null,t=aD(0),l=OD,o=aD(!0),r=null,i=RD,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==r&&(a=i(f=GF())),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 FD().defined(o).curve(i).context(r)}return u.x=function(t){return arguments.length?(n="function"==typeof t?t:aD(+t),e=null,u):n},u.x0=function(e){return arguments.length?(n="function"==typeof e?e:aD(+e),u):n},u.x1=function(n){return arguments.length?(e=null==n?null:"function"==typeof n?n:aD(+n),u):e},u.y=function(n){return arguments.length?(t="function"==typeof n?n:aD(+n),l=null,u):t},u.y0=function(n){return arguments.length?(t="function"==typeof n?n:aD(+n),u):t},u.y1=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:aD(+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:aD(!!n),u):o},u.curve=function(n){return arguments.length?(i=n,null!=r&&(a=i(r)),u):i},u.context=function(n){return arguments.length?(null==n?r=a=null:a=i(r=n),u):r},u},MD=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},ND=function(n){return n},AD=function(){var n=ND,e=MD,t=null,l=aD(0),o=aD(bD),r=aD(0);function i(i){var a,u,s,d,c,p=i.length,f=0,h=new Array(p),m=new Array(p),v=+l.apply(this,arguments),g=Math.min(bD,Math.max(-bD,o.apply(this,arguments)-v)),b=Math.min(Math.abs(g)/p,r.apply(this,arguments)),y=b*(g<0?-1:1);for(a=0;a<p;++a)(c=m[h[a]=a]=+n(i[a],a,i))>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(i[n],i[e])}),a=0,s=f?(g-p*y)/f:0;a<p;++a,v=d)m[u=h[a]]={data:i[u],index:a,value:c=m[u],startAngle:v,endAngle:d=v+(c>0?c*s:0)+y,padAngle:b};return m}return i.value=function(e){return arguments.length?(n="function"==typeof e?e:aD(+e),i):n},i.sortValues=function(n){return arguments.length?(e=n,t=null,i):e},i.sort=function(n){return arguments.length?(t=n,e=null,i):t},i.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:aD(+n),i):l},i.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:aD(+n),i):o},i.padAngle=function(n){return arguments.length?(r="function"==typeof n?n:aD(+n),i):r},i},PD=jD(RD);function qD(n){this._curve=n}function jD(n){function e(e){return new qD(n(e))}return e._curve=n,e}function LD(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(jD(n)):e()._curve},n}qD.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 VD=function(){return LD(FD().curve(PD))},BD=function(){var n=DD().curve(PD),e=n.curve,t=n.lineX0,l=n.lineX1,o=n.lineY0,r=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 LD(t())},delete n.lineX0,n.lineEndAngle=function(){return LD(l())},delete n.lineX1,n.lineInnerRadius=function(){return LD(o())},delete n.lineY0,n.lineOuterRadius=function(){return LD(r())},delete n.lineY1,n.curve=function(n){return arguments.length?e(jD(n)):e()._curve},n},zD=function(n,e){return[(e=+e)*Math.cos(n-=Math.PI/2),e*Math.sin(n)]},UD=Array.prototype.slice;function HD(n){return n.source}function ZD(n){return n.target}function WD(n){var e=HD,t=ZD,l=ID,o=OD,r=null;function i(){var i,a=UD.call(arguments),u=e.apply(this,a),s=t.apply(this,a);if(r||(r=i=GF()),n(r,+l.apply(this,(a[0]=u,a)),+o.apply(this,a),+l.apply(this,(a[0]=s,a)),+o.apply(this,a)),i)return r=null,i+""||null}return i.source=function(n){return arguments.length?(e=n,i):e},i.target=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(l="function"==typeof n?n:aD(+n),i):l},i.y=function(n){return arguments.length?(o="function"==typeof n?n:aD(+n),i):o},i.context=function(n){return arguments.length?(r=null==n?null:n,i):r},i}function GD(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e=(e+l)/2,t,e,o,l,o)}function KD(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e,t=(t+o)/2,l,t,l,o)}function YD(n,e,t,l,o){var r=zD(e,t),i=zD(e,t=(t+o)/2),a=zD(l,t),u=zD(l,o);n.moveTo(r[0],r[1]),n.bezierCurveTo(i[0],i[1],a[0],a[1],u[0],u[1])}function $D(){return WD(GD)}function XD(){return WD(KD)}function QD(){var n=WD(YD);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}var JD={draw:function(n,e){var t=Math.sqrt(e/vD);n.moveTo(t,0),n.arc(0,0,t,0,bD)}},nM={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()}},eM=Math.sqrt(1/3),tM=2*eM,lM={draw:function(n,e){var t=Math.sqrt(e/tM),l=t*eM;n.moveTo(0,-t),n.lineTo(l,0),n.lineTo(0,t),n.lineTo(-l,0),n.closePath()}},oM=Math.sin(vD/10)/Math.sin(7*vD/10),rM=Math.sin(bD/10)*oM,iM=-Math.cos(bD/10)*oM,aM={draw:function(n,e){var t=Math.sqrt(.8908130915292852*e),l=rM*t,o=iM*t;n.moveTo(0,-t),n.lineTo(l,o);for(var r=1;r<5;++r){var i=bD*r/5,a=Math.cos(i),u=Math.sin(i);n.lineTo(u*t,-a*t),n.lineTo(a*l-u*o,u*l+a*o)}n.closePath()}},uM={draw:function(n,e){var t=Math.sqrt(e),l=-t/2;n.rect(l,l,t,t)}},sM=Math.sqrt(3),dM={draw:function(n,e){var t=-Math.sqrt(e/(3*sM));n.moveTo(0,2*t),n.lineTo(-sM*t,-t),n.lineTo(sM*t,-t),n.closePath()}},cM=Math.sqrt(3)/2,pM=1/Math.sqrt(12),fM=3*(pM/2+1),hM={draw:function(n,e){var t=Math.sqrt(e/fM),l=t/2,o=t*pM,r=l,i=t*pM+t,a=-r,u=i;n.moveTo(l,o),n.lineTo(r,i),n.lineTo(a,u),n.lineTo(-.5*l-cM*o,cM*l+-.5*o),n.lineTo(-.5*r-cM*i,cM*r+-.5*i),n.lineTo(-.5*a-cM*u,cM*a+-.5*u),n.lineTo(-.5*l+cM*o,-.5*o-cM*l),n.lineTo(-.5*r+cM*i,-.5*i-cM*r),n.lineTo(-.5*a+cM*u,-.5*u-cM*a),n.closePath()}},mM=[JD,nM,lM,uM,aM,dM,hM],vM=function(){var n=aD(JD),e=aD(64),t=null;function l(){var l;if(t||(t=l=GF()),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:aD(e),l):n},l.size=function(n){return arguments.length?(e="function"==typeof n?n:aD(+n),l):e},l.context=function(n){return arguments.length?(t=null==n?null:n,l):t},l},gM=function(){};function bM(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 yM(n){this._context=n}yM.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:bM(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:bM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var _M=function(n){return new yM(n)};function wM(n){this._context=n}wM.prototype={areaStart:gM,areaEnd:gM,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:bM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var CM=function(n){return new wM(n)};function xM(n){this._context=n}xM.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:bM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var SM=function(n){return new xM(n)};function kM(n,e){this._basis=new yM(n),this._beta=e}kM.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],r=e[0],i=n[t]-o,a=e[t]-r,u=-1;++u<=t;)this._basis.point(this._beta*n[u]+(1-this._beta)*(o+(l=u/t)*i),this._beta*e[u]+(1-this._beta)*(r+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(n,e){this._x.push(+n),this._y.push(+e)}};var EM=function n(e){function t(n){return 1===e?new yM(n):new kM(n,e)}return t.beta=function(e){return n(+e)},t}(.85);function TM(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 RM(n,e){this._context=n,this._k=(1-e)/6}RM.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:TM(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:TM(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 IM=function n(e){function t(n){return new RM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function OM(n,e){this._context=n,this._k=(1-e)/6}OM.prototype={areaStart:gM,areaEnd:gM,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:TM(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 FM=function n(e){function t(n){return new OM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function DM(n,e){this._context=n,this._k=(1-e)/6}DM.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:TM(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 MM=function n(e){function t(n){return new DM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function NM(n,e,t){var l=n._x1,o=n._y1,r=n._x2,i=n._y2;if(n._l01_a>mD){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>mD){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);r=(r*s+n._x1*n._l23_2a-e*n._l12_2a)/d,i=(i*s+n._y1*n._l23_2a-t*n._l12_2a)/d}n._context.bezierCurveTo(l,o,r,i,n._x2,n._y2)}function AM(n,e){this._context=n,this._alpha=e}AM.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:NM(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 PM=function n(e){function t(n){return e?new AM(n,e):new RM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function qM(n,e){this._context=n,this._alpha=e}qM.prototype={areaStart:gM,areaEnd:gM,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:NM(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 jM=function n(e){function t(n){return e?new qM(n,e):new OM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function LM(n,e){this._context=n,this._alpha=e}LM.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:NM(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 VM=function n(e){function t(n){return e?new LM(n,e):new DM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function BM(n){this._context=n}BM.prototype={areaStart:gM,areaEnd:gM,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 zM=function(n){return new BM(n)};function UM(n){return n<0?-1:1}function HM(n,e,t){var l=n._x1-n._x0,o=e-n._x1,r=(n._y1-n._y0)/(l||o<0&&-0),i=(t-n._y1)/(o||l<0&&-0),a=(r*o+i*l)/(l+o);return(UM(r)+UM(i))*Math.min(Math.abs(r),Math.abs(i),.5*Math.abs(a))||0}function ZM(n,e){var t=n._x1-n._x0;return t?(3*(n._y1-n._y0)/t-e)/2:e}function WM(n,e,t){var l=n._x0,o=n._x1,r=n._y1,i=(o-l)/3;n._context.bezierCurveTo(l+i,n._y0+i*e,o-i,r-i*t,o,r)}function GM(n){this._context=n}function KM(n){this._context=new YM(n)}function YM(n){this._context=n}function $M(n){return new GM(n)}function XM(n){return new KM(n)}function QM(n){this._context=n}function JM(n){var e,t,l=n.length-1,o=new Array(l),r=new Array(l),i=new Array(l);for(o[0]=0,r[0]=2,i[0]=n[0]+2*n[1],e=1;e<l-1;++e)o[e]=1,r[e]=4,i[e]=4*n[e]+2*n[e+1];for(o[l-1]=2,r[l-1]=7,i[l-1]=8*n[l-1]+n[l],e=1;e<l;++e)r[e]-=t=o[e]/r[e-1],i[e]-=t*i[e-1];for(o[l-1]=i[l-1]/r[l-1],e=l-2;e>=0;--e)o[e]=(i[e]-o[e+1])/r[e];for(r[l-1]=(n[l]+o[l-1])/2,e=0;e<l-1;++e)r[e]=2*n[e+1]-o[e+1];return[o,r]}GM.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:WM(this,this._t0,ZM(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,WM(this,ZM(this,t=HM(this,n,e)),t);break;default:WM(this,this._t0,t=HM(this,n,e))}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e,this._t0=t}}},(KM.prototype=Object.create(GM.prototype)).point=function(n,e){GM.prototype.point.call(this,e,n)},YM.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,r){this._context.bezierCurveTo(e,n,l,t,r,o)}},QM.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=JM(n),o=JM(e),r=0,i=1;i<t;++r,++i)this._context.bezierCurveTo(l[0][r],o[0][r],l[1][r],o[1][r],n[i],e[i]);(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 nN=function(n){return new QM(n)};function eN(n,e){this._context=n,this._t=e}eN.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 tN=function(n){return new eN(n,.5)};function lN(n){return new eN(n,0)}function oN(n){return new eN(n,1)}var rN=function(n,e){if((o=n.length)>1)for(var t,l,o,r=1,i=n[e[0]],a=i.length;r<o;++r)for(l=i,i=n[e[r]],t=0;t<a;++t)i[t][1]+=i[t][0]=isNaN(l[t][1])?l[t][0]:l[t][1]},iN=function(n){for(var e=n.length,t=new Array(e);--e>=0;)t[e]=e;return t};function aN(n,e){return n[e]}var uN=function(){var n=aD([]),e=iN,t=rN,l=aN;function o(o){var r,i,a=n.apply(this,arguments),u=o.length,s=a.length,d=new Array(s);for(r=0;r<s;++r){for(var c,p=a[r],f=d[r]=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(r=0,i=e(d);r<s;++r)d[i[r]].index=r;return t(d,i),d}return o.keys=function(e){return arguments.length?(n="function"==typeof e?e:aD(UD.call(e)),o):n},o.value=function(n){return arguments.length?(l="function"==typeof n?n:aD(+n),o):l},o.order=function(n){return arguments.length?(e=null==n?iN:"function"==typeof n?n:aD(UD.call(n)),o):e},o.offset=function(n){return arguments.length?(t=null==n?rN:n,o):t},o},sN=function(n,e){if((l=n.length)>0){for(var t,l,o,r=0,i=n[0].length;r<i;++r){for(o=t=0;t<l;++t)o+=n[t][r][1]||0;if(o)for(t=0;t<l;++t)n[t][r][1]/=o}rN(n,e)}},dN=function(n,e){if((a=n.length)>1)for(var t,l,o,r,i,a,u=0,s=n[e[0]].length;u<s;++u)for(r=i=0,t=0;t<a;++t)(o=(l=n[e[t]][u])[1]-l[0])>=0?(l[0]=r,l[1]=r+=o):o<0?(l[1]=i,l[0]=i+=o):l[0]=r},cN=function(n,e){if((t=n.length)>0){for(var t,l=0,o=n[e[0]],r=o.length;l<r;++l){for(var i=0,a=0;i<t;++i)a+=n[i][l][1]||0;o[l][1]+=o[l][0]=-a/2}rN(n,e)}},pN=function(n,e){if((o=n.length)>0&&(l=(t=n[e[0]]).length)>0){for(var t,l,o,r=0,i=1;i<l;++i){for(var a=0,u=0,s=0;a<o;++a){for(var d=n[e[a]],c=d[i][1]||0,p=(c-(d[i-1][1]||0))/2,f=0;f<a;++f){var h=n[e[f]];p+=(h[i][1]||0)-(h[i-1][1]||0)}u+=c,s+=p*c}t[i-1][1]+=t[i-1][0]=r,u&&(r-=s/u)}t[i-1][1]+=t[i-1][0]=r,rN(n,e)}},fN=function(n){var e=n.map(hN);return iN(n).sort(function(n,t){return e[n]-e[t]})};function hN(n){for(var e,t=0,l=-1,o=n.length;++l<o;)(e=+n[l][1])&&(t+=e);return t}var mN=function(n){return fN(n).reverse()},vN=function(n){var e,t,l=n.length,o=n.map(hN),r=iN(n).sort(function(n,e){return o[e]-o[n]}),i=0,a=0,u=[],s=[];for(e=0;e<l;++e)t=r[e],i<a?(i+=o[t],u.push(t)):(a+=o[t],s.push(t));return s.reverse().concat(u)},gN=function(n){return iN(n).reverse()},bN=function(){return function(){}}(),yN=function(){function n(){this.drawingLine=new bN,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 GR(n,e),this.drawingLine.end=new GR(n,e),this.selection.on("mousemove",function(n,e){var t=l.selection.select("g.canvas").node(),o=bO(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=FD(),r=this.selection.select("g.drawing-line-tool").selectAll("path").data(l),i=r.enter().append("path");r.merge(i).attr("d",o).attr("stroke","#000").attr("stroke-width","2"),r.exit().remove()},n}(),_N=function(){return function(n,e,t,l){this.x=n,this.y=e,this.width=t,this.height=l}}(),wN=function(){function n(n,e){this.context=n,this.selectionEventSource=e,this.rectangleSelected=new A.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==tO.button)return e.on("contextmenu",function(){tO.preventDefault()}),void t.contextMenuOpened.emit(tO);var l=fO(window),o=this.parentElement,r=t.transformation(bO(o));t.startSelection(r),e.selectAll(n.SELECTABLE_CLASS).classed("selected",!1),l.on("mousemove.selection",function(){var n=t.transformation(bO(o));t.moveSelection(r,n)}).on("mouseup.selection",function(){var n=t.transformation(bO(o));t.endSelection(r,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"),r=o.attr("status");"activated"!==r&&this.enabled&&(this.activate(n),o.attr("activated")),"deactivated"===r||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){this.path.attr("d",this.rect(n[0],n[1],e[0]-n[0],e[1]-n[1])),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]),r=Math.abs(n[1]-e[1]);this.selectionEventSource.selected.next(new _N(t,l,o,r))},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}(),CN=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function xN(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function SN(){}var kN="\\s*([+-]?\\d+)\\s*",EN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",TN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",RN=/^#([0-9a-f]{3})$/,IN=/^#([0-9a-f]{6})$/,ON=new RegExp("^rgb\\("+[kN,kN,kN]+"\\)$"),FN=new RegExp("^rgb\\("+[TN,TN,TN]+"\\)$"),DN=new RegExp("^rgba\\("+[kN,kN,kN,EN]+"\\)$"),MN=new RegExp("^rgba\\("+[TN,TN,TN,EN]+"\\)$"),NN=new RegExp("^hsl\\("+[EN,TN,TN]+"\\)$"),AN=new RegExp("^hsla\\("+[EN,TN,TN,EN]+"\\)$"),PN={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 qN(n){var e;return n=(n+"").trim().toLowerCase(),(e=RN.exec(n))?new zN((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=IN.exec(n))?jN(parseInt(e[1],16)):(e=ON.exec(n))?new zN(e[1],e[2],e[3],1):(e=FN.exec(n))?new zN(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=DN.exec(n))?LN(e[1],e[2],e[3],e[4]):(e=MN.exec(n))?LN(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=NN.exec(n))?HN(e[1],e[2]/100,e[3]/100,1):(e=AN.exec(n))?HN(e[1],e[2]/100,e[3]/100,e[4]):PN.hasOwnProperty(n)?jN(PN[n]):"transparent"===n?new zN(NaN,NaN,NaN,0):null}function jN(n){return new zN(n>>16&255,n>>8&255,255&n,1)}function LN(n,e,t,l){return l<=0&&(n=e=t=NaN),new zN(n,e,t,l)}function VN(n){return n instanceof SN||(n=qN(n)),n?new zN((n=n.rgb()).r,n.g,n.b,n.opacity):new zN}function BN(n,e,t,l){return 1===arguments.length?VN(n):new zN(n,e,t,null==l?1:l)}function zN(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function UN(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function HN(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new WN(n,e,t,l)}function ZN(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof WN)return new WN(n.h,n.s,n.l,n.opacity);if(n instanceof SN||(n=qN(n)),!n)return new WN;if(n instanceof WN)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new WN(i,a,u,n.opacity)}(n):new WN(n,e,t,null==l?1:l)}function WN(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function GN(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}CN(SN,qN,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),CN(zN,BN,xN(SN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new zN(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new zN(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},hex:function(){return"#"+UN(this.r)+UN(this.g)+UN(this.b)},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+")")}})),CN(WN,ZN,xN(SN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new WN(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new WN(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 zN(GN(n>=240?n-240:n+120,o,l),GN(n,o,l),GN(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 KN=Math.PI/180,YN=180/Math.PI,$N=.96422,XN=1,QN=.82521,JN=4/29,nA=6/29,eA=3*nA*nA,tA=nA*nA*nA;function lA(n){if(n instanceof oA)return new oA(n.l,n.a,n.b,n.opacity);if(n instanceof dA){if(isNaN(n.h))return new oA(n.l,0,0,n.opacity);var e=n.h*KN;return new oA(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof zN||(n=VN(n));var t,l,o=uA(n.r),r=uA(n.g),i=uA(n.b),a=rA((.2225045*o+.7168786*r+.0606169*i)/XN);return o===r&&r===i?t=l=a:(t=rA((.4360747*o+.3850649*r+.1430804*i)/$N),l=rA((.0139322*o+.0971045*r+.7141733*i)/QN)),new oA(116*a-16,500*(t-a),200*(a-l),n.opacity)}function oA(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function rA(n){return n>tA?Math.pow(n,1/3):n/eA+JN}function iA(n){return n>nA?n*n*n:eA*(n-JN)}function aA(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function uA(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function sA(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof dA)return new dA(n.h,n.c,n.l,n.opacity);if(n instanceof oA||(n=lA(n)),0===n.a&&0===n.b)return new dA(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*YN;return new dA(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new dA(n,e,t,null==l?1:l)}function dA(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}CN(oA,function(n,e,t,l){return 1===arguments.length?lA(n):new oA(n,e,t,null==l?1:l)},xN(SN,{brighter:function(n){return new oA(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new oA(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 zN(aA(3.1338561*(e=$N*iA(e))-1.6168667*(n=XN*iA(n))-.4906146*(t=QN*iA(t))),aA(-.9787684*e+1.9161415*n+.033454*t),aA(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),CN(dA,sA,xN(SN,{brighter:function(n){return new dA(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new dA(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return lA(this).rgb()}}));var cA=-.29227,pA=-.90649,fA=1.97294,hA=fA*pA,mA=1.78277*fA,vA=1.78277*cA- -.14861*pA;function gA(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof bA)return new bA(n.h,n.s,n.l,n.opacity);n instanceof zN||(n=VN(n));var e=n.g/255,t=n.b/255,l=(vA*t+hA*(n.r/255)-mA*e)/(vA+hA-mA),o=t-l,r=(fA*(e-l)-cA*o)/pA,i=Math.sqrt(r*r+o*o)/(fA*l*(1-l)),a=i?Math.atan2(r,o)*YN-120:NaN;return new bA(a<0?a+360:a,i,l,n.opacity)}(n):new bA(n,e,t,null==l?1:l)}function bA(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function yA(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}CN(bA,gA,xN(SN,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new bA(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new bA(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*KN,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new zN(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(cA*l+pA*o)),255*(e+t*(fA*l)),this.opacity)}}));var _A=function(n){return function(){return n}};function wA(n,e){return function(t){return n+t*e}}function CA(n,e){var t=e-n;return t?wA(n,t>180||t<-180?t-360*Math.round(t/360):t):_A(isNaN(n)?e:n)}function xA(n,e){var t=e-n;return t?wA(n,t):_A(isNaN(n)?e:n)}var SA=function n(e){var t=function(n){return 1==(n=+n)?xA: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):_A(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=BN(n)).r,(e=BN(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=xA(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function kA(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=BN(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}var EA,TA,RA,IA,OA=kA(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],r=n[l+1];return yA((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}}),FA=(kA(function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return yA((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}}),function(n,e){return e-=n=+n,function(t){return n+e*t}}),DA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,MA=new RegExp(DA.source,"g"),NA=function(n,e){var t,l,o,r=DA.lastIndex=MA.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=DA.exec(n))&&(l=MA.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:FA(t,l)})),r=MA.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=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("")})},AA=function(n,e){var t,l=typeof e;return null==e||"boolean"===l?_A(e):("number"===l?FA:"string"===l?(t=qN(e))?(e=t,SA):NA:e instanceof qN?SA:e instanceof Date?function(n,e){var t=new Date;return e-=n=+n,function(l){return t.setTime(n+e*l),t}}:Array.isArray(e)?function(n,e){var t,l=e?e.length:0,o=n?Math.min(l,n.length):0,r=new Array(o),i=new Array(l);for(t=0;t<o;++t)r[t]=AA(n[t],e[t]);for(;t<l;++t)i[t]=e[t];return function(n){for(t=0;t<o;++t)i[t]=r[t](n);return i}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?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]=AA(n[t],e[t]):o[t]=e[t];return function(n){for(t in l)o[t]=l[t](n);return o}}:FA)(n,e)},PA=function(n,e){return e-=n=+n,function(t){return Math.round(n+e*t)}},qA=180/Math.PI,jA={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},LA=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(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,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*qA,skewX:Math.atan(u)*qA,scaleX:i,scaleY:a}};function VA(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:FA(n,o)},{i:u-2,x:FA(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:FA(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:FA(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:FA(n,t)},{i:a-2,x:FA(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=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 BA=VA(function(n){return"none"===n?jA:(EA||(EA=document.createElement("DIV"),TA=document.documentElement,RA=document.defaultView),EA.style.transform=n,n=RA.getComputedStyle(TA.appendChild(EA),null).getPropertyValue("transform"),TA.removeChild(EA),n=n.slice(7,-1).split(","),LA(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),zA=VA(function(n){return null==n?jA:(IA||(IA=document.createElementNS("http://www.w3.org/2000/svg","g")),IA.setAttribute("transform",n),(n=IA.transform.baseVal.consolidate())?LA((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):jA)},", ",")",")"),UA=Math.SQRT2;function HA(n){return((n=Math.exp(n))+1/n)/2}var ZA=function(n,e){var t,l,o=n[0],r=n[1],i=n[2],a=e[2],u=e[0]-o,s=e[1]-r,d=u*u+s*s;if(d<1e-12)l=Math.log(a/i)/UA,t=function(n){return[o+n*u,r+n*s,i*Math.exp(UA*n*l)]};else{var c=Math.sqrt(d),p=(a*a-i*i+4*d)/(2*i*2*c),f=(a*a-i*i-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)/UA,t=function(n){var e,t=n*l,a=HA(h),d=i/(2*c)*(a*(e=UA*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,r+d*s,i*a/HA(UA*t+h)]}}return t.duration=1e3*l,t};function WA(n){return function(e,t){var l=n((e=ZN(e)).h,(t=ZN(t)).h),o=xA(e.s,t.s),r=xA(e.l,t.l),i=xA(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function GA(n){return function(e,t){var l=n((e=sA(e)).h,(t=sA(t)).h),o=xA(e.c,t.c),r=xA(e.l,t.l),i=xA(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function KA(n){return function e(t){function l(e,l){var o=n((e=gA(e)).h,(l=gA(l)).h),r=xA(e.s,l.s),i=xA(e.l,l.l),a=xA(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}WA(CA),WA(xA),GA(CA),GA(xA),KA(CA);var YA,$A,XA=KA(xA),QA=0,JA=0,nP=0,eP=1e3,tP=0,lP=0,oP=0,rP="object"==typeof performance&&performance.now?performance:Date,iP="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function aP(){return lP||(iP(uP),lP=rP.now()+oP)}function uP(){lP=0}function sP(){this._call=this._time=this._next=null}function dP(n,e,t){var l=new sP;return l.restart(n,e,t),l}function cP(){aP(),++QA;for(var n,e=YA;e;)(n=lP-e._time)>=0&&e._call.call(null,n),e=e._next;--QA}function pP(){lP=(tP=rP.now())+oP,QA=JA=0;try{cP()}finally{QA=0,function(){for(var n,e,t=YA,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:YA=e);$A=n,hP(l)}(),lP=0}}function fP(){var n=rP.now(),e=n-tP;e>eP&&(oP-=e,tP=n)}function hP(n){QA||(JA&&(JA=clearTimeout(JA)),n-lP>24?(n<1/0&&(JA=setTimeout(pP,n-rP.now()-oP)),nP&&(nP=clearInterval(nP))):(nP||(tP=rP.now(),nP=setInterval(fP,eP)),QA=1,iP(pP)))}sP.prototype=dP.prototype={constructor:sP,restart:function(n,e,t){if("function"!=typeof n)throw new TypeError("callback is not a function");t=(null==t?aP():+t)+(null==e?0:+e),this._next||$A===this||($A?$A._next=this:YA=this,$A=this),this._call=n,this._time=t,hP()},stop:function(){this._call&&(this._call=null,this._time=1/0,hP())}};var mP=function(n,e,t){var l=new sP;return l.restart(function(t){l.stop(),n(t+e)},e=null==e?0:+e,t),l},vP=function(n,e,t){var l=new sP,o=e;return null==e?(l.restart(n,e,t),l):(e=+e,t=null==t?aP():+t,l.restart(function r(i){i+=o,l.restart(r,o+=e,t),n(i)},e,t),l)},gP=SI("start","end","cancel","interrupt"),bP=[],yP=0,_P=1,wP=2,CP=3,xP=4,SP=5,kP=6,EP=function(n,e,t,l,o,r){var i=n.__transition;if(i){if(t in i)return}else n.__transition={};!function(n,e,t){var l,o=n.__transition;function r(u){var s,d,c,p;if(t.state!==_P)return a();for(s in o)if((p=o[s]).name===t.name){if(p.state===CP)return mP(r);p.state===xP?(p.state=kP,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete o[s]):+s<e&&(p.state=kP,p.timer.stop(),p.on.call("cancel",n,n.__data__,p.index,p.group),delete o[s])}if(mP(function(){t.state===CP&&(t.state=xP,t.timer.restart(i,t.delay,t.time),i(u))}),t.state=wP,t.on.call("start",n,n.__data__,t.index,t.group),t.state===wP){for(t.state=CP,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 i(e){for(var o=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(a),t.state=SP,1),r=-1,i=l.length;++r<i;)l[r].call(n,o);t.state===SP&&(t.on.call("end",n,n.__data__,t.index,t.group),a())}function a(){for(var l in t.state=kP,t.timer.stop(),delete o[e],o)return;delete n.__transition}o[e]=t,t.timer=dP(function(n){t.state=_P,t.timer.restart(r,t.delay,t.time),t.delay<=n&&r(n-t.delay)},0,t.time)}(n,t,{name:e,index:l,group:o,on:gP,tween:bP,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:yP})};function TP(n,e){var t=IP(n,e);if(t.state>yP)throw new Error("too late; already scheduled");return t}function RP(n,e){var t=IP(n,e);if(t.state>CP)throw new Error("too late; already running");return t}function IP(n,e){var t=n.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var OP=function(n,e){var t,l,o,r=n.__transition,i=!0;if(r){for(o in e=null==e?null:e+"",r)(t=r[o]).name===e?(l=t.state>wP&&t.state<SP,t.state=kP,t.timer.stop(),t.on.call(l?"interrupt":"cancel",n,n.__data__,t.index,t.group),delete r[o]):i=!1;i&&delete n.__transition}};function FP(n,e,t){var l=n._id;return n.each(function(){var n=RP(this,l);(n.value||(n.value={}))[e]=t.apply(this,arguments)}),function(n){return IP(n,l).value[e]}}var DP=function(n,e){var t;return("number"==typeof e?FA:e instanceof qN?SA:(t=qN(e))?(e=t,SA):NA)(n,e)},MP=pO.prototype.constructor;function NP(n){return function(){this.style.removeProperty(n)}}var AP=0;function PP(n,e,t,l){this._groups=n,this._parents=e,this._name=t,this._id=l}function qP(n){return pO().transition(n)}function jP(){return++AP}var LP=pO.prototype;function VP(n){return+n}function BP(n){return n*n}function zP(n){return n*(2-n)}function UP(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}function HP(n){return n*n*n}function ZP(n){return--n*n*n+1}function WP(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}PP.prototype=qP.prototype={constructor:PP,select:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=OI(n));for(var l=this._groups,o=l.length,r=new Array(o),i=0;i<o;++i)for(var a,u,s=l[i],d=s.length,c=r[i]=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,EP(c[p],e,t,p,c,IP(a,t)));return new PP(r,this._parents,e,t)},selectAll:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=DI(n));for(var l=this._groups,o=l.length,r=[],i=[],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=IP(u,t),m=0,v=f.length;m<v;++m)(p=f[m])&&EP(p,e,t,m,f,h);r.push(f),i.push(u)}return new PP(r,i,e,t)},filter:function(n){"function"!=typeof n&&(n=MI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new PP(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),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new PP(r,this._parents,this._name,this._id)},selection:function(){return new MP(this._groups,this._parents)},transition:function(){for(var n=this._name,e=this._id,t=jP(),l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)if(i=a[s]){var d=IP(i,e);EP(i,n,t,s,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new PP(l,this._parents,n,t)},call:LP.call,nodes:LP.nodes,node:LP.node,size:LP.size,empty:LP.empty,each:LP.each,on:function(n,e){var t=this._id;return arguments.length<2?IP(this.node(),t).on.on(n):this.each(function(n,e,t){var l,o,r=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)?TP:RP;return function(){var i=r(this,n),a=i.on;a!==l&&(o=(l=a).copy()).on(e,t),i.on=o}}(t,n,e))},attr:function(n,e){var t=TI(n),l="transform"===t?zA:DP;return this.attrTween(n,"function"==typeof e?(t.local?function(n,e,t){var l,o,r;return function(){var i,a,u=t(this);if(null!=u)return(i=this.getAttributeNS(n.space,n.local))===(a=u+"")?null:i===l&&a===o?r:(o=a,r=e(l=i,u));this.removeAttributeNS(n.space,n.local)}}:function(n,e,t){var l,o,r;return function(){var i,a,u=t(this);if(null!=u)return(i=this.getAttribute(n))===(a=u+"")?null:i===l&&a===o?r:(o=a,r=e(l=i,u));this.removeAttribute(n)}})(t,l,FP(this,"attr."+n,e)):null==e?(t.local?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}})(t):(t.local?function(n,e,t){var l,o,r=t+"";return function(){var i=this.getAttributeNS(n.space,n.local);return i===r?null:i===l?o:o=e(l=i,t)}}:function(n,e,t){var l,o,r=t+"";return function(){var i=this.getAttribute(n);return i===r?null:i===l?o:o=e(l=i,t)}})(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=TI(n);return this.tween(t,(l.local?function(n,e){var t,l;function o(){var o=e.apply(this,arguments);return o!==l&&(t=(l=o)&&function(n,e){return function(t){this.setAttributeNS(n.space,n.local,e(t))}}(n,o)),t}return o._value=e,o}:function(n,e){var t,l;function o(){var o=e.apply(this,arguments);return o!==l&&(t=(l=o)&&function(n,e){return function(t){this.setAttribute(n,e(t))}}(n,o)),t}return o._value=e,o})(l,e))},style:function(n,e,t){var l="transform"==(n+="")?BA:DP;return null==e?this.styleTween(n,function(n,e){var t,l,o;return function(){var r=BI(this,n),i=(this.style.removeProperty(n),BI(this,n));return r===i?null:r===t&&i===l?o:o=e(t=r,l=i)}}(n,l)).on("end.style."+n,NP(n)):"function"==typeof e?this.styleTween(n,function(n,e,t){var l,o,r;return function(){var i=BI(this,n),a=t(this),u=a+"";return null==a&&(this.style.removeProperty(n),u=a=BI(this,n)),i===u?null:i===l&&u===o?r:(o=u,r=e(l=i,a))}}(n,l,FP(this,"style."+n,e))).each(function(n,e){var t,l,o,r,i="style."+e,a="end."+i;return function(){var u=RP(this,n),s=u.on,d=null==u.value[i]?r||(r=NP(e)):void 0;s===t&&o===d||(l=(t=s).copy()).on(a,o=d),u.on=l}}(this._id,n)):this.styleTween(n,function(n,e,t){var l,o,r=t+"";return function(){var i=BI(this,n);return i===r?null:i===l?o:o=e(l=i,t)}}(n,l,e),t).on("end.style."+n,null)},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,function(n,e,t){var l,o;function r(){var r=e.apply(this,arguments);return r!==o&&(l=(o=r)&&function(n,e,t){return function(l){this.style.setProperty(n,e(l),t)}}(n,r,t)),l}return r._value=e,r}(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}}(FP(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=IP(this.node(),t).tween,r=0,i=o.length;r<i;++r)if((l=o[r]).name===n)return l.value;return null}return this.each((null==e?function(n,e){var t,l;return function(){var o=RP(this,n),r=o.tween;if(r!==t)for(var i=0,a=(l=t=r).length;i<a;++i)if(l[i].name===e){(l=l.slice()).splice(i,1);break}o.tween=l}}:function(n,e,t){var l,o;if("function"!=typeof t)throw new Error;return function(){var r=RP(this,n),i=r.tween;if(i!==l){o=(l=i).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)}r.tween=o}})(t,n,e))},delay:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?function(n,e){return function(){TP(this,n).delay=+e.apply(this,arguments)}}:function(n,e){return e=+e,function(){TP(this,n).delay=e}})(e,n)):IP(this.node(),e).delay},duration:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?function(n,e){return function(){RP(this,n).duration=+e.apply(this,arguments)}}:function(n,e){return e=+e,function(){RP(this,n).duration=e}})(e,n)):IP(this.node(),e).duration},ease:function(n){var e=this._id;return arguments.length?this.each(function(n,e){if("function"!=typeof e)throw new Error;return function(){RP(this,n).ease=e}}(e,n)):IP(this.node(),e).ease},end:function(){var n,e,t=this,l=t._id,o=t.size();return new Promise(function(r,i){var a={value:i},u={value:function(){0==--o&&r()}};t.each(function(){var t=RP(this,l),o=t.on;o!==n&&((e=(n=o).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(u)),t.on=e})})}};var GP=function n(e){function t(n){return Math.pow(n,e)}return e=+e,t.exponent=n,t}(3),KP=function n(e){function t(n){return 1-Math.pow(1-n,e)}return e=+e,t.exponent=n,t}(3),YP=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),$P=Math.PI,XP=$P/2;function QP(n){return 1-Math.cos(n*XP)}function JP(n){return Math.sin(n*XP)}function nq(n){return(1-Math.cos($P*n))/2}function eq(n){return Math.pow(2,10*n-10)}function tq(n){return 1-Math.pow(2,-10*n)}function lq(n){return((n*=2)<=1?Math.pow(2,10*n-10):2-Math.pow(2,10-10*n))/2}function oq(n){return 1-Math.sqrt(1-n*n)}function rq(n){return Math.sqrt(1- --n*n)}function iq(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var aq=4/11,uq=6/11,sq=8/11,dq=.75,cq=9/11,pq=10/11,fq=.9375,hq=21/22,mq=63/64,vq=1/aq/aq;function gq(n){return 1-bq(1-n)}function bq(n){return(n=+n)<aq?vq*n*n:n<sq?vq*(n-=uq)*n+dq:n<pq?vq*(n-=cq)*n+fq:vq*(n-=hq)*n+mq}function yq(n){return((n*=2)<=1?1-bq(1-n):bq(n-1)+1)/2}var _q=function n(e){function t(n){return n*n*((e+1)*n-e)}return e=+e,t.overshoot=n,t}(1.70158),wq=function n(e){function t(n){return--n*n*((e+1)*n+e)+1}return e=+e,t.overshoot=n,t}(1.70158),Cq=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),xq=2*Math.PI,Sq=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=xq);function o(n){return e*Math.pow(2,10*--n)*Math.sin((l-n)/t)}return o.amplitude=function(e){return n(e,t*xq)},o.period=function(t){return n(e,t)},o}(1,.3),kq=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=xq);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*xq)},o.period=function(t){return n(e,t)},o}(1,.3),Eq=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=xq);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*xq)},o.period=function(t){return n(e,t)},o}(1,.3),Tq={time:null,delay:0,duration:250,ease:WP};function Rq(n,e){for(var t;!(t=n.__transition)||!(t=t[e]);)if(!(n=n.parentNode))return Tq.time=aP(),Tq;return t}pO.prototype.interrupt=function(n){return this.each(function(){OP(this,n)})},pO.prototype.transition=function(n){var e,t;n instanceof PP?(e=n._id,n=n._name):(e=jP(),(t=Tq).time=aP(),n=null==n?null:n+"");for(var l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)(i=a[s])&&EP(i,n,e,s,a,t||Rq(i,e));return new PP(l,this._parents,n,e)};var Iq=function(n){return function(){return n}};function Oq(n,e,t){this.target=n,this.type=e,this.transform=t}function Fq(n,e,t){this.k=n,this.x=e,this.y=t}Fq.prototype={constructor:Fq,scale:function(n){return 1===n?this:new Fq(this.k*n,this.x,this.y)},translate:function(n,e){return 0===n&0===e?this:new Fq(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 Dq=new Fq(1,0,0);function Mq(n){return n.__zoom||Dq}function Nq(){tO.stopImmediatePropagation()}Mq.prototype=Fq.prototype;var Aq=function(){tO.preventDefault(),tO.stopImmediatePropagation()};function Pq(){return!tO.button}function qq(){var n,e,t=this;return t instanceof SVGElement?(n=(t=t.ownerSVGElement||t).width.baseVal.value,e=t.height.baseVal.value):(n=t.clientWidth,e=t.clientHeight),[[0,0],[n,e]]}function jq(){return this.__zoom||Dq}function Lq(){return-tO.deltaY*(tO.deltaMode?120:1)/500}function Vq(){return"ontouchstart"in this}function Bq(n,e,t){var l=n.invertX(e[0][0])-t[0][0],o=n.invertX(e[1][0])-t[1][0],r=n.invertY(e[0][1])-t[0][1],i=n.invertY(e[1][1])-t[1][1];return n.translate(o>l?(l+o)/2:Math.min(0,l)||Math.max(0,o),i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i))}var zq=function(){var n,e,t=Pq,l=qq,o=Bq,r=Lq,i=Vq,a=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],s=250,d=ZA,c=[],p=SI("start","zoom","end"),f=500,h=150,m=0;function v(n){n.property("__zoom",jq).on("wheel.zoom",x).on("mousedown.zoom",S).on("dblclick.zoom",k).filter(i).on("touchstart.zoom",E).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",R).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(n,e){return(e=Math.max(a[0],Math.min(a[1],e)))===n.k?n:new Fq(e,n.x,n.y)}function b(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 Fq(n.k,l,o)}function y(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(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var n=arguments,o=w(this,n),r=l.apply(this,n),i=t||y(r),a=Math.max(r[1][0]-r[0][0],r[1][1]-r[0][1]),u=this.__zoom,s="function"==typeof e?e.apply(this,n):e,c=d(u.invert(i).concat(a/u.k),s.invert(i).concat(a/s.k));return function(n){if(1===n)n=s;else{var e=c(n),t=a/e[2];n=new Fq(t,i[0]-e[0]*t,i[1]-e[1]*t)}o.zoom(null,n)}})}function w(n,e){for(var t,l=0,o=c.length;l<o;++l)if((t=c[l]).that===n)return t;return new C(n,e)}function C(n,e){this.that=n,this.args=e,this.index=-1,this.active=0,this.extent=l.apply(n,e)}function x(){if(t.apply(this,arguments)){var n=w(this,arguments),e=this.__zoom,l=Math.max(a[0],Math.min(a[1],e.k*Math.pow(2,r.apply(this,arguments)))),i=bO(this);if(n.wheel)n.mouse[0][0]===i[0]&&n.mouse[0][1]===i[1]||(n.mouse[1]=e.invert(n.mouse[0]=i)),clearTimeout(n.wheel);else{if(e.k===l)return;n.mouse=[i,e.invert(i)],OP(this),n.start()}Aq(),n.wheel=setTimeout(function(){n.wheel=null,n.end()},h),n.zoom("mouse",o(b(g(e,l),n.mouse[0],n.mouse[1]),n.extent,u))}}function S(){if(!e&&t.apply(this,arguments)){var n=w(this,arguments),l=fO(tO.view).on("mousemove.zoom",function(){if(Aq(),!n.moved){var e=tO.clientX-i,t=tO.clientY-a;n.moved=e*e+t*t>m}n.zoom("mouse",o(b(n.that.__zoom,n.mouse[0]=bO(n.that),n.mouse[1]),n.extent,u))},!0).on("mouseup.zoom",function(){l.on("mousemove.zoom mouseup.zoom",null),xO(tO.view,n.moved),Aq(),n.end()},!0),r=bO(this),i=tO.clientX,a=tO.clientY;CO(tO.view),Nq(),n.mouse=[r,this.__zoom.invert(r)],OP(this),n.start()}}function k(){if(t.apply(this,arguments)){var n=this.__zoom,e=bO(this),r=n.invert(e),i=o(b(g(n,n.k*(tO.shiftKey?.5:2)),e,r),l.apply(this,arguments),u);Aq(),s>0?fO(this).transition().duration(s).call(_,i,e):fO(this).call(v.transform,i)}}function E(){if(t.apply(this,arguments)){var e,l,o,r,i=w(this,arguments),a=tO.changedTouches,u=a.length;for(Nq(),l=0;l<u;++l)r=[r=yO(this,a,(o=a[l]).identifier),this.__zoom.invert(r),o.identifier],i.touch0?i.touch1||(i.touch1=r):(i.touch0=r,e=!0);if(n&&(n=clearTimeout(n),!i.touch1))return i.end(),void((r=fO(this).on("dblclick.zoom"))&&r.apply(this,arguments));e&&(n=setTimeout(function(){n=null},f),OP(this),i.start())}}function T(){var e,t,l,r,i=w(this,arguments),a=tO.changedTouches,s=a.length;for(Aq(),n&&(n=clearTimeout(n)),e=0;e<s;++e)l=yO(this,a,(t=a[e]).identifier),i.touch0&&i.touch0[2]===t.identifier?i.touch0[0]=l:i.touch1&&i.touch1[2]===t.identifier&&(i.touch1[0]=l);if(t=i.that.__zoom,i.touch1){var d=i.touch0[0],c=i.touch0[1],p=i.touch1[0],f=i.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=g(t,Math.sqrt(h/m)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],r=[(c[0]+f[0])/2,(c[1]+f[1])/2]}else{if(!i.touch0)return;l=i.touch0[0],r=i.touch0[1]}i.zoom("touch",o(b(t,l,r),i.extent,u))}function R(){var n,t,l=w(this,arguments),o=tO.changedTouches,r=o.length;for(Nq(),e&&clearTimeout(e),e=setTimeout(function(){e=null},f),n=0;n<r;++n)t=o[n],l.touch0&&l.touch0[2]===t.identifier?delete l.touch0:l.touch1&&l.touch1[2]===t.identifier&&delete l.touch1;l.touch1&&!l.touch0&&(l.touch0=l.touch1,delete l.touch1),l.touch0?l.touch0[1]=this.__zoom.invert(l.touch0[0]):l.end()}return v.transform=function(n,e){var t=n.selection?n.selection():n;t.property("__zoom",jq),n!==t?_(n,e):t.interrupt().each(function(){w(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},v.scaleBy=function(n,e){v.scaleTo(n,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)})},v.scaleTo=function(n,e){v.transform(n,function(){var n=l.apply(this,arguments),t=this.__zoom,r=y(n),i=t.invert(r),a="function"==typeof e?e.apply(this,arguments):e;return o(b(g(t,a),r,i),n,u)})},v.translateBy=function(n,e,t){v.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)})},v.translateTo=function(n,e,t){v.transform(n,function(){var n=l.apply(this,arguments),r=this.__zoom,i=y(n);return o(Dq.translate(i[0],i[1]).scale(r.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.index=c.push(this)-1,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&&(c.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(n){aO(new Oq(v,n,this.that.__zoom),p.apply,p,[n,this.that,this.args])}},v.wheelDelta=function(n){return arguments.length?(r="function"==typeof n?n:Iq(+n),v):r},v.filter=function(n){return arguments.length?(t="function"==typeof n?n:Iq(!!n),v):t},v.touchable=function(n){return arguments.length?(i="function"==typeof n?n:Iq(!!n),v):i},v.extent=function(n){return arguments.length?(l="function"==typeof n?n:Iq([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),v):l},v.scaleExtent=function(n){return arguments.length?(a[0]=+n[0],a[1]=+n[1],v):[a[0],a[1]]},v.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],v):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},v.constrain=function(n){return arguments.length?(o=n,v):o},v.duration=function(n){return arguments.length?(s=+n,v):s},v.interpolate=function(n){return arguments.length?(d=n,v):d},v.on=function(){var n=p.on.apply(p,arguments);return n===p?v:n},v.clickDistance=function(n){return arguments.length?(m=(n=+n)*n,v):Math.sqrt(m)},v},Uq=function(){function n(n){this.context=n,this.enabled=!1,this.needsDeactivate=!1,this.needsActivate=!1,this.zoom=zq().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"===tO.type}),this.zoom.on("zoom",function(){var t=n.select("g.canvas"),l=tO;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){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 r=o.select("g.links"),i=o.select("g.nodes"),a=o.select("g.drawings");t.exit().remove(),this.linksWidget.draw(r),this.nodesWidget.draw(i),this.drawingsWidget.draw(a)},n}(),Zq=function(){function n(n,e,t,l,o,r){this.nodesWidget=n,this.drawingLineTool=e,this.selectionTool=t,this.movingTool=l,this.layersWidget=o,this.layersManager=r}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}(),Wq=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 WR(t,l)},n}(),Gq=function(){function n(n,e,t,l,o,r,i,a,u,s,d){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.mapSettings=o,this.element=r,this.interfaceLabelWidget=i,this.selectionToolWidget=a,this.movingToolWidget=u,this.graphLayout=s,this.toolsService=d,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.subscriptions=[],this.settings={show_interface_labels:!0},this.parentNativeElement=r.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.toolsService.isMovingToolActivated.subscribe(function(e){n.movingToolWidget.setEnabled(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}))},n.prototype.ngOnDestroy=function(){this.graphLayout.disconnect(this.svg),this.onChangesDetected.unsubscribe(),this.subscriptions.forEach(function(n){n.unsubscribe()})},n.prototype.createGraph=function(n){var e=fO(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.activateTextEditing()},n.prototype.onResize=function(n){this.changeLayout()},n}(),Kq=o["\u0275crt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function Yq(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{svgRef:0}),o["\u0275qud"](402653184,2,{textEditor:0}),(n()(),o["\u0275eld"](2,0,[[1,0],["svg",1]],null,2,":svg:svg",[["class","map"],["preserveAspectRatio","none"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,":svg:feColorMatrix",[["id","feGrayscale"],["type","saturate"],["values","0"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"app-drawing-adding",[],null,null,null,aI,iI)),o["\u0275did"](6,245760,null,0,rI,[$R,YR],{svg:[0,"svg"]},null),(n()(),o["\u0275eld"](7,0,null,null,1,"app-drawing-resizing",[],null,null,null,XO,$O)),o["\u0275did"](8,245760,null,0,YO,[KO,$R],null,null),(n()(),o["\u0275eld"](9,0,null,null,1,"app-selection-control",[],null,null,null,RF,TF)),o["\u0275did"](10,245760,null,0,EF,[QO,SF,kF,HO],null,null),(n()(),o["\u0275eld"](11,0,null,null,1,"app-selection-select",[],null,null,null,DF,FF)),o["\u0275did"](12,245760,null,0,OF,[HO,IF],null,null),(n()(),o["\u0275eld"](13,0,null,null,1,"app-text-editor",[],null,null,null,PF,AF)),o["\u0275did"](14,245760,[[2,4],["textEditor",4]],0,NF,[$R,MF,YR,o.Renderer2],{svg:[0,"svg"]},null),(n()(),o["\u0275eld"](15,0,null,null,1,"app-draggable-selection",[],null,null,null,iD,rD)),o["\u0275did"](16,245760,null,0,oD,[BF,KO,tD,jF,QF,HO,LF,$R,SF,lD],{svg:[0,"svg"]},null)],function(n,e){n(e,6,0,o["\u0275nov"](e,2)),n(e,8,0),n(e,10,0),n(e,12,0),n(e,14,0,o["\u0275nov"](e,2)),n(e,16,0,o["\u0275nov"](e,2))},null)}var $q=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}(),Xq=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Qq(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{textRef:0}),(n()(),o["\u0275eld"](1,0,null,null,3,":svg:g",[["class","text_container"],["height","100"],["width","100"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](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["\u0275ted"](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 Jq=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}(),nj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ej(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 tj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 lj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,":svg:g",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,ej)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,tj)),o["\u0275did"](4,16384,null,0,I.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 oj(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,lj)),o["\u0275did"](1,16384,null,0,I.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 rj=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=GF();return t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.toString()},n}(),ij=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,r=Math.atan2(o,l),i=-Math.PI/4,a=[Math.cos(r+i),Math.sin(r+i)];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=GF();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}(),aj=function(){function n(n,e){this.multiLinkCalculatorHelper=n,this.ref=e,this.ethernetLinkStrategy=new rj,this.serialLinkStrategy=new ij}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}(),uj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function sj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 dj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 cj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Qq,Xq)),o["\u0275did"](1,114688,null,0,$q,[o.ElementRef,o.ChangeDetectorRef,Jn,tF],{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 pj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Qq,Xq)),o["\u0275did"](1,114688,null,0,$q,[o.ElementRef,o.ChangeDetectorRef,Jn,tF],{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 fj(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{path:0}),(n()(),o["\u0275eld"](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["\u0275and"](16777216,null,null,1,null,sj)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,dj)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](6,0,null,null,1,":svg:g",[],null,null,null,oj,nj)),o["\u0275did"](7,49152,null,0,Jq,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["\u0275eld"](8,0,null,null,1,":svg:g",[],null,null,null,oj,nj)),o["\u0275did"](9,49152,null,0,Jq,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,cj)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,pj)),o["\u0275did"](13,16384,null,0,I.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 hj=function(){return function(n,e,t,l){this.x=n,this.y=e,this.dx=t,this.dy=l}}(),mj=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=d.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=d.a.fromEvent(document,"mouseup").do(function(n){n.preventDefault()}),l=d.a.fromEvent(document,"mousemove").do(function(n){return n.stopPropagation()}),o=d.a.fromEvent(document,"scroll").startWith({}),r=d.a.combineLatest(l,o),i=e.mergeMap(function(e){return r.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 hj(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 hj(n.item.x,n.item.y,-t,-l))})).take(1)});this.draggable=i.subscribe(function(n){})},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},n}(),vj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function gj(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var bj=function(){function n(n,e,t,l,o,r){this.cssFixer=n,this.fontFixer=e,this.sanitizer=t,this.element=l,this.cd=o,this.nodesEventSource=r,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 XR(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}(),yj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function _j(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{label:0}),o["\u0275qud"](402653184,2,{imageRef:0}),(n()(),o["\u0275eld"](2,0,null,null,4,":svg:g",[["class","node"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275eld"](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},gj,vj)),o["\u0275did"](4,4440064,[[2,4],["image",4]],0,mj,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["\u0275eld"](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["\u0275ted"](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 wj=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}(),Cj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function xj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Sj=function(){function n(){}return n.prototype.ngOnInit=function(){},n}(),kj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Ej(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Tj=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}(),Rj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Ij(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Oj=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}(),Fj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Dj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Mj=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}(),Nj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Aj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:tspan",[[":xml:space","preserve"],["x","0"]],[[1,"dy",0]],null,null,null,null)),(n()(),o["\u0275ted"](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 Pj(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{textRef:0}),(n()(),o["\u0275eld"](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["\u0275and"](16777216,null,null,1,null,Aj)),o["\u0275did"](3,278528,null,0,I.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["\u0275nov"](e,1).fill,t.transformation)})}var qj=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 XR(this.drawing,n.dx,n.dy))},n.prototype.is=function(n,e){return!!n&&("ellipse"===e?n instanceof vI:"image"===e?n instanceof dI:"line"===e?n instanceof hI:"rect"===e?n instanceof pI:"text"===e&&n instanceof uI)},Object.defineProperty(n.prototype,"transformation",{get:function(){return"translate("+this.drawing.x+","+this.drawing.y+") rotate("+this.drawing.rotation+")"},enumerable:!0,configurable:!0}),n}(),jj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Lj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,xj,Cj)),o["\u0275did"](1,114688,null,0,wj,[VO],{ellipse:[0,"ellipse"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function Vj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Ej,kj)),o["\u0275did"](1,114688,null,0,Sj,[],{image:[0,"image"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function Bj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Ij,Rj)),o["\u0275did"](1,114688,null,0,Tj,[VO],{line:[0,"line"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function zj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Dj,Fj)),o["\u0275did"](1,114688,null,0,Oj,[VO],{rect:[0,"rect"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function Uj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Pj,Nj)),o["\u0275did"](1,376832,null,0,Mj,[qO,Jn],{text:[0,"text"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function Hj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},gj,vj)),o["\u0275did"](1,4440064,null,0,mj,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["\u0275and"](16777216,null,0,1,null,Lj)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,Vj)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,Bj)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,zj)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,Uj)),o["\u0275did"](11,16384,null,0,I.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 Zj=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=d.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=d.a.fromEvent(document,"mouseup").do(function(n){n.preventDefault()}),l=d.a.fromEvent(document,"mousemove").do(function(n){return n.stopPropagation()}),o=d.a.fromEvent(document,"scroll").startWith({}),r=d.a.combineLatest(l,o),i=e.mergeMap(function(e){return r.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=i.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]),r=Math.abs(n[1]-e[1]);this.rectangleSelected.emit(new _N(t,l,o,r))},n}(),Wj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Gj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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 Kj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,":svg:g",[["class","selection-line-tool"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Gj)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,2,0,e.component.visible)},null)}var Yj=function(){function n(n,e,t,l,o,r,i){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.changeDetectorRef=o,this.layersManger=r,this.graphLayout=i,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 YR;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}(),$j=o["\u0275crt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function Xj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,fj,uj)),o["\u0275did"](1,245760,null,0,aj,[xF,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 Qj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,_j,yj)),o["\u0275did"](1,4964352,null,0,bj,[tF,qO,Jn,o.ElementRef,o.ChangeDetectorRef,LF],{node:[0,"node"],symbols:[1,"symbols"]},null)],function(n,e){n(e,1,0,e.context.$implicit,e.component.symbols)},null)}function Jj(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,Hj,jj)),o["\u0275did"](1,114688,null,0,qj,[bI,$R,o.ChangeDetectorRef],{drawing:[0,"drawing"]},null)],function(n,e){n(e,1,0,e.context.$implicit)},null)}function nL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,":svg:g",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,":svg:g",[["class","links"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Xj)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](4,0,null,null,2,":svg:g",[["class","nodes"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Qj)),o["\u0275did"](6,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](7,0,null,null,2,":svg:g",[["class","drawings"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Jj)),o["\u0275did"](9,278528,null,0,I.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 eL(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{svg:0}),(n()(),o["\u0275eld"](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["\u0275eld"](2,0,null,null,2,":svg:g",[],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,nL)),o["\u0275did"](4,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](5,0,null,null,1,":svg:g",[],null,null,null,Kj,Wj)),o["\u0275did"](6,4440064,null,0,Zj,[o.ChangeDetectorRef],{svg:[0,"svg"]},null),(n()(),o["\u0275eld"](7,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275nov"](e,1))},function(n,e){var t=e.component;n(e,1,0,t.width,t.height),n(e,2,0,t.transform)})}var tL=function(){return function(){}}(),lL=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.node_id},e}(gF),oL=function(){function n(n,e,t,l,o,r){var i=this;this.dialogRef=n,this.formBuilder=e,this.toasterService=t,this.snapshotService=l,this.nodesDataSource=o,this.data=r,this.snapshot=new tL,this.snapshots=[],this.server=r.server,this.project=r.project,this.inputForm=this.formBuilder.group({snapshotName:new Bm("",nm.required)}),this.snapshotService.list(this.server,this.project.project_id).subscribe(function(n){n.forEach(function(n){i.snapshots.push(n.name)})}),this.nodesDataSource.getItems().forEach(function(n){"stopped"===n.status||i.isAlwaysRunningNode(n.node_type)||(i.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}(),rL=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(oL,{width:"450px",data:{server:this.server,project:this.project},autoFocus:!1}).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===ky.CANCELLED&&o.unsubscribe()})}})},n}(),iL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function aL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Manage snapshots"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.createSnapshotModal()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["snooze"]))],function(n,e){n(e,2,0,"Manage snapshots"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}var uL=function(){function n(n,e,t){this.dialogRef=n,this.templateService=e,this.data=t,this.displayedColumns=["name"],this.server=t.server}return n.prototype.ngOnInit=function(){var n=this;this.templateDatabase=new sL(this.server,this.templateService),this.dataSource=new dL(this.templateDatabase),Object(Fs.a)(this.filter.nativeElement,"keyup").pipe(Object(xo.a)(150),Object(Ds.a)()).subscribe(function(){n.dataSource&&(n.dataSource.filter=n.filter.nativeElement.value)})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addNode=function(n){this.dialogRef.close(n)},n}(),sL=function(){function n(n,e){var t=this;this.server=n,this.templateService=e,this.dataChange=new E.a([]),this.templateService.list(this.server).subscribe(function(n){t.dataChange.next(n)})}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n}(),dL=function(n){function e(e){var t=n.call(this)||this;return t.templateDatabase=e,t.filterChange=new E.a(""),t}return s.__extends(e,n),Object.defineProperty(e.prototype,"filter",{get:function(){return this.filterChange.value},set:function(n){this.filterChange.next(n)},enumerable:!0,configurable:!0}),e.prototype.connect=function(){var n=this;return Ts.a.apply(void 0,[this.templateDatabase.dataChange,this.filterChange]).pipe(Object(q.a)(function(){return n.templateDatabase.data.slice().filter(function(e){return-1!==e.name.toLowerCase().indexOf(n.filter.toLowerCase())})}))},e.prototype.disconnect=function(){},e}(Ps),cL=function(){function n(n){this.dialog=n,this.onNodeCreation=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.listTemplatesModal=function(){var n=this;this.dialog.open(uL,{width:"600px",height:"560px",data:{server:this.server},autoFocus:!1}).afterClosed().subscribe(function(e){null!==e&&n.onNodeCreation.emit(e)})},n}(),pL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function fL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Browse all devices"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.listTemplatesModal()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["add_to_queue"]))],function(n,e){n(e,2,0,"Browse all devices"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}var hL=function(){function n(n){this.httpServer=n}return 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.suspendAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/suspend",{})},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,r){return this.httpServer.post(n,"/projects/"+e.project_id+"/templates/"+t.template_id,{x:Math.round(l),y:Math.round(o),compute_id:r})},n.prototype.updatePosition=function(n,e,t,l){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{x:Math.round(t),y:Math.round(l)})},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.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.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/nodes/"+e.node_id)},n}(),mL=function(){function n(n,e){this.nodeService=n,this.toasterService=e}return 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}(),vL=o["\u0275crt"]({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}"]],data:{}});function gL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Start/Resume all nodes"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.startNodes()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](2,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](6,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Suspend all nodes"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,8).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,8)._handleTouchend()&&l),"click"===e&&(l=!1!==r.suspendNodes()&&l),l},pu,cu)),o["\u0275did"](7,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](8,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](10,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275eld"](12,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Stop all nodes"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,14).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,14)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,14)._handleTouchend()&&l),"click"===e&&(l=!1!==r.stopNodes()&&l),l},pu,cu)),o["\u0275did"](13,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](14,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](16,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"])),(n()(),o["\u0275eld"](18,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Reload all nodes"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,20).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,20)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,20)._handleTouchend()&&l),"click"===e&&(l=!1!==r.reloadNodes()&&l),l},pu,cu)),o["\u0275did"](19,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](20,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["replay"]))],function(n,e){n(e,2,0,"Start/Resume all nodes"),n(e,4,0),n(e,8,0,"Suspend all nodes"),n(e,10,0),n(e,14,0,"Stop all nodes"),n(e,16,0),n(e,20,0,"Reload all nodes"),n(e,22,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color),n(e,6,0,o["\u0275nov"](e,7).disabled||null,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,9,0,o["\u0275nov"](e,10).inline,"primary"!==o["\u0275nov"](e,10).color&&"accent"!==o["\u0275nov"](e,10).color&&"warn"!==o["\u0275nov"](e,10).color),n(e,12,0,o["\u0275nov"](e,13).disabled||null,"NoopAnimations"===o["\u0275nov"](e,13)._animationMode),n(e,15,0,o["\u0275nov"](e,16).inline,"primary"!==o["\u0275nov"](e,16).color&&"accent"!==o["\u0275nov"](e,16).color&&"warn"!==o["\u0275nov"](e,16).color),n(e,18,0,o["\u0275nov"](e,19).disabled||null,"NoopAnimations"===o["\u0275nov"](e,19)._animationMode),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}var bL=function(){function n(n){this.nodeService=n}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){})})},n}(),yL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _L(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.startNodes()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Start"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function wL(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,_L)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.isNodeWithStoppedStatus)},null)}var CL=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}(),xL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function SL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.stopNodes()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Stop"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function kL(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,SL)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.isNodeWithStartedStatus)},null)}var EL=function(){function n(n,e,t,l){this.electronService=n,this.serverService=e,this.settingsService=t,this.toasterService=l}return n.prototype.ngOnInit=function(){},n.prototype.console=function(){return s.__awaiter(this,void 0,void 0,function(){var n,e,t,l,o;return s.__generator(this,function(r){switch(r.label){case 0:if(void 0===(n=this.settingsService.get("console_command")))return this.toasterService.error("Console command is not defined. Please change it in the Settings."),[2];if(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,r.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:r.sent(),r.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},n.prototype.openConsole=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(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}(),TL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function RL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.console()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["web_asset"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Console"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var IL=function(){return function(){}}(),OL=function(){function n(){}return n.prototype.convert=function(n){var e="";if(n.element instanceof pI)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 vI)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 hI)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 uI))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}(),FL=function(){function n(n){this.httpServer=n}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.updatePosition=function(n,e,t,l){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{x:Math.round(t),y:Math.round(l)})},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,{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}(),DL=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.drawing_id},e}(gF),ML=function(){function n(n,e,t,l,o){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o}return n.prototype.ngOnInit=function(){this.element=new NL,this.rotation=this.drawing.rotation.toString(),this.drawing.element instanceof pI||this.drawing.element instanceof vI?(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 hI&&(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)},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;this.drawing.rotation=+this.rotation,this.drawing.element instanceof pI||this.drawing.element instanceof vI?(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 hI&&(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()})},n}(),NL=function(){return function(){}}(),AL=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.editStyle=function(){var n=this.dialog.open(ML,{width:"300px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing},n}(),PL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function qL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editStyle()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["style"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Edit style"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var jL=function(){function n(n,e,t,l,o,r){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o,this.renderer=r}return n.prototype.ngOnInit=function(){this.rotation=this.drawing.rotation.toString(),this.element=this.drawing.element,this.renderer.setStyle(this.textArea.nativeElement,"color",this.element.fill),this.renderer.setStyle(this.textArea.nativeElement,"font-family",this.element.font_family),this.renderer.setStyle(this.textArea.nativeElement,"font-size",this.element.font_size+"pt"),this.renderer.setStyle(this.textArea.nativeElement,"font-weight",this.element.font_weight)},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;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()})},n.prototype.changeTextColor=function(n){this.renderer.setStyle(this.textArea.nativeElement,"color",n)},n}(),LL=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.editText=function(){var n=this.dialog.open(jL,{width:"300px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing},n}(),VL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function BL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editText()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["text_format"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Edit text"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var zL=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}(),UL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function HL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.moveLayerUp()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_up"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Move layer up"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var ZL=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}(),WL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function GL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.moveLayerDown()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_down"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Move layer down"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var KL=function(){return function(){}}(),YL=function(){function n(n){this.httpServer=n}return n.prototype.createLink=function(n,e,t,l,o){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},{node_id:l.node_id,port_number:o.port_number,adapter_number:o.adapter_number}]})},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}(),$L=function(){function n(n,e,t,l,o){this.dialogRef=n,this.linkService=e,this.formBuilder=t,this.toasterService=l,this.nodesDataSource=o,this.linkTypes=[],this.inputForm=this.formBuilder.group({linkType:new Bm("",nm.required),fileName:new Bm("",nm.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.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}(),XL=function(){function n(n){this.dialog=n}return n.prototype.startCapture=function(){var n=this.dialog.open($L,{width:"400px",autoFocus:!1}).componentInstance;n.server=this.server,n.link=this.link},n}(),QL=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function JL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.startCapture()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["loupe"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Start capture"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function nV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,JL)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,!e.component.link.capturing)},null)}var eV=function(){function n(n){this.linkService=n}return n.prototype.stopCapture=function(){this.linkService.stopCaptureOnLink(this.server,this.link).subscribe(function(){})},n}(),tV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function lV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.stopCapture()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause_circle_filled"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Stop capture"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function oV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,lV)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.link.capturing)},null)}var rV=function(){function n(n){this.dialogRef=n}return n.prototype.onCloseClick=function(){this.dialogRef.close()},n}(),iV=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(rV,{width:"500px",autoFocus:!1}).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}(),aV=function(){function n(n){this.dialog=n}return n.prototype.openPacketFilters=function(){var n=this.dialog.open(iV,{width:"900px",height:"400px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.link=this.link},n}(),uV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function sV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.openPacketFilters()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["filter_list"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Packet filters"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var dV=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}(),cV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function pV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.resumeLink()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Resume"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function fV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,pV)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.link.suspend)},null)}var hV=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}(),mV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function vV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.suspendLink()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Suspend"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function gV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,vV)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,!e.component.link.suspend)},null)}var bV=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.link_id},e}(gF),yV=function(){function n(n,e,t,l,o,r){this.nodesDataSource=n,this.drawingsDataSource=e,this.linksDataSource=t,this.nodeService=l,this.drawingService=o,this.linkService=r}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}(),_V=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function wV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.delete()&&l),l},Fd,Od)),o["\u0275did"](1,180224,null,0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var CV=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.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 uI,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){this.resetCapabilities(),this.labels=[n],this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.openMenuForListOfElements=function(n,e,t,l,o,r){this.resetCapabilities(),this.drawings=n,this.nodes=e,this.labels=t,this.links=l,this.setPosition(o,r),this.contextMenu.openMenu()},n.prototype.resetCapabilities=function(){this.drawings=[],this.nodes=[],this.labels=[],this.hasTextCapabilities=!1},n}(),xV=o["\u0275crt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute}"]],data:{}});function SV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-node-action",[],null,null,null,wL,yL)),o["\u0275did"](1,638976,null,0,bL,[hL],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function kV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-stop-node-action",[],null,null,null,kL,xL)),o["\u0275did"](1,638976,null,0,CL,[hL],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function EV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-console-device-action",[],null,null,null,RL,TL)),o["\u0275did"](1,114688,null,0,EL,[mc,Uh,T,fc],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function TV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-edit-style-action",[],null,null,null,qL,PL)),o["\u0275did"](1,114688,null,0,AL,[_v],{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 RV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-edit-text-action",[],null,null,null,BL,VL)),o["\u0275did"](1,114688,null,0,LL,[_v],{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 IV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-move-layer-up-action",[],null,null,null,HL,UL)),o["\u0275did"](1,114688,null,0,zL,[lL,DL,hL,FL],{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 OV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-move-layer-down-action",[],null,null,null,GL,WL)),o["\u0275did"](1,114688,null,0,ZL,[lL,DL,hL,FL],{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 FV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-capture-action",[],null,null,null,nV,QL)),o["\u0275did"](1,49152,null,0,XL,[_v],{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 DV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-stop-capture-action",[],null,null,null,oV,tV)),o["\u0275did"](1,49152,null,0,eV,[YL],{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 MV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-packet-filters-action",[],null,null,null,sV,uV)),o["\u0275did"](1,49152,null,0,aV,[_v],{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 NV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-resume-link-action",[],null,null,null,fV,cV)),o["\u0275did"](1,49152,null,0,dV,[YL],{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 AV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-suspend-link-action",[],null,null,null,gV,mV)),o["\u0275did"](1,49152,null,0,hV,[YL],{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 PV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-delete-action",[],null,null,null,wV,_V)),o["\u0275did"](1,114688,null,0,yV,[lL,DL,bV,hL,FL,YL],{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 qV(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{contextMenu:0}),(n()(),o["\u0275eld"](1,0,null,null,33,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["\u0275eld"](2,16777216,null,null,1,"span",[["aria-haspopup","true"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,3)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,3)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,3)._handleClick(t)&&l),l},null,null)),o["\u0275did"](3,1196032,[[1,4]],0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](4,0,null,null,30,"mat-menu",[["class","context-menu-items"]],null,null,null,Id,Td)),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](6,1294336,[["contextMenu",4]],2,wd,[o.ElementRef,o.NgZone,_d],{panelClass:[0,"panelClass"]},null),o["\u0275qud"](603979776,2,{items:1}),o["\u0275qud"](335544320,3,{lazyContent:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,SV)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,kV)),o["\u0275did"](12,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,EV)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,TV)),o["\u0275did"](16,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,RV)),o["\u0275did"](18,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,IV)),o["\u0275did"](20,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,OV)),o["\u0275did"](22,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,FV)),o["\u0275did"](24,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,DV)),o["\u0275did"](26,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,MV)),o["\u0275did"](28,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,NV)),o["\u0275did"](30,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,AV)),o["\u0275did"](32,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,PV)),o["\u0275did"](34,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,3,0,o["\u0275nov"](e,6)),n(e,6,0,"context-menu-items"),n(e,10,0,t.nodes.length),n(e,12,0,t.nodes.length),n(e,14,0,!t.projectService.isReadOnly(t.project)&&t.nodes.length&&t.isElectronApp),n(e,16,0,1===t.drawings.length&&!t.hasTextCapabilities),n(e,18,0,1===t.drawings.length&&t.hasTextCapabilities),n(e,20,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)),n(e,22,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)),n(e,24,0,!t.projectService.isReadOnly(t.project)&&t.isBundledServer&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,26,0,!t.projectService.isReadOnly(t.project)&&t.isBundledServer&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,28,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,30,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,32,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,34,0,!t.projectService.isReadOnly(t.project))},function(n,e){var t=e.component;n(e,1,0,t.leftPosition,t.topPosition),n(e,2,0,o["\u0275nov"](e,3).menuOpen||null)})}var jV=t("yccp"),LV=function(){return function(){}}(),VV=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 LV;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}(),BV=function(){return function(){}}(),zV=function(){function n(){}return n.prototype.convert=function(n){var e=new BV;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}(),UV=function(){return function(){}}(),HV=function(){function n(n,e){this.mapLabelToLabel=n,this.mapPortToPort=e}return n.prototype.convert=function(n){var e=this,t=new UV;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.first_port_name=n.firstPortName,t.height=n.height,t.label=n.label?this.mapLabelToLabel.convert(n.label):void 0,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.width=n.width,t.x=n.x,t.y=n.y,t.z=n.z,t},n}(),ZV=function(){function n(n,e,t,l,o,r){this.hotkeysService=n,this.toaster=e,this.nodesService=t,this.projectService=l,this.mapNodeToNode=o,this.selectionManager=r}return n.prototype.ngOnInit=function(){var n=this;this.deleteHotkey=new jV.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 JO}).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}(),WV=t("oVTH"),GV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function KV(n){return o["\u0275vid"](0,[],null,null)}var YV=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.availablePorts=[],this.node.ports.forEach(function(t){0===e.filter(function(n){return n.port_number===t.port_number}).length&&n.availablePorts.push(t)})},n.prototype.chooseInterface=function(n){this.onChooseInterface.emit({node:this.node,port:n})},n}(),$V=o["\u0275crt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute}"]],data:{}});function XV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.chooseInterface(n.context.$implicit)&&l),l},Fd,Od)),o["\u0275did"](1,180224,[[2,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["add_circle_outline"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["",""]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color),n(e,6,0,e.context.$implicit.name)})}function QV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["\u0275eld"](1,16777216,null,null,1,"span",[["aria-haspopup","true"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick(t)&&l),l},null,null)),o["\u0275did"](2,1196032,[[1,4]],0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](3,0,null,null,6,"mat-menu",[["class","context-menu-items"]],null,null,null,Id,Td)),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](5,1294336,[["selectInterfaceMenu",4]],2,wd,[o.ElementRef,o.NgZone,_d],{panelClass:[0,"panelClass"]},null),o["\u0275qud"](603979776,2,{items:1}),o["\u0275qud"](335544320,3,{lazyContent:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,XV)),o["\u0275did"](9,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,2,0,o["\u0275nov"](e,5)),n(e,5,0,"context-menu-items"),n(e,9,0,t.availablePorts)},function(n,e){var t=e.component;n(e,0,0,t.leftPosition,t.topPosition),n(e,1,0,o["\u0275nov"](e,2).menuOpen||null)})}function JV(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{contextMenu:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,QV)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,2,0,e.component.node)},null)}var nB=function(){return function(n,e,t,l){this.sourceNode=n,this.sourcePort=e,this.targetNode=t,this.targetPort=l}}(),eB=function(){function n(n,e,t,l,o,r){this.drawingLineTool=n,this.nodesEventSource=e,this.linksEventSource=t,this.mapNodeToNode=l,this.nodeToMapNode=o,this.portToMapPort=r}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 nB(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}(),tB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function lB(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{nodeSelectInterfaceMenu:0}),(n()(),o["\u0275eld"](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},JV,$V)),o["\u0275did"](2,114688,[[1,4]],0,YV,[Jn,o.ChangeDetectorRef],{links:[0,"links"]},{onChooseInterface:"onChooseInterface"})],function(n,e){n(e,2,0,e.component.links)},null)}var oB=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new uI;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}(),rB=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new vI;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}(),iB=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new pI;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.width=200,n.height=100,n},n}(),aB=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new hI;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}(),uB=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 cF;return e.element=this.factory.getDrawingElement(),e},n}(),sB=function(){function n(n,e,t,l,r){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=r,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}(),dB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function cB(n){return o["\u0275vid"](0,[],null,null)}var pB=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,t,t.x,t.y).subscribe(function(n){e.drawingsDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.drawingDragged.unsubscribe()},n}(),fB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function hB(n){return o["\u0275vid"](0,[],null,null)}var mB=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}(),vB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function gB(n){return o["\u0275vid"](0,[],null,null)}var bB=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}(),yB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function _B(n){return o["\u0275vid"](0,[],null,null)}var wB=function(){function n(n,e,t,l,o,r){this.projectService=n,this.linkService=e,this.linksDataSource=t,this.linksEventSource=l,this.mapNodeToNode=o,this.mapPortToPort=r}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=this.mapNodeToNode.convert(n.sourceNode),l=this.mapPortToPort.convert(n.sourcePort),o=this.mapNodeToNode.convert(n.targetNode),r=this.mapPortToPort.convert(n.targetPort);this.linkService.createLink(this.server,t,l,o,r).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}(),CB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function xB(n){return o["\u0275vid"](0,[],null,null)}var SB=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,t,t.x,t.y).subscribe(function(n){e.nodesDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.nodeDragged.unsubscribe()},n}(),kB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function EB(n){return o["\u0275vid"](0,[],null,null)}var TB=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}(),RB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function IB(n){return o["\u0275vid"](0,[],null,null)}var OB=function(){function n(n,e,t,l,r,i){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=r,this.context=i,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,n.y-this.context.getZeroZeroTransformationPoint().y,l).subscribe(function(n){e.drawingsDataSource.add(n),e.drawingSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.textAdded.unsubscribe()},n}(),FB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function DB(n){return o["\u0275vid"](0,[],null,null)}var MB=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 cF;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}(),NB=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function AB(n){return o["\u0275vid"](0,[],null,null)}var PB=function(){function n(n,e,t){this.nodesDataSource=n,this.linksDataSource=e,this.drawingsDataSource=t}return n.prototype.connect=function(n){var e=this;return n.subscribe(function(n){"node.updated"===n.action&&e.nodesDataSource.update(n.event),"node.created"===n.action&&e.nodesDataSource.add(n.event),"node.deleted"===n.action&&e.nodesDataSource.remove(n.event),"link.created"===n.action&&e.linksDataSource.add(n.event),"link.updated"===n.action&&e.linksDataSource.update(n.event),"link.deleted"===n.action&&e.linksDataSource.remove(n.event),"drawing.created"===n.action&&e.drawingsDataSource.add(n.event),"drawing.updated"===n.action&&e.drawingsDataSource.update(n.event),"drawing.deleted"===n.action&&e.drawingsDataSource.remove(n.event)})},n}(),qB=function(){function n(){}return n.prototype.convert=function(n){var e=new IL;return e.drawing_id=n.id,e.project_id=n.projectId,e.rotation=n.rotation,e.svg=n.svg,e.x=n.x,e.y=n.y,e.z=n.z,e.element=n.element,e},n}(),jB=function(){return function(){}}(),LB=function(){function n(n){this.mapLabelToLabel=n}return n.prototype.convert=function(n){var e=new jB;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}(),VB=function(){function n(n){this.mapLinkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new KL;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}(),BB=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}(),zB=function(){function n(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b,y,_,w,C,x){this.route=n,this.serverService=e,this.projectService=t,this.nodeService=l,this.drawingService=o,this.progressService=r,this.projectWebServiceHandler=i,this.mapChangeDetectorRef=a,this.nodeWidget=u,this.drawingsWidget=s,this.linkWidget=d,this.mapNodeToNode=c,this.mapDrawingToDrawing=p,this.mapLabelToLabel=f,this.mapLinkToLink=h,this.nodesDataSource=m,this.linksDataSource=v,this.drawingsDataSource=g,this.settingsService=b,this.toolsService=y,this.selectionManager=_,this.selectionTool=w,this.recentlyOpenedProjectService=C,this.nodeCreatedLabelStylesFixer=x,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.tools={selection:!0,moving:!1,draw_link:!1,text_editing:!0},this.drawTools={isRectangleChosen:!1,isEllipseChosen:!1,isLineChosen:!1,isTextChosen:!1,visibility:!1},this.inReadOnlyMode=!1,this.subscriptions=[]}return n.prototype.ngOnInit=function(){var n=this;this.settings=this.settingsService.getAll(),this.progressService.activate();var e=this.route.paramMap.subscribe(function(e){var t=parseInt(e.get("server_id"),10);Object(F.a)(n.serverService.get(t)).pipe(Object(z.a)(function(t){return n.server=t,n.projectService.get(t,e.get("project_id")).pipe(Object(q.a)(function(n){return n}))}),Object(z.a)(function(e){return n.project=e,n.recentlyOpenedProjectService.setServerId(n.server.id.toString()),n.recentlyOpenedProjectService.setProjectId(n.project.project_id),"opened"===n.project.status?new d.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.subscriptions.push(e),this.subscriptions.push(this.drawingsDataSource.changes.subscribe(function(e){n.drawings=e,n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.nodesDataSource.changes.subscribe(function(e){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.subscriptions.push(this.linksDataSource.changes.subscribe(function(e){n.links=e,n.mapChangeDetectorRef.detectChanges()}))},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(z.a)(function(t){return e.nodesDataSource.set(t),e.projectService.links(e.server,n.project_id)}),Object(z.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.setUpWS(n),e.progressService.deactivate()});this.subscriptions.push(t)},n.prototype.setUpWS=function(n){this.ws=of(this.projectService.notificationsPath(this.server,n.project_id)),this.subscriptions.push(this.projectWebServiceHandler.connect(this.ws))},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.nodeWidget.onContextMenu.subscribe(function(e){var t=n.mapNodeToNode.convert(e.node);n.contextMenu.openMenuForNode(t,e.event.pageY,e.event.pageX)}),l=this.drawingsWidget.onContextMenu.subscribe(function(e){var t=n.mapDrawingToDrawing.convert(e.drawing);n.contextMenu.openMenuForDrawing(t,e.event.pageY,e.event.pageX)}),o=this.selectionTool.contextMenuOpened.subscribe(function(e){var t=n.selectionManager.getSelected();if(0!==t.length&&e instanceof MouseEvent){var l=[],o=[],r=[],i=[];t.forEach(function(e){e instanceof cF?l.push(n.mapDrawingToDrawing.convert(e)):e instanceof JO?o.push(n.mapNodeToNode.convert(e)):e instanceof nF?r.push(n.mapLabelToLabel.convert(e)):e instanceof sF&&i.push(n.mapLinkToLink.convert(e))}),n.contextMenu.openMenuForListOfElements(l,o,r,i,e.pageY,e.pageX)}});this.subscriptions.push(e),this.subscriptions.push(t),this.subscriptions.push(l),this.subscriptions.push(o),this.mapChangeDetectorRef.detectChanges()},n.prototype.onNodeCreation=function(n){var e=this;n&&this.nodeService.createFromTemplate(this.server,this.project,n,0,0,"local").subscribe(function(){e.projectService.nodes(e.server,e.project.project_id).subscribe(function(n){n.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(n)})})},n.prototype.onDrawingSaved=function(){this.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.toolsService.movingToolActivation(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.project.show_interface_labels=n},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.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.hideMenu=function(){this.resetDrawToolChoice(),this.drawTools.visibility=!1},n.prototype.showMenu=function(){this.drawTools.visibility=!0},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.ngOnDestroy=function(){this.drawingsDataSource.clear(),this.nodesDataSource.clear(),this.linksDataSource.clear(),this.ws&&this.ws.unsubscribe(),this.subscriptions.forEach(function(n){return n.unsubscribe()})},n}(),UB=o["\u0275crt"]({encapsulation:2,styles:[[".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)}#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 0 rgba(0,0,0,.2),0 6px 20px 0 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:640px!important;height:100%;overflow:hidden}mat-divider.divider{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}@-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}"]],data:{}});function HB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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,r=n.component;return"window:resize"===e&&(l=!1!==o["\u0275nov"](n,1).onResize(t)&&l),"nodeDragged"===e&&(l=!1!==r.onNodeDragged(t)&&l),"drawingDragged"===e&&(l=!1!==r.onDrawingDragged(t)&&l),"onLinkCreated"===e&&(l=!1!==r.onLinkCreated(t)&&l),"onDrawingResized"===e&&(l=!1!==r.onDrawingResized(t)&&l),l},Yq,Kq)),o["\u0275did"](1,770048,[[2,4]],0,Gq,[SF,YR,IF,Wq,GO,o.ElementRef,QF,wN,Uq,Zq,MF],{nodes:[0,"nodes"],links:[1,"links"],drawings:[2,"drawings"],symbols:[3,"symbols"],width:[4,"width"],height:[5,"height"],showInterfaceLabels:[6,"showInterfaceLabels"],readonly:[7,"readonly"]},null)],function(n,e){var t=e.component;n(e,1,0,t.nodes,t.links,t.drawings,t.symbols,t.project.scene_width,t.project.scene_height,t.project.show_interface_labels,t.inReadOnlyMode)},null)}function ZB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1).onResize(t)&&l),l},eL,$j)),o["\u0275did"](1,770048,null,0,Yj,[SF,YR,IF,Wq,o.ChangeDetectorRef,vF,Zq],{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.project.show_interface_labels,t.tools.moving,t.tools.selection,t.tools.draw_link,t.inReadOnlyMode])},null)}function WB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Add a link"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==r.toggleDrawLineMode()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](4,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](6,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).inline,"primary"!==o["\u0275nov"](e,6).color&&"accent"!==o["\u0275nov"](e,6).color&&"warn"!==o["\u0275nov"](e,6).color)})}function GB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,1,"app-snapshot-menu-item",[],null,null,null,aL,iL)),o["\u0275did"](3,114688,null,0,rL,[_v,Sy,Ey,fc],{project:[0,"project"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,3,0,t.project,t.server)},null)}function KB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](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},fL,pL)),o["\u0275did"](3,114688,null,0,cL,[_v],{server:[0,"server"]},{onNodeCreation:"onNodeCreation"})],function(n,e){n(e,3,0,e.component.server)},null)}function YB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,6,"button",[["mat-icon-button",""],["matTooltip","Go to preferences"]],[[8,"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["\u0275nov"](n,3).onClick()&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,5).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,5)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,5)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](3,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](4,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](5,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](6,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,gs,vs)),o["\u0275did"](7,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["settings_applications"]))],function(n,e){n(e,3,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences")),n(e,5,0,"Go to preferences"),n(e,7,0)},function(n,e){n(e,2,0,o["\u0275nov"](e,4).disabled||null,"NoopAnimations"===o["\u0275nov"](e,4)._animationMode),n(e,6,0,o["\u0275nov"](e,7).inline,"primary"!==o["\u0275nov"](e,7).color&&"accent"!==o["\u0275nov"](e,7).color&&"warn"!==o["\u0275nov"](e,7).color)})}function $B(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["id","show-menu-wrapper"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{shadowed:0}),(n()(),o["\u0275eld"](3,0,null,null,4,"button",[["class","arrow-button"],["mat-icon-button",""]],[[8,"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},pu,cu)),o["\u0275did"](4,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](6,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_right"]))],function(n,e){var t=n(e,2,0,!e.component.drawTools.visibility);n(e,1,0,t),n(e,6,0)},function(n,e){n(e,3,0,o["\u0275nov"](e,4).disabled||null,"NoopAnimations"===o["\u0275nov"](e,4)._animationMode),n(e,5,0,o["\u0275nov"](e,6).inline,"primary"!==o["\u0275nov"](e,6).color&&"accent"!==o["\u0275nov"](e,6).color&&"warn"!==o["\u0275nov"](e,6).color)})}function XB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,125,"div",[["class","project-map"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,HB)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ZB)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](5,0,null,null,72,"div",[["class","project-toolbar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,71,"mat-toolbar",[["class","project-toolbar mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,_u,yu)),o["\u0275did"](7,4243456,null,1,gu,[o.ElementRef,mo,I.DOCUMENT],{color:[0,"color"]},null),o["\u0275qud"](603979776,3,{_toolbarRows:1}),(n()(),o["\u0275eld"](9,0,null,1,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](10,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](11,16777216,null,null,5,"button",[["aria-haspopup","true"],["mat-icon-button",""],["matTooltip","Open menu"]],[[8,"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["\u0275nov"](n,13)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,13)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,13)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,14).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,14)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,14)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](12,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](13,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),o["\u0275did"](14,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](15,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,gs,vs)),o["\u0275did"](16,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{svgIcon:[0,"svgIcon"]},null),(n()(),o["\u0275eld"](17,0,null,0,22,"mat-menu",[],null,null,null,Id,Td)),o["\u0275did"](18,1294336,[["mainMenu",4]],2,wd,[o.ElementRef,o.NgZone,_d],{overlapTrigger:[0,"overlapTrigger"]},null),o["\u0275qud"](603979776,4,{items:1}),o["\u0275qud"](335544320,5,{lazyContent:0}),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](22,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["\u0275nov"](n,23).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,25)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,25)._handleMouseEnter()&&l),l},Fd,Od)),o["\u0275did"](23,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](24,3),o["\u0275did"](25,180224,[[4,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](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,gs,vs)),o["\u0275did"](27,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["work"])),(n()(),o["\u0275eld"](29,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Projects"])),(n()(),o["\u0275eld"](31,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["\u0275nov"](n,32).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,34)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,34)._handleMouseEnter()&&l),l},Fd,Od)),o["\u0275did"](32,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](33,1),o["\u0275did"](34,180224,[[4,4]],0,yd,[o.ElementRef,I.DOCUMENT,Bo,[2,bd]],null,null),(n()(),o["\u0275eld"](35,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,gs,vs)),o["\u0275did"](36,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["developer_board"])),(n()(),o["\u0275eld"](38,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Servers"])),(n()(),o["\u0275eld"](40,0,null,1,8,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](41,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](42,16777216,null,null,6,"button",[["aria-haspopup","true"],["mat-icon-button",""],["matTooltip","Show/hide interface labels"]],[[8,"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["\u0275nov"](n,44)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,44)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,44)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,45).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,45)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,45)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](43,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](44,1196032,null,0,kd,[cd,o.ElementRef,o.ViewContainerRef,Cd,[2,wd],[8,null],[2,Dr],Bo],{menu:[0,"menu"]},null),o["\u0275did"](45,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](46,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,gs,vs)),o["\u0275did"](47,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["view_module"])),(n()(),o["\u0275eld"](49,0,null,0,12,"mat-menu",[],null,null,null,Id,Td)),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](51,1294336,[["viewMenu",4]],2,wd,[o.ElementRef,o.NgZone,_d],{overlapTrigger:[0,"overlapTrigger"]},null),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](335544320,7,{lazyContent:0}),(n()(),o["\u0275eld"](54,0,null,0,7,"div",[["class","options-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](55,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},ab,ib)),o["\u0275did"](56,8568832,null,0,nb,[o.ElementRef,o.ChangeDetectorRef,Bo,o.NgZone,[8,null],[2,$g],[2,su]],null,{change:"change"}),o["\u0275prd"](1024,null,om,function(n){return[n]},[nb]),o["\u0275did"](58,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},null),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](60,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Show interface labels "])),(n()(),o["\u0275and"](16777216,null,1,1,null,WB)),o["\u0275did"](63,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](64,0,null,1,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](65,16384,[[3,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](66,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Enable/disable moving mode"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,68).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,68)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,68)._handleTouchend()&&l),"click"===e&&(l=!1!==r.toggleMovingMode()&&l),l},pu,cu)),o["\u0275did"](67,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](68,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](69,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,gs,vs)),o["\u0275did"](70,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["zoom_out_map"])),(n()(),o["\u0275and"](16777216,null,1,1,null,GB)),o["\u0275did"](73,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,KB)),o["\u0275did"](75,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,YB)),o["\u0275did"](77,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$B)),o["\u0275did"](79,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](80,0,null,null,43,"div",[["id","menu-wrapper"]],null,null,null,null,null)),o["\u0275did"](81,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](82,{extended:0}),(n()(),o["\u0275eld"](83,0,null,null,1,"app-nodes-menu",[],null,null,null,gL,vL)),o["\u0275did"](84,49152,null,0,mL,[hL,fc],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["\u0275eld"](85,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,_p,yp)),o["\u0275did"](86,49152,null,0,gp,[],{vertical:[0,"vertical"]},null),(n()(),o["\u0275eld"](87,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Add a note"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,89).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,89)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,89)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("text")&&l),l},pu,cu)),o["\u0275did"](88,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](89,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](90,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,gs,vs)),o["\u0275did"](91,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["create"])),(n()(),o["\u0275eld"](93,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["\u0275eld"](94,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Insert a picture"]],[[8,"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["\u0275nov"](n,96).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,96)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,96)._handleTouchend()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,93).click()&&l),l},pu,cu)),o["\u0275did"](95,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](96,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](97,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,gs,vs)),o["\u0275did"](98,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["image"])),(n()(),o["\u0275eld"](100,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a rectangle"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,102).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,102)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,102)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("rectangle")&&l),l},pu,cu)),o["\u0275did"](101,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](102,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](103,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,gs,vs)),o["\u0275did"](104,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["crop_3_2"])),(n()(),o["\u0275eld"](106,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw an ellipse"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,108).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,108)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,108)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("ellipse")&&l),l},pu,cu)),o["\u0275did"](107,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](108,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](109,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,gs,vs)),o["\u0275did"](110,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["panorama_fish_eye"])),(n()(),o["\u0275eld"](112,16777216,null,null,6,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a line"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,114).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,114)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,114)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("line")&&l),l},pu,cu)),o["\u0275did"](113,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),o["\u0275did"](114,147456,null,0,nc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,mo,Ro,Bo,Xd,[2,Dr],[2,Jd],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](115,0,null,0,3,":svg:svg",[["height","40"],["width","40"]],null,null,null,null,null)),(n()(),o["\u0275eld"](116,0,null,null,2,":svg:line",[["style","stroke:white;stroke-width:2"],["x1","30"],["x2","10"],["y1","10"],["y2","30"]],null,null,null,null,null)),o["\u0275did"](117,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](118,{selected:0}),(n()(),o["\u0275eld"](119,0,null,null,4,"button",[["class","arrow-button"],["mat-icon-button",""]],[[8,"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},pu,cu)),o["\u0275did"](120,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275eld"](121,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,gs,vs)),o["\u0275did"](122,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_left"])),(n()(),o["\u0275eld"](124,0,null,null,1,"app-context-menu",[],null,null,null,qV,xV)),o["\u0275did"](125,114688,[[1,4]],0,CV,[Jn,o.ChangeDetectorRef,mc,rg],{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,7,0,"primary"),n(e,13,0,o["\u0275nov"](e,18)),n(e,14,0,"Open menu"),n(e,16,0,"gns3"),n(e,18,0,!1);var l=n(e,24,0,"/server",t.server.id,"projects");n(e,23,0,l),n(e,27,0);var r=n(e,33,0,"/servers");n(e,32,0,r),n(e,36,0),n(e,44,0,o["\u0275nov"](e,51)),n(e,45,0,"Show/hide interface labels"),n(e,47,0),n(e,51,0,!1),n(e,58,0,t.project.show_interface_labels),n(e,63,0,!t.readonly),n(e,67,0,t.tools.moving?"primary":"basic"),n(e,68,0,"Enable/disable moving mode"),n(e,70,0),n(e,73,0,!t.readonly),n(e,75,0,!t.readonly),n(e,77,0,!t.readonly),n(e,79,0,!t.readonly);var i=n(e,82,0,t.drawTools.visibility);n(e,81,0,i),n(e,84,0,t.project,t.server),n(e,86,0,!0),n(e,88,0,t.drawTools.isTextChosen?"primary":"basic"),n(e,89,0,"Add a note"),n(e,91,0),n(e,96,0,"Insert a picture"),n(e,98,0),n(e,101,0,t.drawTools.isRectangleChosen?"primary":"basic"),n(e,102,0,"Draw a rectangle"),n(e,104,0),n(e,107,0,t.drawTools.isEllipseChosen?"primary":"basic"),n(e,108,0,"Draw an ellipse"),n(e,110,0),n(e,114,0,"Draw a line");var a=n(e,118,0,t.drawTools.isLineChosen);n(e,117,0,a),n(e,122,0),n(e,125,0,t.project,t.server)},function(n,e){n(e,6,0,o["\u0275nov"](e,7)._toolbarRows.length>0,0===o["\u0275nov"](e,7)._toolbarRows.length),n(e,11,0,o["\u0275nov"](e,12).disabled||null,"NoopAnimations"===o["\u0275nov"](e,12)._animationMode,o["\u0275nov"](e,13).menuOpen||null),n(e,15,0,o["\u0275nov"](e,16).inline,"primary"!==o["\u0275nov"](e,16).color&&"accent"!==o["\u0275nov"](e,16).color&&"warn"!==o["\u0275nov"](e,16).color),n(e,22,0,o["\u0275nov"](e,25).role,o["\u0275nov"](e,25)._highlighted,o["\u0275nov"](e,25)._triggersSubmenu,o["\u0275nov"](e,25)._getTabIndex(),o["\u0275nov"](e,25).disabled.toString(),o["\u0275nov"](e,25).disabled||null),n(e,26,0,o["\u0275nov"](e,27).inline,"primary"!==o["\u0275nov"](e,27).color&&"accent"!==o["\u0275nov"](e,27).color&&"warn"!==o["\u0275nov"](e,27).color),n(e,31,0,o["\u0275nov"](e,34).role,o["\u0275nov"](e,34)._highlighted,o["\u0275nov"](e,34)._triggersSubmenu,o["\u0275nov"](e,34)._getTabIndex(),o["\u0275nov"](e,34).disabled.toString(),o["\u0275nov"](e,34).disabled||null),n(e,35,0,o["\u0275nov"](e,36).inline,"primary"!==o["\u0275nov"](e,36).color&&"accent"!==o["\u0275nov"](e,36).color&&"warn"!==o["\u0275nov"](e,36).color),n(e,42,0,o["\u0275nov"](e,43).disabled||null,"NoopAnimations"===o["\u0275nov"](e,43)._animationMode,o["\u0275nov"](e,44).menuOpen||null),n(e,46,0,o["\u0275nov"](e,47).inline,"primary"!==o["\u0275nov"](e,47).color&&"accent"!==o["\u0275nov"](e,47).color&&"warn"!==o["\u0275nov"](e,47).color),n(e,55,1,[o["\u0275nov"](e,56).id,null,o["\u0275nov"](e,56).indeterminate,o["\u0275nov"](e,56).checked,o["\u0275nov"](e,56).disabled,"before"==o["\u0275nov"](e,56).labelPosition,"NoopAnimations"===o["\u0275nov"](e,56)._animationMode,o["\u0275nov"](e,60).ngClassUntouched,o["\u0275nov"](e,60).ngClassTouched,o["\u0275nov"](e,60).ngClassPristine,o["\u0275nov"](e,60).ngClassDirty,o["\u0275nov"](e,60).ngClassValid,o["\u0275nov"](e,60).ngClassInvalid,o["\u0275nov"](e,60).ngClassPending]),n(e,66,0,o["\u0275nov"](e,67).disabled||null,"NoopAnimations"===o["\u0275nov"](e,67)._animationMode),n(e,69,0,o["\u0275nov"](e,70).inline,"primary"!==o["\u0275nov"](e,70).color&&"accent"!==o["\u0275nov"](e,70).color&&"warn"!==o["\u0275nov"](e,70).color),n(e,85,0,o["\u0275nov"](e,86).vertical?"vertical":"horizontal",o["\u0275nov"](e,86).vertical,!o["\u0275nov"](e,86).vertical,o["\u0275nov"](e,86).inset),n(e,87,0,o["\u0275nov"](e,88).disabled||null,"NoopAnimations"===o["\u0275nov"](e,88)._animationMode),n(e,90,0,o["\u0275nov"](e,91).inline,"primary"!==o["\u0275nov"](e,91).color&&"accent"!==o["\u0275nov"](e,91).color&&"warn"!==o["\u0275nov"](e,91).color),n(e,94,0,o["\u0275nov"](e,95).disabled||null,"NoopAnimations"===o["\u0275nov"](e,95)._animationMode),n(e,97,0,o["\u0275nov"](e,98).inline,"primary"!==o["\u0275nov"](e,98).color&&"accent"!==o["\u0275nov"](e,98).color&&"warn"!==o["\u0275nov"](e,98).color),n(e,100,0,o["\u0275nov"](e,101).disabled||null,"NoopAnimations"===o["\u0275nov"](e,101)._animationMode),n(e,103,0,o["\u0275nov"](e,104).inline,"primary"!==o["\u0275nov"](e,104).color&&"accent"!==o["\u0275nov"](e,104).color&&"warn"!==o["\u0275nov"](e,104).color),n(e,106,0,o["\u0275nov"](e,107).disabled||null,"NoopAnimations"===o["\u0275nov"](e,107)._animationMode),n(e,109,0,o["\u0275nov"](e,110).inline,"primary"!==o["\u0275nov"](e,110).color&&"accent"!==o["\u0275nov"](e,110).color&&"warn"!==o["\u0275nov"](e,110).color),n(e,112,0,o["\u0275nov"](e,113).disabled||null,"NoopAnimations"===o["\u0275nov"](e,113)._animationMode),n(e,119,0,o["\u0275nov"](e,120).disabled||null,"NoopAnimations"===o["\u0275nov"](e,120)._animationMode),n(e,121,0,o["\u0275nov"](e,122).inline,"primary"!==o["\u0275nov"](e,122).color&&"accent"!==o["\u0275nov"](e,122).color&&"warn"!==o["\u0275nov"](e,122).color)})}function QB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-project-map-shortcuts",[],null,null,null,KV,GV)),o["\u0275did"](1,245760,null,0,ZV,[WV.HotkeysService,fc,hL,rg,HV,HO],{project:[0,"project"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,1,0,t.project,t.server)},null)}function JB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-draw-link-tool",[],null,null,null,lB,tB)),o["\u0275did"](1,245760,null,0,eB,[yN,LF,lD,HV,iF,rF],{links:[0,"links"]},null)],function(n,e){n(e,1,0,e.component.links)},null)}function nz(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{contextMenu:0}),o["\u0275qud"](671088640,2,{mapChild:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,XB)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](4,0,null,null,1,"app-progress",[],null,null,null,dc,ic)),o["\u0275did"](5,245760,null,0,rc,[oc,Rl],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,QB)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,JB)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,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},cB,dB)),o["\u0275did"](11,770048,null,0,sB,[FL,DL,$R,uB,OL],{server:[0,"server"],project:[1,"project"],selectedDrawing:[2,"selectedDrawing"]},{drawingSaved:"drawingSaved"}),(n()(),o["\u0275eld"](12,0,null,null,1,"app-drawing-dragged",[],null,null,null,hB,fB)),o["\u0275did"](13,245760,null,0,pB,[FL,DL,$R],{server:[0,"server"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-drawing-resized",[],null,null,null,gB,vB)),o["\u0275did"](15,245760,null,0,mB,[FL,DL,$R,OL],{server:[0,"server"]},null),(n()(),o["\u0275eld"](16,0,null,null,1,"app-interface-label-dragged",[],null,null,null,_B,yB)),o["\u0275did"](17,245760,null,0,bB,[YL,bV,lD],{server:[0,"server"]},null),(n()(),o["\u0275eld"](18,0,null,null,1,"app-link-created",[],null,null,null,xB,CB)),o["\u0275did"](19,245760,null,0,wB,[rg,YL,bV,lD,HV,zV],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["\u0275eld"](20,0,null,null,1,"app-node-dragged",[],null,null,null,EB,kB)),o["\u0275did"](21,245760,null,0,SB,[lL,hL,LF],{server:[0,"server"]},null),(n()(),o["\u0275eld"](22,0,null,null,1,"app-node-label-dragged",[],null,null,null,IB,RB)),o["\u0275did"](23,245760,null,0,TB,[lL,hL,LF,VV],{server:[0,"server"]},null),(n()(),o["\u0275eld"](24,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},DB,FB)),o["\u0275did"](25,245760,null,0,OB,[FL,DL,$R,uB,OL,YR],{server:[0,"server"],project:[1,"project"]},{drawingSaved:"drawingSaved"}),(n()(),o["\u0275eld"](26,0,null,null,1,"app-text-edited",[],null,null,null,AB,NB)),o["\u0275did"](27,245760,null,0,MB,[FL,DL,$R,OL],{server:[0,"server"]},null)],function(n,e){var t=e.component;n(e,3,0,t.project),n(e,5,0),n(e,7,0,t.project),n(e,9,0,t.tools.draw_link),n(e,11,0,t.server,t.project,t.selectedDrawing),n(e,13,0,t.server),n(e,15,0,t.server),n(e,17,0,t.server),n(e,19,0,t.server,t.project),n(e,21,0,t.server),n(e,23,0,t.server),n(e,25,0,t.server,t.project),n(e,27,0,t.server)},null)}function ez(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-project-map",[],null,null,null,nz,UB)),o["\u0275did"](1,245760,null,0,zB,[bt,Uh,rg,hL,FL,oc,PB,IF,VF,KO,eD,HV,qB,VV,VB,lL,bV,DL,T,MF,HO,wN,cc,BB],null,null)],function(n,e){n(e,1,0)},null)}var tz=o["\u0275ccf"]("app-project-map",zB,ez,{},{},[]),lz=o["\u0275crt"]({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+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{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 oz(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function rz(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{_portalOutlet:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,oz)),o["\u0275did"](2,212992,[[1,4]],0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],function(n,e){n(e,2,0,"")},null)}function iz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._onAnimationStart(t)&&l),"component:@dialogContainer.done"===e&&(l=!1!==o["\u0275nov"](n,1)._onAnimationDone(t)&&l),l},rz,lz)),o["\u0275did"](1,49152,null,0,fv,[o.ElementRef,Po,o.ChangeDetectorRef,[2,I.DOCUMENT],cv],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1)._id,o["\u0275nov"](e,1)._config.role,o["\u0275nov"](e,1)._config.ariaLabel?null:o["\u0275nov"](e,1)._ariaLabelledBy,o["\u0275nov"](e,1)._config.ariaLabel,o["\u0275nov"](e,1)._config.ariaDescribedBy||null,o["\u0275nov"](e,1)._state)})}var az=o["\u0275ccf"]("mat-dialog-container",fv,iz,{},{},[]),uz=function(){function n(n,e){var t=this;this._overlayRef=e,this._afterDismissed=new A.b,this._afterOpened=new A.b,this._onAction=new A.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}(),sz=new o.InjectionToken("MatSnackBarData"),dz=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),cz=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}(),pz=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r._ngZone=e,r._elementRef=t,r._changeDetectorRef=l,r.snackBarConfig=o,r._destroyed=!1,r._onExit=new A.b,r._onEnter=new A.b,r._animationState="void",r._role="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?null:"status":"alert",r}return Object(s.__extends)(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(Z.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}(Cs),fz=function(){return function(){}}(),hz=new o.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new dz}}),mz=function(){function n(n,e,t,l,o,r){this._overlay=n,this._live=e,this._injector=t,this._breakpointObserver=l,this._parentSnackBar=o,this._defaultConfig=r,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(s.__assign)({},this._defaultConfig,t);return l.data={message:n,action:e},l.announcementMessage||(l.announcementMessage=n),this.openFromComponent(cz,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 Es(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[dz,e]])),l=new _s(pz,e.viewContainerRef,t),o=n.attach(l);return o.instance.snackBarConfig=e,o.instance},n.prototype._attach=function(n,e){var t=Object(s.__assign)({},new dz,this._defaultConfig,e),l=this._createOverlay(t),r=this._attachSnackBarContainer(l,t),i=new uz(r,l);if(n instanceof o.TemplateRef){var a=new ws(n,null,{$implicit:t.data,snackBarRef:i});i.instance=r.attachTemplatePortal(a)}else{var u=this._createInjector(t,i),d=(a=new _s(n,void 0,u),r.attachComponentPortal(a));i.instance=d.instance}return this._breakpointObserver.observe(Kd.Handset).pipe(Object(Is.a)(l.detachments().pipe(Object(Z.a)(1)))).subscribe(function(n){n.matches?l.overlayElement.classList.add("mat-snack-bar-handset"):l.overlayElement.classList.remove("mat-snack-bar-handset")}),this._animateSnackBar(i,t),this._openedSnackBarRef=i,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 Xs;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,r=!o&&"center"!==n.horizontalPosition;return o?t.left("0"):r?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 Es(n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,new WeakMap([[uz,e],[sz,n.data]]))},n.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new n(Object(o.inject)(cd),Object(o.inject)(jo),Object(o.inject)(o.INJECTOR),Object(o.inject)(Wd),Object(o.inject)(n,12),Object(o.inject)(hz))},token:n,providedIn:fz}),n}(),vz=o["\u0275crt"]({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 gz(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function bz(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{_portalOutlet:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,gz)),o["\u0275did"](2,212992,[[1,4]],0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],function(n,e){n(e,2,0,"")},null)}function yz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1).onAnimationEnd(t)&&l),l},bz,vz)),o["\u0275did"](1,180224,null,0,pz,[o.NgZone,o.ElementRef,o.ChangeDetectorRef,dz],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1)._role,o["\u0275nov"](e,1)._animationState)})}var _z=o["\u0275ccf"]("snack-bar-container",pz,yz,{},{},[]),wz=o["\u0275crt"]({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;height:100%;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 Cz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"button",[["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](2,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],null,null),(n()(),o["\u0275ted"](3,0,["",""]))],null,function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,t.data.action)})}function xz(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""])),(n()(),o["\u0275and"](16777216,null,null,1,null,Cz)),o["\u0275did"](3,16384,null,0,I.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 Sz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,xz,wz)),o["\u0275did"](1,49152,null,0,cz,[uz,sz],null,null)],null,null)}var kz=o["\u0275ccf"]("simple-snack-bar",cz,Sz,{},{},[]),Ez=o["\u0275crt"]({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 Tz(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,3,"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["\u0275did"](1,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pid"](131072,I.AsyncPipe,[o.ChangeDetectorRef]),(n()(),o["\u0275ted"](3,null,["",""]))],function(n,e){n(e,1,0,"mat-tooltip",e.component.tooltipClass)},function(n,e){var t,l=e.component;n(e,0,0,null==(t=o["\u0275unv"](e,0,0,o["\u0275nov"](e,2).transform(l._isHandset)))?null:t.matches,l._visibility),n(e,3,0,l.message)})}function Rz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._handleBodyInteraction()&&l),l},Tz,Ez)),o["\u0275did"](1,180224,null,0,ec,[o.ChangeDetectorRef,Wd],null,null)],null,function(n,e){n(e,0,0,"visible"===o["\u0275nov"](e,1)._visibility?1:null)})}var Iz=o["\u0275ccf"]("mat-tooltip-component",ec,Rz,{},{},[]),Oz=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Fz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,sb,[],null,null),(n()(),o["\u0275ted"](-1,null,["You must enter a value"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function Dz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[15,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.key)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)})}function Mz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,16,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,18,{_control:0}),o["\u0275qud"](335544320,19,{_placeholderChild:0}),o["\u0275qud"](335544320,20,{_labelChild:0}),o["\u0275qud"](603979776,21,{_errorChildren:1}),o["\u0275qud"](603979776,22,{_hintChildren:1}),o["\u0275qud"](603979776,23,{_prefixChildren:1}),o["\u0275qud"](603979776,24,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,15)._onInput()&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](12,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[18,4]],db,null,[qb])],function(n,e){n(e,12,0,"path"),n(e,15,0,"Local server path")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15)._isServer,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).placeholder,o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).readonly&&!o["\u0275nov"](e,15)._isNativeSelect||null,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required.toString()])})}function Nz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,16,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,25,{_control:0}),o["\u0275qud"](335544320,26,{_placeholderChild:0}),o["\u0275qud"](335544320,27,{_labelChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,15)._onInput()&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](12,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[25,4]],db,null,[qb])],function(n,e){n(e,12,0,"ubridge_path"),n(e,15,0,"Ubridge path")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15)._isServer,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).placeholder,o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).readonly&&!o["\u0275nov"](e,15)._isNativeSelect||null,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required.toString()])})}function Az(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[53,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.key)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)})}function Pz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,46,{_control:0}),o["\u0275qud"](335544320,47,{_placeholderChild:0}),o["\u0275qud"](335544320,48,{_labelChild:0}),o["\u0275qud"](603979776,49,{_errorChildren:1}),o["\u0275qud"](603979776,50,{_hintChildren:1}),o["\u0275qud"](603979776,51,{_prefixChildren:1}),o["\u0275qud"](603979776,52,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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["\u0275nov"](n,14)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,14)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,14)._onBlur()&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](11,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](13,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](14,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,53,{options:1}),o["\u0275qud"](603979776,54,{optionGroups:1}),o["\u0275qud"](335544320,55,{customTrigger:0}),o["\u0275prd"](2048,[[46,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Az)),o["\u0275did"](20,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,11,0,"authorization"),n(e,14,0,"Authorization"),n(e,20,0,t.authorizations)},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,13).ngClassUntouched,o["\u0275nov"](e,13).ngClassTouched,o["\u0275nov"](e,13).ngClassPristine,o["\u0275nov"](e,13).ngClassDirty,o["\u0275nov"](e,13).ngClassValid,o["\u0275nov"](e,13).ngClassInvalid,o["\u0275nov"](e,13).ngClassPending,o["\u0275nov"](e,14).id,o["\u0275nov"](e,14).tabIndex,o["\u0275nov"](e,14)._getAriaLabel(),o["\u0275nov"](e,14)._getAriaLabelledby(),o["\u0275nov"](e,14).required.toString(),o["\u0275nov"](e,14).disabled.toString(),o["\u0275nov"](e,14).errorState,o["\u0275nov"](e,14).panelOpen?o["\u0275nov"](e,14)._optionIds:null,o["\u0275nov"](e,14).multiple,o["\u0275nov"](e,14)._ariaDescribedby||null,o["\u0275nov"](e,14)._getAriaActiveDescendant(),o["\u0275nov"](e,14).disabled,o["\u0275nov"](e,14).errorState,o["\u0275nov"](e,14).required,o["\u0275nov"](e,14).empty])})}function qz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,16,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,56,{_control:0}),o["\u0275qud"](335544320,57,{_placeholderChild:0}),o["\u0275qud"](335544320,58,{_labelChild:0}),o["\u0275qud"](603979776,59,{_errorChildren:1}),o["\u0275qud"](603979776,60,{_hintChildren:1}),o["\u0275qud"](603979776,61,{_prefixChildren:1}),o["\u0275qud"](603979776,62,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,15)._onInput()&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](12,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[56,4]],db,null,[qb])],function(n,e){n(e,12,0,"login"),n(e,15,0,"Login")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15)._isServer,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).placeholder,o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).readonly&&!o["\u0275nov"](e,15)._isNativeSelect||null,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required.toString()])})}function jz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,16,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,63,{_control:0}),o["\u0275qud"](335544320,64,{_placeholderChild:0}),o["\u0275qud"](335544320,65,{_labelChild:0}),o["\u0275qud"](603979776,66,{_errorChildren:1}),o["\u0275qud"](603979776,67,{_hintChildren:1}),o["\u0275qud"](603979776,68,{_prefixChildren:1}),o["\u0275qud"](603979776,69,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,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["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,15)._onInput()&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](12,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[63,4]],db,null,[qb])],function(n,e){n(e,12,0,"password"),n(e,15,0,"Password")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15)._isServer,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).placeholder,o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).readonly&&!o["\u0275nov"](e,15)._isNativeSelect||null,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required.toString()])})}function Lz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Add server"])),(n()(),o["\u0275eld"](3,0,null,null,98,"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["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,0,null,null,85,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](10,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,Fb,yb)),o["\u0275did"](11,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,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["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),l},null,null)),o["\u0275did"](20,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](22,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](24,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](25,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275and"](16777216,null,5,1,null,Fz)),o["\u0275did"](28,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](29,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,Fb,yb)),o["\u0275did"](30,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,8,{_control:0}),o["\u0275qud"](335544320,9,{_placeholderChild:0}),o["\u0275qud"](335544320,10,{_labelChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](38,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["\u0275nov"](n,43)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,43)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,43)._onBlur()&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](40,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[8,null],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](42,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](43,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,15,{options:1}),o["\u0275qud"](603979776,16,{optionGroups:1}),o["\u0275qud"](335544320,17,{customTrigger:0}),o["\u0275prd"](2048,[[8,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,Dz)),o["\u0275did"](49,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Mz)),o["\u0275did"](51,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Nz)),o["\u0275did"](53,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](54,0,null,null,16,"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,Fb,yb)),o["\u0275did"](55,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,32,{_control:0}),o["\u0275qud"](335544320,33,{_placeholderChild:0}),o["\u0275qud"](335544320,34,{_labelChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](63,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["\u0275nov"](n,64)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,64).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,64)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,64)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,69)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,69)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,69)._onInput()&&l),l},null,null)),o["\u0275did"](64,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](66,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](68,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](69,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[32,4]],db,null,[qb]),(n()(),o["\u0275eld"](71,0,null,null,16,"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,Fb,yb)),o["\u0275did"](72,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,39,{_control:0}),o["\u0275qud"](335544320,40,{_placeholderChild:0}),o["\u0275qud"](335544320,41,{_labelChild:0}),o["\u0275qud"](603979776,42,{_errorChildren:1}),o["\u0275qud"](603979776,43,{_hintChildren:1}),o["\u0275qud"](603979776,44,{_prefixChildren:1}),o["\u0275qud"](603979776,45,{_suffixChildren:1}),(n()(),o["\u0275eld"](80,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["\u0275nov"](n,81)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,81).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,81)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,81)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,86)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,86)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,86)._onInput()&&l),l},null,null)),o["\u0275did"](81,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](83,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](85,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](86,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[39,4]],db,null,[qb]),(n()(),o["\u0275and"](16777216,null,null,1,null,Pz)),o["\u0275did"](89,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qz)),o["\u0275did"](91,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,jz)),o["\u0275did"](93,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](94,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](95,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](96,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[8,"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},pu,cu)),o["\u0275did"](97,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No Thanks"])),(n()(),o["\u0275eld"](99,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](100,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.serverForm),n(e,22,0,"name"),n(e,25,0,"Name"),n(e,28,0,t.serverForm.get("name").hasError("required")),n(e,40,0,"location"),n(e,43,0,"Location"),n(e,49,0,t.locations),n(e,51,0,"local"===t.serverForm.get("location").value),n(e,53,0,"local"===t.serverForm.get("location").value),n(e,66,0,"host"),n(e,69,0,"Host"),n(e,83,0,"port"),n(e,86,0,"Port"),n(e,89,0,"remote"===t.serverForm.get("location").value),n(e,91,0,"basic"===t.serverForm.get("authorization").value),n(e,93,0,"basic"===t.serverForm.get("authorization").value),n(e,97,0,"accent"),n(e,100,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,10,1,["standard"==o["\u0275nov"](e,11).appearance,"fill"==o["\u0275nov"](e,11).appearance,"outline"==o["\u0275nov"](e,11).appearance,"legacy"==o["\u0275nov"](e,11).appearance,o["\u0275nov"](e,11)._control.errorState,o["\u0275nov"](e,11)._canLabelFloat,o["\u0275nov"](e,11)._shouldLabelFloat(),o["\u0275nov"](e,11)._hasFloatingLabel(),o["\u0275nov"](e,11)._hideControlPlaceholder(),o["\u0275nov"](e,11)._control.disabled,o["\u0275nov"](e,11)._control.autofilled,o["\u0275nov"](e,11)._control.focused,"accent"==o["\u0275nov"](e,11).color,"warn"==o["\u0275nov"](e,11).color,o["\u0275nov"](e,11)._shouldForward("untouched"),o["\u0275nov"](e,11)._shouldForward("touched"),o["\u0275nov"](e,11)._shouldForward("pristine"),o["\u0275nov"](e,11)._shouldForward("dirty"),o["\u0275nov"](e,11)._shouldForward("valid"),o["\u0275nov"](e,11)._shouldForward("invalid"),o["\u0275nov"](e,11)._shouldForward("pending"),!o["\u0275nov"](e,11)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()]),n(e,29,1,["standard"==o["\u0275nov"](e,30).appearance,"fill"==o["\u0275nov"](e,30).appearance,"outline"==o["\u0275nov"](e,30).appearance,"legacy"==o["\u0275nov"](e,30).appearance,o["\u0275nov"](e,30)._control.errorState,o["\u0275nov"](e,30)._canLabelFloat,o["\u0275nov"](e,30)._shouldLabelFloat(),o["\u0275nov"](e,30)._hasFloatingLabel(),o["\u0275nov"](e,30)._hideControlPlaceholder(),o["\u0275nov"](e,30)._control.disabled,o["\u0275nov"](e,30)._control.autofilled,o["\u0275nov"](e,30)._control.focused,"accent"==o["\u0275nov"](e,30).color,"warn"==o["\u0275nov"](e,30).color,o["\u0275nov"](e,30)._shouldForward("untouched"),o["\u0275nov"](e,30)._shouldForward("touched"),o["\u0275nov"](e,30)._shouldForward("pristine"),o["\u0275nov"](e,30)._shouldForward("dirty"),o["\u0275nov"](e,30)._shouldForward("valid"),o["\u0275nov"](e,30)._shouldForward("invalid"),o["\u0275nov"](e,30)._shouldForward("pending"),!o["\u0275nov"](e,30)._animationsEnabled]),n(e,38,1,[o["\u0275nov"](e,42).ngClassUntouched,o["\u0275nov"](e,42).ngClassTouched,o["\u0275nov"](e,42).ngClassPristine,o["\u0275nov"](e,42).ngClassDirty,o["\u0275nov"](e,42).ngClassValid,o["\u0275nov"](e,42).ngClassInvalid,o["\u0275nov"](e,42).ngClassPending,o["\u0275nov"](e,43).id,o["\u0275nov"](e,43).tabIndex,o["\u0275nov"](e,43)._getAriaLabel(),o["\u0275nov"](e,43)._getAriaLabelledby(),o["\u0275nov"](e,43).required.toString(),o["\u0275nov"](e,43).disabled.toString(),o["\u0275nov"](e,43).errorState,o["\u0275nov"](e,43).panelOpen?o["\u0275nov"](e,43)._optionIds:null,o["\u0275nov"](e,43).multiple,o["\u0275nov"](e,43)._ariaDescribedby||null,o["\u0275nov"](e,43)._getAriaActiveDescendant(),o["\u0275nov"](e,43).disabled,o["\u0275nov"](e,43).errorState,o["\u0275nov"](e,43).required,o["\u0275nov"](e,43).empty]),n(e,54,1,["standard"==o["\u0275nov"](e,55).appearance,"fill"==o["\u0275nov"](e,55).appearance,"outline"==o["\u0275nov"](e,55).appearance,"legacy"==o["\u0275nov"](e,55).appearance,o["\u0275nov"](e,55)._control.errorState,o["\u0275nov"](e,55)._canLabelFloat,o["\u0275nov"](e,55)._shouldLabelFloat(),o["\u0275nov"](e,55)._hasFloatingLabel(),o["\u0275nov"](e,55)._hideControlPlaceholder(),o["\u0275nov"](e,55)._control.disabled,o["\u0275nov"](e,55)._control.autofilled,o["\u0275nov"](e,55)._control.focused,"accent"==o["\u0275nov"](e,55).color,"warn"==o["\u0275nov"](e,55).color,o["\u0275nov"](e,55)._shouldForward("untouched"),o["\u0275nov"](e,55)._shouldForward("touched"),o["\u0275nov"](e,55)._shouldForward("pristine"),o["\u0275nov"](e,55)._shouldForward("dirty"),o["\u0275nov"](e,55)._shouldForward("valid"),o["\u0275nov"](e,55)._shouldForward("invalid"),o["\u0275nov"](e,55)._shouldForward("pending"),!o["\u0275nov"](e,55)._animationsEnabled]),n(e,63,1,[o["\u0275nov"](e,68).ngClassUntouched,o["\u0275nov"](e,68).ngClassTouched,o["\u0275nov"](e,68).ngClassPristine,o["\u0275nov"](e,68).ngClassDirty,o["\u0275nov"](e,68).ngClassValid,o["\u0275nov"](e,68).ngClassInvalid,o["\u0275nov"](e,68).ngClassPending,o["\u0275nov"](e,69)._isServer,o["\u0275nov"](e,69).id,o["\u0275nov"](e,69).placeholder,o["\u0275nov"](e,69).disabled,o["\u0275nov"](e,69).required,o["\u0275nov"](e,69).readonly&&!o["\u0275nov"](e,69)._isNativeSelect||null,o["\u0275nov"](e,69)._ariaDescribedby||null,o["\u0275nov"](e,69).errorState,o["\u0275nov"](e,69).required.toString()]),n(e,71,1,["standard"==o["\u0275nov"](e,72).appearance,"fill"==o["\u0275nov"](e,72).appearance,"outline"==o["\u0275nov"](e,72).appearance,"legacy"==o["\u0275nov"](e,72).appearance,o["\u0275nov"](e,72)._control.errorState,o["\u0275nov"](e,72)._canLabelFloat,o["\u0275nov"](e,72)._shouldLabelFloat(),o["\u0275nov"](e,72)._hasFloatingLabel(),o["\u0275nov"](e,72)._hideControlPlaceholder(),o["\u0275nov"](e,72)._control.disabled,o["\u0275nov"](e,72)._control.autofilled,o["\u0275nov"](e,72)._control.focused,"accent"==o["\u0275nov"](e,72).color,"warn"==o["\u0275nov"](e,72).color,o["\u0275nov"](e,72)._shouldForward("untouched"),o["\u0275nov"](e,72)._shouldForward("touched"),o["\u0275nov"](e,72)._shouldForward("pristine"),o["\u0275nov"](e,72)._shouldForward("dirty"),o["\u0275nov"](e,72)._shouldForward("valid"),o["\u0275nov"](e,72)._shouldForward("invalid"),o["\u0275nov"](e,72)._shouldForward("pending"),!o["\u0275nov"](e,72)._animationsEnabled]),n(e,80,1,[o["\u0275nov"](e,85).ngClassUntouched,o["\u0275nov"](e,85).ngClassTouched,o["\u0275nov"](e,85).ngClassPristine,o["\u0275nov"](e,85).ngClassDirty,o["\u0275nov"](e,85).ngClassValid,o["\u0275nov"](e,85).ngClassInvalid,o["\u0275nov"](e,85).ngClassPending,o["\u0275nov"](e,86)._isServer,o["\u0275nov"](e,86).id,o["\u0275nov"](e,86).placeholder,o["\u0275nov"](e,86).disabled,o["\u0275nov"](e,86).required,o["\u0275nov"](e,86).readonly&&!o["\u0275nov"](e,86)._isNativeSelect||null,o["\u0275nov"](e,86)._ariaDescribedby||null,o["\u0275nov"](e,86).errorState,o["\u0275nov"](e,86).required.toString()]),n(e,96,0,o["\u0275nov"](e,97).disabled||null,"NoopAnimations"===o["\u0275nov"](e,97)._animationMode),n(e,99,0,o["\u0275nov"](e,100).disabled||null,"NoopAnimations"===o["\u0275nov"](e,100)._animationMode)})}function Vz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-server-dialog",[],null,null,null,Lz,Oz)),o["\u0275did"](1,114688,null,0,uv,[mv,mc,Uh,vv],null,null)],function(n,e){n(e,1,0)},null)}var Bz=o["\u0275ccf"]("app-add-server-dialog",uv,Vz,{},{},[]),zz=o["\u0275crt"]({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 Uz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Create snapshot"])),(n()(),o["\u0275eld"](4,0,null,null,3,"button",[["class","top-button"],["color","accent"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,5).onClick()&&l),"click"===e&&(l=!1!==r.onNoClick()&&l),l},pu,cu)),o["\u0275did"](5,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](6,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Go to snapshots"])),(n()(),o["\u0275eld"](8,0,null,null,23,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,21,"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["\u0275nov"](n,12).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,12).onReset()&&l),l},null,null)),o["\u0275did"](11,16384,null,0,ov,[],null,null),o["\u0275did"](12,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](14,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](15,0,null,null,16,"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,Fb,yb)),o["\u0275did"](16,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,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["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](27,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](29,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](30,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](32,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](33,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](34,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[8,"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},pu,cu)),o["\u0275did"](35,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No Thanks"])),(n()(),o["\u0275eld"](37,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](38,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add"]))],function(n,e){var t=e.component;n(e,2,0),n(e,5,0,o["\u0275inlineInterpolate"](2,"/server/",t.server.id,"/project/",t.project.project_id,"/snapshots")),n(e,6,0,"accent"),n(e,12,0,t.inputForm),n(e,27,0,"snapshotName"),n(e,30,0,"Name"),n(e,35,0,"accent"),n(e,38,0,"primary")},function(n,e){n(e,1,0,o["\u0275nov"](e,2).id),n(e,4,0,o["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode),n(e,10,0,o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending),n(e,15,1,["standard"==o["\u0275nov"](e,16).appearance,"fill"==o["\u0275nov"](e,16).appearance,"outline"==o["\u0275nov"](e,16).appearance,"legacy"==o["\u0275nov"](e,16).appearance,o["\u0275nov"](e,16)._control.errorState,o["\u0275nov"](e,16)._canLabelFloat,o["\u0275nov"](e,16)._shouldLabelFloat(),o["\u0275nov"](e,16)._hasFloatingLabel(),o["\u0275nov"](e,16)._hideControlPlaceholder(),o["\u0275nov"](e,16)._control.disabled,o["\u0275nov"](e,16)._control.autofilled,o["\u0275nov"](e,16)._control.focused,"accent"==o["\u0275nov"](e,16).color,"warn"==o["\u0275nov"](e,16).color,o["\u0275nov"](e,16)._shouldForward("untouched"),o["\u0275nov"](e,16)._shouldForward("touched"),o["\u0275nov"](e,16)._shouldForward("pristine"),o["\u0275nov"](e,16)._shouldForward("dirty"),o["\u0275nov"](e,16)._shouldForward("valid"),o["\u0275nov"](e,16)._shouldForward("invalid"),o["\u0275nov"](e,16)._shouldForward("pending"),!o["\u0275nov"](e,16)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,34,0,o["\u0275nov"](e,35).disabled||null,"NoopAnimations"===o["\u0275nov"](e,35)._animationMode),n(e,37,0,o["\u0275nov"](e,38).disabled||null,"NoopAnimations"===o["\u0275nov"](e,38)._animationMode)})}function Hz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-create-snapshot-dialog",[],null,null,null,Uz,zz)),o["\u0275did"](1,49152,null,0,oL,[mv,lv,fc,Sy,lL,vv],null,null)],null,null)}var Zz=o["\u0275ccf"]("app-create-snapshot-dialog",oL,Hz,{},{},[]),Wz=Ko(function(){return function(n){this._elementRef=n}}(),"primary"),Gz=new o.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(I.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),Kz=0,Yz=function(n){function e(e,t,l,r){var i=n.call(this,e)||this;i._elementRef=e,i._ngZone=t,i._animationMode=l,i._isNoopAnimation=!1,i._value=0,i._bufferValue=0,i.animationEnd=new o.EventEmitter,i._animationEndSubscription=_o.a.EMPTY,i.mode="determinate",i.progressbarId="mat-progress-bar-"+Kz++;var a=r?r.getPathname().split("#")[0]:"";return i._rectangleFillValue="url('"+a+"#"+i.progressbarId+"')",i._isNoopAnimation="NoopAnimations"===l,i}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this._value=$z(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=$z(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(){n._animationEndSubscription=Object(Fs.a)(n._primaryValueBar.nativeElement,"transitionend").pipe(Object(K.a)(function(e){return e.target===n._primaryValueBar.nativeElement})).subscribe(function(e){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}(Wz);function $z(n,e,t){return void 0===e&&(e=0),void 0===t&&(t=100),Math.max(e,Math.min(t,n))}var Xz=function(){return function(){}}(),Qz=o["\u0275crt"]({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 Jz(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_primaryValueBar:0}),(n()(),o["\u0275eld"](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["\u0275eld"](2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),o["\u0275did"](7,278528,null,0,I.NgStyle,[o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngStyle:[0,"ngStyle"]},null),(n()(),o["\u0275eld"](8,0,[[1,0],["primaryValueBar",1]],null,1,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),o["\u0275did"](9,278528,null,0,I.NgStyle,[o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngStyle:[0,"ngStyle"]},null),(n()(),o["\u0275eld"](10,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,7,0,t._bufferTransform()),n(e,9,0,t._primaryTransform())},function(n,e){var t=e.component;n(e,3,0,t.progressbarId),n(e,5,0,t._rectangleFillValue)})}var nU=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function eU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Operation in progress"])),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](4,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](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,Jz,Qz)),o["\u0275did"](6,4374528,null,0,Yz,[o.ElementRef,o.NgZone,[2,su],[2,Gz]],{color:[0,"color"],value:[1,"value"],mode:[2,"mode"]},null),(n()(),o["\u0275eld"](7,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](8,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](9,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[8,"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},pu,cu)),o["\u0275did"](10,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,1).id),n(e,5,0,o["\u0275nov"](e,6).value,o["\u0275nov"](e,6).mode,o["\u0275nov"](e,6)._isNoopAnimation),n(e,9,0,o["\u0275nov"](e,10).disabled||null,"NoopAnimations"===o["\u0275nov"](e,10)._animationMode)})}function tU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-progress-dialog",[],null,null,null,eU,nU)),o["\u0275did"](1,114688,null,0,ky,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var lU=o["\u0275ccf"]("app-progress-dialog",ky,tU,{},{},[]),oU=o["\u0275crt"]({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%]{overflow:auto;max-height:400px}.mat-form-field[_ngcontent-%COMP%]{font-size:16px;flex-grow:1}"]],data:{}});function rU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,$c,[Ec,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function iU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Xc,[Ec,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,0,null,null,1,"a",[["class","table-link"],["href","javascript:void(0);"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addNode(n.context.$implicit)&&l),l},null,null)),(n()(),o["\u0275ted"](3,null,["",""]))],null,function(n,e){n(e,3,0,e.context.$implicit.name)})}function aU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,ip,rp)),o["\u0275prd"](6144,null,Ac,null,[np]),o["\u0275did"](2,49152,null,0,np,[],null,null)],null,null)}function uU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,up,ap)),o["\u0275prd"](6144,null,Pc,null,[ep]),o["\u0275did"](2,49152,null,0,ep,[],null,null)],null,null)}function sU(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{filter:0}),(n()(),o["\u0275eld"](1,0,null,null,39,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](2,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](3,0,null,null,12,"div",[["class","header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,11,"mat-form-field",[["class","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,Fb,yb)),o["\u0275did"](5,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,2,{_control:0}),o["\u0275qud"](335544320,3,{_placeholderChild:0}),o["\u0275qud"](335544320,4,{_labelChild:0}),o["\u0275qud"](603979776,5,{_errorChildren:1}),o["\u0275qud"](603979776,6,{_hintChildren:1}),o["\u0275qud"](603979776,7,{_prefixChildren:1}),o["\u0275qud"](603979776,8,{_suffixChildren:1}),(n()(),o["\u0275eld"](13,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter templates"]],[[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["\u0275nov"](n,14)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,14)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,14)._onInput()&&l),l},null,null)),o["\u0275did"](14,999424,null,0,qb,[o.ElementRef,mo,[8,null],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[2,4]],db,null,[qb]),(n()(),o["\u0275eld"](16,0,null,null,24,"mat-table",[["class","mat-table"]],null,null,null,op,lp)),o["\u0275did"](17,2342912,[["table",4]],4,Wc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Dr],I.DOCUMENT,mo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,9,{_contentColumnDefs:1}),o["\u0275qud"](603979776,10,{_contentRowDefs:1}),o["\u0275qud"](603979776,11,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,12,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](22,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yc]),o["\u0275did"](24,16384,null,3,Yc,[],{name:[0,"name"]},null),o["\u0275qud"](335544320,13,{cell:0}),o["\u0275qud"](335544320,14,{headerCell:0}),o["\u0275qud"](335544320,15,{footerCell:0}),o["\u0275prd"](2048,[[9,4]],Ec,null,[Yc]),(n()(),o["\u0275and"](0,null,null,2,null,rU)),o["\u0275did"](30,16384,null,0,Kc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[14,4]],kc,null,[Kc]),(n()(),o["\u0275and"](0,null,null,2,null,iU)),o["\u0275did"](33,16384,null,0,Gc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[13,4]],Sc,null,[Gc]),(n()(),o["\u0275and"](0,null,null,2,null,aU)),o["\u0275did"](36,540672,null,0,Qc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[11,4]],Fc,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,uU)),o["\u0275did"](39,540672,null,0,Jc,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[10,4]],Mc,null,[Jc]),(n()(),o["\u0275eld"](41,0,null,null,4,"div",[["align","end"],["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](42,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](43,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[8,"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},pu,cu)),o["\u0275did"](44,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Close"]))],function(n,e){var t=e.component;n(e,14,0,"Filter templates"),n(e,17,0,t.dataSource),n(e,24,0,"name"),n(e,36,0,t.displayedColumns),n(e,39,0,t.displayedColumns),n(e,44,0,"accent")},function(n,e){n(e,4,1,["standard"==o["\u0275nov"](e,5).appearance,"fill"==o["\u0275nov"](e,5).appearance,"outline"==o["\u0275nov"](e,5).appearance,"legacy"==o["\u0275nov"](e,5).appearance,o["\u0275nov"](e,5)._control.errorState,o["\u0275nov"](e,5)._canLabelFloat,o["\u0275nov"](e,5)._shouldLabelFloat(),o["\u0275nov"](e,5)._hasFloatingLabel(),o["\u0275nov"](e,5)._hideControlPlaceholder(),o["\u0275nov"](e,5)._control.disabled,o["\u0275nov"](e,5)._control.autofilled,o["\u0275nov"](e,5)._control.focused,"accent"==o["\u0275nov"](e,5).color,"warn"==o["\u0275nov"](e,5).color,o["\u0275nov"](e,5)._shouldForward("untouched"),o["\u0275nov"](e,5)._shouldForward("touched"),o["\u0275nov"](e,5)._shouldForward("pristine"),o["\u0275nov"](e,5)._shouldForward("dirty"),o["\u0275nov"](e,5)._shouldForward("valid"),o["\u0275nov"](e,5)._shouldForward("invalid"),o["\u0275nov"](e,5)._shouldForward("pending"),!o["\u0275nov"](e,5)._animationsEnabled]),n(e,13,0,o["\u0275nov"](e,14)._isServer,o["\u0275nov"](e,14).id,o["\u0275nov"](e,14).placeholder,o["\u0275nov"](e,14).disabled,o["\u0275nov"](e,14).required,o["\u0275nov"](e,14).readonly&&!o["\u0275nov"](e,14)._isNativeSelect||null,o["\u0275nov"](e,14)._ariaDescribedby||null,o["\u0275nov"](e,14).errorState,o["\u0275nov"](e,14).required.toString()),n(e,43,0,o["\u0275nov"](e,44).disabled||null,"NoopAnimations"===o["\u0275nov"](e,44)._animationMode)})}function dU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-template-list-dialog",[],null,null,null,sU,oU)),o["\u0275did"](1,114688,null,0,uL,[mv,m_,vv],null,null)],function(n,e){n(e,1,0)},null)}var cU=o["\u0275ccf"]("app-template-list-dialog",uL,dU,{},{},[]),pU=o["\u0275crt"]({encapsulation:0,styles:[[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]],data:{}});function fU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,sb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is required"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function hU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,sb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is incorrect"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function mU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Create new project"])),(n()(),o["\u0275eld"](3,0,null,null,35,"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["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,ov,[],null,null),o["\u0275did"](5,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](7,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](8,0,null,null,22,"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,Fb,yb)),o["\u0275did"](9,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](17,0,null,1,9,"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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),"keydown"===e&&(l=!1!==r.onKeyDown(t)&&l),l},null,null)),o["\u0275did"](18,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](19,{"is-invalid":0}),o["\u0275did"](20,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](22,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](24,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](25,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275and"](16777216,null,5,1,null,fU)),o["\u0275did"](28,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,5,1,null,hU)),o["\u0275did"](30,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](31,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](32,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](34,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](37,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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,19,0,null==t.form.projectName?null:t.form.projectName.errors);n(e,18,0,l),n(e,22,0,"projectName"),n(e,25,0,"Please enter name","text"),n(e,28,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,30,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,34,0,"accent"),n(e,37,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,17,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function vU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"app-add-blank-project-dialog",[],null,null,null,mU,pU)),o["\u0275prd"](512,null,sg,sg,[]),o["\u0275did"](2,114688,null,0,cg,[mv,Rl,_v,rg,fc,lv,sg],null,null)],function(n,e){n(e,2,0)},null)}var gU=o["\u0275ccf"]("app-add-blank-project-dialog",cg,vU,{},{},[]),bU=t("5xlC"),yU=o["\u0275crt"]({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: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 _U(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,sb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is required"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function wU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,sb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is incorrect"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function CU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Import project"])),(n()(),o["\u0275eld"](3,0,null,null,45,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,44,"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["\u0275nov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,6).onReset()&&l),l},null,null)),o["\u0275did"](5,16384,null,0,ov,[],null,null),o["\u0275did"](6,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](8,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](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,r=n.component;return"change"===e&&(l=!1!==o["\u0275nov"](n,10).onChange()&&l),"change"===e&&(l=!1!==r.uploadProjectFile(t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,bU.FileSelectDirective,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["\u0275eld"](11,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,9).click()&&l),l},pu,cu)),o["\u0275did"](12,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Choose file"])),(n()(),o["\u0275eld"](14,0,null,null,22,"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,Fb,yb)),o["\u0275did"](15,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](23,0,null,1,9,"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["\u0275nov"](n,26)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,26).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,26)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,31)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,31)._onInput()&&l),l},null,null)),o["\u0275did"](24,278528,null,0,I.NgClass,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](25,{"is-invalid":0}),o["\u0275did"](26,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](28,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](30,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](31,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275and"](16777216,null,5,1,null,_U)),o["\u0275did"](34,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,5,1,null,wU)),o["\u0275did"](36,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](37,0,null,null,3,"button",[["class","delete-button"]],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](38,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},gs,vs)),o["\u0275did"](39,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["clear"])),(n()(),o["\u0275eld"](41,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](42,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](43,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](44,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](46,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](47,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Import "])),(n()(),o["\u0275eld"](49,0,null,null,12,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](50,0,null,null,3,"div",[["class","progress"]],null,null,null,null,null)),(n()(),o["\u0275eld"](51,0,null,null,2,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),o["\u0275did"](52,278528,null,0,I.NgStyle,[o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngStyle:[0,"ngStyle"]},null),o["\u0275pod"](53,{width:0}),(n()(),o["\u0275eld"](54,0,null,null,2,"div",[["class","result-message-box"]],null,null,null,null,null)),(n()(),o["\u0275eld"](55,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](56,null,["",""])),(n()(),o["\u0275eld"](57,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](58,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](59,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](60,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275ted"](-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");var l=n(e,25,0,t.form.projectName.errors);n(e,24,0,l),n(e,28,0,"projectName"),n(e,31,0,"Please enter name","text"),n(e,34,0,t.form.projectName.errors&&t.form.projectName.errors.required),n(e,36,0,t.form.projectName.errors&&t.form.projectName.errors.invalidName),n(e,39,0,"primary"),n(e,44,0,"accent"),n(e,47,0,!t.isImportEnabled,"primary");var o=n(e,53,0,t.uploader.progress+"%");n(e,52,0,o),n(e,60,0,!t.isFinishEnabled,"primary")},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,t.isFirstStepCompleted),n(e,4,0,o["\u0275nov"](e,8).ngClassUntouched,o["\u0275nov"](e,8).ngClassTouched,o["\u0275nov"](e,8).ngClassPristine,o["\u0275nov"](e,8).ngClassDirty,o["\u0275nov"](e,8).ngClassValid,o["\u0275nov"](e,8).ngClassInvalid,o["\u0275nov"](e,8).ngClassPending),n(e,11,0,o["\u0275nov"](e,12).disabled||null,"NoopAnimations"===o["\u0275nov"](e,12)._animationMode),n(e,14,1,["standard"==o["\u0275nov"](e,15).appearance,"fill"==o["\u0275nov"](e,15).appearance,"outline"==o["\u0275nov"](e,15).appearance,"legacy"==o["\u0275nov"](e,15).appearance,o["\u0275nov"](e,15)._control.errorState,o["\u0275nov"](e,15)._canLabelFloat,o["\u0275nov"](e,15)._shouldLabelFloat(),o["\u0275nov"](e,15)._hasFloatingLabel(),o["\u0275nov"](e,15)._hideControlPlaceholder(),o["\u0275nov"](e,15)._control.disabled,o["\u0275nov"](e,15)._control.autofilled,o["\u0275nov"](e,15)._control.focused,"accent"==o["\u0275nov"](e,15).color,"warn"==o["\u0275nov"](e,15).color,o["\u0275nov"](e,15)._shouldForward("untouched"),o["\u0275nov"](e,15)._shouldForward("touched"),o["\u0275nov"](e,15)._shouldForward("pristine"),o["\u0275nov"](e,15)._shouldForward("dirty"),o["\u0275nov"](e,15)._shouldForward("valid"),o["\u0275nov"](e,15)._shouldForward("invalid"),o["\u0275nov"](e,15)._shouldForward("pending"),!o["\u0275nov"](e,15)._animationsEnabled]),n(e,23,1,[o["\u0275nov"](e,30).ngClassUntouched,o["\u0275nov"](e,30).ngClassTouched,o["\u0275nov"](e,30).ngClassPristine,o["\u0275nov"](e,30).ngClassDirty,o["\u0275nov"](e,30).ngClassValid,o["\u0275nov"](e,30).ngClassInvalid,o["\u0275nov"](e,30).ngClassPending,o["\u0275nov"](e,31)._isServer,o["\u0275nov"](e,31).id,o["\u0275nov"](e,31).placeholder,o["\u0275nov"](e,31).disabled,o["\u0275nov"](e,31).required,o["\u0275nov"](e,31).readonly&&!o["\u0275nov"](e,31)._isNativeSelect||null,o["\u0275nov"](e,31)._ariaDescribedby||null,o["\u0275nov"](e,31).errorState,o["\u0275nov"](e,31).required.toString()]),n(e,37,0,!t.isDeleteVisible),n(e,38,0,o["\u0275nov"](e,39).inline,"primary"!==o["\u0275nov"](e,39).color&&"accent"!==o["\u0275nov"](e,39).color&&"warn"!==o["\u0275nov"](e,39).color),n(e,43,0,o["\u0275nov"](e,44).disabled||null,"NoopAnimations"===o["\u0275nov"](e,44)._animationMode),n(e,46,0,o["\u0275nov"](e,47).disabled||null,"NoopAnimations"===o["\u0275nov"](e,47)._animationMode),n(e,49,0,!t.isFirstStepCompleted),n(e,56,0,t.resultMessage),n(e,59,0,o["\u0275nov"](e,60).disabled||null,"NoopAnimations"===o["\u0275nov"](e,60)._animationMode)})}function xU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"app-import-project-dialog",[],null,null,null,CU,yU)),o["\u0275prd"](512,null,sg,sg,[]),o["\u0275did"](2,114688,null,0,dg,[_v,mv,vv,lv,rg,sg],null,null)],function(n,e){n(e,2,0)},null)}var SU=o["\u0275ccf"]("app-import-project-dialog",dg,xU,{},{},[]),kU=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function EU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](3,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No"])),(n()(),o["\u0275eld"](5,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](6,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Yes "]))],function(n,e){n(e,3,0,"accent"),n(e,6,0,"primary")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode)})}function TU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](3,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Ok"]))],function(n,e){n(e,3,0,"accent")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode)})}function RU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""])),(n()(),o["\u0275and"](16777216,null,null,1,null,EU)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,TU)),o["\u0275did"](5,16384,null,0,I.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 IU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-import-project-dialog",[],null,null,null,RU,kU)),o["\u0275did"](1,114688,null,0,ug,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var OU=o["\u0275ccf"]("app-import-project-dialog",ug,IU,{},{},[]),FU=o["\u0275crt"]({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}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function DU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,16,"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,Fb,yb)),o["\u0275did"](1,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,22,{_control:0}),o["\u0275qud"](335544320,23,{_placeholderChild:0}),o["\u0275qud"](335544320,24,{_labelChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](9,0,null,1,7,"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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,10)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,15)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,15)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.stroke_dasharray=t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](12,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](14,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](15,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4]],db,null,[qb])],function(n,e){n(e,12,0,e.component.element.stroke_dasharray),n(e,15,0,"Border style","text")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,9,1,[o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending,o["\u0275nov"](e,15)._isServer,o["\u0275nov"](e,15).id,o["\u0275nov"](e,15).placeholder,o["\u0275nov"](e,15).disabled,o["\u0275nov"](e,15).required,o["\u0275nov"](e,15).readonly&&!o["\u0275nov"](e,15)._isNativeSelect||null,o["\u0275nov"](e,15)._ariaDescribedby||null,o["\u0275nov"](e,15).errorState,o["\u0275nov"](e,15).required.toString()])})}function MU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Style editor"])),(n()(),o["\u0275eld"](3,0,null,null,70,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,16,"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,Fb,yb)),o["\u0275did"](5,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](13,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,14)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,14).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,14)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,14)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,19)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,19)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,19)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.fill=t)&&l),l},null,null)),o["\u0275did"](14,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](16,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](18,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](19,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4]],db,null,[qb]),(n()(),o["\u0275eld"](21,0,null,null,16,"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,Fb,yb)),o["\u0275did"](22,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,8,{_control:0}),o["\u0275qud"](335544320,9,{_placeholderChild:0}),o["\u0275qud"](335544320,10,{_labelChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](30,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,31)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,36)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,36)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.stroke=t)&&l),l},null,null)),o["\u0275did"](31,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](33,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](35,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](36,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[8,4]],db,null,[qb]),(n()(),o["\u0275eld"](38,0,null,null,16,"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,Fb,yb)),o["\u0275did"](39,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,15,{_control:0}),o["\u0275qud"](335544320,16,{_placeholderChild:0}),o["\u0275qud"](335544320,17,{_labelChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Border width"],["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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,48)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,48).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,48)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,53)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,53)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.stroke_width=t)&&l),l},null,null)),o["\u0275did"](48,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](50,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](52,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](53,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[15,4]],db,null,[qb]),(n()(),o["\u0275and"](16777216,null,null,1,null,DU)),o["\u0275did"](56,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](57,0,null,null,16,"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,Fb,yb)),o["\u0275did"](58,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,29,{_control:0}),o["\u0275qud"](335544320,30,{_placeholderChild:0}),o["\u0275qud"](335544320,31,{_labelChild:0}),o["\u0275qud"](603979776,32,{_errorChildren:1}),o["\u0275qud"](603979776,33,{_hintChildren:1}),o["\u0275qud"](603979776,34,{_prefixChildren:1}),o["\u0275qud"](603979776,35,{_suffixChildren:1}),(n()(),o["\u0275eld"](66,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,67)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,67).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,67)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,67)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,72)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,72)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,72)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.rotation=t)&&l),l},null,null)),o["\u0275did"](67,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](69,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](71,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](72,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[29,4]],db,null,[qb]),(n()(),o["\u0275eld"](74,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](75,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](76,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](77,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](79,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](80,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"]))],function(n,e){var t=e.component;n(e,1,0),n(e,16,0,t.element.fill),n(e,19,0,"Fill color","color"),n(e,33,0,t.element.stroke),n(e,36,0,"Fill color","color"),n(e,50,0,t.element.stroke_width),n(e,53,0,"Border width","text"),n(e,56,0,t.element.stroke_dasharray),n(e,69,0,t.rotation),n(e,72,0,"Rotation","text"),n(e,77,0,"accent"),n(e,80,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,4,1,["standard"==o["\u0275nov"](e,5).appearance,"fill"==o["\u0275nov"](e,5).appearance,"outline"==o["\u0275nov"](e,5).appearance,"legacy"==o["\u0275nov"](e,5).appearance,o["\u0275nov"](e,5)._control.errorState,o["\u0275nov"](e,5)._canLabelFloat,o["\u0275nov"](e,5)._shouldLabelFloat(),o["\u0275nov"](e,5)._hasFloatingLabel(),o["\u0275nov"](e,5)._hideControlPlaceholder(),o["\u0275nov"](e,5)._control.disabled,o["\u0275nov"](e,5)._control.autofilled,o["\u0275nov"](e,5)._control.focused,"accent"==o["\u0275nov"](e,5).color,"warn"==o["\u0275nov"](e,5).color,o["\u0275nov"](e,5)._shouldForward("untouched"),o["\u0275nov"](e,5)._shouldForward("touched"),o["\u0275nov"](e,5)._shouldForward("pristine"),o["\u0275nov"](e,5)._shouldForward("dirty"),o["\u0275nov"](e,5)._shouldForward("valid"),o["\u0275nov"](e,5)._shouldForward("invalid"),o["\u0275nov"](e,5)._shouldForward("pending"),!o["\u0275nov"](e,5)._animationsEnabled]),n(e,13,1,[o["\u0275nov"](e,18).ngClassUntouched,o["\u0275nov"](e,18).ngClassTouched,o["\u0275nov"](e,18).ngClassPristine,o["\u0275nov"](e,18).ngClassDirty,o["\u0275nov"](e,18).ngClassValid,o["\u0275nov"](e,18).ngClassInvalid,o["\u0275nov"](e,18).ngClassPending,o["\u0275nov"](e,19)._isServer,o["\u0275nov"](e,19).id,o["\u0275nov"](e,19).placeholder,o["\u0275nov"](e,19).disabled,o["\u0275nov"](e,19).required,o["\u0275nov"](e,19).readonly&&!o["\u0275nov"](e,19)._isNativeSelect||null,o["\u0275nov"](e,19)._ariaDescribedby||null,o["\u0275nov"](e,19).errorState,o["\u0275nov"](e,19).required.toString()]),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,30,1,[o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending,o["\u0275nov"](e,36)._isServer,o["\u0275nov"](e,36).id,o["\u0275nov"](e,36).placeholder,o["\u0275nov"](e,36).disabled,o["\u0275nov"](e,36).required,o["\u0275nov"](e,36).readonly&&!o["\u0275nov"](e,36)._isNativeSelect||null,o["\u0275nov"](e,36)._ariaDescribedby||null,o["\u0275nov"](e,36).errorState,o["\u0275nov"](e,36).required.toString()]),n(e,38,1,["standard"==o["\u0275nov"](e,39).appearance,"fill"==o["\u0275nov"](e,39).appearance,"outline"==o["\u0275nov"](e,39).appearance,"legacy"==o["\u0275nov"](e,39).appearance,o["\u0275nov"](e,39)._control.errorState,o["\u0275nov"](e,39)._canLabelFloat,o["\u0275nov"](e,39)._shouldLabelFloat(),o["\u0275nov"](e,39)._hasFloatingLabel(),o["\u0275nov"](e,39)._hideControlPlaceholder(),o["\u0275nov"](e,39)._control.disabled,o["\u0275nov"](e,39)._control.autofilled,o["\u0275nov"](e,39)._control.focused,"accent"==o["\u0275nov"](e,39).color,"warn"==o["\u0275nov"](e,39).color,o["\u0275nov"](e,39)._shouldForward("untouched"),o["\u0275nov"](e,39)._shouldForward("touched"),o["\u0275nov"](e,39)._shouldForward("pristine"),o["\u0275nov"](e,39)._shouldForward("dirty"),o["\u0275nov"](e,39)._shouldForward("valid"),o["\u0275nov"](e,39)._shouldForward("invalid"),o["\u0275nov"](e,39)._shouldForward("pending"),!o["\u0275nov"](e,39)._animationsEnabled]),n(e,47,1,[o["\u0275nov"](e,52).ngClassUntouched,o["\u0275nov"](e,52).ngClassTouched,o["\u0275nov"](e,52).ngClassPristine,o["\u0275nov"](e,52).ngClassDirty,o["\u0275nov"](e,52).ngClassValid,o["\u0275nov"](e,52).ngClassInvalid,o["\u0275nov"](e,52).ngClassPending,o["\u0275nov"](e,53)._isServer,o["\u0275nov"](e,53).id,o["\u0275nov"](e,53).placeholder,o["\u0275nov"](e,53).disabled,o["\u0275nov"](e,53).required,o["\u0275nov"](e,53).readonly&&!o["\u0275nov"](e,53)._isNativeSelect||null,o["\u0275nov"](e,53)._ariaDescribedby||null,o["\u0275nov"](e,53).errorState,o["\u0275nov"](e,53).required.toString()]),n(e,57,1,["standard"==o["\u0275nov"](e,58).appearance,"fill"==o["\u0275nov"](e,58).appearance,"outline"==o["\u0275nov"](e,58).appearance,"legacy"==o["\u0275nov"](e,58).appearance,o["\u0275nov"](e,58)._control.errorState,o["\u0275nov"](e,58)._canLabelFloat,o["\u0275nov"](e,58)._shouldLabelFloat(),o["\u0275nov"](e,58)._hasFloatingLabel(),o["\u0275nov"](e,58)._hideControlPlaceholder(),o["\u0275nov"](e,58)._control.disabled,o["\u0275nov"](e,58)._control.autofilled,o["\u0275nov"](e,58)._control.focused,"accent"==o["\u0275nov"](e,58).color,"warn"==o["\u0275nov"](e,58).color,o["\u0275nov"](e,58)._shouldForward("untouched"),o["\u0275nov"](e,58)._shouldForward("touched"),o["\u0275nov"](e,58)._shouldForward("pristine"),o["\u0275nov"](e,58)._shouldForward("dirty"),o["\u0275nov"](e,58)._shouldForward("valid"),o["\u0275nov"](e,58)._shouldForward("invalid"),o["\u0275nov"](e,58)._shouldForward("pending"),!o["\u0275nov"](e,58)._animationsEnabled]),n(e,66,1,[o["\u0275nov"](e,71).ngClassUntouched,o["\u0275nov"](e,71).ngClassTouched,o["\u0275nov"](e,71).ngClassPristine,o["\u0275nov"](e,71).ngClassDirty,o["\u0275nov"](e,71).ngClassValid,o["\u0275nov"](e,71).ngClassInvalid,o["\u0275nov"](e,71).ngClassPending,o["\u0275nov"](e,72)._isServer,o["\u0275nov"](e,72).id,o["\u0275nov"](e,72).placeholder,o["\u0275nov"](e,72).disabled,o["\u0275nov"](e,72).required,o["\u0275nov"](e,72).readonly&&!o["\u0275nov"](e,72)._isNativeSelect||null,o["\u0275nov"](e,72)._ariaDescribedby||null,o["\u0275nov"](e,72).errorState,o["\u0275nov"](e,72).required.toString()]),n(e,76,0,o["\u0275nov"](e,77).disabled||null,"NoopAnimations"===o["\u0275nov"](e,77)._animationMode),n(e,79,0,o["\u0275nov"](e,80).disabled||null,"NoopAnimations"===o["\u0275nov"](e,80)._animationMode)})}function NU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-style-editor",[],null,null,null,MU,FU)),o["\u0275did"](1,114688,null,0,ML,[mv,pF,OL,FL,DL],null,null)],function(n,e){n(e,1,0)},null)}var AU=o["\u0275ccf"]("app-style-editor",ML,NU,{},{},[]),PU=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"}}}}),qU=function(){function n(n,e,t){this._elementRef=n,this._ngZone=e,this._inkBarPositioner=t}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}(),jU=function(n){function e(e){var t=n.call(this)||this;return t._viewContainerRef=e,t.textLabel="",t._contentPortal=null,t._stateChanges=new A.b,t.position=null,t.origin=null,t.isActive=!1,t}return Object(s.__extends)(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 ws(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(Go(function(){return function(){}}())),LU=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o._host=l,o._centeringSub=_o.a.EMPTY,o._leavingSub=_o.a.EMPTY,o}return Object(s.__extends)(e,n),e.prototype.ngOnInit=function(){var e=this;n.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(W.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}(Ss),VU=function(){function n(n,e,t){var l=this;this._elementRef=n,this._dir=e,this._dirChangeSubscription=_o.a.EMPTY,this._translateTabComplete=new A.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",this._dir&&t&&(this._dirChangeSubscription=this._dir.change.subscribe(function(n){l._computePositionAnimationState(n),t.markForCheck()})),this._translateTabComplete.pipe(Object(Ds.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}(),BU=function(n){function e(e){var t=n.call(this)||this;return t.elementRef=e,t}return Object(s.__extends)(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}(Go(function(){return function(){}}())),zU=yo({passive:!0}),UU=function(n){function e(e,t,l,r,i,a){var u=n.call(this)||this;u._elementRef=e,u._changeDetectorRef=t,u._viewportRuler=l,u._dir=r,u._ngZone=i,u._platform=a,u._scrollDistance=0,u._selectedIndexChanged=!1,u._destroyed=new A.b,u._showPaginationControls=!1,u._disableScrollAfter=!0,u._disableScrollBefore=!0,u._stopScrolling=new A.b,u._selectedIndex=0,u.selectFocusedIndex=new o.EventEmitter,u.indexFocused=new o.EventEmitter;var s=e.nativeElement,d=function(){Object(Fs.a)(s,"mouseleave").pipe(Object(Is.a)(u._destroyed)).subscribe(function(){u._stopInterval()})};return i?i.runOutsideAngular(d):d(),u}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){n=uo(n),this._selectedIndexChanged=this._selectedIndex!=n,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItemIndex(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this.updatePagination(),this._tabLabelCount=this._labelWrappers.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())},e.prototype._handleKeydown=function(n){if(!Co(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),n.preventDefault();break;default:this._keyManager.onKeydown(n)}},e.prototype.ngAfterContentInit=function(){var n=this,e=this._dir?this._dir.change:Object(O.a)(null),t=this._viewportRuler.change(150),l=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new Fo(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(l):l(),Object(Ts.a)(e,t).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){l(),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())}),this._keyManager.change.pipe(Object(Is.a)(this._destroyed)).subscribe(function(e){n.indexFocused.emit(e),n._setTabFocus(e)})},e.prototype.ngAfterViewInit=function(){var n=this;Object(Fs.a)(this._previousPaginator.nativeElement,"touchstart",zU).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){n._handlePaginatorPress("before")}),Object(Fs.a)(this._nextPaginator.nativeElement,"touchstart",zU).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){n._handlePaginatorPress("after")})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},e.prototype._onContentChanges=function(){var n=this,e=this._elementRef.nativeElement.textContent;if(e!==this._currentTextContent){this._currentTextContent=e;var t=function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()};this._ngZone?this._ngZone.run(t):t()}},e.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(e.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}),e.prototype._isValidIndex=function(n){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[n]:null;return!!e&&!e.disabled},e.prototype._setTabFocus=function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[n].focus();var e=this._tabListContainer.nativeElement,t=this._getLayoutDirection();e.scrollLeft="ltr"==t?0:e.scrollWidth-e.offsetWidth}},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.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(e.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)},enumerable:!0,configurable:!0}),e.prototype._scrollHeader=function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},e.prototype._handlePaginatorClick=function(n){this._stopInterval(),this._scrollHeader(n)},e.prototype._scrollToLabel=function(n){var e=this._labelWrappers?this._labelWrappers.toArray()[n]:null;if(e){var t,l,o=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?l=(t=e.getOffsetLeft())+e.getOffsetWidth():t=(l=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft())-e.getOffsetWidth();var r=this.scrollDistance,i=this.scrollDistance+o;t<r?this.scrollDistance-=r-t+60:l>i&&(this.scrollDistance+=l-i+60)}},e.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},e.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},e.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},e.prototype._alignInkBarToSelectedTab=function(){var n=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(n)},e.prototype._stopInterval=function(){this._stopScrolling.next()},e.prototype._handlePaginatorPress=function(n){var e=this;this._stopInterval(),Object(Np.a)(650,100).pipe(Object(Is.a)(Object(Ts.a)(this._stopScrolling,this._destroyed))).subscribe(function(){var t=e._scrollHeader(n),l=t.distance;(0===l||l>=t.maxScrollDistance)&&e._stopInterval()})},e.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}},e}(Yo(function(){return function(){}}())),HU=0,ZU=function(){return function(){}}(),WU=new o.InjectionToken("MAT_TABS_CONFIG"),GU=function(n){function e(e,t,l){var r=n.call(this,e)||this;return r._changeDetectorRef=t,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=_o.a.EMPTY,r._tabLabelSubscription=_o.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=HU++,r.animationDuration=l&&l.animationDuration?l.animationDuration:"500ms",r}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(n){this._dynamicHeight=ao(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){this._indexToSelect=uo(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 ZU;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=Ts.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}(Ko(Yo(function(){return function(n){this._elementRef=n}}()),"primary")),KU=function(){return function(){}}(),YU=o["\u0275crt"]({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-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 $U(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function XU(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,$U)),o["\u0275did"](1,212992,null,0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.parent.context.$implicit.templateLabel)},null)}function QU(n){return o["\u0275vid"](0,[(n()(),o["\u0275ted"](0,null,["",""]))],null,function(n,e){n(e,0,0,e.parent.context.$implicit.textLabel)})}function JU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n.parent,3),n.context.index)&&l),l},null,null)),o["\u0275did"](1,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{disabled:[0,"disabled"]},null),o["\u0275did"](2,147456,null,0,zo,[o.ElementRef,Bo],null,null),o["\u0275did"](3,16384,[[3,4]],0,BU,[o.ElementRef],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,XU)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,QU)),o["\u0275did"](8,16384,null,0,I.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["\u0275nov"](e,1).unbounded,o["\u0275nov"](e,3).disabled,!!o["\u0275nov"](e,3).disabled])})}function nH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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},oH,tH)),o["\u0275did"](1,245760,null,0,VU,[o.ElementRef,[2,Dr],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 eH(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_tabBodyWrapper:0}),o["\u0275qud"](402653184,2,{_tabHeader:0}),(n()(),o["\u0275eld"](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},iH,rH)),o["\u0275did"](3,7520256,[[2,4],["tabHeader",4]],1,UU,[o.ElementRef,o.ChangeDetectorRef,zs,[2,Dr],o.NgZone,mo],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),o["\u0275qud"](603979776,3,{_labelWrappers:1}),(n()(),o["\u0275and"](16777216,null,0,1,null,JU)),o["\u0275did"](6,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,nH)),o["\u0275did"](9,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,3,0,t.disableRipple,t.selectedIndex),n(e,6,0,t._tabs),n(e,9,0,t._tabs)},function(n,e){n(e,2,0,o["\u0275nov"](e,3)._showPaginationControls,"rtl"==o["\u0275nov"](e,3)._getLayoutDirection())})}var tH=o["\u0275crt"]({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 lH(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function oH(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_portalHost:0}),(n()(),o["\u0275eld"](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["\u0275pod"](2,{animationDuration:0}),o["\u0275pod"](3,{value:0,params:1}),(n()(),o["\u0275and"](16777216,null,null,1,null,lH)),o["\u0275did"](5,212992,null,0,LU,[o.ComponentFactoryResolver,o.ViewContainerRef,VU],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 rH=o["\u0275crt"]({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.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-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-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.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}"],data:{}});function iH(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_inkBar:0}),o["\u0275qud"](402653184,2,{_tabListContainer:0}),o["\u0275qud"](402653184,3,{_tabList:0}),o["\u0275qud"](402653184,4,{_nextPaginator:0}),o["\u0275qud"](402653184,5,{_previousPaginator:0}),(n()(),o["\u0275eld"](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["\u0275did"](6,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(n()(),o["\u0275eld"](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["\u0275eld"](9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component._onContentChanges()&&l),l},null,null)),o["\u0275did"](10,1196032,null,0,ob,[lb,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["\u0275eld"](11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),o["\u0275did"](14,16384,[[1,4]],0,qU,[o.ElementRef,o.NgZone,PU],null,null),(n()(),o["\u0275eld"](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["\u0275did"](16,212992,null,0,fr,[o.ElementRef,o.NgZone,mo,[2,pr],[2,su]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](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["\u0275nov"](e,6).unbounded),n(e,15,0,t._disableScrollAfter,o["\u0275nov"](e,16).unbounded)})}var aH=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function uH(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function sH(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_implicitContent:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,uH))],null,null)}var dH=o["\u0275crt"]({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 cH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,129,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,eH,YU)),o["\u0275did"](1,3325952,null,1,GU,[o.ElementRef,o.ChangeDetectorRef,[2,WU]],null,null),o["\u0275qud"](603979776,1,{_tabs:1}),(n()(),o["\u0275eld"](3,16777216,null,null,21,"mat-tab",[["label","Frequency drop"]],null,null,null,sH,aH)),o["\u0275did"](4,770048,[[1,4]],2,jU,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](335544320,2,{templateLabel:0}),o["\u0275qud"](335544320,3,{_explicitContent:0}),(n()(),o["\u0275eld"](7,0,null,0,17,"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,Fb,yb)),o["\u0275did"](8,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,4,{_control:0}),o["\u0275qud"](335544320,5,{_placeholderChild:0}),o["\u0275qud"](335544320,6,{_labelChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](16,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,17)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,18).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,23)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,23)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.frequency_drop[0]=t)&&l),l},null,null)),o["\u0275did"](17,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](18,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](20,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](22,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](23,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4]],db,null,[qb]),(n()(),o["\u0275eld"](25,16777216,null,null,21,"mat-tab",[["label","Packet loss"]],null,null,null,sH,aH)),o["\u0275did"](26,770048,[[1,4]],2,jU,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](335544320,11,{templateLabel:0}),o["\u0275qud"](335544320,12,{_explicitContent:0}),(n()(),o["\u0275eld"](29,0,null,0,17,"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,Fb,yb)),o["\u0275did"](30,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,13,{_control:0}),o["\u0275qud"](335544320,14,{_placeholderChild:0}),o["\u0275qud"](335544320,15,{_labelChild:0}),o["\u0275qud"](603979776,16,{_errorChildren:1}),o["\u0275qud"](603979776,17,{_hintChildren:1}),o["\u0275qud"](603979776,18,{_prefixChildren:1}),o["\u0275qud"](603979776,19,{_suffixChildren:1}),(n()(),o["\u0275eld"](38,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,39)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,39).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,40).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,40).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,40).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,45)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,45)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,45)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.packet_loss[0]=t)&&l),l},null,null)),o["\u0275did"](39,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](40,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](42,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](44,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](45,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[13,4]],db,null,[qb]),(n()(),o["\u0275eld"](47,16777216,null,null,39,"mat-tab",[["label","Delay"]],null,null,null,sH,aH)),o["\u0275did"](48,770048,[[1,4]],2,jU,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](335544320,20,{templateLabel:0}),o["\u0275qud"](335544320,21,{_explicitContent:0}),(n()(),o["\u0275eld"](51,0,null,0,17,"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,Fb,yb)),o["\u0275did"](52,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,22,{_control:0}),o["\u0275qud"](335544320,23,{_placeholderChild:0}),o["\u0275qud"](335544320,24,{_labelChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](60,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,61)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,61).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,61)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,61)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,62).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,62).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,62).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,67)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.delay[0]=t)&&l),l},null,null)),o["\u0275did"](61,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](62,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](64,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](66,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](67,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4]],db,null,[qb]),(n()(),o["\u0275eld"](69,0,null,0,17,"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,Fb,yb)),o["\u0275did"](70,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,29,{_control:0}),o["\u0275qud"](335544320,30,{_placeholderChild:0}),o["\u0275qud"](335544320,31,{_labelChild:0}),o["\u0275qud"](603979776,32,{_errorChildren:1}),o["\u0275qud"](603979776,33,{_hintChildren:1}),o["\u0275qud"](603979776,34,{_prefixChildren:1}),o["\u0275qud"](603979776,35,{_suffixChildren:1}),(n()(),o["\u0275eld"](78,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,79)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,79).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,79)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,79)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,80).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,80).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,80).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,85)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,85)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,85)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.delay[1]=t)&&l),l},null,null)),o["\u0275did"](79,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](80,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](82,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](84,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](85,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[29,4]],db,null,[qb]),(n()(),o["\u0275eld"](87,16777216,null,null,21,"mat-tab",[["label","Corrupt"]],null,null,null,sH,aH)),o["\u0275did"](88,770048,[[1,4]],2,jU,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](335544320,36,{templateLabel:0}),o["\u0275qud"](335544320,37,{_explicitContent:0}),(n()(),o["\u0275eld"](91,0,null,0,17,"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,Fb,yb)),o["\u0275did"](92,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,38,{_control:0}),o["\u0275qud"](335544320,39,{_placeholderChild:0}),o["\u0275qud"](335544320,40,{_labelChild:0}),o["\u0275qud"](603979776,41,{_errorChildren:1}),o["\u0275qud"](603979776,42,{_hintChildren:1}),o["\u0275qud"](603979776,43,{_prefixChildren:1}),o["\u0275qud"](603979776,44,{_suffixChildren:1}),(n()(),o["\u0275eld"](100,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,101)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,101).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,101)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,101)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,102).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,102).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,102).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,107)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,107)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,107)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.corrupt[0]=t)&&l),l},null,null)),o["\u0275did"](101,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275did"](102,16384,null,0,dm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,om,function(n,e){return[n,e]},[am,dm]),o["\u0275did"](104,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](106,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](107,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[38,4]],db,null,[qb]),(n()(),o["\u0275eld"](109,16777216,null,null,20,"mat-tab",[["label","Berkeley Packet Filter (BPF)"]],null,null,null,sH,aH)),o["\u0275did"](110,770048,[[1,4]],2,jU,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](335544320,45,{templateLabel:0}),o["\u0275qud"](335544320,46,{_explicitContent:0}),(n()(),o["\u0275eld"](113,0,null,0,16,"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,Fb,yb)),o["\u0275did"](114,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,47,{_control:0}),o["\u0275qud"](335544320,48,{_placeholderChild:0}),o["\u0275qud"](335544320,49,{_labelChild:0}),o["\u0275qud"](603979776,50,{_errorChildren:1}),o["\u0275qud"](603979776,51,{_hintChildren:1}),o["\u0275qud"](603979776,52,{_prefixChildren:1}),o["\u0275qud"](603979776,53,{_suffixChildren:1}),(n()(),o["\u0275eld"](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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,123)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,123).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,123)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,123)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,128)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,128)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,128)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.bpf[0]=t)&&l),l},null,null)),o["\u0275did"](123,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](125,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](127,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](128,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[47,4]],db,null,[qb])],function(n,e){var t=e.component;n(e,4,0,"Frequency drop"),n(e,20,0,t.filters.frequency_drop[0]),n(e,23,0,"Frequency","number"),n(e,26,0,"Packet loss"),n(e,42,0,t.filters.packet_loss[0]),n(e,45,0,"Chance","number"),n(e,48,0,"Delay"),n(e,64,0,t.filters.delay[0]),n(e,67,0,"Latency","number"),n(e,82,0,t.filters.delay[1]),n(e,85,0,"Jitter","number"),n(e,88,0,"Corrupt"),n(e,104,0,t.filters.corrupt[0]),n(e,107,0,"Latency","number"),n(e,110,0,"Berkeley Packet Filter (BPF)"),n(e,125,0,t.filters.bpf[0]),n(e,128,0,"text")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).dynamicHeight,"below"===o["\u0275nov"](e,1).headerPosition),n(e,7,1,["standard"==o["\u0275nov"](e,8).appearance,"fill"==o["\u0275nov"](e,8).appearance,"outline"==o["\u0275nov"](e,8).appearance,"legacy"==o["\u0275nov"](e,8).appearance,o["\u0275nov"](e,8)._control.errorState,o["\u0275nov"](e,8)._canLabelFloat,o["\u0275nov"](e,8)._shouldLabelFloat(),o["\u0275nov"](e,8)._hasFloatingLabel(),o["\u0275nov"](e,8)._hideControlPlaceholder(),o["\u0275nov"](e,8)._control.disabled,o["\u0275nov"](e,8)._control.autofilled,o["\u0275nov"](e,8)._control.focused,"accent"==o["\u0275nov"](e,8).color,"warn"==o["\u0275nov"](e,8).color,o["\u0275nov"](e,8)._shouldForward("untouched"),o["\u0275nov"](e,8)._shouldForward("touched"),o["\u0275nov"](e,8)._shouldForward("pristine"),o["\u0275nov"](e,8)._shouldForward("dirty"),o["\u0275nov"](e,8)._shouldForward("valid"),o["\u0275nov"](e,8)._shouldForward("invalid"),o["\u0275nov"](e,8)._shouldForward("pending"),!o["\u0275nov"](e,8)._animationsEnabled]),n(e,16,1,[o["\u0275nov"](e,22).ngClassUntouched,o["\u0275nov"](e,22).ngClassTouched,o["\u0275nov"](e,22).ngClassPristine,o["\u0275nov"](e,22).ngClassDirty,o["\u0275nov"](e,22).ngClassValid,o["\u0275nov"](e,22).ngClassInvalid,o["\u0275nov"](e,22).ngClassPending,o["\u0275nov"](e,23)._isServer,o["\u0275nov"](e,23).id,o["\u0275nov"](e,23).placeholder,o["\u0275nov"](e,23).disabled,o["\u0275nov"](e,23).required,o["\u0275nov"](e,23).readonly&&!o["\u0275nov"](e,23)._isNativeSelect||null,o["\u0275nov"](e,23)._ariaDescribedby||null,o["\u0275nov"](e,23).errorState,o["\u0275nov"](e,23).required.toString()]),n(e,29,1,["standard"==o["\u0275nov"](e,30).appearance,"fill"==o["\u0275nov"](e,30).appearance,"outline"==o["\u0275nov"](e,30).appearance,"legacy"==o["\u0275nov"](e,30).appearance,o["\u0275nov"](e,30)._control.errorState,o["\u0275nov"](e,30)._canLabelFloat,o["\u0275nov"](e,30)._shouldLabelFloat(),o["\u0275nov"](e,30)._hasFloatingLabel(),o["\u0275nov"](e,30)._hideControlPlaceholder(),o["\u0275nov"](e,30)._control.disabled,o["\u0275nov"](e,30)._control.autofilled,o["\u0275nov"](e,30)._control.focused,"accent"==o["\u0275nov"](e,30).color,"warn"==o["\u0275nov"](e,30).color,o["\u0275nov"](e,30)._shouldForward("untouched"),o["\u0275nov"](e,30)._shouldForward("touched"),o["\u0275nov"](e,30)._shouldForward("pristine"),o["\u0275nov"](e,30)._shouldForward("dirty"),o["\u0275nov"](e,30)._shouldForward("valid"),o["\u0275nov"](e,30)._shouldForward("invalid"),o["\u0275nov"](e,30)._shouldForward("pending"),!o["\u0275nov"](e,30)._animationsEnabled]),n(e,38,1,[o["\u0275nov"](e,44).ngClassUntouched,o["\u0275nov"](e,44).ngClassTouched,o["\u0275nov"](e,44).ngClassPristine,o["\u0275nov"](e,44).ngClassDirty,o["\u0275nov"](e,44).ngClassValid,o["\u0275nov"](e,44).ngClassInvalid,o["\u0275nov"](e,44).ngClassPending,o["\u0275nov"](e,45)._isServer,o["\u0275nov"](e,45).id,o["\u0275nov"](e,45).placeholder,o["\u0275nov"](e,45).disabled,o["\u0275nov"](e,45).required,o["\u0275nov"](e,45).readonly&&!o["\u0275nov"](e,45)._isNativeSelect||null,o["\u0275nov"](e,45)._ariaDescribedby||null,o["\u0275nov"](e,45).errorState,o["\u0275nov"](e,45).required.toString()]),n(e,51,1,["standard"==o["\u0275nov"](e,52).appearance,"fill"==o["\u0275nov"](e,52).appearance,"outline"==o["\u0275nov"](e,52).appearance,"legacy"==o["\u0275nov"](e,52).appearance,o["\u0275nov"](e,52)._control.errorState,o["\u0275nov"](e,52)._canLabelFloat,o["\u0275nov"](e,52)._shouldLabelFloat(),o["\u0275nov"](e,52)._hasFloatingLabel(),o["\u0275nov"](e,52)._hideControlPlaceholder(),o["\u0275nov"](e,52)._control.disabled,o["\u0275nov"](e,52)._control.autofilled,o["\u0275nov"](e,52)._control.focused,"accent"==o["\u0275nov"](e,52).color,"warn"==o["\u0275nov"](e,52).color,o["\u0275nov"](e,52)._shouldForward("untouched"),o["\u0275nov"](e,52)._shouldForward("touched"),o["\u0275nov"](e,52)._shouldForward("pristine"),o["\u0275nov"](e,52)._shouldForward("dirty"),o["\u0275nov"](e,52)._shouldForward("valid"),o["\u0275nov"](e,52)._shouldForward("invalid"),o["\u0275nov"](e,52)._shouldForward("pending"),!o["\u0275nov"](e,52)._animationsEnabled]),n(e,60,1,[o["\u0275nov"](e,66).ngClassUntouched,o["\u0275nov"](e,66).ngClassTouched,o["\u0275nov"](e,66).ngClassPristine,o["\u0275nov"](e,66).ngClassDirty,o["\u0275nov"](e,66).ngClassValid,o["\u0275nov"](e,66).ngClassInvalid,o["\u0275nov"](e,66).ngClassPending,o["\u0275nov"](e,67)._isServer,o["\u0275nov"](e,67).id,o["\u0275nov"](e,67).placeholder,o["\u0275nov"](e,67).disabled,o["\u0275nov"](e,67).required,o["\u0275nov"](e,67).readonly&&!o["\u0275nov"](e,67)._isNativeSelect||null,o["\u0275nov"](e,67)._ariaDescribedby||null,o["\u0275nov"](e,67).errorState,o["\u0275nov"](e,67).required.toString()]),n(e,69,1,["standard"==o["\u0275nov"](e,70).appearance,"fill"==o["\u0275nov"](e,70).appearance,"outline"==o["\u0275nov"](e,70).appearance,"legacy"==o["\u0275nov"](e,70).appearance,o["\u0275nov"](e,70)._control.errorState,o["\u0275nov"](e,70)._canLabelFloat,o["\u0275nov"](e,70)._shouldLabelFloat(),o["\u0275nov"](e,70)._hasFloatingLabel(),o["\u0275nov"](e,70)._hideControlPlaceholder(),o["\u0275nov"](e,70)._control.disabled,o["\u0275nov"](e,70)._control.autofilled,o["\u0275nov"](e,70)._control.focused,"accent"==o["\u0275nov"](e,70).color,"warn"==o["\u0275nov"](e,70).color,o["\u0275nov"](e,70)._shouldForward("untouched"),o["\u0275nov"](e,70)._shouldForward("touched"),o["\u0275nov"](e,70)._shouldForward("pristine"),o["\u0275nov"](e,70)._shouldForward("dirty"),o["\u0275nov"](e,70)._shouldForward("valid"),o["\u0275nov"](e,70)._shouldForward("invalid"),o["\u0275nov"](e,70)._shouldForward("pending"),!o["\u0275nov"](e,70)._animationsEnabled]),n(e,78,1,[o["\u0275nov"](e,84).ngClassUntouched,o["\u0275nov"](e,84).ngClassTouched,o["\u0275nov"](e,84).ngClassPristine,o["\u0275nov"](e,84).ngClassDirty,o["\u0275nov"](e,84).ngClassValid,o["\u0275nov"](e,84).ngClassInvalid,o["\u0275nov"](e,84).ngClassPending,o["\u0275nov"](e,85)._isServer,o["\u0275nov"](e,85).id,o["\u0275nov"](e,85).placeholder,o["\u0275nov"](e,85).disabled,o["\u0275nov"](e,85).required,o["\u0275nov"](e,85).readonly&&!o["\u0275nov"](e,85)._isNativeSelect||null,o["\u0275nov"](e,85)._ariaDescribedby||null,o["\u0275nov"](e,85).errorState,o["\u0275nov"](e,85).required.toString()]),n(e,91,1,["standard"==o["\u0275nov"](e,92).appearance,"fill"==o["\u0275nov"](e,92).appearance,"outline"==o["\u0275nov"](e,92).appearance,"legacy"==o["\u0275nov"](e,92).appearance,o["\u0275nov"](e,92)._control.errorState,o["\u0275nov"](e,92)._canLabelFloat,o["\u0275nov"](e,92)._shouldLabelFloat(),o["\u0275nov"](e,92)._hasFloatingLabel(),o["\u0275nov"](e,92)._hideControlPlaceholder(),o["\u0275nov"](e,92)._control.disabled,o["\u0275nov"](e,92)._control.autofilled,o["\u0275nov"](e,92)._control.focused,"accent"==o["\u0275nov"](e,92).color,"warn"==o["\u0275nov"](e,92).color,o["\u0275nov"](e,92)._shouldForward("untouched"),o["\u0275nov"](e,92)._shouldForward("touched"),o["\u0275nov"](e,92)._shouldForward("pristine"),o["\u0275nov"](e,92)._shouldForward("dirty"),o["\u0275nov"](e,92)._shouldForward("valid"),o["\u0275nov"](e,92)._shouldForward("invalid"),o["\u0275nov"](e,92)._shouldForward("pending"),!o["\u0275nov"](e,92)._animationsEnabled]),n(e,100,1,[o["\u0275nov"](e,106).ngClassUntouched,o["\u0275nov"](e,106).ngClassTouched,o["\u0275nov"](e,106).ngClassPristine,o["\u0275nov"](e,106).ngClassDirty,o["\u0275nov"](e,106).ngClassValid,o["\u0275nov"](e,106).ngClassInvalid,o["\u0275nov"](e,106).ngClassPending,o["\u0275nov"](e,107)._isServer,o["\u0275nov"](e,107).id,o["\u0275nov"](e,107).placeholder,o["\u0275nov"](e,107).disabled,o["\u0275nov"](e,107).required,o["\u0275nov"](e,107).readonly&&!o["\u0275nov"](e,107)._isNativeSelect||null,o["\u0275nov"](e,107)._ariaDescribedby||null,o["\u0275nov"](e,107).errorState,o["\u0275nov"](e,107).required.toString()]),n(e,113,1,["standard"==o["\u0275nov"](e,114).appearance,"fill"==o["\u0275nov"](e,114).appearance,"outline"==o["\u0275nov"](e,114).appearance,"legacy"==o["\u0275nov"](e,114).appearance,o["\u0275nov"](e,114)._control.errorState,o["\u0275nov"](e,114)._canLabelFloat,o["\u0275nov"](e,114)._shouldLabelFloat(),o["\u0275nov"](e,114)._hasFloatingLabel(),o["\u0275nov"](e,114)._hideControlPlaceholder(),o["\u0275nov"](e,114)._control.disabled,o["\u0275nov"](e,114)._control.autofilled,o["\u0275nov"](e,114)._control.focused,"accent"==o["\u0275nov"](e,114).color,"warn"==o["\u0275nov"](e,114).color,o["\u0275nov"](e,114)._shouldForward("untouched"),o["\u0275nov"](e,114)._shouldForward("touched"),o["\u0275nov"](e,114)._shouldForward("pristine"),o["\u0275nov"](e,114)._shouldForward("dirty"),o["\u0275nov"](e,114)._shouldForward("valid"),o["\u0275nov"](e,114)._shouldForward("invalid"),o["\u0275nov"](e,114)._shouldForward("pending"),!o["\u0275nov"](e,114)._animationsEnabled]),n(e,122,1,[o["\u0275nov"](e,127).ngClassUntouched,o["\u0275nov"](e,127).ngClassTouched,o["\u0275nov"](e,127).ngClassPristine,o["\u0275nov"](e,127).ngClassDirty,o["\u0275nov"](e,127).ngClassValid,o["\u0275nov"](e,127).ngClassInvalid,o["\u0275nov"](e,127).ngClassPending,o["\u0275nov"](e,128)._isServer,o["\u0275nov"](e,128).id,o["\u0275nov"](e,128).placeholder,o["\u0275nov"](e,128).disabled,o["\u0275nov"](e,128).required,o["\u0275nov"](e,128).readonly&&!o["\u0275nov"](e,128)._isNativeSelect||null,o["\u0275nov"](e,128)._ariaDescribedby||null,o["\u0275nov"](e,128).errorState,o["\u0275nov"](e,128).required.toString()])})}function pH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Packet filters"])),(n()(),o["\u0275eld"](3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,cH)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](6,0,null,null,16,"div",[["class","bottom-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,14,"div",[["class","dialog-actions mat-dialog-actions"],["layout","row"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](11,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](14,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Reset"])),(n()(),o["\u0275eld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](17,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"])),(n()(),o["\u0275eld"](19,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(n()(),o["\u0275eld"](20,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](21,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,1).id),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode),n(e,16,0,o["\u0275nov"](e,17).disabled||null,"NoopAnimations"===o["\u0275nov"](e,17)._animationMode),n(e,20,0,o["\u0275nov"](e,21).disabled||null,"NoopAnimations"===o["\u0275nov"](e,21)._animationMode)})}function fH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-packet-filters",[],null,null,null,pH,dH)),o["\u0275did"](1,114688,null,0,iV,[mv,YL,_v],null,null)],function(n,e){n(e,1,0)},null)}var hH=o["\u0275ccf"]("app-packet-filters",iV,fH,{},{},[]),mH=o["\u0275crt"]({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}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function vH(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{textArea:0}),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Text editor"])),(n()(),o["\u0275eld"](4,0,null,null,41,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,16,"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,Fb,yb)),o["\u0275did"](6,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,2,{_control:0}),o["\u0275qud"](335544320,3,{_placeholderChild:0}),o["\u0275qud"](335544320,4,{_labelChild:0}),o["\u0275qud"](603979776,5,{_errorChildren:1}),o["\u0275qud"](603979776,6,{_hintChildren:1}),o["\u0275qud"](603979776,7,{_prefixChildren:1}),o["\u0275qud"](603979776,8,{_suffixChildren:1}),(n()(),o["\u0275eld"](14,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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,15)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,15).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,15)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,15)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,20)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,20)._onInput()&&l),"ngModelChange"===e&&(l=!1!==r.changeTextColor(t)&&l),"ngModelChange"===e&&(l=!1!==(r.element.fill=t)&&l),l},null,null)),o["\u0275did"](15,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](17,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](19,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](20,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[2,4]],db,null,[qb]),(n()(),o["\u0275eld"](22,0,null,null,16,"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,Fb,yb)),o["\u0275did"](23,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,9,{_control:0}),o["\u0275qud"](335544320,10,{_placeholderChild:0}),o["\u0275qud"](335544320,11,{_labelChild:0}),o["\u0275qud"](603979776,12,{_errorChildren:1}),o["\u0275qud"](603979776,13,{_hintChildren:1}),o["\u0275qud"](603979776,14,{_prefixChildren:1}),o["\u0275qud"](603979776,15,{_suffixChildren:1}),(n()(),o["\u0275eld"](31,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["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,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,32)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,32).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,32)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,32)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,37)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,37)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,37)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.rotation=t)&&l),l},null,null)),o["\u0275did"](32,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](34,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](36,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](37,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[9,4]],db,null,[qb]),(n()(),o["\u0275eld"](39,0,[[1,0],["textArea",1]],null,6,"textarea",[["class","text"],["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,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,40)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,40).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,40)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,40)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.element.text=t)&&l),l},null,null)),o["\u0275did"](40,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](42,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,om]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,pm,null,[$m]),o["\u0275did"](44,16384,null,0,Am,[[4,pm]],null,null),(n()(),o["\u0275ted"](-1,null,[" "])),(n()(),o["\u0275eld"](46,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](47,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](48,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](49,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](51,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](52,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"]))],function(n,e){var t=e.component;n(e,2,0),n(e,17,0,t.element.fill),n(e,20,0,"Fill color","color"),n(e,34,0,t.rotation),n(e,37,0,"Rotation","text"),n(e,42,0,t.element.text),n(e,49,0,"accent"),n(e,52,0,"primary")},function(n,e){n(e,1,0,o["\u0275nov"](e,2).id),n(e,5,1,["standard"==o["\u0275nov"](e,6).appearance,"fill"==o["\u0275nov"](e,6).appearance,"outline"==o["\u0275nov"](e,6).appearance,"legacy"==o["\u0275nov"](e,6).appearance,o["\u0275nov"](e,6)._control.errorState,o["\u0275nov"](e,6)._canLabelFloat,o["\u0275nov"](e,6)._shouldLabelFloat(),o["\u0275nov"](e,6)._hasFloatingLabel(),o["\u0275nov"](e,6)._hideControlPlaceholder(),o["\u0275nov"](e,6)._control.disabled,o["\u0275nov"](e,6)._control.autofilled,o["\u0275nov"](e,6)._control.focused,"accent"==o["\u0275nov"](e,6).color,"warn"==o["\u0275nov"](e,6).color,o["\u0275nov"](e,6)._shouldForward("untouched"),o["\u0275nov"](e,6)._shouldForward("touched"),o["\u0275nov"](e,6)._shouldForward("pristine"),o["\u0275nov"](e,6)._shouldForward("dirty"),o["\u0275nov"](e,6)._shouldForward("valid"),o["\u0275nov"](e,6)._shouldForward("invalid"),o["\u0275nov"](e,6)._shouldForward("pending"),!o["\u0275nov"](e,6)._animationsEnabled]),n(e,14,1,[o["\u0275nov"](e,19).ngClassUntouched,o["\u0275nov"](e,19).ngClassTouched,o["\u0275nov"](e,19).ngClassPristine,o["\u0275nov"](e,19).ngClassDirty,o["\u0275nov"](e,19).ngClassValid,o["\u0275nov"](e,19).ngClassInvalid,o["\u0275nov"](e,19).ngClassPending,o["\u0275nov"](e,20)._isServer,o["\u0275nov"](e,20).id,o["\u0275nov"](e,20).placeholder,o["\u0275nov"](e,20).disabled,o["\u0275nov"](e,20).required,o["\u0275nov"](e,20).readonly&&!o["\u0275nov"](e,20)._isNativeSelect||null,o["\u0275nov"](e,20)._ariaDescribedby||null,o["\u0275nov"](e,20).errorState,o["\u0275nov"](e,20).required.toString()]),n(e,22,1,["standard"==o["\u0275nov"](e,23).appearance,"fill"==o["\u0275nov"](e,23).appearance,"outline"==o["\u0275nov"](e,23).appearance,"legacy"==o["\u0275nov"](e,23).appearance,o["\u0275nov"](e,23)._control.errorState,o["\u0275nov"](e,23)._canLabelFloat,o["\u0275nov"](e,23)._shouldLabelFloat(),o["\u0275nov"](e,23)._hasFloatingLabel(),o["\u0275nov"](e,23)._hideControlPlaceholder(),o["\u0275nov"](e,23)._control.disabled,o["\u0275nov"](e,23)._control.autofilled,o["\u0275nov"](e,23)._control.focused,"accent"==o["\u0275nov"](e,23).color,"warn"==o["\u0275nov"](e,23).color,o["\u0275nov"](e,23)._shouldForward("untouched"),o["\u0275nov"](e,23)._shouldForward("touched"),o["\u0275nov"](e,23)._shouldForward("pristine"),o["\u0275nov"](e,23)._shouldForward("dirty"),o["\u0275nov"](e,23)._shouldForward("valid"),o["\u0275nov"](e,23)._shouldForward("invalid"),o["\u0275nov"](e,23)._shouldForward("pending"),!o["\u0275nov"](e,23)._animationsEnabled]),n(e,31,1,[o["\u0275nov"](e,36).ngClassUntouched,o["\u0275nov"](e,36).ngClassTouched,o["\u0275nov"](e,36).ngClassPristine,o["\u0275nov"](e,36).ngClassDirty,o["\u0275nov"](e,36).ngClassValid,o["\u0275nov"](e,36).ngClassInvalid,o["\u0275nov"](e,36).ngClassPending,o["\u0275nov"](e,37)._isServer,o["\u0275nov"](e,37).id,o["\u0275nov"](e,37).placeholder,o["\u0275nov"](e,37).disabled,o["\u0275nov"](e,37).required,o["\u0275nov"](e,37).readonly&&!o["\u0275nov"](e,37)._isNativeSelect||null,o["\u0275nov"](e,37)._ariaDescribedby||null,o["\u0275nov"](e,37).errorState,o["\u0275nov"](e,37).required.toString()]),n(e,39,0,o["\u0275nov"](e,44).ngClassUntouched,o["\u0275nov"](e,44).ngClassTouched,o["\u0275nov"](e,44).ngClassPristine,o["\u0275nov"](e,44).ngClassDirty,o["\u0275nov"](e,44).ngClassValid,o["\u0275nov"](e,44).ngClassInvalid,o["\u0275nov"](e,44).ngClassPending),n(e,48,0,o["\u0275nov"](e,49).disabled||null,"NoopAnimations"===o["\u0275nov"](e,49)._animationMode),n(e,51,0,o["\u0275nov"](e,52).disabled||null,"NoopAnimations"===o["\u0275nov"](e,52)._animationMode)})}function gH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-text-editor",[],null,null,null,vH,mH)),o["\u0275did"](1,114688,null,0,jL,[mv,pF,OL,FL,DL,o.Renderer2],null,null)],function(n,e){n(e,1,0)},null)}var bH=o["\u0275ccf"]("app-text-editor",jL,gH,{},{},[]),yH=o["\u0275crt"]({encapsulation:0,styles:[[".dialogcontainer[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]],data:{}});function _H(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,15,"div",[["class","dialogcontainer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Delete template"])),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](5,16384,null,0,xv,[],null,null),(n()(),o["\u0275ted"](6,null,["Are you sure you want to delete template ","?"])),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](11,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" No "])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](14,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,2).id),n(e,6,0,t.templateName),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode)})}function wH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-delete-confirmation-dialog",[],null,null,null,_H,yH)),o["\u0275did"](1,114688,null,0,v_,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var CH=o["\u0275ccf"]("app-delete-confirmation-dialog",v_,wH,{},{},[]),xH=o["\u0275crt"]({encapsulation:0,styles:[[".message[_ngcontent-%COMP%]{margin-bottom:10px}.description[_ngcontent-%COMP%]{color:#b0bec5}"]],data:{}});function SH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","message"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,[" "," "])),(n()(),o["\u0275eld"](3,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(n()(),o["\u0275ted"](4,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name),n(e,4,0,e.context.$implicit.description)})}function kH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,2,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,SH)),o["\u0275did"](5,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](6,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](7,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](8,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](9,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-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["\u0275nov"](e,1).id),n(e,2,0,t.title),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode)})}function EH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-help-dialog",[],null,null,null,kH,xH)),o["\u0275did"](1,49152,null,0,rV,[mv],null,null)],null,null)}var TH=o["\u0275ccf"]("app-help-dialog",rV,EH,{title:"title",messages:"messages"},{},[]),RH=o["\u0275crt"]({encapsulation:0,styles:[[".input-field[_ngcontent-%COMP%]{width:100%}"]],data:{}});function IH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](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["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},Yy,Gy)),o["\u0275did"](1,8568832,[[8,4]],0,Cr,[o.ElementRef,o.ChangeDetectorRef,[2,wr],[2,br]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function OH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,_v],null,null),(n()(),o["\u0275ted"](-1,null,["Packet capture"])),(n()(),o["\u0275eld"](3,0,null,null,45,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,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["\u0275nov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,6).onReset()&&l),l},null,null)),o["\u0275did"](5,16384,null,0,ov,[],null,null),o["\u0275did"](6,540672,null,0,Qm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Xh,null,[Qm]),o["\u0275did"](8,16384,null,0,Pm,[[4,Xh]],null,null),(n()(),o["\u0275eld"](9,0,null,null,22,"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,Fb,yb)),o["\u0275did"](10,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,1,{_control:0}),o["\u0275qud"](335544320,2,{_placeholderChild:0}),o["\u0275qud"](335544320,3,{_labelChild:0}),o["\u0275qud"](603979776,4,{_errorChildren:1}),o["\u0275qud"](603979776,5,{_hintChildren:1}),o["\u0275qud"](603979776,6,{_prefixChildren:1}),o["\u0275qud"](603979776,7,{_suffixChildren:1}),(n()(),o["\u0275eld"](18,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["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,25)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._onBlur()&&l),l},X_,Z_)),o["\u0275prd"](6144,null,wr,null,[U_]),o["\u0275did"](20,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](22,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](24,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](25,2080768,null,3,U_,[zs,o.ChangeDetectorRef,o.NgZone,Jo,o.ElementRef,[2,Dr],[2,Zm],[2,Qm],[2,gb],[6,pm],[8,null],V_,jo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,8,{options:1}),o["\u0275qud"](603979776,9,{optionGroups:1}),o["\u0275qud"](335544320,10,{customTrigger:0}),o["\u0275prd"](2048,[[1,4]],db,null,[U_]),(n()(),o["\u0275and"](16777216,null,1,1,null,IH)),o["\u0275did"](31,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](32,0,null,null,16,"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,Fb,yb)),o["\u0275did"](33,7520256,null,7,gb,[o.ElementRef,o.ChangeDetectorRef,[2,kr],[2,Dr],[2,vb],mo,o.NgZone,[2,su]],null,null),o["\u0275qud"](335544320,11,{_control:0}),o["\u0275qud"](335544320,12,{_placeholderChild:0}),o["\u0275qud"](335544320,13,{_labelChild:0}),o["\u0275qud"](603979776,14,{_errorChildren:1}),o["\u0275qud"](603979776,15,{_hintChildren:1}),o["\u0275qud"](603979776,16,{_prefixChildren:1}),o["\u0275qud"](603979776,17,{_suffixChildren:1}),(n()(),o["\u0275eld"](41,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["\u0275nov"](n,42)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,42).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,42)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,42)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,47)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,47)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,47)._onInput()&&l),l},null,null)),o["\u0275did"](42,16384,null,0,am,[o.Renderer2,o.ElementRef,[2,im]],null,null),o["\u0275prd"](1024,null,om,function(n){return[n]},[am]),o["\u0275did"](44,671744,null,0,tv,[[3,Xh],[8,null],[8,null],[6,om],[2,Xm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,pm,null,[tv]),o["\u0275did"](46,16384,null,0,Am,[[4,pm]],null,null),o["\u0275did"](47,999424,null,0,qb,[o.ElementRef,mo,[6,pm],[2,Zm],[2,Qm],Jo,[8,null],Mb,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[11,4]],db,null,[qb]),(n()(),o["\u0275eld"](49,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](50,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](51,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[8,"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},pu,cu)),o["\u0275did"](52,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](54,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[8,"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},pu,cu)),o["\u0275did"](55,180224,null,0,Rr,[o.ElementRef,mo,Bo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Ok"]))],function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.inputForm),n(e,22,0,"linkType"),n(e,25,0,"Link type"),n(e,31,0,t.linkTypes),n(e,44,0,"fileName"),n(e,47,0,"File name","text"),n(e,52,0,"accent"),n(e,55,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,4,0,o["\u0275nov"](e,8).ngClassUntouched,o["\u0275nov"](e,8).ngClassTouched,o["\u0275nov"](e,8).ngClassPristine,o["\u0275nov"](e,8).ngClassDirty,o["\u0275nov"](e,8).ngClassValid,o["\u0275nov"](e,8).ngClassInvalid,o["\u0275nov"](e,8).ngClassPending),n(e,9,1,["standard"==o["\u0275nov"](e,10).appearance,"fill"==o["\u0275nov"](e,10).appearance,"outline"==o["\u0275nov"](e,10).appearance,"legacy"==o["\u0275nov"](e,10).appearance,o["\u0275nov"](e,10)._control.errorState,o["\u0275nov"](e,10)._canLabelFloat,o["\u0275nov"](e,10)._shouldLabelFloat(),o["\u0275nov"](e,10)._hasFloatingLabel(),o["\u0275nov"](e,10)._hideControlPlaceholder(),o["\u0275nov"](e,10)._control.disabled,o["\u0275nov"](e,10)._control.autofilled,o["\u0275nov"](e,10)._control.focused,"accent"==o["\u0275nov"](e,10).color,"warn"==o["\u0275nov"](e,10).color,o["\u0275nov"](e,10)._shouldForward("untouched"),o["\u0275nov"](e,10)._shouldForward("touched"),o["\u0275nov"](e,10)._shouldForward("pristine"),o["\u0275nov"](e,10)._shouldForward("dirty"),o["\u0275nov"](e,10)._shouldForward("valid"),o["\u0275nov"](e,10)._shouldForward("invalid"),o["\u0275nov"](e,10)._shouldForward("pending"),!o["\u0275nov"](e,10)._animationsEnabled]),n(e,18,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).tabIndex,o["\u0275nov"](e,25)._getAriaLabel(),o["\u0275nov"](e,25)._getAriaLabelledby(),o["\u0275nov"](e,25).required.toString(),o["\u0275nov"](e,25).disabled.toString(),o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).panelOpen?o["\u0275nov"](e,25)._optionIds:null,o["\u0275nov"](e,25).multiple,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25)._getAriaActiveDescendant(),o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).empty]),n(e,32,1,["standard"==o["\u0275nov"](e,33).appearance,"fill"==o["\u0275nov"](e,33).appearance,"outline"==o["\u0275nov"](e,33).appearance,"legacy"==o["\u0275nov"](e,33).appearance,o["\u0275nov"](e,33)._control.errorState,o["\u0275nov"](e,33)._canLabelFloat,o["\u0275nov"](e,33)._shouldLabelFloat(),o["\u0275nov"](e,33)._hasFloatingLabel(),o["\u0275nov"](e,33)._hideControlPlaceholder(),o["\u0275nov"](e,33)._control.disabled,o["\u0275nov"](e,33)._control.autofilled,o["\u0275nov"](e,33)._control.focused,"accent"==o["\u0275nov"](e,33).color,"warn"==o["\u0275nov"](e,33).color,o["\u0275nov"](e,33)._shouldForward("untouched"),o["\u0275nov"](e,33)._shouldForward("touched"),o["\u0275nov"](e,33)._shouldForward("pristine"),o["\u0275nov"](e,33)._shouldForward("dirty"),o["\u0275nov"](e,33)._shouldForward("valid"),o["\u0275nov"](e,33)._shouldForward("invalid"),o["\u0275nov"](e,33)._shouldForward("pending"),!o["\u0275nov"](e,33)._animationsEnabled]),n(e,41,1,[o["\u0275nov"](e,46).ngClassUntouched,o["\u0275nov"](e,46).ngClassTouched,o["\u0275nov"](e,46).ngClassPristine,o["\u0275nov"](e,46).ngClassDirty,o["\u0275nov"](e,46).ngClassValid,o["\u0275nov"](e,46).ngClassInvalid,o["\u0275nov"](e,46).ngClassPending,o["\u0275nov"](e,47)._isServer,o["\u0275nov"](e,47).id,o["\u0275nov"](e,47).placeholder,o["\u0275nov"](e,47).disabled,o["\u0275nov"](e,47).required,o["\u0275nov"](e,47).readonly&&!o["\u0275nov"](e,47)._isNativeSelect||null,o["\u0275nov"](e,47)._ariaDescribedby||null,o["\u0275nov"](e,47).errorState,o["\u0275nov"](e,47).required.toString()]),n(e,51,0,o["\u0275nov"](e,52).disabled||null,"NoopAnimations"===o["\u0275nov"](e,52)._animationMode),n(e,54,0,o["\u0275nov"](e,55).disabled||null,"NoopAnimations"===o["\u0275nov"](e,55)._animationMode)})}function FH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-capture",[],null,null,null,OH,RH)),o["\u0275did"](1,114688,null,0,$L,[mv,YL,lv,fc,lL],null,null)],function(n,e){n(e,1,0)},null)}var DH=o["\u0275ccf"]("app-start-capture",$L,FH,{},{},[]),MH=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function NH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](1,212992,null,0,Nl,[Ml,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}function AH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,NH,MH)),o["\u0275did"](1,114688,null,0,R,[is,Jn,T,mc],null,null)],function(n,e){n(e,1,0)},null)}var PH=o["\u0275ccf"]("app-root",R,AH,{},{},[]),qH=function(){return function(){}}(),jH=function(){function n(){}return n.prototype.convert=function(n){var e=new qH;return e.symbol_id=n.id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),LH=function(){function n(){}return n.prototype.convert=function(n){var e={font_family:void 0,font_size:void 0,font_weight:void 0};return PO.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}(),VH=t("+ryv"),BH=function(n,e){return n<e?-1:n>e?1:n>=e?0:NaN},zH=function(n){var e;return 1===n.length&&(e=n,n=function(n,t){return BH(e(n),t)}),{left:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var r=l+o>>>1;n(e[r],t)<0?l=r+1:o=r}return l},right:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var r=l+o>>>1;n(e[r],t)>0?o=r:l=r+1}return l}}},UH=zH(BH),HH=UH.right,ZH=UH.left,WH=HH,GH=function(n,e){null==e&&(e=KH);for(var t=0,l=n.length-1,o=n[0],r=new Array(l<0?0:l);t<l;)r[t]=e(o,o=n[++t]);return r};function KH(n,e){return[n,e]}var YH=function(n,e,t){var l,o,r,i,a=n.length,u=e.length,s=new Array(a*u);for(null==t&&(t=KH),l=r=0;l<a;++l)for(i=n[l],o=0;o<u;++o,++r)s[r]=t(i,e[o]);return s},$H=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},XH=function(n){return null===n?NaN:+n},QH=function(n,e){var t,l,o=n.length,r=0,i=-1,a=0,u=0;if(null==e)for(;++i<o;)isNaN(t=XH(n[i]))||(u+=(l=t-a)*(t-(a+=l/++r)));else for(;++i<o;)isNaN(t=XH(e(n[i],i,n)))||(u+=(l=t-a)*(t-(a+=l/++r)));if(r>1)return u/(r-1)},JH=function(n,e){var t=QH(n,e);return t?Math.sqrt(t):t},nZ=function(n,e){var t,l,o,r=n.length,i=-1;if(null==e){for(;++i<r;)if(null!=(t=n[i])&&t>=t)for(l=o=t;++i<r;)null!=(t=n[i])&&(l>t&&(l=t),o<t&&(o=t))}else for(;++i<r;)if(null!=(t=e(n[i],i,n))&&t>=t)for(l=o=t;++i<r;)null!=(t=e(n[i],i,n))&&(l>t&&(l=t),o<t&&(o=t));return[l,o]},eZ=Array.prototype,tZ=eZ.slice,lZ=eZ.map,oZ=function(n){return function(){return n}},rZ=function(n){return n},iZ=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)),r=new Array(o);++l<o;)r[l]=n+l*t;return r},aZ=Math.sqrt(50),uZ=Math.sqrt(10),sZ=Math.sqrt(2),dZ=function(n,e,t){var l,o,r,i,a=-1;if(t=+t,(n=+n)==(e=+e)&&t>0)return[n];if((l=e<n)&&(o=n,n=e,e=o),0===(i=cZ(n,e,t))||!isFinite(i))return[];if(i>0)for(n=Math.ceil(n/i),e=Math.floor(e/i),r=new Array(o=Math.ceil(e-n+1));++a<o;)r[a]=(n+a)*i;else for(n=Math.floor(n*i),e=Math.ceil(e*i),r=new Array(o=Math.ceil(n-e+1));++a<o;)r[a]=(n-a)/i;return l&&r.reverse(),r};function cZ(n,e,t){var l=(e-n)/Math.max(0,t),o=Math.floor(Math.log(l)/Math.LN10),r=l/Math.pow(10,o);return o>=0?(r>=aZ?10:r>=uZ?5:r>=sZ?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(r>=aZ?10:r>=uZ?5:r>=sZ?2:1)}function pZ(n,e,t){var l=Math.abs(e-n)/Math.max(0,t),o=Math.pow(10,Math.floor(Math.log(l)/Math.LN10)),r=l/o;return r>=aZ?o*=10:r>=uZ?o*=5:r>=sZ&&(o*=2),e<n?-o:o}var fZ=function(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1},hZ=function(){var n=rZ,e=nZ,t=fZ;function l(l){var o,r,i=l.length,a=new Array(i);for(o=0;o<i;++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=pZ(s,d,c),c=iZ(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<i;++o)s<=(r=a[o])&&r<=d&&h[WH(c,r,0,p)].push(l[o]);return h}return l.value=function(e){return arguments.length?(n="function"==typeof e?e:oZ(e),l):n},l.domain=function(n){return arguments.length?(e="function"==typeof n?n:oZ([n[0],n[1]]),l):e},l.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?oZ(tZ.call(n)):oZ(n),l):t},l},mZ=function(n,e,t){if(null==t&&(t=XH),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,r=Math.floor(o),i=+t(n[r],r,n);return i+(+t(n[r+1],r+1,n)-i)*(o-r)}},vZ=function(n,e,t){return n=lZ.call(n,XH).sort(BH),Math.ceil((t-e)/(2*(mZ(n,.75)-mZ(n,.25))*Math.pow(n.length,-1/3)))},gZ=function(n,e,t){return Math.ceil((t-e)/(3.5*JH(n)*Math.pow(n.length,-1/3)))},bZ=function(n,e){var t,l,o=n.length,r=-1;if(null==e){for(;++r<o;)if(null!=(t=n[r])&&t>=t)for(l=t;++r<o;)null!=(t=n[r])&&t>l&&(l=t)}else for(;++r<o;)if(null!=(t=e(n[r],r,n))&&t>=t)for(l=t;++r<o;)null!=(t=e(n[r],r,n))&&t>l&&(l=t);return l},yZ=function(n,e){var t,l=n.length,o=l,r=-1,i=0;if(null==e)for(;++r<l;)isNaN(t=XH(n[r]))?--o:i+=t;else for(;++r<l;)isNaN(t=XH(e(n[r],r,n)))?--o:i+=t;if(o)return i/o},_Z=function(n,e){var t,l=n.length,o=-1,r=[];if(null==e)for(;++o<l;)isNaN(t=XH(n[o]))||r.push(t);else for(;++o<l;)isNaN(t=XH(e(n[o],o,n)))||r.push(t);return mZ(r.sort(BH),.5)},wZ=function(n){for(var e,t,l,o=n.length,r=-1,i=0;++r<o;)i+=n[r].length;for(t=new Array(i);--o>=0;)for(e=(l=n[o]).length;--e>=0;)t[--i]=l[e];return t},CZ=function(n,e){var t,l,o=n.length,r=-1;if(null==e){for(;++r<o;)if(null!=(t=n[r])&&t>=t)for(l=t;++r<o;)null!=(t=n[r])&&l>t&&(l=t)}else for(;++r<o;)if(null!=(t=e(n[r],r,n))&&t>=t)for(l=t;++r<o;)null!=(t=e(n[r],r,n))&&l>t&&(l=t);return l},xZ=function(n,e){for(var t=e.length,l=new Array(t);t--;)l[t]=n[e[t]];return l},SZ=function(n,e){if(t=n.length){var t,l,o=0,r=0,i=n[r];for(null==e&&(e=BH);++o<t;)(e(l=n[o],i)<0||0!==e(i,i))&&(i=l,r=o);return 0===e(i,i)?r:void 0}},kZ=function(n,e,t){for(var l,o,r=(null==t?n.length:t)-(e=null==e?0:+e);r;)o=Math.random()*r--|0,l=n[r+e],n[r+e]=n[o+e],n[o+e]=l;return n},EZ=function(n,e){var t,l=n.length,o=-1,r=0;if(null==e)for(;++o<l;)(t=+n[o])&&(r+=t);else for(;++o<l;)(t=+e(n[o],o,n))&&(r+=t);return r},TZ=function(n){if(!(o=n.length))return[];for(var e=-1,t=CZ(n,RZ),l=new Array(t);++e<t;)for(var o,r=-1,i=l[e]=new Array(o);++r<o;)i[r]=n[r][e];return l};function RZ(n){return n.length}var IZ=function(){return TZ(arguments)},OZ=Array.prototype.slice,FZ=function(n){return n},DZ=1,MZ=2,NZ=3,AZ=4,PZ=1e-6;function qZ(n){return"translate("+(n+.5)+",0)"}function jZ(n){return"translate(0,"+(n+.5)+")"}function LZ(){return!this.__axis}function VZ(n,e){var t=[],l=null,o=null,r=6,i=6,a=3,u=n===DZ||n===AZ?-1:1,s=n===AZ||n===MZ?"x":"y",d=n===DZ||n===NZ?qZ:jZ;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):FZ:o,h=Math.max(r,0)+a,m=e.range(),v=+m[0]+.5,g=+m[m.length-1]+.5,b=(e.bandwidth?function(n){var e=Math.max(0,n.bandwidth()-1)/2;return n.round()&&(e=Math.round(e)),function(t){return+n(t)+e}}:function(n){return function(e){return+n(e)}})(e.copy()),y=c.selection?c.selection():c,_=y.selectAll(".domain").data([null]),w=y.selectAll(".tick").data(p,e).order(),C=w.exit(),x=w.enter().append("g").attr("class","tick"),S=w.select("line"),k=w.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(x),S=S.merge(x.append("line").attr("stroke","currentColor").attr(s+"2",u*r)),k=k.merge(x.append("text").attr("fill","currentColor").attr(s,u*h).attr("dy",n===DZ?"0em":n===NZ?"0.71em":"0.32em")),c!==y&&(_=_.transition(c),w=w.transition(c),S=S.transition(c),k=k.transition(c),C=C.transition(c).attr("opacity",PZ).attr("transform",function(n){return isFinite(n=b(n))?d(n):this.getAttribute("transform")}),x.attr("opacity",PZ).attr("transform",function(n){var e=this.parentNode.__axis;return d(e&&isFinite(e=e(n))?e:b(n))})),C.remove(),_.attr("d",n===AZ||n==MZ?i?"M"+u*i+","+v+"H0.5V"+g+"H"+u*i:"M0.5,"+v+"V"+g:i?"M"+v+","+u*i+"V0.5H"+g+"V"+u*i:"M"+v+",0.5H"+g),w.attr("opacity",1).attr("transform",function(n){return d(b(n))}),S.attr(s+"2",u*r),k.attr(s,u*h).text(f),y.filter(LZ).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",n===MZ?"start":n===AZ?"end":"middle"),y.each(function(){this.__axis=b})}return c.scale=function(n){return arguments.length?(e=n,c):e},c.ticks=function(){return t=OZ.call(arguments),c},c.tickArguments=function(n){return arguments.length?(t=null==n?[]:OZ.call(n),c):t.slice()},c.tickValues=function(n){return arguments.length?(l=null==n?null:OZ.call(n),c):l&&l.slice()},c.tickFormat=function(n){return arguments.length?(o=n,c):o},c.tickSize=function(n){return arguments.length?(r=i=+n,c):r},c.tickSizeInner=function(n){return arguments.length?(r=+n,c):r},c.tickSizeOuter=function(n){return arguments.length?(i=+n,c):i},c.tickPadding=function(n){return arguments.length?(a=+n,c):a},c}function BZ(n){return VZ(DZ,n)}function zZ(n){return VZ(MZ,n)}function UZ(n){return VZ(NZ,n)}function HZ(n){return VZ(AZ,n)}var ZZ=function(n){return function(){return n}},WZ=function(n,e,t){this.target=n,this.type=e,this.selection=t};function GZ(){tO.stopImmediatePropagation()}var KZ=function(){tO.preventDefault(),tO.stopImmediatePropagation()},YZ={name:"drag"},$Z={name:"space"},XZ={name:"handle"},QZ={name:"center"},JZ={name:"x",handles:["e","w"].map(aW),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]]}},nW={name:"y",handles:["n","s"].map(aW),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]]}},eW={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(aW),input:function(n){return n},output:function(n){return n}},tW={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"},lW={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},oW={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},rW={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},iW={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function aW(n){return{type:n}}function uW(){return!tO.button}function sW(){var n=this.ownerSVGElement||this;return[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function dW(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function cW(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function pW(n){var e=n.__brush;return e?e.dim.output(e.selection):null}function fW(){return vW(JZ)}function hW(){return vW(nW)}var mW=function(){return vW(eW)};function vW(n){var e,t=sW,l=uW,o=SI(i,"start","brush","end"),r=6;function i(e){var t=e.property("__brush",c).selectAll(".overlay").data([aW("overlay")]);t.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",tW.overlay).merge(t).each(function(){var n=dW(this).extent;fO(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([aW("selection")]).enter().append("rect").attr("class","selection").attr("cursor",tW.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 tW[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=fO(this),e=dW(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]-r/2:e[0][0]-r/2}).attr("y",function(n){return"s"===n.type[0]?e[1][1]-r/2:e[0][1]-r/2}).attr("width",function(n){return"n"===n.type||"s"===n.type?e[1][0]-e[0][0]+r:r}).attr("height",function(n){return"e"===n.type||"w"===n.type?e[1][1]-e[0][1]+r:r})):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(tO.touches){if(tO.changedTouches.length<tO.touches.length)return KZ()}else if(e)return;if(l.apply(this,arguments)){var t,o,r,i,s,d,c,p,f,h,m,v,g,b=this,y=tO.target.__data__.type,_="selection"===(tO.metaKey?y="overlay":y)?YZ:tO.altKey?QZ:XZ,w=n===nW?null:rW[y],C=n===JZ?null:iW[y],x=dW(b),S=x.extent,k=x.selection,E=S[0][0],T=S[0][1],R=S[1][0],I=S[1][1],O=w&&C&&tO.shiftKey,F=bO(b),D=F,M=u(b,arguments).beforestart();"overlay"===y?x.selection=k=[[t=n===nW?E:F[0],r=n===JZ?T:F[1]],[s=n===nW?R:t,c=n===JZ?I:r]]:(t=k[0][0],r=k[0][1],s=k[1][0],c=k[1][1]),o=t,i=r,d=s,p=c;var N=fO(b).attr("pointer-events","none"),A=N.selectAll(".overlay").attr("cursor",tW[y]);if(tO.touches)N.on("touchmove.brush",q,!0).on("touchend.brush touchcancel.brush",L,!0);else{var P=fO(tO.view).on("keydown.brush",function(){switch(tO.keyCode){case 16:O=w&&C;break;case 18:_===XZ&&(w&&(s=d-f*w,t=o+f*w),C&&(c=p-h*C,r=i+h*C),_=QZ,j());break;case 32:_!==XZ&&_!==QZ||(w<0?s=d-f:w>0&&(t=o-f),C<0?c=p-h:C>0&&(r=i-h),_=$Z,A.attr("cursor",tW.selection),j());break;default:return}KZ()},!0).on("keyup.brush",function(){switch(tO.keyCode){case 16:O&&(v=g=O=!1,j());break;case 18:_===QZ&&(w<0?s=d:w>0&&(t=o),C<0?c=p:C>0&&(r=i),_=XZ,j());break;case 32:_===$Z&&(tO.altKey?(w&&(s=d-f*w,t=o+f*w),C&&(c=p-h*C,r=i+h*C),_=QZ):(w<0?s=d:w>0&&(t=o),C<0?c=p:C>0&&(r=i),_=XZ),A.attr("cursor",tW[y]),j());break;default:return}KZ()},!0).on("mousemove.brush",q,!0).on("mouseup.brush",L,!0);CO(tO.view)}GZ(),OP(b),a.call(b),M.start()}function q(){var n=bO(b);!O||v||g||(Math.abs(n[0]-D[0])>Math.abs(n[1]-D[1])?g=!0:v=!0),D=n,m=!0,KZ(),j()}function j(){var n;switch(f=D[0]-F[0],h=D[1]-F[1],_){case $Z:case YZ:w&&(f=Math.max(E-t,Math.min(R-s,f)),o=t+f,d=s+f),C&&(h=Math.max(T-r,Math.min(I-c,h)),i=r+h,p=c+h);break;case XZ:w<0?(f=Math.max(E-t,Math.min(R-t,f)),o=t+f,d=s):w>0&&(f=Math.max(E-s,Math.min(R-s,f)),o=t,d=s+f),C<0?(h=Math.max(T-r,Math.min(I-r,h)),i=r+h,p=c):C>0&&(h=Math.max(T-c,Math.min(I-c,h)),i=r,p=c+h);break;case QZ:w&&(o=Math.max(E,Math.min(R,t-f*w)),d=Math.max(E,Math.min(R,s+f*w))),C&&(i=Math.max(T,Math.min(I,r-h*C)),p=Math.max(T,Math.min(I,c+h*C)))}d<o&&(w*=-1,n=t,t=s,s=n,n=o,o=d,d=n,y in lW&&A.attr("cursor",tW[y=lW[y]])),p<i&&(C*=-1,n=r,r=c,c=n,n=i,i=p,p=n,y in oW&&A.attr("cursor",tW[y=oW[y]])),x.selection&&(k=x.selection),v&&(o=k[0][0],d=k[1][0]),g&&(i=k[0][1],p=k[1][1]),k[0][0]===o&&k[0][1]===i&&k[1][0]===d&&k[1][1]===p||(x.selection=[[o,i],[d,p]],a.call(b),M.brush())}function L(){if(GZ(),tO.touches){if(tO.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500),N.on("touchmove.brush touchend.brush touchcancel.brush",null)}else xO(tO.view,m),P.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),A.attr("cursor",tW.overlay),x.selection&&(k=x.selection),cW(k)&&(x.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 i.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),r=l.selection,i=n.input("function"==typeof t?t.apply(this,arguments):t,l.extent),s=AA(r,i);function d(n){l.selection=1===n&&cW(i)?null:s(n),a.call(e),o.brush()}return r&&i?d:d(1)}):e.each(function(){var e=arguments,l=this.__brush,o=n.input("function"==typeof t?t.apply(this,e):t,l.extent),r=u(this,e).beforestart();OP(this),l.selection=null==o||cW(o)?null:o,a.call(this),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){aO(new WZ(i,e,n.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},i.extent=function(n){return arguments.length?(t="function"==typeof n?n:ZZ([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),i):t},i.filter=function(n){return arguments.length?(l="function"==typeof n?n:ZZ(!!n),i):l},i.handleSize=function(n){return arguments.length?(r=+n,i):r},i.on=function(){var n=o.on.apply(o,arguments);return n===o?i:n},i}var gW=Math.cos,bW=Math.sin,yW=Math.PI,_W=yW/2,wW=2*yW,CW=Math.max,xW=function(){var n=0,e=null,t=null,l=null;function o(o){var r,i,a,u,s,d,c=o.length,p=[],f=iZ(c),h=[],m=[],v=m.groups=new Array(c),g=new Array(c*c);for(r=0,s=-1;++s<c;){for(i=0,d=-1;++d<c;)i+=o[s][d];p.push(i),h.push(iZ(c)),r+=i}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=(r=CW(0,wW-n*c)/r)?n:wW/c,i=0,s=-1;++s<c;){for(a=i,d=-1;++d<c;){var b=f[s],y=h[b][d],_=o[b][y],w=i,C=i+=_*r;g[y*c+b]={index:b,subindex:y,startAngle:w,endAngle:C,value:_}}v[b]={index:b,startAngle:a,endAngle:i,value:p[b]},i+=u}for(s=-1;++s<c;)for(d=s-1;++d<c;){var x=g[d*c+s],S=g[s*c+d];(x.value||S.value)&&m.push(x.value<S.value?{source:S,target:x}:{source:x,target:S})}return l?m.sort(l):m}return o.padAngle=function(e){return arguments.length?(n=CW(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:(e=n,l=function(n,t){return e(n.source.value+n.target.value,t.source.value+t.target.value)})._=n,o):l&&l._;var e},o},SW=Array.prototype.slice,kW=function(n){return function(){return n}};function EW(n){return n.source}function TW(n){return n.target}function RW(n){return n.radius}function IW(n){return n.startAngle}function OW(n){return n.endAngle}var FW=function(){var n=EW,e=TW,t=RW,l=IW,o=OW,r=null;function i(){var i,a=SW.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)-_W,p=o.apply(this,a)-_W,f=d*gW(c),h=d*bW(c),m=+t.apply(this,(a[0]=s,a)),v=l.apply(this,a)-_W,g=o.apply(this,a)-_W;if(r||(r=i=GF()),r.moveTo(f,h),r.arc(0,0,d,c,p),c===v&&p===g||(r.quadraticCurveTo(0,0,m*gW(v),m*bW(v)),r.arc(0,0,m,v,g)),r.quadraticCurveTo(0,0,f,h),r.closePath(),i)return r=null,i+""||null}return i.radius=function(n){return arguments.length?(t="function"==typeof n?n:kW(+n),i):t},i.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:kW(+n),i):l},i.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:kW(+n),i):o},i.source=function(e){return arguments.length?(n=e,i):n},i.target=function(n){return arguments.length?(e=n,i):e},i.context=function(n){return arguments.length?(r=null==n?null:n,i):r},i};function DW(){}function MW(n,e){var t=new DW;if(n instanceof DW)n.each(function(n,e){t.set(e,n)});else if(Array.isArray(n)){var l,o=-1,r=n.length;if(null==e)for(;++o<r;)t.set(o,n[o]);else for(;++o<r;)t.set(e(l=n[o],o,n),l)}else if(n)for(var i in n)t.set(i,n[i]);return t}DW.prototype=MW.prototype={constructor:DW,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 NW=MW,AW=function(){var n,e,t,l=[],o=[];function r(t,o,i,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=NW(),m=i();++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,r(n,o,i,a))}),m}return t={object:function(n){return r(n,0,PW,qW)},map:function(n){return r(n,0,jW,LW)},entries:function(n){return function n(t,r){if(++r>l.length)return t;var i,a=o[r-1];return null!=e&&r>=l.length?i=t.entries():(i=[],t.each(function(e,t){i.push({key:t,values:n(e,r)})})),null!=a?i.sort(function(n,e){return a(n.key,e.key)}):i}(r(n,0,jW,LW),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 PW(){return{}}function qW(n,e,t){n[e]=t}function jW(){return NW()}function LW(n,e,t){n.set(e,t)}function VW(){}var BW=NW.prototype;function zW(n,e){var t=new VW;if(n instanceof VW)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}VW.prototype=zW.prototype={constructor:VW,has:BW.has,add:function(n){return this["$"+(n+="")]=n,this},remove:BW.remove,clear:BW.clear,values:BW.keys,size:BW.size,empty:BW.empty,each:BW.each};var UW=zW,HW=function(n){var e=[];for(var t in n)e.push(t);return e},ZW=function(n){var e=[];for(var t in n)e.push(n[t]);return e},WW=function(n){var e=[];for(var t in n)e.push({key:t,value:n[t]});return e},GW=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function KW(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function YW(){}var $W="\\s*([+-]?\\d+)\\s*",XW="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",QW="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",JW=/^#([0-9a-f]{3})$/,nG=/^#([0-9a-f]{6})$/,eG=new RegExp("^rgb\\("+[$W,$W,$W]+"\\)$"),tG=new RegExp("^rgb\\("+[QW,QW,QW]+"\\)$"),lG=new RegExp("^rgba\\("+[$W,$W,$W,XW]+"\\)$"),oG=new RegExp("^rgba\\("+[QW,QW,QW,XW]+"\\)$"),rG=new RegExp("^hsl\\("+[XW,QW,QW]+"\\)$"),iG=new RegExp("^hsla\\("+[XW,QW,QW,XW]+"\\)$"),aG={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 uG(n){var e;return n=(n+"").trim().toLowerCase(),(e=JW.exec(n))?new fG((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=nG.exec(n))?sG(parseInt(e[1],16)):(e=eG.exec(n))?new fG(e[1],e[2],e[3],1):(e=tG.exec(n))?new fG(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=lG.exec(n))?dG(e[1],e[2],e[3],e[4]):(e=oG.exec(n))?dG(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=rG.exec(n))?hG(e[1],e[2]/100,e[3]/100,1):(e=iG.exec(n))?hG(e[1],e[2]/100,e[3]/100,e[4]):aG.hasOwnProperty(n)?sG(aG[n]):"transparent"===n?new fG(NaN,NaN,NaN,0):null}function sG(n){return new fG(n>>16&255,n>>8&255,255&n,1)}function dG(n,e,t,l){return l<=0&&(n=e=t=NaN),new fG(n,e,t,l)}function cG(n){return n instanceof YW||(n=uG(n)),n?new fG((n=n.rgb()).r,n.g,n.b,n.opacity):new fG}function pG(n,e,t,l){return 1===arguments.length?cG(n):new fG(n,e,t,null==l?1:l)}function fG(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function hG(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new vG(n,e,t,l)}function mG(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof vG)return new vG(n.h,n.s,n.l,n.opacity);if(n instanceof YW||(n=uG(n)),!n)return new vG;if(n instanceof vG)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new vG(i,a,u,n.opacity)}(n):new vG(n,e,t,null==l?1:l)}function vG(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function gG(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}GW(YW,uG,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),GW(fG,pG,KW(YW,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new fG(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new fG(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+")")}})),GW(vG,mG,KW(YW,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new vG(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new vG(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 fG(gG(n>=240?n-240:n+120,o,l),gG(n,o,l),gG(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 bG=Math.PI/180,yG=180/Math.PI,_G=.96422,wG=1,CG=.82521,xG=4/29,SG=6/29,kG=3*SG*SG,EG=SG*SG*SG;function TG(n){if(n instanceof IG)return new IG(n.l,n.a,n.b,n.opacity);if(n instanceof AG){if(isNaN(n.h))return new IG(n.l,0,0,n.opacity);var e=n.h*bG;return new IG(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof fG||(n=cG(n));var t,l,o=MG(n.r),r=MG(n.g),i=MG(n.b),a=OG((.2225045*o+.7168786*r+.0606169*i)/wG);return o===r&&r===i?t=l=a:(t=OG((.4360747*o+.3850649*r+.1430804*i)/_G),l=OG((.0139322*o+.0971045*r+.7141733*i)/CG)),new IG(116*a-16,500*(t-a),200*(a-l),n.opacity)}function RG(n,e,t,l){return 1===arguments.length?TG(n):new IG(n,e,t,null==l?1:l)}function IG(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function OG(n){return n>EG?Math.pow(n,1/3):n/kG+xG}function FG(n){return n>SG?n*n*n:kG*(n-xG)}function DG(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function MG(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function NG(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof AG)return new AG(n.h,n.c,n.l,n.opacity);if(n instanceof IG||(n=TG(n)),0===n.a&&0===n.b)return new AG(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*yG;return new AG(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new AG(n,e,t,null==l?1:l)}function AG(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}GW(IG,RG,KW(YW,{brighter:function(n){return new IG(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new IG(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 fG(DG(3.1338561*(e=_G*FG(e))-1.6168667*(n=wG*FG(n))-.4906146*(t=CG*FG(t))),DG(-.9787684*e+1.9161415*n+.033454*t),DG(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),GW(AG,NG,KW(YW,{brighter:function(n){return new AG(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new AG(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return TG(this).rgb()}}));var PG=-.29227,qG=-.90649,jG=1.97294,LG=jG*qG,VG=1.78277*jG,BG=1.78277*PG- -.14861*qG;function zG(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof UG)return new UG(n.h,n.s,n.l,n.opacity);n instanceof fG||(n=cG(n));var e=n.g/255,t=n.b/255,l=(BG*t+LG*(n.r/255)-VG*e)/(BG+LG-VG),o=t-l,r=(jG*(e-l)-PG*o)/qG,i=Math.sqrt(r*r+o*o)/(jG*l*(1-l)),a=i?Math.atan2(r,o)*yG-120:NaN;return new UG(a<0?a+360:a,i,l,n.opacity)}(n):new UG(n,e,t,null==l?1:l)}function UG(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}GW(UG,zG,KW(YW,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new UG(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new UG(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*bG,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new fG(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(PG*l+qG*o)),255*(e+t*(jG*l)),this.opacity)}}));var HG=Array.prototype.slice,ZG=function(n,e){return n-e},WG=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},GG=function(n){return function(){return n}},KG=function(n,e){for(var t,l=-1,o=e.length;++l<o;)if(t=YG(n,e[l]))return t;return 0};function YG(n,e){for(var t=e[0],l=e[1],o=-1,r=0,i=n.length,a=i-1;r<i;a=r++){var u=n[r],s=u[0],d=u[1],c=n[a],p=c[0],f=c[1];if($G(u,c,e))return 0;d>l!=f>l&&t<(p-s)*(l-d)/(f-d)+s&&(o=-o)}return o}function $G(n,e,t){var l,o,r,i;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])],i=e[l],o<=(r=t[l])&&r<=i||i<=r&&r<=o)}var XG=function(){},QG=[[],[[[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]]],[]],JG=function(){var n=1,e=1,t=fZ,l=a;function o(n){var e=t(n);if(Array.isArray(e))e=e.slice().sort(ZG);else{var l=nZ(n),o=l[0],i=l[1];e=pZ(o,i,e),e=iZ(Math.floor(o/e)*e,Math.floor(i/e)*e,e)}return e.map(function(e){return r(n,e)})}function r(t,o){var r=[],a=[];return function(t,l,o){var r,a,u,s,d,c=new Array,p=new Array;for(r=a=-1,QG[(u=t[0]>=l)<<1].forEach(f);++r<n-1;)QG[u|(u=t[r+1]>=l)<<1].forEach(f);for(QG[u<<0].forEach(f);++a<e-1;){for(r=-1,QG[(u=t[a*n+n]>=l)<<1|(s=t[a*n]>=l)<<2].forEach(f);++r<n-1;)d=s,QG[u|(u=t[a*n+n+r+1]>=l)<<1|(s=t[a*n+r+1]>=l)<<2|d<<3].forEach(f);QG[u|s<<3].forEach(f)}for(r=-1,QG[(s=t[a*n]>=l)<<2].forEach(f);++r<n-1;)d=s,QG[(s=t[a*n+r+1]>=l)<<2|d<<3].forEach(f);function f(n){var e,t,l=[n[0][0]+r,n[0][1]+a],u=[n[1][0]+r,n[1][1]+a],s=i(l),d=i(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]}}QG[s<<3].forEach(f)}(t,o,function(n){l(n,t,o),WG(n)>0?r.push([n]):a.push(n)}),a.forEach(function(n){for(var e,t=0,l=r.length;t<l;++t)if(-1!==KG((e=r[t])[0],n))return void e.push(n)}),{type:"MultiPolygon",value:o,coordinates:r}}function i(e){return 2*e[0]+e[1]*(n+1)*4}function a(t,l,o){t.forEach(function(t){var r,i=t[0],a=t[1],u=0|i,s=0|a,d=l[s*n+u];i>0&&i<n&&u===i&&(t[0]=i+(o-(r=l[s*n+u-1]))/(d-r)-.5),a>0&&a<e&&s===a&&(t[1]=a+(o-(r=l[(s-1)*n+u]))/(d-r)-.5)})}return o.contour=r,o.size=function(t){if(!arguments.length)return[n,e];var l=Math.ceil(t[0]),r=Math.ceil(t[1]);if(!(l>0&&r>0))throw new Error("invalid size");return n=l,e=r,o},o.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?GG(HG.call(n)):GG(n),o):t},o.smooth=function(n){return arguments.length?(l=n?a:XG,o):l===a},o};function nK(n,e,t){for(var l=n.width,o=n.height,r=1+(t<<1),i=0;i<o;++i)for(var a=0,u=0;a<l+t;++a)a<l&&(u+=n.data[a+i*l]),a>=t&&(a>=r&&(u-=n.data[a-r+i*l]),e.data[a-t+i*l]=u/Math.min(a+1,l-1+r-a,r))}function eK(n,e,t){for(var l=n.width,o=n.height,r=1+(t<<1),i=0;i<l;++i)for(var a=0,u=0;a<o+t;++a)a<o&&(u+=n.data[i+a*l]),a>=t&&(a>=r&&(u-=n.data[i+(a-r)*l]),e.data[i+(a-t)*l]=u/Math.min(a+1,o-1+r-a,r))}function tK(n){return n[0]}function lK(n){return n[1]}var oK=function(){var n=tK,e=lK,t=960,l=500,o=20,r=2,i=3*o,a=t+2*i>>r,u=l+2*i>>r,s=GG(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)+i>>r,c=e(t,o,s)+i>>r;d>=0&&d<a&&c>=0&&c<u&&++l[d+c*a]}),nK({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),eK({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r),nK({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),eK({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r),nK({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),eK({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r);var p=s(l);if(!Array.isArray(p)){var f=bZ(l);p=pZ(0,f,p),(p=iZ(0,Math.floor(f/p)*p,p)).shift()}return JG().thresholds(p).size([a,u])(l).map(c)}function c(n){return n.value*=Math.pow(2,-2*r),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,r)-i,n[1]=n[1]*Math.pow(2,r)-i}function m(){return a=t+2*(i=3*o)>>r,u=l+2*i>>r,d}return d.x=function(e){return arguments.length?(n="function"==typeof e?e:GG(+e),d):n},d.y=function(n){return arguments.length?(e="function"==typeof n?n:GG(+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<<r;if(!((n=+n)>=1))throw new Error("invalid cell size");return r=Math.floor(Math.log(n)/Math.LN2),m()},d.thresholds=function(n){return arguments.length?(s="function"==typeof n?n:Array.isArray(n)?GG(HG.call(n)):GG(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},rK={},iK={},aK=34,uK=10,sK=13;function dK(n){return new Function("d","return {"+n.map(function(n,e){return JSON.stringify(n)+": d["+e+"]"}).join(",")+"}")}var cK=function(n){var e=new RegExp('["'+n+"\n\r]"),t=n.charCodeAt(0);function l(n,e){var l,o=[],r=n.length,i=0,a=0,u=r<=0,s=!1;function d(){if(u)return iK;if(s)return s=!1,rK;var e,l,o=i;if(n.charCodeAt(o)===aK){for(;i++<r&&n.charCodeAt(i)!==aK||n.charCodeAt(++i)===aK;);return(e=i)>=r?u=!0:(l=n.charCodeAt(i++))===uK?s=!0:l===sK&&(s=!0,n.charCodeAt(i)===uK&&++i),n.slice(o+1,e-1).replace(/""/g,'"')}for(;i<r;){if((l=n.charCodeAt(e=i++))===uK)s=!0;else if(l===sK)s=!0,n.charCodeAt(i)===uK&&++i;else if(l!==t)continue;return n.slice(o,e)}return u=!0,n.slice(o,r)}for(n.charCodeAt(r-1)===uK&&--r,n.charCodeAt(r-1)===sK&&--r;(l=d())!==iK;){for(var c=[];l!==rK&&l!==iK;)c.push(l),l=d();e&&null==(c=e(c,a++))||o.push(c)}return o}function o(e){return e.map(r).join(n)}function r(n){return null==n?"":e.test(n+="")?'"'+n.replace(/"/g,'""')+'"':n}return{parse:function(n,e){var t,o,r=l(n,function(n,l){if(t)return t(n,l-1);o=n,t=e?function(n,e){var t=dK(n);return function(l,o){return e(t(l),o,n)}}(n,e):dK(n)});return r.columns=o||[],r},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(r).join(n)].concat(e.map(function(e){return t.map(function(n){return r(e[n])}).join(n)})).join("\n")},formatRows:function(n){return n.map(o).join("\n")}}},pK=cK(","),fK=pK.parse,hK=pK.parseRows,mK=pK.format,vK=pK.formatRows,gK=cK("\t"),bK=gK.parse,yK=gK.parseRows,_K=gK.format,wK=gK.formatRows,CK=function(n,e){var t;function l(){var l,o,r=t.length,i=0,a=0;for(l=0;l<r;++l)i+=(o=t[l]).x,a+=o.y;for(i=i/r-n,a=a/r-e,l=0;l<r;++l)(o=t[l]).x-=i,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},xK=function(n){return function(){return n}},SK=function(){return 1e-6*(Math.random()-.5)};function kK(n,e,t,l){if(isNaN(e)||isNaN(t))return n;var o,r,i,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>=(r=(m+g)/2))?m=r:g=r,(d=t>=(i=(v+b)/2))?v=i:b=i,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>=(r=(m+g)/2))?m=r:g=r,(d=t>=(i=(v+b)/2))?v=i:b=i}while((c=d<<1|s)==(p=(u>=i)<<1|a>=r));return o[p]=f,o[c]=h,n}var EK=function(n,e,t,l,o){this.node=n,this.x0=e,this.y0=t,this.x1=l,this.y1=o};function TK(n){return n[0]}function RK(n){return n[1]}function IK(n,e,t){var l=new OK(null==e?TK:e,null==t?RK:t,NaN,NaN,NaN,NaN);return null==n?l:l.addAll(n)}function OK(n,e,t,l,o,r){this._x=n,this._y=e,this._x0=t,this._y0=l,this._x1=o,this._y1=r,this._root=void 0}function FK(n){for(var e={data:n.data},t=e;n=n.next;)t=t.next={data:n.data};return e}var DK=IK.prototype=OK.prototype;function MK(n){return n.x+n.vx}function NK(n){return n.y+n.vy}DK.copy=function(){var n,e,t=new OK(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=FK(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]=FK(e));return t},DK.add=function(n){var e=+this._x.call(null,n),t=+this._y.call(null,n);return kK(this.cover(e,t),e,t,n)},DK.addAll=function(n){var e,t,l,o,r=n.length,i=new Array(r),a=new Array(r),u=1/0,s=1/0,d=-1/0,c=-1/0;for(t=0;t<r;++t)isNaN(l=+this._x.call(null,e=n[t]))||isNaN(o=+this._y.call(null,e))||(i[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<r;++t)kK(this,i[t],a[t],n[t]);return this},DK.cover=function(n,e){if(isNaN(n=+n)||isNaN(e=+e))return this;var t=this._x0,l=this._y0,o=this._x1,r=this._y1;if(isNaN(t))o=(t=Math.floor(n))+1,r=(l=Math.floor(e))+1;else{for(var i,a,u=o-t,s=this._root;t>n||n>=o||l>e||e>=r;)switch(a=(e<l)<<1|n<t,(i=new Array(4))[a]=s,s=i,u*=2,a){case 0:o=t+u,r=l+u;break;case 1:t=o-u,r=l+u;break;case 2:o=t+u,l=r-u;break;case 3:t=o-u,l=r-u}this._root&&this._root.length&&(this._root=s)}return this._x0=t,this._y0=l,this._x1=o,this._y1=r,this},DK.data=function(){var n=[];return this.visit(function(e){if(!e.length)do{n.push(e.data)}while(e=e.next)}),n},DK.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]]},DK.find=function(n,e,t){var l,o,r,i,a,u,s,d=this._x0,c=this._y0,p=this._x1,f=this._y1,h=[],m=this._root;for(m&&h.push(new EK(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||(r=u.y0)>f||(i=u.x1)<d||(a=u.y1)<c))if(m.length){var v=(o+i)/2,g=(r+a)/2;h.push(new EK(m[3],v,g,i,a),new EK(m[2],o,g,v,a),new EK(m[1],v,r,i,g),new EK(m[0],o,r,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),y=e-+this._y.call(null,m.data),_=b*b+y*y;if(_<t){var w=Math.sqrt(t=_);d=n-w,c=e-w,p=n+w,f=e+w,l=m.data}}return l},DK.remove=function(n){if(isNaN(r=+this._x.call(null,n))||isNaN(i=+this._y.call(null,n)))return this;var e,t,l,o,r,i,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=r>=(a=(h+v)/2))?h=a:v=a,(d=i>=(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)},DK.removeAll=function(n){for(var e=0,t=n.length;e<t;++e)this.remove(n[e]);return this},DK.root=function(){return this._root},DK.size=function(){var n=0;return this.visit(function(e){if(!e.length)do{++n}while(e=e.next)}),n},DK.visit=function(n){var e,t,l,o,r,i,a=[],u=this._root;for(u&&a.push(new EK(u,this._x0,this._y0,this._x1,this._y1));e=a.pop();)if(!n(u=e.node,l=e.x0,o=e.y0,r=e.x1,i=e.y1)&&u.length){var s=(l+r)/2,d=(o+i)/2;(t=u[3])&&a.push(new EK(t,s,d,r,i)),(t=u[2])&&a.push(new EK(t,l,d,s,i)),(t=u[1])&&a.push(new EK(t,s,o,r,d)),(t=u[0])&&a.push(new EK(t,l,o,s,d))}return this},DK.visitAfter=function(n){var e,t=[],l=[];for(this._root&&t.push(new EK(this._root,this._x0,this._y0,this._x1,this._y1));e=t.pop();){var o=e.node;if(o.length){var r,i=e.x0,a=e.y0,u=e.x1,s=e.y1,d=(i+u)/2,c=(a+s)/2;(r=o[0])&&t.push(new EK(r,i,a,d,c)),(r=o[1])&&t.push(new EK(r,d,a,u,c)),(r=o[2])&&t.push(new EK(r,i,c,d,s)),(r=o[3])&&t.push(new EK(r,d,c,u,s))}l.push(e)}for(;e=l.pop();)n(e.node,e.x0,e.y0,e.x1,e.y1);return this},DK.x=function(n){return arguments.length?(this._x=n,this):this._x},DK.y=function(n){return arguments.length?(this._y=n,this):this._y};var AK=function(n){var e,t,l=1,o=1;function r(){for(var n,r,a,u,s,d,c,p=e.length,f=0;f<o;++f)for(r=IK(e,MK,NK).visitAfter(i),n=0;n<p;++n)c=(d=t[(a=e[n]).index])*d,u=a.x+a.vx,s=a.y+a.vy,r.visit(h);function h(n,e,t,o,r){var i=n.data,p=n.r,f=d+p;if(!i)return e>u+f||o<u-f||t>s+f||r<s-f;if(i.index>a.index){var h=u-i.x-i.vx,m=s-i.y-i.vy,v=h*h+m*m;v<f*f&&(0===h&&(v+=(h=SK())*h),0===m&&(v+=(m=SK())*m),v=(f-(v=Math.sqrt(v)))/v*l,a.vx+=(h*=v)*(f=(p*=p)/(c+p)),a.vy+=(m*=v)*f,i.vx-=h*(f=1-f),i.vy-=m*f)}}}function i(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,r=e.length;for(t=new Array(r),l=0;l<r;++l)t[(o=e[l]).index]=+n(o,l,e)}}return"function"!=typeof n&&(n=xK(null==n?1:+n)),r.initialize=function(n){e=n,a()},r.iterations=function(n){return arguments.length?(o=+n,r):o},r.strength=function(n){return arguments.length?(l=+n,r):l},r.radius=function(e){return arguments.length?(n="function"==typeof e?e:xK(+e),a(),r):n},r};function PK(n){return n.index}function qK(n,e){var t=n.get(e);if(!t)throw new Error("missing: "+e);return t}var jK=function(n){var e,t,l,o,r,i=PK,a=function(n){return 1/Math.min(o[n.source.index],o[n.target.index])},u=xK(30),s=1;function d(l){for(var o=0,i=n.length;o<s;++o)for(var a,u,d,c,p,f,h,m=0;m<i;++m)c=(d=(a=n[m]).target).x+d.vx-(u=a.source).x-u.vx||SK(),p=d.y+d.vy-u.y-u.vy||SK(),p*=f=((f=Math.sqrt(c*c+p*p))-t[m])/f*l*e[m],d.vx-=(c*=f)*(h=r[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=NW(l,i);for(a=0,o=new Array(s);a<d;++a)(u=n[a]).index=a,"object"!=typeof u.source&&(u.source=qK(c,u.source)),"object"!=typeof u.target&&(u.target=qK(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,r=new Array(d);a<d;++a)r[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?(i=n,d):i},d.iterations=function(n){return arguments.length?(s=+n,d):s},d.strength=function(n){return arguments.length?(a="function"==typeof n?n:xK(+n),p(),d):a},d.distance=function(n){return arguments.length?(u="function"==typeof n?n:xK(+n),f(),d):u},d};function LK(n){return n.x}function VK(n){return n.y}var BK,zK=10,UK=Math.PI*(3-Math.sqrt(5)),HK=function(n){var e,t=1,l=.001,o=1-Math.pow(l,1/300),r=0,i=.6,a=NW(),u=dP(d),s=SI("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+=(r-t)*o,a.each(function(n){n(t)}),e=0;e<u;++e)null==(l=n[e]).fx?l.x+=l.vx*=i:(l.x=l.fx,l.vx=0),null==l.fy?l.y+=l.vy*=i:(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=zK*Math.sqrt(t),r=t*UK;e.x=o*Math.cos(r),e.y=o*Math.sin(r)}(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?(r=+n,e):r},velocityDecay:function(n){return arguments.length?(i=1-n,e):1-i},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,r,i,a,u,s=0,d=n.length;for(null==l?l=1/0:l*=l,s=0;s<d;++s)(i=(o=e-(a=n[s]).x)*o+(r=t-a.y)*r)<l&&(u=a,l=i);return u},on:function(n,t){return arguments.length>1?(s.on(n,t),e):s.on(n)}}},ZK=function(){var n,e,t,l,o=xK(-30),r=1,i=1/0,a=.81;function u(l){var o,r=n.length,i=IK(n,LK,VK).visitAfter(d);for(t=l,o=0;o<r;++o)e=n[o],i.visit(c)}function s(){if(n){var e,t,r=n.length;for(l=new Array(r),e=0;e<r;++e)l[(t=n[e]).index]=+o(t,e,n)}}function d(n){var e,t,o,r,i,a=0,u=0;if(n.length){for(o=r=i=0;i<4;++i)(e=n[i])&&(t=Math.abs(e.value))&&(a+=e.value,u+=t,o+=t*e.x,r+=t*e.y);n.x=o/u,n.y=r/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<i&&(0===d&&(f+=(d=SK())*d),0===c&&(f+=(c=SK())*c),f<r&&(f=Math.sqrt(r*f)),e.vx+=d*n.value*t/f,e.vy+=c*n.value*t/f),!0;if(!(n.length||f>=i)){(n.data!==e||n.next)&&(0===d&&(f+=(d=SK())*d),0===c&&(f+=(c=SK())*c),f<r&&(f=Math.sqrt(r*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:xK(+n),s(),u):o},u.distanceMin=function(n){return arguments.length?(r=n*n,u):Math.sqrt(r)},u.distanceMax=function(n){return arguments.length?(i=n*n,u):Math.sqrt(i)},u.theta=function(n){return arguments.length?(a=n*n,u):Math.sqrt(a)},u},WK=function(n,e,t){var l,o,r,i=xK(.1);function a(n){for(var i=0,a=l.length;i<a;++i){var u=l[i],s=u.x-e||1e-6,d=u.y-t||1e-6,c=Math.sqrt(s*s+d*d),p=(r[i]-c)*o[i]*n/c;u.vx+=s*p,u.vy+=d*p}}function u(){if(l){var e,t=l.length;for(o=new Array(t),r=new Array(t),e=0;e<t;++e)r[e]=+n(l[e],e,l),o[e]=isNaN(r[e])?0:+i(l[e],e,l)}}return"function"!=typeof n&&(n=xK(+n)),null==e&&(e=0),null==t&&(t=0),a.initialize=function(n){l=n,u()},a.strength=function(n){return arguments.length?(i="function"==typeof n?n:xK(+n),u(),a):i},a.radius=function(e){return arguments.length?(n="function"==typeof e?e:xK(+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},GK=function(n){var e,t,l,o=xK(.1);function r(n){for(var o,r=0,i=e.length;r<i;++r)(o=e[r]).vx+=(l[r]-o.x)*t[r]*n}function i(){if(e){var r,i=e.length;for(t=new Array(i),l=new Array(i),r=0;r<i;++r)t[r]=isNaN(l[r]=+n(e[r],r,e))?0:+o(e[r],r,e)}}return"function"!=typeof n&&(n=xK(null==n?0:+n)),r.initialize=function(n){e=n,i()},r.strength=function(n){return arguments.length?(o="function"==typeof n?n:xK(+n),i(),r):o},r.x=function(e){return arguments.length?(n="function"==typeof e?e:xK(+e),i(),r):n},r},KK=function(n){var e,t,l,o=xK(.1);function r(n){for(var o,r=0,i=e.length;r<i;++r)(o=e[r]).vy+=(l[r]-o.y)*t[r]*n}function i(){if(e){var r,i=e.length;for(t=new Array(i),l=new Array(i),r=0;r<i;++r)t[r]=isNaN(l[r]=+n(e[r],r,e))?0:+o(e[r],r,e)}}return"function"!=typeof n&&(n=xK(null==n?0:+n)),r.initialize=function(n){e=n,i()},r.strength=function(n){return arguments.length?(o="function"==typeof n?n:xK(+n),i(),r):o},r.y=function(e){return arguments.length?(n="function"==typeof e?e:xK(+e),i(),r):n},r},YK=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)]},$K=function(n){return(n=YK(Math.abs(n)))?n[1]:NaN},XK=function(n,e){var t=YK(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")},QK={"":function(n,e){n:for(var t,l=(n=n.toPrecision(e)).length,o=1,r=-1;o<l;++o)switch(n[o]){case".":r=t=o;break;case"0":0===r&&(r=o),t=o;break;case"e":break n;default:r>0&&(r=0)}return r>0?n.slice(0,r)+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 XK(100*n,e)},r:XK,s:function(n,e){var t=YK(n,e);if(!t)return n+"";var l=t[0],o=t[1],r=o-(BK=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=l.length;return r===i?l:r>i?l+new Array(r-i+1).join("0"):r>0?l.slice(0,r)+"."+l.slice(r):"0."+new Array(1-r).join("0")+YK(n,Math.max(0,e+r-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}},JK=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function nY(n){return new eY(n)}function eY(n){if(!(e=JK.exec(n)))throw new Error("invalid format: "+n);var e,t=e[1]||" ",l=e[2]||">",o=e[3]||"-",r=e[4]||"",i=!!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"):QK[d]||(d=""),(i||"0"===t&&"="===l)&&(i=!0,t="0",l="="),this.fill=t,this.align=l,this.sign=o,this.symbol=r,this.zero=i,this.width=a,this.comma=u,this.precision=s,this.type=d}nY.prototype=eY.prototype,eY.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 tY,lY,oY,rY=function(n){return n},iY=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],aY=function(n){var e,t,l=n.grouping&&n.thousands?(e=n.grouping,t=n.thousands,function(n,l){for(var o=n.length,r=[],i=0,a=e[0],u=0;o>0&&a>0&&(u+a+1>l&&(a=Math.max(1,l-u)),r.push(n.substring(o-=a,o+a)),!((u+=a+1)>l));)a=e[i=(i+1)%e.length];return r.reverse().join(t)}):rY,o=n.currency,r=n.decimal,i=n.numerals?function(n){return function(e){return e.replace(/[0-9]/g,function(e){return n[+e]})}}(n.numerals):rY,a=n.percent||"%";function u(n){var e=(n=nY(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=QK[h],b=!h||/[defgprs%]/.test(h);function y(n){var o,a,s,y=m,_=v;if("c"===h)_=g(n)+_,n="";else{var w=(n=+n)<0;if(n=g(Math.abs(n),f),w&&0==+n&&(w=!1),y=(w?"("===u?u:"-":"-"===u||"("===u?"":u)+y,_=("s"===h?iY[8+BK/3]:"")+_+(w&&"("===u?")":""),b)for(o=-1,a=n.length;++o<a;)if(48>(s=n.charCodeAt(o))||s>57){_=(46===s?r+n.slice(o+1):n.slice(o))+_,n=n.slice(0,o);break}}p&&!d&&(n=l(n,1/0));var C=y.length+n.length+_.length,x=C<c?new Array(c-C+1).join(e):"";switch(p&&d&&(n=l(x+n,x.length?c-_.length:1/0),x=""),t){case"<":n=y+n+_+x;break;case"=":n=y+x+n+_;break;case"^":n=x.slice(0,C=x.length>>1)+y+n+_+x.slice(C);break;default:n=x+y+n+_}return i(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)),y.toString=function(){return n+""},y}return{format:u,formatPrefix:function(n,e){var t=u(((n=nY(n)).type="f",n)),l=3*Math.max(-8,Math.min(8,Math.floor($K(e)/3))),o=Math.pow(10,-l),r=iY[8+l/3];return function(n){return t(o*n)+r}}}};function uY(n){return tY=aY(n),lY=tY.format,oY=tY.formatPrefix,tY}uY({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var sY=function(n){return Math.max(0,-$K(Math.abs(n)))},dY=function(n,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($K(e)/3)))-$K(Math.abs(n)))},cY=function(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,$K(e)-$K(n))+1},pY=function(){return new fY};function fY(){this.reset()}fY.prototype={constructor:fY,reset:function(){this.s=this.t=0},add:function(n){mY(hY,n,this.t),mY(this,hY.s,this.s),this.s?this.t+=hY.t:this.s=hY.t},valueOf:function(){return this.s}};var hY=new fY;function mY(n,e,t){var l=n.s=e+t,o=l-e;n.t=e-(l-o)+(t-o)}var vY=1e-6,gY=Math.PI,bY=gY/2,yY=gY/4,_Y=2*gY,wY=180/gY,CY=gY/180,xY=Math.abs,SY=Math.atan,kY=Math.atan2,EY=Math.cos,TY=Math.ceil,RY=Math.exp,IY=(Math,Math.log),OY=Math.pow,FY=Math.sin,DY=Math.sign||function(n){return n>0?1:n<0?-1:0},MY=Math.sqrt,NY=Math.tan;function AY(n){return n>1?0:n<-1?gY:Math.acos(n)}function PY(n){return n>1?bY:n<-1?-bY:Math.asin(n)}function qY(n){return(n=FY(n/2))*n}function jY(){}function LY(n,e){n&&BY.hasOwnProperty(n.type)&&BY[n.type](n,e)}var VY={Feature:function(n,e){LY(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)LY(t[l].geometry,e)}},BY={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){zY(n.coordinates,e,0)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)zY(t[l],e,0)},Polygon:function(n,e){UY(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)UY(t[l],e)},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)LY(t[l],e)}};function zY(n,e,t){var l,o=-1,r=n.length-t;for(e.lineStart();++o<r;)e.point((l=n[o])[0],l[1],l[2]);e.lineEnd()}function UY(n,e){var t=-1,l=n.length;for(e.polygonStart();++t<l;)zY(n[t],e,1);e.polygonEnd()}var HY,ZY,WY,GY,KY,YY=function(n,e){n&&VY.hasOwnProperty(n.type)?VY[n.type](n,e):LY(n,e)},$Y=pY(),XY=pY(),QY={point:jY,lineStart:jY,lineEnd:jY,polygonStart:function(){$Y.reset(),QY.lineStart=JY,QY.lineEnd=n$},polygonEnd:function(){var n=+$Y;XY.add(n<0?_Y+n:n),this.lineStart=this.lineEnd=this.point=jY},sphere:function(){XY.add(_Y)}};function JY(){QY.point=e$}function n$(){t$(HY,ZY)}function e$(n,e){QY.point=t$,HY=n,ZY=e,WY=n*=CY,GY=EY(e=(e*=CY)/2+yY),KY=FY(e)}function t$(n,e){var t=(n*=CY)-WY,l=t>=0?1:-1,o=l*t,r=EY(e=(e*=CY)/2+yY),i=FY(e),a=KY*i,u=GY*r+a*EY(o),s=a*l*FY(o);$Y.add(kY(s,u)),WY=n,GY=r,KY=i}var l$=function(n){return XY.reset(),YY(n,QY),2*XY};function o$(n){return[kY(n[1],n[0]),PY(n[2])]}function r$(n){var e=n[0],t=n[1],l=EY(t);return[l*EY(e),l*FY(e),FY(t)]}function i$(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function a$(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 u$(n,e){n[0]+=e[0],n[1]+=e[1],n[2]+=e[2]}function s$(n,e){return[n[0]*e,n[1]*e,n[2]*e]}function d$(n){var e=MY(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=e,n[1]/=e,n[2]/=e}var c$,p$,f$,h$,m$,v$,g$,b$,y$,_$,w$=pY(),C$={point:x$,lineStart:k$,lineEnd:E$,polygonStart:function(){C$.point=T$,C$.lineStart=R$,C$.lineEnd=I$,w$.reset(),QY.polygonStart()},polygonEnd:function(){QY.polygonEnd(),C$.point=x$,C$.lineStart=k$,C$.lineEnd=E$,$Y<0?(c$=-(f$=180),p$=-(h$=90)):w$>vY?h$=90:w$<-vY&&(p$=-90),_$[0]=c$,_$[1]=f$}};function x$(n,e){y$.push(_$=[c$=n,f$=n]),e<p$&&(p$=e),e>h$&&(h$=e)}function S$(n,e){var t=r$([n*CY,e*CY]);if(b$){var l=a$(b$,t),o=a$([l[1],-l[0],0],l);d$(o),o=o$(o);var r,i=n-m$,a=i>0?1:-1,u=o[0]*wY*a,s=xY(i)>180;s^(a*m$<u&&u<a*n)?(r=o[1]*wY)>h$&&(h$=r):s^(a*m$<(u=(u+360)%360-180)&&u<a*n)?(r=-o[1]*wY)<p$&&(p$=r):(e<p$&&(p$=e),e>h$&&(h$=e)),s?n<m$?O$(c$,n)>O$(c$,f$)&&(f$=n):O$(n,f$)>O$(c$,f$)&&(c$=n):f$>=c$?(n<c$&&(c$=n),n>f$&&(f$=n)):n>m$?O$(c$,n)>O$(c$,f$)&&(f$=n):O$(n,f$)>O$(c$,f$)&&(c$=n)}else y$.push(_$=[c$=n,f$=n]);e<p$&&(p$=e),e>h$&&(h$=e),b$=t,m$=n}function k$(){C$.point=S$}function E$(){_$[0]=c$,_$[1]=f$,C$.point=x$,b$=null}function T$(n,e){if(b$){var t=n-m$;w$.add(xY(t)>180?t+(t>0?360:-360):t)}else v$=n,g$=e;QY.point(n,e),S$(n,e)}function R$(){QY.lineStart()}function I$(){T$(v$,g$),QY.lineEnd(),xY(w$)>vY&&(c$=-(f$=180)),_$[0]=c$,_$[1]=f$,b$=null}function O$(n,e){return(e-=n)<0?e+360:e}function F$(n,e){return n[0]-e[0]}function D$(n,e){return n[0]<=n[1]?n[0]<=e&&e<=n[1]:e<n[0]||n[1]<e}var M$,N$,A$,P$,q$,j$,L$,V$,B$,z$,U$,H$,Z$,W$,G$,K$,Y$=function(n){var e,t,l,o,r,i,a;if(h$=f$=-(c$=p$=1/0),y$=[],YY(n,C$),t=y$.length){for(y$.sort(F$),e=1,r=[l=y$[0]];e<t;++e)D$(l,(o=y$[e])[0])||D$(l,o[1])?(O$(l[0],o[1])>O$(l[0],l[1])&&(l[1]=o[1]),O$(o[0],l[1])>O$(l[0],l[1])&&(l[0]=o[0])):r.push(l=o);for(i=-1/0,e=0,l=r[t=r.length-1];e<=t;l=o,++e)(a=O$(l[1],(o=r[e])[0]))>i&&(i=a,c$=o[0],f$=l[1])}return y$=_$=null,c$===1/0||p$===1/0?[[NaN,NaN],[NaN,NaN]]:[[c$,p$],[f$,h$]]},$$={sphere:jY,point:X$,lineStart:J$,lineEnd:tX,polygonStart:function(){$$.lineStart=lX,$$.lineEnd=oX},polygonEnd:function(){$$.lineStart=J$,$$.lineEnd=tX}};function X$(n,e){n*=CY;var t=EY(e*=CY);Q$(t*EY(n),t*FY(n),FY(e))}function Q$(n,e,t){A$+=(n-A$)/++M$,P$+=(e-P$)/M$,q$+=(t-q$)/M$}function J$(){$$.point=nX}function nX(n,e){n*=CY;var t=EY(e*=CY);W$=t*EY(n),G$=t*FY(n),K$=FY(e),$$.point=eX,Q$(W$,G$,K$)}function eX(n,e){n*=CY;var t=EY(e*=CY),l=t*EY(n),o=t*FY(n),r=FY(e),i=kY(MY((i=G$*r-K$*o)*i+(i=K$*l-W$*r)*i+(i=W$*o-G$*l)*i),W$*l+G$*o+K$*r);N$+=i,j$+=i*(W$+(W$=l)),L$+=i*(G$+(G$=o)),V$+=i*(K$+(K$=r)),Q$(W$,G$,K$)}function tX(){$$.point=X$}function lX(){$$.point=rX}function oX(){iX(H$,Z$),$$.point=X$}function rX(n,e){H$=n,Z$=e,n*=CY,e*=CY,$$.point=iX;var t=EY(e);W$=t*EY(n),G$=t*FY(n),K$=FY(e),Q$(W$,G$,K$)}function iX(n,e){n*=CY;var t=EY(e*=CY),l=t*EY(n),o=t*FY(n),r=FY(e),i=G$*r-K$*o,a=K$*l-W$*r,u=W$*o-G$*l,s=MY(i*i+a*a+u*u),d=PY(s),c=s&&-d/s;B$+=c*i,z$+=c*a,U$+=c*u,N$+=d,j$+=d*(W$+(W$=l)),L$+=d*(G$+(G$=o)),V$+=d*(K$+(K$=r)),Q$(W$,G$,K$)}var aX=function(n){M$=N$=A$=P$=q$=j$=L$=V$=B$=z$=U$=0,YY(n,$$);var e=B$,t=z$,l=U$,o=e*e+t*t+l*l;return o<1e-12&&(e=j$,t=L$,l=V$,N$<vY&&(e=A$,t=P$,l=q$),(o=e*e+t*t+l*l)<1e-12)?[NaN,NaN]:[kY(t,e)*wY,PY(l/MY(o))*wY]},uX=function(n){return function(){return n}},sX=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 dX(n,e){return[n>gY?n-_Y:n<-gY?n+_Y:n,e]}function cX(n,e,t){return(n%=_Y)?e||t?sX(fX(n),hX(e,t)):fX(n):e||t?hX(e,t):dX}function pX(n){return function(e,t){return[(e+=n)>gY?e-_Y:e<-gY?e+_Y:e,t]}}function fX(n){var e=pX(n);return e.invert=pX(-n),e}function hX(n,e){var t=EY(n),l=FY(n),o=EY(e),r=FY(e);function i(n,e){var i=EY(e),a=EY(n)*i,u=FY(n)*i,s=FY(e),d=s*t+a*l;return[kY(u*o-d*r,a*t-s*l),PY(d*o+u*r)]}return i.invert=function(n,e){var i=EY(e),a=EY(n)*i,u=FY(n)*i,s=FY(e),d=s*o-u*r;return[kY(u*o+s*r,a*t+d*l),PY(d*t-a*l)]},i}dX.invert=dX;var mX=function(n){function e(e){return(e=n(e[0]*CY,e[1]*CY))[0]*=wY,e[1]*=wY,e}return n=cX(n[0]*CY,n[1]*CY,n.length>2?n[2]*CY:0),e.invert=function(e){return(e=n.invert(e[0]*CY,e[1]*CY))[0]*=wY,e[1]*=wY,e},e};function vX(n,e,t,l,o,r){if(t){var i=EY(e),a=FY(e),u=l*t;null==o?(o=e+l*_Y,r=e-u/2):(o=gX(i,o),r=gX(i,r),(l>0?o<r:o>r)&&(o+=l*_Y));for(var s,d=o;l>0?d>r:d<r;d-=u)s=o$([i,-a*EY(d),-a*FY(d)]),n.point(s[0],s[1])}}function gX(n,e){(e=r$(e))[0]-=n,d$(e);var t=AY(-e[1]);return((-e[2]<0?-t:t)+_Y-vY)%_Y}var bX=function(){var n,e,t=uX([0,0]),l=uX(90),o=uX(6),r={point:function(t,l){n.push(t=e(t,l)),t[0]*=wY,t[1]*=wY}};function i(){var i=t.apply(this,arguments),a=l.apply(this,arguments)*CY,u=o.apply(this,arguments)*CY;return n=[],e=cX(-i[0]*CY,-i[1]*CY,0).invert,vX(r,a,u,1),i={type:"Polygon",coordinates:[n]},n=e=null,i}return i.center=function(n){return arguments.length?(t="function"==typeof n?n:uX([+n[0],+n[1]]),i):t},i.radius=function(n){return arguments.length?(l="function"==typeof n?n:uX(+n),i):l},i.precision=function(n){return arguments.length?(o="function"==typeof n?n:uX(+n),i):o},i},yX=function(){var n,e=[];return{point:function(e,t){n.push([e,t])},lineStart:function(){e.push(n=[])},lineEnd:jY,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var t=e;return e=[],n=null,t}}},_X=function(n,e){return xY(n[0]-e[0])<vY&&xY(n[1]-e[1])<vY};function wX(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 CX=function(n,e,t,l,o){var r,i,a=[],u=[];if(n.forEach(function(n){if(!((e=n.length-1)<=0)){var e,t,l=n[0],i=n[e];if(_X(l,i)){for(o.lineStart(),r=0;r<e;++r)o.point((l=n[r])[0],l[1]);o.lineEnd()}else a.push(t=new wX(l,n,null,!0)),u.push(t.o=new wX(l,null,t,!1)),a.push(t=new wX(i,n,null,!1)),u.push(t.o=new wX(i,null,t,!0))}}),a.length){for(u.sort(e),xX(a),xX(u),r=0,i=u.length;r<i;++r)u[r].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(r=0,i=s.length;r<i;++r)o.point((d=s[r])[0],d[1]);else l(p.x,p.n.x,1,o);p=p.n}else{if(f)for(r=(s=p.p.z).length-1;r>=0;--r)o.point((d=s[r])[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 xX(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 SX=pY(),kX=function(n,e){var t=e[0],l=e[1],o=FY(l),r=[FY(t),-EY(t),0],i=0,a=0;SX.reset(),1===o?l=bY+vY:-1===o&&(l=-bY-vY);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+yY,m=FY(h),v=EY(h),g=0;g<c;++g,f=y,m=w,v=C,p=b){var b=d[g],y=b[0],_=b[1]/2+yY,w=FY(_),C=EY(_),x=y-f,S=x>=0?1:-1,k=S*x,E=k>gY,T=m*w;if(SX.add(kY(T*S*FY(k),v*C+T*EY(k))),i+=E?x+S*_Y:x,E^f>=t^y>=t){var R=a$(r$(p),r$(b));d$(R);var I=a$(r,R);d$(I);var O=(E^x>=0?-1:1)*PY(I[2]);(l>O||l===O&&(R[0]||R[1]))&&(a+=E^x>=0?1:-1)}}return(i<-vY||i<vY&&SX<-vY)^1&a},EX=function(n,e,t,l){return function(o){var r,i,a,u=e(o),s=yX(),d=e(s),c=!1,p={point:f,lineStart:m,lineEnd:v,polygonStart:function(){p.point=g,p.lineStart=b,p.lineEnd=y,i=[],r=[]},polygonEnd:function(){p.point=f,p.lineStart=m,p.lineEnd=v,i=wZ(i);var n=kX(r,l);i.length?(c||(o.polygonStart(),c=!0),CX(i,RX,n,t,o)):n&&(c||(o.polygonStart(),c=!0),o.lineStart(),t(null,null,1,o),o.lineEnd()),c&&(o.polygonEnd(),c=!1),i=r=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 y(){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(),r.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())),i.push(p.filter(TX))}return p}};function TX(n){return n.length>1}function RX(n,e){return((n=n.x)[0]<0?n[1]-bY-vY:bY-n[1])-((e=e.x)[0]<0?e[1]-bY-vY:bY-e[1])}var IX=EX(function(){return!0},function(n){var e,t=NaN,l=NaN,o=NaN;return{lineStart:function(){n.lineStart(),e=1},point:function(r,i){var a=r>0?gY:-gY,u=xY(r-t);xY(u-gY)<vY?(n.point(t,l=(l+i)/2>0?bY:-bY),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),n.point(r,l),e=0):o!==a&&u>=gY&&(xY(t-o)<vY&&(t-=o*vY),xY(r-a)<vY&&(r-=a*vY),l=function(n,e,t,l){var o,r,i=FY(n-t);return xY(i)>vY?SY((FY(e)*(r=EY(l))*FY(t)-FY(l)*(o=EY(e))*FY(n))/(o*r*i)):(e+l)/2}(t,l,r,i),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),e=0),n.point(t=r,l=i),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(-gY,o=t*bY),l.point(0,o),l.point(gY,o),l.point(gY,0),l.point(gY,-o),l.point(0,-o),l.point(-gY,-o),l.point(-gY,0),l.point(-gY,o);else if(xY(n[0]-e[0])>vY){var r=n[0]<e[0]?gY:-gY;l.point(-r,o=t*r/2),l.point(0,o),l.point(r,o)}else l.point(e[0],e[1])},[-gY,-bY]),OX=function(n){var e=EY(n),t=6*CY,l=e>0,o=xY(e)>vY;function r(n,t){return EY(n)*EY(t)>e}function i(n,t,l){var o=[1,0,0],r=a$(r$(n),r$(t)),i=i$(r,r),a=r[0],u=i-a*a;if(!u)return!l&&n;var s=e*i/u,d=-e*a/u,c=a$(o,r),p=s$(o,s);u$(p,s$(r,d));var f=c,h=i$(p,f),m=i$(f,f),v=h*h-m*(i$(p,p)-1);if(!(v<0)){var g=MY(v),b=s$(f,(-h-g)/m);if(u$(b,p),b=o$(b),!l)return b;var y,_=n[0],w=t[0],C=n[1],x=t[1];w<_&&(y=_,_=w,w=y);var S=w-_,k=xY(S-gY)<vY;if(!k&&x<C&&(y=C,C=x,x=y),k||S<vY?k?C+x>0^b[1]<(xY(b[0]-_)<vY?C:x):C<=b[1]&&b[1]<=x:S>gY^(_<=b[0]&&b[0]<=w)){var E=s$(f,(-h+g)/m);return u$(E,p),[b,o$(E)]}}}function a(e,t){var o=l?n:gY-n,r=0;return e<-o?r|=1:e>o&&(r|=2),t<-o?r|=4:t>o&&(r|=8),r}return EX(r,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=r(c,p),v=l?m?0:a(c,p):m?a(c+(c<0?gY:-gY),p):0;if(!e&&(s=u=m)&&n.lineStart(),m!==u&&(!(f=i(e,h))||_X(e,f)||_X(h,f))&&(h[0]+=vY,h[1]+=vY,m=r(h[0],h[1])),m!==u)d=0,m?(n.lineStart(),f=i(h,e),n.point(f[0],f[1])):(f=i(e,h),n.point(f[0],f[1]),n.lineEnd()),e=f;else if(o&&e&&l^m){var g;v&t||!(g=i(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&&_X(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,r){vX(r,n,t,o,e,l)},l?[0,-n]:[-gY,n-gY])},FX=function(n,e,t,l,o,r){var i,a=n[0],u=n[1],s=0,d=1,c=e[0]-a,p=e[1]-u;if(i=t-a,c||!(i>0)){if(i/=c,c<0){if(i<s)return;i<d&&(d=i)}else if(c>0){if(i>d)return;i>s&&(s=i)}if(i=o-a,c||!(i<0)){if(i/=c,c<0){if(i>d)return;i>s&&(s=i)}else if(c>0){if(i<s)return;i<d&&(d=i)}if(i=l-u,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<d&&(d=i)}else if(p>0){if(i>d)return;i>s&&(s=i)}if(i=r-u,p||!(i<0)){if(i/=p,p<0){if(i>d)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<d&&(d=i)}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}}}}},DX=1e9,MX=-DX;function NX(n,e,t,l){function o(o,r){return n<=o&&o<=t&&e<=r&&r<=l}function r(o,r,a,s){var d=0,c=0;if(null==o||(d=i(o,a))!==(c=i(r,a))||u(o,r)<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(r[0],r[1])}function i(l,o){return xY(l[0]-n)<vY?o>0?0:3:xY(l[0]-t)<vY?o>0?2:1:xY(l[1]-e)<vY?o>0?1:0:o>0?3:2}function a(n,e){return u(n.x,e.x)}function u(n,e){var t=i(n,1),l=i(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(i){var u,s,d,c,p,f,h,m,v,g,b,y=i,_=yX(),w={point:C,lineStart:function(){w.point=x,s&&s.push(d=[]),g=!0,v=!1,h=m=NaN},lineEnd:function(){u&&(x(c,p),f&&v&&_.rejoin(),u.push(_.result())),w.point=C,v&&y.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 r,i,a=s[t],u=1,d=a.length,c=a[0],p=c[0],f=c[1];u<d;++u)r=p,i=f,p=(c=a[u])[0],f=c[1],i<=l?f>l&&(p-r)*(l-i)>(f-i)*(n-r)&&++e:f<=l&&(p-r)*(l-i)<(f-i)*(n-r)&&--e;return e}(),t=b&&e,o=(u=wZ(u)).length;(t||o)&&(i.polygonStart(),t&&(i.lineStart(),r(null,null,1,i),i.lineEnd()),o&&CX(u,a,e,r,i),i.polygonEnd()),y=i,u=s=d=null}};function C(n,e){o(n,e)&&y.point(n,e)}function x(r,i){var a=o(r,i);if(s&&d.push([r,i]),g)c=r,p=i,f=a,g=!1,a&&(y.lineStart(),y.point(r,i));else if(a&&v)y.point(r,i);else{var u=[h=Math.max(MX,Math.min(DX,h)),m=Math.max(MX,Math.min(DX,m))],_=[r=Math.max(MX,Math.min(DX,r)),i=Math.max(MX,Math.min(DX,i))];FX(u,_,n,e,t,l)?(v||(y.lineStart(),y.point(u[0],u[1])),y.point(_[0],_[1]),a||y.lineEnd(),b=!1):a&&(y.lineStart(),y.point(r,i),b=!1)}h=r,m=i,v=a}return w}}var AX,PX,qX,jX=function(){var n,e,t,l=0,o=0,r=960,i=500;return t={stream:function(t){return n&&e===t?n:n=NX(l,o,r,i)(e=t)},extent:function(a){return arguments.length?(l=+a[0][0],o=+a[0][1],r=+a[1][0],i=+a[1][1],n=e=null,t):[[l,o],[r,i]]}}},LX=pY(),VX={sphere:jY,point:jY,lineStart:function(){VX.point=zX,VX.lineEnd=BX},lineEnd:jY,polygonStart:jY,polygonEnd:jY};function BX(){VX.point=VX.lineEnd=jY}function zX(n,e){AX=n*=CY,PX=FY(e*=CY),qX=EY(e),VX.point=UX}function UX(n,e){n*=CY;var t=FY(e*=CY),l=EY(e),o=xY(n-AX),r=EY(o),i=l*FY(o),a=qX*t-PX*l*r,u=PX*t+qX*l*r;LX.add(kY(MY(i*i+a*a),u)),AX=n,PX=t,qX=l}var HX=function(n){return LX.reset(),YY(n,VX),+LX},ZX=[null,null],WX={type:"LineString",coordinates:ZX},GX=function(n,e){return ZX[0]=n,ZX[1]=e,HX(WX)},KX={Feature:function(n,e){return $X(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)if($X(t[l].geometry,e))return!0;return!1}},YX={Sphere:function(){return!0},Point:function(n,e){return XX(n.coordinates,e)},MultiPoint:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(XX(t[l],e))return!0;return!1},LineString:function(n,e){return QX(n.coordinates,e)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(QX(t[l],e))return!0;return!1},Polygon:function(n,e){return JX(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(JX(t[l],e))return!0;return!1},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)if($X(t[l],e))return!0;return!1}};function $X(n,e){return!(!n||!YX.hasOwnProperty(n.type))&&YX[n.type](n,e)}function XX(n,e){return 0===GX(n,e)}function QX(n,e){var t=GX(n[0],n[1]);return GX(n[0],e)+GX(e,n[1])<=t+vY}function JX(n,e){return!!kX(n.map(nQ),eQ(e))}function nQ(n){return(n=n.map(eQ)).pop(),n}function eQ(n){return[n[0]*CY,n[1]*CY]}var tQ=function(n,e){return(n&&KX.hasOwnProperty(n.type)?KX[n.type]:$X)(n,e)};function lQ(n,e,t){var l=iZ(n,e-vY,t).concat(e);return function(n){return l.map(function(e){return[n,e]})}}function oQ(n,e,t){var l=iZ(n,e-vY,t).concat(e);return function(n){return l.map(function(e){return[e,n]})}}function rQ(){var n,e,t,l,o,r,i,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 iZ(TY(l/h)*h,t,h).map(d).concat(iZ(TY(a/m)*m,i,m).map(c)).concat(iZ(TY(e/p)*p,n,p).filter(function(n){return xY(n%h)>vY}).map(u)).concat(iZ(TY(r/f)*f,o,f).filter(function(n){return xY(n%m)>vY}).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(i).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],i=+n[1][1],(l=+n[0][0])>(t=+n[1][0])&&(n=l,l=t,t=n),a>i&&(n=a,a=i,i=n),g.precision(v)):[[l,a],[t,i]]},g.extentMinor=function(t){return arguments.length?(r=+t[0][1],o=+t[1][1],(e=+t[0][0])>(n=+t[1][0])&&(t=e,e=n,n=t),r>o&&(t=r,r=o,o=t),g.precision(v)):[[e,r],[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=lQ(r,o,90),s=oQ(e,n,v),d=lQ(a,i,90),c=oQ(l,t,v),g):v},g.extentMajor([[-180,-90+vY],[180,90-vY]]).extentMinor([[-180,-80-vY],[180,80+vY]])}function iQ(){return rQ()()}var aQ,uQ,sQ,dQ,cQ=function(n,e){var t=n[0]*CY,l=n[1]*CY,o=e[0]*CY,r=e[1]*CY,i=EY(l),a=FY(l),u=EY(r),s=FY(r),d=i*EY(t),c=i*FY(t),p=u*EY(o),f=u*FY(o),h=2*PY(MY(qY(r-l)+i*u*qY(o-t))),m=FY(h),v=h?function(n){var e=FY(n*=h)/m,t=FY(h-n)/m,l=t*d+e*p,o=t*c+e*f,r=t*a+e*s;return[kY(o,l)*wY,kY(r,MY(l*l+o*o))*wY]}:function(){return[t*wY,l*wY]};return v.distance=h,v},pQ=function(n){return n},fQ=pY(),hQ=pY(),mQ={point:jY,lineStart:jY,lineEnd:jY,polygonStart:function(){mQ.lineStart=vQ,mQ.lineEnd=yQ},polygonEnd:function(){mQ.lineStart=mQ.lineEnd=mQ.point=jY,fQ.add(xY(hQ)),hQ.reset()},result:function(){var n=fQ/2;return fQ.reset(),n}};function vQ(){mQ.point=gQ}function gQ(n,e){mQ.point=bQ,aQ=sQ=n,uQ=dQ=e}function bQ(n,e){hQ.add(dQ*n-sQ*e),sQ=n,dQ=e}function yQ(){bQ(aQ,uQ)}var _Q,wQ,CQ,xQ,SQ=mQ,kQ=1/0,EQ=kQ,TQ=-kQ,RQ=TQ,IQ={point:function(n,e){n<kQ&&(kQ=n),n>TQ&&(TQ=n),e<EQ&&(EQ=e),e>RQ&&(RQ=e)},lineStart:jY,lineEnd:jY,polygonStart:jY,polygonEnd:jY,result:function(){var n=[[kQ,EQ],[TQ,RQ]];return TQ=RQ=-(EQ=kQ=1/0),n}},OQ=0,FQ=0,DQ=0,MQ=0,NQ=0,AQ=0,PQ=0,qQ=0,jQ=0,LQ={point:VQ,lineStart:BQ,lineEnd:HQ,polygonStart:function(){LQ.lineStart=ZQ,LQ.lineEnd=WQ},polygonEnd:function(){LQ.point=VQ,LQ.lineStart=BQ,LQ.lineEnd=HQ},result:function(){var n=jQ?[PQ/jQ,qQ/jQ]:AQ?[MQ/AQ,NQ/AQ]:DQ?[OQ/DQ,FQ/DQ]:[NaN,NaN];return OQ=FQ=DQ=MQ=NQ=AQ=PQ=qQ=jQ=0,n}};function VQ(n,e){OQ+=n,FQ+=e,++DQ}function BQ(){LQ.point=zQ}function zQ(n,e){LQ.point=UQ,VQ(CQ=n,xQ=e)}function UQ(n,e){var t=n-CQ,l=e-xQ,o=MY(t*t+l*l);MQ+=o*(CQ+n)/2,NQ+=o*(xQ+e)/2,AQ+=o,VQ(CQ=n,xQ=e)}function HQ(){LQ.point=VQ}function ZQ(){LQ.point=GQ}function WQ(){KQ(_Q,wQ)}function GQ(n,e){LQ.point=KQ,VQ(_Q=CQ=n,wQ=xQ=e)}function KQ(n,e){var t=n-CQ,l=e-xQ,o=MY(t*t+l*l);MQ+=o*(CQ+n)/2,NQ+=o*(xQ+e)/2,AQ+=o,PQ+=(o=xQ*n-CQ*e)*(CQ+n),qQ+=o*(xQ+e),jQ+=3*o,VQ(CQ=n,xQ=e)}var YQ=LQ;function $Q(n){this._context=n}$Q.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,_Y)}},result:jY};var XQ,QQ,JQ,nJ,eJ,tJ=pY(),lJ={point:jY,lineStart:function(){lJ.point=oJ},lineEnd:function(){XQ&&rJ(QQ,JQ),lJ.point=jY},polygonStart:function(){XQ=!0},polygonEnd:function(){XQ=null},result:function(){var n=+tJ;return tJ.reset(),n}};function oJ(n,e){lJ.point=rJ,QQ=nJ=n,JQ=eJ=e}function rJ(n,e){tJ.add(MY((nJ-=n)*nJ+(eJ-=e)*eJ)),nJ=n,eJ=e}var iJ=lJ;function aJ(){this._string=[]}function uJ(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}aJ.prototype={_radius:4.5,_circle:uJ(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=uJ(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 sJ=function(n,e){var t,l,o=4.5;function r(n){return n&&("function"==typeof o&&l.pointRadius(+o.apply(this,arguments)),YY(n,t(l))),l.result()}return r.area=function(n){return YY(n,t(SQ)),SQ.result()},r.measure=function(n){return YY(n,t(iJ)),iJ.result()},r.bounds=function(n){return YY(n,t(IQ)),IQ.result()},r.centroid=function(n){return YY(n,t(YQ)),YQ.result()},r.projection=function(e){return arguments.length?(t=null==e?(n=null,pQ):(n=e).stream,r):n},r.context=function(n){return arguments.length?(l=null==n?(e=null,new aJ):new $Q(e=n),"function"!=typeof o&&l.pointRadius(o),r):e},r.pointRadius=function(n){return arguments.length?(o="function"==typeof n?n:(l.pointRadius(+n),+n),r):o},r.projection(n).context(e)},dJ=function(n){return{stream:cJ(n)}};function cJ(n){return function(e){var t=new pJ;for(var l in n)t[l]=n[l];return t.stream=e,t}}function pJ(){}function fJ(n,e,t){var l=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=l&&n.clipExtent(null),YY(t,n.stream(IQ)),e(IQ.result()),null!=l&&n.clipExtent(l),n}function hJ(n,e,t){return fJ(n,function(t){var l=e[1][0]-e[0][0],o=e[1][1]-e[0][1],r=Math.min(l/(t[1][0]-t[0][0]),o/(t[1][1]-t[0][1])),i=+e[0][0]+(l-r*(t[1][0]+t[0][0]))/2,a=+e[0][1]+(o-r*(t[1][1]+t[0][1]))/2;n.scale(150*r).translate([i,a])},t)}function mJ(n,e,t){return hJ(n,[[0,0],e],t)}function vJ(n,e,t){return fJ(n,function(t){var l=+e,o=l/(t[1][0]-t[0][0]),r=(l-o*(t[1][0]+t[0][0]))/2,i=-o*t[0][1];n.scale(150*o).translate([r,i])},t)}function gJ(n,e,t){return fJ(n,function(t){var l=+e,o=l/(t[1][1]-t[0][1]),r=-o*t[0][0],i=(l-o*(t[1][1]+t[0][1]))/2;n.scale(150*o).translate([r,i])},t)}pJ.prototype={constructor:pJ,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 bJ=16,yJ=EY(30*CY),_J=function(n,e){return+e?function(n,e){function t(l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=s-l,b=d-o,y=g*g+b*b;if(y>4*e&&m--){var _=i+p,w=a+f,C=u+h,x=MY(_*_+w*w+C*C),S=PY(C/=x),k=xY(xY(C)-1)<vY||xY(r-c)<vY?(r+c)/2:kY(w,_),E=n(k,S),T=E[0],R=E[1],I=T-l,O=R-o,F=b*I-g*O;(F*F/y>e||xY((g*I+b*O)/y-.5)>.3||i*p+a*f+u*h<yJ)&&(t(l,o,r,i,a,u,T,R,k,_/=x,w/=x,C,m,v),v.point(T,R),t(T,R,k,_,w,C,s,d,c,p,f,h,m,v))}}return function(e){var l,o,r,i,a,u,s,d,c,p,f,h,m={point:v,lineStart:g,lineEnd:y,polygonStart:function(){e.polygonStart(),m.lineStart=_},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 r=r$([l,o]),i=n(l,o);t(d,c,s,p,f,h,d=i[0],c=i[1],s=l,p=r[0],f=r[1],h=r[2],bJ,e),e.point(d,c)}function y(){m.point=v,e.lineEnd()}function _(){g(),m.point=w,m.lineEnd=C}function w(n,e){b(l=n,e),o=d,r=c,i=p,a=f,u=h,m.point=b}function C(){t(d,c,s,p,f,h,o,r,l,i,a,u,bJ,e),m.lineEnd=y,y()}return m}}(n,e):function(n){return cJ({point:function(e,t){e=n(e,t),this.stream.point(e[0],e[1])}})}(n)},wJ=cJ({point:function(n,e){this.stream.point(n*CY,e*CY)}});function CJ(n,e,t,l){var o=EY(l),r=FY(l),i=o*n,a=r*n,u=o/n,s=r/n,d=(r*t-o*e)/n,c=(r*e+o*t)/n;function p(n,l){return[i*n-a*l+e,t-a*n-i*l]}return p.invert=function(n,e){return[u*n-s*e+d,c-s*n-u*e]},p}function xJ(n){return SJ(function(){return n})()}function SJ(n){var e,t,l,o,r,i,a,u,s,d,c=150,p=480,f=250,h=0,m=0,v=0,g=0,b=0,y=0,_=null,w=IX,C=null,x=pQ,S=.5;function k(n){return u(n[0]*CY,n[1]*CY)}function E(n){return(n=u.invert(n[0],n[1]))&&[n[0]*wY,n[1]*wY]}function T(){var n=CJ(c,0,0,y).apply(null,e(h,m)),l=(y?CJ:function(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})(c,p-n[0],f-n[1],y);return t=cX(v,g,b),a=sX(e,l),u=sX(t,a),i=_J(a,S),R()}function R(){return s=d=null,k}return k.stream=function(n){return s&&d===n?s:s=wJ(function(n){return cJ({point:function(e,t){var l=n(e,t);return this.stream.point(l[0],l[1])}})}(t)(w(i(x(d=n)))))},k.preclip=function(n){return arguments.length?(w=n,_=void 0,R()):w},k.postclip=function(n){return arguments.length?(x=n,C=l=o=r=null,R()):x},k.clipAngle=function(n){return arguments.length?(w=+n?OX(_=n*CY):(_=null,IX),R()):_*wY},k.clipExtent=function(n){return arguments.length?(x=null==n?(C=l=o=r=null,pQ):NX(C=+n[0][0],l=+n[0][1],o=+n[1][0],r=+n[1][1]),R()):null==C?null:[[C,l],[o,r]]},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*CY,m=n[1]%360*CY,T()):[h*wY,m*wY]},k.rotate=function(n){return arguments.length?(v=n[0]%360*CY,g=n[1]%360*CY,b=n.length>2?n[2]%360*CY:0,T()):[v*wY,g*wY,b*wY]},k.angle=function(n){return arguments.length?(y=n%360*CY,T()):y*wY},k.precision=function(n){return arguments.length?(i=_J(a,S=n*n),R()):MY(S)},k.fitExtent=function(n,e){return hJ(k,n,e)},k.fitSize=function(n,e){return mJ(k,n,e)},k.fitWidth=function(n,e){return vJ(k,n,e)},k.fitHeight=function(n,e){return gJ(k,n,e)},function(){return e=n.apply(this,arguments),k.invert=e.invert&&E,T()}}function kJ(n){var e=0,t=gY/3,l=SJ(n),o=l(e,t);return o.parallels=function(n){return arguments.length?l(e=n[0]*CY,t=n[1]*CY):[e*wY,t*wY]},o}function EJ(n,e){var t=FY(n),l=(t+FY(e))/2;if(xY(l)<vY)return function(e){var t=EY(n);function l(n,e){return[n*t,FY(e)/t]}return l.invert=function(n,e){return[n/t,PY(e*t)]},l}();var o=1+t*(2*l-t),r=MY(o)/l;function i(n,e){var t=MY(o-2*l*FY(e))/l;return[t*FY(n*=l),r-t*EY(n)]}return i.invert=function(n,e){var t=r-e;return[kY(n,xY(t))/l*DY(t),PY((o-(n*n+t*t)*l*l)/(2*l))]},i}var TJ=function(){return kJ(EJ).scale(155.424).center([0,33.6442])},RJ=function(){return TJ().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},IJ=function(){var n,e,t,l,o,r,i=RJ(),a=TJ().rotate([154,0]).center([-2,58.5]).parallels([55,65]),u=TJ().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(n,e){r=[n,e]}};function d(n){var e=n[0],i=n[1];return r=null,t.point(e,i),r||(l.point(e,i),r)||(o.point(e,i),r)}function c(){return n=e=null,d}return d.invert=function(n){var e=i.scale(),t=i.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:i).invert(n)},d.stream=function(t){return n&&e===t?n:(l=[i.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?(i.precision(n),a.precision(n),u.precision(n),c()):i.precision()},d.scale=function(n){return arguments.length?(i.scale(n),a.scale(.35*n),u.scale(n),d.translate(i.translate())):i.scale()},d.translate=function(n){if(!arguments.length)return i.translate();var e=i.scale(),r=+n[0],d=+n[1];return t=i.translate(n).clipExtent([[r-.455*e,d-.238*e],[r+.455*e,d+.238*e]]).stream(s),l=a.translate([r-.307*e,d+.201*e]).clipExtent([[r-.425*e+vY,d+.12*e+vY],[r-.214*e-vY,d+.234*e-vY]]).stream(s),o=u.translate([r-.205*e,d+.212*e]).clipExtent([[r-.214*e+vY,d+.166*e+vY],[r-.115*e-vY,d+.234*e-vY]]).stream(s),c()},d.fitExtent=function(n,e){return hJ(d,n,e)},d.fitSize=function(n,e){return mJ(d,n,e)},d.fitWidth=function(n,e){return vJ(d,n,e)},d.fitHeight=function(n,e){return gJ(d,n,e)},d.scale(1070)};function OJ(n){return function(e,t){var l=EY(e),o=EY(t),r=n(l*o);return[r*o*FY(e),r*FY(t)]}}function FJ(n){return function(e,t){var l=MY(e*e+t*t),o=n(l),r=FY(o),i=EY(o);return[kY(e*r,l*i),PY(l&&t*r/l)]}}var DJ=OJ(function(n){return MY(2/(1+n))});DJ.invert=FJ(function(n){return 2*PY(n/2)});var MJ=function(){return xJ(DJ).scale(124.75).clipAngle(179.999)},NJ=OJ(function(n){return(n=AY(n))&&n/FY(n)});NJ.invert=FJ(function(n){return n});var AJ=function(){return xJ(NJ).scale(79.4188).clipAngle(179.999)};function PJ(n,e){return[n,IY(NY((bY+e)/2))]}PJ.invert=function(n,e){return[n,2*SY(RY(e))-bY]};var qJ=function(){return jJ(PJ).scale(961/_Y)};function jJ(n){var e,t,l,o=xJ(n),r=o.center,i=o.scale,a=o.translate,u=o.clipExtent,s=null;function d(){var r=gY*i(),a=o(mX(o.rotate()).invert([0,0]));return u(null==s?[[a[0]-r,a[1]-r],[a[0]+r,a[1]+r]]:n===PJ?[[Math.max(a[0]-r,s),e],[Math.min(a[0]+r,t),l]]:[[s,Math.max(a[1]-r,e)],[t,Math.min(a[1]+r,l)]])}return o.scale=function(n){return arguments.length?(i(n),d()):i()},o.translate=function(n){return arguments.length?(a(n),d()):a()},o.center=function(n){return arguments.length?(r(n),d()):r()},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 LJ(n){return NY((bY+n)/2)}function VJ(n,e){var t=EY(n),l=n===e?FY(n):IY(t/EY(e))/IY(LJ(e)/LJ(n)),o=t*OY(LJ(n),l)/l;if(!l)return PJ;function r(n,e){o>0?e<-bY+vY&&(e=-bY+vY):e>bY-vY&&(e=bY-vY);var t=o/OY(LJ(e),l);return[t*FY(l*n),o-t*EY(l*n)]}return r.invert=function(n,e){var t=o-e,r=DY(l)*MY(n*n+t*t);return[kY(n,xY(t))/l*DY(t),2*SY(OY(o/r,1/l))-bY]},r}var BJ=function(){return kJ(VJ).scale(109.5).parallels([30,30])};function zJ(n,e){return[n,e]}zJ.invert=zJ;var UJ=function(){return xJ(zJ).scale(152.63)};function HJ(n,e){var t=EY(n),l=n===e?FY(n):(t-EY(e))/(e-n),o=t/l+n;if(xY(l)<vY)return zJ;function r(n,e){var t=o-e,r=l*n;return[t*FY(r),o-t*EY(r)]}return r.invert=function(n,e){var t=o-e;return[kY(n,xY(t))/l*DY(t),o-DY(l)*MY(n*n+t*t)]},r}var ZJ=function(){return kJ(HJ).scale(131.154).center([0,13.9389])};function WJ(n,e){var t=EY(e),l=EY(n)*t;return[t*FY(n)/l,FY(e)/l]}WJ.invert=FJ(SY);var GJ=function(){return xJ(WJ).scale(144.049).clipAngle(60)};function KJ(n,e,t,l){return 1===n&&1===e&&0===t&&0===l?pQ:cJ({point:function(o,r){this.stream.point(o*n+t,r*e+l)}})}var YJ=function(){var n,e,t,l,o,r,i=1,a=0,u=0,s=1,d=1,c=pQ,p=null,f=pQ;function h(){return l=o=null,r}return r={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,pQ):NX(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=KJ((i=+n)*s,i*d,a,u),h()):i},translate:function(n){return arguments.length?(c=KJ(i*s,i*d,a=+n[0],u=+n[1]),h()):[a,u]},reflectX:function(n){return arguments.length?(c=KJ(i*(s=n?-1:1),i*d,a,u),h()):s<0},reflectY:function(n){return arguments.length?(c=KJ(i*s,i*(d=n?-1:1),a,u),h()):d<0},fitExtent:function(n,e){return hJ(r,n,e)},fitSize:function(n,e){return mJ(r,n,e)},fitWidth:function(n,e){return vJ(r,n,e)},fitHeight:function(n,e){return gJ(r,n,e)}}};function $J(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)))]}$J.invert=function(n,e){var t,l=e,o=25;do{var r=l*l,i=r*r;l-=t=(l*(1.007226+r*(.015085+i*(.028874*r-.044475-.005916*i)))-e)/(1.007226+r*(.045255+i*(.259866*r-.311325-.005916*11*i)))}while(xY(t)>vY&&--o>0);return[n/(.8707+(r=l*l)*(r*(r*r*r*(.003971-.001529*r)-.013791)-.131979)),l]};var XJ=function(){return xJ($J).scale(175.295)};function QJ(n,e){return[EY(e)*FY(n),FY(e)]}QJ.invert=FJ(PY);var JJ=function(){return xJ(QJ).scale(249.5).clipAngle(90+vY)};function n0(n,e){var t=EY(e),l=1+EY(n)*t;return[t*FY(n)/l,FY(e)/l]}n0.invert=FJ(function(n){return 2*SY(n)});var e0=function(){return xJ(n0).scale(250).clipAngle(142)};function t0(n,e){return[IY(NY((bY+e)/2)),-n]}t0.invert=function(n,e){return[-e,2*SY(RY(n))-bY]};var l0=function(){var n=jJ(t0),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 o0(n,e){return n.parent===e.parent?1:2}function r0(n,e){return n+e.x}function i0(n,e){return Math.max(n,e.y)}var a0=function(){var n=o0,e=1,t=1,l=!1;function o(o){var r,i=0;o.eachAfter(function(e){var t=e.children;t?(e.x=function(n){return n.reduce(r0,0)/n.length}(t),e.y=function(n){return 1+n.reduce(i0,0)}(t)):(e.x=r?i+=n(e,r):0,e.y=0,r=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 u0(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 s0(n,e){var t,l,o,r,i,a=new f0(n),u=+n.value&&(a.value=n.value),s=[a];for(null==e&&(e=d0);t=s.pop();)if(u&&(t.value=+t.data.value),(o=e(t.data))&&(i=o.length))for(t.children=new Array(i),r=i-1;r>=0;--r)s.push(l=t.children[r]=new f0(o[r])),l.parent=t,l.depth=t.depth+1;return a.eachBefore(p0)}function d0(n){return n.children}function c0(n){n.data=n.data.data}function p0(n){var e=0;do{n.height=e}while((n=n.parent)&&n.height<++e)}function f0(n){this.data=n,this.depth=this.height=0,this.parent=null}f0.prototype=s0.prototype={constructor:f0,count:function(){return this.eachAfter(u0)},each:function(n){var e,t,l,o,r=this,i=[r];do{for(e=i.reverse(),i=[];r=e.pop();)if(n(r),t=r.children)for(l=0,o=t.length;l<o;++l)i.push(t[l])}while(i.length);return this},eachAfter:function(n){for(var e,t,l,o=this,r=[o],i=[];o=r.pop();)if(i.push(o),e=o.children)for(t=0,l=e.length;t<l;++t)r.push(e[t]);for(;o=i.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 s0(this).eachBefore(c0)}};var h0=Array.prototype.slice,m0=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}(h0.call(n))).length,r=[];l<o;)e=n[l],t&&b0(t,e)?++l:(t=_0(r=v0(r,e)),l=0);return t};function v0(n,e){var t,l;if(y0(e,n))return[e];for(t=0;t<n.length;++t)if(g0(e,n[t])&&y0(w0(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(g0(w0(n[t],n[l]),e)&&g0(w0(n[t],e),n[l])&&g0(w0(n[l],e),n[t])&&y0(C0(n[t],n[l],e),n))return[n[t],n[l],e];throw new Error}function g0(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 b0(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 y0(n,e){for(var t=0;t<e.length;++t)if(!b0(n,e[t]))return!1;return!0}function _0(n){switch(n.length){case 1:return{x:(e=n[0]).x,y:e.y,r:e.r};case 2:return w0(n[0],n[1]);case 3:return C0(n[0],n[1],n[2])}var e}function w0(n,e){var t=n.x,l=n.y,o=n.r,r=e.x,i=e.y,a=e.r,u=r-t,s=i-l,d=a-o,c=Math.sqrt(u*u+s*s);return{x:(t+r+u/c*d)/2,y:(l+i+s/c*d)/2,r:(c+o+a)/2}}function C0(n,e,t){var l=n.x,o=n.y,r=n.r,i=e.x,a=e.y,u=e.r,s=t.x,d=t.y,c=t.r,p=l-i,f=l-s,h=o-a,m=o-d,v=u-r,g=c-r,b=l*l+o*o-r*r,y=b-i*i-a*a+u*u,_=b-s*s-d*d+c*c,w=f*h-p*m,C=(h*_-m*y)/(2*w)-l,x=(m*v-h*g)/w,S=(f*y-p*_)/(2*w)-o,k=(p*g-f*v)/w,E=x*x+k*k-1,T=2*(r+C*x+S*k),R=C*C+S*S-r*r,I=-(E?(T+Math.sqrt(T*T-4*E*R))/(2*E):R/T);return{x:l+C+x*I,y:o+S+k*I,r:I}}function x0(n,e,t){var l,o,r,i,a=n.x-e.x,u=n.y-e.y,s=a*a+u*u;s?(o=e.r+t.r,i=n.r+t.r,(o*=o)>(i*=i)?(l=(s+i-o)/(2*s),r=Math.sqrt(Math.max(0,i/s-l*l)),t.x=n.x-l*a-r*u,t.y=n.y-l*u+r*a):(l=(s+o-i)/(2*s),r=Math.sqrt(Math.max(0,o/s-l*l)),t.x=e.x+l*a-r*u,t.y=e.y+l*u+r*a)):(t.x=e.x+t.r,t.y=e.y)}function S0(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 k0(n){var e=n._,t=n.next._,l=e.r+t.r,o=(e.x*t.r+t.x*e.r)/l,r=(e.y*t.r+t.y*e.r)/l;return o*o+r*r}function E0(n){this._=n,this.next=null,this.previous=null}function T0(n){if(!(o=n.length))return 0;var e,t,l,o,r,i,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;x0(t,e,l=n[2]),e=new E0(e),t=new E0(t),l=new E0(l),e.next=l.previous=t,t.next=e.previous=l,l.next=t.previous=e;n:for(a=3;a<o;++a){x0(e._,t._,l=n[a]),l=new E0(l),u=t.next,s=e.previous,d=t._.r,c=e._.r;do{if(d<=c){if(S0(u._,l._)){e.next=t=u,t.previous=e,--a;continue n}d+=u._.r,u=u.next}else{if(S0(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,r=k0(e);(l=l.next)!==t;)(i=k0(l))<r&&(e=l,r=i);t=e.next}for(e=[t._],l=t;(l=l.next)!==t;)e.push(l._);for(l=m0(e),a=0;a<o;++a)(e=n[a]).x-=l.x,e.y-=l.y;return l.r}var R0=function(n){return T0(n),n};function I0(n){if("function"!=typeof n)throw new Error;return n}function O0(){return 0}var F0=function(n){return function(){return n}};function D0(n){return Math.sqrt(n.value)}var M0=function(){var n=null,e=1,t=1,l=O0;function o(o){return o.x=e/2,o.y=t/2,n?o.eachBefore(N0(n)).eachAfter(A0(l,.5)).eachBefore(P0(1)):o.eachBefore(N0(D0)).eachAfter(A0(O0,1)).eachAfter(A0(l,o.r/Math.min(e,t))).eachBefore(P0(Math.min(e,t)/(2*o.r))),o}return o.radius=function(e){return arguments.length?(n=null==(t=e)?null:I0(t),o):n;var t},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:F0(+n),o):l},o};function N0(n){return function(e){e.children||(e.r=Math.max(0,+n(e)||0))}}function A0(n,e){return function(t){if(l=t.children){var l,o,r,i=l.length,a=n(t)*e||0;if(a)for(o=0;o<i;++o)l[o].r+=a;if(r=T0(l),a)for(o=0;o<i;++o)l[o].r-=a;t.r=r+a}}}function P0(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 q0=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)},j0=function(n,e,t,l,o){for(var r,i=n.children,a=-1,u=i.length,s=n.value&&(l-e)/n.value;++a<u;)(r=i[a]).y0=t,r.y1=o,r.x0=e,r.x1=e+=r.value*s},L0=function(){var n=1,e=1,t=0,l=!1;function o(o){var r=o.height+1;return o.x0=o.y0=t,o.x1=n,o.y1=e/r,o.eachBefore(function(n,e){return function(l){l.children&&j0(l,l.x0,n*(l.depth+1)/e,l.x1,n*(l.depth+2)/e);var o=l.x0,r=l.y0,i=l.x1-t,a=l.y1-t;i<o&&(o=i=(o+i)/2),a<r&&(r=a=(r+a)/2),l.x0=o,l.y0=r,l.x1=i,l.y1=a}}(e,r)),l&&o.eachBefore(q0),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},V0="$",B0={depth:-1},z0={};function U0(n){return n.id}function H0(n){return n.parentId}var Z0=function(){var n=U0,e=H0;function t(t){var l,o,r,i,a,u,s,d=t.length,c=new Array(d),p={};for(o=0;o<d;++o)a=c[o]=new f0(l=t[o]),null!=(u=n(l,o,t))&&(u+="")&&(p[s=V0+(a.id=u)]=s in p?z0:a);for(o=0;o<d;++o)if(a=c[o],null!=(u=e(t[o],o,t))&&(u+="")){if(!(i=p[V0+u]))throw new Error("missing: "+u);if(i===z0)throw new Error("ambiguous: "+u);i.children?i.children.push(a):i.children=[a],a.parent=i}else{if(r)throw new Error("multiple roots");r=a}if(!r)throw new Error("no root");if(r.parent=B0,r.eachBefore(function(n){n.depth=n.parent.depth+1,--d}).eachBefore(p0),r.parent=null,d>0)throw new Error("cycle");return r}return t.id=function(e){return arguments.length?(n=I0(e),t):n},t.parentId=function(n){return arguments.length?(e=I0(n),t):e},t};function W0(n,e){return n.parent===e.parent?1:2}function G0(n){var e=n.children;return e?e[0]:n.t}function K0(n){var e=n.children;return e?e[e.length-1]:n.t}function Y0(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 $0(n,e,t){return n.a.parent===e.parent?n.a:t}function X0(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}X0.prototype=Object.create(f0.prototype);var Q0=function(){var n=W0,e=1,t=1,l=null;function o(o){var u=function(n){for(var e,t,l,o,r,i=new X0(n,0),a=[i];e=a.pop();)if(l=e._.children)for(e.children=new Array(r=l.length),o=r-1;o>=0;--o)a.push(t=e.children[o]=new X0(l[o],o)),t.parent=e;return(i.parent=new X0(null,0)).children=[i],i}(o);if(u.eachAfter(r),u.parent.m=-u.z,u.eachBefore(i),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 r(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,r=o.length;--r>=0;)(e=o[r]).z+=t,e.m+=t,t+=e.s+(l+=e.c)}(e);var r=(t[0].z+t[t.length-1].z)/2;o?(e.z=o.z+n(e._,o._),e.m=e.z-r):e.z=r}else o&&(e.z=o.z+n(e._,o._));e.parent.A=function(e,t,l){if(t){for(var o,r=e,i=e,a=t,u=r.parent.children[0],s=r.m,d=i.m,c=a.m,p=u.m;a=K0(a),r=G0(r),a&&r;)u=G0(u),(i=K0(i)).a=e,(o=a.z+c-r.z-s+n(a._,r._))>0&&(Y0($0(a,e,l),e,o),s+=o,d+=o),c+=a.m,s+=r.m,p+=u.m,d+=i.m;a&&!K0(i)&&(i.t=a,i.m+=c-d),r&&!G0(u)&&(u.t=r,u.m+=s-p,l=e)}return l}(e,o,e.parent.A||l[0])}function i(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},J0=function(n,e,t,l,o){for(var r,i=n.children,a=-1,u=i.length,s=n.value&&(o-t)/n.value;++a<u;)(r=i[a]).x0=e,r.x1=l,r.y0=t,r.y1=t+=r.value*s},n1=(1+Math.sqrt(5))/2;function e1(n,e,t,l,o,r){for(var i,a,u,s,d,c,p,f,h,m,v,g=[],b=e.children,y=0,_=0,w=b.length,C=e.value;y<w;){u=o-t,s=r-l;do{d=b[_++].value}while(!d&&_<w);for(c=p=d,v=d*d*(m=Math.max(s/u,u/s)/(C*n)),h=Math.max(p/v,v/c);_<w;++_){if(d+=a=b[_].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(i={value:d,dice:u<s,children:b.slice(y,_)}),i.dice?j0(i,t,l,o,C?l+=s*d/C:r):J0(i,t,l,C?t+=u*d/C:o,r),C-=d,y=_}return g}var t1=function n(e){function t(n,t,l,o,r){e1(e,n,t,l,o,r)}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(n1),l1=function(){var n=t1,e=!1,t=1,l=1,o=[0],r=O0,i=O0,a=O0,u=O0,s=O0;function d(n){return n.x0=n.y0=0,n.x1=t,n.y1=l,n.eachBefore(c),o=[0],e&&n.eachBefore(q0),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]=r(e)/2,l+=s(e)-t,d+=i(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=I0(e),d):n},d.padding=function(n){return arguments.length?d.paddingInner(n).paddingOuter(n):d.paddingInner()},d.paddingInner=function(n){return arguments.length?(r="function"==typeof n?n:F0(+n),d):r},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?(i="function"==typeof n?n:F0(+n),d):i},d.paddingRight=function(n){return arguments.length?(a="function"==typeof n?n:F0(+n),d):a},d.paddingBottom=function(n){return arguments.length?(u="function"==typeof n?n:F0(+n),d):u},d.paddingLeft=function(n){return arguments.length?(s="function"==typeof n?n:F0(+n),d):s},d},o1=function(n,e,t,l,o){var r,i,a=n.children,u=a.length,s=new Array(u+1);for(s[0]=i=r=0;r<u;++r)s[r+1]=i+=a[r].value;!function n(e,t,l,o,r,i,u){if(e>=t-1){var d=a[e];return d.x0=o,d.y0=r,d.x1=i,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(i-o>u-r){var b=(o*g+i*v)/l;n(e,f,v,o,r,b,u),n(f,t,g,b,r,i,u)}else{var y=(r*g+u*v)/l;n(e,f,v,o,r,i,y),n(f,t,g,o,y,i,u)}}(0,u,n.value,e,t,l,o)},r1=function(n,e,t,l,o){(1&n.depth?J0:j0)(n,e,t,l,o)},i1=function n(e){function t(n,t,l,o,r){if((i=n._squarify)&&i.ratio===e)for(var i,a,u,s,d,c=-1,p=i.length,f=n.value;++c<p;){for(u=(a=i[c]).children,s=a.value=0,d=u.length;s<d;++s)a.value+=u[s].value;a.dice?j0(a,t,l,o,l+=(r-l)*a.value/f):J0(a,t,l,t+=(o-t)*a.value/f,r),f-=a.value}else n._squarify=i=e1(e,n,t,l,o,r),i.ratio=e}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(n1),a1=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function u1(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function s1(){}var d1="\\s*([+-]?\\d+)\\s*",c1="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",p1="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f1=/^#([0-9a-f]{3})$/,h1=/^#([0-9a-f]{6})$/,m1=new RegExp("^rgb\\("+[d1,d1,d1]+"\\)$"),v1=new RegExp("^rgb\\("+[p1,p1,p1]+"\\)$"),g1=new RegExp("^rgba\\("+[d1,d1,d1,c1]+"\\)$"),b1=new RegExp("^rgba\\("+[p1,p1,p1,c1]+"\\)$"),y1=new RegExp("^hsl\\("+[c1,p1,p1]+"\\)$"),_1=new RegExp("^hsla\\("+[c1,p1,p1,c1]+"\\)$"),w1={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 C1(n){var e;return n=(n+"").trim().toLowerCase(),(e=f1.exec(n))?new T1((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=h1.exec(n))?x1(parseInt(e[1],16)):(e=m1.exec(n))?new T1(e[1],e[2],e[3],1):(e=v1.exec(n))?new T1(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=g1.exec(n))?S1(e[1],e[2],e[3],e[4]):(e=b1.exec(n))?S1(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=y1.exec(n))?I1(e[1],e[2]/100,e[3]/100,1):(e=_1.exec(n))?I1(e[1],e[2]/100,e[3]/100,e[4]):w1.hasOwnProperty(n)?x1(w1[n]):"transparent"===n?new T1(NaN,NaN,NaN,0):null}function x1(n){return new T1(n>>16&255,n>>8&255,255&n,1)}function S1(n,e,t,l){return l<=0&&(n=e=t=NaN),new T1(n,e,t,l)}function k1(n){return n instanceof s1||(n=C1(n)),n?new T1((n=n.rgb()).r,n.g,n.b,n.opacity):new T1}function E1(n,e,t,l){return 1===arguments.length?k1(n):new T1(n,e,t,null==l?1:l)}function T1(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function R1(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function I1(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new F1(n,e,t,l)}function O1(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof F1)return new F1(n.h,n.s,n.l,n.opacity);if(n instanceof s1||(n=C1(n)),!n)return new F1;if(n instanceof F1)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new F1(i,a,u,n.opacity)}(n):new F1(n,e,t,null==l?1:l)}function F1(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function D1(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}a1(s1,C1,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),a1(T1,E1,u1(s1,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new T1(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new T1(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},hex:function(){return"#"+R1(this.r)+R1(this.g)+R1(this.b)},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+")")}})),a1(F1,O1,u1(s1,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new F1(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new F1(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 T1(D1(n>=240?n-240:n+120,o,l),D1(n,o,l),D1(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 M1=Math.PI/180,N1=180/Math.PI,A1=.96422,P1=1,q1=.82521,j1=4/29,L1=6/29,V1=3*L1*L1,B1=L1*L1*L1;function z1(n){if(n instanceof H1)return new H1(n.l,n.a,n.b,n.opacity);if(n instanceof $1){if(isNaN(n.h))return new H1(n.l,0,0,n.opacity);var e=n.h*M1;return new H1(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof T1||(n=k1(n));var t,l,o=K1(n.r),r=K1(n.g),i=K1(n.b),a=Z1((.2225045*o+.7168786*r+.0606169*i)/P1);return o===r&&r===i?t=l=a:(t=Z1((.4360747*o+.3850649*r+.1430804*i)/A1),l=Z1((.0139322*o+.0971045*r+.7141733*i)/q1)),new H1(116*a-16,500*(t-a),200*(a-l),n.opacity)}function U1(n,e,t,l){return 1===arguments.length?z1(n):new H1(n,e,t,null==l?1:l)}function H1(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function Z1(n){return n>B1?Math.pow(n,1/3):n/V1+j1}function W1(n){return n>L1?n*n*n:V1*(n-j1)}function G1(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function K1(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Y1(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof $1)return new $1(n.h,n.c,n.l,n.opacity);if(n instanceof H1||(n=z1(n)),0===n.a&&0===n.b)return new $1(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*N1;return new $1(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new $1(n,e,t,null==l?1:l)}function $1(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}a1(H1,U1,u1(s1,{brighter:function(n){return new H1(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new H1(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 T1(G1(3.1338561*(e=A1*W1(e))-1.6168667*(n=P1*W1(n))-.4906146*(t=q1*W1(t))),G1(-.9787684*e+1.9161415*n+.033454*t),G1(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),a1($1,Y1,u1(s1,{brighter:function(n){return new $1(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new $1(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return z1(this).rgb()}}));var X1=-.29227,Q1=-.90649,J1=1.97294,n2=J1*Q1,e2=1.78277*J1,t2=1.78277*X1- -.14861*Q1;function l2(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof o2)return new o2(n.h,n.s,n.l,n.opacity);n instanceof T1||(n=k1(n));var e=n.g/255,t=n.b/255,l=(t2*t+n2*(n.r/255)-e2*e)/(t2+n2-e2),o=t-l,r=(J1*(e-l)-X1*o)/Q1,i=Math.sqrt(r*r+o*o)/(J1*l*(1-l)),a=i?Math.atan2(r,o)*N1-120:NaN;return new o2(a<0?a+360:a,i,l,n.opacity)}(n):new o2(n,e,t,null==l?1:l)}function o2(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function r2(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}a1(o2,l2,u1(s1,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new o2(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new o2(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*M1,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new T1(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(X1*l+Q1*o)),255*(e+t*(J1*l)),this.opacity)}}));var i2=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],r=n[l+1];return r2((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}},a2=function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return r2((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}},u2=function(n){return function(){return n}};function s2(n,e){return function(t){return n+t*e}}function d2(n,e){var t=e-n;return t?s2(n,t>180||t<-180?t-360*Math.round(t/360):t):u2(isNaN(n)?e:n)}function c2(n,e){var t=e-n;return t?s2(n,t):u2(isNaN(n)?e:n)}var p2=function n(e){var t=function(n){return 1==(n=+n)?c2: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):u2(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=E1(n)).r,(e=E1(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=c2(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function f2(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=E1(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}var h2,m2,v2,g2,b2=f2(i2),y2=f2(a2),_2=function(n,e){var t,l=e?e.length:0,o=n?Math.min(l,n.length):0,r=new Array(o),i=new Array(l);for(t=0;t<o;++t)r[t]=T2(n[t],e[t]);for(;t<l;++t)i[t]=e[t];return function(n){for(t=0;t<o;++t)i[t]=r[t](n);return i}},w2=function(n,e){var t=new Date;return e-=n=+n,function(l){return t.setTime(n+e*l),t}},C2=function(n,e){return e-=n=+n,function(t){return n+e*t}},x2=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]=T2(n[t],e[t]):o[t]=e[t];return function(n){for(t in l)o[t]=l[t](n);return o}},S2=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,k2=new RegExp(S2.source,"g"),E2=function(n,e){var t,l,o,r=S2.lastIndex=k2.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=S2.exec(n))&&(l=k2.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:C2(t,l)})),r=k2.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=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("")})},T2=function(n,e){var t,l=typeof e;return null==e||"boolean"===l?u2(e):("number"===l?C2:"string"===l?(t=C1(e))?(e=t,p2):E2:e instanceof C1?p2:e instanceof Date?w2:Array.isArray(e)?_2:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?x2:C2)(n,e)},R2=function(n,e){return e-=n=+n,function(t){return Math.round(n+e*t)}},I2=180/Math.PI,O2={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},F2=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(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,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*I2,skewX:Math.atan(u)*I2,scaleX:i,scaleY:a}};function D2(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:C2(n,o)},{i:u-2,x:C2(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:C2(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:C2(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:C2(n,t)},{i:a-2,x:C2(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=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 M2=D2(function(n){return"none"===n?O2:(h2||(h2=document.createElement("DIV"),m2=document.documentElement,v2=document.defaultView),h2.style.transform=n,n=v2.getComputedStyle(m2.appendChild(h2),null).getPropertyValue("transform"),m2.removeChild(h2),n=n.slice(7,-1).split(","),F2(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),N2=D2(function(n){return null==n?O2:(g2||(g2=document.createElementNS("http://www.w3.org/2000/svg","g")),g2.setAttribute("transform",n),(n=g2.transform.baseVal.consolidate())?F2((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):O2)},", ",")",")"),A2=Math.SQRT2;function P2(n){return((n=Math.exp(n))+1/n)/2}var q2=function(n,e){var t,l,o=n[0],r=n[1],i=n[2],a=e[2],u=e[0]-o,s=e[1]-r,d=u*u+s*s;if(d<1e-12)l=Math.log(a/i)/A2,t=function(n){return[o+n*u,r+n*s,i*Math.exp(A2*n*l)]};else{var c=Math.sqrt(d),p=(a*a-i*i+4*d)/(2*i*2*c),f=(a*a-i*i-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)/A2,t=function(n){var e,t=n*l,a=P2(h),d=i/(2*c)*(a*(e=A2*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,r+d*s,i*a/P2(A2*t+h)]}}return t.duration=1e3*l,t};function j2(n){return function(e,t){var l=n((e=O1(e)).h,(t=O1(t)).h),o=c2(e.s,t.s),r=c2(e.l,t.l),i=c2(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}var L2=j2(d2),V2=j2(c2);function B2(n,e){var t=c2((n=U1(n)).l,(e=U1(e)).l),l=c2(n.a,e.a),o=c2(n.b,e.b),r=c2(n.opacity,e.opacity);return function(e){return n.l=t(e),n.a=l(e),n.b=o(e),n.opacity=r(e),n+""}}function z2(n){return function(e,t){var l=n((e=Y1(e)).h,(t=Y1(t)).h),o=c2(e.c,t.c),r=c2(e.l,t.l),i=c2(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}var U2=z2(d2),H2=z2(c2);function Z2(n){return function e(t){function l(e,l){var o=n((e=l2(e)).h,(l=l2(l)).h),r=c2(e.s,l.s),i=c2(e.l,l.l),a=c2(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}var W2=Z2(d2),G2=Z2(c2),K2=function(n,e){for(var t=new Array(e),l=0;l<e;++l)t[l]=n(l/(e-1));return t},Y2=function(n){for(var e,t=-1,l=n.length,o=n[l-1],r=0;++t<l;)r+=(e=o)[1]*(o=n[t])[0]-e[0]*o[1];return r/2},$2=function(n){for(var e,t,l=-1,o=n.length,r=0,i=0,a=n[o-1],u=0;++l<o;)u+=t=(e=a)[0]*(a=n[l])[1]-a[0]*e[1],r+=(e[0]+a[0])*t,i+=(e[1]+a[1])*t;return[r/(u*=3),i/u]},X2=function(n,e,t){return(e[0]-n[0])*(t[1]-n[1])-(e[1]-n[1])*(t[0]-n[0])};function Q2(n,e){return n[0]-e[0]||n[1]-e[1]}function J2(n){for(var e=n.length,t=[0,1],l=2,o=2;o<e;++o){for(;l>1&&X2(n[t[l-2]],n[t[l-1]],n[o])<=0;)--l;t[l++]=o}return t.slice(0,l)}var n3=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(Q2),e=0;e<t;++e)o[e]=[l[e][0],-l[e][1]];var r=J2(l),i=J2(o),a=i[0]===r[0],u=i[i.length-1]===r[r.length-1],s=[];for(e=r.length-1;e>=0;--e)s.push(n[l[r[e]][2]]);for(e=+a;e<i.length-u;++e)s.push(n[l[i[e]][2]]);return s},e3=function(n,e){for(var t,l,o=n.length,r=n[o-1],i=e[0],a=e[1],u=r[0],s=r[1],d=!1,c=0;c<o;++c)t=(r=n[c])[0],(l=r[1])>a!=s>a&&i<(u-t)*(a-l)/(s-l)+t&&(d=!d),u=t,s=l;return d},t3=function(n){for(var e,t,l=-1,o=n.length,r=n[o-1],i=r[0],a=r[1],u=0;++l<o;)e=i,t=a,e-=i=(r=n[l])[0],t-=a=r[1],u+=Math.sqrt(e*e+t*t);return u},l3=function(){return Math.random()},o3=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}(l3),r3=function n(e){function t(n,t){var l,o;return n=null==n?0:+n,t=null==t?1:+t,function(){var r;if(null!=l)r=l,l=null;else do{l=2*e()-1,r=2*e()-1,o=l*l+r*r}while(!o||o>1);return n+t*r*Math.sqrt(-2*Math.log(o)/o)}}return t.source=n,t}(l3),i3=function n(e){function t(){var n=r3.source(e).apply(this,arguments);return function(){return Math.exp(n())}}return t.source=n,t}(l3),a3=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}(l3),u3=function n(e){function t(n){var t=a3.source(e)(n);return function(){return t()/n}}return t.source=n,t}(l3),s3=function n(e){function t(n){return function(){return-Math.log(1-e())/n}}return t.source=n,t}(l3),d3=Array.prototype,c3=d3.map,p3=d3.slice,f3={name:"implicit"};function h3(n){var e=NW(),t=[],l=f3;function o(o){var r=o+"",i=e.get(r);if(!i){if(l!==f3)return l;e.set(r,i=t.push(o))}return n[(i-1)%n.length]}return n=null==n?[]:p3.call(n),o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=NW();for(var l,r,i=-1,a=n.length;++i<a;)e.has(r=(l=n[i])+"")||e.set(r,t.push(l));return o},o.range=function(e){return arguments.length?(n=p3.call(e),o):n.slice()},o.unknown=function(n){return arguments.length?(l=n,o):l},o.copy=function(){return h3().domain(t).range(n).unknown(l)},o}function m3(){var n,e,t=h3().unknown(void 0),l=t.domain,o=t.range,r=[0,1],i=!1,a=0,u=0,s=.5;function d(){var t=l().length,d=r[1]<r[0],c=r[d-0],p=r[1-d];n=(p-c)/Math.max(1,t-a+2*u),i&&(n=Math.floor(n)),c+=(p-c-n*(t-a))*s,e=n*(1-a),i&&(c=Math.round(c),e=Math.round(e));var f=iZ(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?(r=[+n[0],+n[1]],d()):r.slice()},t.rangeRound=function(n){return r=[+n[0],+n[1]],i=!0,d()},t.bandwidth=function(){return e},t.step=function(){return n},t.round=function(n){return arguments.length?(i=!!n,d()):i},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 m3().domain(l()).range(r).round(i).paddingInner(a).paddingOuter(u).align(s)},d()}function v3(){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}(m3().paddingInner(1))}var g3=function(n){return function(){return n}},b3=function(n){return+n},y3=[0,1];function _3(n,e){return(e-=n=+n)?function(t){return(t-n)/e}:g3(e)}function w3(n,e,t,l){var o=n[0],r=n[1],i=e[0],a=e[1];return r<o?(o=t(r,o),i=l(a,i)):(o=t(o,r),i=l(i,a)),function(n){return i(o(n))}}function C3(n,e,t,l){var o=Math.min(n.length,e.length)-1,r=new Array(o),i=new Array(o),a=-1;for(n[o]<n[0]&&(n=n.slice().reverse(),e=e.slice().reverse());++a<o;)r[a]=t(n[a],n[a+1]),i[a]=l(e[a],e[a+1]);return function(e){var t=WH(n,e,1,o)-1;return i[t](r[t](e))}}function x3(n,e){return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp())}function S3(n,e){var t,l,o,r=y3,i=y3,a=AA,u=!1;function s(){return t=Math.min(r.length,i.length)>2?C3:w3,l=o=null,d}function d(e){return(l||(l=t(r,i,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(i,r,_3,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?(r=c3.call(n,b3),s()):r.slice()},d.range=function(n){return arguments.length?(i=p3.call(n),s()):i.slice()},d.rangeRound=function(n){return i=p3.call(n),a=PA,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 k3=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)]},E3=function(n){return(n=k3(Math.abs(n)))?n[1]:NaN},T3=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function R3(n){return new I3(n)}function I3(n){if(!(e=T3.exec(n)))throw new Error("invalid format: "+n);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}R3.prototype=I3.prototype,I3.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.trim?"~":"")+this.type};var O3,F3,D3,M3,N3=function(n){n:for(var e,t=n.length,l=1,o=-1;l<t;++l)switch(n[l]){case".":o=e=l;break;case"0":0===o&&(o=l),e=l;break;default:if(o>0){if(!+n[l])break n;o=0}}return o>0?n.slice(0,o)+n.slice(e+1):n},A3=function(n,e){var t=k3(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")},P3={"%":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 A3(100*n,e)},r:A3,s:function(n,e){var t=k3(n,e);if(!t)return n+"";var l=t[0],o=t[1],r=o-(O3=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=l.length;return r===i?l:r>i?l+new Array(r-i+1).join("0"):r>0?l.slice(0,r)+"."+l.slice(r):"0."+new Array(1-r).join("0")+k3(n,Math.max(0,e+r-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}},q3=function(n){return n},j3=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];F3=function(n){var e,t,l=n.grouping&&n.thousands?(e=n.grouping,t=n.thousands,function(n,l){for(var o=n.length,r=[],i=0,a=e[0],u=0;o>0&&a>0&&(u+a+1>l&&(a=Math.max(1,l-u)),r.push(n.substring(o-=a,o+a)),!((u+=a+1)>l));)a=e[i=(i+1)%e.length];return r.reverse().join(t)}):q3,o=n.currency,r=n.decimal,i=n.numerals?function(n){return function(e){return e.replace(/[0-9]/g,function(e){return n[+e]})}}(n.numerals):q3,a=n.percent||"%";function u(n){var e=(n=R3(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.trim,m=n.type;"n"===m?(p=!0,m="g"):P3[m]||(null==f&&(f=12),h=!0,m="g"),(d||"0"===e&&"="===t)&&(d=!0,e="0",t="=");var v="$"===s?o[0]:"#"===s&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",g="$"===s?o[1]:/[%p]/.test(m)?a:"",b=P3[m],y=/[defgprs%]/.test(m);function _(n){var o,a,s,_=v,w=g;if("c"===m)w=b(n)+w,n="";else{var C=(n=+n)<0;if(n=b(Math.abs(n),f),h&&(n=N3(n)),C&&0==+n&&(C=!1),_=(C?"("===u?u:"-":"-"===u||"("===u?"":u)+_,w=("s"===m?j3[8+O3/3]:"")+w+(C&&"("===u?")":""),y)for(o=-1,a=n.length;++o<a;)if(48>(s=n.charCodeAt(o))||s>57){w=(46===s?r+n.slice(o+1):n.slice(o))+w,n=n.slice(0,o);break}}p&&!d&&(n=l(n,1/0));var x=_.length+n.length+w.length,S=x<c?new Array(c-x+1).join(e):"";switch(p&&d&&(n=l(S+n,S.length?c-w.length:1/0),S=""),t){case"<":n=_+n+w+S;break;case"=":n=_+S+n+w;break;case"^":n=S.slice(0,x=S.length>>1)+_+n+w+S.slice(x);break;default:n=S+_+n+w}return i(n)}return f=null==f?6:/[gprs]/.test(m)?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=R3(n)).type="f",n)),l=3*Math.max(-8,Math.min(8,Math.floor(E3(e)/3))),o=Math.pow(10,-l),r=j3[8+l/3];return function(n){return t(o*n)+r}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),D3=F3.format,M3=F3.formatPrefix;var L3=function(n,e,t){var l,o=n[0],r=n[n.length-1],i=pZ(o,r,null==e?10:e);switch((t=R3(null==t?",f":t)).type){case"s":var a=Math.max(Math.abs(o),Math.abs(r));return null!=t.precision||isNaN(l=function(n,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(E3(e)/3)))-E3(Math.abs(n)))}(i,a))||(t.precision=l),M3(t,a);case"":case"e":case"g":case"p":case"r":null!=t.precision||isNaN(l=function(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,E3(e)-E3(n))+1}(i,Math.max(Math.abs(o),Math.abs(r))))||(t.precision=l-("e"===t.type));break;case"f":case"%":null!=t.precision||isNaN(l=function(n){return Math.max(0,-E3(Math.abs(n)))}(i))||(t.precision=l-2*("%"===t.type))}return D3(t)};function V3(n){var e=n.domain;return n.ticks=function(n){var t=e();return dZ(t[0],t[t.length-1],null==n?10:n)},n.tickFormat=function(n,t){return L3(e(),n,t)},n.nice=function(t){null==t&&(t=10);var l,o=e(),r=0,i=o.length-1,a=o[r],u=o[i];return u<a&&(l=a,a=u,u=l,l=r,r=i,i=l),(l=cZ(a,u,t))>0?l=cZ(a=Math.floor(a/l)*l,u=Math.ceil(u/l)*l,t):l<0&&(l=cZ(a=Math.ceil(a*l)/l,u=Math.floor(u*l)/l,t)),l>0?(o[r]=Math.floor(a/l)*l,o[i]=Math.ceil(u/l)*l,e(o)):l<0&&(o[r]=Math.ceil(a*l)/l,o[i]=Math.floor(u*l)/l,e(o)),n},n}function B3(){var n=S3(_3,FA);return n.copy=function(){return x3(n,B3())},V3(n)}function z3(){var n=[0,1];function e(n){return+n}return e.invert=e,e.domain=e.range=function(t){return arguments.length?(n=c3.call(t,b3),e):n.slice()},e.copy=function(){return z3().domain(n)},V3(e)}var U3=function(n,e){var t,l=0,o=(n=n.slice()).length-1,r=n[l],i=n[o];return i<r&&(t=l,l=o,o=t,t=r,r=i,i=t),n[l]=e.floor(r),n[o]=e.ceil(i),n};function H3(n,e){return(e=Math.log(e/n))?function(t){return Math.log(t/n)/e}:g3(e)}function Z3(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 W3(n){return isFinite(n)?+("1e"+n):n<0?0:n}function G3(n){return 10===n?W3:n===Math.E?Math.exp:function(e){return Math.pow(n,e)}}function K3(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 Y3(n){return function(e){return-n(-e)}}function $3(){var n=S3(H3,Z3).domain([1,10]),e=n.domain,t=10,l=K3(10),o=G3(10);function r(){return l=K3(t),o=G3(t),e()[0]<0&&(l=Y3(l),o=Y3(o)),n}return n.base=function(n){return arguments.length?(t=+n,r()):t},n.domain=function(n){return arguments.length?(e(n),r()):e()},n.ticks=function(n){var r,i=e(),a=i[0],u=i[i.length-1];(r=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=dZ(p,f,Math.min(f-p,h)).map(o);return r?m.reverse():m},n.tickFormat=function(e,r){if(null==r&&(r=10===t?".0e":","),"function"!=typeof r&&(r=D3(r)),e===1/0)return r;null==e&&(e=10);var i=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<=i?r(n):""}},n.nice=function(){return e(U3(e(),{floor:function(n){return o(Math.floor(l(n)))},ceil:function(n){return o(Math.ceil(l(n)))}}))},n.copy=function(){return x3(n,$3().base(t))},n}function X3(n,e){return n<0?-Math.pow(-n,e):Math.pow(n,e)}function Q3(){var n=1,e=S3(function(e,t){return(t=X3(t,n)-(e=X3(e,n)))?function(l){return(X3(l,n)-e)/t}:g3(t)},function(e,t){return t=X3(t,n)-(e=X3(e,n)),function(l){return X3(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 x3(e,Q3().exponent(n))},V3(e)}function J3(){return Q3().exponent(.5)}function n4(){var n=[],e=[],t=[];function l(){var l=0,r=Math.max(1,e.length);for(t=new Array(r-1);++l<r;)t[l-1]=mZ(n,l/r);return o}function o(n){if(!isNaN(n=+n))return e[WH(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,r=e.length;o<r;++o)null==(t=e[o])||isNaN(t=+t)||n.push(t);return n.sort(BH),l()},o.range=function(n){return arguments.length?(e=p3.call(n),l()):e.slice()},o.quantiles=function(){return t.slice()},o.copy=function(){return n4().domain(n).range(e)},o}function e4(){var n=0,e=1,t=1,l=[.5],o=[0,1];function r(n){if(n<=n)return o[WH(l,n,0,t)]}function i(){var o=-1;for(l=new Array(t);++o<t;)l[o]=((o+1)*e-(o-t)*n)/(t+1);return r}return r.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],i()):[n,e]},r.range=function(n){return arguments.length?(t=(o=p3.call(n)).length-1,i()):o.slice()},r.invertExtent=function(r){var i=o.indexOf(r);return i<0?[NaN,NaN]:i<1?[n,l[0]]:i>=t?[l[t-1],e]:[l[i-1],l[i]]},r.copy=function(){return e4().domain([n,e]).range(o)},V3(r)}function t4(){var n=[.5],e=[0,1],t=1;function l(l){if(l<=l)return e[WH(n,l,0,t)]}return l.domain=function(o){return arguments.length?(n=p3.call(o),t=Math.min(n.length,e.length-1),l):n.slice()},l.range=function(o){return arguments.length?(e=p3.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 t4().domain(n).range(e)},l}var l4=new Date,o4=new Date;function r4(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,r){var i,a=[];if(t=o.ceil(t),r=null==r?1:Math.floor(r),!(t<l&&r>0))return a;do{a.push(i=new Date(+t)),e(t,r),n(t)}while(i<t&&t<l);return a},o.filter=function(t){return r4(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 l4.setTime(+e),o4.setTime(+l),n(l4),n(o4),Math.floor(t(l4,o4))},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 i4=r4(function(){},function(n,e){n.setTime(+n+e)},function(n,e){return e-n});i4.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?r4(function(e){e.setTime(Math.floor(e/n)*n)},function(e,t){e.setTime(+e+t*n)},function(e,t){return(t-e)/n}):i4:null};var a4=i4,u4=i4.range,s4=6e4,d4=6048e5,c4=r4(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()}),p4=c4,f4=c4.range,h4=r4(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds())},function(n,e){n.setTime(+n+e*s4)},function(n,e){return(e-n)/s4},function(n){return n.getMinutes()}),m4=h4,v4=h4.range,g4=r4(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds()-n.getMinutes()*s4)},function(n,e){n.setTime(+n+36e5*e)},function(n,e){return(e-n)/36e5},function(n){return n.getHours()}),b4=g4,y4=g4.range,_4=r4(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())*s4)/864e5},function(n){return n.getDate()-1}),w4=_4,C4=_4.range;function x4(n){return r4(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())*s4)/d4})}var S4=x4(0),k4=x4(1),E4=x4(2),T4=x4(3),R4=x4(4),I4=x4(5),O4=x4(6),F4=S4.range,D4=k4.range,M4=E4.range,N4=T4.range,A4=R4.range,P4=I4.range,q4=O4.range,j4=r4(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()}),L4=j4,V4=j4.range,B4=r4(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()});B4.every=function(n){return isFinite(n=Math.floor(n))&&n>0?r4(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 z4=B4,U4=B4.range,H4=r4(function(n){n.setUTCSeconds(0,0)},function(n,e){n.setTime(+n+e*s4)},function(n,e){return(e-n)/s4},function(n){return n.getUTCMinutes()}),Z4=H4,W4=H4.range,G4=r4(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()}),K4=G4,Y4=G4.range,$4=r4(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}),X4=$4,Q4=$4.range;function J4(n){return r4(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)/d4})}var n6=J4(0),e6=J4(1),t6=J4(2),l6=J4(3),o6=J4(4),r6=J4(5),i6=J4(6),a6=n6.range,u6=e6.range,s6=t6.range,d6=l6.range,c6=o6.range,p6=r6.range,f6=i6.range,h6=r4(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()}),m6=h6,v6=h6.range,g6=r4(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()});g6.every=function(n){return isFinite(n=Math.floor(n))&&n>0?r4(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 b6=g6,y6=g6.range;function _6(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 w6(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 C6(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}}function x6(n){var e=n.dateTime,t=n.date,l=n.time,o=n.periods,r=n.days,i=n.shortDays,a=n.months,u=n.shortMonths,s=A6(o),d=P6(o),c=A6(r),p=P6(r),f=A6(i),h=P6(i),m=A6(a),v=P6(a),g=A6(u),b=P6(u),y={a:function(n){return i[n.getDay()]},A:function(n){return r[n.getDay()]},b:function(n){return u[n.getMonth()]},B:function(n){return a[n.getMonth()]},c:null,d:t7,e:t7,f:a7,H:l7,I:o7,j:r7,L:i7,m:u7,M:s7,p:function(n){return o[+(n.getHours()>=12)]},Q:q7,s:j7,S:d7,u:c7,U:p7,V:f7,w:h7,W:m7,x:null,X:null,y:v7,Y:g7,Z:b7,"%":P7},_={a:function(n){return i[n.getUTCDay()]},A:function(n){return r[n.getUTCDay()]},b:function(n){return u[n.getUTCMonth()]},B:function(n){return a[n.getUTCMonth()]},c:null,d:y7,e:y7,f:S7,H:_7,I:w7,j:C7,L:x7,m:k7,M:E7,p:function(n){return o[+(n.getUTCHours()>=12)]},Q:q7,s:j7,S:T7,u:R7,U:I7,V:O7,w:F7,W:D7,x:null,X:null,y:M7,Y:N7,Z:A7,"%":P7},w={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 S(n,e,t,l)},d:W6,e:W6,f:Q6,H:K6,I:K6,j:G6,L:X6,m:Z6,M:Y6,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:n7,s:e7,S:$6,u:j6,U:L6,V:V6,w:q6,W:B6,x:function(n,e,l){return S(n,t,e,l)},X:function(n,e,t){return S(n,l,e,t)},y:U6,Y:z6,Z:H6,"%":J6};function C(n,e){return function(t){var l,o,r,i=[],a=-1,u=0,s=n.length;for(t instanceof Date||(t=new Date(+t));++a<s;)37===n.charCodeAt(a)&&(i.push(n.slice(u,a)),null!=(o=I6[l=n.charAt(++a)])?l=n.charAt(++a):o="e"===l?" ":"0",(r=e[l])&&(l=r(t,o)),i.push(l),u=a+1);return i.push(n.slice(u,a)),i.join("")}}function x(n,e){return function(t){var l,o,r=C6(1900);if(S(r,n,t+="",0)!=t.length)return null;if("Q"in r)return new Date(r.Q);if("p"in r&&(r.H=r.H%12+12*r.p),"V"in r){if(r.V<1||r.V>53)return null;"w"in r||(r.w=1),"Z"in r?(o=(l=w6(C6(r.y))).getUTCDay(),l=o>4||0===o?e6.ceil(l):e6(l),l=X4.offset(l,7*(r.V-1)),r.y=l.getUTCFullYear(),r.m=l.getUTCMonth(),r.d=l.getUTCDate()+(r.w+6)%7):(o=(l=e(C6(r.y))).getDay(),l=o>4||0===o?k4.ceil(l):k4(l),l=w4.offset(l,7*(r.V-1)),r.y=l.getFullYear(),r.m=l.getMonth(),r.d=l.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),o="Z"in r?w6(C6(r.y)).getUTCDay():e(C6(r.y)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(o+5)%7:r.w+7*r.U-(o+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,w6(r)):e(r)}}function S(n,e,t,l){for(var o,r,i=0,a=e.length,u=t.length;i<a;){if(l>=u)return-1;if(37===(o=e.charCodeAt(i++))){if(o=e.charAt(i++),!(r=w[o in I6?e.charAt(i++):o])||(l=r(n,t,l))<0)return-1}else if(o!=t.charCodeAt(l++))return-1}return l}return y.x=C(t,y),y.X=C(l,y),y.c=C(e,y),_.x=C(t,_),_.X=C(l,_),_.c=C(e,_),{format:function(n){var e=C(n+="",y);return e.toString=function(){return n},e},parse:function(n){var e=x(n+="",_6);return e.toString=function(){return n},e},utcFormat:function(n){var e=C(n+="",_);return e.toString=function(){return n},e},utcParse:function(n){var e=x(n,w6);return e.toString=function(){return n},e}}}var S6,k6,E6,T6,R6,I6={"-":"",_:" ",0:"0"},O6=/^\s*\d+/,F6=/^%/,D6=/[\\^$*+?|[\]().{}]/g;function M6(n,e,t){var l=n<0?"-":"",o=(l?-n:n)+"",r=o.length;return l+(r<t?new Array(t-r+1).join(e)+o:o)}function N6(n){return n.replace(D6,"\\$&")}function A6(n){return new RegExp("^(?:"+n.map(N6).join("|")+")","i")}function P6(n){for(var e={},t=-1,l=n.length;++t<l;)e[n[t].toLowerCase()]=t;return e}function q6(n,e,t){var l=O6.exec(e.slice(t,t+1));return l?(n.w=+l[0],t+l[0].length):-1}function j6(n,e,t){var l=O6.exec(e.slice(t,t+1));return l?(n.u=+l[0],t+l[0].length):-1}function L6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.U=+l[0],t+l[0].length):-1}function V6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.V=+l[0],t+l[0].length):-1}function B6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.W=+l[0],t+l[0].length):-1}function z6(n,e,t){var l=O6.exec(e.slice(t,t+4));return l?(n.y=+l[0],t+l[0].length):-1}function U6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.y=+l[0]+(+l[0]>68?1900:2e3),t+l[0].length):-1}function H6(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 Z6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.m=l[0]-1,t+l[0].length):-1}function W6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.d=+l[0],t+l[0].length):-1}function G6(n,e,t){var l=O6.exec(e.slice(t,t+3));return l?(n.m=0,n.d=+l[0],t+l[0].length):-1}function K6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.H=+l[0],t+l[0].length):-1}function Y6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.M=+l[0],t+l[0].length):-1}function $6(n,e,t){var l=O6.exec(e.slice(t,t+2));return l?(n.S=+l[0],t+l[0].length):-1}function X6(n,e,t){var l=O6.exec(e.slice(t,t+3));return l?(n.L=+l[0],t+l[0].length):-1}function Q6(n,e,t){var l=O6.exec(e.slice(t,t+6));return l?(n.L=Math.floor(l[0]/1e3),t+l[0].length):-1}function J6(n,e,t){var l=F6.exec(e.slice(t,t+1));return l?t+l[0].length:-1}function n7(n,e,t){var l=O6.exec(e.slice(t));return l?(n.Q=+l[0],t+l[0].length):-1}function e7(n,e,t){var l=O6.exec(e.slice(t));return l?(n.Q=1e3*+l[0],t+l[0].length):-1}function t7(n,e){return M6(n.getDate(),e,2)}function l7(n,e){return M6(n.getHours(),e,2)}function o7(n,e){return M6(n.getHours()%12||12,e,2)}function r7(n,e){return M6(1+w4.count(z4(n),n),e,3)}function i7(n,e){return M6(n.getMilliseconds(),e,3)}function a7(n,e){return i7(n,e)+"000"}function u7(n,e){return M6(n.getMonth()+1,e,2)}function s7(n,e){return M6(n.getMinutes(),e,2)}function d7(n,e){return M6(n.getSeconds(),e,2)}function c7(n){var e=n.getDay();return 0===e?7:e}function p7(n,e){return M6(S4.count(z4(n),n),e,2)}function f7(n,e){var t=n.getDay();return n=t>=4||0===t?R4(n):R4.ceil(n),M6(R4.count(z4(n),n)+(4===z4(n).getDay()),e,2)}function h7(n){return n.getDay()}function m7(n,e){return M6(k4.count(z4(n),n),e,2)}function v7(n,e){return M6(n.getFullYear()%100,e,2)}function g7(n,e){return M6(n.getFullYear()%1e4,e,4)}function b7(n){var e=n.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+M6(e/60|0,"0",2)+M6(e%60,"0",2)}function y7(n,e){return M6(n.getUTCDate(),e,2)}function _7(n,e){return M6(n.getUTCHours(),e,2)}function w7(n,e){return M6(n.getUTCHours()%12||12,e,2)}function C7(n,e){return M6(1+X4.count(b6(n),n),e,3)}function x7(n,e){return M6(n.getUTCMilliseconds(),e,3)}function S7(n,e){return x7(n,e)+"000"}function k7(n,e){return M6(n.getUTCMonth()+1,e,2)}function E7(n,e){return M6(n.getUTCMinutes(),e,2)}function T7(n,e){return M6(n.getUTCSeconds(),e,2)}function R7(n){var e=n.getUTCDay();return 0===e?7:e}function I7(n,e){return M6(n6.count(b6(n),n),e,2)}function O7(n,e){var t=n.getUTCDay();return n=t>=4||0===t?o6(n):o6.ceil(n),M6(o6.count(b6(n),n)+(4===b6(n).getUTCDay()),e,2)}function F7(n){return n.getUTCDay()}function D7(n,e){return M6(e6.count(b6(n),n),e,2)}function M7(n,e){return M6(n.getUTCFullYear()%100,e,2)}function N7(n,e){return M6(n.getUTCFullYear()%1e4,e,4)}function A7(){return"+0000"}function P7(){return"%"}function q7(n){return+n}function j7(n){return Math.floor(+n/1e3)}function L7(n){return S6=x6(n),k6=S6.format,E6=S6.parse,T6=S6.utcFormat,R6=S6.utcParse,S6}L7({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 V7=Date.prototype.toISOString?function(n){return n.toISOString()}:T6("%Y-%m-%dT%H:%M:%S.%LZ"),B7=+new Date("2000-01-01T00:00:00.000Z")?function(n){var e=new Date(n);return isNaN(e)?null:e}:R6("%Y-%m-%dT%H:%M:%S.%LZ"),z7=1e3,U7=60*z7,H7=60*U7,Z7=24*H7,W7=7*Z7,G7=30*Z7,K7=365*Z7;function Y7(n){return new Date(n)}function $7(n){return n instanceof Date?+n:+new Date(+n)}function X7(n,e,t,l,o,r,i,a,u){var s=S3(_3,FA),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"),y=u("%Y"),_=[[i,1,z7],[i,5,5*z7],[i,15,15*z7],[i,30,30*z7],[r,1,U7],[r,5,5*U7],[r,15,15*U7],[r,30,30*U7],[o,1,H7],[o,3,3*H7],[o,6,6*H7],[o,12,12*H7],[l,1,Z7],[l,2,2*Z7],[t,1,W7],[e,1,G7],[e,3,3*G7],[n,1,K7]];function w(a){return(i(a)<a?p:r(a)<a?f:o(a)<a?h:l(a)<a?m:e(a)<a?t(a)<a?v:g:n(a)<a?b:y)(a)}function C(e,t,l,o){if(null==e&&(e=10),"number"==typeof e){var r=Math.abs(l-t)/e,i=zH(function(n){return n[2]}).right(_,r);i===_.length?(o=pZ(t/K7,l/K7,e),e=n):i?(o=(i=_[r/_[i-1][2]<_[i][2]/r?i-1:i])[1],e=i[0]):(o=Math.max(pZ(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(c3.call(n,$7)):c().map(Y7)},s.ticks=function(n,e){var t,l=c(),o=l[0],r=l[l.length-1],i=r<o;return i&&(t=o,o=r,r=t),t=(t=C(n,o,r,e))?t.range(o,r+1):[],i?t.reverse():t},s.tickFormat=function(n,e){return null==e?w:u(e)},s.nice=function(n,e){var t=c();return(n=C(n,t[0],t[t.length-1],e))?c(U3(t,n)):s},s.copy=function(){return x3(s,X7(n,e,t,l,o,r,i,a,u))},s}var Q7=function(){return X7(z4,L4,S4,w4,b4,m4,p4,a4,k6).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},J7=function(){return X7(b6,m6,n6,X4,K4,Z4,p4,a4,T6).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};function n8(n){var e=0,t=1,l=!1;function o(o){var r=(o-e)/(t-e);return n(l?Math.max(0,Math.min(1,r)):r)}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 n8(n).domain([e,t]).clamp(l)},V3(o)}var e8=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},t8=e8("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),l8=e8("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),o8=e8("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),r8=e8("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),i8=e8("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),a8=e8("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),u8=e8("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),s8=e8("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),d8=e8("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),c8=function(n){return OA(n[n.length-1])},p8=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(e8),f8=c8(p8),h8=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(e8),m8=c8(h8),v8=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(e8),g8=c8(v8),b8=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(e8),y8=c8(b8),_8=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(e8),w8=c8(_8),C8=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(e8),x8=c8(C8),S8=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(e8),k8=c8(S8),E8=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(e8),T8=c8(E8),R8=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(e8),I8=c8(R8),O8=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(e8),F8=c8(O8),D8=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(e8),M8=c8(D8),N8=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(e8),A8=c8(N8),P8=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(e8),q8=c8(P8),j8=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(e8),L8=c8(j8),V8=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(e8),B8=c8(V8),z8=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(e8),U8=c8(z8),H8=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(e8),Z8=c8(H8),W8=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(e8),G8=c8(W8),K8=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(e8),Y8=c8(K8),$8=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(e8),X8=c8($8),Q8=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(e8),J8=c8(Q8),n5=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(e8),e5=c8(n5),t5=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(e8),l5=c8(t5),o5=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(e8),r5=c8(o5),i5=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(e8),a5=c8(i5),u5=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(e8),s5=c8(u5),d5=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(e8),c5=c8(d5),p5=XA(gA(300,.5,0),gA(-240,.5,1)),f5=XA(gA(-100,.75,.35),gA(80,1.5,.8)),h5=XA(gA(260,.75,.35),gA(80,1.5,.8)),m5=gA(),v5=function(n){(n<0||n>1)&&(n-=Math.floor(n));var e=Math.abs(n-.5);return m5.h=360*n-100,m5.s=1.5-1.5*e,m5.l=.8-.9*e,m5+""};function g5(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}}var b5=g5(e8("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),y5=g5(e8("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),_5=g5(e8("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),w5=g5(e8("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),C5={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/"},x5=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),C5.hasOwnProperty(e)?{space:C5[e],local:n}:n},S5=function(n){var e=x5(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return"http://www.w3.org/1999/xhtml"===t&&"http://www.w3.org/1999/xhtml"===e.documentElement.namespaceURI?e.createElement(n):e.createElementNS(t,n)}})(e)};function k5(){}var E5=function(n){return null==n?k5:function(){return this.querySelector(n)}};function T5(){return[]}var R5=function(n){return null==n?T5:function(){return this.querySelectorAll(n)}},I5=function(n){return function(){return this.matches(n)}};if("undefined"!=typeof document){var O5=document.documentElement;if(!O5.matches){var F5=O5.webkitMatchesSelector||O5.msMatchesSelector||O5.mozMatchesSelector||O5.oMatchesSelector;I5=function(n){return function(){return F5.call(this,n)}}}}var D5=I5,M5=function(n){return new Array(n.length)};function N5(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}N5.prototype={constructor:N5,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 A5="$";function P5(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new N5(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function q5(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=A5+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=A5+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new N5(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function j5(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}var L5=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function V5(n,e){return n.style.getPropertyValue(e)||L5(n).getComputedStyle(n,null).getPropertyValue(e)}function B5(n){return n.trim().split(/^|\s+/)}function z5(n){return n.classList||new U5(n)}function U5(n){this._node=n,this._names=B5(n.getAttribute("class")||"")}function H5(n,e){for(var t=z5(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function Z5(n,e){for(var t=z5(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function W5(){this.textContent=""}function G5(){this.innerHTML=""}function K5(){this.nextSibling&&this.parentNode.appendChild(this)}function Y5(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function $5(){return null}function X5(){var n=this.parentNode;n&&n.removeChild(this)}function Q5(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function J5(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}U5.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 n9={},e9=null;function t9(n,e,t){return n=l9(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function l9(n,e,t){return function(l){var o=e9;e9=l;try{n.call(this,this.__data__,e,t)}finally{e9=o}}}function o9(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++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 r9(n,e,t){var l=n9.hasOwnProperty(n.type)?t9:l9;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);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 i9(n,e,t,l){var o=e9;n.sourceEvent=e9,e9=n;try{return e.apply(t,l)}finally{e9=o}}function a9(n,e,t){var l=L5(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)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(n9={mouseenter:"mouseover",mouseleave:"mouseout"}));var u9=[null];function s9(n,e){this._groups=n,this._parents=e}function d9(){return new s9([[document.documentElement]],u9)}s9.prototype=d9.prototype={constructor:s9,select:function(n){"function"!=typeof n&&(n=E5(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new s9(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=R5(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new s9(l,o)},filter:function(n){"function"!=typeof n&&(n=D5(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new s9(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?q5:P5,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[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,w=0;_<m;++_)if(b=v[_]){for(_>=w&&(w=_+1);!(y=g[w])&&++w<m;);b._next=y||null}}return(a=new s9(a,o))._enter=u,a._exit=s,a},enter:function(){return new s9(this._enter||this._groups.map(M5),this._parents)},exit:function(){return new s9(this._exit||this._groups.map(M5),this._parents)},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new s9(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&i!==l.nextSibling&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=j5);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new s9(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,r=l.length;o<r;++o){var i=l[o];if(i)return i}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,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=x5(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?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}}:"function"==typeof e?t.local?function(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)}}:function(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}:t.local?function(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}:function(n,e){return function(){this.setAttribute(n,e)}})(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?function(n){return function(){this.style.removeProperty(n)}}:"function"==typeof e?function(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}:function(n,e,t){return function(){this.style.setProperty(n,e,t)}})(n,e,null==t?"":t)):V5(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?function(n){return function(){delete this[n]}}:"function"==typeof e?function(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}:function(n,e){return function(){this[n]=e}})(n,e)):this.node()[n]},classed:function(n,e){var t=B5(n+"");if(arguments.length<2){for(var l=z5(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?function(n,e){return function(){(e.apply(this,arguments)?H5:Z5)(this,n)}}:e?function(n){return function(){H5(this,n)}}:function(n){return function(){Z5(this,n)}})(t,e))},text:function(n){return arguments.length?this.each(null==n?W5:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}:function(n){return function(){this.textContent=n}})(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?G5:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(n){return function(){this.innerHTML=n}})(n)):this.node().innerHTML},raise:function(){return this.each(K5)},lower:function(){return this.each(Y5)},append:function(n){var e="function"==typeof n?n:S5(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:S5(n),l=null==e?$5:"function"==typeof e?e:E5(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(X5)},clone:function(n){return this.select(n?J5:Q5)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=(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}}),i=r.length;if(!(arguments.length<2)){for(a=e?r9:o9,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[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<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return a9(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return a9(this,n,e)}})(n,e))}};var c9=d9,p9=function(n){return"string"==typeof n?new s9([[document.querySelector(n)]],[document.documentElement]):new s9([[n]],u9)},f9=function(n){return p9(S5(n).call(document.documentElement))},h9=0;function m9(){return new v9}function v9(){this._="@"+(++h9).toString(36)}v9.prototype=m9.prototype={constructor:v9,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 g9=function(){for(var n,e=e9;n=e.sourceEvent;)e=n;return e},b9=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]},y9=function(n){var e=g9();return e.changedTouches&&(e=e.changedTouches[0]),b9(n,e)},_9=function(n){return"string"==typeof n?new s9([document.querySelectorAll(n)],[document.documentElement]):new s9([null==n?[]:n],u9)},w9=function(n,e,t){arguments.length<3&&(t=e,e=g9().changedTouches);for(var l,o=0,r=e?e.length:0;o<r;++o)if((l=e[o]).identifier===t)return b9(n,l);return null},C9=function(n,e){null==e&&(e=g9().touches);for(var t=0,l=e?e.length:0,o=new Array(l);t<l;++t)o[t]=b9(n,e[t]);return o};pO.prototype.attrs=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var n=e.apply(this,arguments),t=fO(this);for(var l in n)t.attr(l,n[l])})}:function(n,e){for(var t in e)n.attr(t,e[t]);return n})(this,n)},pO.prototype.styles=function(n,e){return("function"==typeof n?function(n,e,t){return n.each(function(){var n=e.apply(this,arguments),l=fO(this);for(var o in n)l.style(o,n[o],t)})}:function(n,e,t){for(var l in e)n.style(l,e[l],t);return n})(this,n,null==e?"":e)},pO.prototype.properties=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var n=e.apply(this,arguments),t=fO(this);for(var l in n)t.property(l,n[l])})}:function(n,e){for(var t in e)n.property(t,e[t]);return n})(this,n)},qP.prototype.attrs=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var t=e.apply(this,arguments),l=fO(this).transition(n);for(var o in t)l.attr(o,t[o])})}:function(n,e){for(var t in e)n.attr(t,e[t]);return n})(this,n)},qP.prototype.styles=function(n,e){return("function"==typeof n?function(n,e,t){return n.each(function(){var l=e.apply(this,arguments),o=fO(this).transition(n);for(var r in l)o.style(r,l[r],t)})}:function(n,e,t){for(var l in e)n.style(l,e[l],t);return n})(this,n,null==e?"":e)};var x9={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/"},S9=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),x9.hasOwnProperty(e)?{space:x9[e],local:n}:n},k9=function(n){var e=S9(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return"http://www.w3.org/1999/xhtml"===t&&"http://www.w3.org/1999/xhtml"===e.documentElement.namespaceURI?e.createElement(n):e.createElementNS(t,n)}})(e)};function E9(){}var T9=function(n){return null==n?E9:function(){return this.querySelector(n)}};function R9(){return[]}var I9=function(n){return null==n?R9:function(){return this.querySelectorAll(n)}},O9=function(n){return function(){return this.matches(n)}},F9=function(n){return new Array(n.length)};function D9(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}D9.prototype={constructor:D9,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 M9="$";function N9(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new D9(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function A9(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=M9+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=M9+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new D9(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function P9(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}var q9=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function j9(n,e){return n.style.getPropertyValue(e)||q9(n).getComputedStyle(n,null).getPropertyValue(e)}function L9(n){return n.trim().split(/^|\s+/)}function V9(n){return n.classList||new B9(n)}function B9(n){this._node=n,this._names=L9(n.getAttribute("class")||"")}function z9(n,e){for(var t=V9(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function U9(n,e){for(var t=V9(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function H9(){this.textContent=""}function Z9(){this.innerHTML=""}function W9(){this.nextSibling&&this.parentNode.appendChild(this)}function G9(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function K9(){return null}function Y9(){var n=this.parentNode;n&&n.removeChild(this)}function $9(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function X9(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}B9.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 Q9={},J9=null;function nnn(n,e,t){return n=enn(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function enn(n,e,t){return function(l){var o=J9;J9=l;try{n.call(this,this.__data__,e,t)}finally{J9=o}}}function tnn(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++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 lnn(n,e,t){var l=Q9.hasOwnProperty(n.type)?nnn:enn;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);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 onn(n,e,t){var l=q9(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)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Q9={mouseenter:"mouseover",mouseleave:"mouseout"}));var rnn=[null];function inn(n,e){this._groups=n,this._parents=e}function ann(){return new inn([[document.documentElement]],rnn)}inn.prototype=ann.prototype={constructor:inn,select:function(n){"function"!=typeof n&&(n=T9(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new inn(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=I9(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new inn(l,o)},filter:function(n){"function"!=typeof n&&(n=O9(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new inn(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?A9:N9,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[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,w=0;_<m;++_)if(b=v[_]){for(_>=w&&(w=_+1);!(y=g[w])&&++w<m;);b._next=y||null}}return(a=new inn(a,o))._enter=u,a._exit=s,a},enter:function(){return new inn(this._enter||this._groups.map(F9),this._parents)},exit:function(){return new inn(this._exit||this._groups.map(F9),this._parents)},join:function(n,e,t){var l=this.enter(),o=this,r=this.exit();return l="function"==typeof n?n(l):l.append(n+""),null!=e&&(o=e(o)),null==t?r.remove():t(r),l&&o?l.merge(o).order():o},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new inn(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&4^l.compareDocumentPosition(i)&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=P9);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new inn(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,r=l.length;o<r;++o){var i=l[o];if(i)return i}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,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=S9(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?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}}:"function"==typeof e?t.local?function(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)}}:function(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}:t.local?function(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}:function(n,e){return function(){this.setAttribute(n,e)}})(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?function(n){return function(){this.style.removeProperty(n)}}:"function"==typeof e?function(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}:function(n,e,t){return function(){this.style.setProperty(n,e,t)}})(n,e,null==t?"":t)):j9(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?function(n){return function(){delete this[n]}}:"function"==typeof e?function(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}:function(n,e){return function(){this[n]=e}})(n,e)):this.node()[n]},classed:function(n,e){var t=L9(n+"");if(arguments.length<2){for(var l=V9(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?function(n,e){return function(){(e.apply(this,arguments)?z9:U9)(this,n)}}:e?function(n){return function(){z9(this,n)}}:function(n){return function(){U9(this,n)}})(t,e))},text:function(n){return arguments.length?this.each(null==n?H9:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}:function(n){return function(){this.textContent=n}})(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?Z9:("function"==typeof n?function(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(n){return function(){this.innerHTML=n}})(n)):this.node().innerHTML},raise:function(){return this.each(W9)},lower:function(){return this.each(G9)},append:function(n){var e="function"==typeof n?n:k9(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:k9(n),l=null==e?K9:"function"==typeof e?e:T9(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(Y9)},clone:function(n){return this.select(n?X9:$9)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=(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}}),i=r.length;if(!(arguments.length<2)){for(a=e?lnn:tnn,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[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<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return onn(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return onn(this,n,e)}})(n,e))}};var unn=ann,snn=0;function dnn(){this._="@"+(++snn).toString(36)}dnn.prototype=(function(){return new dnn}).prototype={constructor:dnn,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 cnn=SI("start","end","interrupt"),pnn=[],fnn=0,hnn=1,mnn=2,vnn=3,gnn=4,bnn=5,ynn=6,_nn=function(n,e,t,l,o,r){var i=n.__transition;if(i){if(t in i)return}else n.__transition={};!function(n,e,t){var l,o=n.__transition;function r(u){var s,d,c,p;if(t.state!==hnn)return a();for(s in o)if((p=o[s]).name===t.name){if(p.state===vnn)return mP(r);p.state===gnn?(p.state=ynn,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete o[s]):+s<e&&(p.state=ynn,p.timer.stop(),delete o[s])}if(mP(function(){t.state===vnn&&(t.state=gnn,t.timer.restart(i,t.delay,t.time),i(u))}),t.state=mnn,t.on.call("start",n,n.__data__,t.index,t.group),t.state===mnn){for(t.state=vnn,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 i(e){for(var o=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(a),t.state=bnn,1),r=-1,i=l.length;++r<i;)l[r].call(null,o);t.state===bnn&&(t.on.call("end",n,n.__data__,t.index,t.group),a())}function a(){for(var l in t.state=ynn,t.timer.stop(),delete o[e],o)return;delete n.__transition}o[e]=t,t.timer=dP(function(n){t.state=hnn,t.timer.restart(r,t.delay,t.time),t.delay<=n&&r(n-t.delay)},0,t.time)}(n,t,{name:e,index:l,group:o,on:cnn,tween:pnn,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:fnn})};function wnn(n,e){var t=xnn(n,e);if(t.state>fnn)throw new Error("too late; already scheduled");return t}function Cnn(n,e){var t=xnn(n,e);if(t.state>mnn)throw new Error("too late; already started");return t}function xnn(n,e){var t=n.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var Snn=function(n,e){var t,l,o,r=n.__transition,i=!0;if(r){for(o in e=null==e?null:e+"",r)(t=r[o]).name===e?(l=t.state>mnn&&t.state<bnn,t.state=ynn,t.timer.stop(),l&&t.on.call("interrupt",n,n.__data__,t.index,t.group),delete r[o]):i=!1;i&&delete n.__transition}},knn=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function Enn(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function Tnn(){}var Rnn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Inn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Onn=/^#([0-9a-f]{3})$/,Fnn=/^#([0-9a-f]{6})$/,Dnn=new RegExp("^rgb\\("+["\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*"]+"\\)$"),Mnn=new RegExp("^rgb\\("+[Inn,Inn,Inn]+"\\)$"),Nnn=new RegExp("^rgba\\("+["\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*",Rnn]+"\\)$"),Ann=new RegExp("^rgba\\("+[Inn,Inn,Inn,Rnn]+"\\)$"),Pnn=new RegExp("^hsl\\("+[Rnn,Inn,Inn]+"\\)$"),qnn=new RegExp("^hsla\\("+[Rnn,Inn,Inn,Rnn]+"\\)$"),jnn={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 Lnn(n){var e;return n=(n+"").trim().toLowerCase(),(e=Onn.exec(n))?new Hnn((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=Fnn.exec(n))?Vnn(parseInt(e[1],16)):(e=Dnn.exec(n))?new Hnn(e[1],e[2],e[3],1):(e=Mnn.exec(n))?new Hnn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Nnn.exec(n))?Bnn(e[1],e[2],e[3],e[4]):(e=Ann.exec(n))?Bnn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Pnn.exec(n))?Wnn(e[1],e[2]/100,e[3]/100,1):(e=qnn.exec(n))?Wnn(e[1],e[2]/100,e[3]/100,e[4]):jnn.hasOwnProperty(n)?Vnn(jnn[n]):"transparent"===n?new Hnn(NaN,NaN,NaN,0):null}function Vnn(n){return new Hnn(n>>16&255,n>>8&255,255&n,1)}function Bnn(n,e,t,l){return l<=0&&(n=e=t=NaN),new Hnn(n,e,t,l)}function znn(n){return n instanceof Tnn||(n=Lnn(n)),n?new Hnn((n=n.rgb()).r,n.g,n.b,n.opacity):new Hnn}function Unn(n,e,t,l){return 1===arguments.length?znn(n):new Hnn(n,e,t,null==l?1:l)}function Hnn(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function Znn(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Wnn(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new Knn(n,e,t,l)}function Gnn(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof Knn)return new Knn(n.h,n.s,n.l,n.opacity);if(n instanceof Tnn||(n=Lnn(n)),!n)return new Knn;if(n instanceof Knn)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new Knn(i,a,u,n.opacity)}(n):new Knn(n,e,t,null==l?1:l)}function Knn(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function Ynn(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}knn(Tnn,Lnn,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),knn(Hnn,Unn,Enn(Tnn,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new Hnn(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new Hnn(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},hex:function(){return"#"+Znn(this.r)+Znn(this.g)+Znn(this.b)},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+")")}})),knn(Knn,Gnn,Enn(Tnn,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new Knn(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new Knn(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 Hnn(Ynn(n>=240?n-240:n+120,o,l),Ynn(n,o,l),Ynn(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 $nn=Math.PI/180,Xnn=180/Math.PI,Qnn=.96422,Jnn=1,nen=.82521,een=4/29,ten=6/29,len=3*ten*ten,oen=ten*ten*ten;function ren(n){if(n instanceof ien)return new ien(n.l,n.a,n.b,n.opacity);if(n instanceof pen){if(isNaN(n.h))return new ien(n.l,0,0,n.opacity);var e=n.h*$nn;return new ien(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof Hnn||(n=znn(n));var t,l,o=den(n.r),r=den(n.g),i=den(n.b),a=aen((.2225045*o+.7168786*r+.0606169*i)/Jnn);return o===r&&r===i?t=l=a:(t=aen((.4360747*o+.3850649*r+.1430804*i)/Qnn),l=aen((.0139322*o+.0971045*r+.7141733*i)/nen)),new ien(116*a-16,500*(t-a),200*(a-l),n.opacity)}function ien(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function aen(n){return n>oen?Math.pow(n,1/3):n/len+een}function uen(n){return n>ten?n*n*n:len*(n-een)}function sen(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function den(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function cen(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof pen)return new pen(n.h,n.c,n.l,n.opacity);if(n instanceof ien||(n=ren(n)),0===n.a&&0===n.b)return new pen(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*Xnn;return new pen(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new pen(n,e,t,null==l?1:l)}function pen(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}knn(ien,function(n,e,t,l){return 1===arguments.length?ren(n):new ien(n,e,t,null==l?1:l)},Enn(Tnn,{brighter:function(n){return new ien(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new ien(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 Hnn(sen(3.1338561*(e=Qnn*uen(e))-1.6168667*(n=Jnn*uen(n))-.4906146*(t=nen*uen(t))),sen(-.9787684*e+1.9161415*n+.033454*t),sen(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),knn(pen,cen,Enn(Tnn,{brighter:function(n){return new pen(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new pen(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return ren(this).rgb()}}));var fen=-.29227,hen=-.90649,men=1.97294,ven=men*hen,gen=1.78277*men,ben=1.78277*fen- -.14861*hen;function yen(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof _en)return new _en(n.h,n.s,n.l,n.opacity);n instanceof Hnn||(n=znn(n));var e=n.g/255,t=n.b/255,l=(ben*t+ven*(n.r/255)-gen*e)/(ben+ven-gen),o=t-l,r=(men*(e-l)-fen*o)/hen,i=Math.sqrt(r*r+o*o)/(men*l*(1-l)),a=i?Math.atan2(r,o)*Xnn-120:NaN;return new _en(a<0?a+360:a,i,l,n.opacity)}(n):new _en(n,e,t,null==l?1:l)}function _en(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function wen(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}knn(_en,yen,Enn(Tnn,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new _en(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new _en(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*$nn,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new Hnn(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(fen*l+hen*o)),255*(e+t*(men*l)),this.opacity)}}));var Cen=function(n){return function(){return n}};function xen(n,e){return function(t){return n+t*e}}function Sen(n,e){var t=e-n;return t?xen(n,t>180||t<-180?t-360*Math.round(t/360):t):Cen(isNaN(n)?e:n)}function ken(n,e){var t=e-n;return t?xen(n,t):Cen(isNaN(n)?e:n)}var Een=function n(e){var t=function(n){return 1==(n=+n)?ken: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):Cen(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=Unn(n)).r,(e=Unn(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=ken(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function Ten(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=Unn(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}Ten(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],r=n[l+1];return wen((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}}),Ten(function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return wen((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}});var Ren,Ien,Oen,Fen,Den=function(n,e){return e-=n=+n,function(t){return n+e*t}},Men=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Nen=new RegExp(Men.source,"g"),Aen=180/Math.PI,Pen={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},qen=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(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,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*Aen,skewX:Math.atan(u)*Aen,scaleX:i,scaleY:a}};function jen(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:Den(n,o)},{i:u-2,x:Den(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:Den(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:Den(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:Den(n,t)},{i:a-2,x:Den(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=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 Len=jen(function(n){return"none"===n?Pen:(Ren||(Ren=document.createElement("DIV"),Ien=document.documentElement,Oen=document.defaultView),Ren.style.transform=n,n=Oen.getComputedStyle(Ien.appendChild(Ren),null).getPropertyValue("transform"),Ien.removeChild(Ren),n=n.slice(7,-1).split(","),qen(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),Ven=jen(function(n){return null==n?Pen:(Fen||(Fen=document.createElementNS("http://www.w3.org/2000/svg","g")),Fen.setAttribute("transform",n),(n=Fen.transform.baseVal.consolidate())?qen((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):Pen)},", ",")",")");function Ben(n){return function(e,t){var l=n((e=Gnn(e)).h,(t=Gnn(t)).h),o=ken(e.s,t.s),r=ken(e.l,t.l),i=ken(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function zen(n){return function(e,t){var l=n((e=cen(e)).h,(t=cen(t)).h),o=ken(e.c,t.c),r=ken(e.l,t.l),i=ken(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function Uen(n){return function e(t){function l(e,l){var o=n((e=yen(e)).h,(l=yen(l)).h),r=ken(e.s,l.s),i=ken(e.l,l.l),a=ken(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}function Hen(n,e,t){var l=n._id;return n.each(function(){var n=Cnn(this,l);(n.value||(n.value={}))[e]=t.apply(this,arguments)}),function(n){return xnn(n,l).value[e]}}Math,Ben(Sen),Ben(ken),zen(Sen),zen(ken),Uen(Sen),Uen(ken);var Zen=function(n,e){var t;return("number"==typeof e?Den:e instanceof Lnn?Een:(t=Lnn(e))?(e=t,Een):function(n,e){var t,l,o,r=Men.lastIndex=Nen.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=Men.exec(n))&&(l=Nen.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:Den(t,l)})),r=Nen.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=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("")})})(n,e)},Wen=unn.prototype.constructor,Gen=0;function Ken(n,e,t,l){this._groups=n,this._parents=e,this._name=t,this._id=l}function Yen(n){return unn().transition(n)}function $en(){return++Gen}var Xen=unn.prototype;Ken.prototype=Yen.prototype={constructor:Ken,select:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=T9(n));for(var l=this._groups,o=l.length,r=new Array(o),i=0;i<o;++i)for(var a,u,s=l[i],d=s.length,c=r[i]=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,_nn(c[p],e,t,p,c,xnn(a,t)));return new Ken(r,this._parents,e,t)},selectAll:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=I9(n));for(var l=this._groups,o=l.length,r=[],i=[],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=xnn(u,t),m=0,v=f.length;m<v;++m)(p=f[m])&&_nn(p,e,t,m,f,h);r.push(f),i.push(u)}return new Ken(r,i,e,t)},filter:function(n){"function"!=typeof n&&(n=O9(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new Ken(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),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new Ken(r,this._parents,this._name,this._id)},selection:function(){return new Wen(this._groups,this._parents)},transition:function(){for(var n=this._name,e=this._id,t=$en(),l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)if(i=a[s]){var d=xnn(i,e);_nn(i,n,t,s,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new Ken(l,this._parents,n,t)},call:Xen.call,nodes:Xen.nodes,node:Xen.node,size:Xen.size,empty:Xen.empty,each:Xen.each,on:function(n,e){var t=this._id;return arguments.length<2?xnn(this.node(),t).on.on(n):this.each(function(n,e,t){var l,o,r=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)?wnn:Cnn;return function(){var i=r(this,n),a=i.on;a!==l&&(o=(l=a).copy()).on(e,t),i.on=o}}(t,n,e))},attr:function(n,e){var t=S9(n),l="transform"===t?Ven:Zen;return this.attrTween(n,"function"==typeof e?(t.local?function(n,e,t){var l,o,r;return function(){var i,a=t(this);if(null!=a)return(i=this.getAttributeNS(n.space,n.local))===a?null:i===l&&a===o?r:r=e(l=i,o=a);this.removeAttributeNS(n.space,n.local)}}:function(n,e,t){var l,o,r;return function(){var i,a=t(this);if(null!=a)return(i=this.getAttribute(n))===a?null:i===l&&a===o?r:r=e(l=i,o=a);this.removeAttribute(n)}})(t,l,Hen(this,"attr."+n,e)):null==e?(t.local?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}})(t):(t.local?function(n,e,t){var l,o;return function(){var r=this.getAttributeNS(n.space,n.local);return r===t?null:r===l?o:o=e(l=r,t)}}:function(n,e,t){var l,o;return function(){var r=this.getAttribute(n);return r===t?null:r===l?o:o=e(l=r,t)}})(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=S9(n);return this.tween(t,(l.local?function(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(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})(l,e))},style:function(n,e,t){var l="transform"==(n+="")?Len:Zen;return null==e?this.styleTween(n,function(n,e){var t,l,o;return function(){var r=j9(this,n),i=(this.style.removeProperty(n),j9(this,n));return r===i?null:r===t&&i===l?o:o=e(t=r,l=i)}}(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,r;return function(){var i=j9(this,n),a=t(this);return null==a&&(this.style.removeProperty(n),a=j9(this,n)),i===a?null:i===l&&a===o?r:r=e(l=i,o=a)}}(n,l,Hen(this,"style."+n,e)):function(n,e,t){var l,o;return function(){var r=j9(this,n);return r===t?null:r===l?o:o=e(l=r,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,function(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}(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}}(Hen(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=xnn(this.node(),t).tween,r=0,i=o.length;r<i;++r)if((l=o[r]).name===n)return l.value;return null}return this.each((null==e?function(n,e){var t,l;return function(){var o=Cnn(this,n),r=o.tween;if(r!==t)for(var i=0,a=(l=t=r).length;i<a;++i)if(l[i].name===e){(l=l.slice()).splice(i,1);break}o.tween=l}}:function(n,e,t){var l,o;if("function"!=typeof t)throw new Error;return function(){var r=Cnn(this,n),i=r.tween;if(i!==l){o=(l=i).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)}r.tween=o}})(t,n,e))},delay:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?function(n,e){return function(){wnn(this,n).delay=+e.apply(this,arguments)}}:function(n,e){return e=+e,function(){wnn(this,n).delay=e}})(e,n)):xnn(this.node(),e).delay},duration:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?function(n,e){return function(){Cnn(this,n).duration=+e.apply(this,arguments)}}:function(n,e){return e=+e,function(){Cnn(this,n).duration=e}})(e,n)):xnn(this.node(),e).duration},ease:function(n){var e=this._id;return arguments.length?this.each(function(n,e){if("function"!=typeof e)throw new Error;return function(){Cnn(this,n).ease=e}}(e,n)):xnn(this.node(),e).ease}};var Qen={time:null,delay:0,duration:250,ease:WP};function Jen(n,e){for(var t;!(t=n.__transition)||!(t=t[e]);)if(!(n=n.parentNode))return Qen.time=aP(),Qen;return t}unn.prototype.interrupt=function(n){return this.each(function(){Snn(this,n)})},unn.prototype.transition=function(n){var e,t;n instanceof Ken?(e=n._id,n=n._name):(e=$en(),(t=Qen).time=aP(),n=null==n?null:n+"");for(var l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)(i=a[s])&&_nn(i,n,e,s,a,t||Jen(i,e));return new Ken(l,this._parents,n,e)};var ntn=[null],etn=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>hnn&&t.name===e)return new Ken([[n]],ntn,e,+l);return null},ttn=function(n){return function(){return n}};function ltn(n){return n[0]}function otn(n){return n[1]}function rtn(){this._=null}function itn(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function atn(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 utn(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 stn(n){for(;n.L;)n=n.L;return n}rtn.prototype={constructor:rtn,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=stn(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&&(atn(this,t),t=(n=t).U),t.C=!1,l.C=!0,utn(this,l)):(o=l.L)&&o.C?(t.C=o.C=!1,l.C=!0,n=l):(n===t.L&&(utn(this,t),t=(n=t).U),t.C=!1,l.C=!0,atn(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,r=n.L,i=n.R;if(t=r?i?stn(i):r:i,o?o.L===n?o.L=t:o.R=t:this._=t,r&&i?(l=t.C,t.C=n.C,t.L=r,r.U=t,t!==i?(o=t.U,t.U=n.U,o.L=n=t.R,t.R=i,i.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,atn(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,utn(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,atn(this,o),n=this._;break}}else if((e=o.L).C&&(e.C=!1,o.C=!0,utn(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,atn(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,utn(this,o),n=this._;break}e.C=!0,n=o,o=o.U}while(!n.C);n&&(n.C=!1)}}};var dtn=rtn;function ctn(n,e,t,l){var o=[null,null],r=Atn.push(o)-1;return o.left=n,o.right=e,t&&ftn(o,n,e,t),l&&ftn(o,e,n,l),Mtn[n.index].halfedges.push(r),Mtn[e.index].halfedges.push(r),o}function ptn(n,e,t){var l=[e,t];return l.left=n,l}function ftn(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 htn(n,e,t,l,o){var r,i=n[0],a=n[1],u=i[0],s=i[1],d=0,c=1,p=a[0]-u,f=a[1]-s;if(r=e-u,p||!(r>0)){if(r/=p,p<0){if(r<d)return;r<c&&(c=r)}else if(p>0){if(r>c)return;r>d&&(d=r)}if(r=l-u,p||!(r<0)){if(r/=p,p<0){if(r>c)return;r>d&&(d=r)}else if(p>0){if(r<d)return;r<c&&(c=r)}if(r=t-s,f||!(r>0)){if(r/=f,f<0){if(r<d)return;r<c&&(c=r)}else if(f>0){if(r>c)return;r>d&&(d=r)}if(r=o-s,f||!(r<0)){if(r/=f,f<0){if(r>c)return;r>d&&(d=r)}else if(f>0){if(r<d)return;r<c&&(c=r)}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 mtn(n,e,t,l,o){var r=n[1];if(r)return!0;var i,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];r=[m,o]}else{if(u){if(u[1]<t)return}else u=[m,o];r=[m,t]}}else if(a=(p+h)/2-(i=(c-f)/(h-p))*m,i<-1||i>1)if(c>f){if(u){if(u[1]>=o)return}else u=[(t-a)/i,t];r=[(o-a)/i,o]}else{if(u){if(u[1]<t)return}else u=[(o-a)/i,o];r=[(t-a)/i,t]}else if(p<h){if(u){if(u[0]>=l)return}else u=[e,i*e+a];r=[l,i*l+a]}else{if(u){if(u[0]<e)return}else u=[l,i*l+a];r=[e,i*e+a]}return n[0]=u,n[1]=r,!0}function vtn(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 gtn(n,e){return e[+(e.left!==n.site)]}function btn(n,e){return e[+(e.left===n.site)]}var ytn,_tn=[];function wtn(){itn(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ctn(n){var e=n.P,t=n.N;if(e&&t){var l=e.site,o=n.site,r=t.site;if(l!==r){var i=o[0],a=o[1],u=l[0]-i,s=l[1]-a,d=r[0]-i,c=r[1]-a,p=2*(u*c-s*d);if(!(p>=-qtn)){var f=u*u+s*s,h=d*d+c*c,m=(c*f-s*h)/p,v=(u*h-d*f)/p,g=_tn.pop()||new wtn;g.arc=n,g.site=o,g.x=m+i,g.y=(g.cy=v+a)+Math.sqrt(m*m+v*v),n.circle=g;for(var b=null,y=Ntn._;y;)if(g.y<y.y||g.y===y.y&&g.x<=y.x){if(!y.L){b=y.P;break}y=y.L}else{if(!y.R){b=y;break}y=y.R}Ntn.insert(b,g),b||(ytn=g)}}}}function xtn(n){var e=n.circle;e&&(e.P||(ytn=e.N),Ntn.remove(e),_tn.push(e),itn(e),n.circle=null)}var Stn=[];function ktn(){itn(this),this.edge=this.site=this.circle=null}function Etn(n){var e=Stn.pop()||new ktn;return e.site=n,e}function Ttn(n){xtn(n),Dtn.remove(n),Stn.push(n),itn(n)}function Rtn(n){var e=n.circle,t=e.x,l=e.cy,o=[t,l],r=n.P,i=n.N,a=[n];Ttn(n);for(var u=r;u.circle&&Math.abs(t-u.circle.x)<Ptn&&Math.abs(l-u.circle.cy)<Ptn;)r=u.P,a.unshift(u),Ttn(u),u=r;a.unshift(u),xtn(u);for(var s=i;s.circle&&Math.abs(t-s.circle.x)<Ptn&&Math.abs(l-s.circle.cy)<Ptn;)i=s.N,a.push(s),Ttn(s),s=i;a.push(s),xtn(s);var d,c=a.length;for(d=1;d<c;++d)ftn((s=a[d]).edge,(u=a[d-1]).site,s.site,o);(s=a[c-1]).edge=ctn((u=a[0]).site,s.site,null,o),Ctn(u),Ctn(s)}function Itn(n){for(var e,t,l,o,r=n[0],i=n[1],a=Dtn._;a;)if((l=Otn(a,i)-r)>Ptn)a=a.L;else{if(!((o=r-Ftn(a,i))>Ptn)){l>-Ptn?(e=a.P,t=a):o>-Ptn?(e=a,t=a.N):e=t=a;break}if(!a.R){e=a;break}a=a.R}!function(n){Mtn[n.index]={site:n,halfedges:[]}}(n);var u=Etn(n);if(Dtn.insert(e,u),e||t){if(e===t)return xtn(e),t=Etn(e.site),Dtn.insert(u,t),u.edge=t.edge=ctn(e.site,u.site),Ctn(e),void Ctn(t);if(t){xtn(e),xtn(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,y=m*m+v*v,_=[(v*b-f*y)/g+d,(p*y-m*b)/g+c];ftn(t.edge,s,h,_),u.edge=ctn(s,n,null,_),t.edge=ctn(n,h,null,_),Ctn(e),Ctn(t)}else u.edge=ctn(e.site,u.site)}}function Otn(n,e){var t=n.site,l=t[0],o=t[1],r=o-e;if(!r)return l;var i=n.P;if(!i)return-1/0;var a=(t=i.site)[0],u=t[1],s=u-e;if(!s)return a;var d=a-l,c=1/r-1/s,p=d/s;return c?(-p+Math.sqrt(p*p-2*c*(d*d/(-2*s)-u+s/2+o-r/2)))/c+l:(l+a)/2}function Ftn(n,e){var t=n.N;if(t)return Otn(t,e);var l=n.site;return l[1]===e?l[0]:1/0}var Dtn,Mtn,Ntn,Atn,Ptn=1e-6,qtn=1e-12;function jtn(n,e){return e[1]-n[1]||e[0]-n[0]}function Ltn(n,e){var t,l,o,r=n.sort(jtn).pop();for(Atn=[],Mtn=new Array(n.length),Dtn=new dtn,Ntn=new dtn;;)if(o=ytn,r&&(!o||r[1]<o.y||r[1]===o.y&&r[0]<o.x))r[0]===t&&r[1]===l||(Itn(r),t=r[0],l=r[1]),r=n.pop();else{if(!o)break;Rtn(o.arc)}if(function(){for(var n,e,t,l,o=0,r=Mtn.length;o<r;++o)if((n=Mtn[o])&&(l=(e=n.halfedges).length)){var i=new Array(l),a=new Array(l);for(t=0;t<l;++t)i[t]=t,a[t]=vtn(n,Atn[e[t]]);for(i.sort(function(n,e){return a[e]-a[n]}),t=0;t<l;++t)a[t]=e[i[t]];for(t=0;t<l;++t)e[t]=a[t]}}(),e){var i=+e[0][0],a=+e[0][1],u=+e[1][0],s=+e[1][1];!function(n,e,t,l){for(var o,r=Atn.length;r--;)mtn(o=Atn[r],n,e,t,l)&&htn(o,n,e,t,l)&&(Math.abs(o[0][0]-o[1][0])>Ptn||Math.abs(o[0][1]-o[1][1])>Ptn)||delete Atn[r]}(i,a,u,s),function(n,e,t,l){var o,r,i,a,u,s,d,c,p,f,h,m,v=Mtn.length,g=!0;for(o=0;o<v;++o)if(r=Mtn[o]){for(i=r.site,a=(u=r.halfedges).length;a--;)Atn[u[a]]||u.splice(a,1);for(a=0,s=u.length;a<s;)h=(f=btn(r,Atn[u[a]]))[0],m=f[1],c=(d=gtn(r,Atn[u[++a%s]]))[0],p=d[1],(Math.abs(h-c)>Ptn||Math.abs(m-p)>Ptn)&&(u.splice(a,0,Atn.push(ptn(i,f,Math.abs(h-n)<Ptn&&l-m>Ptn?[n,Math.abs(c-n)<Ptn?p:l]:Math.abs(m-l)<Ptn&&t-h>Ptn?[Math.abs(p-l)<Ptn?c:t,l]:Math.abs(h-t)<Ptn&&m-e>Ptn?[t,Math.abs(c-t)<Ptn?p:e]:Math.abs(m-e)<Ptn&&h-n>Ptn?[Math.abs(p-e)<Ptn?c:n,e]:null))-1),++s);s&&(g=!1)}if(g){var b,y,_,w=1/0;for(o=0,g=null;o<v;++o)(r=Mtn[o])&&(_=(b=(i=r.site)[0]-n)*b+(y=i[1]-e)*y)<w&&(w=_,g=r);if(g){var C=[n,e],x=[n,l],S=[t,l],k=[t,e];g.halfedges.push(Atn.push(ptn(i=g.site,C,x))-1,Atn.push(ptn(i,x,S))-1,Atn.push(ptn(i,S,k))-1,Atn.push(ptn(i,k,C))-1)}}for(o=0;o<v;++o)(r=Mtn[o])&&(r.halfedges.length||delete Mtn[o])}(i,a,u,s)}this.edges=Atn,this.cells=Mtn,Dtn=Ntn=Atn=Mtn=null}Ltn.prototype={constructor:Ltn,polygons:function(){var n=this.edges;return this.cells.map(function(e){var t=e.halfedges.map(function(t){return gtn(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(r=(o=t.halfedges).length)for(var o,r,i,a,u,s,d=t.site,c=-1,p=e[o[r-1]],f=p.left===d?p.right:p.left;++c<r;)i=f,f=(p=e[o[c]]).left===d?p.right:p.left,i&&f&&l<i.index&&l<f.index&&((a=d)[0]-(s=f)[0])*((u=i)[1]-a[1])-(a[0]-u[0])*(s[1]-a[1])<0&&n.push([d.data,i.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,r=this,i=r._found||0,a=r.cells.length;!(o=r.cells[i]);)if(++i>=a)return null;var u=n-o.site[0],s=e-o.site[1],d=u*u+s*s;do{o=r.cells[l=i],i=null,o.halfedges.forEach(function(t){var l=r.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,i=a.index)}})}while(null!==i);return r._found=l,null==t||d<=t*t?o.site:null}};var Vtn=function(){var n=ltn,e=otn,t=null;function l(l){return new Ltn(l.map(function(t,o){var r=[Math.round(n(t,o,l)/Ptn)*Ptn,Math.round(e(t,o,l)/Ptn)*Ptn];return r.index=o,r.data=t,r}),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:ttn(+e),l):n},l.y=function(n){return arguments.length?(e="function"==typeof n?n:ttn(+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},Btn=function(){function n(){}return n.prototype.getD3=function(){return l},n}(),ztn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.symbol_id},e}(gF),Utn=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}(),Htn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.handleError=function(e){n.prototype.handleError.call(this,e),this.injector.get(fc).error(e.message)},e}(function(){function n(n){this.injector=n}return n.prototype.handleError=function(n){a.shouldSend=this.shouldSend(),console.error(n.originalError||n)},n.prototype.shouldSend=function(){return this.injector.get(T).get("crash_reports")},n}()),Ztn=function(){return function(){}}(),Wtn=function(){return function(){}}(),Gtn=t("S6T7"),Ktn=function(){return function(){}}(),Ytn=function(){return function(){}}(),$tn=o["\u0275cmf"](u,[R],function(n){return o["\u0275mod"]([o["\u0275mpd"](512,o.ComponentFactoryResolver,o["\u0275CodegenComponentFactoryResolver"],[[8,[io,Cc,Zv,$v,Ig,Zb,$b,wy,Ly,i_,c_,F_,q_,gw,Rw,Mw,eC,pC,gC,BC,JC,nS,xS,RS,VS,ZS,xk,Bk,Jk,sE,hE,EE,jE,ZE,lT,mT,CT,NT,ZT,$T,iR,bR,OR,AR,ZR,tz,az,_z,kz,Iz,Bz,Zz,lU,cU,gU,SU,OU,AU,hH,bH,rw,CH,TH,DH,PH]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["\u0275mpd"](5120,o.LOCALE_ID,o["\u0275angular_packages_core_core_s"],[[3,o.LOCALE_ID]]),o["\u0275mpd"](4608,I.NgLocalization,I.NgLocaleLocalization,[o.LOCALE_ID,[2,I["\u0275angular_packages_common_common_a"]]]),o["\u0275mpd"](5120,o.APP_ID,o["\u0275angular_packages_core_core_h"],[]),o["\u0275mpd"](5120,o.IterableDiffers,o["\u0275angular_packages_core_core_q"],[]),o["\u0275mpd"](5120,o.KeyValueDiffers,o["\u0275angular_packages_core_core_r"],[]),o["\u0275mpd"](4608,Jn,ne,[I.DOCUMENT]),o["\u0275mpd"](6144,o.Sanitizer,null,[Jn]),o["\u0275mpd"](4608,Wn,lr,[[2,nr],[2,Wo]]),o["\u0275mpd"](5120,yn,function(n,e,t,l,o,r,i,a){return[new Hn(n,e,t),new Qn(l),new Yn(o,r,i,a)]},[I.DOCUMENT,o.NgZone,o.PLATFORM_ID,I.DOCUMENT,I.DOCUMENT,Wn,o["\u0275Console"],[2,Gn]]),o["\u0275mpd"](4608,_n,_n,[yn,o.NgZone]),o["\u0275mpd"](135680,xn,xn,[I.DOCUMENT]),o["\u0275mpd"](4608,On,On,[_n,xn,o.APP_ID]),o["\u0275mpd"](5120,ci,iu,[]),o["\u0275mpd"](5120,ea,au,[]),o["\u0275mpd"](4608,Fa,ru,[I.DOCUMENT,ci,ea]),o["\u0275mpd"](5120,o.RendererFactory2,uu,[On,Fa,o.NgZone]),o["\u0275mpd"](6144,Cn,null,[xn]),o["\u0275mpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["\u0275mpd"](4608,Gu,Ku,[I.DOCUMENT,o.PLATFORM_ID,Zu]),o["\u0275mpd"](4608,Yu,Yu,[Gu,Wu]),o["\u0275mpd"](5120,Lu,function(n){return[n]},[Yu]),o["\u0275mpd"](4608,Uu,Uu,[]),o["\u0275mpd"](6144,zu,null,[Uu]),o["\u0275mpd"](4608,Hu,Hu,[zu]),o["\u0275mpd"](6144,Cu,null,[Hu]),o["\u0275mpd"](4608,wu,$u,[Cu,o.Injector]),o["\u0275mpd"](4608,qu,qu,[wu]),o["\u0275mpd"](5120,bt,Xl,[Rl]),o["\u0275mpd"](4608,jl,jl,[]),o["\u0275mpd"](6144,Pl,null,[jl]),o["\u0275mpd"](135680,Ll,Ll,[Rl,o.NgModuleFactoryLoader,o.Compiler,o.Injector,Pl]),o["\u0275mpd"](4608,ql,ql,[]),o["\u0275mpd"](5120,Vl,Wl,[Rl,I.ViewportScroller,Bl]),o["\u0275mpd"](5120,eo,no,[Ql]),o["\u0275mpd"](5120,o.APP_BOOTSTRAP_LISTENER,function(n){return[n]},[eo]),o["\u0275mpd"](4608,fm,fm,[]),o["\u0275mpd"](4608,lv,lv,[]),o["\u0275mpd"](4608,Nr,Qa,[o.RendererFactory2,dn]),o["\u0275mpd"](4608,cd,cd,[$s,ld,o.ComponentFactoryResolver,sd,td,o.Injector,o.NgZone,I.DOCUMENT,Dr,[2,I.Location]]),o["\u0275mpd"](5120,fd,vd,[cd]),o["\u0275mpd"](5120,Cd,xd,[cd]),o["\u0275mpd"](4608,tF,tF,[]),o["\u0275mpd"](4608,qO,qO,[]),o["\u0275mpd"](4608,oB,oB,[]),o["\u0275mpd"](4608,rB,rB,[]),o["\u0275mpd"](4608,iB,iB,[]),o["\u0275mpd"](4608,aB,aB,[]),o["\u0275mpd"](4608,uB,uB,[oB,rB,iB,aB]),o["\u0275mpd"](4608,xF,xF,[]),o["\u0275mpd"](4608,bI,bI,[]),o["\u0275mpd"](4608,VO,VO,[]),o["\u0275mpd"](4608,vF,vF,[]),o["\u0275mpd"](4608,IF,IF,[]),o["\u0275mpd"](4608,Wq,Wq,[]),o["\u0275mpd"](4608,YR,YR,[]),o["\u0275mpd"](4608,$R,$R,[]),o["\u0275mpd"](4608,LF,LF,[]),o["\u0275mpd"](4608,lD,lD,[]),o["\u0275mpd"](4608,OL,OL,[]),o["\u0275mpd"](4608,pF,pF,[]),o["\u0275mpd"](4608,eF,eF,[]),o["\u0275mpd"](4608,lF,lF,[eF,tF,qO]),o["\u0275mpd"](4608,uF,uF,[lF]),o["\u0275mpd"](4608,dF,dF,[uF]),o["\u0275mpd"](4608,qB,qB,[]),o["\u0275mpd"](4608,VV,VV,[eF,tF,qO]),o["\u0275mpd"](4608,LB,LB,[VV]),o["\u0275mpd"](4608,VB,VB,[LB]),o["\u0275mpd"](4608,zV,zV,[]),o["\u0275mpd"](4608,HV,HV,[VV,zV]),o["\u0275mpd"](4608,jH,jH,[]),o["\u0275mpd"](4608,rF,rF,[]),o["\u0275mpd"](4608,iF,iF,[lF,rF,eF,tF,qO]),o["\u0275mpd"](4608,hF,hF,[]),o["\u0275mpd"](4608,yF,yF,[]),o["\u0275mpd"](4608,_F,_F,[]),o["\u0275mpd"](4608,wF,wF,[]),o["\u0275mpd"](4608,CF,CF,[]),o["\u0275mpd"](4608,SF,SF,[yF,_F,wF,CF,iF,dF,pF,hF,vF,xF]),o["\u0275mpd"](4608,QO,QO,[]),o["\u0275mpd"](4608,GO,GO,[]),o["\u0275mpd"](4608,LH,LH,[]),o["\u0275mpd"](4608,HO,HO,[]),o["\u0275mpd"](4608,jF,jF,[tF,qO,HO,GO]),o["\u0275mpd"](4608,VF,VF,[SF,HO,jF,LF]),o["\u0275mpd"](4608,BF,BF,[VF,GO]),o["\u0275mpd"](4608,yN,yN,[]),o["\u0275mpd"](4608,wN,wN,[YR,QO]),o["\u0275mpd"](4608,Uq,Uq,[YR]),o["\u0275mpd"](4608,QF,QF,[tF,qO,HO,GO]),o["\u0275mpd"](4608,nD,nD,[]),o["\u0275mpd"](4608,eD,eD,[xF,QF,nD,HO]),o["\u0275mpd"](4608,tD,tD,[xF,eD]),o["\u0275mpd"](4608,jO,jO,[qO]),o["\u0275mpd"](4608,LO,LO,[]),o["\u0275mpd"](4608,BO,BO,[VO]),o["\u0275mpd"](4608,zO,zO,[VO]),o["\u0275mpd"](4608,UO,UO,[VO]),o["\u0275mpd"](4608,ZO,ZO,[jO,LO,BO,zO,UO,HO]),o["\u0275mpd"](4608,KO,KO,[ZO,bI,YR,GO]),o["\u0275mpd"](4608,Hq,Hq,[tD,BF,KO]),o["\u0275mpd"](4608,Zq,Zq,[BF,yN,wN,Uq,Hq,vF]),o["\u0275mpd"](4608,S,S,[]),o["\u0275mpd"](4608,mc,vc,[]),o["\u0275mpd"](4608,tb,tb,[]),o["\u0275mpd"](4608,Jo,Jo,[]),o["\u0275mpd"](5120,bv,yv,[cd]),o["\u0275mpd"](135680,_v,_v,[cd,o.Injector,[2,I.Location],[2,gv],bv,[3,_v],ld]),o["\u0275mpd"](5120,Qv,Jv,[[3,Qv]]),o["\u0275mpd"](5120,V_,B_,[cd]),o["\u0275mpd"](5120,Xd,Qd,[cd]),o["\u0275mpd"](5120,ux,sx,[[3,ux]]),o["\u0275mpd"](4608,WV.HotkeysService,WV.HotkeysService,[VH.HotkeyOptions]),o["\u0275mpd"](4608,T,T,[S]),o["\u0275mpd"](4608,Btn,Btn,[]),o["\u0275mpd"](4608,Ph,Ph,[]),o["\u0275mpd"](4608,qh,qh,[qu,Ph]),o["\u0275mpd"](4608,jh,jh,[qh]),o["\u0275mpd"](4608,rg,rg,[qh,T]),o["\u0275mpd"](4608,J_,J_,[qh]),o["\u0275mpd"](4608,zh,zh,[]),o["\u0275mpd"](4608,Uh,Uh,[zh]),o["\u0275mpd"](4608,m_,m_,[qh]),o["\u0275mpd"](4608,hL,hL,[qh]),o["\u0275mpd"](4608,YL,YL,[qh]),o["\u0275mpd"](4608,FL,FL,[qh]),o["\u0275mpd"](4608,Sy,Sy,[qh]),o["\u0275mpd"](4608,Ey,Ey,[_v]),o["\u0275mpd"](4608,fc,fc,[mz,o.NgZone]),o["\u0275mpd"](4608,oc,oc,[]),o["\u0275mpd"](4608,lL,lL,[]),o["\u0275mpd"](4608,bV,bV,[]),o["\u0275mpd"](4608,DL,DL,[]),o["\u0275mpd"](4608,PB,PB,[lL,bV,DL]),o["\u0275mpd"](4608,ztn,ztn,[]),o["\u0275mpd"](4608,kF,kF,[]),o["\u0275mpd"](4608,Hh,Hh,[]),o["\u0275mpd"](4608,sg,sg,[]),o["\u0275mpd"](4608,MF,MF,[]),o["\u0275mpd"](4608,Utn,Utn,[qh]),o["\u0275mpd"](4608,IS,IS,[qh]),o["\u0275mpd"](4608,zk,zk,[qh]),o["\u0275mpd"](4608,D_,D_,[]),o["\u0275mpd"](4608,mE,mE,[qh]),o["\u0275mpd"](4608,__,__,[qh]),o["\u0275mpd"](4608,zC,zC,[qh]),o["\u0275mpd"](4608,oy,oy,[mc]),o["\u0275mpd"](4608,ry,ry,[oy]),o["\u0275mpd"](4608,iy,iy,[mc,ry]),o["\u0275mpd"](4608,Dx,Dx,[]),o["\u0275mpd"](4608,ok,ok,[]),o["\u0275mpd"](4608,TE,TE,[]),o["\u0275mpd"](4608,nE,nE,[]),o["\u0275mpd"](4608,sw,sw,[]),o["\u0275mpd"](4608,WE,WE,[qh]),o["\u0275mpd"](4608,oT,oT,[]),o["\u0275mpd"](4608,xT,xT,[qh]),o["\u0275mpd"](4608,AT,AT,[]),o["\u0275mpd"](4608,aR,aR,[qh]),o["\u0275mpd"](4608,yR,yR,[]),o["\u0275mpd"](4608,cc,cc,[]),o["\u0275mpd"](135680,pc,pc,[mc]),o["\u0275mpd"](4608,Lb,Lb,[mc]),o["\u0275mpd"](4608,Vb,Vb,[Lb,T]),o["\u0275mpd"](4608,BB,BB,[eF]),o["\u0275mpd"](1073742336,I.CommonModule,I.CommonModule,[]),o["\u0275mpd"](512,o.ErrorHandler,Htn,[o.Injector]),o["\u0275mpd"](1024,o.NgProbeToken,function(){return[Hl()]},[]),o["\u0275mpd"](512,Ql,Ql,[o.Injector]),o["\u0275mpd"](1024,o.APP_INITIALIZER,function(n,e){return[(t=n,vn("probe",bn),vn("coreTokens",Object(s.__assign)({},gn,(t||[]).reduce(function(n,e){return n[e.name]=e.token,n},{}))),function(){return bn}),Jl(e)];var t},[[2,o.NgProbeToken],Ql]),o["\u0275mpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["\u0275mpd"](131584,o.ApplicationRef,o.ApplicationRef,[o.NgZone,o["\u0275Console"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["\u0275mpd"](1073742336,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["\u0275mpd"](1073742336,se,se,[[3,se]]),o["\u0275mpd"](1073742336,Xu,Xu,[]),o["\u0275mpd"](1073742336,Qu,Qu,[]),o["\u0275mpd"](1024,zl,Kl,[[3,Rl]]),o["\u0275mpd"](512,$e,Xe,[]),o["\u0275mpd"](512,Ml,Ml,[]),o["\u0275mpd"](256,Bl,{},[]),o["\u0275mpd"](1024,I.LocationStrategy,Gl,[I.PlatformLocation,[2,I.APP_BASE_HREF],Bl]),o["\u0275mpd"](512,I.Location,I.Location,[I.LocationStrategy]),o["\u0275mpd"](512,o.Compiler,o.Compiler,[]),o["\u0275mpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["\u0275mpd"](1024,wl,function(){return[[{path:"",component:hc,children:[{path:"",redirectTo:"servers",pathMatch:"full"},{path:"servers",component:sv},{path:"bundled",component:Wv},{path:"server/:server_id/projects",component:pg},{path:"settings",component:Bb},{path:"settings/console",component:Wb},{path:"installed-software",component:ay},{path:"server/:server_id/project/:project_id/snapshots",component:Ty},{path:"server/:server_id/preferences",component:t_},{path:"server/:server_id/preferences/builtin",component:a_},{path:"server/:server_id/preferences/builtin/ethernet-hubs",component:w_},{path:"server/:server_id/preferences/builtin/ethernet-hubs/addtemplate",component:M_},{path:"server/:server_id/preferences/builtin/ethernet-hubs/:template_id",component:dw},{path:"server/:server_id/preferences/builtin/ethernet-switches",component:bw},{path:"server/:server_id/preferences/builtin/ethernet-switches/addtemplate",component:Iw},{path:"server/:server_id/preferences/builtin/ethernet-switches/:template_id",component:Nw},{path:"server/:server_id/preferences/builtin/cloud-nodes",component:tC},{path:"server/:server_id/preferences/builtin/cloud-nodes/addtemplate",component:fC},{path:"server/:server_id/preferences/builtin/cloud-nodes/:template_id",component:bC},{path:"server/:server_id/preferences/dynamips/templates",component:UC},{path:"server/:server_id/preferences/dynamips/templates/addtemplate",component:Mx},{path:"server/:server_id/preferences/dynamips/templates/:template_id",component:eS},{path:"server/:server_id/preferences/dynamips/templates/:template_id/copy",component:SS},{path:"server/:server_id/preferences/qemu/templates",component:OS},{path:"server/:server_id/preferences/qemu/templates/:template_id/copy",component:BS},{path:"server/:server_id/preferences/qemu/templates/:template_id",component:rk},{path:"server/:server_id/preferences/qemu/addtemplate",component:Dk},{path:"server/:server_id/preferences/vpcs/templates",component:Uk},{path:"server/:server_id/preferences/vpcs/templates/:template_id",component:eE},{path:"server/:server_id/preferences/vpcs/addtemplate",component:dE},{path:"server/:server_id/preferences/virtualbox/templates",component:vE},{path:"server/:server_id/preferences/virtualbox/templates/:template_id",component:RE},{path:"server/:server_id/preferences/virtualbox/addtemplate",component:LE},{path:"server/:server_id/preferences/vmware/templates",component:GE},{path:"server/:server_id/preferences/vmware/templates/:template_id",component:rT},{path:"server/:server_id/preferences/vmware/addtemplate",component:vT},{path:"server/:server_id/preferences/docker/templates",component:ST},{path:"server/:server_id/preferences/docker/templates/:template_id",component:PT},{path:"server/:server_id/preferences/docker/templates/:template_id/copy",component:WT},{path:"server/:server_id/preferences/docker/addtemplate",component:QT},{path:"server/:server_id/preferences/iou/templates",component:uR},{path:"server/:server_id/preferences/iou/templates/:template_id",component:_R},{path:"server/:server_id/preferences/iou/templates/:template_id/copy",component:FR},{path:"server/:server_id/preferences/iou/addtemplate",component:qR}]},{path:"server/:server_id/project/:project_id",component:zB},{path:"**",redirectTo:"servers"}]]},[]),o["\u0275mpd"](1024,Rl,$l,[o.ApplicationRef,$e,Ml,I.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,wl,Bl,[2,xl],[2,yl]]),o["\u0275mpd"](1073742336,Zl,Zl,[[2,zl],[2,Rl]]),o["\u0275mpd"](1073742336,Ztn,Ztn,[]),o["\u0275mpd"](1073742336,rv,rv,[]),o["\u0275mpd"](1073742336,iv,iv,[]),o["\u0275mpd"](1073742336,av,av,[]),o["\u0275mpd"](1073742336,du,du,[]),o["\u0275mpd"](1073742336,Zc,Zc,[]),o["\u0275mpd"](1073742336,Mr,Mr,[]),o["\u0275mpd"](1073742336,Wo,Wo,[[2,Zo],[2,Gn]]),o["\u0275mpd"](1073742336,vo,vo,[]),o["\u0275mpd"](1073742336,hr,hr,[]),o["\u0275mpd"](1073742336,ks,ks,[]),o["\u0275mpd"](1073742336,Bs,Bs,[]),o["\u0275mpd"](1073742336,gd,gd,[]),o["\u0275mpd"](1073742336,Ed,Ed,[]),o["\u0275mpd"](1073742336,ms,ms,[]),o["\u0275mpd"](1073742336,Wtn,Wtn,[]),o["\u0275mpd"](1073742336,jV.HotkeyModule,jV.HotkeyModule,[]),o["\u0275mpd"](1073742336,k,k,[]),o["\u0275mpd"](1073742336,gc,gc,[]),o["\u0275mpd"](1073742336,Gtn.FileUploadModule,Gtn.FileUploadModule,[]),o["\u0275mpd"](1073742336,Ktn,Ktn,[]),o["\u0275mpd"](1073742336,Or,Or,[]),o["\u0275mpd"](1073742336,hp,hp,[]),o["\u0275mpd"](1073742336,bu,bu,[]),o["\u0275mpd"](1073742336,rb,rb,[]),o["\u0275mpd"](1073742336,bb,bb,[]),o["\u0275mpd"](1073742336,Nb,Nb,[]),o["\u0275mpd"](1073742336,jb,jb,[]),o["\u0275mpd"](1073742336,tp,tp,[]),o["\u0275mpd"](1073742336,kv,kv,[]),o["\u0275mpd"](1073742336,Xz,Xz,[]),o["\u0275mpd"](1073742336,Pd,Pd,[]),o["\u0275mpd"](1073742336,fz,fz,[]),o["\u0275mpd"](1073742336,eb,eb,[]),o["\u0275mpd"](1073742336,rr,rr,[]),o["\u0275mpd"](1073742336,vr,vr,[]),o["\u0275mpd"](1073742336,bp,bp,[]),o["\u0275mpd"](1073742336,Wy,Wy,[]),o["\u0275mpd"](1073742336,Ng,Ng,[]),o["\u0275mpd"](1073742336,Ug,Ug,[]),o["\u0275mpd"](1073742336,eg,eg,[]),o["\u0275mpd"](1073742336,Sr,Sr,[]),o["\u0275mpd"](1073742336,H_,H_,[]),o["\u0275mpd"](1073742336,Ho,Ho,[]),o["\u0275mpd"](1073742336,tc,tc,[]),o["\u0275mpd"](1073742336,ix,ix,[]),o["\u0275mpd"](1073742336,hx,hx,[]),o["\u0275mpd"](1073742336,Rk,Rk,[]),o["\u0275mpd"](1073742336,Ytn,Ytn,[]),o["\u0275mpd"](1073742336,KU,KU,[]),o["\u0275mpd"](1073742336,u,u,[]),o["\u0275mpd"](256,o["\u0275APP_ROOT"],!0,[]),o["\u0275mpd"](256,Zu,"XSRF-TOKEN",[]),o["\u0275mpd"](256,Wu,"X-XSRF-TOKEN",[]),o["\u0275mpd"](256,su,"BrowserAnimations",[]),o["\u0275mpd"](256,VH.HotkeyOptions,{},[])])});Object(o.enableProdMode)(),ue().bootstrapModuleFactory($tn).catch(function(n){return console.error(n)})},zahk:function(n,e,t){"use strict";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.__extends(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),r=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e}(t("CS9Q").a);t.d(e,"a",function(){return i});var i=new r(o)},zotm:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("rPjj"),o=t("Fxb1"),r=t("6blF");function i(n,e,t,i,a){if(void 0===a&&(a=new l.a(n,t,i)),!a.closed)return e instanceof r.a?e.subscribe(a):Object(o.a)(e)(a)}},"zrt+":function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("6blF");function o(n){return!!n&&(n instanceof l.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}},zuyY:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}}},[[0,0]]]); |