(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+SKG":function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||r&&(t instanceof ArrayBuffer||function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,r="function"==typeof ArrayBuffer},"+tJ4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=l,l.priorWebsocketSuccess=!1,o(l.prototype),l.protocol=s.protocol,l.Socket=l,l.Transport=n("Gbct"),l.transports=n("akSB"),l.parser=n("Wm4p"),l.prototype.createTransport=function(t){i('creating transport "%s"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=s.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},l.prototype.open=function(){var t;if(this.rememberUpgrade&&l.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},l.prototype.setTransport=function(t){i("setting transport %s",t.name);var e=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},l.prototype.probe=function(t){i('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function o(){r.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&r.transport.supportsBinary),n||(i('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",e),!e)return;l.priorWebsocketSuccess="websocket"===e.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),p(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',t);var a=new Error("probe error");a.transport=e.name,r.emit("upgradeError",a)}})))}function a(){n||(n=!0,p(),e.close(),e=null)}function s(n){var o=new Error("probe error: "+n);o.transport=e.name,a(),i('probe transport "%s" failed because of error: %s',t,n),r.emit("upgradeError",o)}function u(){s("transport closed")}function c(){s("socket closed")}function h(t){e&&t.name!==e.name&&(i('"%s" works - aborting "%s"',t.name,e.name),a())}function p(){e.removeListener("open",o),e.removeListener("error",s),e.removeListener("close",u),r.removeListener("close",c),r.removeListener("upgrading",h)}l.priorWebsocketSuccess=!1,e.once("open",o),e.once("error",s),e.once("close",u),this.once("close",c),this.once("upgrading",h),e.open()},l.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",l.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var t=0,e=this.upgrades.length;t-1},r.prototype.getCachedToken=function(t){if(!this._hasResource(t))return null;var e=this._getItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+t),n=this._getItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+t),r=this.config.expireOffsetSeconds||300;return n&&n>this._now()+r?e:(this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+t,""),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+t,0),null)},r.prototype.getCachedUser=function(){if(this._user)return this._user;var t=this._getItem(this.CONSTANTS.STORAGE.IDTOKEN);return this._user=this._createUser(t),this._user},r.prototype.registerCallback=function(t,e,n){this._activeRenewals[e]=t,this._callBacksMappedToRenewStates[t]||(this._callBacksMappedToRenewStates[t]=[]);var r=this;this._callBacksMappedToRenewStates[t].push(n),this._callBackMappedToRenewStates[t]||(this._callBackMappedToRenewStates[t]=function(n,o,i,a){r._activeRenewals[e]=null;for(var s=0;s-1)){var e=this._user.profile.upn.split("@");t+="&domain_hint="+encodeURIComponent(e[e.length-1])}return t},r.prototype._createUser=function(t){var e=null,n=this._extractIdToken(t);return n&&n.hasOwnProperty("aud")&&(n.aud.toLowerCase()===this.config.clientId.toLowerCase()?(e={userName:"",profile:n},n.hasOwnProperty("upn")?e.userName=n.upn:n.hasOwnProperty("email")&&(e.userName=n.email)):this.warn("IdToken has invalid aud field")),e},r.prototype._getHash=function(t){return t.indexOf("#/")>-1?t=t.substring(t.indexOf("#/")+2):t.indexOf("#")>-1&&(t=t.substring(1)),t},r.prototype.isCallback=function(t){t=this._getHash(t);var e=this._deserialize(t);return e.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||e.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||e.hasOwnProperty(this.CONSTANTS.ID_TOKEN)},r.prototype.getLoginError=function(){return this._getItem(this.CONSTANTS.STORAGE.LOGIN_ERROR)},r.prototype.getRequestInfo=function(t){t=this._getHash(t);var e=this._deserialize(t),n={valid:!1,parameters:{},stateMatch:!1,stateResponse:"",requestType:this.REQUEST_TYPE.UNKNOWN};if(e&&(n.parameters=e,e.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||e.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||e.hasOwnProperty(this.CONSTANTS.ID_TOKEN))){if(n.valid=!0,!e.hasOwnProperty("state"))return this.warn("No state returned"),n;if(this.verbose("State: "+e.state),n.stateResponse=e.state,this._matchState(n))return n;if(!n.stateMatch&&window.parent){n.requestType=this._requestType;for(var r=this._renewStates,o=0;o-1&&e+1-1)return null;if(this.config&&this.config.endpoints)for(var n in this.config.endpoints)if(t.indexOf(n)>-1)return this.config.endpoints[n];return t.indexOf("http://")>-1||t.indexOf("https://")>-1?this._getHostFromUri(t)===this._getHostFromUri(this.config.redirectUri)?this.config.loginResource:null:this.config.loginResource},r.prototype._getHostFromUri=function(t){return String(t).replace(/^(https?:)\/\//,"").split("/")[0]},r.prototype.handleWindowCallback=function(t){if(null==t&&(t=window.location.hash),this.isCallback(t)){var e=null,n=!1;this._openedWindows.length>0&&this._openedWindows[this._openedWindows.length-1].opener&&this._openedWindows[this._openedWindows.length-1].opener._adalInstance?(e=this._openedWindows[this._openedWindows.length-1].opener._adalInstance,n=!0):window.parent&&window.parent._adalInstance&&(e=window.parent._adalInstance);var r,o,i=e.getRequestInfo(t),a=null;o=n||window.parent!==window?e._callBackMappedToRenewStates[i.stateResponse]:e.callback,e.info("Returned from redirect url"),e.saveTokenFromHash(i),i.requestType===this.REQUEST_TYPE.RENEW_TOKEN&&window.parent?(window.parent!==window?e.verbose("Window is in iframe, acquiring token silently"):e.verbose("acquiring token interactive in progress"),r=i.parameters[e.CONSTANTS.ACCESS_TOKEN]||i.parameters[e.CONSTANTS.ID_TOKEN],a=e.CONSTANTS.ACCESS_TOKEN):i.requestType===this.REQUEST_TYPE.LOGIN&&(r=i.parameters[e.CONSTANTS.ID_TOKEN],a=e.CONSTANTS.ID_TOKEN);var s=i.parameters[e.CONSTANTS.ERROR_DESCRIPTION],u=i.parameters[e.CONSTANTS.ERROR];try{o&&o(s,r,u,a)}catch(c){e.error("Error occurred in user defined callback function: "+c)}window.parent!==window||n||(e.config.navigateToLoginRequestUrl?window.location.href=e._getItem(e.CONSTANTS.STORAGE.LOGIN_REQUEST):window.location.hash="")}},r.prototype._getNavigateUrl=function(t,e){var n="common";this.config.tenant&&(n=this.config.tenant);var r=this.instance+n+"/oauth2/authorize"+this._serialize(t,this.config,e)+this._addLibMetadata();return this.info("Navigate url:"+r),r},r.prototype._extractIdToken=function(t){var e=this._decodeJwt(t);if(!e)return null;try{var n=this._base64DecodeStringUrlSafe(e.JWSPayload);return n?JSON.parse(n):(this.info("The returned id_token could not be base64 url safe decoded."),null)}catch(r){this.error("The returned id_token could not be decoded",r)}return null},r.prototype._base64DecodeStringUrlSafe=function(t){return t=t.replace(/-/g,"+").replace(/_/g,"/"),window.atob?decodeURIComponent(escape(window.atob(t))):decodeURIComponent(escape(this._decode(t)))},r.prototype._decode=function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=(t=String(t).replace(/=+$/,"")).length;if(n%4==1)throw new Error("The token to be decoded is not correctly encoded.");for(var r,o,i,a,s,u,c,l="",h=0;h>16&255,c=s>>8&255,l+=String.fromCharCode(u,c);break}if(h+1===n-1){u=(s=r<<18|o<<12)>>16&255,l+=String.fromCharCode(u);break}u=(s=r<<18|o<<12|i<<6|a)>>16&255,c=s>>8&255,l+=String.fromCharCode(u,c,255&s)}return l},r.prototype._decodeJwt=function(t){if(this._isEmpty(t))return null;var e=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);return!e||e.length<4?(this.warn("The returned id_token is not parseable."),null):{header:e[1],JWSPayload:e[2],JWSSig:e[3]}},r.prototype._convertUrlSafeToRegularBase64EncodedString=function(t){return t.replace("-","+").replace("_","/")},r.prototype._serialize=function(t,e,n){var r=[];if(null!==e){r.push("?response_type="+t),r.push("client_id="+encodeURIComponent(e.clientId)),n&&r.push("resource="+encodeURIComponent(n)),r.push("redirect_uri="+encodeURIComponent(e.redirectUri)),r.push("state="+encodeURIComponent(e.state)),e.hasOwnProperty("slice")&&r.push("slice="+encodeURIComponent(e.slice)),e.hasOwnProperty("extraQueryParameter")&&r.push(e.extraQueryParameter);var o=e.correlationId?e.correlationId:this._guid();r.push("client-request-id="+encodeURIComponent(o))}return r.join("&")},r.prototype._deserialize=function(t){var e,n=/\+/g,r=/([^&=]+)=([^&]*)/g,o=function(t){return decodeURIComponent(t.replace(n," "))},i={};for(e=r.exec(t);e;)i[o(e[1])]=o(e[2]),e=r.exec(t);return i},r.prototype._decimalToHex=function(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e},r.prototype._guid=function(){var t=window.crypto||window.msCrypto;if(t&&t.getRandomValues){var e=new Uint8Array(16);return t.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,this._decimalToHex(e[0])+this._decimalToHex(e[1])+this._decimalToHex(e[2])+this._decimalToHex(e[3])+"-"+this._decimalToHex(e[4])+this._decimalToHex(e[5])+"-"+this._decimalToHex(e[6])+this._decimalToHex(e[7])+"-"+this._decimalToHex(e[8])+this._decimalToHex(e[9])+"-"+this._decimalToHex(e[10])+this._decimalToHex(e[11])+this._decimalToHex(e[12])+this._decimalToHex(e[13])+this._decimalToHex(e[14])+this._decimalToHex(e[15])}for(var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r="0123456789abcdef",o=0,i="",a=0;a<36;a++)"-"!==n[a]&&"4"!==n[a]&&(o=16*Math.random()|0),"x"===n[a]?i+=r[o]:"y"===n[a]?(o&=3,i+=r[o|=8]):i+=n[a];return i},r.prototype._expiresIn=function(t){return t||(t=3599),this._now()+parseInt(t,10)},r.prototype._now=function(){return Math.round((new Date).getTime()/1e3)},r.prototype._addAdalFrame=function(t){if(void 0!==t){this.info("Add adal frame to document:"+t);var e=document.getElementById(t);if(!e){if(document.createElement&&document.documentElement&&(window.opera||-1===window.navigator.userAgent.indexOf("MSIE 5.0"))){var n=document.createElement("iframe");n.setAttribute("id",t),n.setAttribute("aria-hidden","true"),n.style.visibility="hidden",n.style.position="absolute",n.style.width=n.style.height=n.borderWidth="0px",e=document.getElementsByTagName("body")[0].appendChild(n)}else document.body&&document.body.insertAdjacentHTML&&document.body.insertAdjacentHTML("beforeEnd",'');window.frames&&window.frames[t]&&(e=window.frames[t])}return e}},r.prototype._saveItem=function(t,e,n){if(this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation){if(!this._supportsLocalStorage())return this.info("Local storage is not supported"),!1;if(n){var r=this._getItem(t)||"";localStorage.setItem(t,r+e+this.CONSTANTS.CACHE_DELIMETER)}else localStorage.setItem(t,e);return!0}return this._supportsSessionStorage()?(sessionStorage.setItem(t,e),!0):(this.info("Session storage is not supported"),!1)},r.prototype._getItem=function(t){return this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation?this._supportsLocalStorage()?localStorage.getItem(t):(this.info("Local storage is not supported"),null):this._supportsSessionStorage()?sessionStorage.getItem(t):(this.info("Session storage is not supported"),null)},r.prototype._supportsLocalStorage=function(){try{return!!window.localStorage&&(window.localStorage.setItem("storageTest","A"),"A"==window.localStorage.getItem("storageTest")&&(window.localStorage.removeItem("storageTest"),!window.localStorage.getItem("storageTest")))}catch(t){return!1}},r.prototype._supportsSessionStorage=function(){try{return!!window.sessionStorage&&(window.sessionStorage.setItem("storageTest","A"),"A"==window.sessionStorage.getItem("storageTest")&&(window.sessionStorage.removeItem("storageTest"),!window.sessionStorage.getItem("storageTest")))}catch(t){return!1}},r.prototype._cloneConfig=function(t){if(null===t||"object"!=typeof t)return t;var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},r.prototype._addLibMetadata=function(){return"&x-client-SKU=Js&x-client-Ver="+this._libVersion()},r.prototype.log=function(t,e,n,r){if(t<=Logging.level){if(!Logging.piiLoggingEnabled&&r)return;var o=(new Date).toUTCString(),i="";i=this.config.correlationId?o+":"+this.config.correlationId+"-"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[t]+" "+e:o+":"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[t]+" "+e,n&&(i+="\nstack:\n"+n.stack),Logging.log(i)}},r.prototype.error=function(t,e){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,t,e)},r.prototype.warn=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,t,null)},r.prototype.info=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,t,null)},r.prototype.verbose=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,t,null)},r.prototype.errorPii=function(t,e){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,t,e,!0)},r.prototype.warnPii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,t,null,!0)},r.prototype.infoPii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,t,null,!0)},r.prototype.verbosePii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,t,null,!0)},r.prototype._libVersion=function(){return"1.0.17"},t.exports&&(t.exports=r,t.exports.inject=function(t){return new r(t)}),r}()},"5LH7":function(t,e){var n=1e3,r=6e4,o=36e5,i=24*o;function a(t,e,n){if(!(t0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=i?Math.round(t/i)+"d":t>=o?Math.round(t/o)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"5M3R":function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Nq7k")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},"67Y/":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("mrSG"),o=n("FFOo");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(o.a)},"6C75":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"6ahw":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("iLxQ"),o=n("DKTb"),i={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("1fDf"),o=n("FFOo"),i=n("L/V9"),a=n("6ahw"),s=n("xTla"),u=n("y3By"),c=n("iLxQ");n.d(e,"a",(function(){return l}));var l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,s=function(t,e,n){if(t){if(t instanceof o.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new o.a(t,e,n):new o.a(a.a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),Object(r.a)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))((function(e,r){var o;o=n.subscribe((function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[s.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0);return e}function c(){var t=u(+new Date);return t!==r?(a=0,r=t):t+"."+u(a++)}for(;s<64;s++)i[o[s]]=s;c.encode=u,c.decode=function(t){var e=0;for(s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var r,o,i=n("Gbct"),a=n("Wm4p"),s=n("TypT"),u=n("Yvos"),c=n("Aplp"),l=n("HjK1")("engine.io-client:websocket");if("undefined"!=typeof WebSocket)r=WebSocket;else if("undefined"!=typeof self)r=self.WebSocket||self.MozWebSocket;else try{o=n(1)}catch(f){}var h=r||o;function p(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=r&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(h=o),i.call(this,t)}t.exports=p,u(p,i),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new h(t,e):new h(t):new h(t,e,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},p.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,r=0,o=n;r')}catch(t){(r=document.createElement("iframe")).name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),l(),t=t.replace(s,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}},DKTb:function(t,e,n){"use strict";function r(t){setTimeout((function(){throw t}),0)}n.d(e,"a",(function(){return r}))},DUSf:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c}));var r=n("pw5m"),o=n.n(r),i=n("TYT/"),a=(n("Valr"),new i.q("HIGHLIGHT_OPTIONS")),s=function(){function t(t){var e=this;if(t&&(t.languages().map((function(t){return e.registerLanguage(t.name,t.func)})),t.config&&this.configure(t.config)),this.listLanguages().length<1)throw new Error("[HighlightJS]: No languages were registered!")}return t.prototype.highlight=function(t,e,n,r){return o.a.highlight(t,e,n,r)},t.prototype.highlightAuto=function(t,e){return o.a.highlightAuto(t,e)},t.prototype.fixMarkup=function(t){return o.a.fixMarkup(t)},t.prototype.highlightBlock=function(t){o.a.highlightBlock(t)},t.prototype.configure=function(t){o.a.configure(t)},t.prototype.initHighlighting=function(){o.a.initHighlighting()},t.prototype.registerLanguage=function(t,e){o.a.registerLanguage(t,e)},t.prototype.listLanguages=function(){return o.a.listLanguages()},t.prototype.getLanguage=function(t){return o.a.getLanguage(t)},t.ngInjectableDef=Object(i.R)({factory:function(){return new t(Object(i.U)(a,8))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(i.ac(a,8))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t}(),u=function(){function t(t,e){this._hljs=t,this._zone=e,this.highlighted=new i.n}return t.prototype.ngOnChanges=function(t){t.code&&t.code.currentValue!==t.code.previousValue&&this.highlightElement(this.code,this.languages)},t.prototype.highlightElement=function(t,e){var n=this;this._zone.runOutsideAngular((function(){var r=n._hljs.highlightAuto(t,e);n.highlightedCode=r.value,n.highlighted.emit(r)}))},t.\u0275fac=function(e){return new(e||t)(i.Ob(s),i.Ob(i.z))},t.\u0275dir=i.Jb({type:t,selectors:[["","highlight",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.Zb("innerHTML",e.highlightedCode,i.wc),i.Gb("hljs",!0))},inputs:{languages:"languages",code:["highlight","code"]},outputs:{highlighted:"highlighted"},features:[i.zb()]}),t}(),c=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:a,useValue:e}]}},t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t}()},DUip:function(t,e,n){"use strict";var r=n("mrSG"),o=n("Valr"),i=n("TYT/"),a=n("F/XL"),s=n("0/uQ"),u=n("K9Ia"),c=n("8g8A"),l=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(u.a),h=n("6blF"),p=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),f=n("dzgT"),d=new h.a((function(t){return t.complete()}));function g(t){return t?function(t){return new h.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):d}function m(t){return new h.a((function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(s.a)(n):g()).subscribe(e)}))}var v=n("67Y/"),y=n("Zn8D");function b(){return Object(y.a)(1)}var w=n("VnD/"),C=n("FFOo"),j=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}();function _(t){return function(e){return 0===t?g():e.lift(new T(t))}}var T=function(){function t(t){if(this.total=t,this.total<0)throw new j}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.total))},t}(),S=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o=2;return function(r){return r.pipe(t?Object(w.a)((function(e,n){return t(e,n,r)})):N.a,_(1),n?O(e):E((function(){return new p})))}}var D=n("MGBS"),L=n("rPjj"),U=n("zotm");function V(t){return function(e){var n=new M(t),r=e.lift(n);return n.caught=r}}var M=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new B(t,this.selector,this.caught))},t}(),B=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return r.c(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new L.a(this,void 0,void 0);this.add(r);var o=Object(U.a)(this,n,void 0,void 0,r);o!==r&&this.add(o)}},e}(D.a);function F(t){return function(e){return 0===t?g():e.lift(new H(t))}}var H=function(){function t(t){if(this.total=t,this.total<0)throw new j}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.total))},t}(),G=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(C.a);function q(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(w.a)((function(e,n){return t(e,n,r)})):N.a,F(1),n?O(e):E((function(){return new p})))}}var W=n("psW0"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.predicate,this.thisArg,this.source))},t}(),$=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return r.c(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(C.a);function Q(t,e){return"function"==typeof e?function(n){return n.pipe(Q((function(n,r){return Object(s.a)(t(n,r)).pipe(Object(v.a)((function(t,o){return e(n,t,r,o)})))})))}:function(e){return e.lift(new K(t))}}var K=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Y(t,this.project))},t}(),Y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.c(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new L.a(this,e,n),i=this.destination;i.add(o),this.innerSubscription=Object(U.a)(this,t,void 0,void 0,o),this.innerSubscription!==o&&i.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.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&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(D.a);function J(){for(var t=[],e=0;e=2&&(n=!0),function(r){return r.lift(new tt(t,e,n))}}var tt=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.accumulator,this.seed,this.hasSeed))},t}(),et=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.c(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(C.a),nt=n("Phjn"),rt=n("y3By"),ot=n("+umK"),it=n("2Bdj");function at(t,e,n){return function(r){return r.lift(new st(t,e,n))}}var st=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.nextOrObserver,this.error,this.complete))},t}(),ut=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=ot.a,i._tapError=ot.a,i._tapComplete=ot.a,i._tapError=r||ot.a,i._tapComplete=o||ot.a,Object(it.a)(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||ot.a,i._tapError=n.error||ot.a,i._tapComplete=n.complete||ot.a),i}return r.c(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(C.a),ct=n("pugT"),lt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.callback))},t}(),ht=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new ct.a(n)),r}return r.c(e,t),e}(C.a);n.d(e,"a",(function(){return be})),n.d(e,"b",(function(){return dt})),n.d(e,"c",(function(){return ft})),n.d(e,"d",(function(){return Bn})),n.d(e,"e",(function(){return On})),n.d(e,"f",(function(){return In})),n.d(e,"g",(function(){return Pn})),n.d(e,"h",(function(){return Rn})),n.d(e,"i",(function(){return Qn})),n.d(e,"j",(function(){return Un}));var pt=function(){return function(t,e){this.id=t,this.url=e}}(),ft=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(pt),dt=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(pt),gt=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(pt),mt=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(pt),vt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),yt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),bt=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(r.c)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(pt),wt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),Ct=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),jt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),_t=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Tt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),St=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Et=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),xt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),kt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),At=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i.Qb(0,"router-outlet")},directives:function(){return[Un]},encapsulation:2}),t}(),Ot=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function It(t){return new Ot(t)}function Rt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Nt(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length-1})):t===e}function Ft(t){return Array.prototype.concat.apply([],t)}function Ht(t){return t.length>0?t[t.length-1]:null}function Gt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function qt(t){return Object(i.rb)(t)?t:Object(i.sb)(t)?Object(s.a)(Promise.resolve(t)):Object(a.a)(t)}function Wt(t,e,n){return n?function(t,e){return Mt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Kt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return Bt(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!Kt(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Kt(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!Kt(n.segments,a)&&!!n.children.primary&&e(n.children.primary,r,s)}(e,n,n.segments)}(t.root,e.root)}var zt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=It(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt.serialize(this)},t}(),$t=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Gt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return te(this)},t}(),Qt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=It(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ae(this)},t}();function Kt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Yt(t,e){var n=[];return Gt(t.children,(function(t,r){"primary"===r&&(n=n.concat(e(t,r)))})),Gt(t.children,(function(t,r){"primary"!==r&&(n=n.concat(e(t,r)))})),n}var Jt=function(){return function(){}}(),Zt=function(){function t(){}return t.prototype.parse=function(t){var e=new he(t);return new zt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return te(e);if(n){var r=e.children.primary?t(e.children.primary,!1):"",o=[];return Gt(e.children,(function(e,n){"primary"!==n&&o.push(n+":"+t(e,!1))})),o.length>0?r+"("+o.join("//")+")":r}var i=Yt(e,(function(n,r){return"primary"===r?[t(e.children.primary,!1)]:[r+":"+t(n,!1)]}));return te(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return ne(t)+"="+ne(e)})).join("&"):ne(t)+"="+ne(n)}))).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Xt=new Zt;function te(t){return t.segments.map((function(t){return ae(t)})).join("/")}function ee(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ne(t){return ee(t).replace(/%3B/gi,";")}function re(t){return ee(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oe(t){return decodeURIComponent(t)}function ie(t){return oe(t.replace(/\+/g,"%20"))}function ae(t){return""+re(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+re(t)+"="+re(e[t])})).join(""));var e}var se=/^[^\/()?;=#]+/;function ue(t){var e=t.match(se);return e?e[0]:""}var ce=/^[^=?&#]+/,le=/^[^?&#]+/,he=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $t([],{}):new $t([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new $t(t,e)),n},t.prototype.parseSegment=function(){var t=ue(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Qt(oe(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=ue(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=ue(this.remaining);r&&this.capture(n=r)}t[oe(e)]=oe(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(ce);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(le);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var o=ie(e),i=ie(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ue(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o="primary");var i=this.parseChildren();e[o]=1===Object.keys(i).length?i.primary:new $t([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),pe=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=fe(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=fe(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=de(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return de(t,this._root).map((function(t){return t.value}))},t}();function fe(t,e){var n,o;if(t===e.value)return e;try{for(var i=Object(r.g)(e.children),a=i.next();!a.done;a=i.next()){var s=fe(t,a.value);if(s)return s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}function de(t,e){var n,o;if(t===e.value)return[e];try{for(var i=Object(r.g)(e.children),a=i.next();!a.done;a=i.next()){var s=de(t,a.value);if(s.length)return s.unshift(e),s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return[]}var ge=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function me(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var ve=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,_e(r,e),r}return Object(r.c)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(pe);function ye(t,e){var n=function(t,e){var n=new Ce([],{},{},"",{},"primary",e,null,t.root,-1,{});return new je("",new ge(n,[]))}(t,e),r=new l([new Qt("",{})]),o=new l({}),i=new l({}),a=new l({}),s=new l(""),u=new be(r,o,a,s,i,"primary",e,n.root);return u.snapshot=n.root,new ve(new ge(u,[]),n)}var be=function(){function t(t,e,n,r,o,i,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(v.a)((function(t){return It(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(v.a)((function(t){return It(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function we(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,o=0;if("always"!==e)for(o=n.length-1;o>=1;){var i=n[o],a=n[o-1];if(i.routeConfig&&""===i.routeConfig.path)o--;else{if(a.component)break;o--}}return function(t){return t.reduce((function(t,e){return{params:Object(r.a)(Object(r.a)({},t.params),e.params),data:Object(r.a)(Object(r.a)({},t.data),e.data),resolve:Object(r.a)(Object(r.a)({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(o))}var Ce=function(){function t(t,e,n,r,o,i,a,s,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=It(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=It(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),je=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,_e(r,n),r}return Object(r.c)(e,t),e.prototype.toString=function(){return Te(this._root)},e}(pe);function _e(t,e){e.value._routerState=t,e.children.forEach((function(e){return _e(t,e)}))}function Te(t){var e=t.children.length>0?" { "+t.children.map(Te).join(", ")+" } ":"";return""+t.value+e}function Se(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Mt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Mt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&xe(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==Ht(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Oe=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Ie(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Re(t,e,n){if(t||(t=new $t([],{})),0===t.segments.length&&t.hasChildren())return Ne(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var a=t.segments[o],s=Ie(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!Ue(s,u,a))return i;r+=2}else{if(!Ue(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new $t([],((r={}).primary=t,r)):t;return new zt(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(v.a)((function(t){return new $t([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(a.a)({});var i=[],s=[],u={};return Gt(n,(function(n,o){var a,c,l=(a=o,c=n,r.expandSegmentGroup(t,e,c,a)).pipe(Object(v.a)((function(t){return u[o]=t})));"primary"===o?i.push(l):s.push(l)})),a.a.apply(null,i.concat(s)).pipe(b(),P(),Object(v.a)((function(){return u})))}(n.children)},t.prototype.expandSegment=function(t,e,n,o,i,s){var u=this;return a.a.apply(void 0,Object(r.f)(n)).pipe(Object(v.a)((function(r){return u.expandSegmentAgainstRoute(t,e,n,r,o,i,s).pipe(V((function(t){if(t instanceof He)return Object(a.a)(null);throw t})))})),b(),q((function(t){return!!t})),V((function(t,n){if(t instanceof p||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,o,i))return Object(a.a)(new $t([],{}));throw new He(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return Je(r)!==i?qe(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):qe(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?We(i):this.lineralizeSegments(n,i).pipe(Object(W.a)((function(n){var i=new $t(n,{});return o.expandSegment(t,i,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,s=Qe(e,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return qe(e);var h=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?We(h):this.lineralizeSegments(r,h).pipe(Object(W.a)((function(r){return a.expandSegment(t,e,n,r.concat(o.slice(c)),i,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,o){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(v.a)((function(t){return n._loadedConfig=t,new $t(o,{})}))):Object(a.a)(new $t(o,{}));var s=Qe(e,n,o),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return qe(e);var l=o.slice(c);return this.getChildConfig(t,n,o).pipe(Object(W.a)((function(t){var n=t.module,o=t.routes,s=function(t,e,n,o){return n.length>0&&function(t,e,n){return n.some((function(n){return Ye(t,e,n)&&"primary"!==Je(n)}))}(t,n,o)?{segmentGroup:Ke(new $t(e,function(t,e){var n,o,i={};i.primary=e;try{for(var a=Object(r.g)(t),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&"primary"!==Je(u)&&(i[Je(u)]=new $t([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}(o,new $t(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Ye(t,e,n)}))}(t,n,o)?{segmentGroup:Ke(new $t(t.segments,function(t,e,n,o){var i,a,s={};try{for(var u=Object(r.g)(n),c=u.next();!c.done;c=u.next()){var l=c.value;Ye(t,e,l)&&!o[Je(l)]&&(s[Je(l)]=new $t([],{}))}}catch(h){i={error:h}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Object(r.a)(Object(r.a)({},o),s)}(t,n,o,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,l,o),c=s.segmentGroup,h=s.slicedSegments;return 0===h.length&&c.hasChildren()?i.expandChildren(n,o,c).pipe(Object(v.a)((function(t){return new $t(u,t)}))):0===o.length&&0===h.length?Object(a.a)(new $t(u,{})):i.expandSegment(n,c,o,h,"primary",!0).pipe(Object(v.a)((function(t){return new $t(u.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(a.a)(new Pt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(a.a)(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?Object(s.a)(o).pipe(Object(v.a)((function(r){var o,i=t.get(r);if(function(t){return t&&Be(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Be(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return qt(o)}))).pipe(b(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(a.a)(!0)}(t.injector,e,n).pipe(Object(W.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(v.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new h.a((function(e){return e.error(Rt("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Object(a.a)(new Pt([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children.primary)return ze(t.redirectTo);r=r.children.primary}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new zt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Gt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Gt(e.children,(function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)})),new $t(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map((function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,o,i=0;try{for(var a=Object(r.g)(e),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===t.path)return e.splice(i),u;i++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t},t}();function Qe(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Nt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ke(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new $t(t.segments.concat(e.segments),e.children)}return t}function Ye(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Je(t){return t.outlet||"primary"}var Ze=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Xe=function(){return function(t,e){this.component=t,this.route=e}}();function tn(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function en(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=me(e);return t.children.forEach((function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Kt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kt(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ee(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ee(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ze(r)):(i.data=a.data,i._resolvedData=a._resolvedData),en(t,e,i.component?s?s.children:null:n,r,o),u&&o.canDeactivateChecks.push(new Xe(s&&s.outlet&&s.outlet.component||null,a))}else a&&nn(e,s,o),o.canActivateChecks.push(new Ze(r)),en(t,null,i.component?s?s.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]})),Gt(i,(function(t,e){return nn(t,n.getContext(e),o)})),o}function nn(t,e,n){var r=me(t),o=t.value;Gt(r,(function(t,r){nn(t,o.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new Xe(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var rn=Symbol("INITIAL_VALUE");function on(){return Q((function(t){return f.a.apply(void 0,Object(r.f)(t.map((function(t){return t.pipe(F(1),function(){for(var t=[],e=0;e0?Ht(n).parameters:{};i=new Ce(n,u,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,vn(t),o,t.component,t,pn(e),fn(e)+n.length,yn(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ln;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(e.matcher||Nt)(n,t,e);if(!o)throw new ln;var i={};Gt(o.posParams,(function(t,e){i[e]=t.path}));var a=o.consumed.length>0?Object(r.a)(Object(r.a)({},i),o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,s=n.slice(c.lastChild),i=new Ce(a,c.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,vn(t),o,t.component,t,pn(e),fn(e)+a.length,yn(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=dn(e,a,s,l,this.relativeLinkResolution),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(l,p);return[new ge(i,d)]}if(0===l.length&&0===f.length)return[new ge(i,[])];var g=this.processSegment(l,p,f,"primary");return[new ge(i,g)]},t}();function pn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function fn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function dn(t,e,n,o,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return gn(t,e,n)&&"primary"!==mn(n)}))}(t,n,o)){var a=new $t(e,function(t,e,n,o){var i,a,s={};s.primary=o,o._sourceSegment=t,o._segmentIndexShift=e.length;try{for(var u=Object(r.g)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&"primary"!==mn(l)){var h=new $t([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,s[mn(l)]=h}}}catch(p){i={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return s}(t,e,o,new $t(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return gn(t,e,n)}))}(t,n,o)){var s=new $t(t.segments,function(t,e,n,o,i,a){var s,u,c={};try{for(var l=Object(r.g)(o),h=l.next();!h.done;h=l.next()){var p=h.value;if(gn(t,n,p)&&!i[mn(p)]){var f=new $t([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[mn(p)]=f}}}catch(d){s={error:d}}finally{try{h&&!h.done&&(u=l.return)&&u.call(l)}finally{if(s)throw s.error}}return Object(r.a)(Object(r.a)({},i),c)}(t,e,n,o,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new $t(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function gn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function mn(t){return t.outlet||"primary"}function vn(t){return t.data||{}}function yn(t){return t.resolve||{}}function bn(t,e,n,r){var o=tn(t,e,r);return qt(o.resolve?o.resolve(e,n):o(e,n))}function wn(t){return function(e){return e.pipe(Q((function(e){var n=t(e);return n?Object(s.a)(n).pipe(Object(v.a)((function(){return e}))):Object(s.a)([e])})))}}var Cn=function(){return function(){}}(),jn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),_n=new i.q("ROUTES"),Tn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(v.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Pt(Ft(o.injector.get(_n)).map(Vt),o)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(s.a)(this.loader.load(t)):qt(t()).pipe(Object(W.a)((function(t){return t instanceof i.v?Object(a.a)(t):Object(s.a)(e.compiler.compileModuleAsync(t))})))},t}(),Sn=function(){return function(){}}(),En=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function xn(t){throw t}function kn(t,e,n){return e.parse("/")}function An(t,e){return Object(a.a)(null)}var On=function(){function t(t,e,n,r,o,a,s,c){var h=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new u.a,this.errorHandler=xn,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:An,afterPreactivation:An},this.urlHandlingStrategy=new En,this.routeReuseStrategy=new jn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.x),this.console=o.get(i.Y);var p=o.get(i.z);this.isNgZoneEnabled=p instanceof i.z,this.resetConfig(c),this.currentUrlTree=new zt(new $t([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Tn(a,s,(function(t){return h.triggerEvent(new jt(t))}),(function(t){return h.triggerEvent(new _t(t))})),this.routerState=ye(this.currentUrlTree,this.rootComponentType),this.transitions=new l({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 t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(w.a)((function(t){return 0!==t.id})),Object(v.a)((function(t){return Object(r.a)(Object(r.a)({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Q((function(t){var o,i,u,c,h=!1,p=!1;return Object(a.a)(t).pipe(at((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(r.a)(Object(r.a)({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Q((function(t){var o,i,s,u,c=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||c)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(a.a)(t).pipe(Q((function(t){var r=e.transitions.getValue();return n.next(new ft(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?d:[t]})),Q((function(t){return Promise.resolve(t)})),(o=e.ngModule.injector,i=e.configLoader,s=e.urlSerializer,u=e.config,function(t){return t.pipe(Q((function(t){return function(t,e,n,r,o){return new $e(t,e,n,r,o).apply()}(o,i,s,t.extractedUrl,u).pipe(Object(v.a)((function(e){return Object(r.a)(Object(r.a)({},t),{urlAfterRedirects:e})})))})))}),at((function(t){e.currentNavigation=Object(r.a)(Object(r.a)({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})})),function(t,n,o,i,a){return function(o){return o.pipe(Object(W.a)((function(o){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new hn(t,e,n,r,o,i).recognize()}(t,n,o.urlAfterRedirects,(s=o.urlAfterRedirects,e.serializeUrl(s)),i,a).pipe(Object(v.a)((function(t){return Object(r.a)(Object(r.a)({},o),{targetSnapshot:t})})));var s})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),at((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),at((function(t){var r=new vt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(c&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,h=t.source,p=t.restoredState,f=t.extras,g=new ft(t.id,e.serializeUrl(l),h,p);n.next(g);var m=ye(l,e.rootComponentType).snapshot;return Object(a.a)(Object(r.a)(Object(r.a)({},t),{targetSnapshot:m,urlAfterRedirects:l,extras:Object(r.a)(Object(r.a)({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),d})),wn((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),at((function(t){var n=new yt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(v.a)((function(t){return Object(r.a)(Object(r.a)({},t),{guards:(n=t.targetSnapshot,o=t.currentSnapshot,i=e.rootContexts,a=n._root,en(a,o?o._root:null,i,[a.value]))});var n,o,i,a})),function(t,e){return function(n){return n.pipe(Object(W.a)((function(n){var o=n.targetSnapshot,i=n.currentSnapshot,u=n.guards,c=u.canActivateChecks,l=u.canDeactivateChecks;return 0===l.length&&0===c.length?Object(a.a)(Object(r.a)(Object(r.a)({},n),{guardsResult:!0})):function(t,e,n,r){return Object(s.a)(t).pipe(Object(W.a)((function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(a.a)(!0);var s=i.map((function(i){var a,s=tn(i,e,o);if(function(t){return t&&Be(t.canDeactivate)}(s))a=qt(s.canDeactivate(t,e,n,r));else{if(!Be(s))throw new Error("Invalid CanDeactivate guard");a=qt(s(t,e,n,r))}return a.pipe(q())}));return Object(a.a)(s).pipe(on())}(t.component,t.route,n,e,r)})),q((function(t){return!0!==t}),!0))}(l,o,i,t).pipe(Object(W.a)((function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Object(s.a)(e).pipe(Object(nt.a)((function(e){return Object(s.a)([sn(e.route.parent,r),an(e.route,r),cn(t,e.path,n),un(t,e.route,n)]).pipe(b(),q((function(t){return!0!==t}),!0))})),q((function(t){return!0!==t}),!0))}(o,c,t,e):Object(a.a)(n)})),Object(v.a)((function(t){return Object(r.a)(Object(r.a)({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),at((function(t){if(Fe(t.guardsResult)){var n=Rt('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),at((function(t){var n=new bt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(w.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new gt(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),wn((function(t){if(t.guards.canActivateChecks.length)return Object(a.a)(t).pipe(at((function(t){var n=new wt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,o=e.ngModule.injector,function(t){return t.pipe(Object(W.a)((function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?Object(s.a)(i).pipe(Object(nt.a)((function(t){return function(t,e,n,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Object(a.a)({});if(1===o.length){var i=o[0];return bn(t[i],e,n,r).pipe(Object(v.a)((function(t){var e;return(e={})[i]=t,e})))}var u={};return Object(s.a)(o).pipe(Object(W.a)((function(o){return bn(t[o],e,n,r).pipe(Object(v.a)((function(t){return u[o]=t,t})))}))).pipe(P(),Object(v.a)((function(){return u})))}(t._resolve,t,e,o).pipe(Object(v.a)((function(e){return t._resolvedData=e,t.data=Object(r.a)(Object(r.a)({},t.data),we(t,n).resolve),null})))}(t.route,e,n,o)})),function(t,e){return arguments.length>=2?function(n){return Object(rt.a)(X(t,e),_(1),O(e))(n)}:function(e){return Object(rt.a)(X((function(e,n,r){return t(e,n,r+1)})),_(1))(e)}}((function(t,e){return t})),Object(v.a)((function(e){return t}))):Object(a.a)(t)})))}),at((function(t){var n=new Ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,o})),wn((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object(v.a)((function(t){var n,o,i,a=(i=function t(e,n,o){if(o&&e.shouldReuseRoute(n.value,o.value.snapshot)){(c=o.value)._futureSnapshot=n.value;var i=function(e,n,o){return n.children.map((function(n){var i,a;try{for(var s=Object(r.g)(o.children),u=s.next();!u.done;u=s.next()){var c=u.value;if(e.shouldReuseRoute(c.value.snapshot,n.value))return t(e,n,c)}}catch(l){i={error:l}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return t(e,n)}))}(e,n,o);return new ge(c,i)}var a=e.retrieve(n.value);if(a){var s=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ro;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new Oe(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),u=s.processChildren?Ne(s.segmentGroup,s.index,a.commands):Re(s.segmentGroup,s.index,a.commands);return ke(s.segmentGroup,u,e,o,i)}(l,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.V)()&&this.isNgZoneEnabled&&!i.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Fe(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e');$("head").append(o),window.setTimeout((function(){$("#JHAThemeColorCSS_OLD").remove()}),4e3)},t.prototype.GetTreeBackgroundColor=function(){return"transparent"},t.prototype.GetTreeBorderColor=function(){return"#ccc"},t.prototype.GetTreeSelectedColor=function(){var e="#fff";return"Onyx"===t.CurrentThemeColor?e="#fff":"Contrast"===t.CurrentThemeColor&&(e="#000"),e},t.prototype.GetTreeSelectedBackgroundColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#78a9cc":"Onyx"===t.CurrentThemeColor?e="#666":"ProfitStars"===t.CurrentThemeColor?e="#998877":"Contrast"===t.CurrentThemeColor?e="#0f0":"Steel"===t.CurrentThemeColor?e="#666":"Pear"===t.CurrentThemeColor?e="#5f7b1d":"Tangerine"===t.CurrentThemeColor?e="#e86403":"Lemon"===t.CurrentThemeColor?e="#d8ac27":"Grape"===t.CurrentThemeColor?e="#7f4580":"Rose"===t.CurrentThemeColor&&(e="#995555"),e},t.prototype.GetChartFontFamily=function(){return'"Segoe UI", Weblysleek, Arial, sans-serif'},t.prototype.GetChartFontSize=function(){return 12},t.prototype.GetChartFontColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#181830":"Onyx"===t.CurrentThemeColor?e="#fff":"Contrast"===t.CurrentThemeColor?e="#ff0":"Pear"===t.CurrentThemeColor&&(e="#1B232A"),e},t.prototype.GetChartGridColor=function(){var e="rgba(0, 0, 0, 0.1)";return"Pacific"===t.CurrentThemeColor?e="rgba(24, 24, 48, 0.1)":"Onyx"===t.CurrentThemeColor?e="rgba(255, 255, 255, 0.2)":"Contrast"===t.CurrentThemeColor?e="rgba(255, 255, 0, 0.5)":"Pear"===t.CurrentThemeColor&&(e="rgba(27, 35, 42, 0.1)"),e},t.prototype.GetSparklineColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#2b6ca0":"Onyx"===t.CurrentThemeColor?e="#8ce0f2":"ProfitStars"===t.CurrentThemeColor?e="#9c3a3f":"Contrast"===t.CurrentThemeColor?e="#f0f":"Steel"===t.CurrentThemeColor?e="#154a75":"Pear"===t.CurrentThemeColor?e="#2c8816":"Tangerine"===t.CurrentThemeColor?e="#c35513":"Lemon"===t.CurrentThemeColor?e="#7d782a":"Grape"===t.CurrentThemeColor?e="#734578":"Rose"===t.CurrentThemeColor&&(e="#bd4880"),e},t.prototype.GetChartDataSeriesColor=function(e){var n="#000";return"Pacific"===t.CurrentThemeColor?n=1===e?"#78a9cc":2===e?"#91e3db":3===e?"#9fd827":4===e?"#ba91e3":5===e?"#506c8c":6===e?"#bbbbbb":7===e?"#e3da91":8===e?"#7f4580":9===e?"#5f7b1d":"#9f7345":"Onyx"===t.CurrentThemeColor?n=1===e?"#78a9cc":2===e?"#91e3db":3===e?"#9fd827":4===e?"#ba91e3":5===e?"#506c8c":6===e?"#bbbbbb":7===e?"#e3da91":8===e?"#7f4580":9===e?"#5f7b1d":"#9f7345":"ProfitStars"===t.CurrentThemeColor?n=1===e?"#884542":2===e?"#958e65":3===e?"#9f7345":4===e?"#e3da91":5===e?"#d9a88b":6===e?"#cccccc":7===e?"#ffd659":8===e?"#ffa80a":9===e?"#666666":"#ea2700":"Contrast"===t.CurrentThemeColor?n=1===e?"#ff00ff":2===e?"#00ffff":3===e?"#ffff00":4===e?"#ff0000":5===e?"#00ff00":6===e?"#0000ff":7===e?"#999999":8===e?"#ffa80a":9===e?"#880000":"#669900":"Steel"===t.CurrentThemeColor?n=1===e?"#000000":2===e?"#19abbf":3===e?"#cccccc":4===e?"#78a9cc":5===e?"#333333":6===e?"#21e4ff":7===e?"#666666":8===e?"#9f7345":9===e?"#999999":"#ff89ce":"Pear"===t.CurrentThemeColor?n=1===e?"#669900":2===e?"#b0a309":3===e?"#a67d00":4===e?"#e4df52":5===e?"#4bE810":6===e?"#f7ff00":7===e?"#ffaf55":8===e?"#1198ff":9===e?"#10e8d3":"#ff89ce":"Lemon"===t.CurrentThemeColor?n=1===e?"#c1b52d":2===e?"#d8ac27":3===e?"#d7ea30":4===e?"#9fd827":5===e?"#ffd659":6===e?"#cccccc":7===e?"#e8724d":8===e?"#ff627e":9===e?"#da4de8":"#8844ff":"Tangerine"===t.CurrentThemeColor?n=1===e?"#ffa80a":2===e?"#e86403":3===e?"#ebd78a":4===e?"#ff350a":5===e?"#c3bd12":6===e?"#da77ff":7===e?"#846de8":8===e?"#84aeff":9===e?"#6dd7e8":"#66ffbf":"Grape"===t.CurrentThemeColor?n=1===e?"#ffbdf8":2===e?"#7f4580":3===e?"#ccabe9":4===e?"#7b80a6":5===e?"#ff89d7":6===e?"#6fafff":7===e?"#65e4e8":8===e?"#7cffba":9===e?"#74e865":"#e0ff5e":"Rose"===t.CurrentThemeColor&&(n=1===e?"#ffbde3":2===e?"#7f4567":3===e?"#7f6b77":4===e?"#ccabbe":5===e?"#ff89ce":6===e?"#ff6f30":7===e?"#e8af3c":8===e?"#fff64e":9===e?"#60e83c":"#46ffb8"),n},t.CurrentThemeColor="Pacific",t.\u0275prov=o.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}()},HjK1:function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("lhf0")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},IUTb:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("6blF"),o=n("+tJ4"),i=n("JF+6");function a(t,e){return e?Object(i.a)(t,e):new r.a(Object(o.a)(t))}},"JF+6":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("6blF"),o=n("pugT");function i(t,e){return new r.a((function(n){var r=new o.a,i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},Ji6i:function(t,e,n){"use strict";var r=n("TYT/"),o=n("Valr");function i(t,e){if(1&t&&(r.Vb(0,"span",6),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaText)}}var a=["*"],s=function(){function t(){this.jhaText="",this.jhaButtonStyle="",this.jhaButtonSize="Medium",this.jhaTooltip="",this.jhaAlignment="",this.jhaIsDisabled=!1,this.jhaWidth="auto"}return t.prototype.getButtonClasses=function(){var t="btn-primary";return"secondary"===this.jhaButtonStyle.toLowerCase()&&(t="btn-secondary"),"small"===this.jhaButtonSize.toLowerCase()&&(t+=" btn-sm"),"auto"!==this.jhaWidth&&(t+=" btn-block"),t},t.prototype.getAlignmentClass=function(){var t="";return"right"===this.jhaAlignment.toLowerCase()&&(t="dropdown-menu-right"),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-dropdown-button"]],inputs:{jhaText:"jhaText",jhaButtonStyle:"jhaButtonStyle",jhaButtonSize:"jhaButtonSize",jhaTooltip:"jhaTooltip",jhaAlignment:"jhaAlignment",jhaIsDisabled:"jhaIsDisabled",jhaWidth:"jhaWidth"},ngContentSelectors:a,decls:7,vars:7,consts:[[1,"dropdown"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","dropdown-toggle",3,"disabled","ngClass"],[1,"jha-dropdown-button-content-container"],["class","jha-dropdown-button-content",4,"ngIf"],[1,"caret","jha-dropdown-button-caret"],[1,"dropdown-menu",3,"ngClass"],[1,"jha-dropdown-button-content"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"button",1),r.Vb(2,"div",2),r.Ac(3,i,2,1,"span",3),r.Qb(4,"span",4),r.Ub(),r.Ub(),r.Vb(5,"ul",5),r.jc(6),r.Ub(),r.Ub()),2&t&&(r.zc("width",e.jhaWidth),r.Cb("title",e.jhaTooltip?e.jhaTooltip:null),r.Bb(1),r.lc("disabled",e.jhaIsDisabled)("ngClass",e.getButtonClasses()),r.Bb(2),r.lc("ngIf",e.jhaText),r.Bb(2),r.lc("ngClass",e.getAlignmentClass()))},directives:[o.i,o.k],encapsulation:2}),t}(),u=n("DUip");function c(t,e){}var l=function(t){return{disabled:t}};function h(t,e){if(1&t&&(r.Vb(0,"a",5),r.Ac(1,c,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),o=r.sc(7);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.oc(3,l,n.jhaIsDisabled)),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function p(t,e){}function f(t,e){if(1&t&&(r.Vb(0,"a",8),r.Ac(1,p,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(2),o=r.sc(7);r.lc("ngClass",r.oc(4,l,n.jhaIsDisabled)),r.Cb("href",n.jhaExternalUrl,r.xc)("target",1==n.jhaExternalUrlInNewWindow?"_blank":null),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function d(t,e){if(1&t&&r.Ac(0,f,2,6,"a",7),2&t){var n=r.gc(),o=r.sc(5);r.lc("ngIf",n.jhaExternalUrl)("ngIfElse",o)}}function g(t,e){}function m(t,e){if(1&t&&(r.Vb(0,"a",9),r.Ac(1,g,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),o=r.sc(7);r.lc("ngClass",r.oc(2,l,n.jhaIsDisabled)),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function v(t,e){if(1&t&&r.Cc(0),2&t){var n=r.gc();r.Ec(" ",n.jhaText," ")}}var y,b=function(){function t(){this.jhaText="",this.jhaTooltip="",this.jhaIsDisabled=!1,this.jhaRouterLink="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-button-menu-option"]],inputs:{jhaText:"jhaText",jhaTooltip:"jhaTooltip",jhaIsDisabled:"jhaIsDisabled",jhaRouterLink:"jhaRouterLink",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow"},decls:8,vars:6,consts:[["role","presentation",3,"ngClass"],["ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","ngClass",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaNoAnchor",""],["dropdownOptionContent",""],["ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","ngClass"],[3,"ngTemplateOutlet"],["role","menuitem","tabindex","0",3,"ngClass",4,"ngIf","ngIfElse"],["role","menuitem","tabindex","0",3,"ngClass"],["href","javascript:;","role","menuitem","tabindex","0",3,"ngClass"]],template:function(t,e){if(1&t&&(r.Vb(0,"li",0),r.Ac(1,h,2,5,"a",1),r.Ac(2,d,1,2,"ng-template",null,2,r.Bc),r.Ac(4,m,2,4,"ng-template",null,3,r.Bc),r.Ac(6,v,1,1,"ng-template",null,4,r.Bc),r.Ub()),2&t){var n=r.sc(3);r.lc("ngClass",r.oc(4,l,e.jhaIsDisabled)),r.Cb("title",e.jhaTooltip?e.jhaTooltip:null),r.Bb(1),r.lc("ngIf",e.jhaRouterLink)("ngIfElse",n)}},directives:[o.i,o.k,u.h,o.m],encapsulation:2}),t}(),w=function(){function t(){this.jhaIconType="",this.jhaSize=""}return t.prototype.getSize=function(){return this.jhaSize?this.jhaSize:"14px"},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-icon"]],inputs:{jhaIconType:"jhaIconType",jhaSize:"jhaSize"},decls:1,vars:9,template:function(t,e){1&t&&r.Qb(0,"i"),2&t&&(r.Eb("xj-icon-",e.jhaIconType,""),r.zc("width",e.getSize())("height",e.getSize())("font-size",e.getSize()))},encapsulation:2}),t}(),C=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b]]}),t}(),j=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b,u.i,C]]}),t}(),_=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),T={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},S="undefined"!=typeof window&&window||{};function E(){return void 0===S||(void 0===S.__theme?y?"bs3"===y:"bs3"===(y=function(){if("undefined"==typeof document)return null;var t=document.createElement("span");t.innerText="test bs version",document.body.appendChild(t),t.classList.add("d-none");var e=t.getBoundingClientRect();return document.body.removeChild(t),e&&0===e.top?"bs4":"bs3"}()):"bs4"!==S.__theme)}var x=function(){function t(){}return t.reflow=function(t){},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=S),e.getComputedStyle(t)},t}();"undefined"==typeof console||console;var k=n("mrSG"),A=n("K9Ia"),O=n("p0ib"),I=n("6blF"),R=n("isby"),N=n("2Bdj"),P=n("67Y/");function D(t,e,n,r){return Object(N.a)(n)&&(r=n,n=void 0),r?D(t,e,n).pipe(Object(P.a)((function(t){return Object(R.a)(t)?r.apply(void 0,t):r(t)}))):new I.a((function(r){!function t(e,n,r,o,i){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,i),a=function(){return s.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var u=e;e.on(n,r),a=function(){return u.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var c=e;e.addListener(n,r),a=function(){return c.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l1?Array.prototype.slice.call(arguments):t)}),r,n)}))}var L=n("F/XL"),U=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return k.c(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return k.c(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a)),V=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return k.c(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(U),M=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),B=function(t){function e(n,r){void 0===r&&(r=M.now);var o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return k.c(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(M),F=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.c(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,o=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r=n.clientWidth&&t.height>=n.clientHeight})),h=(l=l.filter((function(t){return o.some((function(e){return e===t.key}))}))).length>0?l[0].key:c[0].key,p=t.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+h),h+(p?"-"+p:"")}function ct(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:Number(t.offsetWidth)+r,height:Number(t.offsetHeight)+n}}function lt(t,e,n){return void 0===n&&(n=null),it(e,n?at(t):Z(t,e),n)}function ht(t,e,n){var r=n.split(" ")[0],o=ct(t),i={width:o.width,height:o.height},a=-1!==["right","left"].indexOf(r),s=a?"top":"left",u=a?"left":"top",c=a?"height":"width",l=a?"width":"height";return i[s]=e[s]+e[c]/2-o[c]/2,i[u]=r===u?e[u]-o[l]:e[function(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}(u)],i}function pt(t,e){return t&&t.modifiers&&t.modifiers[e]&&t.modifiers[e].enabled}function ft(t,e,n){Object.keys(e).forEach((function(r){var o,i="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&""!==(o=e[r])&&!isNaN(parseFloat(o))&&isFinite(o)&&(i="px"),n?n.setStyle(t,r,""+String(e[r])+i):t.style[r]=String(e[r])+i}))}function dt(t){var e,n=t.offsets.target,r=t.instance.target.querySelector(".arrow");if(!r)return t;var o=-1!==["left","right"].indexOf(t.placement),i=o?"height":"width",a=o?"Top":"Left",s=a.toLowerCase(),u=o?"left":"top",c=o?"bottom":"right",l=ct(r)[i];t.offsets.host[c]-ln[c]&&(n[s]+=Number(t.offsets.host[s])+Number(l)-Number(n[c])),n=rt(n);var h=Number(t.offsets.host[s])+Number(t.offsets.host[i]/2-l/2),p=H(t.instance.target),f=parseFloat(p["margin"+a]),d=parseFloat(p["border"+a+"Width"]),g=h-n[s]-f-d;return g=Math.max(Math.min(n[i]-l,g),0),t.offsets.arrow=((e={})[s]=Math.round(g),e[u]="",e),t.instance.arrow=r,t}function gt(t){if(t.offsets.target=rt(t.offsets.target),!pt(t.options,"flip"))return t.offsets.target=Object(k.a)({},t.offsets.target,ht(t.instance.target,t.offsets.host,t.placement)),t;var e=st(t.instance.target,t.instance.host,0,"viewport",!1),n=t.placement.split(" ")[0],r=t.placement.split(" ")[1]||"",o=ut("auto",t.offsets.host,t.instance.target,t.instance.host,t.options.allowedPositions),i=[n,o];return i.forEach((function(o,a){if(n!==o||i.length===a+1)return t;var s="left"===(n=t.placement.split(" ")[0])&&Math.floor(t.offsets.target.right)>Math.floor(t.offsets.host.left)||"right"===n&&Math.floor(t.offsets.target.left)Math.floor(t.offsets.host.top)||"bottom"===n&&Math.floor(t.offsets.target.top)Math.floor(e.right),l=Math.floor(t.offsets.target.top)Math.floor(e.bottom),p="left"===n&&u||"right"===n&&c||"top"===n&&l||"bottom"===n&&h,f=-1!==["top","bottom"].indexOf(n),d=f&&"left"===r&&u||f&&"right"===r&&c||!f&&"left"===r&&l||!f&&"right"===r&&h;(s||p||d)&&((s||p)&&(n=i[a+1]),d&&(r=function(t){return"right"===t?"left":"left"===t?"right":t}(r)),t.placement=n+(r?" "+r:""),t.offsets.target=Object(k.a)({},t.offsets.target,ht(t.instance.target,t.offsets.host,t.placement)))})),t}function mt(t){if(!pt(t.options,"preventOverflow"))return t;var e=t.instance.target.style,n=e.top,r=e.left,o=e.transform;e.top="",e.left="",e.transform="";var i=st(t.instance.target,t.instance.host,0,"scrollParent",!1);e.top=n,e.left=r,e.transform=o;var a,s={primary:function(e){var n,r=t.offsets.target[e];return t.offsets.target[e]i[e]&&(o=Math.min(t.offsets.target[r],i[e]-("right"===e?t.offsets.target.width:t.offsets.target.height))),(n={})[r]=o,n}};return["left","right","top","bottom"].forEach((function(e){a=-1!==["left","top"].indexOf(e)?"primary":"secondary",t.offsets.target=Object(k.a)({},t.offsets.target,s[a](e))})),t}function vt(t){var e,n,r=t.placement,o=r.split(" ")[0],i=r.split(" ")[1];if(i){var a=t.offsets,s=a.host,u=a.target,c=-1!==["bottom","top"].indexOf(o),l=c?"left":"top",h=c?"width":"height",p={start:(e={},e[l]=s[l],e),end:(n={},n[l]=s[l]+s[h]-u[h],n)};t.offsets.target=Object(k.a)({},u,p[i])}return t}var yt=new(function(){function t(){}return t.prototype.position=function(t,e,n){return this.offset(t,e,!1)},t.prototype.offset=function(t,e,n){return lt(e,t)},t.prototype.positionElements=function(t,e,n,r,o){return[gt,vt,mt,dt].reduce((function(t,e){return e(t)}),function(t,e,n,r){var o=lt(t,e);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");var i=!!n.match(/auto/g),a=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;return{options:r,instance:{target:t,host:e,arrow:null},offsets:{target:ht(t,o,a),host:o,arrow:null},positionFixed:!1,placement:a=ut(a,o,t,e,r?r.allowedPositions:void 0),placementAuto:i}}(e,t,n,o))},t}()),bt=function(){function t(t,e,n){var r=this;this.update$$=new A.a,this.positionElements=new Map,this.isDisabled=!1,Object(o.q)(n)&&t.runOutsideAngular((function(){r.triggerEvent$=Object(O.a)(D(window,"scroll",{passive:!0}),D(window,"resize",{passive:!0}),Object(L.a)(0,F),r.update$$),r.triggerEvent$.subscribe((function(){r.isDisabled||r.positionElements.forEach((function(t){var n,o,i,a,s,u,c,l;n=wt(t.target),o=wt(t.element),i=t.attachment,a=t.appendToBody,s=r.options,u=e.createRenderer(null,null),ft(o,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d("+(l=function(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left),top:Math.round(t.offsets.target.top),bottom:Math.round(t.offsets.target.bottom),right:Math.floor(t.offsets.target.right)}}(c=yt.positionElements(n,o,i,a,s))).left+"px, "+l.top+"px, 0px)"},u),c.instance.arrow&&ft(c.instance.arrow,c.offsets.arrow,u),function(t,e){var n=t.instance.target,r=n.className;t.placementAuto&&(-1!==(r=(r=(r=r.replace(/bs-popover-auto/g,"bs-popover-"+t.placement)).replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement)).replace(/\sauto/g," "+t.placement)).indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom/g,""+t.placement.split(" ")[0]),e?e.setAttribute(n,"class",r):n.className=r}(c,u)}))}))}))}return t.prototype.position=function(t){this.addPositionElement(t)},Object.defineProperty(t.prototype,"event$",{get:function(){return this.triggerEvent$},enumerable:!0,configurable:!0}),t.prototype.disable=function(){this.isDisabled=!0},t.prototype.enable=function(){this.isDisabled=!1},t.prototype.addPositionElement=function(t){this.positionElements.set(wt(t.element),t)},t.prototype.calcPosition=function(){this.update$$.next()},t.prototype.deletePositionElement=function(t){this.positionElements.delete(wt(t))},t.prototype.setOptions=function(t){this.options=t},t.\u0275fac=function(e){return new(e||t)(r.ac(r.z),r.ac(r.E),r.ac(r.B))},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function wt(t){return"string"==typeof t?document.querySelector(t):t instanceof r.l?t.nativeElement:t}var Ct=function(){return function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}(),jt=function(){function t(t,e,n,o,i,a,s,u){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=o,this._componentFactoryResolver=i,this._ngZone=a,this._applicationRef=s,this._posService=u,this.onBeforeShow=new r.n,this.onShown=new r.n,this.onBeforeHide=new r.n,this.onHidden=new r.n,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!this._isHiding&&!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);var e=r.r.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof r.l&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){this.isShown?this.hide():this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():void e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()};return this._unregisterListenersFn=function(t,e){var n=function(t,e){void 0===e&&(e=T);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map((function(t){return t.split(":")})).map((function(t){var n=e[t[0]]||t;return new _(n[0],n[1])})),o=r.filter((function(t){return t.isManual()}));if(o.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===o.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}(e.triggers),r=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var o=[],i=[],a=function(){i.forEach((function(t){return o.push(t())})),i.length=0};return n.forEach((function(n){var s=n.open===n.close,u=s?e.toggle:e.show;s||i.push((function(){return t.listen(r,n.close,e.hide)})),o.push(t.listen(r,n.open,(function(){return u(a)})))})),function(){o.forEach((function(t){return t()}))}}(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:function(t){e.isShown?n():r(t)}}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout((function(){var n;t._globalListener=(n={targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}}).outsideClick?t._renderer.listen("document","click",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype}))}var n;this._listenOpts.outsideEsc&&(this._globalListener=(n={targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return t._listenOpts.hide()}}).outsideEsc?this._renderer.listen("document","keyup.esc",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype)}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe((function(){t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((function(){t._componentRef&&t._posService.calcPosition()})))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e,n){if(!t)return new Ct([]);if(t instanceof r.K){if(this._viewContainerRef){var o=this._viewContainerRef.createEmbeddedView(t,e);return o.markForCheck(),new Ct([o.rootNodes],o)}var i=t.createEmbeddedView({});return this._applicationRef.attachView(i),new Ct([i.rootNodes],i)}if("function"==typeof t){var a=this._componentFactoryResolver.resolveComponentFactory(t),s=r.r.create({providers:this._providers,parent:this._injector}),u=a.create(s);return Object.assign(u.instance,n),this._applicationRef.attachView(u.hostView),new Ct([[u.location.nativeElement]],u.hostView,u)}return new Ct([[this._renderer.createText(""+t)]])},t}(),_t=function(){function t(t,e,n,r,o){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=r,this._applicationRef=o}return t.prototype.createLoader=function(t,e,n){return new jt(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)},t.\u0275fac=function(e){return new(e||t)(r.ac(r.j),r.ac(r.z),r.ac(r.r),r.ac(bt),r.ac(r.g))},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Tt=["*"],St=function(){function t(){this.hide=Function,this.setClass=Function}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Et=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),xt={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},kt=function(){function t(t,e,n){this._element=e,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},t)}return t.prototype.ngOnInit=function(){var t=this;this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((function(){t.isShown=!0,t._renderer.addClass(t._element.nativeElement,E()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()},t.prototype.onClickStarted=function(t){this.clickStartedInContent=t.target!==this._element.nativeElement},t.prototype.onClickStop=function(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())},t.prototype.onEsc=function(t){this.isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))},t.prototype.ngOnDestroy=function(){this.isShown&&this.hide()},t.prototype.hide=function(){var t=this;!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,E()?"in":"show"),setTimeout((function(){t.isShown=!1,document&&document.body&&1===t.bsModalService.getModalsCount()&&t._renderer.removeClass(document.body,"modal-open"),t.bsModalService.hide(t.level),t.isModalHiding=!1}),this.isAnimated?300:0))},t.\u0275fac=function(e){return new(e||t)(r.Ob(Et),r.Ob(r.l),r.Ob(r.D))},t.\u0275cmp=r.Ib({type:t,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:1,hostBindings:function(t,e){1&t&&r.ec("mousedown",(function(t){return e.onClickStarted(t)}))("mouseup",(function(t){return e.onClickStop(t)}))("keydown.esc",(function(t){return e.onEsc(t)}),!1,r.uc),2&t&&r.Cb("aria-modal",!0)},ngContentSelectors:Tt,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"div",1),r.jc(2),r.Ub(),r.Ub()),2&t&&r.Db("modal-dialog"+(e.config.class?" "+e.config.class:""))},encapsulation:2}),t}(),At=function(){function t(t,e){this._isShown=!1,this.element=t,this.renderer=e}return Object.defineProperty(t.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(t){this._isAnimated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},set:function(t){this._isShown=t,t?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),E()||(t?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),x.reflow(this.element.nativeElement)),this.isShown=!0},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.D))},t.\u0275cmp=r.Ib({type:t,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),Ot=function(){function t(t,e){this.clf=e,this.config=xt,this.onShow=new r.n,this.onShown=new r.n,this.onHide=new r.n,this.onHidden=new r.n,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=t.createRenderer(null,null)}return t.prototype.show=function(t,e){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},xt,e),this._showBackdrop(),this.lastDismissReason=null,this._showModal(t)},t.prototype.hide=function(t){var e=this;1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout((function(){e._hideModal(t),e.removeLoaders(t)}),this.config.animated?150:0)},t.prototype._showBackdrop=function(){var t=this.config.backdrop||"static"===this.config.backdrop,e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),t&&e&&(this._backdropLoader.attach(At).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))},t.prototype._hideBackdrop=function(){var t=this;this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((function(){return t.removeBackdrop()}),this.config.animated?150:0))},t.prototype._showModal=function(t){var e=this,n=this.loaders[this.loaders.length-1],r=new St,o=n.provide({provide:Et,useValue:this.config}).provide({provide:St,useValue:r}).attach(kt).to("body").show({content:t,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return o.instance.level=this.getModalsCount(),r.hide=function(){setTimeout((function(){return o.instance.hide()}),e.config.animated?300:0)},r.content=n.getInnerComponent()||null,r.setClass=function(t){o.instance.config.class=t},r},t.prototype._hideModal=function(t){var e=this.loaders[t-1];e&&e.hide()},t.prototype.getModalsCount=function(){return this.modalsCount},t.prototype.setDismissReason=function(t){this.lastDismissReason=t},t.prototype.removeBackdrop=function(){this._backdropLoader.hide(),this.backdropRef=null},t.prototype.checkScrollbar=function(){this.isBodyOverflowing=document.body.clientWidthJt.MaxPhoneWidth){var t=!1,e=!1;$(document).on("mouseenter",".jha-main-nav",(function(){$("body").hasClass("jha-nav-forced-open")||$("html").hasClass("jha-ios")||$("html").hasClass("jha-android")||(t=!0,event.stopPropagation(),window.setTimeout((function(){t&&(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-hovered"))}),100))})),$(document).on("mouseleave",".jha-main-nav",(function(){$("body").hasClass("jha-nav-forced-open")||!1!==e||$(".jha-mega-menu-button a").hasClass("hover")||$("html").hasClass("jha-ios")||$("html").hasClass("jha-android")||(t=!1,event.stopPropagation(),window.setTimeout((function(){t||($(".jha-main-wrapper > .jha-mega-menu").length&&$(".jha-main-wrapper > .jha-mega-menu").remove(),$("body").stop(!0,!0).addClass("jha-nav-collapsed").removeClass("jha-nav-hovered"))}),150))})),$(document).on("mouseenter",".jha-main-wrapper .jha-mega-menu",(function(){e=!0})),$(document).on("mouseleave",".jha-main-wrapper .jha-mega-menu",(function(){e=!1}))}},t.prototype.backButtonClick=function(){this.jhaBackButtonClicked.emit()},t.prototype.hamburgerButtonClick=function(){var t=!1;if(window.innerWidth<=Jt.MaxPhoneWidth)t=!$("body").hasClass("jha-nav-expanded-phone"),$("body").toggleClass("jha-nav-expanded-phone");else if($("body").hasClass("jha-nav-collapsed"))t=!0,document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-forced-open");else if(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-forced-open"),$(".jha-main-wrapper > .jha-mega-menu").length){var e=$(".jha-mega-menu-button a.hover"),n=e.parent(),r=$(".jha-main-wrapper > .jha-mega-menu"),o=r.find("jha-mega-menu-group"),i=r.find("jha-mega-menu-template"),a=r.find("jha-xperience-mega-menu-template"),s=r.find("jha-mega-menu-item");r.has("jha-mega-menu-col")&&(o.length>0?o.each((function(){$(this).appendTo(r)})):i.length>0?i.each((function(){$(this).appendTo(r)})):a.length>0?a.each((function(){$(this).appendTo(r)})):s.each((function(){$(this).appendTo(r)})),$("jha-mega-menu-col").remove()),r.appendTo(n),e.removeClass("hover")}this.jhaNavToggled.next(t?"Expanded":"Collapsed")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-left"]],inputs:{jhaDisplayBackButton:"jhaDisplayBackButton"},outputs:{jhaBackButtonClicked:"jhaBackButtonClicked",jhaNavToggled:"jhaNavToggled"},ngContentSelectors:Xt,decls:6,vars:1,consts:[[1,"jha-header-left"],[1,"jha-header-left-hamburger-button"],["jha-hamburger-button","","type","button","role","button","aria-label","Toggle menu","title","Expand/collapse options",1,"nav-toggle",3,"click"],["class","jha-header-left-back-button",4,"ngIf"],[1,"jha-header-left-options"],[1,"jha-header-left-back-button"],["type","button","role","button","aria-label","Back","title","Go back",1,"jha-back-button",3,"click"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"div",1),r.Vb(2,"button",2),r.ec("click",(function(){return e.hamburgerButtonClick()})),r.Ub(),r.Ub(),r.Ac(3,Zt,2,0,"div",3),r.Vb(4,"div",4),r.jc(5),r.Ub(),r.Ub()),2&t&&(r.Bb(3),r.lc("ngIf",e.jhaDisplayBackButton))},directives:[o.k],encapsulation:2}),t}(),ee=function(){return function(t,e){this.message=t,this.payload=e}}(),ne=function(){function t(){this.Stream=new A.a}return t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),re=function(){function t(t){this.pubSubService=t,this.jhaRowHeight=-1}return t.prototype.attachMegaMenu=function(t){var e=$(event.target),n=$(e).closest(".jha-mega-menu-button"),r=n.children("a"),o=n.find(".jha-mega-menu"),i="nav";o.parents(".jha-main-header").length?i="header":o.parents(".jha-xperience-bar").length&&(i="xperience"),window.innerWidth>Jt.MaxPhoneWidth?r.hasClass("hover")?this.detachMegaMenu():($(".jha-main-wrapper > .jha-mega-menu").length&&this.detachMegaMenu(),r.addClass("hover"),o.appendTo(".jha-main-wrapper"),this.resizeMegaMenu(i)):r.hasClass("open")?(r.removeClass("open"),o.slideUp()):(r.addClass("open"),o.slideDown())},t.prototype.detachMegaMenu=function(){var t=$(".jha-mega-menu-button a.hover"),e=t.parent(),n=$(".jha-main-wrapper > .jha-mega-menu"),r=n.find("jha-mega-menu-group"),o=n.find("jha-mega-menu-template"),i=n.find("jha-xperience-mega-menu-template"),a=n.find("jha-mega-menu-item");n.has("jha-mega-menu-col")&&(r.length>0?r.each((function(){$(this).appendTo(n)})):o.length>0?o.each((function(){$(this).appendTo(n)})):i.length>0?i.each((function(){$(this).appendTo(n)})):a.each((function(){$(this).appendTo(n)})),$("jha-mega-menu-col").remove()),n.appendTo(e),t.removeClass("hover"),e.data("menu")&&this.pubSubService.Stream.next(new ee("JHA_MEGAMENU_DETACHED",e.data("menu")))},t.prototype.resizeMegaMenu=function(t){if(void 0===t&&(t="nav"),$(".jha-main-wrapper > .jha-mega-menu").length){var e,n=$(".jha-main-wrapper > .jha-mega-menu"),r=0;if(n.data("origLoc")?t=n.data("origLoc"):n.data("origLoc",t),n.data("rowheight")&&(this.jhaRowHeight=n.data("rowheight")),e=-1!==n.data("colwidth")?n.data("colwidth")-10:190,"nav"===t){n.find("> jha-mega-menu-group > li, > jha-mega-menu-item > li, > jha-mega-menu-template > li, > jha-xperience-mega-menu-template > li").width(e);var o=n.children().last();-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),$(".jha-nav-menu").height()>$(".jha-nav.jha-scroll").height()?(r=$(".jha-main-nav").width()-12,$("html").hasClass("jha-ie11")?r-=5:$("html").hasClass("jha-ie13")&&(r-=5),n.css({left:r})):(r=$(".jha-main-nav").width(),n.css({left:r}));var i=190;void 0!==o&&0!==o.length&&(i=o.position().left+e+5),n.width(i),n.addClass("jha-animate-menu")}else if("xperience"===t)n.find("> jha-mega-menu-group > li, > jha-mega-menu-item > li, > jha-mega-menu-template > li, > jha-xperience-mega-menu-template > li").width(e),o=n.children().last(),-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),r=$(".jha-xperience-bar").width(),n.css({right:r}),i=190,void 0!==o&&0!==o.length&&(i=o.position().left+e+5),n.css({left:"auto"}),n.width(i),n.addClass("jha-animate-menu");else{var a,s=n.find("jha-mega-menu-group"),u=s.length,c=0,l=0,h=0,p=0,f=0,d=0,g=0,m=-1,v=-1,y=$(window).outerWidth();if(a=Math.floor(y/(e+10)),u>0)s.each((function(){var t,e=$(this).find("jha-mega-menu-item").length;t=0===$(this).children("li").children("div").length&&0===$(this).children("li").children("a").length?0:35,f+=e,m=m>(l=35*e+35+t)?m:l})),d=f/a,a>=u?(n.has("jha-mega-menu-col")&&(s.each((function(){$(this).appendTo(n)})),$("jha-mega-menu-col").remove()),n.height(m-25)):s.each((function(){var t,e=$(this).find("jha-mega-menu-item").length,r=$("");t=0===$(this).children("li").children("div").length&&0===$(this).children("li").children("a").length?0:35,l=35*e+35+t,0===h&&(n.empty().append(r),h++),0===c?($(this).appendTo(n.find("jha-mega-menu-col:last-of-type")),p=l,c=e):c+e>Math.ceil(d)+2?(hp?v:p)-25)}));else{var b=n.find("jha-mega-menu-item");b.length>0?g=35:((b=n.find("jha-mega-menu-template")).length<1&&(b=n.find("jha-xperience-mega-menu-template")),g=-1!==this.jhaRowHeight?Number(this.jhaRowHeight):100),d=b.length/a,b.each((function(){var t=$("");0===h&&(n.empty().append(t),h++),0===c?($(this).appendTo(n.find("jha-mega-menu-col:last-of-type")),p=g,c=1):c>=Math.ceil(d)?(hp?v:p)+10)}))}n.css("flex-flow","row nowrap"),n.find("jha-mega-menu-group > li, jha-mega-menu-item > li, jha-mega-menu-template > li, jha-xperience-mega-menu-template > li").width(e),-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),0===n.children().length&&n.height(190),n.css("width",y+"px"),n.addClass("jha-animate-menu")}}},t.\u0275fac=function(e){return new(e||t)(r.ac(ne))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),oe=n("FFOo"),ie=(n("MGBS"),n("zotm"),{leading:!0,trailing:!1}),ae=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new se(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),se=function(t){function e(e,n,r,o,i){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=o,a.trailing=i,a._hasTrailingValue=!1,a._trailingValue=null,a}return k.c(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(ue,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,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 t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(oe.a);function ue(t){t.subscriber.clearThrottle()}var ce=function(){function t(t){var e,n;this.megaMenuService=t,this.resizeSubject=new A.a,this.resizeObservable=this.resizeSubject.asObservable().pipe((void 0===e&&(e=Rt),void 0===n&&(n=ie),function(t){return t.lift(new ae(150,e,n.leading,n.trailing))}))}return t.prototype.onClick=function(t){this.megaMenuService.attachMegaMenu(t)},t.prototype.onDocClick=function(t){$(t).closest(".jha-main-wrapper .jha-mega-menu").length&&($(t).closest(".jha-is-clickable").length||$(t).closest("a").length||$(t).closest("jha-mega-menu-item div").length||$(t).closest("jha-mega-menu-template li:not(.jha-is-not-clickable) div").length||$(t).closest("jha-xperience-mega-menu-template li:not(.jha-is-not-clickable) div").length)&&this.megaMenuService.detachMegaMenu()},t.prototype.onResize=function(t){this.resizeSubject.next()},t.prototype.keyEvent=function(t){13===t.keyCode&&(this.megaMenuService.attachMegaMenu(t),$(".jha-main-wrapper > .jha-mega-menu").find("a[href]:first").focus())},t.prototype.ngOnInit=function(){var t=this;this.resizeObservable.subscribe((function(e){return t.megaMenuService.resizeMegaMenu()}))},t.\u0275fac=function(e){return new(e||t)(r.Ob(re))},t.\u0275dir=r.Jb({type:t,selectors:[["","jhaMegaMenu",""]],hostBindings:function(t,e){1&t&&r.ec("click",(function(t){return e.onClick(t)}))("click",(function(t){return e.onDocClick(t.target)}),!1,r.tc)("resize",(function(t){return e.onResize(t)}),!1,r.uc)("keyup",(function(t){return e.keyEvent(t)}))},features:[r.Ab([re])]}),t}(),le=["*"],he=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-right"]],ngContentSelectors:le,decls:3,vars:0,consts:[[1,"jha-header-right"],[1,"nav","navbar-nav"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"ul",1),r.jc(2),r.Ub(),r.Ub())},encapsulation:2}),t}(),pe=function(){function t(){this.jhaText=""}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-text"]],inputs:{jhaText:"jhaText"},decls:3,vars:1,consts:[[1,"jha-header-text"]],template:function(t,e){1&t&&(r.Vb(0,"li"),r.Vb(1,"span",0),r.Cc(2),r.Ub(),r.Ub()),2&t&&(r.Bb(2),r.Dc(e.jhaText))},encapsulation:2}),t}();function fe(t,e){if(1&t&&(r.Tb(0),r.Vb(1,"span",4),r.Cc(2),r.Ub(),r.Vb(3,"span",5),r.Cc(4),r.Ub(),r.Sb()),2&t){var n=r.gc();r.Bb(2),r.Dc(n.jhaTitle),r.Bb(2),r.Dc(n.jhaPhoneTitle)}}function de(t,e){if(1&t&&r.Cc(0),2&t){var n=r.gc();r.Dc(n.jhaTitle)}}var ge=function(){function t(){this.jhaTitle="",this.jhaPhoneTitle=""}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-title"]],inputs:{jhaTitle:"jhaTitle",jhaPhoneTitle:"jhaPhoneTitle"},decls:5,vars:2,consts:[[1,"logo"],[1,"logo-text","navbar-brand","logo-lg"],[4,"ngIf","ngIfElse"],["noPhoneTitle",""],[1,"jha-hidden-phone"],[1,"jha-visible-phone"]],template:function(t,e){if(1&t&&(r.Vb(0,"span",0),r.Vb(1,"span",1),r.Ac(2,fe,5,2,"ng-container",2),r.Ac(3,de,1,1,"ng-template",null,3,r.Bc),r.Ub(),r.Ub()),2&t){var n=r.sc(4);r.Bb(2),r.lc("ngIf",e.jhaPhoneTitle)("ngIfElse",n)}},directives:[o.k],encapsulation:2}),t}(),me=function(){function t(t,e){var n=this;this.injector=e,this.IsTouchDevice=!1,this.InternetExplorerVersion=-1,this.IsIos=!1,this.IsAndroid=!1,t.events.forEach((function(t){if(t instanceof u.c){if(document.body.classList.remove("jha-nav-expanded-phone"),$(".jha-main-wrapper > .jha-mega-menu").length&&n.closeMegaMenus(),window.innerWidth<=Jt.MaxPhoneWidth){var e=$(".jha-mega-menu-button"),r=e.children("a"),o=e.find(".jha-mega-menu");r.hasClass("open")&&(r.removeClass("open"),o.hide())}var i=document.getElementsByClassName("jha-floating-toolbar")[0];$(i).removeClass("jha-floating-toolbar-shown")}t instanceof u.b&&window.setTimeout((function(){var t=document.getElementById("jha-main-scroll-container");t&&(t.scrollTop=0),$("body").hasClass("jha-nav-hovered")&&(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered"))}),100)}))}return t.prototype.InitApp=function(){this.InitAppAll(!1,!1)},t.prototype.InitAppPlugIn=function(){this.InitAppAll(!0,!1)},t.prototype.InitXperienceApp=function(){this.InitAppAll(!1,!0)},t.prototype.InitAppAll=function(t,e){var n=this;if(document.body.classList.add("jha-responsive-version-"+Jt.ControlsVersion.replace(/\./g,"-")),e?(document.body.classList.add("jha-xp-overlay-shown"),document.body.classList.add("jha-xperience-collapsed"),document.body.classList.add("jha-xperience")):(document.body.classList.remove("jha-xp-overlay-shown"),document.body.classList.remove("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience")),this.IsTouchDevice="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,("apps.facebook.com"===window.location.host||window.screen.width>1279&&1===window.devicePixelRatio||window.screen.width>1e3&&window.innerWidth<.9*window.screen.width)&&(this.IsTouchDevice=!1),this.IsTouchDevice?document.getElementsByTagName("html")[0].classList.add("jha-touch"):document.getElementsByTagName("html")[0].classList.add("jha-no-touch"),this.InternetExplorerVersion=-1,"Microsoft Internet Explorer"===navigator.appName){var r=navigator.userAgent;null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(r)&&(this.InternetExplorerVersion=parseFloat(RegExp.$1))}else if("Netscape"===navigator.appName){r=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(r)&&(this.InternetExplorerVersion=parseFloat(RegExp.$1));var o=r.indexOf("Edge/");o>0&&(this.InternetExplorerVersion=parseInt(r.substring(o+5,r.indexOf(".",o)),10))}if(this.InternetExplorerVersion>=9&&$("html").addClass("jha-ie jha-ie"+this.InternetExplorerVersion),this.IsIos=/iPad|iPhone|iPod/.test(navigator.platform),this.IsIos&&$("html").addClass("jha-ios"),this.IsAndroid=navigator.userAgent.indexOf("Android")>-1&&navigator.userAgent.indexOf("Mozilla/5.0")>-1&&navigator.userAgent.indexOf("AppleWebKit")>-1,this.IsAndroid&&$("html").addClass("jha-android"),void 0===window.Cordova&&void 0===window.cordova||$("html").addClass("jha-cordova"),D(document,"deviceready").subscribe((function(t){return $("html").addClass("jha-cordova")})),!t){var i=this;$("body").append($('
')),$(document).ready((function(){document.body.classList.remove("jha-preload"),$("#jha-main-scroll-container").append('
'),$(".jha-scroll").on("scroll",(function(){-$("jha-function-view").position().top>=220?$("#jha-back-to-top").fadeIn(300):$("#jha-back-to-top").fadeOut(200)})),$("body").on("click","#jha-back-to-top a",(function(t){t.preventDefault(),$(".jha-scroll").animate({scrollTop:0},250)})),$.fn.modal.prototype.constructor.Constructor.DEFAULTS.backdrop="static",$("body").on("click",(function(t){$(t.target).closest(".jha-mega-menu").length||$(t.target).closest(".jha-mega-menu-button").length||$(t.target).hasClass("btn-xperience")||($(".jha-main-wrapper > .jha-mega-menu").length&&i.closeMegaMenus(),$("body").hasClass("jha-nav-forced-open")||$(t.target).closest(".jha-main-nav").length||(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")),$("body").hasClass("jha-xperience-forced-open")||$(t.target).closest(".jha-main-nav").length||(document.body.classList.add("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience-hovered")))}))})),window.addEventListener("keydown",(function(t){27===t.which&&($(".jha-main-wrapper > .jha-mega-menu").length&&n.closeMegaMenus(),$("body").hasClass("jha-nav-forced-open")||(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")),$("body").hasClass("jha-xperience-forced-open")||(document.body.classList.add("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience-hovered")))})),document.body.addEventListener("contextmenu",(function(t){for(var e=document.getElementsByClassName("ui-contextmenu"),n=0,r=e.length;n=0&&(this.countdownTimer=setInterval((function(){r.UpdateCountdown()}),1e3))},t.prototype.HideSessionTimeout=function(){this.KillCountdownTimer(),this.sessionTimeoutSource.next({isVisible:!1})},t.prototype.ExtendSession=function(){this.HideSessionTimeout(),this.extendCallbackFunc()},t.prototype.LogOutSession=function(){this.HideSessionTimeout(),this.logOutCallbackFunc()},t.prototype.UpdateCountdown=function(){this.timeoutSeconds--,this.timeoutSeconds>=1?this.sessionTimeoutSource.next({isVisible:!0,showExtendSessionButton:null!=this.extendCallbackFunc,showLogOutButton:null!=this.logOutCallbackFunc,timeoutRemaining:this.GetRemainingTime()}):(this.KillCountdownTimer(),this.sessionTimeoutSource.next({isVisible:!0,showExtendSessionButton:null!=this.extendCallbackFunc,showLogOutButton:null!=this.logOutCallbackFunc,timeoutRemaining:"none"}))},t.prototype.KillCountdownTimer=function(){clearInterval(this.countdownTimer)},t.prototype.GetRemainingTime=function(){var t="",e=0,n=0,r=this.timeoutSeconds;return this.timeoutSeconds>=3600?(r-=3600*(e=Math.floor(r/3600)),r-=60*(n=Math.floor(r/60))):this.timeoutSeconds>=60&&(r-=60*(n=Math.floor(r/60))),e>0&&(t+=" "+e.toString()+" hour"+(1===e?"":"s")+","),n>0&&(t+=" "+n.toString()+" minute"+(1===n?"":"s")+" and"),(t+=" "+r.toString()+" second"+(1===r?"":"s")).trimLeft()},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}();function ye(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new be(t,e))}}n("SYky");var be=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new we(t,this.predicate,this.inclusive))},t}(),we=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.inclusive=r,o.index=0,o}return k.c(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(r){return void n.error(r)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(oe.a),Ce=function(){function t(t){this.pubSubService=t,this.subscription=null,this.tracker=null,this.previousTop=0,this.trackScrolling=!1,this.alive=!0}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.pubSubService.Stream.pipe(ye((function(){return t.alive}))).subscribe((function(e){return t.processMessage(e)})),this.tracker=document.getElementById("jha-main-scroll-container")},t.prototype.ngOnDestroy=function(){this.alive=!1},t.prototype.processMessage=function(t){"TRACKSCROLL"===t.message&&!0===t.payload?this.trackScrolling=!0:"TRACKSCROLL"===t.message&&!1===t.payload&&(this.trackScrolling=!1)},t.prototype.onScroll=function(t){this.trackScrolling&&this.tracker.scrollTop>this.previousTop&&$("#jha-main-scroll-container").scrollTop()>=$("section.jha-function-view-main").height()-$(window).height()-10&&this.pubSubService.Stream.next(new ee("SCROLLED",null)),this.previousTop=this.tracker.scrollTop},t.\u0275fac=function(e){return new(e||t)(r.Ob(ne))},t.\u0275dir=r.Jb({type:t,selectors:[["","jhaInfiniteScroll",""]],hostBindings:function(t,e){1&t&&r.ec("scroll",(function(t){return e.onScroll(t)}))}}),t}();function je(t,e){if(1&t&&(r.Tb(0),r.Cc(1,"Your session will time out in around "),r.Vb(2,"span",10),r.Cc(3),r.Ub(),r.Sb()),2&t){var n=r.gc(2);r.Bb(3),r.Dc(n.timeoutRemaining)}}function _e(t,e){1&t&&r.Cc(0,"Your session will time out soon")}function Te(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",11),r.ec("click",(function(){return r.vc(n),r.gc(2).extendSession()})),r.Cc(1,"Extend my Session"),r.Ub()}}function Se(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",11),r.ec("click",(function(){return r.vc(n),r.gc(2).logOutSession()})),r.Cc(1,"Log Out"),r.Ub()}}function Ee(t,e){if(1&t&&(r.Vb(0,"div",4),r.Qb(1,"i",5),r.Vb(2,"span",6),r.Ac(3,je,4,1,"ng-container",7),r.Ac(4,_e,1,0,"ng-template",null,8,r.Bc),r.Ub(),r.Ac(6,Te,2,0,"button",9),r.Ac(7,Se,2,0,"button",9),r.Ub()),2&t){var n=r.sc(5),o=r.gc();r.Bb(3),r.lc("ngIf","none"!=o.timeoutRemaining)("ngIfElse",n),r.Bb(3),r.lc("ngIf",o.showExtendSessionButton),r.Bb(1),r.lc("ngIf",o.showLogOutButton)}}var xe=["*"],ke=function(){function t(t,e){var n=this;this.initService=t,this.jhaSessionTimeoutService=e,this.jhaXperience=!1,this.jhaAppearance="Luxe",this.showSessionTimeout=!1,this.showExtendSessionButton=!1,this.showLogOutButton=!1,this.timeoutRemaining="",this.subscription=e.sessionTimeoutObs.subscribe((function(t){n.showSessionTimeout=t.isVisible,n.showExtendSessionButton=t.showExtendSessionButton,n.showLogOutButton=t.showLogOutButton,n.timeoutRemaining=t.timeoutRemaining}))}return t.prototype.ngOnInit=function(){this.setUpAppearance(),this.jhaXperience?this.initService.InitXperienceApp():this.initService.InitApp()},t.prototype.ngOnChanges=function(t){for(var e in t){var n=t[e];n.currentValue!==n.previousValue&&"jhaAppearance"===e&&this.setUpAppearance()}},t.prototype.setUpAppearance=function(){"flat"===this.jhaAppearance.toLowerCase()?document.body.classList.add("jha-flat"):document.body.classList.remove("jha-flat")},t.prototype.extendSession=function(){this.jhaSessionTimeoutService.ExtendSession()},t.prototype.logOutSession=function(){this.jhaSessionTimeoutService.LogOutSession()},t.\u0275fac=function(e){return new(e||t)(r.Ob(me),r.Ob(ve))},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-app"]],inputs:{jhaXperience:"jhaXperience",jhaAppearance:"jhaAppearance"},features:[r.Ab([me,re,ve]),r.zb()],ngContentSelectors:xe,decls:6,vars:1,consts:[[1,"jha-main-wrapper"],["role","main",1,"jha-main-content"],["id","jha-main-scroll-container","jhaInfiniteScroll","",1,"jha-scroll"],["id","jha-session-timeout","class","jha-session-timeout",4,"ngIf"],["id","jha-session-timeout",1,"jha-session-timeout"],[1,"xj-icon-Warning","jha-session-timeout-icon"],["id","jha-session-timeout-text",1,"jha-session-timeout-text"],[4,"ngIf","ngIfElse"],["noTimeRemaining",""],["type","button","class","btn btn-secondary jha-session-timeout-button",3,"click",4,"ngIf"],["id","jha-session-timeout-time"],["type","button",1,"btn","btn-secondary","jha-session-timeout-button",3,"click"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.jc(1),r.Vb(2,"div",1),r.Vb(3,"div",2),r.Qb(4,"router-outlet"),r.Ub(),r.Ub(),r.Ub(),r.Ac(5,Ee,8,4,"div",3)),2&t&&(r.Bb(5),r.lc("ngIf",e.showSessionTimeout))},directives:[Ce,u.j,o.k],encapsulation:2}),t}(),Ae=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-busy-indicator"]],decls:2,vars:0,consts:[[1,"jha-modal-shield"],[1,"jha-busy-indicator"]],template:function(t,e){1&t&&(r.Vb(0,"div",0),r.Qb(1,"div",1),r.Ub())},encapsulation:2}),t}(),Oe=n("RPHI"),Ie=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Oe.a,ne]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b,u.i]]}),t}(),Re=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b,Pt.e,Ie,u.i,C]]}),t}(),Ne=["jhaDisplayBlockContent"];function Pe(t,e){if(1&t&&(r.Vb(0,"span",8),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaTitle)}}function De(t,e){if(1&t&&(r.Vb(0,"span",9),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaSubtitle)}}function Le(t,e){1&t&&r.jc(0,2,["*ngIf","!jhaSubtitle"])}function Ue(t,e){1&t&&r.Qb(0,"jha-busy-indicator")}var Ve=[[["jha-display-block-toolbar"]],"*",[["jha-display-block-toolbar-right"]]],Me=["jha-display-block-toolbar","*","jha-display-block-toolbar-right"],Be=function(){function t(){this.jhaTitle="",this.jhaSubtitle="",this.jhaIsBusy=!1}return t.prototype.ngAfterViewInit=function(){if(0!==this.jhaDisplayBlockContent.nativeElement.children.length){var t=0;for(t=0;t230){var t=document.createElement("style");t.type="text/css",t.innerHTML='@media only screen and (min-width: 768px) {.jha-nav-hovered .jha-main-nav, .jha-nav-hovered .jha-nav, .jha-nav-hovered .jha-submenu-items { width: " + this.jhaExpandOnHoverWidth + "px }.jha-nav-hovered .jha-mega-menu-nav { left: " + this.jhaExpandOnHoverWidth + "px }}',document.head.appendChild(t)}},t.prototype.ngOnChanges=function(t){for(var e in t){var n=t[e];n.currentValue!==n.previousValue&&("jhaIsHidden"===e?this.ToggleNav(n.currentValue):"jhaInitialState"===e&&this.SetUpInitialState())}},t.prototype.ToggleNav=function(t){var e=!1;void 0!==t&&(e="true"===t.toString().toLowerCase()),e?document.body.classList.add("jha-no-nav"):document.body.classList.remove("jha-no-nav")},t.prototype.SetUpInitialState=function(){var t="";void 0!==this.jhaInitialState&&(t=this.jhaInitialState.toString().toLowerCase()),"collapsed"===t.toLowerCase()?(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-forced-open")):"expanded"===t.toLowerCase()?document.body.classList.remove("jha-nav-collapsed"):window.innerWidth>=Jt.MinTabletWidth&&window.innerWidth<=Jt.MaxTabletWidth&&!document.body.classList.contains("jha-alt-nav")?document.body.classList.add("jha-nav-collapsed"):(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-forced-open"))},t.prototype.IsStandardNav=function(){var t=!0;return document.body.classList.contains("jha-alt-nav")&&(t=!1),t},t.prototype.handleTouchStart=function(t){On=t.touches[0].clientX,In=t.touches[0].clientY},t.prototype.handleTouchMove=function(t){if(On&&In){var e=On-t.touches[0].clientX,n=In-t.touches[0].clientY;Math.abs(e)>Math.abs(n)&&(e>0?window.innerWidth<=Jt.MaxPhoneWidth?document.body.classList.remove("jha-nav-expanded-phone"):(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")):window.innerWidth<=Jt.MaxPhoneWidth?document.body.classList.add("jha-nav-expanded-phone"):(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-hovered"))),On=null,In=null}},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav"]],inputs:{jhaInitialState:"jhaInitialState",jhaIsHidden:"jhaIsHidden",jhaExpandOnHoverWidth:"jhaExpandOnHoverWidth"},features:[r.zb()],ngContentSelectors:An,decls:3,vars:3,consts:[["jha-mobile-toggle","",1,"jha-nav",3,"ngClass"],["id","nav-menu","role","navigation","aria-label","Navigation",1,"jha-nav-menu"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"section",0),r.Vb(1,"ul",1),r.jc(2),r.Ub(),r.Ub()),2&t&&r.lc("ngClass",r.oc(1,kn,e.IsStandardNav()))},directives:[o.i],encapsulation:2}),t}();function Nn(t,e){}function Pn(t,e){if(1&t&&(r.Vb(0,"a",5),r.Ac(1,Nn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),o=r.sc(7);r.mc("routerLink",n.jhaRouterLink),r.mc("title",n.jhaTooltip),r.lc("routerLinkActiveOptions",n.jhaRouterLinkActiveOptions),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function Dn(t,e){}function Ln(t,e){if(1&t&&(r.Vb(0,"a",8),r.Ac(1,Dn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(2),o=r.sc(7);r.mc("title",n.jhaTooltip),r.Cb("href",n.jhaExternalUrl,r.xc)("target",""!=n.jhaExternalUrl&&1==n.jhaExternalUrlInNewWindow?"_blank":null),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function Un(t,e){if(1&t&&r.Ac(0,Ln,2,4,"a",7),2&t){var n=r.gc(),o=r.sc(5);r.lc("ngIf",""!==n.jhaExternalUrl)("ngIfElse",o)}}function Vn(t,e){}function Mn(t,e){if(1&t&&(r.Vb(0,"a",9),r.Ac(1,Vn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),o=r.sc(7);r.mc("title",n.jhaTooltip),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function Bn(t,e){if(1&t&&r.Qb(0,"i"),2&t){var n=r.gc(2);r.Eb("xj-icon-",n.jhaIconType," jha-nav-icon")}}function Fn(t,e){if(1&t&&(r.Vb(0,"div",15),r.Qb(1,"div",16),r.Vb(2,"span",17),r.Cc(3),r.Ub(),r.Ub()),2&t){var n=r.gc(2);r.Bb(3),r.Dc(n.GetInitials())}}var Hn=function(t){return{badgeOversized:t}};function Gn(t,e){if(1&t&&(r.Vb(0,"span",18),r.Vb(1,"span"),r.Cc(2),r.Ub(),r.Ub()),2&t){var n=r.gc(2);r.lc("ngClass",r.oc(2,Hn,n.jhaBadgeOversized)),r.Bb(2),r.Dc(n.jhaBadge)}}var qn=function(t,e,n){return{"jha-nav-no-selected-item-arrow":t,"xj-icon-ArrowUp":e,"jha-nav-selected-item-arrow":n}};function Wn(t,e){if(1&t&&(r.Ac(0,Bn,1,3,"i",10),r.Ac(1,Fn,4,1,"div",11),r.Vb(2,"span",12),r.Cc(3),r.Ub(),r.Ac(4,Gn,3,4,"span",13),r.Qb(5,"i",14)),2&t){var n=r.gc();r.lc("ngIf",n.jhaIconType),r.Bb(1),r.lc("ngIf",!n.jhaIconType),r.Bb(2),r.Dc(n.jhaText),r.Bb(1),r.lc("ngIf",n.jhaBadge),r.Bb(1),r.lc("ngClass",r.qc(5,qn,n.IsStandardNav(),!n.IsStandardNav(),!n.IsStandardNav()))}}var zn=function(){function t(){this.jhaRouterLink="",this.jhaIconType="",this.jhaIconInitials="",this.jhaText="",this.jhaBadge="",this.jhaTooltip="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0,this.jhaRouterLinkActiveOptions={},this.jhaBadgeOversized=!1}return t.prototype.ngOnInit=function(){this.jhaBadge.length>3&&(this.jhaBadgeOversized=!0)},t.prototype.IsStandardNav=function(){var t=!0;return document.body.classList.contains("jha-alt-nav")&&(t=!1),t},t.prototype.GetInitials=function(){var t="";if(""!==this.jhaIconInitials)t=this.jhaIconInitials.toUpperCase();else if(this.jhaText.length<1)t="";else{t=this.jhaText.substr(0,1);for(var e=1,n=!1;t.length<2&&e2&&(t=t.substr(0,2)),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav-button"]],inputs:{jhaRouterLink:"jhaRouterLink",jhaIconType:"jhaIconType",jhaIconInitials:"jhaIconInitials",jhaText:"jhaText",jhaBadge:"jhaBadge",jhaTooltip:"jhaTooltip",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow",jhaRouterLinkActiveOptions:"jhaRouterLinkActiveOptions"},decls:8,vars:2,consts:[["role","presentation"],["routerLinkActive","active","ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","routerLinkActiveOptions","title",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaNoAnchor",""],["navButtonContent",""],["routerLinkActive","active","ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","routerLinkActiveOptions","title"],[3,"ngTemplateOutlet"],["role","menuitem","tabindex","0",3,"title",4,"ngIf","ngIfElse"],["role","menuitem","tabindex","0",3,"title"],["href","javascript:;","role","menuitem","tabindex","0",3,"title"],[3,"class",4,"ngIf"],["class","jha-nav-initials-container",4,"ngIf"],[1,"jha-nav-menu-label"],["class","badge",3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"jha-nav-initials-container"],[1,"jha-nav-initials-shape"],[1,"jha-nav-initials-text"],[1,"badge",3,"ngClass"]],template:function(t,e){if(1&t&&(r.Vb(0,"li",0),r.Ac(1,Pn,2,4,"a",1),r.Ac(2,Un,1,2,"ng-template",null,2,r.Bc),r.Ac(4,Mn,2,2,"ng-template",null,3,r.Bc),r.Ac(6,Wn,6,9,"ng-template",null,4,r.Bc),r.Ub()),2&t){var n=r.sc(3);r.Bb(1),r.lc("ngIf",""!=e.jhaRouterLink)("ngIfElse",n)}},directives:[o.k,u.h,u.g,o.m,o.i],encapsulation:2}),t}();function $n(t,e){if(1&t&&r.Qb(0,"i"),2&t){var n=r.gc();r.Eb("xj-icon-",n.jhaIconType," jha-nav-icon")}}function Qn(t,e){if(1&t&&(r.Vb(0,"div",8),r.Qb(1,"div",9),r.Vb(2,"span",10),r.Cc(3),r.Ub(),r.Ub()),2&t){var n=r.gc();r.Bb(3),r.Dc(n.GetInitials())}}var Kn=function(t){return{badgeOversized:t}};function Yn(t,e){if(1&t&&(r.Vb(0,"span",11),r.Vb(1,"span"),r.Cc(2),r.Ub(),r.Ub()),2&t){var n=r.gc();r.lc("ngClass",r.oc(2,Kn,n.jhaBadgeOversized)),r.Bb(2),r.Dc(n.jhaBadge)}}var Jn=["*"],Zn=function(){function t(){this.jhaIconType="",this.jhaIconInitials="",this.jhaText="",this.jhaBadge="",this.jhaTooltip="",this.jhaColumnWidth=-1,this.jhaRowHeight=-1,this.jhaBadgeOversized=!1}return t.prototype.ngOnInit=function(){this.jhaBadge.length>3&&(this.jhaBadgeOversized=!0)},t.prototype.GetInitials=function(){var t="";if(""!==this.jhaIconInitials)t=this.jhaIconInitials.toUpperCase();else if(this.jhaText.length<1)t="";else{t=this.jhaText.substr(0,1);for(var e=1,n=!1;t.length<2&&e2&&(t=t.substr(0,2)),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav-mega-menu"]],inputs:{jhaIconType:"jhaIconType",jhaIconInitials:"jhaIconInitials",jhaText:"jhaText",jhaBadge:"jhaBadge",jhaTooltip:"jhaTooltip",jhaColumnWidth:"jhaColumnWidth",jhaRowHeight:"jhaRowHeight"},ngContentSelectors:Jn,decls:10,vars:7,consts:[["role","presentation",1,"jha-mega-menu-button"],["role","menuitem","jhaMegaMenu","","tabindex","0",3,"title"],[3,"class",4,"ngIf"],["class","jha-nav-initials-container",4,"ngIf"],[1,"jha-nav-menu-label"],["class","badge",3,"ngClass",4,"ngIf"],[1,"pull-right","jha-nav-menu-arrow","xj-icon-WindowDropdown"],[1,"jha-mega-menu","jha-mega-menu-nav"],[1,"jha-nav-initials-container"],[1,"jha-nav-initials-shape"],[1,"jha-nav-initials-text"],[1,"badge",3,"ngClass"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"li",0),r.Vb(1,"a",1),r.Ac(2,$n,1,3,"i",2),r.Ac(3,Qn,4,1,"div",3),r.Vb(4,"span",4),r.Cc(5),r.Ub(),r.Ac(6,Yn,3,4,"span",5),r.Qb(7,"i",6),r.Ub(),r.Vb(8,"ul",7),r.jc(9),r.Ub(),r.Ub()),2&t&&(r.Bb(1),r.mc("title",e.jhaTooltip),r.Bb(1),r.lc("ngIf",e.jhaIconType),r.Bb(1),r.lc("ngIf",!e.jhaIconType),r.Bb(2),r.Dc(e.jhaText),r.Bb(1),r.lc("ngIf",e.jhaBadge),r.Bb(2),r.Cb("data-colwidth",e.jhaColumnWidth)("data-rowheight",e.jhaRowHeight))},directives:[ce,o.k,o.i],encapsulation:2}),t}(),Xn=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b,Ie,u.i]]}),t}();function tr(t,e){if(1&t&&r.Qb(0,"i",6),2&t){var n=r.gc(2);r.Eb("xj-icon-",n.jhaIconType," jha-inline-notification-icon"),r.lc("ngClass",n.getIconClass())}}function er(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",7),r.ec("click",(function(){return r.vc(n),r.gc(2).closeNotification()})),r.Vb(1,"span",8),r.Cc(2,"\xd7"),r.Ub(),r.Ub()}}function nr(t,e){if(1&t&&(r.Vb(0,"div",1),r.Vb(1,"div",2),r.Ac(2,tr,1,4,"i",3),r.Vb(3,"div",4),r.jc(4),r.Ub(),r.Ac(5,er,3,0,"button",5),r.Ub(),r.Ub()),2&t){var n=r.gc();r.lc("ngClass",n.getNotificationTypeClass()),r.Bb(2),r.lc("ngIf",n.jhaIconType),r.Bb(3),r.lc("ngIf",n.jhaIsClosable)}}var rr=["*"],or=function(){function t(){this.jhaType="Information",this.jhaIconType="",this.jhaIsClosable=!1,this.jhaDisplayNotification=!0}return t.prototype.getNotificationTypeClass=function(){var t="alert-info";switch(this.jhaType.toLowerCase()){case"error":t="alert-danger";break;case"warning":t="alert-warning";break;case"success":t="alert-success"}return t},t.prototype.getIconClass=function(){var t="jha-inline-notification-icon-information";switch(this.jhaType.toLowerCase()){case"error":t="jha-inline-notification-icon-error";break;case"warning":t="jha-inline-notification-icon-warning";break;case"success":t="jha-inline-notification-icon-success"}return t},t.prototype.closeNotification=function(){this.jhaDisplayNotification=!1},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-inline-notification"]],inputs:{jhaType:"jhaType",jhaIconType:"jhaIconType",jhaIsClosable:"jhaIsClosable"},ngContentSelectors:rr,decls:1,vars:1,consts:[["class","alert",3,"ngClass",4,"ngIf"],[1,"alert",3,"ngClass"],[1,"jha-inline-notification-container"],[3,"class","ngClass",4,"ngIf"],[1,"jha-inline-notification-content"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[3,"ngClass"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"]],template:function(t,e){1&t&&(r.kc(),r.Ac(0,nr,6,3,"div",0)),2&t&&r.lc("ngIf",e.jhaDisplayNotification)},directives:[o.k,o.i],encapsulation:2}),t}(),ir=function(t){return t[t.Information=0]="Information",t[t.Success=1]="Success",t[t.Warning=2]="Warning",t[t.Error=3]="Error",t}({}),ar=function(){function t(){}return t.prototype.DisplayPopupNotification=function(t,e){this.DisplayPopupNotificationClick(t,e,null)},t.prototype.DisplayPopupNotificationClick=function(t,e,n){var r="information",o="Information";e===ir.Success?(r="success",o="Success"):e===ir.Warning?(r="warning",o="Warning"):e===ir.Error&&(r="error",o="Error"),noty({text:'
'+t+"
",type:r,layout:"bottomRight",theme:"jha-noty",timeout:5e3,callback:{onCloseClick:n}})},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),sr=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[ar,ve]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b]]}),t}();function ur(t,e){}n("Gp1S");var cr=function(t,e){return[t,e]};function lr(t,e){if(1&t&&(r.Vb(0,"button",6),r.Ac(1,ur,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(),o=r.sc(10);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.pc(6,cr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":""))("disabled",n.jhaIsDisabled),r.Cb("aria-busy",n.jhaIsBusy)("aria-disabled",n.jhaIsDisabled),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function hr(t,e){}function pr(t,e){if(1&t&&(r.Vb(0,"button",9),r.Ac(1,hr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),o=r.sc(10);r.lc("ngClass",r.pc(5,cr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":""))("disabled",n.jhaIsDisabled),r.Cb("aria-busy",n.jhaIsBusy)("aria-disabled",n.jhaIsDisabled),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function fr(t,e){if(1&t&&r.Ac(0,pr,2,8,"button",8),2&t){var n=r.gc(),o=r.sc(4);r.lc("ngIf",!n.jhaIsRouterLink&&!n.jhaIsAnchor)("ngIfElse",o)}}function dr(t,e){}function gr(t,e){if(1&t&&(r.Vb(0,"a",11),r.Ac(1,dr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),o=r.sc(10);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.pc(4,cr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function mr(t,e){if(1&t&&r.Ac(0,gr,2,7,"a",10),2&t){var n=r.gc(),o=r.sc(6);r.lc("ngIf",n.jhaIsRouterLink&&n.jhaIsAnchor)("ngIfElse",o)}}function vr(t,e){}var yr=function(t){return[t]};function br(t,e){if(1&t&&(r.Vb(0,"a",13),r.Ac(1,vr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),o=r.sc(10);r.lc("href",n.jhaExternalUrl,r.xc)("ngClass",r.pc(5,cr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("target",r.oc(8,yr,""!=n.jhaExternalUrl&&1==n.jhaExternalUrlInNewWindow?"_blank":null))("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function wr(t,e){if(1&t&&r.Ac(0,br,2,10,"a",12),2&t){var n=r.gc(),o=r.sc(8);r.lc("ngIf",n.jhaExternalUrl&&n.jhaIsAnchor)("ngIfElse",o)}}function Cr(t,e){}function jr(t,e){if(1&t&&(r.Vb(0,"a",14),r.Ac(1,Cr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(),o=r.sc(10);r.lc("ngClass",r.pc(3,cr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",o)}}function _r(t,e){1&t&&r.Qb(0,"jha-busy-indicator")}var Tr=function(t,e){return{"jha-tile-content":t,"jha-tile-content-full-width":e}},Sr=function(t,e){return{"jha-tile-icon-opaque":t,"jha-tile-icon":e}};function Er(t,e){if(1&t&&(r.Vb(0,"div",15),r.Vb(1,"p",16),r.Cc(2),r.Ub(),r.Vb(3,"p"),r.jc(4),r.Ub(),r.Ub(),r.Qb(5,"i",15),r.Ac(6,_r,1,0,"jha-busy-indicator",17)),2&t){var n=r.gc();r.lc("ngClass",r.pc(7,Tr,n.jhaIconType,!n.jhaIconType)),r.Bb(2),r.Dc(n.jhaTitle),r.Bb(3),r.Eb("xj-icon-",n.jhaIconType,""),r.lc("ngClass",r.pc(10,Sr,n.IsTileOpaque(),!n.IsTileOpaque())),r.Bb(1),r.lc("ngIf",n.jhaIsBusy)}}var xr=["*"],kr=function(){function t(){this.jhaTitle="",this.jhaIconType="",this.jhaSize="Wide",this.jhaLayout="Float",this.jhaAppearance="default",this.jhaIsDisabled=!1,this.jhaIsBusy=!1,this.jhaIsAnchor=!1,this.jhaRouterLink="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0,this.jhaIsRouterLink=!0}return t.prototype.ngOnInit=function(){""===this.jhaRouterLink&&(this.jhaIsRouterLink=!1)},t.prototype.getButtonClasses=function(){var t="jha-tile-wide",e="",n="jha-tile-layout-float",r=this.jhaSize?this.jhaSize:"Wide",o=this.jhaAppearance?this.jhaAppearance:"default",i=this.jhaLayout?this.jhaLayout:"Float";return"Large"===r?t="jha-tile-large":"Small"===r&&"Fixed"!==i&&(t="jha-tile-small"),"Fixed"===i&&(n="jha-tile-layout-fixed"),"Highlighted"===o?e="jha-tile-appearance-highlighted":"Error"===o?e="jha-tile-appearance-error":"Alternate1"===o?e="jha-tile-appearance-alternate1":"Alternate2"===o?e="jha-tile-appearance-alternate2":"Alternate3"===o&&(e="jha-tile-appearance-alternate3"),t+" "+n+" "+e},t.prototype.IsTileOpaque=function(){var t=!1;return 0===(this.jhaIconType?this.jhaIconType:"").toString().indexOf("ThemeColor")&&(t=!0),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-tile"]],inputs:{jhaTitle:"jhaTitle",jhaIconType:"jhaIconType",jhaSize:"jhaSize",jhaLayout:"jhaLayout",jhaAppearance:"jhaAppearance",jhaIsDisabled:"jhaIsDisabled",jhaIsBusy:"jhaIsBusy",jhaIsAnchor:"jhaIsAnchor",jhaRouterLink:"jhaRouterLink",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow"},ngContentSelectors:xr,decls:11,vars:2,consts:[["type","button","class","jha-tile",3,"ngClass","disabled","routerLink",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaAsAnchorRouterLink",""],["jhaIsAnchorNoRouterLink",""],["jhaIsAnchorNoAnchorLink",""],["tileContent",""],["type","button",1,"jha-tile",3,"ngClass","disabled","routerLink"],[3,"ngTemplateOutlet"],["type","button","class","jha-tile",3,"ngClass","disabled",4,"ngIf","ngIfElse"],["type","button",1,"jha-tile",3,"ngClass","disabled"],["class","jha-tile",3,"ngClass","routerLink",4,"ngIf","ngIfElse"],[1,"jha-tile",3,"ngClass","routerLink"],["class","jha-tile",3,"href","ngClass",4,"ngIf","ngIfElse"],[1,"jha-tile",3,"href","ngClass"],["href","javascript:;",1,"jha-tile",3,"ngClass"],[3,"ngClass"],[1,"jha-tile-header"],[4,"ngIf"]],template:function(t,e){if(1&t&&(r.kc(),r.Ac(0,lr,2,9,"button",0),r.Ac(1,fr,1,2,"ng-template",null,1,r.Bc),r.Ac(3,mr,1,2,"ng-template",null,2,r.Bc),r.Ac(5,wr,1,2,"ng-template",null,3,r.Bc),r.Ac(7,jr,2,6,"ng-template",null,4,r.Bc),r.Ac(9,Er,7,13,"ng-template",null,5,r.Bc)),2&t){var n=r.sc(2);r.lc("ngIf",e.jhaIsRouterLink&&!e.jhaIsAnchor)("ngIfElse",n)}},directives:[o.k,o.i,u.f,o.m,u.h,Ae],encapsulation:2}),t}(),Ar=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.b,Ie,u.i]]}),t}();n("gFX4"),n("u/pq"),n.d(e,"e",(function(){return s})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return j})),n.d(e,"j",(function(){return Vt})),n.d(e,"i",(function(){return Yt})),n.d(e,"k",(function(){return te})),n.d(e,"m",(function(){return he})),n.d(e,"n",(function(){return pe})),n.d(e,"o",(function(){return ge})),n.d(e,"l",(function(){return Re})),n.d(e,"p",(function(){return w})),n.d(e,"q",(function(){return C})),n.d(e,"d",(function(){return Be})),n.d(e,"f",(function(){return He})),n.d(e,"g",(function(){return qe})),n.d(e,"h",(function(){return nn})),n.d(e,"s",(function(){return sn})),n.d(e,"u",(function(){return cn})),n.d(e,"v",(function(){return pn})),n.d(e,"t",(function(){return fn})),n.d(e,"w",(function(){return Cn})),n.d(e,"x",(function(){return En})),n.d(e,"y",(function(){return xn})),n.d(e,"A",(function(){return Rn})),n.d(e,"z",(function(){return zn})),n.d(e,"B",(function(){return Zn})),n.d(e,"C",(function(){return Xn})),n.d(e,"r",(function(){return or})),n.d(e,"D",(function(){return sr})),n.d(e,"a",(function(){return ke})),n.d(e,"E",(function(){return Ie})),n.d(e,"F",(function(){return kr})),n.d(e,"G",(function(){return Ar}))},K9Ia:function(t,e,n){"use strict";var r=n("mrSG"),o=n("6blF"),i=n("FFOo"),a=n("pugT"),s=n("8g8A"),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.c(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(a.a),c=n("L/V9");n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.c(e,t),e}(i.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.c(e,t),e.prototype[c.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;ot?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return S(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return S(t.value)?null:k.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(S(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(S(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(O);return 0==e.length?null:function(t){return R(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(O);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),M=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(C),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.D),o.Ob(o.l),o.Ob(V),o.Ob(o.r))},t.\u0275dir=o.Jb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&o.ec("change",(function(t){return e.onChange()}))("blur",(function(t){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.Ab([U])]}),t}(),B={provide:p,useExisting:Object(o.T)((function(){return F})),multi:!0},F=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.D),o.Ob(o.l))},t.\u0275dir=o.Jb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&o.ec("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(t){return e.onTouched()}))},features:[o.Ab([B])]}),t}(),H='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',G='\n
\n
\n \n
\n
',q={provide:p,useExisting:Object(o.T)((function(){return z})),multi:!0};function W(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var z=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=o.tb}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=W(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var o=Object(r.g)(Array.from(this._optionMap.keys())),i=o.next();!i.done;i=o.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a),t))return a}}catch(s){e={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.D),o.Ob(o.l))},t.\u0275dir=o.Jb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&o.ec("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(t){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o.Ab([q])]}),t}(),$=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(W(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.D),o.Ob(z,9))},t.\u0275dir=o.Jb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}(),Q={provide:p,useExisting:Object(o.T)((function(){return Y})),multi:!0};function K(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=o.tb}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map((function(t){return n._getOptionId(t)}));e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function nt(t){return null!=t?A.compose(t.map(N)):null}function rt(t){return null!=t?A.composeAsync(t.map(P)):null}var ot=[d,F,L,z,Y,M];function it(t){var e=st(t)?t.validators:t;return Array.isArray(e)?nt(e):e||null}function at(t,e){var n=st(e)?e.asyncValidators:t;return Array.isArray(n)?rt(n):n||null}function st(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ut=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=it(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=at(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object(r.a)(Object(r.a)({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(r.a)(Object(r.a)({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object(r.a)(Object(r.a)({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object(r.a)(Object(r.a)({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=I(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length?null:e.reduce((function(t,e){return t instanceof lt?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof ht&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new o.n,this.statusChanges=new o.n},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){st(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),ct=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,it(n),at(r,n))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(r.c)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(ut),lt=function(t){function e(e,n,r){var o=t.call(this,it(n),at(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.c)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof ct?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,o){n=n||e.contains(o)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.g)(Object.keys(this.controls)),o=n.next();!o.done;o=n.next())if(this.controls[o.value].enabled)return!1}catch(i){t={error:i}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(ut),ht=function(t){function e(e,n,r){var o=t.call(this,it(n),at(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.c)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof ct?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.g)(this.controls),o=n.next();!o.done;o=n.next())if(o.value.enabled)return!1}catch(i){t={error:i}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(ut),pt={provide:b,useExisting:Object(o.T)((function(){return dt}))},ft=function(){return Promise.resolve(null)}(),dt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new o.n,r.form=new lt({},nt(e),rt(n)),r}return Object(r.c)(e,t),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(t){var e=this;ft.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),X(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;ft.then((function(){var n,r,o=e._findContainer(t.path);o&&o.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)}))},e.prototype.addFormGroup=function(t){var e=this;ft.then((function(){var n=e._findContainer(t.path),r=new lt({});(function(t,e){null==t&&et(e,"Cannot find control with"),t.validator=A.compose([t.validator,e.validator]),t.asyncValidator=A.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;ft.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;ft.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.\u0275fac=function(t){return new(t||e)(o.Ob(E,10),o.Ob(x,10))},e.\u0275dir=o.Jb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&o.ec("submit",(function(t){return e.onSubmit(t)}))("reset",(function(t){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Ab([pt]),o.yb]}),e}(b),gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(r.c)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Z(null==this.name?this.name:this.name.toString(),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 nt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return rt(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e.\u0275fac=function(t){return n(t||e)},e.\u0275dir=o.Jb({type:e,features:[o.yb]});var n=o.Yb(e);return e}(b),mt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\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
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+H+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+G)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+H+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+G)},t}(),vt={provide:b,useExisting:Object(o.T)((function(){return yt}))},yt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}var n;return Object(r.c)(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof dt||mt.modelGroupParentException()},e.\u0275fac=function(t){return new(t||e)(o.Ob(b,5),o.Ob(E,10),o.Ob(x,10))},e.\u0275dir=o.Jb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[o.Ab([vt]),o.yb]}),e}(gt),bt={provide:C,useExisting:Object(o.T)((function(){return Ct}))},wt=function(){return Promise.resolve(null)}(),Ct=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a.control=new ct,a._registered=!1,a.update=new o.n,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=r||[],a.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||et(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return e.forEach((function(e){var i;e.constructor===v?n=e:(i=e,ot.some((function(t){return i.constructor===t}))?(r&&et(t,"More than one built-in value accessor matches form control with"),r=e):(o&&et(t,"More than one custom value accessor matches form control with"),o=e))})),o||r||n||(et(t,"No valid value accessor for form control with"),null)}(a,i),a}return Object(r.c)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(o.tb)(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Z(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 nt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return rt(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},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(){X(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 yt)&&this._parent instanceof gt?mt.formGroupNameException():this._parent instanceof yt||this._parent instanceof dt||mt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||mt.missingNameException()},e.prototype._updateValue=function(t){var e=this;wt.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;wt.then((function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()}))},e.\u0275fac=function(t){return new(t||e)(o.Ob(b,9),o.Ob(E,10),o.Ob(x,10),o.Ob(p,10))},e.\u0275dir=o.Jb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Ab([bt]),o.yb,o.zb()]}),e}(C),jt=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),_t=new o.q("NgModelWithFormControlWarning"),Tt={provide:E,useExisting:Object(o.T)((function(){return St})),multi:!0},St=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?A.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&o.Cb("required",e.required?"":null)},inputs:{required:"required"},features:[o.Ab([Tt])]}),t}(),Et=function(){function t(){}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)}}),t}(),xt=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null,o=null,i=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new lt(n,{asyncValidators:o,updateOn:i,validators:r})},t.prototype.control=function(t,e,n){return new ct(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map((function(t){return r._createControl(t)}));return new ht(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach((function(r){n[r]=e._createControl(t[r])})),n},t.prototype._createControl=function(t){return t instanceof ct||t instanceof lt||t instanceof ht?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),kt=function(){function t(){}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[V],imports:[Et]}),t}(),At=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:_t,useValue:t.warnOnNgModelWithFormControl}]}},t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[xt,V],imports:[Et]}),t}()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}},RPHI:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("TYT/"),o=function(){function t(){}return t.prototype.AnimateElements=function(t,e){var n=this;window.setTimeout((function(){n.AnimateElement(t,0,e)}),15)},t.prototype.AnimateElement=function(t,e,n){var r=this;if(e3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;return t(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||t(r).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var r=t(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),o="#"===o?[]:o;var i=t(document).find(o);function a(){i.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),i.length||(i=r.closest(".alert")),i.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var r=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var r=t(this),o=r.data("bs.alert");o||r.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(r)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each((function(){var r=t(this),o=r.data("bs.button");o||r.data("bs.button",o=new e(this,"object"==typeof n&&n)),"toggle"==n?o.toggle():n&&o.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",r=this.$element,o=r.is("input")?"val":"html",i=r.data();e+="Text",null==i.resetText&&r.data("resetText",r[o]()),setTimeout(t.proxy((function(){r[o](null==i[e]?this.options[e]:i[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var r=t(e.target).closest(".btn");n.call(r,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var r=t(this),o=r.data("bs.carousel"),i=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:i.slide;o||r.data("bs.carousel",o=new e(this,i)),"number"==typeof n?o.to(n):a?o[a]():i.interval&&o.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);return("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap?e:this.$items.eq((n+("prev"==t?-1:1))%this.$items.length)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,r){var o=this.$element.find(".item.active"),i=r||this.getItemForDirection(n,o),a=this.interval,s="next"==n?"left":"right",u=this;if(i.hasClass("active"))return this.sliding=!1;var c=i[0],l=t.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(i)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(i.addClass(n),o.addClass(s),i.addClass(s),o.one("bsTransitionEnd",(function(){i.removeClass([n,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),u.sliding=!1,setTimeout((function(){u.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var o=function(e){var r=t(this),o=r.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var i=r.attr("data-target")||o,a=t(document).find(i);if(a.hasClass("carousel")){var s=t.extend({},a.data(),r.data()),u=r.attr("data-slide-to");u&&(s.interval=!1),n.call(a,s),u&&a.data("bs.carousel").to(u),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(r)}function r(n){return this.each((function(){var r=t(this),o=r.data("bs.collapse"),i=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);!o&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),o||r.data("bs.collapse",o=new e(this,i)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var i=t.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){o&&o.length&&(r.call(o,"hide"),n||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var u=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][u])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]()),this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[r](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,r){var o=t(r);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=r,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var i=n(o),a=i.data("bs.collapse")?"toggle":o.data();r.call(i,a)}))}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function r(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r="#"!==n?t(document).find(n):null;return r&&r.length?r:e.parent()}function o(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=r(e),i={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",i)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var i=r(n),a=i.hasClass("open");if(o(),!a){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",o);var s={relatedTarget:this};if(i.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=t(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var i=r(o),a=i.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&i.find(e).trigger("focus"),o.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var u=s.index(n.target);38==n.which&&u>0&&u--,40==n.which&&udocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},s.prototype.init=function(e,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),i=o.length;i--;){var a=o[i];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseleave":"focusout";this.$element.on(("hover"==a?"mouseenter":"focusin")+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(n){var r=this.$element.data();for(var o in r)r.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete r[o];return(n=t.extend({},this.getDefaults(),r,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},s.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,r){n[t]!=r&&(e[t]=r)})),e},s.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},s.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},s.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},s.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,o=this.tip(),i=this.getUID(this.type);this.setContent(),o.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,c=u.test(a);c&&(a=a.replace(u,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),h=o[0].offsetWidth,p=o[0].offsetHeight;if(c){var f=a,d=this.getPosition(this.$viewport);a="bottom"==a&&l.bottom+p>d.bottom?"top":"top"==a&&l.top-pd.width?"left":"left"==a&&l.left-ha.top+a.height&&(o.top=a.top+a.height-u)}else{var c=e.left-i,l=e.left+i+n;ca.right&&(o.left=a.left+a.width-l)}return o},s.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},s.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},s.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},s.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var u=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),r=n.data("bs.tooltip"),o="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||n.data("bs.tooltip",r=new s(this,o)),"string"==typeof e&&r[e]())}))},t.fn.tooltip.Constructor=s,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=u,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===r&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var r=t(this),o=r.data("bs.popover"),i="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||r.data("bs.popover",o=new e(this,i)),"string"==typeof n&&o[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var r=t(this),o=r.data("bs.scrollspy");o||r.data("bs.scrollspy",o=new e(this,"object"==typeof n&&n)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),o=e.data("target")||e.attr("href"),i=/^#./.test(o)&&t(o);return i&&i.length&&i.is(":visible")&&[[i[n]().top+r,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,i=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return a!=(t=i[i.length-1])&&this.activate(t);if(a&&e=o[t]&&(void 0===o[t+1]||e .active"),a=o&&t.support.transition&&(i.length&&i.hasClass("fade")||!!r.find("> .fade").length);function s(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?n.addClass("in"):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}i.length&&a?i.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),i.removeClass("in")};var r=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";var e=function(n,r){this.options=t.extend({},e.DEFAULTS,r);var o=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var r=t(this),o=r.data("bs.affix");o||r.data("bs.affix",o=new e(this,"object"==typeof n&&n)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,r){var o=this.$target.scrollTop(),i=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o=t-r&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,o=r.top,i=r.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(i=o=r),"function"==typeof o&&(o=r.top(this.$element)),"function"==typeof i&&(i=r.bottom(this.$element));var s=this.getState(a,n,o,i);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),c=t.Event(u+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-i})}};var r=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),r=e.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(e,r)}))}))}(jQuery)},"TYT/":function(t,e,n){"use strict";var r=n("mrSG"),o=n("pugT"),i=n("K9Ia"),a=n("6blF"),s=n("p0ib"),u=n("FFOo");function c(){return function(t){return t.lift(new l(t))}}var l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.c(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t},e.prototype.refCount=function(){return c()(this)},e}(a.a),f=function(){var t=p.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.b);function g(){return new i.a}n.d(e,"a",(function(){return Ai})),n.d(e,"b",(function(){return Fu})),n.d(e,"c",(function(){return Lu})),n.d(e,"d",(function(){return Pu})),n.d(e,"e",(function(){return Du})),n.d(e,"f",(function(){return Rc})),n.d(e,"g",(function(){return jc})),n.d(e,"h",(function(){return pi})),n.d(e,"i",(function(){return Zu})),n.d(e,"j",(function(){return fs})),n.d(e,"k",(function(){return qu})),n.d(e,"l",(function(){return ds})),n.d(e,"m",(function(){return vn})),n.d(e,"n",(function(){return du})),n.d(e,"o",(function(){return nt})),n.d(e,"p",(function(){return y})),n.d(e,"q",(function(){return et})),n.d(e,"r",(function(){return ki})),n.d(e,"s",(function(){return Ns})),n.d(e,"t",(function(){return Ps})),n.d(e,"u",(function(){return Gu})),n.d(e,"v",(function(){return mt})),n.d(e,"w",(function(){return Tc})),n.d(e,"x",(function(){return gt})),n.d(e,"y",(function(){return vc})),n.d(e,"z",(function(){return nc})),n.d(e,"A",(function(){return b})),n.d(e,"B",(function(){return Bu})),n.d(e,"C",(function(){return Mu})),n.d(e,"D",(function(){return ys})),n.d(e,"E",(function(){return ms})),n.d(e,"F",(function(){return vs})),n.d(e,"G",(function(){return ws})),n.d(e,"H",(function(){return or})),n.d(e,"I",(function(){return C})),n.d(e,"J",(function(){return xc})),n.d(e,"K",(function(){return Vs})),n.d(e,"L",(function(){return lc})),n.d(e,"M",(function(){return Cs})),n.d(e,"N",(function(){return Bs})),n.d(e,"O",(function(){return St})),n.d(e,"P",(function(){return Ui})),n.d(e,"Q",(function(){return yc})),n.d(e,"R",(function(){return E})),n.d(e,"S",(function(){return Dn})),n.d(e,"T",(function(){return M})),n.d(e,"U",(function(){return ht})),n.d(e,"V",(function(){return Pn})),n.d(e,"W",(function(){return Oc})),n.d(e,"X",(function(){return pc})),n.d(e,"Y",(function(){return Hu})),n.d(e,"Z",(function(){return di})),n.d(e,"ab",(function(){return nu})),n.d(e,"bb",(function(){return nr})),n.d(e,"cb",(function(){return sr})),n.d(e,"db",(function(){return Mn})),n.d(e,"eb",(function(){return Sn})),n.d(e,"fb",(function(){return xn})),n.d(e,"gb",(function(){return In})),n.d(e,"hb",(function(){return An})),n.d(e,"ib",(function(){return kn})),n.d(e,"jb",(function(){return On})),n.d(e,"kb",(function(){return Zs})),n.d(e,"lb",(function(){return Ac})),n.d(e,"mb",(function(){return Xs})),n.d(e,"nb",(function(){return tu})),n.d(e,"ob",(function(){return En})),n.d(e,"pb",(function(){return $})),n.d(e,"qb",(function(){return Vi})),n.d(e,"rb",(function(){return ua})),n.d(e,"sb",(function(){return sa})),n.d(e,"tb",(function(){return Li})),n.d(e,"ub",(function(){return Js})),n.d(e,"vb",(function(){return Ie})),n.d(e,"wb",(function(){return L})),n.d(e,"xb",(function(){return Tn})),n.d(e,"yb",(function(){return $a})),n.d(e,"zb",(function(){return Xa})),n.d(e,"Ab",(function(){return cs})),n.d(e,"Bb",(function(){return Ur})),n.d(e,"Cb",(function(){return qi})),n.d(e,"Db",(function(){return xa})),n.d(e,"Eb",(function(){return Ga})),n.d(e,"Fb",(function(){return qa})),n.d(e,"Gb",(function(){return Ea})),n.d(e,"Hb",(function(){return xu})),n.d(e,"Ib",(function(){return Ot})),n.d(e,"Jb",(function(){return Ut})),n.d(e,"Kb",(function(){return S})),n.d(e,"Lb",(function(){return x})),n.d(e,"Mb",(function(){return Pt})),n.d(e,"Nb",(function(){return Vt})),n.d(e,"Ob",(function(){return Ki})),n.d(e,"Pb",(function(){return Zt})),n.d(e,"Qb",(function(){return na})),n.d(e,"Rb",(function(){return ia})),n.d(e,"Sb",(function(){return oa})),n.d(e,"Tb",(function(){return ra})),n.d(e,"Ub",(function(){return ea})),n.d(e,"Vb",(function(){return ta})),n.d(e,"Wb",(function(){return Jt})),n.d(e,"Xb",(function(){return aa})),n.d(e,"Yb",(function(){return fn})),n.d(e,"Zb",(function(){return Wa})),n.d(e,"ac",(function(){return lt})),n.d(e,"bc",(function(){return Yi})),n.d(e,"cc",(function(){return Nu})),n.d(e,"dc",(function(){return Ji})),n.d(e,"ec",(function(){return ca})),n.d(e,"fc",(function(){return ku})),n.d(e,"gc",(function(){return pa})),n.d(e,"hc",(function(){return pu})),n.d(e,"ic",(function(){return fu})),n.d(e,"jc",(function(){return ga})),n.d(e,"kc",(function(){return da})),n.d(e,"lc",(function(){return Zi})),n.d(e,"mc",(function(){return ma})),n.d(e,"nc",(function(){return va})),n.d(e,"oc",(function(){return uu})),n.d(e,"pc",(function(){return cu})),n.d(e,"qc",(function(){return lu})),n.d(e,"rc",(function(){return Su})),n.d(e,"sc",(function(){return Qi})),n.d(e,"tc",(function(){return Qe})),n.d(e,"uc",(function(){return $e})),n.d(e,"vc",(function(){return ee})),n.d(e,"wc",(function(){return ur})),n.d(e,"xc",(function(){return cr})),n.d(e,"yc",(function(){return Dt})),n.d(e,"zc",(function(){return Sa})),n.d(e,"Ac",(function(){return $i})),n.d(e,"Bc",(function(){return Ru})),n.d(e,"Cc",(function(){return Ma})),n.d(e,"Dc",(function(){return Ba})),n.d(e,"Ec",(function(){return Fa})),n.d(e,"Fc",(function(){return Ha})),n.d(e,"Gc",(function(){return Eu}));var m="__parameters__";function v(t,e,n){var o=function(t){return function(){for(var e=[],n=0;n=t.length?t.push(n):t.splice(e,0,n)}function bt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function wt(t,e){for(var n=[],r=0;r=0?t[1|r]=n:function(t,e,n,r){var o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function jt(t,e){var n=_t(t,e);if(n>=0)return t[1|n]}function _t(t,e){return function(t,e,n){for(var r=0,o=t.length>>1;o!==r;){var i=r+(o-r>>1),a=t[i<<1];if(e===a)return i<<1;a>e?o=i:r=i+1}return~(o<<1)}(t,e)}var Tt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),St=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});function Et(t){return""+{toString:t}}var xt={},kt=[],At=0;function Ot(t){var e=t.type,n=e.prototype,r={},o={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||kt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||St.Emulated,id:"c",styles:t.styles||kt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return o._=Et((function(){var e=t.directives,n=t.features,i=t.pipes;o.id+=At++,o.inputs=Lt(t.inputs,r),o.outputs=Lt(t.outputs),n&&n.forEach((function(t){return t(o)})),o.directiveDefs=e?function(){return("function"==typeof e?e():e).map(It)}:null,o.pipeDefs=i?function(){return("function"==typeof i?i():i).map(Rt)}:null})),o}function It(t){return Mt(t)||function(t){return t[K]||null}(t)}function Rt(t){return function(t){return t[Y]||null}(t)}var Nt={};function Pt(t){var e={type:t.type,bootstrap:t.bootstrap||kt,declarations:t.declarations||kt,imports:t.imports||kt,exports:t.exports||kt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&Et((function(){Nt[t.id]=t.type})),e}function Dt(t,e){return Et((function(){var n=Ft(t,!0);n.declarations=e.declarations||kt,n.imports=e.imports||kt,n.exports=e.exports||kt}))}function Lt(t,e){if(null==t)return xt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}var Ut=Ot;function Vt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Mt(t){return t[Q]||null}function Bt(t,e){return t.hasOwnProperty(X)?t[X]:null}function Ft(t,e){var n=t[J]||null;if(!n&&!0===e)throw new Error("Type "+L(t)+" does not have '\u0275mod' property.");return n}function Ht(t){return Array.isArray(t)&&"object"==typeof t[1]}function Gt(t){return Array.isArray(t)&&!0===t[1]}function qt(t){return 0!=(8&t.flags)}function Wt(t){return 2==(2&t.flags)}function zt(t){return 1==(1&t.flags)}function $t(t){return null!==t.template}function Qt(t){return 0!=(512&t[2])}var Kt={lFrame:be(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Yt(){return Kt.bindingsEnabled}function Jt(){Kt.bindingsEnabled=!0}function Zt(){Kt.bindingsEnabled=!1}function Xt(){return Kt.lFrame.lView}function te(){return Kt.lFrame.tView}function ee(t){Kt.lFrame.contextLView=t}function ne(){return Kt.lFrame.previousOrParentTNode}function re(t,e){Kt.lFrame.previousOrParentTNode=t,Kt.lFrame.isParent=e}function oe(){return Kt.lFrame.isParent}function ie(){Kt.lFrame.isParent=!1}function ae(){return Kt.checkNoChangesMode}function se(t){Kt.checkNoChangesMode=t}function ue(){var t=Kt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ce(){return Kt.lFrame.bindingIndex}function le(){return Kt.lFrame.bindingIndex++}function he(t){var e=Kt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function pe(t,e){var n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function fe(){return Kt.lFrame.currentQueryIndex}function de(t){Kt.lFrame.currentQueryIndex=t}function ge(t,e){var n=ye();Kt.lFrame=n,n.previousOrParentTNode=e,n.lView=t}var me=we;function ve(t,e){var n=ye(),r=t[1];Kt.lFrame=n,n.previousOrParentTNode=e,n.isParent=!0,n.lView=t,n.tView=r,n.selectedIndex=0,n.contextLView=t,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.currentSanitizer=null,n.bindingRootIndex=-1,n.bindingIndex=r.bindingStartIndex,n.currentQueryIndex=0}function ye(){var t=Kt.lFrame,e=null===t?null:t.child;return null===e?be(t):e}function be(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function we(){Kt.lFrame=Kt.lFrame.parent}function Ce(){return Kt.lFrame.selectedIndex}function je(t){Kt.lFrame.selectedIndex=t}function _e(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(i>10>16&&(3&t[2])===e&&(t[2]+=1024,i.call(a)):i.call(a)}var Ae=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),Oe=void 0;function Ie(t){Oe=t}function Re(){return void 0!==Oe?Oe:"undefined"!=typeof document?document:void 0}function Ne(t){return!!t.listen}var Pe={createRenderer:function(t,e){return Re()}};function De(t,e,n){for(var r=Ne(t),o=0;oe){a=i-1;break}}}for(;i>16}function Ge(t,e){for(var n=He(t),r=e;n>0;)r=r[15],n--;return r}function qe(t){return"string"==typeof t?t:null==t?"":""+t}function We(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():qe(t)}var ze=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind($)}();function $e(t){return{name:"window",target:t.ownerDocument.defaultView}}function Qe(t){return{name:"document",target:t.ownerDocument}}function Ke(t){return t instanceof Function?t():t}var Ye=!0;function Je(t){var e=Ye;return Ye=t,e}var Ze=0;function Xe(t,e){var n=en(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,tn(r.data,t),tn(e,null),tn(r.blueprint,null));var o=nn(t,e),i=t.injectorIndex;if(Be(o))for(var a=Fe(o),s=Ge(o,e),u=s[1].data,c=0;c<8;c++)e[i+c]=s[a+c]|u[a+c];return e[i+8]=o,i}function tn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function en(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function nn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],r=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function rn(t,e,n){!function(t,e,n){var r="string"!=typeof n?n[tt]:n.charCodeAt(0)||0;null==r&&(r=n[tt]=Ze++);var o=255&r,i=1<0?255&e:e}(n);if("function"==typeof i){ge(e,t);try{var a=i();if(null!=a||r&j.Optional)return a;throw new Error("No provider for "+We(n)+"!")}finally{me()}}else if("number"==typeof i){if(-1===i)return new pn(t,e);var s=null,u=en(t,e),c=-1,l=r&j.Host?e[16][6]:null;for((-1===u||r&j.SkipSelf)&&(c=-1===u?nn(t,e):e[u+8],hn(r,!1)?(s=e[1],u=Fe(c),e=Ge(c,e)):u=-1);-1!==u;){c=e[u+8];var h=e[1];if(ln(i,u,h.data)){var p=sn(u,e,n,s,r,l);if(p!==an)return p}hn(r,e[1].data[u+8]===l)&&ln(i,u,e)?(s=h,u=Fe(c),e=Ge(c,e)):u=-1}}}if(r&j.Optional&&void 0===o&&(o=null),0==(r&(j.Self|j.Host))){var f=e[9],d=ut(void 0);try{return f?f.get(n,o,r&j.Optional):pt(n,o,r&j.Optional)}finally{ut(d)}}if(r&j.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+We(n)+"]")}var an={};function sn(t,e,n,r,o,i){var a=e[1],s=a.data[t+8],u=un(s,a,n,null==r?Wt(s)&&Ye:r!=a&&3===s.type,o&j.Host&&i===s);return null!==u?cn(e,a,u,s):an}function un(t,e,n,r,o){for(var i=t.providerIndexes,a=e.data,s=65535&i,u=t.directiveStart,c=i>>16,l=o?s+c:t.directiveEnd,h=r?s:s+c;h=u&&p.type===n)return h}if(o){var f=a[u];if(f&&$t(f)&&f.type===n)return u}return null}function cn(t,e,n,r){var o=t[n],i=e.data;if(o instanceof Ae){var a=o;if(a.resolving)throw new Error("Circular dep for "+We(i[n]));var s=Je(a.canSeeViewProviders);a.resolving=!0;var u=void 0;a.injectImpl&&(u=ut(a.injectImpl)),ge(t,r);try{o=t[n]=a.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.onChanges,o=e.onInit,i=e.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{a.injectImpl&&ut(u),Je(s),a.resolving=!1,me()}}return o}function ln(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<',!e.querySelector||e.querySelector("svg")?(e.innerHTML='

',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();$n.hasOwnProperty(e)&&!Gn.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(er(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Xn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tr=/([^\#-~ |!])/g;function er(t){return t.replace(/&/g,"&").replace(Xn,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(tr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function nr(t,e){var n=null;try{Hn=Hn||new Ln(t);var r=e?String(e):"";n=Hn.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Hn.getInertBodyElement(r)}while(r!==i);var a=new Zn,s=a.sanitizeChildren(rr(n)||n);return Pn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=rr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function rr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var or=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),ir=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ar=/^url\(([^)]+)\)$/;function sr(t){if(!(t=String(t).trim()))return"";var e=t.match(ar);return e&&Mn(e[1])===e[1]||t.match(ir)&&function(t){for(var e=!0,n=!0,r=0;ri?"":o[l+1].toLowerCase();var p=8&r?h:null;if(p&&-1!==Sr(p,c,0)||2&r&&c!==h){if(Ar(r))return!1;a=!0}}}}else{if(!a&&!Ar(r)&&!Ar(u))return!1;if(a&&Ar(u))continue;a=!1,r=u|1&r}}return Ar(r)||a}function Ar(t){return 0==(1&t)}function Or(t,e,n,r){if(null===e)return-1;var o=0;if(r||!n){for(var i=!1;o-1)for(n++;n0?'="'+s+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""===o||Ar(a)||(e+=Nr(i,o),o=""),r=a,i=i||!Ar(r);n++}return""!==o&&(e+=Nr(i,o)),e}var Dr={};function Lr(t){var e=t[3];return Gt(e)?e[3]:e}function Ur(t){Vr(te(),Xt(),Ce()+t,ae())}function Vr(t,e,n,r){if(!r)if(3==(3&e[2])){var o=t.preOrderCheckHooks;null!==o&&Te(e,o,n)}else{var i=t.preOrderHooks;null!==i&&Se(e,i,0,n)}je(n)}function Mr(t,e){return t<<17|e<<2}function Br(t){return t>>17&32767}function Fr(t){return 2|t}function Hr(t){return(131068&t)>>2}function Gr(t,e){return-131069&t|e<<2}function qr(t){return 1|t}function Wr(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r>1==-1){for(var r=9;r19&&Vr(t,e,0,ae()),n(r,o)}finally{je(i)}}function Xr(t,e,n){if(qt(e))for(var r=e.directiveEnd,o=e.directiveStart;o0&&(t[n-1][4]=r[4]);var i=bt(t,9+e);Vo(r[1],r,!1,null);var a=i[5];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Fo(t,e){if(!(256&e[2])){var n=e[11];Ne(n)&&n.destroyNode&&Xo(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Go(t[1],t);for(;e;){var n=null;if(Ht(e))n=e[13];else{var r=e[9];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Ht(e)&&Go(e[1],e),e=Ho(e,t);null===e&&(e=t),Ht(e)&&Go(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ho(t,e){var n;return Ht(t)&&(n=t[6])&&2===n.type?Do(n,t):t[3]===e?null:t[3]}function Go(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&Ne(e[11])&&e[11].destroy();var r=e[17];if(null!==r&&Gt(e[3])){r!==e[3]&&Mo(r,e);var o=e[5];null!==o&&o.detachView(t)}}}function qo(t,e,n){for(var r=e.parent;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){var o=n[6];return 2===o.type?Lo(o,n):n[0]}if(e&&5===e.type&&4&e.flags)return fr(e,n).parentNode;if(2&r.flags){var i=t.data,a=i[i[r.index].directiveStart].encapsulation;if(a!==St.ShadowDom&&a!==St.Native)return null}return fr(r,n)}function Wo(t,e,n,r){Ne(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function zo(t,e,n){Ne(t)?t.appendChild(e,n):e.appendChild(n)}function $o(t,e,n,r){null!==r?Wo(t,e,n,r):zo(t,e,n)}function Qo(t,e){return Ne(t)?t.parentNode(e):e.parentNode}function Ko(t,e){if(2===t.type){var n=Do(t,e);return null===n?null:Jo(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?fr(t,e):null}function Yo(t,e,n,r){var o=qo(t,r,e);if(null!=o){var i=e[11],a=Ko(r.parent||e[6],e);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Fo(this._lView[1],this._lView)},t.prototype.onDestroy=function(t){var e,n,r;e=this._lView[1],r=t,Oo(n=this._lView).push(r),e.firstCreatePass&&Io(e).push(n[7].length-1,null)},t.prototype.markForCheck=function(){So(this._cdRefInjectingView||this._lView)},t.prototype.detach=function(){this._lView[2]&=-129},t.prototype.reattach=function(){this._lView[2]|=128},t.prototype.detectChanges=function(){Eo(this._lView[1],this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t,e,n){se(!0);try{Eo(t,e,n)}finally{se(!1)}}(this._lView[1],this._lView,this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){var t;this._appRef=null,Xo(this._lView[1],t=this._lView,t[11],2,null,null)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t}(),si=function(t){function e(e){var n=t.call(this,e)||this;return n._view=e,n}return Object(r.c)(e,t),e.prototype.detectChanges=function(){xo(this._view)},e.prototype.checkNoChanges=function(){!function(t){se(!0);try{xo(t)}finally{se(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(ai);function ui(t,e,n){return ri||(ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e}(t)),new ri(fr(e,n))}function ci(t,e,n,o){return oi||(oi=function(t){function e(e,n,r){var o=t.call(this)||this;return o._declarationView=e,o._declarationTContainer=n,o.elementRef=r,o}return Object(r.c)(e,t),e.prototype.createEmbeddedView=function(t){var e=this._declarationTContainer.tViews,n=$r(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(e)),Kr(e,n,t);var o=new ai(n);return o._tViewNode=n[6],o},e}(t)),0===n.type?new oi(o,n,ui(e,n,o)):null}function li(t,e,n,o){var i;ii||(ii=function(t){function n(e,n,r){var o=t.call(this)||this;return o._lContainer=e,o._hostTNode=n,o._hostView=r,o}return Object(r.c)(n,t),Object.defineProperty(n.prototype,"element",{get:function(){return ui(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new pn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var t=nn(this._hostTNode,this._hostView),e=Ge(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.parent.injectorIndex;)o=o.parent;return o}for(var i=He(t),a=e,s=e[6];i>1;)s=(a=a[15])[6],i--;return s}(t,this._hostView,this._hostTNode);return Be(t)&&null!=n?new pn(n,e):new pn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-9},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},n.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;if(!o&&null==t.ngModule&&i){var a=i.get(gt,null);a&&(o=a)}var s=t.create(i,r,void 0,o);return this.insert(s.hostView,e),s},n.prototype.insert=function(t,e){var n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Gt(n[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var i=n[3],a=new ii(i,i[6],i[3]);a.detach(a.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,r){var o=9+r,i=n.length;r>0&&(n[o-1][4]=e),r ");else if("object"==typeof e){var i=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):L(s)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+t.replace(ot,"\n ")}("\n"+t.message,o,n,r),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{st(o)}},t.prototype.toString=function(){var t=[];return this.records.forEach((function(e,n){return t.push(L(n))})),"R3Injector["+t.join(", ")+"]"},t.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(!(t=B(t)))return!1;var o=O(t),i=null==o&&t.ngModule||void 0,a=void 0===i?t:i,s=-1!==n.indexOf(a);if(void 0!==i&&(o=O(i)),null==o)return!1;if(this.injectorDefTypes.add(a),this.records.set(a,Ti(o.factory,gi)),null!=o.imports&&!s){var u;n.push(a);try{vt(o.imports,(function(t){r.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))}))}finally{}if(void 0!==u)for(var c=function(t){var e=u[t],n=e.ngModule,o=e.providers;vt(o,(function(t){return r.processProvider(t,n,o||vi)}))},l=0;l0){var n=wt(e,"?");throw new Error("Can't resolve all parameters for "+L(t)+": ("+n.join(", ")+").")}var r=function(t){var e=t&&(t[I]||t[P]||t[N]&&t[N]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function _i(t,e,n){var o,i=void 0;if(Ei(t))return ji(B(t));if(Si(t))i=function(){return B(t.useValue)};else if((o=t)&&o.useFactory)i=function(){return t.useFactory.apply(t,Object(r.f)(ft(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return lt(B(t.useExisting))};else{var a=B(t&&(t.useClass||t.provide));if(a||function(t,e,n){var r="";throw t&&e&&(r=" - only instances of Provider and Type are allowed, got: ["+e.map((function(t){return t==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+L(t)+"'"+r)}(e,n,t),!function(t){return!!t.deps}(t))return ji(a);i=function(){return new(a.bind.apply(a,Object(r.f)([void 0],ft(t.deps))))}}return i}function Ti(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Si(t){return null!==t&&"object"==typeof t&&it in t}function Ei(t){return"function"==typeof t}var xi=function(t,e,n){return wi({name:n},e,t,n)},ki=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?xi(t,e,""):xi(t.providers,t.parent,t.name||"")},t.THROW_IF_NOT_FOUND=rt,t.NULL=new dt,t.\u0275prov=S({token:t,providedIn:"any",factory:function(){return lt(nt)}}),t.__NG_ELEMENT_ID__=-1,t}(),Ai=new et("AnalyzeForEntryComponents"),Oi=new Map,Ii=new Set;function Ri(t){return"string"==typeof t?t:t.text()}function Ni(t,e){for(var n=t.styles,r=t.classes,o=0,i=0;iu?s[u]:null}"string"==typeof a&&(i+=2)}return null}(t,e,o,r.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=i,v.__ngLastListenerFn__=i,h=!1;else{i=ha(r,e,i,!1);var y=n.listen(f.name||d,o,i);l.push(i,y),c&&c.push(o,m,g,g+1)}}else i=ha(r,e,i,!0),d.addEventListener(o,i,a),l.push(i),c&&c.push(o,m,g,a)}var b,w=r.outputs;if(h&&null!==w&&(b=w[o])){var C=b.length;if(C)for(var j=0;j0;)e=e[15],t--;return e}(t,Kt.lFrame.contextLView))[8]}(t)}function fa(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),o=0;o=0}var Ca={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ja(t){return t.substring(Ca.key,Ca.keyEnd)}function _a(t,e){var n=Ca.textEnd;return n===e?-1:(e=Ca.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Ca.key=e,n),Ta(t,e,n))}function Ta(t,e,n){for(;e=0;n=_a(e,n))Ct(t,ja(e),!0)}function Aa(t,e,n,r){var o,i=Xt(),a=te(),s=he(2);if(a.firstUpdatePass&&Ra(a,t,s,r),e!==Dr&&Hi(i,s,e)){var u=void 0;null==n&&(u=null===(o=Kt.lFrame)?null:o.currentSanitizer)&&(n=u),Da(a,a.data[Ce()+19],i,i[11],t,i[s+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=L(Tn(t)))),t}(e,n),r,s)}}function Oa(t,e,n,r){var o=te(),i=he(2);o.firstUpdatePass&&Ra(o,null,i,r);var a=Xt();if(n!==Dr&&Hi(a,i,n)){var s=o.data[Ce()+19];Va(s,r)&&!Ia(o,i)?("string"==typeof n&&(n=U(r?s.classes:s.styles,n)),Xi(o,s,a,n,r)):function(t,e,n,r,o,i,a,s){o===Dr&&(o=ya);for(var u=0,c=0,l=0=t.expandoStartIndex}function Ra(t,e,n,r){var o=t.data;if(null===o[n+1]){var i=o[Ce()+19],a=Ia(t,n);Va(i,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){var o=function(t){var e=Kt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t),i=r?e.residualClasses:e.residualStyles;if(null===o)0===(r?e.classBindings:e.styleBindings)&&(n=Pa(n=Na(null,t,e,n,r),e.attrs,r),i=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==o)if(n=Na(o,t,e,n,r),null===i){var s=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==Hr(r))return t[Br(r)]}(t,e,r);void 0!==s&&Array.isArray(s)&&function(t,e,n,r){t[Br(n?e.classBindings:e.styleBindings)]=r}(t,e,r,s=Pa(s=Na(null,t,e,s[1],r),e.attrs,r))}else i=function(t,e,n){for(var r=void 0,o=e.directiveEnd,i=1+e.directiveStylingLast;i0)&&(l=!0):c=n,o)if(0!==u){var h=Br(t[s+1]);t[r+1]=Mr(h,s),0!==h&&(t[h+1]=Gr(t[h+1],r)),t[s+1]=131071&t[s+1]|r<<17}else t[r+1]=Mr(s,0),0!==s&&(t[s+1]=Gr(t[s+1],r)),s=r;else t[r+1]=Mr(u,0),0===s?s=r:t[u+1]=Gr(t[u+1],r),u=r;l&&(t[r+1]=Fr(t[r+1])),ba(t,c,r,!0),ba(t,c,r,!1),function(t,e,n,r,o){var i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&_t(i,e)>=0&&(n[r+1]=qr(n[r+1]))}(e,c,t,r,i),a=Mr(s,u),i?e.classBindings=a:e.styleBindings=a}(o,i,e,n,a,r)}}function Na(t,e,n,r,o){var i=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=t[o],c=Array.isArray(u),l=c?u[1]:u,h=null===l,p=n[o+1];p===Dr&&(p=h?ya:void 0);var f=h?jt(p,r):l===r?p:void 0;if(c&&!Ua(f)&&(f=jt(u,r)),Ua(f)&&(s=f,a))return s;var d=t[o+1];o=a?Br(d):Hr(d)}if(null!==e){var g=i?e.residualClasses:e.residualStyles;null!=g&&(s=jt(g,r))}return s}function Ua(t){return void 0!==t}function Va(t,e){return 0!=(t.flags&(e?16:32))}function Ma(t,e){void 0===e&&(e="");var n=Xt(),r=te(),o=t+19,i=r.firstCreatePass?Qr(r,n[6],t,3,null,null):r.data[o],a=n[o]=function(t,e){return Ne(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Yo(r,n,a,i),re(i,!1)}function Ba(t){return Fa("",t,""),Ba}function Fa(t,e,n){var r=Xt(),o=Wi(r,t,e,n);return o!==Dr&&Po(r,Ce(),o),Fa}function Ha(t,e,n,r,o){var i=Xt(),a=zi(i,t,e,n,r,o);return a!==Dr&&Po(i,Ce(),a),Ha}function Ga(t,e,n){Oa(Ct,ka,Wi(Xt(),t,e,n),!0)}function qa(t,e,n,r,o){Oa(Ct,ka,zi(Xt(),t,e,n,r,o),!0)}function Wa(t,e,n){var r=Xt();if(Hi(r,le(),e)){var o=Ce();ao(te(),r,o,t,e,n,!0)}return Wa}function za(t,e){var n=vr(t)[1],r=n.data.length-1;_e(n,{directiveStart:r,directiveEnd:r+1})}function $a(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,r=[t];e;){var o=void 0;if($t(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");o=e.\u0275dir}if(o){if(n){r.push(o);var i=t;i.inputs=Qa(t.inputs),i.declaredInputs=Qa(t.declaredInputs),i.outputs=Qa(t.outputs);var a=o.hostBindings;a&&Ja(t,a);var s=o.viewQuery,u=o.contentQueries;s&&Ka(t,s),u&&Ya(t,u),T(t.inputs,o.inputs),T(t.declaredInputs,o.declaredInputs),T(t.outputs,o.outputs),i.afterContentChecked=i.afterContentChecked||o.afterContentChecked,i.afterContentInit=t.afterContentInit||o.afterContentInit,i.afterViewChecked=t.afterViewChecked||o.afterViewChecked,i.afterViewInit=t.afterViewInit||o.afterViewInit,i.doCheck=t.doCheck||o.doCheck,i.onDestroy=t.onDestroy||o.onDestroy,i.onInit=t.onInit||o.onInit}var c=o.features;if(c)for(var l=0;l=0;r--){var o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Ve(o.hostAttrs,n=Ve(n,o.hostAttrs))}}(r)}function Qa(t){return t===xt?{}:t===kt?[]:t}function Ka(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function Ya(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,o){e(t,r,o),n(t,r,o)}:e}function Ja(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var Za=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Xa(){return ts.ngInherit=!0,ts}function ts(t){t.type.prototype.ngOnChanges&&(t.setInput=es,t.onChanges=function(){var t=ns(this),e=t&&t.current;if(e){var n=t.previous;if(n===xt)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}})}function es(t,e,n,r){var o=ns(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:xt,current:null}),i=o.current||(o.current={}),a=o.previous,s=this.declaredInputs[n],u=a[s];i[s]=new Za(u&&u.currentValue,e,a===xt),t[r]=e}function ns(t){return t.__ngSimpleChanges__||null}function rs(t,e,n,r,o){if(t=B(t),Array.isArray(t))for(var i=0;i>16;if(t.useClass||Ei(t)){var d=(t.useClass||t).prototype.ngOnDestroy;d&&(a.destroyHooks||(a.destroyHooks=[])).push(e.length,d)}if(Ei(t)||!t.multi){var g=new Ae(c,o,Ki),m=is(u,e,o?h:h+f,p);-1==m?(rn(Xe(l,s),a,u),e.push(u),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(g),s.push(g)):(n[m]=g,s[m]=g)}else{var v=is(u,e,h+f,p),y=is(u,e,h,h+f),b=y>=0&&n[y];o&&!b||!o&&!(v>=0&&n[v])?(rn(Xe(l,s),a,u),g=function(t,e,n,r,o){var i=new Ae(t,n,Ki);return i.multi=[],i.index=e,i.componentProviders=0,os(i,o,r&&!n),i}(o?ss:as,n.length,o,r,c),!o&&b&&(n[y].providerFactory=g),e.push(u),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(g),s.push(g)):os(n[o?y:v],c,!o&&r),!o&&r&&b&&n[y].componentProviders++}}}function os(t,e,n){t.multi.push(e),n&&t.componentProviders++}function is(t,e,n,r){for(var o=n;o null != "+e+" <=Actual]")}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var ou=new Map,iu={provide:fs,useClass:Gs,deps:[gt]},au=function(t){function e(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var o=Ft(e),i=e[Z]||null;return i&&ru(i),r._bootstrapComponents=Ke(o.bootstrap),r._r3Injector=wi(e,n,[{provide:gt,useValue:r},iu],L(e)),r.instance=r.get(e),r}return Object(r.c)(e,t),e.prototype.get=function(t,e,n){return void 0===e&&(e=ki.THROW_IF_NOT_FOUND),void 0===n&&(n=j.Default),t===ki||t===gt||t===nt?this:this._r3Injector.get(t,e,n)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(fs)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(gt),su=function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,null!==Ft(e)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for "+t+" - "+L(e)+" vs "+L(e.name))})(n,ou.get(n),e),ou.set(n,e)}var r=e.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(e){return t(e)}))}(e),n}return Object(r.c)(e,t),e.prototype.create=function(t){return new au(this.moduleType,t)},e}(mt);function uu(t,e,n,r){return hu(Xt(),ue(),t,e,n,r)}function cu(t,e,n,r,o){return function(t,e,n,r,o,i,a){var s=e+n;return Gi(t,s,o,i)?Bi(t,s+2,a?r.call(a,o,i):r(o,i)):Fi(t,s+2)}(Xt(),ue(),t,e,n,r,o)}function lu(t,e,n,r,o,i){return function(t,e,n,r,o,i,a,s){var u=e+n;return function(t,e,n,r,o){var i=Gi(t,e,n,r);return Hi(t,e+2,o)||i}(t,u,o,i,a)?Bi(t,u+3,s?r.call(s,o,i,a):r(o,i,a)):Fi(t,u+3)}(Xt(),ue(),t,e,n,r,o,i)}function hu(t,e,n,r,o,i){var a=e+n;return Hi(t,a,o)?Bi(t,a+1,i?r.call(i,o):r(o)):Fi(t,a+1)}function pu(t,e){var n,r=te(),o=t+19;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new Error("The pipe '"+t+"' could not be found!")}(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var i=(n.factory||(n.factory=Bt(n.type)))();return function(t,e,n,r){var o=n+19;o>=t.data.length&&(t.data[o]=null,t.blueprint[o]=null),e[o]=r}(r,Xt(),t,i),i}function fu(t,e,n){var r=Xt(),o=gr(r,t);return function(t,e){return Ui.isWrapped(e)&&(e=Ui.unwrap(e),t[ce()]=Dr),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?hu(r,ue(),e,o.transform,n,o):o.transform(n))}var du=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.c)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,a=function(t){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(a=this.__isAsync?function(t){setTimeout((function(){return n(t)}))}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var u=t.prototype.subscribe.call(this,i,a,s);return e instanceof o.a&&e.add(u),u},e}(i.a);function gu(){return this._results[Di()]()}var mu=function(){function t(){this.dirty=!0,this._results=[],this.changes=new du,this.length=0;var e=Di(),n=t.prototype;n[e]||(n[e]=gu)}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r0)o.push(s[u/2]);else{for(var l=a[u+1],h=n[-c],p=9;p0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==o})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!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(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t.\u0275fac=function(e){return new(e||t)(lt(nc))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),hc=function(){function t(){this._applications=new Map,dc.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),dc.findTestabilityInTree(this,t,e)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function pc(t){dc=t}var fc,dc=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),gc=function(t,e,n){var o=new su(n);if(0===Oi.size)return Promise.resolve(o);var i,a,s=(i=t.get(Xu,[]).concat(e).map((function(t){return t.providers})),a=[],i.forEach((function(t){return t&&a.push.apply(a,Object(r.f)(t))})),a);if(0===s.length)return Promise.resolve(o);var u=function(){var t=$.ng;if(!t||!t.\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 t.\u0275compilerFacade}(),c=ki.create({providers:s}).get(u.ResourceLoader);return function(t){var e=[],n=new Map;function r(t){var e=n.get(t);if(!e){var r=function(t){return Promise.resolve(c.get(t))}(t);n.set(t,e=r.then(Ri))}return e}return Oi.forEach((function(t,n){var o=[];t.templateUrl&&o.push(r(t.templateUrl).then((function(e){t.template=e})));var i=t.styleUrls,a=t.styles||(t.styles=[]),s=t.styles.length;i&&i.forEach((function(e,n){a.push(""),o.push(r(e).then((function(r){a[s+n]=r,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)})))}));var u=Promise.all(o).then((function(){return function(t){Ii.delete(t)}(n)}));e.push(u)})),Oi=new Map,Promise.all(e).then((function(){}))}().then((function(){return o}))},mc=new et("AllowMultipleToken"),vc=function(){return function(t,e){this.name=t,this.token=e}}();function yc(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new et(r);return function(e){void 0===e&&(e=[]);var i=bc();if(!i||i.injector.get(mc,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0},{provide:di,useValue:"platform"});!function(t){if(fc&&!fc.destroyed&&!fc.injector.get(mc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fc=t.get(wc);var e=t.get(Mu,null);e&&e.forEach((function(t){return t()}))}(ki.create({providers:a,name:r}))}return function(t){var e=bc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function bc(){return fc&&!fc.destroyed?fc:null}var wc=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r,o=this,i=(r=e&&e.ngZoneEventCoalescing||!1,"noop"===(n=e?e.ngZone:void 0)?new cc:("zone.js"===n?void 0:n)||new nc({enableLongStackTrace:Pn(),shouldCoalesceEventChangeDetection:r})),a=[{provide:nc,useValue:i}];return i.run((function(){var e=ki.create({providers:a,parent:o.injector,name:t.moduleType.name}),n=t.create(e),r=n.injector.get(vn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return _c(o._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(t){r.handleError(t)}})})),function(t,e,r){try{var i=((a=n.injector.get(Du)).runInitializers(),a.donePromise.then((function(){return ru(n.injector.get(Gu,"en-US")||"en-US"),o._moduleDoBootstrap(n),n})));return sa(i)?i.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):i}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var a}(r,i)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Cc({},e);return gc(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(jc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+L(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(lt(ki))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function Cc(t,e){return Array.isArray(e)?e.reduce(Cc,t):Object(r.a)(Object(r.a)({},t),e)}var jc=function(){function t(t,e,n,r,o,i){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var l=new a.a((function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){t.next(u._stable),t.complete()}))})),h=new a.a((function(t){var e;u._zone.runOutsideAngular((function(){e=u._zone.onStable.subscribe((function(){nc.assertNotInAngularZone(),ec((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){nc.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(s.a)(l,h.pipe((function(t){return c()((e=g,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,f);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=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.");n=t instanceof hs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n.isBoundToModule?void 0:this._injector.get(gt),i=n.create(ki.NULL,[],e||n.selector,o);i.onDestroy((function(){r._unloadComponent(i)}));var a=i.injector.get(lc,null);return a&&i.injector.get(hc).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Pn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t,e,n,o,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var a=Object(r.g)(this._views),s=a.next();!s.done;s=a.next())s.value.detectChanges()}catch(l){t={error:l}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var u=Object(r.g)(this._views),c=u.next();!c.done;c=u.next())c.value.checkNoChanges()}catch(h){n={error:h}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}catch(p){this._zone.runOutsideAngular((function(){return i._exceptionHandler.handleError(p)}))}finally{this._runningTick=!1}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;_c(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Fu,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),_c(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(lt(nc),lt(Hu),lt(ki),lt(vn),lt(fs),lt(Du))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function _c(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Tc=function(){return function(){}}(),Sc=function(){return function(){}}(),Ec={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xc=function(){function t(t,e){this._compiler=t,this._config=e||Ec}return t.prototype.load=function(t){return this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,o=Object(r.e)(t.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("crnd")(i).then((function(t){return t[a]})).then((function(t){return kc(t,i,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=Object(r.e)(t.split("#"),2),o=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then((function(t){return t[i+a]})).then((function(t){return kc(t,o,i)}))},t.\u0275fac=function(e){return new(e||t)(lt(Zu),lt(Sc,8))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function kc(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Ac=function(t){return null},Oc=yc(null,"core",[{provide:Bu,useValue:"unknown"},{provide:wc,deps:[ki]},{provide:hc,deps:[]},{provide:Hu,deps:[]}]),Ic=[{provide:jc,useClass:jc,deps:[nc,Hu,ki,vn,fs,Du]},{provide:Ws,deps:[nc],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Du,useClass:Du,deps:[[new b,Pu]]},{provide:Zu,useClass:Zu,deps:[]},Uu,{provide:Ns,useFactory:function(){return Ls},deps:[]},{provide:Ps,useFactory:function(){return Us},deps:[]},{provide:Gu,useFactory:function(t){return ru(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new y(Gu),new b,new C]]},{provide:qu,useValue:"USD"}],Rc=function(){function t(t){}return t.\u0275mod=Pt({type:t}),t.\u0275inj=x({factory:function(e){return new(e||t)(lt(jc))},providers:Ic}),t}()},TypT:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,o=n.length;r0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=m(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.\u0275fac=function(t){return new(t||e)(o.ac(l),o.ac(C,8))},e.\u0275prov=o.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(b),T=function(){function t(t,e){var n=this;this._subject=new o.n,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=v(E(r)),this._platformStrategy.onPopState((function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})}))}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.getState=function(){return this._platformLocation.getState()},t.prototype.isCurrentPathEqualTo=function(t,e){return void 0===e&&(e=""),this.path()==this.normalize(t+y(e))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+y(e)),n)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+y(e)),n)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.onUrlChange=function(t){var e=this;this._urlChangeListeners.push(t),this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)}))},t.prototype._notifyUrlChangeListeners=function(t,e){void 0===t&&(t=""),this._urlChangeListeners.forEach((function(n){return n(t,e)}))},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=y,t.joinWithSlash=m,t.stripTrailingSlash=v,t.\u0275prov=Object(o.Kb)({factory:S,token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(o.ac(b),o.ac(l))},t}();function S(){return new T(Object(o.ac)(b),Object(o.ac)(l))}function E(t){return t.replace(/\/index.html$/,"")}var x={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],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,"$",2],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,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],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",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],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",2],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,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],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],XXX:["\xa4"],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]},k=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),A=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),O=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function I(t,e){var n=Object(o.kb)(t),r=n[o.ab.NumberSymbols][e];if(void 0===r){if(e===O.CurrencyDecimal)return n[o.ab.NumberSymbols][O.Decimal];if(e===O.CurrencyGroup)return n[o.ab.NumberSymbols][O.Group]}return r}var R=o.nb,N=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function P(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var D=function(){return function(){}}(),L=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return Object(r.c)(e,t),e.prototype.getPluralCategory=function(t,e){switch(R(e||this.locale)(t)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}},e.\u0275fac=function(t){return new(t||e)(o.ac(o.u))},e.\u0275prov=o.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(D);function U(t,e){var n,o;e=encodeURIComponent(e);try{for(var i=Object(r.g)(t.split(";")),a=i.next();!a.done;a=i.next()){var s=a.value,u=s.indexOf("="),c=Object(r.e)(-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)],2),l=c[1];if(c[0].trim()===e)return decodeURIComponent(l)}}catch(h){n={error:h}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}var V=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(o.qb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(o.wb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.s),o.Ob(o.t),o.Ob(o.l),o.Ob(o.D))},t.\u0275dir=o.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),M=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),B=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(o.V)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new M(null,e._ngForOf,-1,-1),null===o?void 0:o),a=new F(t,i);n.push(a)}else null==o?e._viewContainer.remove(null===r?void 0:r):null!==r&&(i=e._viewContainer.get(r),e._viewContainer.move(i,o),a=new F(t,i),n.push(a))}));for(var r=0;r-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(i=a.length))e=[0],n=1;else{for(i--;"0"===a.charAt(i);)i--;for(n-=r,e=[],o=0;r<=i;r++,o++)e[o]=Number(a.charAt(r))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}(t);a&&(c=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));var l=e.minInt,h=e.minFrac,p=e.maxFrac;if(i){var f=i.match(N);if(null===f)throw new Error(i+" is not a valid digit info");var d=f[1],g=f[3],m=f[5];null!=d&&(l=P(d)),null!=g&&(h=P(g)),null!=m?p=P(m):null!=g&&h>p&&(p=h)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(e,o),n),a=i+t.integerLen,s=r[a];if(a>0){r.splice(Math.max(t.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var l=0;l>a;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;o=p?r.pop():h=!1),e>=10?1:0}),0);f&&(r.unshift(f),t.integerLen++)}(c,h,p);var v=c.digits,y=c.integerLen,b=c.exponent,w=[];for(u=v.every((function(t){return!t}));y0?w=v.splice(y,v.length):(w=v,v=[0]);var C=[];for(v.length>=e.lgSize&&C.unshift(v.splice(-e.lgSize,v.length).join(""));v.length>e.gSize;)C.unshift(v.splice(-e.gSize,v.length).join(""));v.length&&C.unshift(v.join("")),s=C.join(I(n,r)),w.length&&(s+=I(n,o)+w.join("")),b&&(s+=I(n,O.Exponential)+"+"+b)}else s=I(n,O.Infinity);return t<0&&!u?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}(t,a,e,O.CurrencyGroup,O.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(t),a,s,n,i)}catch(u){throw function(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(o.wb)(t)+"'")}(e,u.message)}},t.\u0275fac=function(e){return new(e||t)(o.Ob(o.u),o.Ob(o.k))},t.\u0275pipe=o.Nb({name:"currency",type:t,pure:!0}),t}(),Q=function(){function t(){}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[{provide:D,useClass:L}]}),t}(),K="browser";function Y(t){return t===K}var J=function(){function t(){}return t.\u0275prov=Object(o.Kb)({token:t,providedIn:"root",factory:function(){return new Z(Object(o.ac)(c),window,Object(o.ac)(o.m))}}),t}(),Z=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}()},"VnD/":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("mrSG"),o=n("FFOo");function i(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(o.a)},Vo14:function(t,e,n){var r=n("5M3R")("socket.io-parser"),o=n("cpc2"),i=n("cD5x"),a=n("ojuT"),s=n("+SKG");function u(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=u,e.Decoder=h;var c=e.ERROR+'"encode error"';function l(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var o=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",t,n),n}function h(){this.reconstructor=null}function p(t){this.reconPack=t,this.buffers=[]}function f(t){return{type:e.ERROR,data:"parser error: "+t}}u.prototype.encode=function(t,n){r("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){i.removeBlobs(t,(function(t){var n=i.deconstructPacket(t),r=l(n.packet),o=n.buffers;o.unshift(r),e(o)}))}(t,n):n([l(t)])},o(h.prototype),h.prototype.add=function(t){var n;if("string"==typeof t)n=function(t){var n=0,o={type:Number(t.charAt(0))};if(null==e.types[o.type])return f("unknown packet type "+o.type);if(e.BINARY_EVENT===o.type||e.BINARY_ACK===o.type){for(var i="";"-"!==t.charAt(++n)&&(i+=t.charAt(n),n!=t.length););if(i!=Number(i)||"-"!==t.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===t.charAt(n+1))for(o.nsp="";++n&&","!==(u=t.charAt(n))&&(o.nsp+=u,n!==t.length););else o.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(o.id="";++n;){var u;if(null==(u=t.charAt(n))||Number(u)!=u){--n;break}if(o.id+=t.charAt(n),n===t.length)break}o.id=Number(o.id)}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||o.type!==e.ERROR&&!a(c))return f("invalid payload");o.data=c}return r("decoded %s as %j",t,o),o}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new p(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!s(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},h.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},WLGk:function(t,e,n){var r=n("6C75"),o=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);t.exports=function t(e){if(!e||"object"!=typeof e)return!1;if(r(e)){for(var n=0,o=e.length;n0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=i?Math.round(t/i)+"d":t>=o?Math.round(t/o)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},Wm4p:function(t,e,n){var r,o=n("dkv/"),i=n("WLGk"),a=n("ypnn"),s=n("zMFY"),u=n("oIG/");"undefined"!=typeof ArrayBuffer&&(r=n("g5Dd"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),l="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=c||l;e.protocol=3;var p=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=o(p),d={type:"error",data:"parser error"},g=n("14A5");function m(t,e,n){for(var r=new Array(t.length),o=s(t.length,n),i=function(t,n,o){e(n,(function(e,n){r[t]=n,o(e,r)}))},a=0;a1?{type:f[o],data:t.substring(1)}:{type:f[o]}:d}o=new Uint8Array(t)[0];var i=a(t,1);return g&&"blob"===n&&(i=new g([i])),{type:f[o],data:i}},e.decodeBase64Packet=function(t,e){var n=f[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var o=r.decode(t.substr(1));return"blob"===e&&g&&(o=new g([o])),{type:n,data:o}},e.encodePayload=function(t,n,r){"function"==typeof n&&(r=n,n=null);var o=i(t);return n&&o?g&&!h?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void m(t,(function(t,r){e.encodePacket(t,!!o&&n,!1,(function(t){r(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return r(e.join(""))})):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);var o;if("function"==typeof n&&(r=n,n=null),""===t)return r(d,0,1);for(var i,a,s="",u=0,c=t.length;u0;){for(var s=new Uint8Array(o),u=0===s[0],c="",l=1;255!==s[l];l++){if(c.length>310)return r(d,0,1);c+=s[l]}o=a(o,2+c.length),c=parseInt(c);var h=a(o,0,c);if(u)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(g){var p=new Uint8Array(h);for(h="",l=0;l0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var o=("a"===t.op?this.headers.get(e):void 0)||[];o.push.apply(o,Object(r.f)(n)),this.headers.set(e,o);break;case"d":var i=t.value;if(i){var a=this.headers.get(e);if(!a)return;0===(a=a.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),d=function(){function t(){}return t.prototype.encodeKey=function(t){return g(t)},t.prototype.encodeValue=function(t){return g(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function g(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function t(t){var e,n,o,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,o=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=Object(r.e)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=i[0],s=i[1],u=o.get(a)||[];u.push(s),o.set(a,u)})),o)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}var w=function(){function t(t,e,n,r){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,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 f),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300}}(),_=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=C.ResponseHeader,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(j),T=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=C.Response,n.body=void 0!==e.body?e.body:null,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(j),S=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(r.c)(e,t),e}(j);function E(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var x=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof w)r=t;else{var a;a=n.headers instanceof f?n.headers:new f(n.headers);var l=void 0;n.params&&(l=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new w(t,e,void 0!==n.body?n.body:null,{headers:a,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var h=Object(i.a)(r).pipe(Object(s.a)((function(t){return o.handler.handle(t)})));if(t instanceof w||"events"===n.observe)return h;var p=h.pipe(Object(u.a)((function(t){return t instanceof T})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return p.pipe(Object(c.a)((function(t){return t.body})))}case"response":return p;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,E(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,E(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,E(n,e))},t.\u0275fac=function(e){return new(e||t)(o.ac(h))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),A=new o.q("HTTP_INTERCEPTORS"),O=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),I=/^\)\]\}',?\n/,R=function(){return function(){}}(),N=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),P=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new f(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new _({headers:o,status:e,statusText:n,url:i})},c=function(){var e=u(),o=e.headers,i=e.status,a=e.statusText,s=e.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var l=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(I,"");try{c=""!==c?JSON.parse(c):null}catch(p){c=h,l&&(l=!1,c={error:p,text:c})}}l?(n.next(new T({body:c,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new S({error:c,headers:o,status:i,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,o=new S({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(o)},h=!1,p=function(e){h||(n.next(u()),h=!0);var o={type:C.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},d=function(t){var e={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",c),r.addEventListener("error",l),t.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:C.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),t.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}}))},t.\u0275fac=function(e){return new(e||t)(o.ac(R))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),D=new o.q("XSRF_COOKIE_NAME"),L=new o.q("XSRF_HEADER_NAME"),U=function(){return function(){}}(),V=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.u)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t.\u0275fac=function(e){return new(e||t)(o.ac(l.d),o.ac(o.B),o.ac(D))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),M=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t.\u0275fac=function(e){return new(e||t)(o.ac(U),o.ac(L))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),B=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(A,[]);this.chain=e.reduceRight((function(t,e){return new k(t,e)}),this.backend)}return this.chain.handle(t)},t.\u0275fac=function(e){return new(e||t)(o.ac(p),o.ac(o.r))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),F=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:M,useClass:O}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:D,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}},t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[M,{provide:A,useExisting:M,multi:!0},{provide:U,useClass:V},{provide:D,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t}(),H=function(){function t(){}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[x,{provide:h,useClass:B},P,{provide:p,useExisting:P},N,{provide:R,useExisting:N}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},cpc2:function(t,e,n){function r(t){if(t)return function(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},f.prototype.cleanup=function(){c("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();c("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(c("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(c("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(c("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},g5Dd:function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r>2],i+=t[(3&r[n])<<4|r[n+1]>>4],i+=t[(15&r[n+1])<<2|r[n+2]>>6],i+=t[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(t){var e,r,o,i,a,s=.75*t.length,u=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),h=new Uint8Array(l);for(e=0;e>4,h[c++]=(15&o)<<4|i>>2,h[c++]=(3&i)<<6|63&a;return l}}()},gFX4:function(t,e,n){var r=n("zJ60"),o=n("Vo14"),i=n("eOtv"),a=n("x7D4")("socket.io-client");t.exports=e=u;var s=e.managers={};function u(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o=r(t),u=o.source,c=o.id;return e.forceNew||e["force new connection"]||!1===e.multiplex||s[c]&&o.path in s[c].nsps?(a("ignoring socket cache for %s",u),n=i(u,e)):(s[c]||(a("new io instance for %s",u),s[c]=i(u,e)),n=s[c]),o.query&&!e.query&&(e.query=o.query),n.socket(o.path,e)}e.protocol=o.protocol,e.connect=u,e.Manager=n("eOtv"),e.Socket=n("KFGy")},iLxQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},jctj:function(t,e){t.exports=function(t){var e={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},t.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"|$)",end:">",keywords:{name:"style"},contains:[e],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"|$)",end:">",keywords:{name:"script"},contains:[e],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},e]}]}}},kSER:function(t,e){t.exports=function(t,e){for(var n=[],r=(e=e||0)||0;r=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(){for(var t=[],e=0;e=55296&&e<=56319&&o=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function u(t,e){return i(t>>e&63|128)}function c(t,e){if(0==(4294967168&t))return i(t);var n="";return 0==(4294965248&t)?n=i(t>>6&31|192):0==(4294901760&t)?(s(t,e)||(t=65533),n=i(t>>12&15|224),n+=u(t,6)):0==(4292870144&t)&&(n=i(t>>18&7|240),n+=u(t,12),n+=u(t,6)),n+i(63&t|128)}function l(){if(o>=r)throw Error("Invalid byte index");var t=255&n[o];if(o++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function h(t){var e,i;if(o>r)throw Error("Invalid byte index");if(o==r)return!1;if(e=255&n[o],o++,0==(128&e))return e;if(192==(224&e)){if((i=(31&e)<<6|l())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&e)){if((i=(15&e)<<12|l()<<6|l())>=2048)return s(i,t)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(i=(7&e)<<18|l()<<12|l()<<6|l())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,r=a(t),o=r.length,i=-1,s="";++i65535&&(o+=i((e-=65536)>>>10&1023|55296),e=56320|1023&e),o+=i(e);return o}(c)}}},ojuT:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},p0ib:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("6blF"),o=n("nkY7"),i=n("Zn8D"),a=n("IUTb");function s(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(a.a)(t,s))}},psW0:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("mrSG"),o=n("zotm"),i=n("MGBS"),a=n("rPjj"),s=n("67Y/"),u=n("0/uQ");function c(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(c((function(n,r){return Object(u.a)(t(n,r)).pipe(Object(s.a)((function(t,o){return e(n,t,r,o)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new l(t,n))})}var l=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project,this.concurrent))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.c(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},pugT:function(t,e,n){"use strict";var r=n("isby"),o=n("McSo"),i=n("2Bdj"),a=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();n.d(e,"a",(function(){return s}));var s=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,s=this._unsubscribe,c=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var l=0;l]+>|\t|)+|(?:\n)))/gm,u={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function c(t){return t.replace(/&/g,"&").replace(//g,">")}function l(t){return t.nodeName.toLowerCase()}function h(t,e){var n=t&&t.exec(e);return n&&0===n.index}function p(t){return i.test(t)}function f(t){var e,n={},r=Array.prototype.slice.call(arguments,1);for(e in t)n[e]=t[e];return r.forEach((function(t){for(e in t)n[e]=t[e]})),n}function d(t){var e=[];return function t(n,r){for(var o=n.firstChild;o;o=o.nextSibling)3===o.nodeType?r+=o.nodeValue.length:1===o.nodeType&&(e.push({event:"start",offset:r,node:o}),r=t(o,r),l(o).match(/br|hr|img|input/)||e.push({event:"stop",offset:r,node:o}));return r}(t,0),e}function g(t,e,o,i){function a(t){return new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function s(t,e){var n=y.case_insensitive?e[0].toLowerCase():e[0];return t.keywords.hasOwnProperty(n)&&t.keywords[n]}function l(t,e,n,r){var o='')+e+(n?"":"")}function p(){_+=null!=C.subLanguage?function(){var t="string"==typeof C.subLanguage;if(t&&!r[C.subLanguage])return c(T);var e=t?g(C.subLanguage,T,!0,j[C.subLanguage]):m(T,C.subLanguage.length?C.subLanguage:void 0);return C.relevance>0&&(S+=e.relevance),t&&(j[C.subLanguage]=e.top),l(e.language,e.value,!1,!0)}():function(){var t,e,n,r;if(!C.keywords)return c(T);for(r="",e=0,C.lexemesRe.lastIndex=0,n=C.lexemesRe.exec(T);n;)r+=c(T.substring(e,n.index)),(t=s(C,n))?(S+=t[1],r+=l(t[0],c(n[0]))):r+=c(n[0]),e=C.lexemesRe.lastIndex,n=C.lexemesRe.exec(T);return r+c(T.substr(e))}(),T=""}function d(t){_+=t.className?l(t.className,"",!0):"",C=Object.create(t,{parent:{value:C}})}function v(t,e){if(T+=t,null==e)return p(),0;var n=function(t,e){var n,r;for(n=0,r=e.contains.length;n"),C.skip||C.subLanguage||(S+=C.relevance),C=C.parent}while(C!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),d(r.starts)),i.returnEnd?0:e.length}if(function(t,e){return!o&&h(e.illegalRe,t)}(e,C))throw new Error('Illegal lexeme "'+e+'" for mode "'+(C.className||"")+'"');return T+=e,e.length||1}var y=w(t);if(!y)throw new Error('Unknown language: "'+t+'"');!function(t){function e(t){return t&&t.source||t}function r(n,r){return new RegExp(e(n),"m"+(t.case_insensitive?"i":"")+(r?"g":""))}!function o(i,a){if(!i.compiled){if(i.compiled=!0,i.keywords=i.keywords||i.beginKeywords,i.keywords){var s={},u=function(e,n){t.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach((function(t){var n=t.split("|");s[n[0]]=[e,n[1]?Number(n[1]):1]}))};"string"==typeof i.keywords?u("keyword",i.keywords):n(i.keywords).forEach((function(t){u(t,i.keywords[t])})),i.keywords=s}i.lexemesRe=r(i.lexemes||/\w+/,!0),a&&(i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")\\b"),i.begin||(i.begin=/\B|\b/),i.beginRe=r(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=r(i.end)),i.terminator_end=e(i.end)||"",i.endsWithParent&&a.terminator_end&&(i.terminator_end+=(i.end?"|":"")+a.terminator_end)),i.illegal&&(i.illegalRe=r(i.illegal)),null==i.relevance&&(i.relevance=1),i.contains||(i.contains=[]),i.contains=Array.prototype.concat.apply([],i.contains.map((function(t){return function(t){return t.variants&&!t.cached_variants&&(t.cached_variants=t.variants.map((function(e){return f(t,{variants:null},e)}))),t.cached_variants||t.endsWithParent&&[f(t)]||[t]}("self"===t?i:t)}))),i.contains.forEach((function(t){o(t,i)})),i.starts&&o(i.starts,a);var c=i.contains.map((function(t){return t.beginKeywords?"\\.?("+t.begin+")\\.?":t.begin})).concat([i.terminator_end,i.illegal]).map(e).filter(Boolean);i.terminators=c.length?r(c.join("|"),!0):{exec:function(){return null}}}}(t)}(y);var b,C=i||y,j={},_="";for(b=C;b!==y;b=b.parent)b.className&&(_=l(b.className,"",!0)+_);var T="",S=0;try{for(var E,x,k=0;C.terminators.lastIndex=k,E=C.terminators.exec(e);)x=v(e.substring(k,E.index),E[0]),k=E.index+x;for(v(e.substr(k)),b=C;b.parent;b=b.parent)b.className&&(_+="");return{relevance:S,value:_,language:t,top:C}}catch(A){if(A.message&&-1!==A.message.indexOf("Illegal"))return{relevance:0,value:c(e)};throw A}}function m(t,e){e=e||u.languages||n(r);var o={relevance:0,value:c(t)},i=o;return e.filter(w).filter(C).forEach((function(e){var n=g(e,t,!1);n.language=e,n.relevance>i.relevance&&(i=n),n.relevance>o.relevance&&(i=o,o=n)})),i.language&&(o.second_best=i),o}function v(t){return u.tabReplace||u.useBR?t.replace(s,(function(t,e){return u.useBR&&"\n"===t?"
":u.tabReplace?e.replace(/\t/g,u.tabReplace):""})):t}function y(t){var n,r,i,s,h,f=function(t){var e,n,r,o,i=t.className+" ";if(n=a.exec(i+=t.parentNode?t.parentNode.className:""))return w(n[1])?n[1]:"no-highlight";for(e=0,r=(i=i.split(/\s+/)).length;e/g,"\n"):n=t,h=n.textContent,i=f?g(f,h,!0):m(h),(r=d(n)).length&&((s=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=i.value,i.value=function(t,n,r){var o=0,i="",a=[];function s(){return t.length&&n.length?t[0].offset!==n[0].offset?t[0].offset"}function h(t){i+=""}function p(t){("start"===t.event?u:h)(t.node)}for(;t.length||n.length;){var f=s();if(i+=c(r.substring(o,f[0].offset)),o=f[0].offset,f===t){a.reverse().forEach(h);do{p(f.splice(0,1)[0]),f=s()}while(f===t&&f.length&&f[0].offset===o);a.reverse().forEach(u)}else"start"===f[0].event?a.push(f[0].node):a.pop(),p(f.splice(0,1)[0])}return i+c(r.substr(o))}(r,d(s),h)),i.value=v(i.value),t.innerHTML=i.value,t.className=function(t,e,n){var r=e?o[e]:n,i=[t.trim()];return t.match(/\bhljs\b/)||i.push("hljs"),-1===t.indexOf(r)&&i.push(r),i.join(" ").trim()}(t.className,f,i.language),t.result={language:i.language,re:i.relevance},i.second_best&&(t.second_best={language:i.second_best.language,re:i.second_best.relevance}))}function b(){if(!b.called){b.called=!0;var t=document.querySelectorAll("pre code");e.forEach.call(t,y)}}function w(t){return t=(t||"").toLowerCase(),r[t]||r[o[t]]}function C(t){var e=w(t);return e&&!e.disableAutodetect}t.highlight=g,t.highlightAuto=m,t.fixMarkup=v,t.highlightBlock=y,t.configure=function(t){u=f(u,t)},t.initHighlighting=b,t.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)},t.registerLanguage=function(e,n){var i=r[e]=n(t);i.aliases&&i.aliases.forEach((function(t){o[t]=e}))},t.listLanguages=function(){return n(r)},t.getLanguage=w,t.autoDetection=C,t.inherit=f,t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t.COMMENT=function(e,n,r){var o=t.inherit({className:"comment",begin:e,end:n,contains:[]},r||{});return o.contains.push(t.PHRASAL_WORDS_MODE),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),o},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0}}(e)},r0Rl:function(t,e){t.exports=function(t){var e={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},n={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},r={begin:"\\(",end:/\)/,keywords:e,contains:["self",t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.NUMBER_MODE]},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r]};return{aliases:["ts"],keywords:e,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t.IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:["self",t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:e,contains:["self",t.inherit(t.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),o],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0,contains:["self",o]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+t.IDENT_RE,relevance:0},n,r]}}},rPjj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("mrSG"),o=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return r.c(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("FFOo").a)},"u/pq":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n("TYT/"),o=n("QJY3"),i={provide:o.f,useExisting:Object(r.T)((function(){return a})),multi:!0},a=function(){function t(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}return t.prototype.onClick=function(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))},t.prototype.ngOnInit=function(){this.toggle(this.trueValue===this.value)},Object.defineProperty(t.prototype,"trueValue",{get:function(){return void 0===this.btnCheckboxTrue||this.btnCheckboxTrue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"falseValue",{get:function(){return void 0!==this.btnCheckboxFalse&&this.btnCheckboxFalse},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){this.state=t,this.value=this.state?this.trueValue:this.falseValue},t.prototype.writeValue=function(t){this.state=this.trueValue===t,this.value=t?this.trueValue:this.falseValue},t.prototype.setDisabledState=function(t){this.isDisabled=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Jb({type:t,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(t,e){1&t&&r.ec("click",(function(t){return e.onClick()})),2&t&&(r.Cb("aria-pressed",e.state),r.Gb("active",e.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[r.Ab([i])]}),t}(),s={provide:o.f,useExisting:Object(r.T)((function(){return u})),multi:!0},u=function(){function t(t){this.cdr=t,this.onChange=Function.prototype,this.onTouched=Function.prototype}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this._value=t,this.cdr.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h))},t.\u0275dir=r.Jb({type:t,selectors:[["","btnRadioGroup",""]],features:[r.Ab([s])]}),t}(),c={provide:o.f,useExisting:Object(r.T)((function(){return l})),multi:!0},l=function(){function t(t,e,n,r){this.el=t,this.cdr=e,this.group=n,this.renderer=r,this.onChange=Function.prototype,this.onTouched=Function.prototype}return Object.defineProperty(t.prototype,"value",{get:function(){return this.group?this.group.value:this._value},set:function(t){this.group?this.group.value=t:this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this.setDisabledState(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this.btnRadio===this.value},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.el.nativeElement.attributes.disabled||!this.uncheckable&&this.btnRadio===this.value||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio,this._onChange(this.value))},t.prototype.ngOnInit=function(){this.uncheckable=void 0!==this.uncheckable},t.prototype.onBlur=function(){this.onTouched()},t.prototype._onChange=function(t){if(this.group)return this.group.onTouched(),void this.group.onChange(t);this.onTouched(),this.onChange(t)},t.prototype.writeValue=function(t){this.value=t,this.cdr.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){t?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(u,8),r.Ob(r.D))},t.\u0275dir=r.Jb({type:t,selectors:[["","btnRadio",""]],hostVars:3,hostBindings:function(t,e){1&t&&r.ec("click",(function(t){return e.onClick()})),2&t&&(r.Cb("aria-pressed",e.isActive),r.Gb("active",e.isActive))},inputs:{value:"value",disabled:"disabled",uncheckable:"uncheckable",btnRadio:"btnRadio"},features:[r.Ab([c])]}),t}(),h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}()},uDUn:function(t,e){var n=1e3,r=6e4,o=36e5,i=24*o;function a(t,e,n){if(!(t0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=i?Math.round(t/i)+"d":t>=o?Math.round(t/o)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},x7D4:function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Q80o")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},xTla:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},y3By:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r=n("+umK");function o(){for(var t=[],e=0;er&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(n-e),a=e,s=0;a-1&&(e.splice(n,1),i+=t+".")})),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&O.hasOwnProperty(e)&&(e=O[e]))}return A[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),k.forEach((function(r){r!=n&&(0,I[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded((function(){return e(o)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.\u0275fac=function(t){return new(t||e)(o.ac(i.d))},e.\u0275prov=o.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(m),N=[{provide:o.B,useValue:i.s},{provide:o.C,useValue:function(){c.makeCurrent(),f.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(o.vb)(document),document},deps:[]}],P=Object(o.Q)(o.W,"browser",N),D=[[],{provide:o.Z,useValue:"root"},{provide:o.m,useFactory:function(){return new o.m},deps:[]},{provide:d,useClass:x,multi:!0,deps:[i.d,o.z,o.B]},{provide:d,useClass:R,multi:!0,deps:[i.d]},[],{provide:_,useClass:_,deps:[g,y,o.c]},{provide:o.E,useExisting:_},{provide:v,useExisting:y},{provide:y,useClass:y,deps:[i.d]},{provide:o.L,useClass:o.L,deps:[o.z]},{provide:g,useClass:g,deps:[d,o.z]},[]],L=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:o.c,useValue:t.appId},{provide:h,useExisting:o.c},p]}},t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(n){return new(n||t)(o.ac(e,12))},providers:D,imports:[i.b,o.f]}),t}();"undefined"!=typeof window&&window;var U=n("QJY3"),V=n("6blF"),M=n("K9Ia"),B=n("pugT"),F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return u.c(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),B.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),B.a.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(M.a),H=n("67Y/"),G=n("1fDf"),q=n("isby"),W=n("nkY7");function z(t){var e=this,n=t.args,r=t.subscriber,o=t.params,i=o.callbackFunc,a=o.context,s=o.scheduler,u=o.subject;if(!u){u=o.subject=new F;try{i.apply(a,n.concat([function(){for(var t=[],n=0;n");o=o.substr(0,i);var a=t.getOccurrenceCount(o.toLowerCase(),e,!1);if(a>0){var s="",u=o.indexOf('jhaTitle="');u>=0&&(u=(s=o.substr(u+10)).indexOf('"'))>=0&&(s=s.substr(0,u));var c=a;s.toLowerCase().indexOf(e)>=0&&(c+=10),t.searchResultList.push(new jt(s,n.routePrefix+n.component,c))}})),this.searchResultList.sort((function(t,e){var n=0;return t.weighte.weight&&(n=-1),n})),this.searching=!1,this.noSearchResults=this.searchResultList.length<1,1===this.searchResultList.length?this.router.navigate([this.searchResultList[0].routerLink]):this.title=this.searchResultList.length<1?"We didn't find anything that matched '"+this.searchString+"'":this.searchResultList.length+" results found for '"+this.searchString+"'"}else this.blankSearchString=!this.displaySearchInputForPhone,this.title="Search"},t.prototype.ngOnDestroy=function(){this.routeSubscription&&this.routeSubscription.unsubscribe()},t.prototype.getOccurrenceCount=function(t,e,n){if(t+="",(e+="").length<=0)return t.length+1;for(var r=0,o=0,i=n?1:e.length;(o=t.indexOf(e,o))>=0;)++r,o+=i;return r},t.\u0275fac=function(e){return new(e||t)(o.Ob(ut.a),o.Ob(a.a),o.Ob(a.e))},t.\u0275cmp=o.Ib({type:t,selectors:[["site-search"]],features:[o.Ab([ut.a])],decls:7,vars:7,consts:[["jhaBackgroundImageUrl","assets/images/JHAGoodMorning.jpg",3,"jhaTitle","jhaIsBusy"],[3,"ngSubmit",4,"ngIf"],["jhaType","Error","jhaIconType","Error",4,"ngIf"],["jhaType","Warning","jhaIconType","Warning",4,"ngIf"],[1,"clearfix"],["jhaSize","Wide",3,"jhaIconType","jhaTitle","jhaRouterLink",4,"ngFor","ngForOf"],[3,"ngSubmit"],["type","search","id","inputSearch","name","inputSearch","placeholder","Search","required","","autofocus","",1,"form-control","search-box",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary","search-button"],["jhaType","Error","jhaIconType","Error"],["jhaType","Warning","jhaIconType","Warning"],["jhaSize","Wide",3,"jhaIconType","jhaTitle","jhaRouterLink"],[1,"search-weight"]],template:function(t,e){1&t&&(o.Vb(0,"jha-function-view",0),o.Ac(1,_t,5,1,"form",1),o.Ac(2,Tt,2,1,"jha-inline-notification",2),o.Ac(3,St,2,0,"jha-inline-notification",3),o.Ac(4,Et,2,0,"jha-inline-notification",3),o.Vb(5,"div",4),o.Ac(6,xt,3,4,"jha-tile",5),o.Ub(),o.Ub()),2&t&&(o.lc("jhaTitle",e.title)("jhaIsBusy",e.searching),o.Bb(1),o.lc("ngIf",e.displaySearchInputForPhone),o.Bb(1),o.lc("ngIf",e.loadError),o.Bb(1),o.lc("ngIf",e.blankSearchString),o.Bb(1),o.lc("ngIf",!e.blankSearchString&&e.noSearchResults),o.Bb(2),o.lc("ngForOf",e.searchResultList))},directives:[X.h,i.k,i.j,U.r,U.i,U.j,X.f,U.b,U.n,U.h,U.k,X.r,X.F],styles:[".search-box[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 0 0%}.search-button[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 auto}.search-weight[_ngcontent-%COMP%]{position:absolute;bottom:0;opacity:.5}"]}),t}(),At=function(){return function(t,e){this.title=t,this.patternList=e}}(),Ot=function(){return function(t,e,n,r){this.title=t,this.description=e,this.iconType=n,this.route=r}}();function It(t,e){if(1&t&&(o.Vb(0,"div",6),o.Vb(1,"div",7),o.Qb(2,"i"),o.Ub(),o.Vb(3,"div",8),o.Vb(4,"div",9),o.Cc(5),o.Ub(),o.Vb(6,"div",10),o.Vb(7,"a",11),o.Cc(8),o.Ub(),o.Ub(),o.Ub(),o.Ub()),2&t){var n=e.$implicit;o.Bb(2),o.Eb("xj-icon-",n.iconType," jha-bright-text-label pattern-icon"),o.Bb(3),o.Dc(n.description),o.Bb(2),o.nc("routerLink","/Patterns/",n.route,""),o.Bb(1),o.Ec("",n.title," Pattern")}}function Rt(t,e){if(1&t&&(o.Vb(0,"div",3),o.Vb(1,"h3",4),o.Cc(2),o.Ub(),o.Ac(3,It,9,6,"div",5),o.Ub()),2&t){var n=e.$implicit;o.Bb(2),o.Dc(n.title),o.Bb(1),o.lc("ngForOf",n.patternList)}}var Nt=function(){function t(){this.sectionList=[],this.sectionList=[new At("Fundamentals",[new Ot("Responsive Design","Display content optimally at different screen widths","Expand","ResponsiveDesign"),new Ot("Theming","Add the proper styling, colors, fonts","Palette","Theming"),new Ot("Enterprise Icons","Display icons","Images","EnterpriseIcons"),new Ot("Icon Usage","Use icons in your app","Images","IconUsage"),new Ot("User Interface Text","Write text for your user interface","Edit","UserInterfaceText"),new Ot("Animation","Animate elements in your app","Next","Animation"),new Ot("Back Button","Conditionally display a back button in the header","NavigateBack","BackButton"),new Ot("Native Wrapper","Package your web app as a Windows executable","Package","NativeWrapper"),new Ot("Headshot Photos","Display a photo of a person's face","OrientationPortrait","HeadshotPhotos"),new Ot("Themed SVG Images","Display an SVG image using themed colors","Palette","ThemedSvgImages"),new Ot("Plug-In Apps","Embed one responsive application within another","Windows","PlugIn")]),new At("Layout",[new Ot("Application Layout","Provide standard layout for your app","Layout","ApplicationLayout"),new Ot("Application Layout","Provide navigation to your views","GoTo","ApplicationLayout"),new Ot("Application Layout","Display a header in your app","ArrowUp","ApplicationLayout"),new Ot("Function View","Provide standard layout for a view","Window","FunctionView"),new Ot("Display Block","Partition view content into containers","ViewMediumIcons","DisplayBlock"),new Ot("Group Box","Partition display block content into even smaller containers","ViewSmallIcons","GroupBox"),new Ot("Fixed Layout","Display view content in a fixed grid layout","Layout","FixedLayout"),new Ot("Toolbar","Display items in toolbars","Ellipsis","Toolbar"),new Ot("Tabs","Partition and organize content into tabs","Swap","Tabs"),new Ot("Breadcrumbs","Provide fast access to higher levels in the view hierarchy","NavigateUp","Breadcrumbs"),new Ot("Context Menu","Provide list of options scoped to one element","Table","ContextMenu"),new Ot("Carousel","Display a series of images one at a time","Images","Carousel"),new Ot("Simplify the UI","Highlight the most important functionality","Favorites","SimplifyUi")]),new At("Data",[new Ot("Text","Display text","Font","Text"),new Ot("Record Detail","Display field/value pairs","Properties","RecordDetail"),new Ot("Grid","Display data in rows and columns","Table","Grid"),new Ot("Tree View","Display hierarchical data","OrgChart","TreeView"),new Ot("Charts","Display charts and graphs","ChartArea","Charts"),new Ot("Percentage Circle","Display a percentage graphically","Rates","PercentageCircle"),new Ot("Editing Form Data","Prompt the user for input","Keyboard","EditingFormData"),new Ot("Validating Form Data","Validate user input","Verify","ValidatingFormData"),new Ot("Templated Lists","Display a list of objects","ViewList","TemplatedLists"),new Ot("Slider","Prompt for a numeric value with a slider","Split","Slider"),new Ot("Rating","Display a rating with stars","RatingHalf","Rating"),new Ot("Status Icon","Display a status visually, using very little space","Error","StatusIcon"),new Ot("Large Datasets","Display large sets of data","Data","LargeDatasets"),new Ot("Large Datasets","Use pagination to display unbounded data in pages","Book","LargeDatasets")]),new At("User Interaction",[new Ot("Interactivity Guidelines","Interact with users optimally","People","InteractivityGuidelines"),new Ot("Buttons","Trigger an action or navigation","Quick","Buttons"),new Ot("Tiles","Trigger an action or navigation and display contextual info","Quick","Tiles"),new Ot("Notifications","Notify the user of an event or occurence","Warning","Notifications"),new Ot("Progress Bar","Indicate the progress of a determinate long-running process","Clock","ProgressBar"),new Ot("Busy Indicator","Indicate an indeterminate long-running process","Hourglass","BusyIndicator"),new Ot("Dialog Boxes","Ask the user a simple question","Question","DialogBoxes"),new Ot("Dialog Boxes","Display secondary activity in a window above the view","Message","DialogBoxes"),new Ot("Drag and Drop","Drag items from one location to another","FullScreenExpand","DragAndDrop"),new Ot("Drag and Drop","Reorder items within a list","FitHeight","DragAndDrop"),new Ot("Tooltips","Display additional info for an element","Message","Tooltips"),new Ot("Tags","Display search filter or metadata tags","Tag","Tags"),new Ot("File Upload","Upload one or more files","Upload","FileUpload"),new Ot("Session Timeout","Let the user know their session is timing out","Clock","SessionTimeout")]),new At("View-Level",[new Ot("Log In","Prompt the user to log in","LoginLogout","LogIn"),new Ot("Master / Detail","Display a master list with detail for the selected option","ViewDetails","MasterDetail"),new Ot("CRUD","Provide inquiry, create, revise, and delete functions","Edit","Crud"),new Ot("Search","Provide a search interface","Search","Search"),new Ot("Wizard","Prompt the user for multiple values, one step at a time","Wizard","Wizard"),new Ot("Steps","Prompt the user for a short set of multiple values, one step at a time","Steps","Steps"),new Ot("About Page","Display the application name, version, and copyright notice","Information","About"),new Ot("Starting Function","Display an initial view after the user starts or logs in","Priority1","StartingFunction"),new Ot("Institution Selection","Prompt the user to select a financial institution","Bank","InstitutionSelection"),new Ot("Change Password","Prompt the user to change their password","Key","ChangePassword")])]}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["which-pattern"]],decls:4,vars:1,consts:[["jhaTitle","Which Pattern Should I Use?","jhaBackgroundImageUrl","assets/images/JHAMobileCreditCard.jpg","jhaDataDense","true"],[1,"outer-container"],["class","inner-container",4,"ngFor","ngForOf"],[1,"inner-container"],[1,"category-header"],["class","pattern",4,"ngFor","ngForOf"],[1,"pattern"],[1,"pattern-icon-container"],[1,"pattern-info-container"],[1,"pattern-info-description"],[1,"pattern-info-link"],[3,"routerLink"]],template:function(t,e){1&t&&(o.Vb(0,"jha-function-view",0),o.Vb(1,"jha-display-block"),o.Vb(2,"div",1),o.Ac(3,Rt,4,2,"div",2),o.Ub(),o.Ub(),o.Ub()),2&t&&(o.Bb(3),o.lc("ngForOf",e.sectionList))},directives:[X.h,X.d,i.j,a.h],styles:[".outer-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;flex-wrap:wrap}.inner-container[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 275px;margin-left:40px;margin-bottom:50px}.inner-container[_ngcontent-%COMP%]:first-child{margin-left:0}.inner-container[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:30px}.pattern[_ngcontent-%COMP%]{margin-top:25px;height:75px;display:-webkit-box;display:flex}.pattern-icon-container[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 auto}.pattern-info-container[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 0 0%}.pattern-info-description[_ngcontent-%COMP%]{font-size:14px}.pattern-info-link[_ngcontent-%COMP%]{margin-top:3px}.pattern-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;margin-right:12px;margin-top:4px;opacity:.33}.category-header[_ngcontent-%COMP%]{margin-top:0;padding-top:0}"]}),t}();function Pt(){return[{name:"typescript",func:st.a},{name:"scss",func:it.a},{name:"xml",func:rt.a}]}function Dt(t){return function(){return t.load()}}Object(o.S)();var Lt=[{path:"",redirectTo:"/Home",pathMatch:"full",canActivate:[Y]},{path:"Doc/Angular",loadChildren:"./modules/doc-angular/doc-angular.module#DocAngularModule",canActivate:[Y]},{path:"Doc/Asp",loadChildren:"./modules/doc-asp/doc-asp.module#DocAspModule",canActivate:[Y]},{path:"Home",component:mt,canActivate:[Y]},{path:"Patterns",loadChildren:"./modules/patterns/patterns.module#PatternsModule",canActivate:[Y]},{path:"Releases",component:Ct,canActivate:[Y]},{path:"Search",component:kt,canActivate:[Y]},{path:"SearchPhone",component:kt,canActivate:[Y]},{path:"TechDocs",loadChildren:"./modules/tech-docs/tech-docs.module#TechDocsModule",canActivate:[Y]},{path:"WhichPattern",component:Nt,canActivate:[Y]},{path:"**",component:mt,canActivate:[Y]}],Ut=function(){function t(){}return t.\u0275mod=o.Mb({type:t,bootstrap:[ft]}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[Y,{provide:i.h,useClass:i.e},Z.a,ut.a,{provide:o.d,useFactory:Dt,deps:[Z.a],multi:!0}],imports:[[J.forRoot({tenant:"53049b77-3e8f-4792-977f-0a3e5f23891b",clientId:"8073b43a-05c8-4cb7-9ce8-20695db50a0f",redirectUri:window.location.origin,navigateToLoginRequestUrl:!1,cacheLocation:"localStorage"}),L,U.e,s.b,X.l,X.q,X.s,X.y,X.C,X.D,X.E.forRoot(),X.G,a.i.forRoot(Lt,{preloadingStrategy:a.d}),tt.b.forRoot(),et.b.forRoot({languages:Pt})]]}),t}();Object(o.S)(),P().bootstrapModule(Ut).catch((function(t){return console.log(t)}))},zotm:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("rPjj"),o=n("Fxb1"),i=n("6blF");function a(t,e,n,a,s){if(void 0===s&&(s=new r.a(t,n,a)),!s.closed)return e instanceof i.a?e.subscribe(s):Object(o.a)(e)(s)}}},[[0,0]]]);