403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/dev-conductive-digital/public/aws/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/dev-conductive-digital/public/aws/main-es5.758e4c8c4e77a19dcb08.js
function _templateObject35(){var e=_taggedTemplateLiteral([":@@ngb.toast.close-aria\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.AM\u241f69a1f176a93998876952adac57c3bc3863b6105e\u241f4592818992509942761:",":INTERPOLATION:"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.PM\u241f8d6e691e10306c1b34c6b26805151aaea320ef7f\u241f3564199131264287502:",":INTERPOLATION:"]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-seconds\u241f5db47ac104294243a70eb9124fbea9d0004ddf69\u241f753633511487974857:Decrement seconds"]);return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-seconds\u241f912322ecee7d659d04dcf494a70e22e49d334b26\u241f5364772110539092174:Increment seconds"]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.seconds\u241f4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c\u241f8874012390997067175:Seconds"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.SS\u241febe38d36a40a2383c5fefa9b4608ffbda08bd4a3\u241f3628127143071124194:SS"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-minutes\u241fc1a6899e529c096da5b660385d4e77fe1f7ad271\u241f7447789825403243588:Decrement minutes"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-minutes\u241ff5a4a3bc05e053f6732475d0e74875ec01c3a348\u241f180147720391025024:Increment minutes"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-hours\u241f147c7a19429da7d999e247d22e33fee370b1691b\u241f3651829882940481818:Decrement hours"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-hours\u241fcb74bc1d625a6c1742f0d7d47306cf495780c218\u241f5939278348542933629:Increment hours"]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.minutes\u241f41e62daa962947c0d23ded0981975d1bddf0bf38\u241f5531237363767747080:Minutes"]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.MM\u241f72c8edf6a50068a05bde70991e36b1e881f4ca54\u241f1647282246509919852:MM"]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.hours\u241f3bbce5fef7e1151da052a4e529453edb340e3912\u241f8070396816726827304:Hours"]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.HH\u241fce676ab1d6d98f85c836381cf100a4a91ef95a1f\u241f4043638465245303811:HH"]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@ngb.progressbar.value\u241ff8e9a947b9db4252c0e9905765338712f2fd032f\u241f3720830768741091151:",":INTERPOLATION:"]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last-aria\u241f5c729788ba138508aca1bec050b610f7bf81db3e\u241f4882268002141858767:Last"]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next-aria\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous-aria\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first-aria\u241ff2f852318759c6396b5d3d17031d53817d7b38cc\u241f2241508602425256033:First"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last\u241f49f27a460bc97e7e00be5b37098bfa79884fc7d9\u241f5277020320267646988:\xbb\xbb"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next\u241fba9cbb4ff311464308a3627e4f1c3345d9fe6d7d\u241f5458177150283468089:\xbb"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous\u241f6e52b6ee77a4848d899dd21b591c6fd499e3aef3\u241f6479320895410098858:\xab"]);return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first\u241f656506dfd46380956a655f919f1498d018f75ca0\u241f6867721956102594380:\xab\xab"]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@ngb.carousel.next\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@ngb.carousel.previous\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@ngb.alert.close\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _defineProperty2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray2(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},"4+EV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";t.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",i]},t.faTimes=t.definition,t.prefix="fas",t.iconName="times",t.width=352,t.height=512,t.ligatures=r,t.unicode="f00d",t.svgPathData=i},IRq2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z";t.definition={prefix:"fas",iconName:"chevron-left",icon:[320,512,r,"f053",i]},t.faChevronLeft=t.definition,t.prefix="fas",t.iconName="chevron-left",t.width=320,t.height=512,t.ligatures=r,t.unicode="f053",t.svgPathData=i},"g0/r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z";t.definition={prefix:"fas",iconName:"external-link-alt",icon:[512,512,r,"f35d",i]},t.faExternalLinkAlt=t.definition,t.prefix="fas",t.iconName="external-link-alt",t.width=512,t.height=512,t.ligatures=r,t.unicode="f35d",t.svgPathData=i},muhD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z";t.definition={prefix:"fas",iconName:"chevron-right",icon:[320,512,r,"f054",i]},t.faChevronRight=t.definition,t.prefix="fas",t.iconName="chevron-right",t.width=320,t.height=512,t.ligatures=r,t.unicode="f054",t.svgPathData=i},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);var i=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout((function(){throw e}),0)}var s={closed:!0,next:function(e){},error:function(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},c=Array.isArray||function(e){return e&&"number"==typeof e.length};function l(e){return null!==e&&"object"==typeof e}var u,h=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),f=((u=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a<n.length;++a)n[a].remove(this);if(r(i))try{i.call(this)}catch(p){t=p instanceof h?d(p.errors):[p]}if(c(o))for(var s=-1,u=o.length;++s<u;){var f=o[s];if(l(f))try{f.unsubscribe()}catch(p){t=t||[],p instanceof h?t=t.concat(d(p.errors)):t.push(p)}}if(t)throw new h(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new u),u);function d(e){return e.reduce((function(e,t){return e.concat(t instanceof h?t.errors:t)}),[])}var p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;switch(_classCallCheck(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s;break;case 1:if(!e){o.destination=s;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(_assertThisInitialized(o))):(o.syncErrorThrowable=!0,o.destination=new v(_assertThisInitialized(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new v(_assertThisInitialized(o),e,r,i)}return o}return _createClass(n,[{key:p,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(f),v=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var c,l;_classCallCheck(this,n),(c=t.call(this))._parentSubscriber=e;var u=_assertThisInitialized(c);return r(i)?l=i:i&&(l=i.next,o=i.error,a=i.complete,i!==s&&(r((u=Object.create(i)).unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(_assertThisInitialized(c)))),c._context=u,c._next=l,c._error=o,c._complete=a,c}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=o.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;a(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;a(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(a(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(g),m="function"==typeof Symbol&&Symbol.observable||"@@observable";function _(e){return e}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(t)}function C(e){return 0===e.length?_:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var b,k=((b=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(s)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof g?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=w(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:m,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:C(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=w(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),e}()).create=function(e){return new b(e)},b);function w(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var P,O=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),M=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return _createClass(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(f),S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).destination=e,r}return n}(g),T=((P=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:p,value:function(){return new S(this)}},{key:"lift",value:function(e){var t=new x(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new O;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new O;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new O;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new O;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new O;return this.hasError?(e.error(this.thrownError),f.EMPTY):this.isStopped?(e.complete(),f.EMPTY):(this.observers.push(e),new M(this,e))}},{key:"asObservable",value:function(){var e=new k;return e.source=this,e}}]),n}(k)).create=function(e,t){return new x(e,t)},P),x=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).destination=e,i.source=r,i}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):f.EMPTY}}]),n}(T);function A(e){return e&&"function"==typeof e.schedule}var E=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this)).parent=e,o.outerValue=r,o.outerIndex=i,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(g),I=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};var N="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",R=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function D(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var G=function(e){if(e&&"function"==typeof e[m])return r=e,function(e){var t=r[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(R(e))return I(e);if(D(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[N])return t=e,function(e){for(var n=t[N]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,i=l(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(i," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function L(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new E(e,n,r);if(!i.closed)return t instanceof k?t.subscribe(i):G(t)(i)}var H=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(g);function V(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new F(e,t))}}var F=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new B(e,this.project,this.thisArg))}}]),e}(),B=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.count=0,o.thisArg=i||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(g);function j(e,t){return new k((function(n){var r=new f,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function z(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new k((function(n){var r=new f;return r.add(t.schedule((function(){var i=e[m]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(D(e))return function(e,t){return new k((function(n){var r=new f;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(R(e))return j(e,t);if(function(e){return e&&"function"==typeof e[N]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k((function(n){var r,i=new f;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[N](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof k?e:new k(G(e))}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(U((function(n,r){return z(e(n,r)).pipe(V((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new W(e,n))})}var W=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new q(e,this.project,this.concurrent))}}]),e}(),q=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new E(this,t,n),i=this.destination;i.add(r);var o=L(this,e,void 0,void 0,r);o!==r&&i.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(H);function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return U(_,e)}function K(e,t){return t?j(e,t):new k(I(e))}function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Number.POSITIVE_INFINITY,i=null,o=t[t.length-1];return A(o)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof o&&(r=t.pop()),null===i&&1===t.length&&t[0]instanceof k?t[0]:X(r)(K(t,i))}function Z(){return function(e){return e.lift(new $(e))}}var Y,$=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new J(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(g),ee={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new f).add(this.source.subscribe(new te(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.EMPTY)),e}},{key:"refCount",value:function(){return Z()(this)}}]),n}(k).prototype)._subscribe},_isComplete:{value:Y._isComplete,writable:!0},getSubject:{value:Y.getSubject},connect:{value:Y.connect},refCount:{value:Y.refCount}},te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(S);function ne(){return new T}function re(e){return{toString:e}.toString()}function ie(e,t,n){return re((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=_construct(i,t);return a.annotation=o,a;function a(e,t,n){for(var r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}var oe=ie("Inject",(function(e){return{token:e}})),ae=ie("Optional"),se=ie("Self"),ce=ie("SkipSelf"),le=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function ue(e){for(var t in e)if(e[t]===ue)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function pe(e){return ge(e,e[me])||ge(e,e[Ce])}function ge(e,t){return t&&t.token===e?t:null}function ve(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(be))?e[_e]:null}var me=ue({"\u0275prov":ue}),_e=ue({"\u0275inj":ue}),ye=ue({"\u0275provFallback":ue}),Ce=ue({ngInjectableDef:ue}),be=ue({ngInjectorDef:ue});function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function we(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Pe=ue({__forward_ref__:ue});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return ke(this())},e}function Me(e){return Se(e)?e():e}function Se(e){return"function"==typeof e&&e.hasOwnProperty(Pe)&&e.__forward_ref__===Oe}var Te,xe="undefined"!=typeof globalThis&&globalThis,Ae="undefined"!=typeof window&&window,Ee="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ie="undefined"!=typeof global&&global,Ne=xe||Ie||Ae||Ee,Re=ue({"\u0275cmp":ue}),De=ue({"\u0275dir":ue}),Ge=ue({"\u0275pipe":ue}),Le=ue({"\u0275mod":ue}),He=ue({"\u0275loc":ue}),Ve=ue({"\u0275fac":ue}),Fe=ue({__NG_ELEMENT_ID__:ue}),Be=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=fe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),je=new Be("INJECTOR",-1),ze={},Ue=/\n/gm,We=ue({provide:String,useValue:ue}),qe=void 0;function Xe(e){var t=qe;return qe=e,t}function Ke(e){var t=Te;return Te=e,t}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;if(void 0===qe)throw new Error("inject() must be called from an injection context");return null===qe?$e(e,void 0,t):qe.get(e,t&le.Optional?null:void 0,t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;return(Te||Qe)(Me(e),t)}var Ye=Ze;function $e(e,t,n){var r=pe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&le.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(ke(e),"]"))}function Je(e){for(var t=[],n=0;n<e.length;n++){var r=Me(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=le.Default,a=0;a<r.length;a++){var s=r[a];s instanceof ae||"Optional"===s.ngMetadataName||s===ae?o|=le.Optional:s instanceof ce||"SkipSelf"===s.ngMetadataName||s===ce?o|=le.SkipSelf:s instanceof se||"Self"===s.ngMetadataName||s===se?o|=le.Self:i=s instanceof oe||s===oe?s.token:s}t.push(Ze(i,o))}else t.push(Ze(r))}return t}var et=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze;if(t===ze){var n=new Error("NullInjectorError: No provider for ".concat(ke(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),tt=function e(){_classCallCheck(this,e)},nt=function e(){_classCallCheck(this,e)};function rt(e,t){e.forEach((function(e){return Array.isArray(e)?rt(e,t):t(e)}))}function it(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ot(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function at(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function st(e,t,n){var r=lt(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function ct(e,t){var n=lt(e,t);if(n>=0)return e[1|n]}function lt(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var ut=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ht=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ft={},dt=[],pt=0;function gt(e){return re((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.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:e.changeDetection===ut.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ht.Emulated,id:"c",styles:e.styles||dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=pt++,i.inputs=Ct(e.inputs,r),i.outputs=Ct(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(vt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(mt)}:null,i}))}function vt(e){return kt(e)||function(e){return e[De]||null}(e)}function mt(e){return function(e){return e[Ge]||null}(e)}var _t={};function yt(e){var t={type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&re((function(){_t[e.id]=e.type})),t}function Ct(e,t){if(null==e)return ft;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var bt=gt;function kt(e){return e[Re]||null}function wt(e,t){return e.hasOwnProperty(Ve)?e[Ve]:null}function Pt(e,t){var n=e[Le]||null;if(!n&&!0===t)throw new Error("Type ".concat(ke(e)," does not have '\u0275mod' property."));return n}function Ot(e){return Array.isArray(e)&&"object"==typeof e[1]}function Mt(e){return Array.isArray(e)&&!0===e[1]}function St(e){return 0!=(8&e.flags)}function Tt(e){return 2==(2&e.flags)}function xt(e){return 1==(1&e.flags)}function At(e){return null!==e.template}function Et(e){return 0!=(512&e[2])}var It=void 0;function Nt(){return void 0!==It?It:"undefined"!=typeof document?document:void 0}function Rt(e){return!!e.listen}var Dt={createRenderer:function(e,t){return Nt()}};function Gt(e){for(;Array.isArray(e);)e=e[0];return e}function Lt(e,t){return Gt(t[e+20])}function Ht(e,t){return Gt(t[e.index])}function Vt(e,t){return e.data[t+20]}function Ft(e,t){return e[t+20]}function Bt(e,t){var n=t[e];return Ot(n)?n:n[0]}function jt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function zt(e){return 4==(4&e[2])}function Ut(e){return 128==(128&e[2])}function Wt(e,t){return null===e||null==t?null:e[t]}function qt(e){e[18]=0}function Xt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var Kt={lFrame:mn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Qt(){return Kt.bindingsEnabled}function Zt(){return Kt.lFrame.lView}function Yt(){return Kt.lFrame.tView}function $t(e){Kt.lFrame.contextLView=e}function Jt(){return Kt.lFrame.previousOrParentTNode}function en(e,t){Kt.lFrame.previousOrParentTNode=e,Kt.lFrame.isParent=t}function tn(){return Kt.lFrame.isParent}function nn(){Kt.lFrame.isParent=!1}function rn(){return Kt.checkNoChangesMode}function on(e){Kt.checkNoChangesMode=e}function an(){var e=Kt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sn(){return Kt.lFrame.bindingIndex++}function cn(e){var t=Kt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ln(e,t){var n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=e,un(t)}function un(e){Kt.lFrame.currentDirectiveIndex=e}function hn(e){var t=Kt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function fn(){return Kt.lFrame.currentQueryIndex}function dn(e){Kt.lFrame.currentQueryIndex=e}function pn(e,t){var n=vn();Kt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function gn(e,t){var n=vn(),r=e[1];Kt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function vn(){var e=Kt.lFrame,t=null===e?null:e.child;return null===t?mn(e):t}function mn(e){var t={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:e,child:null};return null!==e&&(e.child=t),t}function _n(){var e=Kt.lFrame;return Kt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var yn=_n;function Cn(){var e=_n();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function bn(){return Kt.lFrame.selectedIndex}function kn(e){Kt.lFrame.selectedIndex=e}function wn(){var e=Kt.lFrame;return Vt(e.tView,e.selectedIndex)}function Pn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n];i.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,i.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,i.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i.onDestroy)}}function On(e,t,n){Tn(e,t,3,n)}function Mn(e,t,n,r){(3&e[2])===n&&Tn(e,t,n,r)}function Sn(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Tn(e,t,n,r){for(var i=null!=r?r:-1,o=0,a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(xn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function xn(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var An=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function En(e,t,n){for(var r=Rt(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],c=n[i++];r?e.setAttribute(t,s,c,a):t.setAttributeNS(a,s,c)}else{var l=o,u=n[++i];Nn(l)?r&&e.setProperty(t,l,u):r?e.setAttribute(t,l,u):t.setAttribute(l,u),i++}}return i}function In(e){return 3===e||4===e||6===e}function Nn(e){return 64===e.charCodeAt(0)}function Rn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||Dn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Dn(e,t,n,r,i){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Gn(e){return-1!==e}function Ln(e){return 32767&e}function Hn(e){return e>>16}function Vn(e,t){for(var n=Hn(e),r=t;n>0;)r=r[15],n--;return r}function Fn(e){return"string"==typeof e?e:null==e?"":""+e}function Bn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Fn(e)}var jn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ne);function zn(e){return{name:"window",target:e.ownerDocument.defaultView}}function Un(e){return e instanceof Function?e():e}var Wn=!0;function qn(e){var t=Wn;return Wn=e,t}var Xn=0;function Kn(e,t){var n=Zn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Qn(r.data,e),Qn(t,null),Qn(r.blueprint,null));var i=Yn(e,t),o=e.injectorIndex;if(Gn(i))for(var a=Ln(i),s=Vn(i,t),c=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|c[a+l];return t[o+8]=i,o}function Qn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Yn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function $n(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Fe]:n.charCodeAt(0)||0;null==r&&(r=n[Fe]=Xn++);var i=255&r,o=1<<i,a=64&i,s=32&i,c=t.data;128&i?a?s?c[e+7]|=o:c[e+6]|=o:s?c[e+5]|=o:c[e+4]|=o:a?s?c[e+3]|=o:c[e+2]|=o:s?c[e+1]|=o:c[e]|=o}(e,t,n)}function Jn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:le.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Fe];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){pn(t,e);try{var a=o();if(null!=a||r&le.Optional)return a;throw new Error("No provider for ".concat(Bn(n),"!"))}finally{yn()}}else if("number"==typeof o){if(-1===o)return new ar(e,t);var s=null,c=Zn(e,t),l=-1,u=r&le.Host?t[16][6]:null;for((-1===c||r&le.SkipSelf)&&(l=-1===c?Yn(e,t):t[c+8],or(r,!1)?(s=t[1],c=Ln(l),t=Vn(l,t)):c=-1);-1!==c;){l=t[c+8];var h=t[1];if(ir(o,c,h.data)){var f=tr(c,t,n,s,r,u);if(f!==er)return f}or(r,t[1].data[c+8]===u)&&ir(o,c,t)?(s=h,c=Ln(l),t=Vn(l,t)):c=-1}}}if(r&le.Optional&&void 0===i&&(i=null),0==(r&(le.Self|le.Host))){var d=t[9],p=Ke(void 0);try{return d?d.get(n,i,r&le.Optional):$e(n,i,r&le.Optional)}finally{Ke(p)}}if(r&le.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(Bn(n),"]"))}var er={};function tr(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],c=nr(s,a,n,null==r?Tt(s)&&Wn:r!=a&&3===s.type,i&le.Host&&o===s);return null!==c?rr(t,a,c,s):er}function nr(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,c=e.directiveStart,l=o>>16,u=i?s+l:e.directiveEnd,h=r?s:s+l;h<u;h++){var f=a[h];if(h<c&&n===f||h>=c&&f.type===n)return h}if(i){var d=a[c];if(d&&At(d)&&d.type===n)return c}return null}function rr(e,t,n,r){var i=e[n],o=t.data;if(i instanceof An){var a=i;if(a.resolving)throw new Error("Circular dep for "+Bn(o[n]));var s,c=qn(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=Ke(a.injectImpl)),pn(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&Ke(s),qn(c),a.resolving=!1,yn()}}return i}function ir(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function or(e,t){return!(e&le.Self||e&le.Host&&t)}var ar=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return Jn(this._tNode,this._lView,e,void 0,t)}}]),e}();function sr(e){var t=e;if(Se(e))return function(){var e=sr(Me(t));return e?e():null};var n=wt(t);if(null===n){var r=ve(t);n=r&&r.factory}return n||null}function cr(e){return re((function(){for(var t=e.prototype.constructor,n=t[Ve]||sr(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[Ve]||sr(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}}))}function lr(e){return e.ngDebugContext}function ur(e){return e.ngOriginalError}function hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var fr=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||hr}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?lr(e)?lr(e):this._findContext(ur(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=ur(e);t&&ur(t);)t=ur(t);return t}}]),e}(),dr=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),pr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(dr),gr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(dr),vr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(dr),mr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(dr),_r=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(dr);function yr(e){return e instanceof dr?e.changingThisBreaksApplicationSecurity:e}function Cr(e,t){var n=br(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function br(e){return e instanceof dr&&e.getTypeName()||null}var kr=!0,wr=!1;function Pr(){return wr=!0,kr}var Or=function(){function e(t){_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r),n=this.inertDocument.createElement("body"),r.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),Mr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Sr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Tr(e){return(e=String(e)).match(Mr)||e.match(Sr)?e:(Pr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function xr(e){var t,n={},r=_createForOfIteratorHelper(e.split(","));try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(i){r.e(i)}finally{r.f()}return n}function Ar(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var Er,Ir=xr("area,br,col,hr,img,wbr"),Nr=xr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rr=xr("rp,rt"),Dr=Ar(Rr,Nr),Gr=Ar(Ir,Ar(Nr,xr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ar(Rr,xr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Dr),Lr=xr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hr=xr("srcset"),Vr=Ar(Lr,Hr,xr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Fr=xr("script,style,template"),Br=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!Gr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Fr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),a=o.name,s=a.toLowerCase();if(Vr.hasOwnProperty(s)){var c=o.value;Lr[s]&&(c=Tr(c)),Hr[s]&&(n=c,c=(n=String(n)).split(",").map((function(e){return Tr(e.trim())})).join(", ")),this.buf.push(" ",a,'="',Ur(c),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Gr.hasOwnProperty(t)&&!Ir.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Ur(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),jr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zr=/([^\#-~ |!])/g;function Ur(e){return e.replace(/&/g,"&amp;").replace(jr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(zr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Wr(e,t){var n=null;try{Er=Er||new Or(e);var r=t?String(t):"";n=Er.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Er.getInertBodyElement(r)}while(r!==o);var a=new Br,s=a.sanitizeChildren(qr(n)||n);return Pr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=qr(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function qr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Kr=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"),Qr=/^url\(([^)]+)\)$/;function Zr(e){if(!(e=String(e).trim()))return"";var t=e.match(Qr);return t&&Tr(t[1])===t[1]||e.match(Kr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(Pr()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function Yr(e){var t=ri();return t?t.sanitize(Xr.HTML,e)||"":Cr(e,"HTML")?yr(e):Wr(Nt(),Fn(e))}function $r(e){var t=ri();return t?t.sanitize(Xr.STYLE,e)||"":Cr(e,"Style")?yr(e):Zr(Fn(e))}function Jr(e){var t=ri();return t?t.sanitize(Xr.URL,e)||"":Cr(e,"URL")?yr(e):Tr(Fn(e))}function ei(e){var t=ri();if(t)return t.sanitize(Xr.RESOURCE_URL,e)||"";if(Cr(e,"ResourceURL"))return yr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var ti=function(e,t,n){if(void 0===t&&void 0===n)return $r(e);var r=!0;return 1&(n=n||3)&&(r=ni(e)),2&n?r?$r(t):yr(t):r};function ni(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function ri(){var e=Zt();return e&&e[12]}function ii(e,t){e.__ngContext__=t}function oi(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ai(){throw new Error("Cannot mix multi providers and regular providers")}function si(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function ci(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==si((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function li(e){return 0===e.type&&"ng-template"!==e.tagName}function ui(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function hi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(In(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var c=t[s];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!ui(e,c,n)||""===c&&1===t.length){if(fi(r))return!1;a=!0}}else{var l=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!ci(e.attrs,l,n)){if(fi(r))return!1;a=!0}continue}var u=di(8&r?"class":c,i,li(e),n);if(-1===u){if(fi(r))return!1;a=!0;continue}if(""!==l){var h;h=u>o?"":i[u+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==si(f,l,0)||2&r&&l!==h){if(fi(r))return!1;a=!0}}}}else{if(!a&&!fi(r)&&!fi(c))return!1;if(a&&fi(c))continue;a=!1,r=c|1&r}}return fi(r)||a}function fi(e){return 0==(1&e)}function di(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function pi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(hi(e,t[r],n))return!0;return!1}function gi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function vi(e,t){return e?":not("+t.trim()+")":t}function mi(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||fi(a)||(t+=vi(o,i),i=""),r=a,o=o||!fi(r);n++}return""!==i&&(t+=vi(o,i)),t}var _i={};function yi(e){var t=e[3];return Mt(t)?t[3]:t}function Ci(e){return ki(e[13])}function bi(e){return ki(e[4])}function ki(e){for(;null!==e&&!Mt(e);)e=e[4];return e}function wi(e){Pi(Yt(),Zt(),bn()+e,rn())}function Pi(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&On(t,i,n)}else{var o=e.preOrderHooks;null!==o&&Mn(t,o,0,n)}kn(n)}function Oi(e,t){return e<<17|t<<2}function Mi(e){return e>>17&32767}function Si(e){return 2|e}function Ti(e){return(131068&e)>>2}function xi(e,t){return-131069&e|t<<2}function Ai(e){return 1|e}function Ei(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var a=e.data[o];dn(i),a.contentQueries(2,t[o],o)}}}function Ii(e,t,n){return Rt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ni(e,t,n,r,i,o,a,s,c,l){var u=t.blueprint.slice();return u[0]=i,u[2]=140|r,qt(u),u[3]=u[15]=e,u[8]=n,u[10]=a||e&&e[10],u[11]=s||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function Ri(e,t,n,r,i,o){var a=n+20,s=e.data[a]||function(e,t,n,r,i,o){var a=Jt(),s=tn(),c=s?a:a&&a.parent,l=e.data[n]=Ui(0,c&&c!==t?c:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=l),a&&(!s||null!=a.child||null===l.parent&&2!==a.type?s||(a.next=l):a.child=l),l}(e,t,a,r,i,o);return en(s,!0),s}function Di(e,t,n){gn(t,t[6]);try{var r=e.viewQuery;null!==r&&fo(1,r,n);var i=e.template;null!==i&&Hi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ei(e,t),e.staticViewQueries&&fo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)so(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,Cn()}}function Gi(e,t,n,r){var i=t[2];if(256!=(256&i)){gn(t,t[6]);var o=rn();try{qt(t),Kt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Hi(e,t,n,2,r);var a=3==(3&i);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&On(t,s,null)}else{var c=e.preOrderHooks;null!==c&&Mn(t,c,0,null),Sn(t,0)}if(function(e){for(var t=Ci(e);null!==t;t=bi(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r],o=i[3];0==(1024&i[2])&&Xt(o,1),i[2]|=1024}}(t),function(e){for(var t=Ci(e);null!==t;t=bi(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Ut(r)&&Gi(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Ei(e,t),!o)if(a){var l=e.contentCheckHooks;null!==l&&On(t,l)}else{var u=e.contentHooks;null!==u&&Mn(t,u,1),Sn(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,i=-1,o=0;o<n.length;o++){var a=n[o];"number"==typeof a?a<=0?(kn(0-a),i=r+=9+n[++o]):r+=a:(null!==a&&(ln(r,i),a(2,t[i])),i++)}}finally{kn(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)ao(e,t[n])}(t,h);var f=e.viewQuery;if(null!==f&&fo(2,f,r),!o)if(a){var d=e.viewCheckHooks;null!==d&&On(t,d)}else{var p=e.viewHooks;null!==p&&Mn(t,p,2),Sn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Xt(t[3],-1))}finally{Cn()}}}function Li(e,t,n,r){var i=t[10],o=!rn(),a=zt(t);try{o&&!a&&i.begin&&i.begin(),a&&Di(e,t,r),Gi(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function Hi(e,t,n,r,i){var o=bn();try{kn(-1),2&r&&t.length>20&&Pi(e,t,0,rn()),n(r,i)}finally{kn(o)}}function Vi(e,t,n){if(St(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function Fi(e,t,n){Qt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Kn(n,t),ii(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var c=e.data[s],l=At(c);l&&no(t,n,c);var u=rr(t,e,s,n);ii(u,t),null!==a&&ro(0,s-i,u,c,0,a),l&&(Bt(n.index,t)[8]=u)}}(e,t,n,Ht(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,c=Kt.lFrame.currentDirectiveIndex;try{kn(s);for(var l=r;l<i;l++){var u=e.data[l],h=t[l];un(l),null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs?Zi(u,h):a&&o.push(null)}}finally{kn(-1),un(c)}}(e,t,n))}function Bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ht,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function ji(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=zi(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function zi(e,t,n,r,i,o,a,s,c,l){var u=20+r,h=u+i,f=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:_i);return n}(u,h);return f[1]={type:e,id:t,blueprint:f,template:n,queries:null,viewQuery:s,node:null,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:l,incompleteFirstPass:!1}}function Ui(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wi(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function qi(e,t,n,r,i,o,a,s){var c,l,u=Ht(t,n),h=t.inputs;!s&&null!=h&&(c=h[r])?(yo(e,n,c,r,i),Tt(t)&&function(e,t){var n=Bt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=a?a(i,t.tagName||"",r):i,Rt(o)?o.setProperty(u,r,i):Nn(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function Xi(e,t,n,r){var i=!1;if(Qt()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];pi(n,a.selectors,!1)&&(i||(i=[]),$n(Kn(n,t),e,a.type),At(a)?(2&n.flags&&oi(n),$i(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){var s=0;i=!0,eo(n,e.data.length,o.length);for(var c=0;c<o.length;c++){var l=o[c];l.providersResolver&&l.providersResolver(l)}Yi(e,n,o.length);for(var u=!1,h=!1,f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=Rn(n.mergedAttrs,d.hostAttrs),to(e,t,d),Ji(e.data.length-1,d,a),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128),!u&&(d.onChanges||d.onInit||d.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),u=!0),h||!d.onChanges&&!d.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),h=!0),Ki(e,d),s+=d.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],a=null,s=null,c=t.directiveStart;c<n;c++){var l=r[c],u=l.inputs,h=null===i||li(t)?null:io(u,i);o.push(h),a=Wi(u,c,a),s=Wi(l.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n),Qi(e,t,s)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,a)}return n.mergedAttrs=Rn(n.mergedAttrs,n.attrs),i}function Ki(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Qi(e,t,n){for(var r=0;r<n;r++)t.push(_i),e.blueprint.push(_i),e.data.push(null)}function Zi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Yi(e,t,n){var r=20-t.index,i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function $i(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ji(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;At(t)&&(n[""]=e)}}function eo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function to(e,t,n){e.data.push(n);var r=n.factory||(n.factory=wt(n.type)),i=new An(r,At(n),null);e.blueprint.push(i),t.push(i)}function no(e,t,n){var r=Ht(t,e),i=ji(n),o=e[10],a=co(e,Ni(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=a}function ro(e,t,n,r,i,o){var a=o[t];if(null!==a)for(var s=r.setInput,c=0;c<a.length;){var l=a[c++],u=a[c++],h=a[c++];null!==s?r.setInput(n,h,l,u):n[u]=h}}function io(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function oo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function ao(e,t){var n=Bt(t,e);if(Ut(n)){var r=n[1];80&n[2]?Gi(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=Ci(t);null!==n;n=bi(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];Gi(o,i,o.template,i[8])}else i[5]>0&&e(i)}var a=t[1].components;if(null!==a)for(var s=0;s<a.length;s++){var c=Bt(a[s],t);Ut(c)&&c[5]>0&&e(c)}}(n)}}function so(e,t){var n=Bt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Di(r,n,n[8])}function co(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function lo(e){for(;e;){e[2]|=64;var t=yi(e);if(Et(e)&&!t)return e;e=t}return null}function uo(e,t,n){var r=t[10];r.begin&&r.begin();try{Gi(e,t,e.template,n)}catch(i){throw _o(t,i),i}finally{r.end&&r.end()}}function ho(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=jt(n),i=r[1];Li(i,r,i.template,n)}}(e[8])}function fo(e,t,n){dn(0),t(e,n)}var po=Promise.resolve(null);function go(e){return e[7]||(e[7]=[])}function vo(e){return e.cleanup||(e.cleanup=[])}function mo(e,t,n){return(null===e||At(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function _o(e,t){var n=e[9],r=n?n.get(fr,null):null;r&&r.handleError(t)}function yo(e,t,n,r,i){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],c=t[a],l=e.data[a];null!==l.setInput?l.setInput(c,i,r,s):c[s]=i}}function Co(e,t){var n=t[3];return-1===e.index?Mt(n)?n:null:n}function bo(e,t){var n=Co(e,t);return n?No(t[11],n[7]):null}function ko(e,t,n,r,i){if(null!=r){var o,a=!1;Mt(r)?o=r:Ot(r)&&(a=!0,r=r[0]);var s=Gt(r);0===e&&null!==n?null==i?Eo(t,n,s):Ao(t,n,s,i||null):1===e&&null!==n?Ao(t,n,s,i||null):2===e?function(e,t,n){var r=No(e,t);r&&function(e,t,n,r){Rt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==Gt(n)&&ko(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];Ho(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function wo(e,t,n,r){var i=bo(e.node,t);i&&Ho(e,t,t[11],n?1:2,i,r)}function Po(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&Xt(t[3],-1),n.splice(r,1)}function Oo(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&Po(i,r),t>0&&(e[n-1][4]=r[4]);var o=ot(e,10+t);wo(r[1],r,!1,null);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Mo(e,t){if(!(256&t[2])){var n=t[11];Rt(n)&&n.destroyNode&&Ho(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return To(e[1],e);for(;t;){var n=null;if(Ot(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ot(t)&&To(t[1],t),t=So(t,e);null===t&&(t=e),Ot(t)&&To(t[1],t),n=t&&t[4]}t=n}}(t)}}function So(e,t){var n;return Ot(e)&&(n=e[6])&&2===n.type?Co(n,e):e[3]===t?null:e[3]}function To(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof An)){var o=n[r+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(i[o[a]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],a="function"==typeof o?o(t):Gt(t[o]),s=r[n[i+2]],c=n[i+3];"boolean"==typeof c?a.removeEventListener(n[i],s,c):c>=0?r[c]():r[-c].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Rt(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Mt(t[3])){r!==t[3]&&Po(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function xo(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?bo(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ht(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==ht.ShadowDom&&a!==ht.Native)return null}return Ht(r,n)}function Ao(e,t,n,r){Rt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Eo(e,t,n){Rt(e)?e.appendChild(t,n):t.appendChild(n)}function Io(e,t,n,r){null!==r?Ao(e,t,n,r):Eo(e,t,n)}function No(e,t){return Rt(e)?e.parentNode(t):t.parentNode}function Ro(e,t){if(2===e.type){var n=Co(e,t);return null===n?null:Go(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Ht(e,t):null}function Do(e,t,n,r){var i=xo(e,r,t);if(null!=i){var o=t[11],a=Ro(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)Io(o,i,n[s],a);else Io(o,i,n,a)}}function Go(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){var r=n.type;if(3===r)return Ht(n,t);if(0===r)return Go(-1,t[n.index]);if(4===r||5===r){var i=n.child;if(null!==i)return e(t,i);var o=t[n.index];return Mt(o)?Go(-1,o):Gt(o)}var a=t[16],s=a[6],c=yi(a),l=s.projection[n.projection];return null!=l?e(c,l):e(t,n.next)}return null}(r,i)}return t[7]}function Lo(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],c=n.type;a&&0===t&&(s&&ii(Gt(s),r),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(Lo(e,t,n.child,r,i,o,!1),ko(t,e,i,s,o)):1===c?Vo(e,t,r,n,i,o):ko(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function Ho(e,t,n,r,i,o){Lo(n,r,e.node.child,t,i,o,!1)}function Vo(e,t,n,r,i,o){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)ko(t,e,i,s[c],o);else Lo(e,t,s,a[3],i,o,!0)}function Fo(e,t,n){Rt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Bo(e,t,n){Rt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var jo,zo,Uo,Wo=function(){function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return _createClass(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Mo(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,go(n=this._lView).push(r),t.firstCreatePass&&vo(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){lo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){uo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){on(!0);try{uo(e,t,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Ho(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var a=n[r.index];if(null!==a&&i.push(Gt(a)),Mt(a))for(var s=10;s<a.length;s++){var c=a[s],l=c[1].firstChild;null!==l&&e(c[1],c,l,i)}var u=r.type;if(4===u||5===u)e(t,n,r.child,i);else if(1===u){var h=n[16],f=h[6].projection[r.projection];if(Array.isArray(f))i.push.apply(i,_toConsumableArray(f));else{var d=yi(h);e(d[1],d,f,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),qo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e))._view=e,r}return _createClass(n,[{key:"detectChanges",value:function(){ho(this._view)}},{key:"checkNoChanges",value:function(){!function(e){on(!0);try{ho(e)}finally{on(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Wo);function Xo(e,t,n){return jo||(jo=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(e)),new jo(Ht(t,n))}function Ko(e,t,n,r){return zo||(zo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationView=e,o._declarationTContainer=r,o.elementRef=i,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ni(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Di(t,n,e),new Wo(n)}}]),n}(e)),0===n.type?new zo(r,n,Xo(t,n,r)):null}function Qo(e,t,n,r){var i;Uo||(Uo=function(e){_inherits(r,e);var n=_createSuper(r);function r(e,t,i){var o;return _classCallCheck(this,r),(o=n.call(this))._lContainer=e,o._hostTNode=t,o._hostView=i,o}return _createClass(r,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(tt,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Mt(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new Uo(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],it(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),wo(r,n,!0,Go(s,this._lContainer)),e.attachToViewContainerRef(this),it(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=Oo(e,t);n&&Mo(n[1],n)}(this._lContainer,t),ot(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=Oo(this._lContainer,t);return n&&null!=ot(this._lContainer[8],t)?new Wo(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Xo(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new ar(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Yn(this._hostTNode,this._hostView),t=Vn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=Hn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return Gn(e)&&null!=n?new ar(n,t):new ar(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(Mt(o))i=o;else{var a;if(4===n.type)a=Gt(o);else if(a=r[11].createComment(""),Et(r)){var s=r[11],c=Ht(n,r);Ao(s,No(s,c),a,function(e,t){return Rt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else Do(r[1],r,a,n);r[n.index]=i=oo(o,r,a,n),co(r,i)}return new Uo(i,n,r)}function Zo(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Tt(e)){var r=Bt(e.index,t);return new Wo(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Wo(t[16],t):null}(Jt(),Zt(),e)}var Yo=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return $o()},e}(),$o=Zo,Jo=new Be("Set Injector scope."),ea={},ta={},na=[],ra=void 0;function ia(){return void 0===ra&&(ra=new et),ra}function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new aa(e,n,t||ia(),r)}var aa=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&rt(n,(function(e){return i.processProvider(e,t,n)})),rt([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(je,la(void 0,this));var s=this.records.get(Jo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:ke(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;this.assertNotDestroyed();var r,i=Xe(this);try{if(!(n&le.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Be)&&pe(e);o=a&&this.injectableDefInScope(a)?la(sa(e),ea):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&le.Self?ia():this.parent).get(e,t=n&le.Optional&&t===ze?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ke(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=ke(t);if(Array.isArray(t))i=t.map(ke).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):ke(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Ue,"\n  "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Xe(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(ke(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=Me(e)))return!1;var i=ve(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=ve(o)),null==i)return!1;if(null!=i.imports&&!s){var c;n.push(a);try{rt(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,i=t.providers;rt(i,(function(e){return r.processProvider(e,n,i||na)}))},u=0;u<c.length;u++)l(u)}this.injectorDefTypes.add(a),this.records.set(a,la(i.factory,ea));var h=i.providers;if(null!=h&&!s){var f=e;rt(h,(function(e){return r.processProvider(e,f,h)}))}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=ha(e=Me(e))?e:Me(e&&e.provide),i=function(e,t,n){return ua(e)?la(void 0,e.useValue):la(ca(e,t,n),ea)}(e,t,n);if(ha(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&ai()}else{var a=this.records.get(r);a?void 0===a.multi&&ai():((a=la(void 0,ea,!0)).factory=function(){return Je(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===ta?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ke(e)):t.value===ea&&(t.value=ta,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function sa(e){var t=pe(e),n=null!==t?t.factory:wt(e);if(null!==n)return n;var r=ve(e);if(null!==r)return r.factory;if(e instanceof Be)throw new Error("Token ".concat(ke(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=at(t,"?");throw new Error("Can't resolve all parameters for ".concat(ke(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[me]||e[Ce]||e[ye]&&e[ye]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ca(e,t,n){var r,i=void 0;if(ha(e)){var o=Me(e);return wt(o)||sa(o)}if(ua(e))i=function(){return Me(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(Je(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return Ze(Me(e.useExisting))};else{var a=Me(e&&(e.useClass||e.provide));if(a||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(ke(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return wt(a)||sa(a);i=function(){return _construct(a,_toConsumableArray(Je(e.deps)))}}return i}function la(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function ua(e){return null!==e&&"object"==typeof e&&We in e}function ha(e){return"function"==typeof e}var fa=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=oa(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},da=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?fa(e,t,""):fa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ze,e.NULL=new et,e.\u0275prov=fe({token:e,providedIn:"any",factory:function(){return Ze(je)}}),e.__NG_ELEMENT_ID__=-1,e}(),pa=new Be("AnalyzeForEntryComponents"),ga=new Map,va=new Set;function ma(e){return"string"==typeof e?e:e.text()}function _a(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?i=we(i,s):2==o&&(r=we(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var ya=null;function Ca(){if(!ya){var e=Ne.Symbol;if(e&&e.iterator)ya=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ya=r)}}return ya}function ba(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var ka=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function wa(e){return!!Pa(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ca()in e)}function Pa(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Oa(e,t,n){return e[t]=n}function Ma(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Sa(e,t,n,r){var i=Zt();return Ma(i,sn(),t)&&(Yt(),function(e,t,n,r,i,o){var a=Ht(e,t),s=t[11];if(null==r)Rt(s)?s.removeAttribute(a,n,o):a.removeAttribute(n);else{var c=null==i?Fn(r):i(r,e.tagName||"",n);Rt(s)?s.setAttribute(a,n,c,o):o?a.setAttributeNS(o,n,c):a.setAttribute(n,c)}}(wn(),i,e,t,n,r)),Sa}function Ta(e,t,n,r,i,o,a,s){var c=Zt(),l=Yt(),u=e+20,h=l.firstCreatePass?function(e,t,n,r,i,o,a,s,c){var l=t.consts,u=Ri(t,n[6],e,0,a||null,Wt(l,s));Xi(t,n,u,Wt(l,c)),Pn(t,u);var h=u.tViews=zi(2,-1,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),f=Ui(0,null,2,-1,null,null);return f.injectorIndex=u.injectorIndex,h.node=f,null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,r,i,o,a):l.data[u];en(h,!1);var f=c[11].createComment("");Do(l,c,f,h),ii(f,c),co(c,c[u]=oo(f,c,f,h)),xt(h)&&Fi(l,c,h),null!=a&&Bi(c,h,s)}function xa(e){return Ft(Kt.lFrame.contextLView,e)}function Aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default,n=Zt();return null==n?Ze(e,t):Jn(Jt(),n,Me(e),t)}function Ea(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(In(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(Jt(),e)}function Ia(){throw new Error("invalid")}function Na(e,t,n){var r=Zt();return Ma(r,sn(),t)&&qi(Yt(),wn(),r,e,t,r[11],n,!1),Na}function Ra(e,t,n,r,i){var o=i?"class":"style";yo(e,n,t.inputs[o],o,r)}function Da(e,t,n,r){var i=Zt(),o=Yt(),a=20+e,s=i[11],c=i[a]=Ii(t,s,Kt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,c=Wt(s,o),l=Ri(t,n[6],e,3,i,c);return Xi(t,n,l,Wt(s,a)),null!==l.attrs&&_a(l,l.attrs,!1),null!==l.mergedAttrs&&_a(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,i,0,t,n,r):o.data[a];en(l,!0);var u=l.mergedAttrs;null!==u&&En(s,c,u);var h=l.classes;null!==h&&Bo(s,c,h);var f=l.styles;null!==f&&Fo(s,c,f),Do(o,i,c,l),0===Kt.lFrame.elementDepthCount&&ii(c,i),Kt.lFrame.elementDepthCount++,xt(l)&&(Fi(o,i,l),Vi(o,l,i)),null!==r&&Bi(i,l)}function Ga(){var e=Jt();tn()?nn():en(e=e.parent,!1);var t=e;Kt.lFrame.elementDepthCount--;var n=Yt();n.firstCreatePass&&(Pn(n,e),St(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ra(n,t,Zt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ra(n,t,Zt(),t.stylesWithoutHost,!1)}function La(e,t,n,r){Da(e,t,n,r),Ga()}function Ha(e,t,n){var r=Zt(),i=Yt(),o=e+20,a=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,a=Wt(o,r),s=Ri(t,n[6],e,4,"ng-container",a);return null!==a&&_a(s,a,!0),Xi(t,n,s,Wt(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[o];en(a,!0);var s=r[o]=r[11].createComment("");Do(i,r,s,a),ii(s,r),xt(a)&&(Fi(i,r,a),Vi(i,a,r)),null!=n&&Bi(r,a)}function Va(){var e=Jt(),t=Yt();tn()?nn():en(e=e.parent,!1),t.firstCreatePass&&(Pn(t,e),St(e)&&t.queries.elementEnd(e))}function Fa(){return Zt()}function Ba(e){return!!e&&"function"==typeof e.then}function ja(e){return!!e&&"function"==typeof e.subscribe}function za(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Zt(),o=Yt(),a=Jt();return Wa(o,i,i[11],a,e,t,n,r),za}function Ua(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Jt(),o=Zt(),a=Yt();return Wa(a,o,mo(hn(a.data),i,o),i,e,t,n,r),Ua}function Wa(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=xt(r),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=go(t),h=!0;if(3===r.type){var f=Ht(r,t),d=s?s(f):ft,p=d.target||f,g=u.length,v=s?function(e){return s(Gt(e[r.index])).target}:r.index;if(Rt(n)){var m=null;if(!s&&c&&(m=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var a=i[o];if(a===n&&i[o+1]===r){var s=t[7],c=i[o+2];return s.length>c?s[c]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=Xa(r,t,o,!1);var _=n.listen(d.name||p,i,o);u.push(o,_),l&&l.push(i,v,g,g+1)}}else o=Xa(r,t,o,!0),p.addEventListener(i,o,a),u.push(o),l&&l.push(i,v,g,a)}var y,C=r.outputs;if(h&&null!==C&&(y=C[i])){var b=y.length;if(b)for(var k=0;k<b;k+=2){var w=t[y[k]][y[k+1]].subscribe(o),P=u.length;u.push(o,w),l&&l.push(i,r.index,P,-(P+1))}}}function qa(e,t,n){try{return!1!==t(n)}catch(r){return _o(e,r),!1}}function Xa(e,t,n,r){return function i(o){if(o===Function)return n;var a=2&e.flags?Bt(e.index,t):t;0==(32&t[2])&&lo(a);for(var s=qa(t,n,o),c=i.__ngNextListenerFn__;c;)s=qa(t,c,o)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function Ka(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Kt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Kt.lFrame.contextLView))[8]}(e)}function Qa(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?pi(e,o,!0):gi(r,o))return i}else n=i}return n}function Za(e){var t=Zt()[16][6];if(!t.projection)for(var n=t.projection=at(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Qa(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function Ya(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Zt(),i=Yt(),o=Ri(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),nn(),function(e,t,n){Vo(t[11],0,t,n,xo(e,n,t),Ro(n.parent||t[6],t))}(i,r,o)}var $a=[];function Ja(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?Mi(o):Ti(o),c=!1;0!==s&&(!1===c||a);){var l=e[s+1];es(e[s],t)&&(c=!0,e[s+1]=r?Ai(l):Si(l)),s=r?Mi(l):Ti(l)}c&&(e[n+1]=r?Si(o):Ai(o))}function es(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&lt(e,t)>=0}var ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ns(e){return e.substring(ts.key,ts.keyEnd)}function rs(e){return e.substring(ts.value,ts.valueEnd)}function is(e,t){var n=ts.textEnd;return n===t?-1:(t=ts.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ts.key=t,n),ss(e,t,n))}function os(e,t){var n=ts.textEnd,r=ts.key=ss(e,t,n);return n===r?-1:(r=ts.keyEnd=function(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90);)t++;return t}(e,r,n),r=cs(e,r,n),r=ts.value=ss(e,r,n),r=ts.valueEnd=function(e,t,n){for(var r=-1,i=-1,o=-1,a=t,s=a;a<n;){var c=e.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=ls(e,c,a,n):t===a-4&&85===o&&82===i&&76===r&&40===c?s=a=ls(e,41,a,n):c>32&&(s=a),o=i,i=r,r=-33&c}return s}(e,r,n),cs(e,r,n))}function as(e){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=e.length}function ss(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cs(e,t,n,r){return(t=ss(e,t,n))<n&&t++,t}function ls(e,t,n,r){for(var i=-1,o=n;o<r;){var a=e.charCodeAt(o++);if(a==t&&92!==i)return o;i=92==a&&92===i?0:a}throw new Error}function us(e,t,n){return gs(e,t,n,!1),us}function hs(e,t){return gs(e,t,null,!0),hs}function fs(e,t){for(var n=function(e){return as(e),os(e,ss(e,0,ts.textEnd))}(t);n>=0;n=os(t,n))bs(e,ns(t),rs(t))}function ds(e){vs(st,ps,e,!0)}function ps(e,t){for(var n=function(e){return as(e),is(e,ss(e,0,ts.textEnd))}(t);n>=0;n=is(t,n))st(e,ns(t),!0)}function gs(e,t,n,r){var i,o,a=Zt(),s=Yt(),c=cn(2);(s.firstUpdatePass&&_s(s,e,c,r),t!==_i&&Ma(a,c,t))&&(null==n&&(i=null===(o=Kt.lFrame)?null:o.currentSanitizer)&&(n=i),ks(s,s.data[bn()+20],a,a[11],e,a[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=ke(yr(e)))),e}(t,n),r,c))}function vs(e,t,n,r){var i=Yt(),o=cn(2);i.firstUpdatePass&&_s(i,null,o,r);var a=Zt();if(n!==_i&&Ma(a,o,n)){var s=i.data[bn()+20];if(Os(s,r)&&!ms(i,o)){var c=r?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=we(c,n||"")),Ra(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===_i&&(i=$a);for(var c=0,l=0,u=0<i.length?i[0]:null,h=0<o.length?o[0]:null;null!==u||null!==h;){var f=c<i.length?i[c+1]:void 0,d=l<o.length?o[l+1]:void 0,p=null,g=void 0;u===h?(c+=2,l+=2,f!==d&&(p=h,g=d)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,g=d),null!==p&&ks(e,t,n,r,p,g,a,s),u=c<i.length?i[c]:null,h=l<o.length?o[l]:null}}(i,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return $a;var r=[],i=yr(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function ms(e,t){return t>=e.expandoStartIndex}function _s(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[bn()+20],a=ms(e,n);Os(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=hn(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Cs(n=ys(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=ys(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==Ti(r))return e[Mi(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[Mi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=Cs(s=ys(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=Cs(r,e[o].hostAttrs,n);return Cs(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var a=o?t.classBindings:t.styleBindings,s=Mi(a),c=Ti(a);e[r]=n;var l,u=!1;if(Array.isArray(n)){var h=n;(null===(l=h[1])||lt(h,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){var f=Mi(e[s+1]);e[r+1]=Oi(f,s),0!==f&&(e[f+1]=xi(e[f+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Oi(s,0),0!==s&&(e[s+1]=xi(e[s+1],r)),s=r;else e[r+1]=Oi(c,0),0===s?s=r:e[c+1]=xi(e[c+1],r),c=r;u&&(e[r+1]=Si(e[r+1])),Ja(e,l,r,!0),Ja(e,l,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&lt(o,t)>=0&&(n[r+1]=Ai(n[r+1]))}(t,l,e,r,o),a=Oi(s,c),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function ys(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=Cs(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function Cs(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),st(e,a,!!n||t[++o]))}return void 0===e?null:e}function bs(e,t,n){ni(t)&&(n=$r(n)),st(e,t,n)}function ks(e,t,n,r,i,o,a,s){if(3===t.type){var c=e.data,l=c[s+1];Ps(1==(1&l)?ws(c,t,n,i,Ti(l),a):void 0)||(Ps(o)||2==(2&l)&&(o=ws(c,null,n,i,s,a)),function(e,t,n,r,i){var o=Rt(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var a=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,a):n.style.removeProperty(r):o?e.setStyle(n,r,i,a):n.style.setProperty(r,i)}}(r,a,Lt(bn(),n),i,o))}}function ws(e,t,n,r,i,o){for(var a=null===t,s=void 0;i>0;){var c=e[i],l=Array.isArray(c),u=l?c[1]:c,h=null===u,f=n[i+1];f===_i&&(f=h?$a:void 0);var d=h?ct(f,r):u===r?f:void 0;if(l&&!Ps(d)&&(d=ct(c,r)),Ps(d)&&(s=d,a))return s;var p=e[i+1];i=a?Mi(p):Ti(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=ct(g,r))}return s}function Ps(e){return void 0!==e}function Os(e,t){return 0!=(e.flags&(t?16:32))}function Ms(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Zt(),r=Yt(),i=e+20,o=r.firstCreatePass?Ri(r,n[6],e,3,null,null):r.data[i],a=n[i]=function(e,t){return Rt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Do(r,n,a,o),en(o,!1)}function Ss(e){return Ts("",e,""),Ss}function Ts(e,t,n){var r=Zt(),i=function(e,t,n,r){return Ma(e,sn(),n)?t+Fn(n)+r:_i}(r,e,t,n);return i!==_i&&function(e,t,n){var r=Lt(t,e),i=e[11];Rt(i)?i.setValue(r,n):r.textContent=n}(r,bn(),i),Ts}function xs(e,t,n){var r=Zt();return Ma(r,sn(),t)&&qi(Yt(),wn(),r,e,t,r[11],n,!0),xs}function As(e,t,n){var r=Zt();if(Ma(r,sn(),t)){var i=Yt(),o=wn();qi(i,o,r,e,t,mo(hn(i.data),o,r),n,!0)}return As}function Es(e,t){var n=jt(e)[1],r=n.data.length-1;Pn(n,{directiveStart:r,directiveEnd:r+1})}function Is(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(At(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=Ns(e.inputs),o.declaredInputs=Ns(e.declaredInputs),o.outputs=Ns(e.outputs);var a=i.hostBindings;a&&Gs(e,a);var s=i.viewQuery,c=i.contentQueries;if(s&&Rs(e,s),c&&Ds(e,c),he(e.inputs,i.inputs),he(e.declaredInputs,i.declaredInputs),he(e.outputs,i.outputs),At(i)&&i.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var u=i.features;if(u)for(var h=0;h<u.length;h++){var f=u[h];f&&f.ngInherit&&f(e),f===Is&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Rn(i.hostAttrs,n=Rn(n,i.hostAttrs))}}(r)}function Ns(e){return e===ft?{}:e===dt?[]:e}function Rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Ds(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Gs(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Ls=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Hs(e){e.type.prototype.ngOnChanges&&(e.setInput=Vs,e.onChanges=function(){var e=Fs(this),t=e&&e.current;if(t){var n=e.previous;if(n===ft)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function Vs(e,t,n,r){var i=Fs(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ft,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],c=a[s];o[s]=new Ls(c&&c.currentValue,t,a===ft),e[r]=t}function Fs(e){return e.__ngSimpleChanges__||null}function Bs(e,t,n,r,i){if(e=Me(e),Array.isArray(e))for(var o=0;o<e.length;o++)Bs(e[o],t,n,r,i);else{var a=Yt(),s=Zt(),c=ha(e)?e:Me(e.provide),l=ca(e),u=Jt(),h=65535&u.providerIndexes,f=u.directiveStart,d=u.providerIndexes>>16;if(ha(e)||!e.multi){var p=new An(l,i,Aa),g=Us(c,t,i?h:h+d,f);-1===g?($n(Kn(u,s),a,c),js(a,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=Us(c,t,h+d,f),m=Us(c,t,h,h+d),_=v>=0&&n[v],y=m>=0&&n[m];if(i&&!y||!i&&!_){$n(Kn(u,s),a,c);var C=function(e,t,n,r,i){var o=new An(e,n,Aa);return o.multi=[],o.index=t,o.componentProviders=0,zs(o,i,r&&!n),o}(i?qs:Ws,n.length,i,r,l);!i&&y&&(n[m].providerFactory=C),js(a,e,t.length,0),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(C),s.push(C)}else js(a,e,v>-1?v:m,zs(n[i?m:v],l,!i&&r));!i&&r&&y&&n[m].componentProviders++}}}function js(e,t,n,r){var i=ha(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function zs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Us(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Ws(e,t,n,r){return Xs(this.multi,[])}function qs(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=rr(n,n[1],this.providerFactory.index,r);Xs(o,i=s.slice(0,a));for(var c=a;c<s.length;c++)i.push(s[c])}else Xs(o,i=[]);return i}function Xs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ks(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=Yt();if(r.firstCreatePass){var i=At(e);Bs(n,r.data,r.blueprint,i,!0),Bs(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}Hs.ngInherit=!0;var Qs=function e(){_classCallCheck(this,e)},Zs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(ke(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Ys=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Zs,e}(),$s=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Js(e)},e}(),Js=function(e){return Xo(e,Jt(),Zt())},ec=function e(){_classCallCheck(this,e)},tc=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),nc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return rc()},e}(),rc=function(){var e=Zt(),t=Bt(Jt().index,e);return function(e){var t=e[11];if(Rt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ot(t)?t:e)},ic=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return null}}),e}(),oc=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},ac=new oc("9.1.12"),sc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return wa(e)}},{key:"create",value:function(e){return new lc(e)}}]),e}(),cc=function(e,t){return t},lc=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||cc}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<dc(n,r,i)?t:n,a=dc(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var c=a-r,l=s-r;if(c!=l){for(var u=0;u<c;u++){var h=u<i.length?i[u]:i[u]=0,f=h+u;l<=f&&f<c&&(i[u]=h+1)}i[o.previousIndex]=l-c}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!wa(e))throw new Error("Error trying to diff '".concat(ke(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],i=this._trackByFn(s,r),null!==o&&ba(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),ba(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[Ca()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&ba(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),ba(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ba(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ba(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new uc(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fc),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),uc=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},hc=function(){function e(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ba(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),fc=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new hc,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function dc(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var pc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||Pa(e)}},{key:"create",value:function(){return new gc}}]),e}(),gc=function(){function e(){_classCallCheck(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Pa(e)))throw new Error("Error trying to diff '".concat(ke(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new vc(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){ba(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),vc=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},mc=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}}]),e}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new sc])}}),e}(),_c=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}}]),e}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new pc])}}),e}(),yc=[new pc],Cc=new mc([new sc]),bc=new _c(yc),kc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return wc(e,$s)},e}(),wc=function(e,t){return Ko(e,t,Jt(),Zt())},Pc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Oc(e,$s)},e}(),Oc=function(e,t){return Qo(e,t,Jt(),Zt())},Mc={},Sc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).ngModule=e,r}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=kt(e);return new Ac(t,this.ngModule)}}]),n}(Ys);function Tc(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var xc=new Be("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return jn}}),Ac=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(mi).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return _createClass(n,[{key:"create",value:function(e,t,n,r){var i,o,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Mc,i);return o!==Mc||r===Mc?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(ec,Dt),c=a.get(ic,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Rt(e))return e.selectRootElement(t,n===ht.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Ii(u,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),f=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),p={components:[],scheduler:jn,clean:po,playerHandler:null,flags:0},g=zi(0,-1,null,1,0,null,null,null,null,null),v=Ni(null,g,p,f,null,null,s,l,c,a);gn(v,null);try{var m=function(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=Ri(a,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(_a(s,c,!0),null!==e&&(En(i,e,c),null!==s.classes&&Bo(i,e,s.classes),null!==s.styles&&Fo(i,e,s.styles)));var l=r.createRenderer(e,t),u=Ni(n,ji(t),null,t.onPush?64:16,n[20],s,r,l,void 0);return a.firstCreatePass&&($n(Kn(s,n),a,t.type),$i(a,s),eo(s,n.length,1)),co(n,u),n[20]=u}(h,this.componentDef,v,s,l);if(h)if(n)En(l,h,["ng-version",ac.full]);else{var _=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!fi(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=_.attrs,C=_.classes;y&&En(l,h,y),C&&C.length>0&&Bo(l,h,C.join(" "))}if(o=Vt(g,0),void 0!==t)for(var b=o.projection=[],k=0;k<this.ngContentSelectors.length;k++){var w=t[k];b.push(null!=w?Array.from(w):null)}i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=Jt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yi(e,r,1),to(e,t,n));var i=rr(t,e,t.length-1,r);ii(i,t);var o=Ht(r,t);return o&&ii(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=Jt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){kn(s.index-20);var c=n[1];Ki(c,t),Qi(c,n,t.hostVars),Zi(t,a)}return a}(m,this.componentDef,v,p,[Es]),Di(g,v,null)}finally{Cn()}var P=new Ec(this.componentType,i,Xo($s,o,v),v,o);return n&&!d||(g.node.child=o),P}},{key:"inputs",get:function(){return Tc(this.componentDef.inputs)}},{key:"outputs",get:function(){return Tc(this.componentDef.outputs)}}]),n}(Qs),Ec=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s,c,l,u;return _classCallCheck(this,n),(s=t.call(this)).location=i,s._rootLView=o,s._tNode=a,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new qo(o),c=o[1],l=o,null==(u=c.node)&&(c.node=u=Ui(0,null,2,-1,null,null)),l[6]=u,s.componentType=e,s}return _createClass(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new ar(this._tNode,this._rootLView)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),Ic=void 0,Nc=["en",[["a","p"],["AM","PM"],Ic],[["AM","PM"],Ic,Ic],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ic,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ic,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ic,"{1} 'at' {0}",Ic],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Rc={};function Dc(e){return e in Rc||(Rc[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),Rc[e]}var Gc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function Lc(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var Hc=new Map,Vc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;_classCallCheck(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Sc(_assertThisInitialized(i));var o=Pt(e),a=e[He]||null;return a&&Lc(a),i._bootstrapComponents=Un(o.bootstrap),i._r3Injector=oa(e,r,[{provide:tt,useValue:_assertThisInitialized(i)},{provide:Ys,useValue:i.componentFactoryResolver}],ke(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:da.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;return e===da||e===tt||e===je?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(tt),Fc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).moduleType=e,null!==Pt(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(ke(t)," vs ").concat(ke(t.name)))})(n,Hc.get(n),t),Hc.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return _createClass(n,[{key:"create",value:function(e){return new Vc(this.moduleType,e)}}]),n}(nt);function Bc(e,t){var n=e[t];return n===_i?void 0:n}function jc(e,t){var n,r=Yt(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=wt(n.type)),a=Ke(Aa),s=qn(!1),c=o();return qn(s),Ke(a),function(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(r,Zt(),e,c),c}function zc(e,t,n){var r=Zt(),i=Ft(r,e);return function(e,t){return ka.isWrapped(t)&&(t=ka.unwrap(t),e[Kt.lFrame.bindingIndex]=_i),t}(r,function(e,t){return e[1].data[t+20].pure}(r,e)?function(e,t,n,r,i,o){var a=t+n;return Ma(e,a,i)?Oa(e,a+1,o?r.call(o,i):r(i)):Bc(e,a+1)}(r,an(),t,i.transform,n,i):i.transform(n))}var Uc=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){return null},a=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&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var s=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,i,o,a);return e instanceof f&&e.add(s),s}}]),n}(T);function Wc(){return this._results[Ca()]()}var qc=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Uc,this.length=0;var t=Ca(),n=e.prototype;n[t]||(n[t]=Wc)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Xc=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Kc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==ll(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Qc=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Zc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),Yc=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,$c(t,n[r]));else{var i=this.metadata.predicate;i===kc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,nr(t,e,i,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===$s||r===Pc||r===kc&&0===t.type)this.addMatch(t.index,-2);else{var i=nr(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function $c(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Jc(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Xo($s,e,t):0===e.type?Ko(kc,$s,e,t):null}(t,e):-2===n?function(e,t,n){return n===$s?Xo($s,t,e):n===kc?Ko(kc,$s,t,e):n===Pc?Qo(Pc,$s,t,e):void 0}(e,t,r):rr(e,e[1],n,t)}function el(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,a=n.matches,s=[],c=0;c<a.length;c+=2){var l=a[c];s.push(l<0?null:Jc(t,o[l],a[c+1],n.metadata.read))}i.matches=s}return i.matches}function tl(e){var t=Zt(),n=Yt(),r=fn();dn(r+1);var i=ll(n,r);if(e.dirty&&zt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),a=o.matches;if(null!==a)for(var s=el(t,n,o,r),c=0;c<a.length;c+=2){var l=a[c];if(l>0)i.push(s[c/2]);else{for(var u=a[c+1],h=n[-l],f=10;f<h.length;f++){var d=h[f];d[17]===d[3]&&e(d[1],d,u,i)}if(null!==h[9])for(var p=h[9],g=0;g<p.length;g++){var v=p[g];e(v[1],v,u,i)}}}return i}(n,t,r,[]):el(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function nl(e,t,n){il(Yt(),Zt(),e,t,n,!0)}function rl(e,t,n){il(Yt(),Zt(),e,t,n,!1)}function il(e,t,n,r,i,o){e.firstCreatePass&&(cl(e,new Qc(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),sl(e,t)}function ol(e,t,n,r){!function(e,t,n,r,i,o,a,s){e.firstCreatePass&&(cl(e,new Qc(n,r,!1,i),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s)),sl(e,t)}(Yt(),Zt(),t,n,r,0,Jt(),e)}function al(){return e=Zt(),t=fn(),e[19].queries[t].queryList;var e,t}function sl(e,t){var n=new qc;!function(e,t,n,r){var i=go(t);i.push(n),e.firstCreatePass&&vo(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Kc),t[19].queries.push(new Xc(n))}function cl(e,t,n){null===e.queries&&(e.queries=new Zc),e.queries.track(new Yc(t,n))}function ll(e,t){return e.queries.getByIndex(t)}function ul(e,t){return Ko(kc,$s,e,t)}var hl=new Be("Application Initializer"),fl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Ba(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ze(hl,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),dl=new Be("AppId"),pl={provide:dl,useFactory:function(){return"".concat(gl()).concat(gl()).concat(gl())},deps:[]};function gl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var vl=new Be("Platform Initializer"),ml=new Be("Platform ID"),_l=new Be("appBootstrapListener"),yl=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Cl=new Be("LocaleId"),bl=new Be("DefaultCurrencyCode"),kl=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},wl=function(e){return new Fc(e)},Pl=wl,Ol=function(e){return Promise.resolve(wl(e))},Ml=function(e){var t=wl(e),n=Un(Pt(e).declarations).reduce((function(e,t){var n=kt(t);return n&&e.push(new Ac(n)),e}),[]);return new kl(t,n)},Sl=Ml,Tl=function(e){return Promise.resolve(Ml(e))},xl=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=Pl,this.compileModuleAsync=Ol,this.compileModuleAndAllComponentsSync=Sl,this.compileModuleAndAllComponentsAsync=Tl}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Al=new Be("compilerOptions"),El=Promise.resolve(0);function Il(e){"undefined"==typeof Zone?El.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Nl=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Uc(!1),this.onMicrotaskEmpty=new Uc(!1),this.onStable=new Uc(!1),this.onError=new Uc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=Ne.requestAnimationFrame,t=Ne.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ne,(function(){e.lastRequestAnimationFrameId=-1,Ll(e),Gl(e)})),Ll(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,a,s){try{return Hl(n),e.invokeTask(i,o,a,s)}finally{r&&"eventTask"===o.type&&r(),Vl(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return Hl(n),e.invoke(r,i,o,a,s)}finally{Vl(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Ll(n),Gl(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular((function(){return n.onError.emit(i)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Dl,Rl,Rl);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Rl(){}var Dl={};function Gl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Ll(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Hl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vl(e){e._nesting--,Gl(e)}var Fl,Bl=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uc,this.onMicrotaskEmpty=new Uc,this.onStable=new Uc,this.onError=new Uc}return _createClass(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),jl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return _createClass(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Nl.assertNotInAngularZone(),Il((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Il((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,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(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ze(Nl))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),zl=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Ul.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ul.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Ul=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Wl=function(e,t,n){var r=e.get(Al,[]).concat(t),i=new Fc(n);if(0===ga.size)return Promise.resolve(i);var o,a,s=(o=r.map((function(e){return e.providers})),a=[],o.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===s.length)return Promise.resolve(i);var c=function(){var e=Ne.ng;if(!e||!e.\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 e.\u0275compilerFacade}(),l=da.create({providers:s}).get(c.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(l.get(e))}(e);n.set(e,t=r.then(ma))}return t}return ga.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(i).then((function(){return function(e){va.delete(e)}(n)}));t.push(c)})),ga=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},ql=new Be("AllowMultipleToken"),Xl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Kl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new Be(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ql();if(!o||o.injector.get(ql,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Jo,useValue:"platform"});!function(e){if(Fl&&!Fl.destroyed&&!Fl.injector.get(ql,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fl=e.get(Zl);var t=e.get(vl,null);t&&t.forEach((function(e){return e()}))}(da.create({providers:a,name:r}))}return function(e){var t=Ql();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Ql(){return Fl&&!Fl.destroyed?Fl:null}var Zl=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Bl:("zone.js"===n?void 0:n)||new Nl({enableLongStackTrace:Pr(),shouldCoalesceEventChangeDetection:r})),a=[{provide:Nl,useValue:o}];return o.run((function(){var t=da.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(fr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return eu(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(fl)).runInitializers(),a.donePromise.then((function(){return Lc(n.injector.get(Cl,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Ba(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Yl({},n);return Wl(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Jl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(ke(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ze(da))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function Yl(e,t){return Array.isArray(t)?t.reduce(Yl,e):Object.assign(Object.assign({},e),t)}var $l,Jl=(($l=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var c=new k((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),l=new k((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Nl.assertNotInAngularZone(),Il((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Nl.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Q(c,l.pipe((function(e){return Z()((t=ne,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ee);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return _createClass(e,[{key:"bootstrap",value:function(e,t){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=e instanceof Qs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(tt),o=n.create(da.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(jl,null);return a&&o.injector.get(zl).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Pr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(o){n.e(o)}finally{n.f()}if(this._enforceNoNewChanges){var r,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(r=i.n()).done;)r.value.checkNoChanges()}catch(o){i.e(o)}finally{i.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;eu(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(_l,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),eu(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||$l)(Ze(Nl),Ze(yl),Ze(da),Ze(fr),Ze(Ys),Ze(fl))},$l.\u0275prov=fe({token:$l,factory:$l.\u0275fac}),$l);function eu(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var tu=function e(){_classCallCheck(this,e)},nu=function e(){_classCallCheck(this,e)},ru={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},iu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||ru}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,r=_slicedToArray2(e.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("zn8P")(i).then((function(e){return e[o]})).then((function(e){return ou(e,i,o)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray2(e.split("#"),2),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+o]})).then((function(e){return ou(e,r,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ze(xl),Ze(nu,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function ou(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var au=Kl(null,"core",[{provide:ml,useValue:"unknown"},{provide:Zl,deps:[da]},{provide:zl,deps:[]},{provide:yl,deps:[]}]),su=[{provide:Jl,useClass:Jl,deps:[Nl,yl,da,fr,Ys,fl]},{provide:xc,deps:[Nl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:fl,useClass:fl,deps:[[new ae,hl]]},{provide:xl,useClass:xl,deps:[]},pl,{provide:mc,useFactory:function(){return Cc},deps:[]},{provide:_c,useFactory:function(){return bc},deps:[]},{provide:Cl,useFactory:function(e){return Lc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(Cl),new ae,new ce]]},{provide:bl,useValue:"USD"}],cu=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=yt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ze(Jl))},providers:su}),e}(),lu=encodeURIComponent("https://sforce.co/AWSPark"),uu={production:!0,url:"http://awssf.sparks-staging.com/aws/",links:{facebook:"https://www.facebook.com/sharer/sharer.php?u="+lu,twitter:"https://twitter.com/intent/tweet?text="+encodeURIComponent("Check it out! I just completed the new @salesforce and @awscloud virtual adventure full of innovations in AI, Voice, and Productivity. You can discover your own fastest path from #ideatoimpact too. sforce.co/AWSPark"),linkedIn:"https://www.linkedin.com/shareArticle?url=".concat(lu,"&summary=").concat(encodeURIComponent("The world around us has changed and you\u2019ve got to be ready. @Salesforce and @Amazon Web Services (AWS) built a virtual adventure full of ideas for you to innovate and thrive. Discover your own fastest path from idea to impact at sforce.co/AWSPark"))},bulletinPdf:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/government-cloud-plus-datasheet.pdf",stockThreshold:50,products:["Astro_plushie","Camper_mug","Force_bottle"],showVideoCtaBars:!1,showVideoCtaOverlays:!0,disableScrubbing:!1,videos:{AstroContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A2+AWS+SERVICE+CLOUD+CUSTOMER+INTERVIEW_SUBTITLES.mp4",background:"assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos",analyticsLabel:"AstroContent"},PhoneboothContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A1+AWS+SERVICE+CLOUD+DEMO_SUBTITLES_FINAL.mp4",background:"assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos",analyticsLabel:"PhoneboothContent",ctas:[{start:85,end:99}]},FireContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A3+AWS+PRIVATE+CONNECT+BENEFIT+SESSION_SUBTITLES.mp4",background:"assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos",analyticsLabel:"FireContent"},RangerContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A5+AWS+PUBLIC+SECTOR+FIRESIDE+CHAT_V04+SUBTITLES.mp4",background:"assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos",analyticsLabel:"RangerContent"},SummitContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A6_GOVERNMENT+SUMMIT_SUBTITLES_FINAL.mp4",background:"assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos",analyticsLabel:"SummitContent",ctas:[{start:217,end:227},{start:324,end:337}]},TentContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A4+AWS+PRIVATE+CONNECT+DEMO_SUBTITLES.mp4",background:"assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos",analyticsLabel:"Other"}},debug:{showPrizeSelectOnLoad:!1,showFormOnLoad:!1,showConfirmationOnLoad:!1,showRequestMeetingOnLoad:!1,showBulletinOnLoad:!1,showVideoOnLoad:!1,autofillForm:!1}},hu=null;function fu(){return hu}var du,pu=new Be("DocumentToken"),gu=((du=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||du)},du.\u0275prov=fe({factory:vu,token:du,providedIn:"platform"}),du);function vu(){return Ze(yu)}var mu,_u=new Be("Location Initialized"),yu=((mu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._init(),r}return _createClass(n,[{key:"_init",value:function(){this.location=fu().getLocation(),this._history=fu().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return fu().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){fu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){fu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){Cu()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){Cu()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(gu)).\u0275fac=function(e){return new(e||mu)(Ze(pu))},mu.\u0275prov=fe({factory:bu,token:mu,providedIn:"platform"}),mu);function Cu(){return!!window.history.pushState}function bu(){return new yu(Ze(pu))}function ku(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function wu(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Pu(e){return e&&"?"!==e[0]?"?"+e:e}var Ou,Mu=((Ou=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ou)},Ou.\u0275prov=fe({factory:Su,token:Ou,providedIn:"root"}),Ou);function Su(e){var t=Ze(pu).location;return new Iu(Ze(gu),t&&t.origin||"")}var Tu,xu,Au,Eu=new Be("appBaseHref"),Iu=((Au=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;if(_classCallCheck(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,_possibleConstructorReturn(i)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return ku(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+Pu(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Pu(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Pu(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Mu)).\u0275fac=function(e){return new(e||Au)(Ze(gu),Ze(Eu,8))},Au.\u0275prov=fe({token:Au,factory:Au.\u0275fac}),Au),Nu=((xu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=ku(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Pu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Pu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Mu)).\u0275fac=function(e){return new(e||xu)(Ze(gu),Ze(Eu,8))},xu.\u0275prov=fe({token:xu,factory:xu.\u0275fac}),xu),Ru=((Tu=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new Uc,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=wu(Gu(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+Pu(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Gu(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pu(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pu(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||Tu)(Ze(Mu),Ze(gu))},Tu.normalizeQueryParams=Pu,Tu.joinWithSlash=ku,Tu.stripTrailingSlash=wu,Tu.\u0275prov=fe({factory:Du,token:Tu,providedIn:"root"}),Tu);function Du(){return new Ru(Ze(Mu),Ze(gu))}function Gu(e){return e.replace(/\/index.html$/,"")}var Lu,Hu=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Vu=function e(){_classCallCheck(this,e)},Fu=((Lu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).locale=e,r}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Dc(t);if(n)return n;var r=t.split("-")[0];if(n=Dc(r))return n;if("en"===r)return Nc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Gc.PluralCase]}(t||this.locale)(e)){case Hu.Zero:return"zero";case Hu.One:return"one";case Hu.Two:return"two";case Hu.Few:return"few";case Hu.Many:return"many";default:return"other"}}}]),n}(Vu)).\u0275fac=function(e){return new(e||Lu)(Ze(Cl))},Lu.\u0275prov=fe({token:Lu,factory:Lu.\u0275fac}),Lu);function Bu(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=_slicedToArray2(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],c=a[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(l){r.e(l)}finally{r.f()}return null}var ju,zu,Uu=function(){function e(t,n,r,i){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Wu=((ju=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Uu(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new qu(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var c=new qu(e,s);n.push(c)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var a=this._viewContainer.get(i);a.context.index=i,a.context.count=o,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Pr()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||ju)(Aa(Pc),Aa(kc),Aa(mc))},ju.\u0275dir=bt({type:ju,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),ju),qu=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},Xu=((zu=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new Ku,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(e,[{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}},{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){Qu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Qu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||zu)(Aa(Pc),Aa(kc))},zu.\u0275dir=bt({type:zu,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),zu),Ku=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function Qu(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(ke(t),"'."))}var Zu,Yu,$u,Ju,eh=((Zu=function(){function e(t){_classCallCheck(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var r,i=_createForOfIteratorHelper(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(-1===t.indexOf(o))return!0}}catch(a){i.e(a)}finally{i.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}}]),e}()).\u0275fac=function(e){return new(e||Zu)(Aa(Pc))},Zu.\u0275dir=bt({type:Zu,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Hs]}),Zu),th=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),nh=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),rh=new th,ih=((Ju=function(){function e(t){_classCallCheck(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):ba(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,ka.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(Ba(t))return nh;if(ja(t))return rh;throw Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(ke(e),"'"))}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}()).\u0275fac=function(e){return new(e||Ju)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le.Default,t=Zo(!0);if(null!=t||e&le.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},Ju.\u0275pipe={type:($u={name:"async",type:Ju,pure:!1}).type,name:$u.name,factory:null,pure:!1!==$u.pure,onDestroy:$u.type.prototype.ngOnDestroy||null},Ju),oh=((Yu=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Yu}),Yu.\u0275inj=de({factory:function(e){return new(e||Yu)},providers:[{provide:Vu,useClass:Fu}]}),Yu);function ah(e){return"browser"===e}var sh,ch,lh,uh,hh,fh=((sh=function e(){_classCallCheck(this,e)}).\u0275prov=fe({token:sh,providedIn:"root",factory:function(){return new dh(Ze(pu),window,Ze(fr))}}),sh),dh=function(){function e(t,n,r){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}]),e}(),ph=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=gh||(gh=document.querySelector("base"))?gh.getAttribute("href"):null;return null==n?null:(t=n,ch||(ch=document.createElement("a")),ch.setAttribute("href",t),"/"===ch.pathname.charAt(0)?ch.pathname:"/"+ch.pathname)}},{key:"resetBaseElement",value:function(){gh=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Bu(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,hu||(hu=e)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(function(){return function e(){_classCallCheck(this,e)}}())),gh=null,vh=new Be("TRANSITION_ID"),mh=[{provide:hl,useFactory:function(e,t,n){return function(){n.get(fl).donePromise.then((function(){var n=fu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[vh,pu,da],multi:!0}],_h=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){Ne.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ne.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ne.getAllAngularRootElements=function(){return e.getAllRootElements()},Ne.frameworkStabilizers||(Ne.frameworkStabilizers=[]),Ne.frameworkStabilizers.push((function(e){var t=Ne.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?fu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Ul=t}}]),e}(),yh=new Be("EventManagerPlugins"),Ch=((lh=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)}}]),e}()).\u0275fac=function(e){return new(e||lh)(Ze(yh),Ze(Nl))},lh.\u0275prov=fe({token:lh,factory:lh.\u0275fac}),lh),bh=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=fu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),kh=((hh=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}()).\u0275fac=function(e){return new(e||hh)},hh.\u0275prov=fe({token:hh,factory:hh.\u0275fac}),hh),wh=((uh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return _createClass(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return fu().remove(e)}))}}]),n}(kh)).\u0275fac=function(e){return new(e||uh)(Ze(pu))},uh.\u0275prov=fe({token:uh,factory:uh.\u0275fac}),uh),Ph={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Oh=/%COMP%/g;function Mh(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Mh(e,i,n):(i=i.replace(Oh,e),n.push(i))}return n}function Sh(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Th,xh,Ah,Eh,Ih,Nh,Rh=((Th=function(){function e(t,n,r){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Dh(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ht.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Gh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ht.Native:case ht.ShadowDom:return new Lh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Mh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||Th)(Ze(Ch),Ze(wh),Ze(dl))},Th.\u0275prov=fe({token:Th,factory:Th.\u0275fac}),Th),Dh=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(Ph[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=Ph[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=Ph[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&tc.DashCase?e.style.setProperty(t,n,r&tc.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&tc.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Sh(n)):this.eventManager.addEventListener(e,t,Sh(n))}}]),e}(),Gh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).component=i;var s,c=Mh(o+"-"+i.id,i.styles,[]);return r.addStyles(c),a.contentAttr="_ngcontent-%COMP%".replace(Oh,o+"-"+i.id),a.hostAttr=(s=o+"-"+i.id,"_nghost-%COMP%".replace(Oh,s)),a}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(Dh),Lh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).sharedStylesHost=r,a.hostEl=i,a.component=o,a.shadowRoot=o.encapsulation===ht.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=Mh(o.id,o.styles,[]),c=0;c<s.length;c++){var l=document.createElement("style");l.textContent=s[c],a.shadowRoot.appendChild(l)}return a}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(Dh),Hh=((xh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(bh)).\u0275fac=function(e){return new(e||xh)(Ze(pu))},xh.\u0275prov=fe({token:xh,factory:xh.\u0275fac}),xh),Vh=["alt","control","meta","shift"],Fh={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Bh={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},jh={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},zh=((Ih=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return fu().onAndCancel(e,i.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(Vh.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Bh.hasOwnProperty(t)&&(t=Bh[t]))}return Fh[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Vh.forEach((function(r){r!=n&&(0,jh[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(bh)).\u0275fac=function(e){return new(e||Ih)(Ze(pu))},Ih.\u0275prov=fe({token:Ih,factory:Ih.\u0275fac}),Ih),Uh=((Eh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Eh)},Eh.\u0275prov=fe({factory:function(){return Ze(Wh)},token:Eh,providedIn:"root"}),Eh),Wh=((Ah=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Xr.NONE:return t;case Xr.HTML:return Cr(t,"HTML")?yr(t):Wr(this._doc,String(t));case Xr.STYLE:return Cr(t,"Style")?yr(t):Zr(t);case Xr.SCRIPT:if(Cr(t,"Script"))return yr(t);throw new Error("unsafe value used in a script context");case Xr.URL:return br(t),Cr(t,"URL")?yr(t):Tr(String(t));case Xr.RESOURCE_URL:if(Cr(t,"ResourceURL"))return yr(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new pr(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new gr(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new vr(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new mr(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new _r(e)}}]),n}(Uh)).\u0275fac=function(e){return new(e||Ah)(Ze(pu))},Ah.\u0275prov=fe({factory:function(){return e=Ze(je),new Wh(e.get(pu));var e},token:Ah,providedIn:"root"}),Ah),qh=Kl(au,"browser",[{provide:ml,useValue:"browser"},{provide:vl,useValue:function(){ph.makeCurrent(),_h.init()},multi:!0},{provide:pu,useFactory:function(){return function(e){It=e}(document),document},deps:[]}]),Xh=[[],{provide:Jo,useValue:"root"},{provide:fr,useFactory:function(){return new fr},deps:[]},{provide:yh,useClass:Hh,multi:!0,deps:[pu,Nl,ml]},{provide:yh,useClass:zh,multi:!0,deps:[pu]},[],{provide:Rh,useClass:Rh,deps:[Ch,wh,dl]},{provide:ec,useExisting:Rh},{provide:kh,useExisting:wh},{provide:wh,useClass:wh,deps:[pu]},{provide:jl,useClass:jl,deps:[Nl]},{provide:Ch,useClass:Ch,deps:[yh,Nl]},[]],Kh=((Nh=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:dl,useValue:t.appId},{provide:vh,useExisting:dl},mh]}}}]),e}()).\u0275mod=yt({type:Nh}),Nh.\u0275inj=de({factory:function(e){return new(e||Nh)(Ze(Nh,12))},providers:Xh,imports:[oh,cu]}),Nh);function Qh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return A(r)?(t.pop(),j(t,r)):K(t)}"undefined"!=typeof window&&window;var Zh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._value=e,r}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new O;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(T),Yh=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),$h={},Jh=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ef(e,this.resultSelector))}}]),e}(),ef=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return _createClass(n,[{key:"_next",value:function(e){this.values.push($h),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(L(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,i){var o=this.values,a=this.toRespond?o[n]===$h?--this.toRespond:this.toRespond:0;o[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(H),tf=new k((function(e){return e.complete()}));function nf(e){return e?function(e){return new k((function(t){return e.schedule((function(){return t.complete()}))}))}(e):tf}function rf(e){return new k((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?z(n):nf()).subscribe(t)}))}function of(){return X(1)}function af(e,t){return function(n){return n.lift(new sf(e,t))}}var sf=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new cf(e,this.predicate,this.thisArg))}}]),e}(),cf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=r,o.thisArg=i,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(g),lf=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function uf(e){return function(t){return 0===e?nf():t.lift(new hf(e))}}var hf=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new lf}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ff(e,this.total))}}]),e}(),ff=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.ring=new Array,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()}}]),n}(g);function df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vf;return function(t){return t.lift(new pf(e))}}var pf=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new gf(e,this.errorFactory))}}]),e}(),gf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).errorFactory=r,i.hasValue=!1,i}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(g);function vf(){return new Yh}function mf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new _f(e))}}var _f=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new yf(e,this.defaultValue))}}]),e}(),yf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(g);function Cf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?af((function(t,n){return e(t,n,r)})):_,uf(1),n?mf(t):df((function(){return new Yh})))}}function bf(e){return function(t){var n=new kf(e),r=t.lift(n);return n.caught=r}}var kf=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new wf(e,this.selector,this.caught))}}]),e}(),wf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new E(this,void 0,void 0);this.add(r);var i=L(this,t,void 0,void 0,r);i!==r&&this.add(i)}}}]),n}(H);function Pf(e){return function(t){return 0===e?nf():t.lift(new Of(e))}}var Of=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new lf}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Mf(e,this.total))}}]),e}(),Mf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(g);function Sf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?af((function(t,n){return e(t,n,r)})):_,Pf(1),n?mf(t):df((function(){return new Yh})))}}var Tf=function(){function e(t,n,r){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new xf(e,this.predicate,this.thisArg,this.source))}}]),e}(),xf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=i,a.source=o,a.index=0,a.thisArg=i||_assertThisInitialized(a),a}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(g);function Af(e,t){return"function"==typeof t?function(n){return n.pipe(Af((function(n,r){return z(e(n,r)).pipe(V((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new Ef(e))}}var Ef=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new If(e,this.project))}}]),e}(),If=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new E(this,t,n),o=this.destination;o.add(i),this.innerSubscription=L(this,e,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(H);function Nf(){return of()(Qh.apply(void 0,arguments))}function Rf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return A(r)?(t.pop(),function(e){return Nf(t,e,r)}):function(e){return Nf(t,e)}}function Df(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Gf(e,t,n))}}var Gf=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Lf(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Lf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(g);function Hf(e,t){return U(e,t,1)}function Vf(){}function Ff(e,t,n){return function(r){return r.lift(new jf(e,t,n))}}var Bf,jf=function(){function e(t,n,r){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new zf(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),zf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e))._tapNext=Vf,s._tapError=Vf,s._tapComplete=Vf,s._tapError=o||Vf,s._tapComplete=a||Vf,r(i)?(s._context=_assertThisInitialized(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||Vf,s._tapError=i.error||Vf,s._tapComplete=i.complete||Vf),s}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(g),Uf=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Wf(e,this.callback))}}]),e}(),Wf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).add(new f(r)),i}return n}(g),qf=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},Xf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(i=t.call(this,e,r)).navigationTrigger=o,i.restoredState=a,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(qf),Kf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).urlAfterRedirects=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(qf),Qf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).reason=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(qf),Zf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).error=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(qf),Yf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(qf),$f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(qf),Jf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(qf),ed=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(qf),td=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(qf),nd=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),rd=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),id=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),od=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ad=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),sd=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),cd=function(){function e(t,n,r){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),ld=((Bf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Bf)},Bf.\u0275cmp=gt({type:Bf,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&La(0,"router-outlet")},directives:function(){return[_g]},encapsulation:2}),Bf),ud=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function hd(e){return new ud(e)}function fd(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function dd(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=e[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var pd=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function gd(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];vd(r,md(t,r))}}function vd(e,t){if(!e)throw new Error("\n      Invalid configuration of route '".concat(t,"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&gd(e.children,t)}function md(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function _d(e){var t=e.children&&e.children.map(_d),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=ld),n}function yd(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(!Cd(e[n=r[o]],t[n]))return!1;return!0}function Cd(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function bd(e){return Array.prototype.concat.apply([],e)}function kd(e){return e.length>0?e[e.length-1]:null}function wd(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Pd(e){return ja(e)?e:Ba(e)?z(Promise.resolve(e)):Qh(e)}function Od(e,t,n){return n?function(e,t){return yd(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!xd(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Cd(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!xd(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!xd(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!xd(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var Md=function(){function e(t,n,r){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=r}return _createClass(e,[{key:"toString",value:function(){return Nd.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap}}]),e}(),Sd=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,wd(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return Rd(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),Td=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return Fd(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=hd(this.parameters)),this._parameterMap}}]),e}();function xd(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Ad(e,t){var n=[];return wd(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),wd(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var Ed=function e(){_classCallCheck(this,e)},Id=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Wd(e);return new Md(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return Rd(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return wd(t.children,(function(t,n){"primary"!==n&&i.push("".concat(n,":").concat(e(t,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var o=Ad(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(Rd(t),"/(").concat(o.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(Gd(e),"=").concat(Gd(t))})).join("&"):"".concat(Gd(e),"=").concat(Gd(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),Nd=new Id;function Rd(e){return e.segments.map((function(e){return Fd(e)})).join("/")}function Dd(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gd(e){return Dd(e).replace(/%3B/gi,";")}function Ld(e){return Dd(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hd(e){return decodeURIComponent(e)}function Vd(e){return Hd(e.replace(/\+/g,"%20"))}function Fd(e){return"".concat(Ld(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(Ld(e),"=").concat(Ld(t[e]))})).join("")));var t}var Bd=/^[^\/()?;=#]+/;function jd(e){var t=e.match(Bd);return t?t[0]:""}var zd=/^[^=?&#]+/,Ud=/^[^?&#]+/,Wd=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Sd([],{}):new Sd([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Sd(e,t)),n}},{key:"parseSegment",value:function(){var e=jd(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Td(Hd(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=jd(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=jd(this.remaining);r&&(n=r,this.capture(n))}e[Hd(t)]=Hd(n)}}},{key:"parseQueryParam",value:function(e){var t,n,r=(t=this.remaining,(n=t.match(zd))?n[0]:"");if(r){this.capture(r);var i="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Ud);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}var a=Vd(r),s=Vd(i);if(e.hasOwnProperty(a)){var c=e[a];Array.isArray(c)||(c=[c],e[a]=c),c.push(s)}else e[a]=s}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=jd(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new Sd([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),qd=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Xd(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=Xd(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Kd(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return Kd(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function Xd(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Xd(e,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Kd(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Kd(e,n.value);if(i.length)return i.unshift(t),i}}catch(o){r.e(o)}finally{r.f()}return[]}var Qd=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Zd(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Yd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).snapshot=r,rp(_assertThisInitialized(i),e),i}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(qd);function $d(e,t){var n=function(e,t){var n=new tp([],{},{},"",{},"primary",t,null,e.root,-1,{});return new np("",new Qd(n,[]))}(e,t),r=new Zh([new Td("",{})]),i=new Zh({}),o=new Zh({}),a=new Zh({}),s=new Zh(""),c=new Jd(r,i,a,s,o,"primary",t,n.root);return c.snapshot=n.root,new Yd(new Qd(c,[]),n)}var Jd=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(V((function(e){return hd(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(V((function(e){return hd(e)})))),this._queryParamMap}}]),e}();function ep(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var tp=function(){function e(t,n,r,i,o,a,s,c,l,u,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=h}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=hd(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap}}]),e}(),np=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,r)).url=e,rp(_assertThisInitialized(i),r),i}return _createClass(n,[{key:"toString",value:function(){return ip(this._root)}}]),n}(qd);function rp(e,t){t.value._routerState=e,t.children.forEach((function(t){return rp(e,t)}))}function ip(e){var t=e.children.length>0?" { ".concat(e.children.map(ip).join(", ")," } "):"";return"".concat(e.value).concat(t)}function op(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,yd(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),yd(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!yd(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),yd(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function ap(e,t){var n,r;return yd(e.params,t.params)&&xd(n=e.url,r=t.url)&&n.every((function(e,t){return yd(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||ap(e.parent,t.parent))}function sp(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function cp(e,t,n,r,i){var o={};return r&&wd(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new Md(n.root===e?t:function e(t,n,r){var i={};return wd(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new Sd(t.segments,i)}(n.root,e,t),o,i)}var lp=function(){function e(t,n,r){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&sp(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(i&&i!==kd(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),up=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function hp(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function fp(e,t,n){if(e||(e=new Sd([],{})),0===e.segments.length&&e.hasChildren())return dp(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return o;var a=e.segments[i],s=hp(n[r]),c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!mp(s,c,a))return o;r+=2}else{if(!mp(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new Sd(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new Sd(e.segments.slice(r.pathIndex),e.children),dp(o,0,i)}return r.match&&0===i.length?new Sd(e.segments,{}):r.match&&!e.hasChildren()?pp(e,t,n):r.match?dp(e,0,i):pp(e,t,n)}function dp(e,t,n){if(0===n.length)return new Sd(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return wd(r,(function(n,r){null!==n&&(i[r]=fp(e.children[r],t,n))})),wd(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new Sd(e.segments,i)}function pp(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=gp(n[i].outlets);return new Sd(r,o)}if(0===i&&sp(n[0]))r.push(new Td(e.segments[t].path,n[0])),i++;else{var a=hp(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&sp(s)?(r.push(new Td(a,vp(s))),i+=2):(r.push(new Td(a,{})),i++)}}return new Sd(r,{})}function gp(e){var t={};return wd(e,(function(e,n){null!==e&&(t[n]=pp(new Sd([],{}),0,e))})),t}function vp(e){var t={};return wd(e,(function(e,n){return t[n]=""+e})),t}function mp(e,t,n){return e==n.path&&yd(t,n.parameters)}var _p=function(){function e(t,n,r,i){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}return _createClass(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),op(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=Zd(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),wd(i,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=Zd(e),o=e.value.component?r.children:t;wd(i,(function(e,t){return n.deactivateRouteAndItsChildren(e,o)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var r=this,i=Zd(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new sd(e.value.snapshot))})),e.children.length&&this.forwardEvent(new od(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(op(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component){var a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),yp(s.route)}else{var c=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=c?c.module.componentFactoryResolver:null;a.attachRef=null,a.route=r,a.resolver=l,a.outlet&&a.outlet.activateWith(r,l),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function yp(e){op(e.value),e.children.forEach(yp)}function Cp(e){return"function"==typeof e}function bp(e){return e instanceof Md}var kp=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},wp=function e(t){_classCallCheck(this,e),this.urlTree=t};function Pp(e){return new k((function(t){return t.error(new kp(e))}))}function Op(e){return new k((function(t){return t.error(new wp(e))}))}function Mp(e){return new k((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Sp=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(tt)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(V((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(bf((function(t){if(t instanceof wp)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof kp)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(V((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(bf((function(e){if(e instanceof kp)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new Sd([],{primary:e}):e;return new Md(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(V((function(e){return new Sd([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Qh({});var o=[],a=[],s={};return wd(n,(function(n,i){var c,l,u=(c=i,l=n,r.expandSegmentGroup(e,t,l,c)).pipe(V((function(e){return s[i]=e})));"primary"===i?o.push(u):a.push(u)})),Qh.apply(null,o.concat(a)).pipe(of(),Cf(),V((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,o){var a=this;return Qh.apply(void 0,_toConsumableArray(n)).pipe(V((function(s){return a.expandSegmentAgainstRoute(e,t,n,s,r,i,o).pipe(bf((function(e){if(e instanceof kp)return Qh(null);throw e})))})),of(),Sf((function(e){return!!e})),bf((function(e,n){if(e instanceof Yh||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,i))return Qh(new Sd([],{}));throw new kp(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,i,o,a){return Ep(r)!==o?Pp(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Pp(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Op(o):this.lineralizeSegments(n,o).pipe(U((function(n){var o=new Sd(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=Tp(t,r,i),c=s.matched,l=s.consumedSegments,u=s.lastChild,h=s.positionalParamSegments;if(!c)return Pp(t);var f=this.applyRedirectCommands(l,r.redirectTo,h);return r.redirectTo.startsWith("/")?Op(f):this.lineralizeSegments(r,f).pipe(U((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(V((function(e){return n._loadedConfig=e,new Sd(r,{})}))):Qh(new Sd(r,{}));var o=Tp(t,n,r),a=o.matched,s=o.consumedSegments,c=o.lastChild;if(!a)return Pp(t);var l=r.slice(c);return this.getChildConfig(e,n,r).pipe(U((function(e){var n=e.module,r=e.routes,o=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return Ap(e,t,n)&&"primary"!==Ep(n)}))}(e,n,r)?{segmentGroup:xp(new Sd(t,function(e,t){var n={};n.primary=t;var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;""===o.path&&"primary"!==Ep(o)&&(n[Ep(o)]=new Sd([],{}))}}catch(a){i.e(a)}finally{i.f()}return n}(r,new Sd(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Ap(e,t,n)}))}(e,n,r)?{segmentGroup:xp(new Sd(e.segments,function(e,t,n,r){var i,o={},a=_createForOfIteratorHelper(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;Ap(e,t,s)&&!r[Ep(s)]&&(o[Ep(s)]=new Sd([],{}))}}catch(c){a.e(c)}finally{a.f()}return Object.assign(Object.assign({},r),o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r),a=o.segmentGroup,c=o.slicedSegments;return 0===c.length&&a.hasChildren()?i.expandChildren(n,r,a).pipe(V((function(e){return new Sd(s,e)}))):0===r.length&&0===c.length?Qh(new Sd(s,{})):i.expandSegment(n,a,r,c,"primary",!0).pipe(V((function(e){return new Sd(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?Qh(new pd(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Qh(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?z(i).pipe(V((function(r){var i,o=e.get(r);if(function(e){return e&&Cp(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Cp(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return Pd(i)}))).pipe(of(),(r=function(e){return!0===e},function(e){return e.lift(new Tf(r,void 0,e))})):Qh(!0)}(e.injector,t,n).pipe(U((function(n){return n?r.configLoader.load(e.injector,t).pipe(V((function(e){return t._loadedConfig=e,e}))):function(e){return new k((function(t){return t.error(fd("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Qh(new pd([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Qh(n);if(r.numberOfChildren>1||!r.children.primary)return Mp(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new Md(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return wd(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),a={};return wd(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new Sd(o,a)}},{key:"createSegments",value:function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,r=0,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(r),o;r++}}catch(a){i.e(a)}finally{i.f()}return e}}]),e}();function Tp(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||dd)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function xp(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Sd(e.segments.concat(t.segments),t.children)}return e}function Ap(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ep(e){return e.outlet||"primary"}var Ip=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Np=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function Rp(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Dp(e,t,n){var r=Zd(e),i=e.value;wd(r,(function(e,r){Dp(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new Np(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Gp=Symbol("INITIAL_VALUE");function Lp(){return Af((function(e){return(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,i=null;return A(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),K(t,i).lift(new Jh(r))}).apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(Pf(1),Rf(Gp))})))).pipe(Df((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Gp)return e;if(r===Gp&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||bp(r))return r}return e}),e)}),Gp),af((function(e){return e!==Gp})),V((function(e){return bp(e)?e:!0===e})),Pf(1))}))}function Hp(e,t){return null!==e&&t&&t(new ad(e)),Qh(!0)}function Vp(e,t){return null!==e&&t&&t(new id(e)),Qh(!0)}function Fp(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Qh(r.map((function(r){return rf((function(){var i,o=Rp(r,t,n);if(function(e){return e&&Cp(e.canActivate)}(o))i=Pd(o.canActivate(t,e));else{if(!Cp(o))throw new Error("Invalid CanActivate guard");i=Pd(o(t,e))}return i.pipe(Sf())}))}))).pipe(Lp()):Qh(!0)}function Bp(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return rf((function(){return Qh(t.guards.map((function(i){var o,a=Rp(i,t.node,n);if(function(e){return e&&Cp(e.canActivateChild)}(a))o=Pd(a.canActivateChild(r,e));else{if(!Cp(a))throw new Error("Invalid CanActivateChild guard");o=Pd(a(r,e))}return o.pipe(Sf())}))).pipe(Lp())}))}));return Qh(i).pipe(Lp())}var jp=function e(){_classCallCheck(this,e)},zp=function(){function e(t,n,r,i,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){try{var e=qp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new tp([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Qd(n,t),i=new np(this.url,r);return this.inheritParamsAndData(i._root),Qh(i)}catch(o){return new k((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=ep(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,i=Ad(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(i,"'."))}n[e.value.outlet]=e.value})),i.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),i}},{key:"processSegment",value:function(e,t,n,r){var i,o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;try{return this.processSegmentAgainstRoute(a,t,n,r)}catch(s){if(!(s instanceof jp))throw s}}}catch(c){o.e(c)}finally{o.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new jp}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new jp;if((e.outlet||"primary")!==r)throw new jp;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?kd(n).parameters:{};i=new tp(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qp(e),r,e.component,e,Up(t),Wp(t)+n.length,Zp(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new jp;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||dd)(n,e,t);if(!r)throw new jp;var i={};wd(r.posParams,(function(e,t){i[t]=e.path}));var o=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=c.consumedSegments,a=n.slice(c.lastChild),i=new tp(o,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qp(e),r,e.component,e,Up(t),Wp(t)+o.length,Zp(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=qp(t,o,a,l,this.relativeLinkResolution),h=u.segmentGroup,f=u.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return[new Qd(i,d)]}if(0===l.length&&0===f.length)return[new Qd(i,[])];var p=this.processSegment(l,h,f,"primary");return[new Qd(i,p)]}}]),e}();function Up(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Wp(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function qp(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return Xp(e,t,n)&&"primary"!==Kp(n)}))}(e,n,r)){var o=new Sd(t,function(e,t,n,r){var i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Kp(s)){var c=new Sd([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,i[Kp(s)]=c}}}catch(l){a.e(l)}finally{a.f()}return i}(e,t,r,new Sd(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return Xp(e,t,n)}))}(e,n,r)){var a=new Sd(e.segments,function(e,t,n,r,i,o){var a,s={},c=_createForOfIteratorHelper(r);try{for(c.s();!(a=c.n()).done;){var l=a.value;if(Xp(e,n,l)&&!i[Kp(l)]){var u=new Sd([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Kp(l)]=u}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Sd(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Xp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Kp(e){return e.outlet||"primary"}function Qp(e){return e.data||{}}function Zp(e){return e.resolve||{}}function Yp(e,t,n,r){var i=Rp(e,t,r);return Pd(i.resolve?i.resolve(t,n):i(t,n))}function $p(e){return function(t){return t.pipe(Af((function(t){var n=e(t);return n?z(n).pipe(V((function(){return t}))):z([t])})))}}var Jp=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),eg=new Be("ROUTES"),tg=function(){function e(t,n,r,i){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(V((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new pd(bd(i.injector.get(eg)).map(_d),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?z(this.loader.load(e)):Pd(e()).pipe(U((function(e){return e instanceof nt?Qh(e):z(t.compiler.compileModuleAsync(e))})))}}]),e}(),ng=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function rg(e){throw e}function ig(e,t,n){return t.parse("/")}function og(e,t){return Qh(null)}var ag,sg,cg,lg=((cg=function(){function e(t,n,r,i,o,a,s,c){var l=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new T,this.errorHandler=rg,this.malformedUriErrorHandler=ig,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:og,afterPreactivation:og},this.urlHandlingStrategy=new ng,this.routeReuseStrategy=new Jp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(tt),this.console=o.get(yl);var u=o.get(Nl);this.isNgZoneEnabled=u instanceof Nl,this.resetConfig(c),this.currentUrlTree=new Md(new Sd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tg(a,s,(function(e){return l.triggerEvent(new nd(e))}),(function(e){return l.triggerEvent(new rd(e))})),this.routerState=$d(this.currentUrlTree,this.rootComponentType),this.transitions=new Zh({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 _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(af((function(e){return 0!==e.id})),V((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Af((function(e){var r,i,o,a,s=!1,c=!1;return Qh(e).pipe(Ff((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Af((function(e){var r,i,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Qh(e).pipe(Af((function(e){var r=t.transitions.getValue();return n.next(new Xf(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?tf:[e]})),Af((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,o=t.urlSerializer,a=t.config,function(e){return e.pipe(Af((function(e){return function(e,t,n,r,i){return new Sp(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(V((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),Ff((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,o){return function(r){return r.pipe(U((function(r){return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new zp(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(V((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Ff((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Ff((function(e){var r=new Yf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,l=e.extractedUrl,u=e.source,h=e.restoredState,f=e.extras,d=new Xf(c,t.serializeUrl(l),u,h);n.next(d);var p=$d(l,t.rootComponentType).snapshot;return Qh(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:l,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),tf})),$p((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),Ff((function(e){var n=new $f(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),V((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,o=n._root,function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=Zd(n);return t.children.forEach((function(t){!function(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=n?n.value:null,c=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!xd(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xd(e.url,t.url)||!yd(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ap(e,t)||!yd(e.queryParams,t.queryParams);case"paramsChange":default:return!ap(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Ip(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?c?c.children:null:r,i,o),l&&o.canDeactivateChecks.push(new Np(c&&c.outlet&&c.outlet.component||null,s))}else s&&Dp(n,c,o),o.canActivateChecks.push(new Ip(i)),e(t,null,a.component?c?c.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]})),wd(a,(function(e,t){return Dp(e,r.getContext(t),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),function(e,t){return function(n){return n.pipe(U((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Qh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return z(e).pipe(U((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Qh(o.map((function(o){var a,s=Rp(o,t,i);if(function(e){return e&&Cp(e.canDeactivate)}(s))a=Pd(s.canDeactivate(e,t,n,r));else{if(!Cp(s))throw new Error("Invalid CanDeactivate guard");a=Pd(s(e,t,n,r))}return a.pipe(Sf())}))).pipe(Lp()):Qh(!0)}(e.component,e.route,n,t,r)})),Sf((function(e){return!0!==e}),!0))}(s,r,i,e).pipe(U((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return z(t).pipe(Hf((function(t){return z([Vp(t.route.parent,r),Hp(t.route,r),Bp(e,t.path,n),Fp(e,t.route,n)]).pipe(of(),Sf((function(e){return!0!==e}),!0))})),Sf((function(e){return!0!==e}),!0))}(r,a,e,t):Qh(n)})),V((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Ff((function(e){if(bp(e.guardsResult)){var n=fd('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Ff((function(e){var n=new Jf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),af((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Qf(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),$p((function(e){if(e.guards.canActivateChecks.length)return Qh(e).pipe(Ff((function(e){var n=new ed(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(U((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?z(i).pipe(Hf((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Qh({});if(1===i.length){var o=i[0];return Yp(e[o],t,n,r).pipe(V((function(e){return _defineProperty2({},o,e)})))}var a={};return z(i).pipe(U((function(i){return Yp(e[i],t,n,r).pipe(V((function(e){return a[i]=e,e})))}))).pipe(Cf(),V((function(){return a})))}(e._resolve,e,t,r).pipe(V((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),ep(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return y(Df(e,t),uf(1),mf(t))(n)}:function(t){return y(Df((function(t,n,r){return e(t,n,r+1)})),uf(1))(t)}}((function(e,t){return e})),V((function(t){return e}))):Qh(e)})))}),Ff((function(e){var n=new td(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),$p((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),V((function(e){var n=function(e,t,n){var r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){var i=r.value;i._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map((function(n){var i,o=_createForOfIteratorHelper(r.children);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(t.shouldReuseRoute(a.value.snapshot,n.value))return e(t,n,a)}}catch(s){o.e(s)}finally{o.f()}return e(t,n)}))}(t,n,r);return new Qd(i,o)}var a=t.retrieve(n.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,s),s}var c,l=new Jd(new Zh((c=n.value).url),new Zh(c.params),new Zh(c.queryParams),new Zh(c.fragment),new Zh(c.data),c.outlet,c.component,c),u=n.children.map((function(n){return e(t,n)}));return new Qd(l,u)}(e,t._root,n?n._root:void 0);return new Yd(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),Ff((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(i=t.rootContexts,o=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},V((function(e){return new _p(o,e.targetRouterState,e.currentRouterState,a).activate(i),e}))),Ff({next:function(){s=!0},complete:function(){s=!0}}),(r=function(){if(!s&&!c){t.resetUrlToCurrentUrlTree();var r=new Qf(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new Uf(r))}),bf((function(r){if(c=!0,(s=r)&&s.ngNavigationCancelingError){var i=bp(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new Qf(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),i?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Zf(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var s;return tf})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){gd(e),this.config=e.map(_d),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,i=t.fragment,o=t.preserveQueryParams,a=t.queryParamsHandling,s=t.preserveFragment;Pr()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i,u=null;if(a)switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=o?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,r,i){if(0===n.length)return cp(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new lp(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return wd(r.outlets,(function(e,t){o[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:o}])}if(r.segmentPath)return[].concat(_toConsumableArray(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(e),[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[].concat(_toConsumableArray(e),[r])}),[]);return new lp(n,t,r)}(n);if(o.toRoot())return cp(t.root,new Sd([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new up(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new up(n.snapshot._urlSegment,!0,0);var r=sp(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new up(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?dp(a.segmentGroup,a.index,o.commands):fp(a.segmentGroup,a.index,o.commands);return cp(a.segmentGroup,s,t,r,i)}(c,this.currentUrlTree,e,u,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Pr()&&this.isNgZoneEnabled&&!Nl.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=bp(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(bp(e))return Od(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Od(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Kf(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,r,i){var o,a,s,c=this.getTransition();if(c&&"imperative"!==t&&"imperative"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"hashchange"==t&&"popstate"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"popstate"==t&&"hashchange"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);i?(o=i.resolve,a=i.reject,s=i.promise):s=new Promise((function(e,t){o=e,a=t}));var l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),e}()).\u0275fac=function(e){Ia()},cg.\u0275dir=bt({type:cg}),cg),ug=((sg=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}return _createClass(e,[{key:"onClick",value:function(){var e={skipLocationChange:fg(this.skipLocationChange),replaceUrl:fg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Pr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fg(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||sg)(Aa(lg),Aa(Jd),Ea("tabindex"),Aa(nc),Aa($s))},sg.\u0275dir=bt({type:sg,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&za("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),sg),hg=((ag=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=r,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof Kf&&i.updateTargetUrlAndHref()}))}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:fg(this.skipLocationChange),replaceUrl:fg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Pr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fg(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||ag)(Aa(lg),Aa(Jd),Aa(Mu))},ag.\u0275dir=bt({type:ag,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&za("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(xs("href",t.href,Jr),Sa("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Hs]}),ag);function fg(e){return""===e||!!e}var dg,pg,gg,vg=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new mg,this.attachRef=null},mg=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new vg,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),_g=((dg=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Uc,this.deactivateEvents=new Uc,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new yg(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),e}()).\u0275fac=function(e){return new(e||dg)(Aa(mg),Aa(Pc),Aa(Ys),Ea("name"),Aa(Yo))},dg.\u0275dir=bt({type:dg,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),dg),yg=function(){function e(t,n,r){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=r}return _createClass(e,[{key:"get",value:function(e,t){return e===Jd?this.route:e===mg?this.childContexts:this.parent.get(e,t)}}]),e}(),Cg=function e(){_classCallCheck(this,e)},bg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return Qh(null)}}]),e}(),kg=((gg=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new tg(n,r,(function(e){return t.triggerEvent(new nd(e))}),(function(e){return t.triggerEvent(new rd(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(af((function(e){return e instanceof Kf})),Hf((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(tt);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;r.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(e,o)):o.children&&r.push(this.processRoutes(e,o.children))}}catch(s){i.e(s)}finally{i.f()}return z(r).pipe(X(),V((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(U((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||gg)(Ze(lg),Ze(tu),Ze(xl),Ze(da),Ze(Cg))},gg.\u0275prov=fe({token:gg,factory:gg.\u0275fac}),gg),wg=((pg=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Xf?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Kf&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof cd&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new cd(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){Ia()},pg.\u0275dir=bt({type:pg}),pg),Pg=new Be("ROUTER_CONFIGURATION"),Og=new Be("ROUTER_FORROOT_GUARD"),Mg=[Ru,{provide:Ed,useClass:Id},{provide:lg,useFactory:function(e,t,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,u=new lg(null,e,t,n,r,i,o,bd(a));if(c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),s.errorHandler&&(u.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(u.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var h=fu();u.events.subscribe((function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return s.onSameUrlNavigation&&(u.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(u.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(u.relativeLinkResolution=s.relativeLinkResolution),u},deps:[Ed,mg,Ru,da,tu,xl,eg,Pg,[function(){return function e(){_classCallCheck(this,e)}}(),new ae],[function(){return function e(){_classCallCheck(this,e)}}(),new ae]]},mg,{provide:Jd,useFactory:function(e){return e.routerState.root},deps:[lg]},{provide:tu,useClass:iu},kg,bg,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(bf((function(){return Qh(null)})))}}]),e}(),{provide:Pg,useValue:{enableTracing:!1}}];function Sg(){return new Xl("Router",lg)}var Tg,xg=((Tg=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Mg,Ng(t),{provide:Og,useFactory:Ig,deps:[[lg,new ae,new ce]]},{provide:Pg,useValue:n||{}},{provide:Mu,useFactory:Eg,deps:[gu,[new oe(Eu),new ae],Pg]},{provide:wg,useFactory:Ag,deps:[lg,fh,Pg]},{provide:Cg,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bg},{provide:Xl,multi:!0,useFactory:Sg},[Dg,{provide:hl,multi:!0,useFactory:Gg,deps:[Dg]},{provide:Ug,useFactory:Lg,deps:[Dg]},{provide:_l,multi:!0,useExisting:Ug}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Ng(t)]}}}]),e}()).\u0275mod=yt({type:Tg}),Tg.\u0275inj=de({factory:function(e){return new(e||Tg)(Ze(Og,8),Ze(lg,8))}}),Tg);function Ag(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new wg(e,t,n)}function Eg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Nu(e,t):new Iu(e,t)}function Ig(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ng(e){return[{provide:pa,multi:!0,useValue:e},{provide:eg,multi:!0,useValue:e}]}var Rg,Dg=((Rg=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new T}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(_u,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(lg),i=e.injector.get(Pg);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?Qh(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Pg),n=this.injector.get(kg),r=this.injector.get(wg),i=this.injector.get(lg),o=this.injector.get(Jl);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||Rg)(Ze(da))},Rg.\u0275prov=fe({token:Rg,factory:Rg.\u0275fac}),Rg);function Gg(e){return e.appInitializer.bind(e)}function Lg(e){return e.bootstrapListener.bind(e)}var Hg,Vg,Fg,Bg,jg,zg,Ug=new Be("Router Initializer"),Wg=((Fg=function(){function e(){var t=this;_classCallCheck(this,e),this.showYetiPopup=new Zh(!1),this.shareVisible=new Zh(!1),this.videosWatched=[],this.openShare=function(){return t.shareVisible.next(!0)},this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS")),this.hasSeenYetiBottleForm=JSON.parse(localStorage.getItem("hasSeenYetiBottleForm")),this.hasSubmittedYetiForm=JSON.parse(localStorage.getItem("hasSubmittedYetiForm")),this.videosWatched=JSON.parse(localStorage.getItem("watchedVideos"))||[]}return _createClass(e,[{key:"watchedVideo",value:function(e){var t;(null===(t=this.videosWatched)||void 0===t?void 0:t.includes(e))||this.videosWatched.push(e),localStorage.setItem("videosWatched",JSON.stringify(this.videosWatched))}},{key:"allowTracking",get:function(){return this.trackingValue},set:function(e){this.trackingValue=e,null!==e&&localStorage.setItem("allowTracking",e.toString())}},{key:"regionUS",get:function(){return this.regionUSValue},set:function(e){this.regionUSValue=e,null!==e&&localStorage.setItem("regionUS",e.toString())}},{key:"hasSeenYetiBottleForm",get:function(){return this.hasSeenYetiBottleFormValue},set:function(e){this.hasSeenYetiBottleFormValue=e,null!==e&&localStorage.setItem("hasSeenYetiBottleForm",e.toString())}},{key:"hasSubmittedYetiForm",get:function(){return this.hasSubmittedYetiFormValue},set:function(e){this.hasSubmittedYetiFormValue=e,null!==e&&localStorage.setItem("hasSubmittedYetiForm",e.toString())}}]),e}()).\u0275fac=function(e){return new(e||Fg)},Fg.\u0275prov=fe({token:Fg,factory:Fg.\u0275fac,providedIn:"root"}),Fg),qg=((Vg=function(){function e(){_classCallCheck(this,e),this.toggleStatus=!1,this._toggleStatus=new Zh(!1),this.$toggleStatus=this._toggleStatus.asObservable()}return _createClass(e,[{key:"getStatus",value:function(){return this.toggleStatus}},{key:"toggle",value:function(){this.toggleStatus=!this.toggleStatus,this._toggleStatus.next(this.toggleStatus)}}]),e}()).\u0275fac=function(e){return new(e||Vg)},Vg.\u0275prov=fe({token:Vg,factory:Vg.\u0275fac,providedIn:"root"}),Vg),Xg=((Hg=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t,this.transparent=!1,this.showingSidenav=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.showingSidenavSubscription=this.sidenavService._toggleStatus.subscribe((function(t){return e.showingSidenav=t}))}},{key:"ngOnDestroy",value:function(){this.showingSidenavSubscription&&this.showingSidenavSubscription.unsubscribe()}},{key:"toggle",value:function(){this.sidenavService._toggleStatus.next(!0)}},{key:"menuIcon",get:function(){return!1===this.transparent?"assets/images/menu-1@2x.png":"assets/images/aws/MenuButton.svg"}}]),e}()).\u0275fac=function(e){return new(e||Hg)(Aa(qg))},Hg.\u0275cmp=gt({type:Hg,selectors:[["app-mobile-header"]],hostVars:4,hostBindings:function(e,t){2&e&&hs("transparent",t.transparent)("showing-menu",t.showingSidenav)},inputs:{transparent:"transparent"},decls:9,vars:1,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","nav"],[1,"nav-items"],["routerLink","/menu",1,"logo"],["src","assets/images/Logo_full@4x.svg","alt","Salesforce + AWS"],[1,"menu",3,"click"],["alt","Menu",3,"src"]],template:function(e,t){1&e&&(Da(0,"div",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),La(5,"img",5),Ms(6," Virtual Park "),Ga(),Da(7,"div",6),za("click",(function(){return t.toggle()})),La(8,"img",7),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(8),Na("src",t.menuIcon,Jr))},directives:[ug],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}[_nghost-%COMP%]{background:#fff;position:absolute;top:0;z-index:95;padding:8px 0;box-shadow:0 1.5px 3px rgba(0,0,0,.36);transition:all .25s ease-out}.nav-items[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;align-items:center}.nav-items[_ngcontent-%COMP%]{justify-content:space-between}.nav-items[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{font-size:13px;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:600;color:#032e61}.nav-items[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:31px;margin:6px 10px 6px 15px}.nav-items[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25px}.transparent[_nghost-%COMP%]{background:transparent;box-shadow:none}.transparent[_nghost-%COMP%]   .logo[_ngcontent-%COMP%]{opacity:0;transition:all .25s ease-out}.transparent[_nghost-%COMP%]   .nav-items[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:35px}.transparent.showing-menu[_nghost-%COMP%]{background:#fff}.transparent.showing-menu[_nghost-%COMP%]   .logo[_ngcontent-%COMP%]{opacity:1}"]}),Hg),Kg=["*"],Qg=((zg=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t,this.centerContent=!1,this.headerTransparency=!1,this.style=null,this.emitter=new Uc}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"isHome",get:function(){return"assets/images/aws/mobile/FPO_AnimatedBackground_Home@2x.png"===this.backgroundImage}},{key:"backgroundImageSrc",get:function(){return this.backgroundImage?"url(".concat(this.backgroundImage,")"):"none"}}]),e}()).\u0275fac=function(e){return new(e||zg)(Aa(qg))},zg.\u0275cmp=gt({type:zg,selectors:[["app-mobile-page"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("home-page",t.isHome)},inputs:{backgroundImage:"backgroundImage",centerContent:"centerContent",headerTransparency:"headerTransparency",style:"style"},outputs:{emitter:"emitter"},ngContentSelectors:Kg,decls:6,vars:11,consts:[[1,"mobile-wrapper"],[3,"transparent"],[1,"overlay"],[1,"mobile-content"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),La(1,"app-mobile-header",1),Da(2,"div",2),jc(3,"async"),Ga(),Da(4,"div",3),Ya(5),Ga(),Ga()),2&e&&(us("background-image",t.backgroundImageSrc,ti),wi(1),Na("transparent",t.headerTransparency),wi(1),hs("overlay--visible",zc(3,9,t.sidenavService.$toggleStatus)),wi(2),vs(bs,fs,t.style,!1),hs("mobile-content--center-content",t.centerContent))},directives:[Xg],pipes:[ih],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(FPO_AnimatedBackground_Home@2x.fff87d56c477545ed73f.png) no-repeat 50%;background-size:cover;font-family:Salesforce Sans,Arial,sans-serif}.mobile-wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;background:transparent none no-repeat 50%;background-size:cover}.mobile-content[_ngcontent-%COMP%]{padding:130px 0 86px;height:100%;display:flex;flex-direction:column;position:relative;overflow:auto;flex:0 1 auto}.mobile-content--center-content[_ngcontent-%COMP%]{justify-content:center}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;display:block;width:100%;height:100%;z-index:90;background:transparent;visibility:hidden;pointer-events:none;transition:background .25s ease-out,visibility .25s ease-out}.overlay--visible[_ngcontent-%COMP%]{background:rgba(0,0,0,.6);visibility:visible;pointer-events:all}  h1{color:#fff;text-shadow:0 3px 6px rgba(0,0,0,.16);letter-spacing:.9px;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:30px;margin:0 auto 10px;text-align:center}.home-page[_nghost-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]{background-position:28% 0}.home-page[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%]{padding-top:80px}"]}),zg),Zg=((jg=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.mobileService=n}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"gotoMainMenu",value:function(){this.router.navigateByUrl("/menu")}}]),e}()).\u0275fac=function(e){return new(e||jg)(Aa(lg),Aa(Wg))},jg.\u0275cmp=gt({type:jg,selectors:[["app-home-page"]],decls:13,vars:1,consts:[["backgroundImage","assets/images/aws/mobile/FPO_AnimatedBackground_Home@2x.png",3,"headerTransparency"],[1,"container"],[1,"row"],[1,"col-lg-12","content"],["src","assets/images/aws/mobile/Logo_full@4x@2x.png","alt","Salesforce + AWS",1,"logo"],[1,"btn","btn-primary",3,"click"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),La(4,"img",4),Da(5,"h2"),Ms(6," Follow your"),La(7,"br"),Ms(8," path to success "),Ga(),Da(9,"p"),Ms(10," Explore how Salesforce and AWS are driving innovation to create your fastest path from idea to impact. "),Ga(),Da(11,"button",5),za("click",(function(){return t.gotoMainMenu()})),Ms(12,"Press to Start"),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&Na("headerTransparency",!0)},directives:[Qg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}app-mobile-page[_ngcontent-%COMP%]{background-position:14% 0}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center}.content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-shadow:0 3px 6px rgba(0,0,0,.16);letter-spacing:.9px;margin-bottom:2rem}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:318px;color:#404040;letter-spacing:.35px;font-size:16px;line-height:25px;margin:0 auto 20px;font-family:Salesforce Sans,Arial,sans-serif}.logo[_ngcontent-%COMP%]{max-width:175px;margin-bottom:2rem}.card__before[_ngcontent-%COMP%]{display:block}.card__before[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;margin:0 auto;display:block}.btn[_ngcontent-%COMP%]{box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}"]}),jg),Yg=((Bg=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.mobileService=n}return _createClass(e,[{key:"canActivate",value:function(e,t){return null===this.mobileService.allowTracking&&null===this.mobileService.regionUS&&this.router.navigateByUrl("/compliance"),!0}}]),e}()).\u0275fac=function(e){return new(e||Bg)(Ze(lg),Ze(Wg))},Bg.\u0275prov=fe({token:Bg,factory:Bg.\u0275fac,providedIn:"root"}),Bg);function $g(e,t){return new k((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var c=z(e[s]),l=!1;n.add(c.subscribe({next:function(e){l||(l=!0,a++),i[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&l||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},c=0;c<r;c++)s(c);else n.complete()}))}var Jg,ev,tv,nv,rv=new Be("NgValueAccessor"),iv={provide:rv,useExisting:Oe((function(){return ov})),multi:!0},ov=((Jg=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Jg)(Aa(nc),Aa($s))},Jg.\u0275dir=bt({type:Jg,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&za("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Ks([iv])]}),Jg),av={provide:rv,useExisting:Oe((function(){return cv})),multi:!0},sv=new Be("CompositionEventMode"),cv=((nv=function(){function e(t,n,r){var i;_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=fu()?fu().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}()).\u0275fac=function(e){return new(e||nv)(Aa(nc),Aa($s),Aa(sv,8))},nv.\u0275dir=bt({type:nv,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&za("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Ks([av])]}),nv),lv=((tv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}()).\u0275fac=function(e){return new(e||tv)},tv.\u0275dir=bt({type:tv}),tv),uv=((ev=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(lv)).\u0275fac=function(e){return hv(e||ev)},ev.\u0275dir=bt({type:ev,features:[Is]}),ev),hv=cr(uv);function fv(){throw new Error("unimplemented")}var dv,pv,gv=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _createClass(n,[{key:"validator",get:function(){return fv()}},{key:"asyncValidator",get:function(){return fv()}}]),n}(lv),vv=function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}(),mv=((pv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(vv)).\u0275fac=function(e){return new(e||pv)(Aa(gv,2))},pv.\u0275dir=bt({type:pv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&hs("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Is]}),pv),_v=((dv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(vv)).\u0275fac=function(e){return new(e||dv)(Aa(uv,2))},dv.\u0275dir=bt({type:dv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&hs("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Is]}),dv);function yv(e){return null==e||0===e.length}var Cv=new Be("NgValidators"),bv=new Be("NgAsyncValidators"),kv=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,wv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(yv(t.value)||yv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(yv(t.value)||yv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return yv(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return yv(e.value)||kv.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(yv(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(yv(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(Pv);return 0==t.length?null:function(e){return Mv(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(Pv);return 0==t.length?null:function(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(c(r))return $g(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var i=Object.keys(r);return $g(i.map((function(e){return r[e]})),i)}}if("function"==typeof t[t.length-1]){var o=t.pop();return $g(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(V((function(e){return o.apply(void 0,_toConsumableArray(e))})))}return $g(t,null)}(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(Ov)).pipe(V(Mv))}}}]),e}();function Pv(e){return null!=e}function Ov(e){var t=Ba(e)?z(e):e;if(!ja(t))throw new Error("Expected validator to return Promise or Observable.");return t}function Mv(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function Sv(e){return e.validate?function(t){return e.validate(t)}:e}function Tv(e){return e.validate?function(t){return e.validate(t)}:e}var xv,Av,Ev,Iv,Nv={provide:rv,useExisting:Oe((function(){return Rv})),multi:!0},Rv=((xv=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||xv)(Aa(nc),Aa($s))},xv.\u0275dir=bt({type:xv,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&za("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ks([Nv])]}),xv),Dv={provide:rv,useExisting:Oe((function(){return Lv})),multi:!0},Gv=((Ev=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||Ev)},Ev.\u0275prov=fe({token:Ev,factory:Ev.\u0275fac}),Ev),Lv=((Av=function(){function e(t,n,r,i){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(gv),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}]),e}()).\u0275fac=function(e){return new(e||Av)(Aa(nc),Aa($s),Aa(Gv),Aa(da))},Av.\u0275dir=bt({type:Av,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&za("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ks([Dv])]}),Av),Hv={provide:rv,useExisting:Oe((function(){return Vv})),multi:!0},Vv=((Iv=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Iv)(Aa(nc),Aa($s))},Iv.\u0275dir=bt({type:Iv,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&za("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ks([Hv])]}),Iv),Fv='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',Bv='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',jv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+Fv)}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '.concat(Bv,'\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        \n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>'))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+Fv)}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+Bv)}},{key:"arrayParentException",value:function(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}},{key:"disabledAttrWarning",value:function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}},{key:"ngModelWarning",value:function(e){console.warn("\n    It looks like you're using ngModel on the same form field as ".concat(e,". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/").concat("formControl"===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n    "))}}]),e}(),zv={provide:rv,useExisting:Oe((function(){return Xv})),multi:!0};function Uv(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Wv,qv,Xv=((qv=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ba}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=Uv(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||qv)(Aa(nc),Aa($s))},qv.\u0275dir=bt({type:qv,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&za("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([zv])]}),qv),Kv=((Wv=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption())}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Uv(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}}]),e}()).\u0275fac=function(e){return new(e||Wv)(Aa($s),Aa(nc),Aa(Xv,9))},Wv.\u0275dir=bt({type:Wv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Wv),Qv={provide:rv,useExisting:Oe((function(){return Jv})),multi:!0};function Zv(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Yv,$v,Jv=(($v=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ba}return _createClass(e,[{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=t._getOptionValue(a.value);r.push(s)}else for(var c=n.options,l=0;l<c.length;l++){var u=c.item(l);if(u.selected){var h=t._getOptionValue(u.value);r.push(h)}}t.value=r,e(r)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||$v)(Aa(nc),Aa($s))},$v.\u0275dir=bt({type:$v,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&za("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([Qv])]}),$v),em=((Yv=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption(this))}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(Zv(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(Zv(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}}]),e}()).\u0275fac=function(e){return new(e||Yv)(Aa($s),Aa(nc),Aa(Jv,9))},Yv.\u0275dir=bt({type:Yv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Yv);function tm(e,t){return[].concat(_toConsumableArray(t.path),[e])}function nm(e,t){e||am(t,"Cannot find control with"),t.valueAccessor||am(t,"No value accessor for form control with"),e.validator=wv.compose([e.validator,t.validator]),e.asyncValidator=wv.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&rm(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&rm(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function rm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function im(e,t){null==e&&am(t,"Cannot find control with"),e.validator=wv.compose([e.validator,t.validator]),e.asyncValidator=wv.composeAsync([e.asyncValidator,t.asyncValidator])}function om(e){return am(e,"There is no FormControl instance attached to form control element with")}function am(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function sm(e){return null!=e?wv.compose(e.map(Sv)):null}function cm(e){return null!=e?wv.composeAsync(e.map(Tv)):null}var lm=[ov,Vv,Rv,Xv,Jv,Lv];function um(e){var t=fm(e)?e.validators:e;return Array.isArray(t)?sm(t):t||null}function hm(e,t){var n=fm(t)?t.asyncValidators:e;return Array.isArray(n)?cm(n):n||null}function fm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var dm,pm,gm,vm,mm,_m=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=um(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=hm(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Ov(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof Cm?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof bm&&r.at(e)||null})),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new Uc,this.statusChanges=new Uc}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){fm(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),ym=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,um(i),hm(o,i)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(_m),Cm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,um(r),hm(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ym?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){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[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(r,i){n=n||t.contains(i)&&e(r)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(_m),bm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,um(r),hm(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof ym?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){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(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(_m),km=((dm=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return tm(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return sm(this._validators)}},{key:"asyncValidator",get:function(){return cm(this._asyncValidators)}}]),n}(uv)).\u0275fac=function(e){return wm(e||dm)},dm.\u0275dir=bt({type:dm,features:[Is]}),dm),wm=cr(km),Pm=((pm=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||pm)},pm.\u0275dir=bt({type:pm,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),pm),Om=new Be("NgModelWithFormControlWarning"),Mm={provide:uv,useExisting:Oe((function(){return Sm}))},Sm=((gm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._validators=e,i._asyncValidators=r,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new Uc,i}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return nm(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t,n,r;t=this.directives,n=e,(r=t.indexOf(n))>-1&&t.splice(r,1)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);im(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);im(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,t=this.directives,this.form._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})),this.ngSubmit.emit(e),!1;var t}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return om(t)})),t.valueAccessor.registerOnTouched((function(){return om(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&nm(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=sm(this._validators);this.form.validator=wv.compose([this.form.validator,e]);var t=cm(this._asyncValidators);this.form.asyncValidator=wv.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||jv.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(uv)).\u0275fac=function(e){return new(e||gm)(Aa(Cv,10),Aa(bv,10))},gm.\u0275dir=bt({type:gm,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&za("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ks([Mm]),Is,Hs]}),gm),Tm={provide:uv,useExisting:Oe((function(){return xm}))},xm=((vm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return _createClass(n,[{key:"_checkParentType",value:function(){Im(this._parent)&&jv.groupParentException()}}]),n}(km)).\u0275fac=function(e){return new(e||vm)(Aa(uv,13),Aa(Cv,10),Aa(bv,10))},vm.\u0275dir=bt({type:vm,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Ks([Tm]),Is]}),vm),Am={provide:uv,useExisting:Oe((function(){return Em}))},Em=((mm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){Im(this._parent)&&jv.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return tm(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return sm(this._validators)}},{key:"asyncValidator",get:function(){return cm(this._asyncValidators)}}]),n}(uv)).\u0275fac=function(e){return new(e||mm)(Aa(uv,13),Aa(Cv,10),Aa(bv,10))},mm.\u0275dir=bt({type:mm,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Ks([Am]),Is]}),mm);function Im(e){return!(e instanceof xm||e instanceof Sm||e instanceof Em)}var Nm,Rm,Dm,Gm,Lm,Hm,Vm={provide:gv,useExisting:Oe((function(){return Fm}))},Fm=((Hm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this))._ngModelWarningConfig=a,s._added=!1,s.update=new Uc,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=r||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||am(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach((function(t){var o;t.constructor===cv?n=t:(o=t,lm.some((function(e){return o.constructor===e}))?(r&&am(e,"More than one built-in value accessor matches form control with"),r=t):(i&&am(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(am(e,"No valid value accessor for form control with"),null)}(_assertThisInitialized(s),o),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){var t,r;this._added||this._setUpControl(),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!ba(t,n.currentValue)}(e,this.viewModel)&&(t=n,r=this._ngModelWarningConfig,Pr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(jv.ngModelWarning("formControlName"),t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_checkParentType",value:function(){!(this._parent instanceof xm)&&this._parent instanceof km?jv.ngModelGroupException():this._parent instanceof xm||this._parent instanceof Sm||this._parent instanceof Em||jv.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(e){jv.disabledAttrWarning()}},{key:"path",get:function(){return tm(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return sm(this._rawValidators)}},{key:"asyncValidator",get:function(){return cm(this._rawAsyncValidators)}}]),n}(gv)).\u0275fac=function(e){return new(e||Hm)(Aa(uv,13),Aa(Cv,10),Aa(bv,10),Aa(rv,10),Aa(Om,8))},Hm.\u0275dir=bt({type:Hm,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ks([Vm]),Is,Hs]}),Hm._ngModelWarningSentOnce=!1,Hm),Bm=((Lm=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Lm}),Lm.\u0275inj=de({factory:function(e){return new(e||Lm)}}),Lm),jm=((Gm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Cm(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new ym(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new bm(i,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n}},{key:"_createControl",value:function(e){return e instanceof ym||e instanceof Cm||e instanceof bm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}()).\u0275fac=function(e){return new(e||Gm)},Gm.\u0275prov=fe({token:Gm,factory:Gm.\u0275fac}),Gm),zm=((Dm=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Dm}),Dm.\u0275inj=de({factory:function(e){return new(e||Dm)},providers:[Gv],imports:[Bm]}),Dm),Um=((Rm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Om,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275mod=yt({type:Rm}),Rm.\u0275inj=de({factory:function(e){return new(e||Rm)},providers:[jm,Gv],imports:[Bm]}),Rm),Wm=((Nm=function(){function e(t,n,r,i){_classCallCheck(this,e),this.mobileService=t,this.formBuilder=n,this.router=r,this.sidenavService=i,this.formGroup=this.formBuilder.group({trackingAllowed:new ym(!0)})}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"yes",value:function(){this.mobileService.regionUS=!0,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}},{key:"no",value:function(){this.mobileService.regionUS=!1,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}},{key:"next",value:function(){this.router.navigateByUrl("/")}}]),e}()).\u0275fac=function(e){return new(e||Nm)(Aa(Wg),Aa(jm),Aa(lg),Aa(qg))},Nm.\u0275cmp=gt({type:Nm,selectors:[["app-compliance-page"]],decls:21,vars:3,consts:[[3,"centerContent","headerTransparency"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--wood"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"disclaimer"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"form",5),Da(6,"h1"),Ms(7,"Are you based in the U.S.?"),Ga(),Da(8,"div",6),Da(9,"button",7),za("click",(function(){return t.yes()})),Ms(10,"Yes"),Ga(),Da(11,"button",7),za("click",(function(){return t.no()})),Ms(12,"No"),Ga(),Ga(),Da(13,"div",8),La(14,"input",9),Da(15,"label",10),Ms(16," By checking this box, I consent to data processing as described in the "),Da(17,"a",11),Ms(18,"Salesforce Privacy Policy"),Ga(),Ga(),Ga(),Da(19,"p",12),Ms(20," Promotional offers open to eligible Salesforce + Google Virtual Experience attendees residing in the U.S. (incl. DC). While supplies last. Restrictions apply. "),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!0)("headerTransparency",!0),wi(5),Na("formGroup",t.formGroup))},directives:[Qg,Pm,_v,Sm,ov,mv,Fm],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%]{margin-bottom:2rem;font-weight:700}.card[_ngcontent-%COMP%]{padding:30px 46px}.buttons[_ngcontent-%COMP%]{max-width:140px;margin:0 auto 2rem}.disclaimer[_ngcontent-%COMP%], .form-check[_ngcontent-%COMP%]{font-size:10px;line-height:1.3;text-align:left}.disclaimer[_ngcontent-%COMP%]{font-weight:700}"]}),Nm),qm=function e(){_classCallCheck(this,e)};function Xm(e,t){return{type:7,name:e,definitions:t,options:{}}}function Km(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function Qm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function Zm(e){return{type:6,styles:e,offset:null}}function Ym(e,t,n){return{type:0,name:e,styles:t,options:n}}function $m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function Jm(e){Promise.resolve(null).then(e)}var e_,t_,n_,r_,i_=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;Jm((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),o_=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,i=0,o=0,a=this.players.length;0==a?Jm((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++r==a&&n._onFinish()})),e.onDestroy((function(){++i==a&&n._onDestroy()})),e.onStart((function(){++o==a&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),a_=Xm("openClose",[Ym("open",Zm({height:"*"})),Ym("closed",Zm({height:0})),$m("open <=> closed",[Km("0.33s ease-out")])]),s_=Xm("fadeOut",[Ym("open",Zm({opacity:0,height:0})),Ym("closed",Zm({opacity:1,height:"*"})),$m("open <=> closed",[Km("0.33s ease-out")])]),c_=((e_=function(){function e(){_classCallCheck(this,e),this.showContent={maroon:"closed",purple:"closed",plum:"closed",blue:"closed"}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"reveal",value:function(e){this.showContent[e]="open"}}]),e}()).\u0275fac=function(e){return new(e||e_)},e_.\u0275cmp=gt({type:e_,selectors:[["app-main-menu-page"]],decls:58,vars:12,consts:[["backgroundImage","assets/images/aws/Aerial-2x-final@2x.2693ec.png"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--maroon"],[1,"card__inner",3,"click"],[1,"icon"],["src","assets/images/aws/mobile/service-maroon.svg","alt","Service Cloud and Voice",1,"img-fluid"],[1,"card__hidden-content"],["routerLink","/service-cloud-and-voice",1,"btn","btn-primary","btn-block"],[1,"card","card--purple"],["src","assets/images/aws/mobile/2019sf_lightning_1C_icon_RGB.svg","alt","Connected Platforms",1,"img-fluid"],["routerLink","/connected-platforms",1,"btn","btn-primary","btn-block"],[1,"card","card--plum"],["src","assets/images/aws/mobile/government-purple.svg","alt","Public Sector and Compliance",1,"img-fluid"],["routerLink","/public-sector-and-compliance",1,"btn","btn-primary","btn-block"],[1,"card","card--blue"],["src","assets/images/aws/mobile/Trailhead_Icon_Square_1Color_RGB.svg","alt","Learning with Trailhead",1,"img-fluid"],["routerLink","/learning-with-trailhead",1,"btn","btn-primary","btn-block"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"h1"),Ms(5,"Quests"),Ga(),Da(6,"p"),Ms(7,"Select a quest and let\u2019s get started."),Ga(),Da(8,"div",4),Da(9,"div",5),za("click",(function(){return t.reveal("maroon")})),Da(10,"div",6),La(11,"img",7),Ga(),Da(12,"h3"),Ms(13," Service Cloud"),La(14,"br"),Ms(15," and Voice "),Ga(),Ga(),Da(16,"div",8),Da(17,"p"),Ms(18,"Explore how Service Cloud Voice modernizes the contact center with Amazon Connect preintegrated into Salesforce. Take this quest to earn a prize."),Ga(),Da(19,"a",9),Ms(20,"Explore"),Ga(),Ga(),Ga(),Da(21,"div",10),Da(22,"div",5),za("click",(function(){return t.reveal("purple")})),Da(23,"div",6),La(24,"img",11),Ga(),Da(25,"h3"),Ms(26,"Connected Platforms"),Ga(),Ga(),Da(27,"div",8),Da(28,"p"),Ms(29,"Discover how admins and developers can utilize the Salesforce platform and AWS services to innovate better\xa0 together. Take this quest to earn a prize."),Ga(),Da(30,"a",12),Ms(31,"Explore"),Ga(),Ga(),Ga(),Da(32,"div",13),Da(33,"div",5),za("click",(function(){return t.reveal("plum")})),Da(34,"div",6),La(35,"img",14),Ga(),Da(36,"h3"),Ms(37," Public Sector"),La(38,"br"),Ms(39," and Compliance "),Ga(),Ga(),Da(40,"div",8),Da(41,"p"),Ms(42,"Salesforce and AWS are driving innovation in the public sector. Learn more about our impact together."),Ga(),Da(43,"a",15),Ms(44,"Explore"),Ga(),Ga(),Ga(),Da(45,"div",16),Da(46,"div",5),za("click",(function(){return t.reveal("blue")})),Da(47,"div",6),La(48,"img",17),Ga(),Da(49,"h3"),Ms(50," Learning with"),La(51,"br"),Ms(52," Trailhead "),Ga(),Ga(),Da(53,"div",8),Da(54,"p"),Ms(55,"Skill up for the future with Salesforce and AWS on Trailhead. Start your learning journey today."),Ga(),Da(56,"a",18),Ms(57,"Explore"),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(8),hs("card--active","open"===t.showContent.maroon),wi(8),Na("@openClose",t.showContent.maroon),wi(5),hs("card--active","open"===t.showContent.purple),wi(6),Na("@openClose",t.showContent.purple),wi(5),hs("card--active","open"===t.showContent.plum),wi(8),Na("@openClose",t.showContent.plum),wi(5),hs("card--active","open"===t.showContent.blue),wi(8),Na("@openClose",t.showContent.blue))},directives:[Qg,hg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:16px}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{background-image:url(FPO_AnimatedBackground_Home@2x.fff87d56c477545ed73f.png)!important;background-size:auto 100%;background-position:25% 0}.container[_ngcontent-%COMP%]{text-align:center;color:#fff}.card__inner[_ngcontent-%COMP%]{align-items:center}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;line-height:1.4;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:100%;max-width:50px;flex:0 1 auto;text-align:center;margin-right:1rem}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:100%;max-height:40px}.card--active[_ngcontent-%COMP%]   .card__inner[_ngcontent-%COMP%]{flex-direction:column;text-align:center}.card--active[_ngcontent-%COMP%]   .card__inner[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-bottom:1rem}.card--active[_ngcontent-%COMP%]   .card__inner[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:1rem;text-align:center}.card--active[_ngcontent-%COMP%]   .card__hidden-content[_ngcontent-%COMP%]{text-align:center}"],data:{animation:[a_,s_]}}),e_),l_=n("muhD"),u_=n("g0/r"),h_=((r_=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:null},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(_classCallCheck(this,e),this.config=t,this.googleTagManagerId=n,this.googleTagManagerAuth=r,this.googleTagManagerPreview=i,this.isLoaded=!1,this.browserGlobals={windowRef:function(){return window},documentRef:function(){return document}},null==this.config&&(this.config={id:null}),this.config=Object.assign(Object.assign({},this.config),{id:n||this.config.id,gtm_auth:r||this.config.gtm_auth,gtm_preview:i||this.config.gtm_preview}),null==this.config.id)throw new Error("Google tag manager ID not provided.")}return _createClass(e,[{key:"getDataLayer",value:function(){var e=this.browserGlobals.windowRef();return e.dataLayer=e.dataLayer||[],e.dataLayer}},{key:"pushOnDataLayer",value:function(e){this.getDataLayer().push(e)}},{key:"addGtmToDom",value:function(){if(!this.isLoaded){var e=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});var t=e.createElement("script");t.id="GTMscript",t.async=!0,t.src=this.applyGtmQueryParams("//www.googletagmanager.com/gtm.js"),e.head.insertBefore(t,e.head.firstChild);var n=e.createElement("iframe");n.setAttribute("src",this.applyGtmQueryParams("//www.googletagmanager.com/ns.html")),n.style.width="0",n.style.height="0",n.style.display="none",n.style.visibility="hidden";var r=e.createElement("noscript");r.id="GTMiframe",r.appendChild(n),e.body.insertBefore(r,e.body.firstChild),this.isLoaded=!0}}},{key:"pushTag",value:function(e){this.isLoaded||this.addGtmToDom(),this.pushOnDataLayer(e)}},{key:"applyGtmQueryParams",value:function(e){var t=this;return-1===e.indexOf("?")&&(e+="?"),e+Object.keys(this.config).filter((function(e){return t.config[e]})).map((function(e){return"".concat(e,"=").concat(t.config[e])})).join("&")}}]),e}()).\u0275fac=function(e){return new(e||r_)(Ze("googleTagManagerConfig",8),Ze("googleTagManagerId",8),Ze("googleTagManagerAuth",8),Ze("googleTagManagerPreview",8))},r_.\u0275prov=fe({factory:function(){return new r_(Ze("googleTagManagerConfig",8),Ze("googleTagManagerId",8),Ze("googleTagManagerAuth",8),Ze("googleTagManagerPreview",8))},token:r_,providedIn:"root"}),r_),f_=((n_=function(){function e(t){_classCallCheck(this,e),this.gtmService=t,this.allowTracking=JSON.parse(localStorage.getItem("allowTracking"))}return _createClass(e,[{key:"trackEvent",value:function(e,t){this.allowTracking?(console.log("Tracked an event:",{event:e,data:t}),this.gtmService.pushTag({event:e,data:t})):console.log("Cannot track events because the user has not allowed tracking.")}}]),e}()).\u0275fac=function(e){return new(e||n_)(Ze(h_))},n_.\u0275prov=fe({token:n_,factory:n_.\u0275fac,providedIn:"root"}),n_),d_=((t_=function(){function e(t){_classCallCheck(this,e),this.router=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"click",value:function(){this.routerLink?this.router.navigateByUrl(this.routerLink):window.history.back()}}]),e}()).\u0275fac=function(e){return new(e||t_)(Aa(lg))},t_.\u0275cmp=gt({type:t_,selectors:[["app-back-button"]],inputs:{routerLink:"routerLink"},decls:2,vars:0,consts:[[1,"back-button",3,"click"],["src","assets/images/aws/mobile/back.svg"]],template:function(e,t){1&e&&(Da(0,"a",0),za("click",(function(){return t.click()})),La(1,"img",1),Ga())},styles:[".back-button[_ngcontent-%COMP%]{position:fixed;top:70px;left:8px;width:40px;height:40px;background-size:50px;text-indent:-9999rem;overflow:hidden;z-index:88;border:3px solid #fff;border-radius:100%;background:hsla(0,0%,100%,.25) 0 0 no-repeat padding-box;display:flex;justify-content:center;align-items:center}"]}),t_);function p_(e){return(p_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g_(e,t,n[t])}))}return e}function m_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var __={},y_={};try{"undefined"!=typeof window&&(__=window),"undefined"!=typeof document&&(y_=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(kT){}var C_=(__.navigator||{}).userAgent,b_=void 0===C_?"":C_,k_=__,w_=y_,P_=!!w_.documentElement&&!!w_.head&&"function"==typeof w_.addEventListener&&"function"==typeof w_.createElement,O_=(~b_.indexOf("MSIE")||b_.indexOf("Trident/"),[1,2,3,4,5,6,7,8,9,10]),M_=O_.concat([11,12,13,14,15,16,17,18,19,20]),S_={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},T_=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",S_.GROUP,S_.SWAP_OPACITY,S_.PRIMARY,S_.SECONDARY].concat(O_.map((function(e){return"".concat(e,"x")}))).concat(M_.map((function(e){return"w-".concat(e)}))),k_.FontAwesomeConfig||{});w_&&"function"==typeof w_.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=m_(e,2),n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=w_.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=r&&(T_[n]=r)}));var x_=v_({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},T_);x_.autoReplaceSvg||(x_.observeMutations=!1);var A_=v_({},x_);k_.FontAwesomeConfig=A_;var E_=k_||{};E_.___FONT_AWESOME___||(E_.___FONT_AWESOME___={}),E_.___FONT_AWESOME___.styles||(E_.___FONT_AWESOME___.styles={}),E_.___FONT_AWESOME___.hooks||(E_.___FONT_AWESOME___.hooks={}),E_.___FONT_AWESOME___.shims||(E_.___FONT_AWESOME___.shims=[]);var I_=E_.___FONT_AWESOME___,N_=[];P_&&((w_.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(w_.readyState)||w_.addEventListener("DOMContentLoaded",(function e(){w_.removeEventListener("DOMContentLoaded",e),N_.map((function(e){return e()}))})));var R_,D_=function(){},G_="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,L_="undefined"==typeof setImmediate?setTimeout:setImmediate,H_=[];function V_(){for(var e=0;e<H_.length;e++)H_[e][0](H_[e][1]);H_=[],R_=!1}function F_(e,t){H_.push([e,t]),R_||(R_=!0,L_(V_,0))}function B_(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"==typeof i){n="fulfilled";try{r=i(r)}catch(kT){W_(o,kT)}}j_(o,r)||("fulfilled"===n&&z_(o,r),"rejected"===n&&W_(o,r))}function j_(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===p_(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?U_(e,r):z_(e,r))}),(function(t){n||(n=!0,W_(e,t))})),!0}}catch(kT){return n||W_(e,kT),!0}return!1}function z_(e,t){e!==t&&j_(e,t)||U_(e,t)}function U_(e,t){"pending"===e._state&&(e._state="settled",e._data=t,F_(X_,e))}function W_(e,t){"pending"===e._state&&(e._state="settled",e._data=t,F_(K_,e))}function q_(e){e._then=e._then.forEach(B_)}function X_(e){e._state="fulfilled",q_(e)}function K_(e){e._state="rejected",q_(e),!e._handled&&G_&&global.process.emit("unhandledRejection",e._data,e)}function Q_(e){global.process.emit("rejectionHandled",e)}function Z_(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Z_==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){W_(t,e)}try{e((function(e){z_(t,e)}),n)}catch(kT){n(kT)}}(e,this)}Z_.prototype={constructor:Z_,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(D_),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&G_&&F_(Q_,this)),"fulfilled"===this._state||"rejected"===this._state?F_(B_,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Z_.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Z_((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"==typeof a.then?a.then(o(s),n):r[s]=a;i||t(r)}))},Z_.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Z_((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Z_.resolve=function(e){return e&&"object"===p_(e)&&e.constructor===Z_?e:new Z_((function(t){t(e)}))},Z_.reject=function(e){return new Z_((function(t,n){n(e)}))};var Y_={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function $_(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function J_(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ey(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function ty(e){return e.size!==Y_.size||e.x!==Y_.x||e.y!==Y_.y||e.rotate!==Y_.rotate||e.flipX||e.flipY}function ny(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var ry={x:0,y:0,width:"100%",height:"100%"};function iy(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function oy(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,c=e.title,l=e.maskId,u=e.titleId,h=e.extra,f=e.watchable,d=void 0!==f&&f,p=r.found?r:n,g=p.width,v=p.height,m="fak"===i,_=m?"":"fa-w-".concat(Math.ceil(g/v*16)),y=[A_.replacementClass,o?"".concat(A_.familyPrefix,"-").concat(o):"",_].filter((function(e){return-1===h.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(h.classes).join(" "),C={children:[],attributes:v_({},h.attributes,{"data-prefix":i,"data-icon":o,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},b=m&&!~h.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};d&&(C.attributes["data-fa-i2svg"]=""),c&&C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(u||$_())},children:[c]});var k=v_({},C,{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:s,styles:v_({},b,h.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=i.icon,c=o.icon,l=ny({transform:e.transform,containerWidth:o.width,iconWidth:i.width}),u={tag:"rect",attributes:v_({},ry,{fill:"white"})},h=s.children?{children:s.children.map(iy)}:{},f={tag:"g",attributes:v_({},l.inner),children:[iy(v_({tag:s.tag,attributes:v_({},s.attributes,l.path)},h))]},d={tag:"g",attributes:v_({},l.outer),children:[f]},p="mask-".concat(a||$_()),g="clip-".concat(a||$_()),v={tag:"mask",attributes:v_({},ry,{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,d]},m={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=c,"g"===t.tag?t.children:[t])},v]};return n.push(m,{tag:"rect",attributes:v_({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(p,")")},ry)}),{children:n,attributes:r}}(k):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=ey(e.styles);if(o.length>0&&(n.style=o),ty(i)){var a=ny({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:v_({},a.outer),children:[{tag:"g",attributes:v_({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:v_({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(k),P=w.attributes;return k.children=w.children,k.attributes=P,s?function(e){var t=e.iconName,n=e.children,r=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:v_({},e.attributes,{id:!0===r?"".concat(e.prefix,"-").concat(A_.familyPrefix,"-").concat(t):r}),children:n}]}]}(k):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(ty(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=ey(v_({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(k)}var ay=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<c;i++)a=l(a,e[o=s[i]],o,e);return a};function sy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof I_.hooks.addPack||i?I_.styles[e]=v_({},I_.styles[e]||{},o):I_.hooks.addPack(e,o),"fas"===e&&sy("fa",t)}var cy=I_.styles,ly=I_.shims,uy=function(){var e=function(e){return ay(cy,(function(t,n,r){return t[r]=ay(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in cy;ay(ly,(function(e,n){var r=n[1];return"far"!==r||t||(r="fas"),e[n[0]]={prefix:r,iconName:n[2]},e}),{})};function hy(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function fy(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?J_(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(J_(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(fy).join(""),"</").concat(t,">")}function dy(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}uy(),(dy.prototype=Object.create(Error.prototype)).constructor=dy;var py={fill:"currentColor"},gy={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},vy=(v_({},py,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),v_({},gy,{attributeName:"opacity"}));function my(e){var t=e[0],n=e[1],r=m_(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(A_.familyPrefix,"-").concat(S_.GROUP)},children:[{tag:"path",attributes:{class:"".concat(A_.familyPrefix,"-").concat(S_.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(A_.familyPrefix,"-").concat(S_.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function _y(){A_.autoAddCss&&!Ty&&(function(e){if(e&&P_){var t=w_.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=w_.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}w_.head.insertBefore(t,r)}}(function(){var e="svg-inline--fa",t=A_.familyPrefix,n=A_.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var i=new RegExp("\\.".concat("fa","\\-"),"g"),o=new RegExp("\\--".concat("fa","\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(i,".".concat(t,"-")).replace(o,"--".concat(t,"-")).replace(a,".".concat(n))}return r}()),Ty=!0)}function yy(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return fy(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(P_){var t=w_.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Cy(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return hy(Sy.definitions,n,r)||hy(I_.styles,n,r)}v_({},py,{cx:"256",cy:"364",r:"28"}),v_({},gy,{attributeName:"r",values:"28;14;28;28;14;28;"}),v_({},vy,{values:"1;0;1;1;0;1;"}),v_({},py,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),v_({},vy,{values:"1;0;0;0;0;1;"}),v_({},py,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),v_({},vy,{values:"0;0;1;1;0;0;"});var by,ky,wy,Py,Oy,My,Sy=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t;return(t=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=v_({},e.definitions[t]||{},i[t]),sy(t,i[t]),uy()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}()),Ty=!1,xy=(by=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Y_:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,c=t.maskId,l=void 0===c?null:c,u=t.title,h=void 0===u?null:u,f=t.titleId,d=void 0===f?null:f,p=t.classes,g=void 0===p?[]:p,v=t.attributes,m=void 0===v?{}:v,_=t.styles,y=void 0===_?{}:_;if(e){var C=e.prefix,b=e.iconName,k=e.icon;return yy(v_({type:"icon"},e),(function(){return _y(),A_.autoA11y&&(h?m["aria-labelledby"]="".concat(A_.replacementClass,"-title-").concat(d||$_()):(m["aria-hidden"]="true",m.focusable="false")),oy({icons:{main:my(k),mask:s?my(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:b,transform:v_({},Y_,r),symbol:o,title:h,maskId:l,titleId:d,extra:{attributes:m,styles:y,classes:g}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Cy(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Cy(r||{})),by(n,v_({},t,{mask:r}))}),Ay=((wy=function e(){_classCallCheck(this,e),this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}).\u0275fac=function(e){return new(e||wy)},wy.\u0275prov=fe({factory:function(){return new wy},token:wy,providedIn:"root"}),wy),Ey=((ky=function(){function e(){_classCallCheck(this,e),this.definitions={}}return _createClass(e,[{key:"addIcons",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];o.prefix in this.definitions||(this.definitions[o.prefix]={}),this.definitions[o.prefix][o.iconName]=o}}},{key:"addIconPacks",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=function(){var t=a[o],n=Object.keys(t).map((function(e){return t[e]}));e.addIcons.apply(e,_toConsumableArray(n))},o=0,a=n;o<a.length;o++)i()}},{key:"getIconDefinition",value:function(e,t){return e in this.definitions&&t in this.definitions[e]?this.definitions[e][t]:null}}]),e}()).\u0275fac=function(e){return new(e||ky)},ky.\u0275prov=fe({factory:function(){return new ky},token:ky,providedIn:"root"}),ky),Iy=((My=function(){function e(){_classCallCheck(this,e),this.stackItemSize="1x"}return _createClass(e,[{key:"ngOnChanges",value:function(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}]),e}()).\u0275fac=function(e){return new(e||My)},My.\u0275dir=bt({type:My,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Hs]}),My),Ny=((Oy=function(){function e(t,n,r,i){_classCallCheck(this,e),this.sanitizer=t,this.config=n,this.iconLibrary=r,this.stackItem=i,this.classes=[]}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(null==this.icon&&null==this.config.fallbackIcon)return function(){throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")}();var t;if(t=null==this.icon?this.config.fallbackIcon:this.icon,e){var n=this.findIconDefinition(t);if(null!=n){var r=this.buildParams();this.renderIcon(n,r)}}}},{key:"render",value:function(){this.ngOnChanges({})}},{key:"findIconDefinition",value:function(e){var t=function(e,t){return void 0!==(n=e).prefix&&void 0!==n.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:t,iconName:e}:void 0;var n}(e,this.config.defaultPrefix);if("icon"in t)return t;var n=this.iconLibrary.getIconDefinition(t.prefix,t.iconName);if(null!=n)return n;var r=Cy(t);if(null!=r){var i="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+i);else if(!this.config.globalLibrary)throw new Error(i);return r}return function(e){throw new Error("Could not find icon with iconName=".concat(e.iconName," and prefix=").concat(e.prefix," in the icon library."))}(t),null}},{key:"buildParams",value:function(){var e,t,n,r,i,o={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},a="string"==typeof this.transform?(e=this.transform,t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0},e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t):this.transform;return{title:this.title,transform:a,classes:[].concat(_toConsumableArray((n=o,_defineProperty2(r={"fa-spin":n.spin,"fa-pulse":n.pulse,"fa-fw":n.fixedWidth,"fa-border":n.border,"fa-inverse":n.inverse,"fa-layers-counter":n.counter,"fa-flip-horizontal":"horizontal"===n.flip||"both"===n.flip,"fa-flip-vertical":"vertical"===n.flip||"both"===n.flip},"fa-"+n.size,null!==n.size),_defineProperty2(r,"fa-rotate-"+n.rotate,null!==n.rotate),_defineProperty2(r,"fa-pull-"+n.pull,null!==n.pull),_defineProperty2(r,"fa-stack-"+n.stackItemSize,null!=n.stackItemSize),i=r,Object.keys(i).map((function(e){return i[e]?e:null})).filter((function(e){return e})))),_toConsumableArray(this.classes)),mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}},{key:"renderIcon",value:function(e,t){var n=xy(e,t);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}]),e}()).\u0275fac=function(e){return new(e||Oy)(Aa(Uh),Aa(Ay),Aa(Ey),Aa(Iy,8))},Oy.\u0275cmp=gt({type:Oy,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,t){2&e&&(xs("innerHTML",t.renderedIconHTML,Yr),Sa("title",t.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[Hs],decls:0,vars:0,template:function(e,t){},encapsulation:2}),Oy),Ry=((Py=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Py}),Py.\u0275inj=de({factory:function(e){return new(e||Py)}}),Py);function Dy(e,t){1&e&&(Da(0,"h1"),Ms(1," Service Cloud"),La(2,"br"),Ms(3," and Voice "),Ga())}function Gy(e,t){1&e&&(Ha(0),Da(1,"div",6),Da(2,"div",7),La(3,"img",8),Ga(),Da(4,"h2"),Ms(5,"Service Cloud and Voice"),Ga(),Da(6,"p"),Ms(7," Take a virtual hike around the waterfall and learn about how Service Cloud Voice with Amazon Connect uses AI to drive productivity and customer satisfaction and you could win a prize. "),Ga(),Da(8,"button",9),Ms(9,"Explore"),Ga(),Ga(),Va())}function Ly(e,t){if(1&e&&(Ha(0),Da(1,"a",10),Da(2,"div",11),Da(3,"div"),Da(4,"h5"),Ms(5,"WATCH CUSTOMER INTERVIEW"),Ga(),Da(6,"h3"),Ms(7," Providing Deeply Personal Customer Experiences "),Ga(),Ga(),La(8,"fa-icon",12),Ga(),Ga(),Da(9,"a",13),Da(10,"div",11),Da(11,"div"),Da(12,"h5"),Ms(13,"PLAY GAME"),Ga(),Da(14,"h3"),Ms(15," Service Cloud and Voice "),Ga(),Ga(),La(16,"fa-icon",12),Ga(),Ga(),Da(17,"a",14),Da(18,"div",11),Da(19,"div"),Da(20,"h5"),Ms(21,"WATCH DEMO"),Ga(),Da(22,"h3"),Ms(23," Deploy out of the Box Intelligent Telephony with Service Cloud Voice & Amazon Connect "),Ga(),Ga(),La(24,"fa-icon",12),Ga(),Ga(),Da(25,"a",15),Da(26,"div",11),Da(27,"h3",16),Ms(28," Learn More About Amazon Connect "),Ga(),La(29,"fa-icon",12),Ga(),Ga(),Da(30,"a",17),Da(31,"div",11),Da(32,"h3",16),Ms(33," Service Cloud Voice Website "),Ga(),La(34,"fa-icon",12),Ga(),Ga(),Da(35,"a",18),Da(36,"div",11),Da(37,"h3",16),Ms(38," IQPC State of Voice Report "),Ga(),La(39,"fa-icon",12),Ga(),Ga(),Da(40,"a",19),Da(41,"div",11),Da(42,"h3",16),Ms(43," Omdia Omni-Channel Service Report "),Ga(),La(44,"fa-icon",12),Ga(),Ga(),Da(45,"a",20),Da(46,"div",11),La(47,"img",21),Da(48,"h3"),Ms(49,"Visit Trailhead"),Ga(),La(50,"fa-icon",12),Ga(),Ga(),Va()),2&e){var n=Ka();wi(8),Na("icon",n.icons.rightArrow),wi(8),Na("icon",n.icons.rightArrow),wi(8),Na("icon",n.icons.rightArrow),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(6),Na("icon",n.icons.newTab)}}var Hy,Vy,Fy=((Vy=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos"),this.icons={newTab:u_.faExternalLinkAlt,rightArrow:l_.faChevronRight}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||Vy)(Aa(lg),Aa(f_))},Vy.\u0275cmp=gt({type:Vy,selectors:[["app-service-cloud-and-voice-page"]],decls:8,vars:4,consts:[["backgroundImage","assets/images/aws/waterfallbg.45e880.png",3,"centerContent"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood","card--mobile"],[1,"logo"],["src","assets/images/aws/mobile/Logo_W@4x@2x.png","alt","AWS + Salesforce",1,"img-fluid"],["routerLink","videos",1,"btn","btn-primary"],["routerLink","/video/providing-deeply-personal-customer-experiences",1,"card","card--maroon","card--bg-img",2,"background-image","url(assets/images/aws/astro.49cfe2.png)"],[1,"top"],[3,"icon"],["routerLink","/game",1,"card","card--maroon","card--bg-img",2,"background-image","url(assets/images/aws/waterfall.959869.png)"],["routerLink","/video/deploy-out-of-the-box",1,"card","card--maroon","card--bg-img",2,"background-image","url(assets/images/aws/phonebooth.157bbb.png)"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/Private%20Connect%20Datasheet.pdf","target","_blank",1,"card","card--maroon"],[1,"out"],["href","https://www.salesforce.com/products/service-cloud/solutions/call-center-management/?sfdc-redirect=263","target","_blank",1,"card","card--maroon"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/StateoftheVoiceChannel_Salesforce%20Final.pdf","target","_blank",1,"card","card--maroon"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/Omdia%20Whitepaper%20Service%20Cloud%20Voice.pdf","target","_blank",1,"card","card--maroon"],["href","https://trailhead.salesforce.com/en/search?keywords=aws","target","_blank",1,"card","card--maroon"],["src","assets/images/aws/trailhead%20logo.ec12ee.svg","alt","Trailhead",1,"trailhead-icon"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),La(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ta(5,Dy,4,0,"h1",5),Ta(6,Gy,10,0,"ng-container",5),Ta(7,Ly,51,8,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!t.showVideos),wi(5),Na("ngIf",t.showVideos),wi(1),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Qg,d_,ug,Xu,hg,Ny],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),Vy),By=((Hy=function(){function e(t,n,r,i){_classCallCheck(this,e),this.route=t,this.router=n,this.mobileService=r,this.analyticsService=i}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.paramSubscription=this.route.params.subscribe((function(t){e.videoId=t.id;var n=null;Object.keys(uu.videos).forEach((function(e){uu.videos[e].mobileUri===t.id&&(n=uu.videos[e])})),e.src=n.src,e.background=n.background,e.previousUrl=n.menuPage,e.analyticsLabel=n.analyticsLabel,e.mobileService.watchedVideo(e.videoId),e.analyticsService.trackEvent("playVideo",e.analyticsLabel)}))}},{key:"ngOnDestroy",value:function(){this.paramSubscription.unsubscribe()}},{key:"close",value:function(){this.router.navigateByUrl(this.previousUrl)}}]),e}()).\u0275fac=function(e){return new(e||Hy)(Aa(Jd),Aa(lg),Aa(Wg),Aa(f_))},Hy.\u0275cmp=gt({type:Hy,selectors:[["app-mobile-video-player"]],decls:7,vars:3,consts:[[2,"padding","58px 0 0",3,"centerContent","backgroundImage"],[1,"video-wrapper-background",3,"click"],[1,"video-wrapper"],[1,"close-video",3,"click"],["width","820","height","461","autoplay","","controls","","playsinline","",3,"src"],["video",""]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),za("click",(function(){return t.close()})),Ga(),Da(2,"div",2),Da(3,"button",3),za("click",(function(){return t.close()})),Ms(4,"Close"),Ga(),La(5,"video",4,5),Ga(),Ga()),2&e&&(Na("centerContent",!0)("backgroundImage",t.background),wi(5),Na("src",t.src,Jr))},directives:[Qg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.video-wrapper-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.video-wrapper[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 50%;background-size:110% 100%;width:100%;max-width:1280px;padding-bottom:calc(56.25% + 56px);position:relative;border-radius:12px;margin:0 auto}@media (orientation:landscape) and (max-width:813px){.video-wrapper[_ngcontent-%COMP%]{max-width:none;padding-bottom:calc(56.25% - 56px)}}.video-wrapper[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{width:100%;height:calc(100% - 56px);position:absolute;top:28px}.video-wrapper[_ngcontent-%COMP%]   .close-video[_ngcontent-%COMP%]{width:28px;height:28px;position:absolute;top:0;right:0;background:transparent url(x.3ad636551768e809bba0.svg) no-repeat 0 0;background-size:cover;text-indent:-9999rem;border:0}"]}),Hy),jy=function e(){_classCallCheck(this,e)},zy=function e(){_classCallCheck(this,e)},Uy=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,_toConsumableArray(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter((function(e){return-1===i.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Wy=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return qy(e)}},{key:"encodeValue",value:function(e){return qy(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function qy(e){return encodeURIComponent(e).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 Xy=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Wy,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var r=e.indexOf("="),i=_slicedToArray2(-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],2),o=i[0],a=i[1],s=n.get(o)||[];s.push(a),n.set(o,s)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var r=n.fromObject[e];t.map.set(e,Array.isArray(r)?r:[r])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function Ky(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Qy(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Zy(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Yy=function(){function e(t,n,r,i){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,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 Uy),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new Xy,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:Ky(this.body)||Qy(this.body)||Zy(this.body)||"string"==typeof this.body?this.body:this.body instanceof Xy?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||Zy(this.body)?null:Qy(this.body)?this.body.type||null:Ky(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xy?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,r,o,{params:l,headers:c,reportProgress:s,responseType:i,withCredentials:a})}}]),e}(),$y=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),Jy=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new Uy,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},eC=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=$y.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Jy),tC=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=$y.Response,e.body=void 0!==r.body?r.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Jy),nC=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(Jy);function rC(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var iC,oC,aC,sC,cC,lC,uC,hC,fC,dC=((iC=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Yy)n=e;else{var o=void 0;o=i.headers instanceof Uy?i.headers:new Uy(i.headers);var a=void 0;i.params&&(a=i.params instanceof Xy?i.params:new Xy({fromObject:i.params})),n=new Yy(e,t,void 0!==i.body?i.body:null,{headers:o,params:a,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var s=Qh(n).pipe(Hf((function(e){return r.handler.handle(e)})));if(e instanceof Yy||"events"===i.observe)return s;var c=s.pipe(af((function(e){return e instanceof tC})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(V((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(V((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(V((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(V((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Xy).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,rC(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,rC(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,rC(n,t))}}]),e}()).\u0275fac=function(e){return new(e||iC)(Ze(jy))},iC.\u0275prov=fe({token:iC,factory:iC.\u0275fac}),iC),pC=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),gC=new Be("HTTP_INTERCEPTORS"),vC=((oC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||oC)},oC.\u0275prov=fe({token:oC,factory:oC.\u0275fac}),oC),mC=/^\)\]\}',?\n/,_C=function e(){_classCallCheck(this,e)},yC=((sC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||sC)},sC.\u0275prov=fe({token:sC,factory:sC.\u0275fac}),sC),CC=((aC=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new k((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new Uy(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new eC({headers:i,status:t,statusText:n,url:o})},l=function(){var t=c(),i=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var u=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var h=l;l=l.replace(mC,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,u&&(u=!1,l={error:f,text:l})}}u?(n.next(new tC({body:l,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new nC({error:l,headers:i,status:o,statusText:a,url:s||void 0}))},u=function(e){var t=c().url,i=new nC({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},h=!1,f=function(t){h||(n.next(c()),h=!0);var i={type:$y.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(e){var t={type:$y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",u),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:$y.Sent}),function(){r.removeEventListener("error",u),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||aC)(Ze(_C))},aC.\u0275prov=fe({token:aC,factory:aC.\u0275fac}),aC),bC=new Be("XSRF_COOKIE_NAME"),kC=new Be("XSRF_HEADER_NAME"),wC=function e(){_classCallCheck(this,e)},PC=((fC=function(){function e(t,n,r){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Bu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||fC)(Ze(pu),Ze(ml),Ze(bC))},fC.\u0275prov=fe({token:fC,factory:fC.\u0275fac}),fC),OC=((hC=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||hC)(Ze(wC),Ze(kC))},hC.\u0275prov=fe({token:hC,factory:hC.\u0275fac}),hC),MC=((uC=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(gC,[]);this.chain=t.reduceRight((function(e,t){return new pC(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||uC)(Ze(zy),Ze(da))},uC.\u0275prov=fe({token:uC,factory:uC.\u0275fac}),uC),SC=((lC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:OC,useClass:vC}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:bC,useValue:t.cookieName}:[],t.headerName?{provide:kC,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=yt({type:lC}),lC.\u0275inj=de({factory:function(e){return new(e||lC)},providers:[OC,{provide:gC,useExisting:OC,multi:!0},{provide:wC,useClass:PC},{provide:bC,useValue:"XSRF-TOKEN"},{provide:kC,useValue:"X-XSRF-TOKEN"}]}),lC),TC=((cC=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:cC}),cC.\u0275inj=de({factory:function(e){return new(e||cC)},providers:[dC,{provide:jy,useClass:MC},CC,{provide:zy,useExisting:CC},yC,{provide:_C,useExisting:yC}],imports:[[SC.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),cC),xC=n("4+EV");function AC(e,t){return new k(t?function(n){return t.schedule(EC,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function EC(e){var t=e.error;e.subscriber.error(t)}var IC,NC=((IC=function(){function e(){var t=this;_classCallCheck(this,e),this.lastMessage=new Zh(null),this.sendToParent=function(e,t){window.parent.postMessage({message:e,params:t},"http://localhost:4200")},this.sendToPlayCanvas=function(e){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(null===(r=null===(n=t.target)||void 0===n?void 0:n.contentWindow)||void 0===r?void 0:r.tellPlayCanvas)&&t.target.contentWindow.tellPlayCanvas({event:e,params:i})},this.getProgressData=function(){return JSON.parse(localStorage.getItem("progressData"))||{}},this.sendStatus=function(){return t.sendToPlayCanvas("sendStatus",{allowTracking:t.allowTracking,regionUS:t.regionUS,formSubmitted:t.formSubmitted,progressData:t.getProgressData()})},this.getStatus=function(){return setTimeout((function(){return t.sendStatus()}),1)}}return _createClass(e,[{key:"init",value:function(e){this.target=e.nativeElement,this.receiveEventsFromPlayCanvas()}},{key:"receiveEventsFromPlayCanvas",value:function(){var e=this;window.playcanvas_says=function(t,n,r,i){e.lastMessage.next({message:t,param1:n,param2:r,param3:i}),e.sendToParent(t,[n,r,i])}}},{key:"setProgress",value:function(e,t){var n=this.getProgressData();return n[e]=t,(null==n?void 0:n.TentContent)&&(null==n?void 0:n.FireContent)&&(n.CampingScene=!0),(null==n?void 0:n.AstroContent)&&(null==n?void 0:n.WaterfallContent)&&(null==n?void 0:n.PhoneboothContent)&&(n.WaterfallScene=!0),(null==n?void 0:n.BulletinContent)&&(null==n?void 0:n.RangerContent)&&(null==n?void 0:n.SummitContent)&&(n.RangerScene=!0),(null==n?void 0:n.TrailheadContent)&&(n.TrailheadScene=!0),n.CampingScene&&n.WaterfallScene&&n.RangerScene&&n.TrailheadScene&&(n.WholeScene=!0),localStorage.setItem("progressData",JSON.stringify(n)),this.getProgressData()}},{key:"shareItem",value:function(e,t){"facebook"===e?this.popup(uu.links.facebook):"twitter"===e?this.popup(uu.links.twitter):"linkedin"===e&&this.popup(uu.links.linkedIn)}},{key:"popup",value:function(e){var t=void 0!==window.screenLeft?window.screenLeft:window.screenX,n=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,i=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,o=r/window.screen.availWidth;window.open(e,"_blank","\n\t\t\ttoolbar=no,\n\t\t\tlocation=no,\n\t\t\tstatus=no,\n\t\t\tmenubar=no,\n\t\t\tscrollbars=yes,\n\t\t\tresizable=yes,\n\t\t\twidth=626,\n\t\t\theight=490,\n\t\t\ttop=".concat((i-490)/2/o+n,",\n\t\t\tleft=").concat((r-626)/2/o+t,"\n\t\t"))}},{key:"evaluatePopups",value:function(){return this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS")),null===this.allowTracking||null===this.regionUS?"compliance":null}},{key:"formSubmitted",get:function(){return this.formSubmittedValue},set:function(e){this.formSubmittedValue=e,null!==e&&localStorage.setItem("formSubmitted",e.toString())}},{key:"regionUS",get:function(){return this.regionValue},set:function(e){this.regionValue=e,null!==e&&localStorage.setItem("regionUS",e.toString())}},{key:"allowTracking",get:function(){return this.trackingValue},set:function(e){this.trackingValue=e,null!==e&&localStorage.setItem("allowTracking",e.toString())}}]),e}()).\u0275fac=function(e){return new(e||IC)},IC.\u0275prov=fe({token:IC,factory:IC.\u0275fac,providedIn:"root"}),IC);function RC(e,t){if(1&e&&(Da(0,"div"),Ms(1),Ga()),2&e){var n=t.$implicit;wi(1),Ts(" ",n," ")}}function DC(e,t){if(1&e&&(Da(0,"div",37),Ta(1,RC,2,1,"div",38),Ga()),2&e){var n=Ka();wi(1),Na("ngForOf",n.errors)}}var GC,LC=((GC=function(){function e(t,n,r,i){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.route=i,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/email",this.environment=uu,this.jsonHeader={headers:new Uy({"Content-Type":"application/json"})},this.icons={close:xC.faTimes},this.formGroup=this.formBuilder.group({modal_type:new ym("Help"),first_name:new ym(null),last_name:new ym(null),company:new ym(null),email:new ym(null),product_interest:new ym(""),meeting_type:new ym(""),input_text:new ym(null)})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.paramSubscription=this.route.params.subscribe((function(t){e.formGroup.patchValue({modal_type:t.type.charAt(0).toUpperCase()+t.type.slice(1)})})),!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({email:"test0125@gmail.com",first_name:"Test",last_name:"User",company:"Conductive",product_interest:"Sales Cloud + G Suite",meeting_type:"General Inquiry",input_text:"Hello world"})}},{key:"ngOnDestroy",value:function(){this.paramSubscription.unsubscribe()}},{key:"close",value:function(){window.history.back()}},{key:"submit",value:function(e){var t=this;e.source="Google",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(bf((function(e){var n,r;return t.errors="string"==typeof e.error?[e.error]:null===(r=null===(n=e.error)||void 0===n?void 0:n.errors)||void 0===r?void 0:r.map((function(e){return t.humanizeError(e)})),t.status="ready",AC(e.error)}))).subscribe((function(e){t.status="ready",t.close()})))}},{key:"humanizeError",value:function(e){var t;return"Invalid value"===e.msg&&(t="The ".concat(e.param.replace(/_/g," ")," field is required.")),t||(t="An unknown error has occurred."),t}}]),e}()).\u0275fac=function(e){return new(e||GC)(Aa(NC),Aa(jm),Aa(dC),Aa(Jd))},GC.\u0275cmp=gt({type:GC,selectors:[["app-request-meeting-mobile-form"]],decls:71,vars:7,consts:[["backgroundImage","assets/images/mobile-bg-pwc.jpg",2,"padding","58px 0 0"],[1,"container","height-100"],[1,"row","height-100"],[1,"col-lg-12","col-lg-12--no-padding-sm"],[1,"card","card--teal"],[1,"card__close",3,"click"],["src","assets/images/salesforce.svg","alt","Salesforce"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"row"],[1,"col-lg-12"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],["for","company",1,"sr-only"],["type","search","id","company","formControlName","company","placeholder","Company",1,"form-control"],[1,"row","form-group"],["for","product_interest",1,"sr-only"],["id","product_interest","formControlName","product_interest",1,"form-control"],["value","","selected",""],["value","Marketing Cloud + Analytics 360"],["value","Sales Cloud + G Suite"],["value","Tableau + BigQuery"],["value","Other"],["for","meeting_type",1,"sr-only"],["id","meeting_type","formControlName","meeting_type",1,"form-control"],["value","General Inquiry"],["value","Request a Demo"],["value","Follow-up Meeting"],["value","Request Pricing"],["for","input_text",1,"sr-only"],["id","input_text","formControlName","input_text","placeholder","Optional text here",1,"form-control"],[1,"buttons"],["type","submit",1,"btn","btn-white",3,"disabled"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"button",5),za("click",(function(){return t.close()})),Ga(),La(6,"img",6),Da(7,"h2"),Ms(8,"Schedule a meeting and talk to an expert."),Ga(),Da(9,"form",7),za("submit",(function(){return t.submit(t.formGroup.value)})),Ta(10,DC,2,1,"div",8),Da(11,"div",9),Da(12,"div",10),Da(13,"label",11),Ms(14,"First Name"),Ga(),La(15,"input",12),Ga(),Ga(),Da(16,"div",9),Da(17,"div",10),Da(18,"label",13),Ms(19,"Last Name"),Ga(),La(20,"input",14),Ga(),Ga(),Da(21,"div",9),Da(22,"div",10),Da(23,"label",15),Ms(24,"Email"),Ga(),La(25,"input",16),Ga(),Ga(),Da(26,"div",9),Da(27,"div",10),Da(28,"label",17),Ms(29,"Company"),Ga(),La(30,"input",18),Ga(),Ga(),Da(31,"div",19),Da(32,"div",10),Da(33,"label",20),Ms(34,"Product Interest"),Ga(),Da(35,"select",21),Da(36,"option",22),Ms(37,"Product Interest"),Ga(),Da(38,"option",23),Ms(39,"Marketing Cloud + Analytics 360"),Ga(),Da(40,"option",24),Ms(41,"Sales Cloud + G Suite"),Ga(),Da(42,"option",25),Ms(43,"Tableau + BigQuery"),Ga(),Da(44,"option",26),Ms(45,"Other"),Ga(),Ga(),Ga(),Ga(),Da(46,"div",9),Da(47,"div",10),Da(48,"label",27),Ms(49,"Meeting Type"),Ga(),Da(50,"select",28),Da(51,"option",22),Ms(52,"Meeting Type"),Ga(),Da(53,"option",29),Ms(54,"General Inquiry"),Ga(),Da(55,"option",30),Ms(56,"Request a Demo"),Ga(),Da(57,"option",31),Ms(58,"Follow-up Meeting"),Ga(),Da(59,"option",32),Ms(60,"Request Pricing"),Ga(),Ga(),Ga(),Ga(),Da(61,"div",9),Da(62,"div",10),Da(63,"label",33),Ms(64,"Optional text here"),Ga(),La(65,"textarea",34),Ga(),Ga(),Da(66,"div",9),Da(67,"div",10),Da(68,"div",35),Da(69,"button",36),Ms(70," Submit "),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(9),hs("loading","loading"===t.status),Na("formGroup",t.formGroup),wi(1),Na("ngIf",(null==t.errors?null:t.errors.length)>0),wi(59),hs("disabled",!t.formGroup.valid),Na("disabled",!t.formGroup.valid))},directives:[Qg,Pm,_v,Sm,Xu,cv,mv,Fm,Xv,Kv,em,Wu],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}img[_ngcontent-%COMP%]{max-width:88px;margin-bottom:22px}.card[_ngcontent-%COMP%], .height-100[_ngcontent-%COMP%]{min-height:100%}.card[_ngcontent-%COMP%]{border-radius:0;margin-top:0;margin-bottom:0}@media (min-width:813px){.card[_ngcontent-%COMP%]{min-height:auto}}.card[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:16px}.card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:17px;margin-bottom:22px;width:100%;text-align:center}@media (max-width:767.98px){.col-lg-12--no-padding-sm[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px;margin-top:1rem}.buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}.buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 1rem;text-transform:uppercase}"]}),GC);function HC(e,t){1&e&&(Da(0,"h1"),Ms(1,"Connected Platforms"),Ga())}function VC(e,t){1&e&&(Ha(0),Da(1,"div",6),Da(2,"div",7),La(3,"img",8),Ga(),Da(4,"h2"),Ms(5,"Connected Platforms"),Ga(),Da(6,"p"),Ms(7," Welcome to our campsite. Watch content by the fire and you can earn a prize by learning about how Salesforce and AWS drive rapid innovation for our user, admin, and developer communities. "),Ga(),Da(8,"button",9),Ms(9,"Explore"),Ga(),Ga(),Va())}function FC(e,t){if(1&e&&(Ha(0),Da(1,"a",10),Da(2,"div",11),Da(3,"div"),Da(4,"h5"),Ms(5,"WATCH CUSTOMER INTERVIEW"),Ga(),Da(6,"h3"),Ms(7," Fireside Chat: Exploring Your Fastest Path from Idea to Impact "),Ga(),Ga(),La(8,"fa-icon",12),Ga(),Ga(),Da(9,"a",13),Da(10,"div",11),Da(11,"div"),Da(12,"h5"),Ms(13,"WATCH NOW"),Ga(),Da(14,"h3"),Ms(15," Easily Create Secure and Private Data Connections Between Salesforce and AWS with Private Connect "),Ga(),Ga(),La(16,"fa-icon",12),Ga(),Ga(),Da(17,"a",14),Da(18,"div",11),Da(19,"h3",15),Ms(20," Private Connect Datasheet "),Ga(),La(21,"fa-icon",12),Ga(),Ga(),Da(22,"a",16),Da(23,"div",11),Da(24,"h3",15),Ms(25," Tableau + AWS "),Ga(),La(26,"fa-icon",12),Ga(),Ga(),Da(27,"a",17),Da(28,"div",11),Da(29,"h3",15),Ms(30," Mulesoft + AWS "),Ga(),La(31,"fa-icon",12),Ga(),Ga(),Da(32,"a",18),Da(33,"div",11),La(34,"img",19),Da(35,"h3"),Ms(36,"Visit Trailhead"),Ga(),La(37,"fa-icon",12),Ga(),Ga(),Va()),2&e){var n=Ka();wi(8),Na("icon",n.icons.rightArrow),wi(8),Na("icon",n.icons.rightArrow),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(6),Na("icon",n.icons.newTab)}}var BC,jC=((BC=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos"),this.icons={newTab:u_.faExternalLinkAlt,rightArrow:l_.faChevronRight}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||BC)(Aa(lg),Aa(f_))},BC.\u0275cmp=gt({type:BC,selectors:[["app-connected-platforms-page"]],decls:8,vars:4,consts:[["backgroundImage","assets/images/aws/campbg.6176ea.png",3,"centerContent"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood","card--mobile"],[1,"logo"],["src","assets/images/aws/mobile/Logo_W@4x@2x.png","alt","AWS + Salesforce",1,"img-fluid"],["routerLink","videos",1,"btn","btn-primary"],["routerLink","/video/exploring-your-fastest-path",1,"card","card--purple","card--bg-img",2,"background-image","url(assets/images/aws/fire.2e313b.png)"],[1,"top"],[3,"icon"],["routerLink","/video/easily-create-secure-and-private-data-connections",1,"card","card--purple","card--bg-img",2,"background-image","url(assets/images/aws/tent.d1d7fc.png)"],["href","https://org62.my.salesforce.com/sfc/p/#000000000062/a/3y000000OezF/NJj4EzWkZQMgr9mCXXInA27IFiEPm0.8aCWw1.MiO7w","target","_blank",1,"card","card--purple"],[1,"out"],["href","https://www.tableau.com/solutions/aws","target","_blank",1,"card","card--purple"],["href","https://www.mulesoft.com/partner/aws","target","_blank",1,"card","card--purple"],["href","https://trailhead.salesforce.com/en/search?keywords=aws","target","_blank",1,"card","card--purple"],["src","assets/images/aws/trailhead%20logo.ec12ee.svg","alt","Trailhead",1,"trailhead-icon"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),La(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ta(5,HC,2,0,"h1",5),Ta(6,VC,10,0,"ng-container",5),Ta(7,FC,38,6,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!t.showVideos),wi(5),Na("ngIf",t.showVideos),wi(1),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Qg,d_,ug,Xu,hg,Ny],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),BC);function zC(e,t){1&e&&(Da(0,"h1"),Ms(1,"Public Sector and Compliance"),Ga())}function UC(e,t){1&e&&(Ha(0),Da(1,"div",6),Da(2,"div",7),La(3,"img",8),Ga(),Da(4,"h2"),Ms(5,"Public Sector and Compliance"),Ga(),Da(6,"p"),Ms(7," Salesforce and AWS enable public sector organizations to innovate and scale their impact while operating in a compliant and secure environment. Come on in to our Ranger Station to see how. "),Ga(),Da(8,"button",9),Ms(9,"Explore"),Ga(),Ga(),Va())}function WC(e,t){if(1&e&&(Ha(0),Da(1,"a",10),Da(2,"div",11),Da(3,"div"),Da(4,"h5"),Ms(5,"WATCH FIRESIDE CHAT"),Ga(),Da(6,"h3"),Ms(7," Fireside Chat: Compliance, Security, and Rapid Innovation in the Public Sector "),Ga(),Ga(),La(8,"fa-icon",12),Ga(),Ga(),Da(9,"a",13),Da(10,"div",11),Da(11,"div"),Da(12,"h5"),Ms(13,"VIEW DATA SHEET"),Ga(),Da(14,"h3"),Ms(15," We Bring Government and Citizens Together "),Ga(),Ga(),La(16,"fa-icon",12),Ga(),Ga(),Da(17,"a",14),Da(18,"div",11),Da(19,"div"),Da(20,"h5"),Ms(21,"WATCH CEO MESSAGE"),Ga(),Da(22,"h3"),Ms(23," Salesforce Global Government Virtual Summit Opening Remarks "),Ga(),Ga(),La(24,"fa-icon",12),Ga(),Ga(),Da(25,"a",15),Da(26,"div",11),Da(27,"h3",16),Ms(28," Government Cloud Plus Website "),Ga(),La(29,"fa-icon",12),Ga(),Ga(),Da(30,"a",17),Da(31,"div",11),Da(32,"h3",16),Ms(33," Public Sector Guided Tour "),Ga(),La(34,"fa-icon",12),Ga(),Ga(),Da(35,"a",18),Da(36,"div",11),Da(37,"h3",16),Ms(38," Watch Webinar "),Ga(),La(39,"fa-icon",12),Ga(),Ga(),Va()),2&e){var n=Ka();wi(8),Na("icon",n.icons.rightArrow),wi(8),Na("icon",n.icons.rightArrow),wi(8),Na("icon",n.icons.rightArrow),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab),wi(5),Na("icon",n.icons.newTab)}}var qC,XC=((qC=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos"),this.icons={newTab:u_.faExternalLinkAlt,rightArrow:l_.faChevronRight}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||qC)(Aa(lg),Aa(f_))},qC.\u0275cmp=gt({type:qC,selectors:[["app-public-sector-and-compliance-page"]],decls:8,vars:4,consts:[["backgroundImage","assets/images/aws/rangerbg.c4ba6b.png",3,"centerContent"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood","card--mobile"],[1,"logo"],["src","assets/images/aws/mobile/Logo_W@4x@2x.png","alt","AWS + Salesforce",1,"img-fluid"],["routerLink","videos",1,"btn","btn-primary"],["routerLink","/video/compliance-security-and-rapid-innovation",1,"card","card--plum","card--bg-img",2,"background-image","url(assets/images/aws/cabin.9dcc9c.png)"],[1,"top"],[3,"icon"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/government-cloud-plus-datasheet.pdf","target","_blank",1,"card","card--plum","card--bg-img",2,"background-image","url(assets/images/aws/bulletin.746a49.png)"],["routerLink","/video/watch-ceo-message",1,"card","card--plum","card--bg-img",2,"background-image","url(assets/images/aws/summit.65b2df.png)"],["href","https://www.salesforce.com/form/events/webinars/form-rss/2454137","target","_blank",1,"card","card--plum"],[1,"out"],["href","https://guided-tour.herokuapp.com/","target","_blank",1,"card","card--plum"],["href","https://www.salesforce.com/solutions/industries/government/overview/","target","_blank",1,"card","card--plum"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),La(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ta(5,zC,2,0,"h1",5),Ta(6,UC,10,0,"ng-container",5),Ta(7,WC,40,6,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!t.showVideos),wi(5),Na("ngIf",t.showVideos),wi(1),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Qg,d_,ug,Xu,hg,Ny],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),qC);function KC(e,t){1&e&&(Da(0,"h1"),Ms(1,"Learning with Trailhead"),Ga())}function QC(e,t){1&e&&(Ha(0),Da(1,"div",6),Da(2,"div",7),La(3,"img",8),Ga(),Da(4,"h2"),Ms(5,"Learning with Trailhead"),Ga(),Da(6,"p"),Ms(7," We\u2019re investing in our admin, developer, and user communities to help you learn about our best-in-class solutions. Skill up for the future with Salesforce and AWS on Trailhead. "),Ga(),Da(8,"button",9),Ms(9,"Explore"),Ga(),Ga(),Va())}function ZC(e,t){if(1&e&&(Ha(0),Da(1,"a",10),Da(2,"div",11),La(3,"img",12),Da(4,"h3"),Ms(5,"Visit Trailhead"),Ga(),La(6,"fa-icon",13),Ga(),Da(7,"p",14),Ms(8," Visit sforce.co/LearnAWS to get started on your learning journey today and you could earn a free AWS Practice Exam voucher. "),Ga(),Ga(),Da(9,"a",15),Da(10,"div",11),La(11,"img",16),Da(12,"h3"),Ms(13," Start another Salesforce\xa0+ AWS Quest "),Ga(),La(14,"fa-icon",13),Ga(),Ga(),Va()),2&e){var n=Ka();wi(6),Na("icon",n.icons.newTab),wi(8),Na("icon",n.icons.rightArrow)}}var YC,$C,JC,eb,tb,nb,rb,ib,ob=((YC=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos"),this.icons={newTab:u_.faExternalLinkAlt,rightArrow:l_.faChevronRight}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||YC)(Aa(lg),Aa(f_))},YC.\u0275cmp=gt({type:YC,selectors:[["app-learning-with-trailhead-page"]],decls:8,vars:4,consts:[["backgroundImage","assets/images/aws/trailheadblur@2x.3689bb.png",3,"centerContent"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood","card--mobile"],[1,"logo"],["src","assets/images/aws/mobile/Logo_W@4x@2x.png","alt","AWS + Salesforce",1,"img-fluid"],["routerLink","videos",1,"btn","btn-primary"],["href","https://trailhead.salesforce.com/en/search?keywords=aws","target","_blank",1,"card","card--blue"],[1,"top"],["src","assets/images/aws/trailhead%20logo.ec12ee.svg","alt","Trailhead",1,"trailhead-icon"],[3,"icon"],[1,"card__description"],["routerLink","/menu",1,"card","card--blue"],["src","assets/images/aws/mobile/hanglider@2x.png","alt","Hang glider","width","60",1,"trailhead-icon"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),La(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ta(5,KC,2,0,"h1",5),Ta(6,QC,10,0,"ng-container",5),Ta(7,ZC,15,2,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!t.showVideos),wi(5),Na("ngIf",t.showVideos),wi(1),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Qg,d_,ug,Xu,Ny,hg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),YC),ab=[{path:"compliance",component:Wm},{path:"",component:Zg,canActivate:[Yg]},{path:"menu",component:c_,canActivate:[Yg]},{path:"service-cloud-and-voice",component:Fy,canActivate:[Yg]},{path:"service-cloud-and-voice/videos",component:Fy,canActivate:[Yg]},{path:"connected-platforms",component:jC,canActivate:[Yg]},{path:"connected-platforms/videos",component:jC,canActivate:[Yg]},{path:"public-sector-and-compliance",component:XC,canActivate:[Yg]},{path:"public-sector-and-compliance/videos",component:XC,canActivate:[Yg]},{path:"learning-with-trailhead",component:ob,canActivate:[Yg]},{path:"learning-with-trailhead/videos",component:ob,canActivate:[Yg]},{path:"video/:id",component:By,canActivate:[Yg]},{path:"request-meeting/:type",component:LC,canActivate:[Yg]}],sb=(($C=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:$C}),$C.\u0275inj=de({factory:function(e){return new(e||$C)},imports:[[xg.forRoot(ab)],xg]}),$C),cb={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},lb={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},ub={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},hb={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},fb=Object.assign(Object.assign(Object.assign({},lb),ub),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),db={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},pb={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},gb=function(e,t){return e[t]=db[t],e},vb=Object.keys(db).reduce(gb,{}),mb=function(e,t){return e[cb[t]]=pb[t],e},_b=Object.keys(pb).reduce(mb,{}),yb=Object.freeze({__proto__:null,BROWSERS:cb,MOBILES_RE:lb,TABLETS_RE:ub,DEVICES:hb,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:fb,OS_VERSIONS_RE_MAP:db,BROWSER_VERSIONS_RE_MAP:pb,OS_VERSIONS_RE:vb,BROWSER_VERSIONS_RE:_b,"\u02750":gb,"\u02751":mb}),Cb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"test",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every((function(t){return n.test(e,t)})):t&&Array.isArray(t.or)?t.or.some((function(t){return n.test(e,t)})):!(!t||!t.not||this.test(e,t.not))}},{key:"exec",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce((function(t,r){return t||n.exec(e,r)}),null):null}}]),e}(),bb=((eb=function(){function e(t){_classCallCheck(this,e),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new Cb,ah(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return _createClass(e,[{key:"setDeviceInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;t!==this.userAgent&&(this.userAgent=t);var n=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(n.forEach((function(n){e[n.prop]=Object.keys(yb[n.const]).reduce((function(r,i){return"device"===yb[n.const][i]&&ah(e.platformId)&&(e.reTree.test(e.userAgent,ub.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(r[yb[n.const][i]]="iPad",Object):(r[yb[n.const][i]]=e.reTree.test(t,yb[n.const+"_RE"][i]),r)}),{})})),n.forEach((function(t){e[t.prop]=Object.keys(yb[t.const]).map((function(e){return yb[t.const][e]})).reduce((function(n,r){return"device"===t.prop&&n===yb[t.const].ANDROID?e[t.prop][r]?r:n:n===yb[t.const].UNKNOWN&&e[t.prop][r]?r:n}),yb[t.const].UNKNOWN)})),this.browser_version="0",this.browser!==cb.UNKNOWN){var r=this.reTree.exec(t,_b[this.browser]);r&&(this.browser_version=r[1])}}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}},{key:"isMobile",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return!this.isTablet(t)&&!!Object.keys(lb).find((function(n){return e.reTree.test(t,lb[n])}))}},{key:"isTablet",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return!(!ah(this.platformId)||!(this.reTree.test(this.userAgent,ub.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(ub).find((function(n){return!!e.reTree.test(t,ub[n])}))}},{key:"isDesktop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent,t=[hb.PS4,hb.CHROME_BOOK,hb.UNKNOWN];return(this.device!==hb.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&t.indexOf(this.device)>-1}}]),e}()).\u0275fac=function(e){return new(e||eb)(Ze(ml))},eb.\u0275prov=fe({factory:function(){return new eb(Ze(ml))},token:eb,providedIn:"root"}),eb),kb=((JC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[bb]}}}]),e}()).\u0275mod=yt({type:JC}),JC.\u0275inj=de({factory:function(e){return new(e||JC)},imports:[[oh]]}),JC),wb=function e(t){_classCallCheck(this,e),this.available=!1,t&&Object.assign(this,{product:t.product,stockRemaining:t.stock_remaining,date:new Date(t.date),available:t.stock_remaining>uu.stockThreshold})},Pb=((ib=function(){function e(t){var n=this;_classCallCheck(this,e),this.http=t,this.endpoint="https://salesforcevirtualadventures.com/stock",this.environment=uu,this.jsonHeader={headers:new Uy({"Content-Type":"application/json"})},this.productAvailabilityValue=[],this.productAvailability=new Zh(this.productAvailabilityValue),this.get=function(){return n.http.get(n.endpoint,Object.assign({},n.jsonHeader)).pipe(bf((function(e){return n.handleError(e)})))},this.get().subscribe((function(e){n.productAvailabilityValue=[],e.filter((function(e){return n.environment.products.includes(e.product)})).map((function(e){return n.productAvailabilityValue.push(new wb(e))})),n.productAvailability.next(n.productAvailabilityValue)}))}return _createClass(e,[{key:"handleError",value:function(e){return e.error instanceof ErrorEvent?console.log("An error occurred:",e.error.message):console.log("Backend returned code ".concat(e.status,", body was: ").concat(e.error)),AC("API Service has failed.")}}]),e}()).\u0275fac=function(e){return new(e||ib)(Ze(dC))},ib.\u0275prov=fe({token:ib,factory:ib.\u0275fac,providedIn:"root"}),ib),Ob=((rb=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.stockService=t,this.playCanvasService=n,this.selectedPrize=new Zh(null),this.openPrizeSelectPopup=new Uc,this.productAvailability=[],this.stockService.productAvailability.subscribe((function(e){return r.productAvailability=e}))}return _createClass(e,[{key:"showPrizePopupIfTriggered",value:function(e,t){if(this.playCanvasService.regionUS&&this.productAvailability&&this.productAvailability.filter((function(e){return e.available})).length>0){var n=(!(null==e?void 0:e.AstroContent)||!(null==e?void 0:e.PhoneboothContent)||!(null==e?void 0:e.WaterfallContent))&&(null==t?void 0:t.AstroContent)&&(null==t?void 0:t.PhoneboothContent)&&(null==t?void 0:t.WaterfallContent);((!(null==e?void 0:e.FireContent)||!(null==e?void 0:e.TentContent))&&(null==t?void 0:t.FireContent)&&(null==t?void 0:t.TentContent)||n)&&this.openPrizeSelectPopup.emit()}}}]),e}()).\u0275fac=function(e){return new(e||rb)(Ze(Pb),Ze(NC))},rb.\u0275prov=fe({token:rb,factory:rb.\u0275fac,providedIn:"root"}),rb),Mb=((nb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||nb)},nb.\u0275cmp=gt({type:nb,selectors:[["app-header"]],decls:2,vars:0,consts:[["href","http://salesforce.com/","target","_blank"]],template:function(e,t){1&e&&(Da(0,"a",0),Ms(1," See More from Salesforce\n"),Ga())},styles:["[_nghost-%COMP%]{height:38px;text-align:right;padding:0 1.8rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:12px}a[_ngcontent-%COMP%]{text-decoration:underline}a[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),nb),Sb=((tb=function(){function e(t,n){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.closed=new Uc,this.visible=!1,this.formGroup=this.formBuilder.group({trackingAllowed:new ym(!0)})}return _createClass(e,[{key:"ngOnInit",value:function(){this.playCanvasService.formSubmitted=JSON.parse(localStorage.getItem("formSubmitted")),this.playCanvasService.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.playCanvasService.regionUS=JSON.parse(localStorage.getItem("regionUS")),this.playCanvasService.allowTracking||(this.visible=!0)}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}},{key:"yes",value:function(){this.playCanvasService.regionUS=!0,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}},{key:"no",value:function(){this.playCanvasService.regionUS=!1,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}}]),e}()).\u0275fac=function(e){return new(e||tb)(Aa(NC),Aa(jm))},tb.\u0275cmp=gt({type:tb,selectors:[["app-compliance"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:18,vars:1,consts:[[1,"backdrop"],[1,"popup"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"disclaimer"]],template:function(e,t){1&e&&(La(0,"div",0),Da(1,"div",1),Da(2,"form",2),Da(3,"h1"),Ms(4,"Are you based in the U.S.?"),Ga(),Da(5,"div",3),Da(6,"button",4),za("click",(function(){return t.yes()})),Ms(7,"Yes"),Ga(),Da(8,"button",4),za("click",(function(){return t.no()})),Ms(9,"No"),Ga(),Ga(),Da(10,"div",5),La(11,"input",6),Da(12,"label",7),Ms(13," By checking this box, I consent to data processing as described in the "),Da(14,"a",8),Ms(15,"Salesforce Privacy Policy"),Ga(),Ga(),Da(16,"p",9),Ms(17," Promotional offers open to eligible Salesforce + Google Virtual Experience attendees residing in the U.S. (incl. DC). While supplies last. Restrictions apply. "),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(2),Na("formGroup",t.formGroup))},directives:[Pm,_v,Sm,ov,mv,Fm],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{cursor:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:680px}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]{width:100%;max-width:550px;margin:3rem auto;display:flex;justify-content:space-between}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{border-radius:11px;margin:0 8px;text-transform:uppercase;width:50%;min-width:80px;padding:1rem}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}h1[_ngcontent-%COMP%]{margin-bottom:1rem;font-weight:700}label[_ngcontent-%COMP%]{font-size:14px}.disclaimer[_ngcontent-%COMP%]{font-weight:lighter;margin:2rem 0 0;padding:0}.disclaimer[_ngcontent-%COMP%], .fine-print[_ngcontent-%COMP%]{font-size:11px}.form-check[_ngcontent-%COMP%]{text-align:left}.form-check[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.form-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:16px}"]}),tb);function Tb(e,t){if(1&e&&(Da(0,"dl"),Da(1,"dt"),Ms(2,"Message:"),Ga(),Da(3,"dd"),Ms(4),Ga(),Da(5,"dt"),Ms(6,"Param 1:"),Ga(),Da(7,"dd"),Ms(8),Ga(),Da(9,"dt"),Ms(10,"Param 2:"),Ga(),Da(11,"dd"),Ms(12),Ga(),Da(13,"dt"),Ms(14,"Param 3:"),Ga(),Da(15,"dd"),Ms(16),Ga(),Ga()),2&e){var n=Ka();wi(4),Ss(n.data.message),wi(4),Ss(n.data.param1),wi(4),Ss(n.data.param2),wi(4),Ss(n.data.param3)}}var xb,Ab=((xb=function(){function e(t){_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Uc,this.visible=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(e){this.data=e,this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}}]),e}()).\u0275fac=function(e){return new(e||xb)(Aa(NC))},xb.\u0275cmp=gt({type:xb,selectors:[["app-popup-message"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},outputs:{closed:"closed"},decls:7,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],[4,"ngIf"],[3,"click"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"p"),Ms(3,"popup-message works!"),Ga(),Ta(4,Tb,17,4,"dl",2),Da(5,"button",3),za("click",(function(){return t.close()})),Ms(6,"Close me"),Ga(),Ga()),2&e&&(wi(4),Na("ngIf",t.data))},directives:[Xu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:640px}"]}),xb),Eb=["video"];function Ib(e,t){if(1&e){var n=Fa();Da(0,"div",8),Da(1,"a",9),za("click",(function(){return $t(n),Ka(2).trackEvent("Learn About Amazon Connect\n")})),Ms(2," Learn About Amazon Connect "),Ga(),Ga()}}function Nb(e,t){if(1&e){var n=Fa();Da(0,"div",8),Da(1,"a",10),za("click",(function(){return $t(n),Ka(2).trackEvent("Get More Information")})),Ms(2," Get More Information "),Ga(),Ga()}}function Rb(e,t){if(1&e&&(Ha(0),Ta(1,Ib,3,0,"div",7),Ta(2,Nb,3,0,"div",7),Va()),2&e){var n=Ka();wi(1),Na("ngIf","PhoneboothContent"===n.videoKey),wi(1),Na("ngIf","SummitContent"===n.videoKey)}}var Db,Gb=((Db=function(){function e(t,n,r,i,o){var a=this;_classCallCheck(this,e),this.playCanvasService=t,this.prizeService=n,this.sanitizer=r,this.renderer=i,this.analyticsService=o,this.environment=uu,this.closed=new Uc,this.visible=!1,this.hasCtasBar=!1,this.achievementAcquired=!1,this.icons={close:xC.faTimes},this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.ngOnInit=function(){return a.calculateChanges()},this.ngOnChanges=function(){return a.calculateChanges()}}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;uu.disableScrubbing&&(this.video.nativeElement.addEventListener("timeupdate",(function(){e.video.nativeElement.seeking||(e.supposedCurrentTime=e.video.nativeElement.currentTime)})),this.video.nativeElement.addEventListener("seeking",(function(){e.video.nativeElement.currentTime-e.supposedCurrentTime>.01&&(e.video.nativeElement.currentTime=e.supposedCurrentTime)})),this.video.nativeElement.addEventListener("ended",(function(){return e.supposedCurrentTime=0})))}},{key:"calculateChanges",value:function(){this.src=this.sanitizer.bypassSecurityTrustResourceUrl(this.videoId),this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.hasCtasBar=uu.showVideoCtaBars&&["Zulily_Box","PWC_Sign_Bottom"].includes(this.videoKey)}},{key:"open",value:function(e){var t=this;this.analyticsService.trackEvent("playVideo",e),this.shouldShowCtaBarNow=!1,this.progressListener=this.renderer.listen(this.video.nativeElement,"timeupdate",(function(){var n=t.video.nativeElement.currentTime,r=Math.floor(100/t.video.nativeElement.duration*n);uu.videos[e].hasOwnProperty("ctas")&&(t.shouldShowCtaBarNow=!1,uu.videos[e].ctas.forEach((function(e){n>=e.start&&n<=e.end&&(t.shouldShowCtaBarNow=!0)}))),r>=95&&(t.achievementAcquired=!0)})),this.achievementAcquired=!1,this.videoKey=e,this.videoId=uu.videos[e].src,this.visible=!0,this.calculateChanges()}},{key:"close",value:function(){if(this.visible=!1,this.video.nativeElement.pause(),this.progressListener(),this.src=null,this.closed.emit(),this.achievementAcquired){var e=this.playCanvasService.getProgressData(),t=this.playCanvasService.setProgress(this.videoKey,!0);this.playCanvasService.sendStatus(),this.prizeService.showPrizePopupIfTriggered(e,t)}}},{key:"trackEvent",value:function(e){this.analyticsService.trackEvent("videoCTA",{video:this.videoKey,cta:e})}}]),e}()).\u0275fac=function(e){return new(e||Db)(Aa(NC),Aa(Ob),Aa(Uh),Aa(nc),Aa(f_))},Db.\u0275cmp=gt({type:Db,selectors:[["app-popup-video"]],viewQuery:function(e,t){var n;1&e&&rl(Eb,!0),2&e&&tl(n=al())&&(t.video=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},outputs:{closed:"closed"},decls:7,vars:5,consts:[[1,"backdrop"],[1,"popup"],["width","820","height","461","autoplay","","controls","",3,"src"],["video",""],[1,"close",3,"click"],[3,"icon"],[4,"ngIf"],["class","cta-overlay",4,"ngIf"],[1,"cta-overlay"],["target","_blank","href","https://aws.amazon.com/connect/features/",1,"right",3,"click"],["target","_blank","href","https://salesforce.com/Government",1,"right",3,"click"]],template:function(e,t){1&e&&(La(0,"div",0),Da(1,"div",1),La(2,"video",2,3),Da(4,"button",4),za("click",(function(){return t.close()})),La(5,"fa-icon",5),Ga(),Ta(6,Rb,3,2,"ng-container",6),Ga()),2&e&&(wi(1),hs("has-ctas",t.hasCtasBar),wi(1),Na("src",t.src,Jr),wi(3),Na("icon",t.icons.close),wi(1),Na("ngIf",t.environment.showVideoCtaOverlays&&t.shouldShowCtaBarNow))},directives:[Ny,Xu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;display:flex;padding:80px}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:calc(100% - 60px);max-width:1280px;height:0;padding-bottom:calc(56.25% - 60px);overflow:visible}@media (min-width:1280px){[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{padding-bottom:0;height:740px}}@media (max-height:674px){[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{padding-bottom:0;height:95vh;width:165.168vh}}[_nghost-%COMP%]   .popup.has-ctas[_ngcontent-%COMP%]{transform:translate(-50%,calc(-50% - 90px));border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%]   video[_ngcontent-%COMP%]{width:calc(100% - 60px);height:calc(100% - 60px);position:absolute;top:30px;left:30px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{top:-10px;right:-7px;font-size:31px}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]{position:absolute;height:16%;bottom:16%;left:30px;width:calc(100% - 60px);pointer-events:none}[_nghost-%COMP%]   .cta-overlay--pwc[_ngcontent-%COMP%]{bottom:19%;height:20%}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:100%;pointer-events:all;background:transparent;color:transparent}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.left[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.right[_ngcontent-%COMP%]{width:50%}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.right[_ngcontent-%COMP%]{left:auto;right:0}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]{height:90px;position:absolute;bottom:-90px;left:0;width:100%;background:#3a837d;border-bottom-left-radius:25px;border-bottom-right-radius:25px;color:#fff}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-md-6[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:1px 0;padding-left:30px;padding-right:30px}@media (min-width:1024px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-md-6[_ngcontent-%COMP%]{height:58px}}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px}@media (max-width:1024px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{min-width:180px;margin-left:12px;color:#3a837d}@media (max-width:1440px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]{background:#211747}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%]{justify-content:center}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}"]}),Db);function Lb(e,t){if(1&e&&(Da(0,"div"),Ms(1),Ga()),2&e){var n=t.$implicit;wi(1),Ts(" ",n," ")}}function Hb(e,t){if(1&e&&(Da(0,"div",43),Ta(1,Lb,2,1,"div",44),Ga()),2&e){var n=Ka();wi(1),Na("ngForOf",n.errors)}}var Vb,Fb,Bb=((Fb=function(){function e(t,n,r){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.closed=new Uc,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/email",this.environment=uu,this.jsonHeader={headers:new Uy({"Content-Type":"application/json"})},this.icons={close:xC.faTimes},this.focus$=new T,this.click$=new T,this.formGroup=this.formBuilder.group({modal_type:new ym("Help"),first_name:new ym(null),last_name:new ym(null),company:new ym(null),email:new ym(null),product_interest:new ym(""),meeting_type:new ym(""),input_text:new ym(null)})}return _createClass(e,[{key:"ngOnInit",value:function(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({email:"test0125@gmail.com",first_name:"Test",last_name:"User",company:"Conductive",product_interest:"Sales Cloud + G Suite",meeting_type:"General Inquiry",input_text:"Hello world"})}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Help";this.formGroup.patchValue({modal_type:e}),this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"submit",value:function(e){var t=this;e.source="AWS",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(bf((function(e){var n,r;return t.errors="string"==typeof e.error?[e.error]:null===(r=null===(n=e.error)||void 0===n?void 0:n.errors)||void 0===r?void 0:r.map((function(e){return t.humanizeError(e)})),t.status="ready",AC(e.error)}))).subscribe((function(){t.status="ready",t.closed.emit(),t.visible=!1})))}},{key:"humanizeError",value:function(e){var t;return"Invalid value"===e.msg&&(t="The ".concat(e.param.replace(/_/g," ")," field is required.")),t||(t="An unknown error has occurred."),t}}]),e}()).\u0275fac=function(e){return new(e||Fb)(Aa(NC),Aa(jm),Aa(dC))},Fb.\u0275cmp=gt({type:Fb,selectors:[["app-request-meeting-form"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:81,vars:8,consts:[[1,"backdrop",3,"click"],[1,"popup"],["src","assets/images/salesforce.svg","alt","Salesforce"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"row"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-lg-12"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],["for","company",1,"sr-only"],["type","search","id","company","formControlName","company","placeholder","Company",1,"form-control"],[1,"row","form-group"],["for","product_interest",1,"sr-only"],["id","product_interest","formControlName","product_interest",1,"form-control"],["value","","selected",""],["value","Service Cloud"],["value","Service Cloud Voice"],["value","CRM"],["value","Platform"],["value","Integrations"],["value","Private Connect"],["value","Tableau"],["value","Mulesoft"],["value","Government Cloud Plus"],["value","Trailhead"],["value","Other"],["for","meeting_type",1,"sr-only"],["id","meeting_type","formControlName","meeting_type",1,"form-control"],["value","General Inquiry"],["value","Request a Demo"],["value","Follow-up Meeting"],["value","Request Pricing"],["for","input_text",1,"sr-only"],["id","input_text","formControlName","input_text","placeholder","Optional text here",1,"form-control"],[1,"buttons"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"close",3,"click"],[3,"icon"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),La(2,"img",2),Da(3,"h1"),Ms(4,"Schedule a meeting and talk to an expert."),Ga(),Da(5,"form",3),za("submit",(function(){return t.submit(t.formGroup.value)})),Ta(6,Hb,2,1,"div",4),Da(7,"div",5),Da(8,"div",6),Da(9,"label",7),Ms(10,"First Name"),Ga(),La(11,"input",8),Ga(),Da(12,"div",6),Da(13,"label",9),Ms(14,"Last Name"),Ga(),La(15,"input",10),Ga(),Ga(),Da(16,"div",5),Da(17,"div",11),Da(18,"label",12),Ms(19,"Email"),Ga(),La(20,"input",13),Ga(),Ga(),Da(21,"div",5),Da(22,"div",11),Da(23,"label",14),Ms(24,"Company"),Ga(),La(25,"input",15),Ga(),Ga(),Da(26,"div",16),Da(27,"div",6),Da(28,"label",17),Ms(29,"Product Interest"),Ga(),Da(30,"select",18),Da(31,"option",19),Ms(32,"Product Interest"),Ga(),Da(33,"option",20),Ms(34,"Service Cloud"),Ga(),Da(35,"option",21),Ms(36,"Service Cloud Voice"),Ga(),Da(37,"option",22),Ms(38,"CRM"),Ga(),Da(39,"option",23),Ms(40,"Platform"),Ga(),Da(41,"option",24),Ms(42,"Integrations"),Ga(),Da(43,"option",25),Ms(44,"Private Connect"),Ga(),Da(45,"option",26),Ms(46,"Tableau"),Ga(),Da(47,"option",27),Ms(48,"Mulesoft"),Ga(),Da(49,"option",28),Ms(50,"Government Cloud Plus"),Ga(),Da(51,"option",29),Ms(52,"Trailhead"),Ga(),Da(53,"option",30),Ms(54,"Other"),Ga(),Ga(),Ga(),Da(55,"div",6),Da(56,"label",31),Ms(57,"Meeting Type"),Ga(),Da(58,"select",32),Da(59,"option",19),Ms(60,"Meeting Type"),Ga(),Da(61,"option",33),Ms(62,"General Inquiry"),Ga(),Da(63,"option",34),Ms(64,"Request a Demo"),Ga(),Da(65,"option",35),Ms(66,"Follow-up Meeting"),Ga(),Da(67,"option",36),Ms(68,"Request Pricing"),Ga(),Ga(),Ga(),Ga(),Da(69,"div",5),Da(70,"div",11),Da(71,"label",37),Ms(72,"Optional text here"),Ga(),La(73,"textarea",38),Ga(),Ga(),Da(74,"div",5),Da(75,"div",11),Da(76,"div",39),Da(77,"button",40),Ms(78," Submit "),Ga(),Ga(),Ga(),Ga(),Ga(),Da(79,"button",41),za("click",(function(){return t.close()})),La(80,"fa-icon",42),Ga(),Ga()),2&e&&(wi(5),hs("loading","loading"===t.status),Na("formGroup",t.formGroup),wi(1),Na("ngIf",(null==t.errors?null:t.errors.length)>0),wi(71),hs("disabled",!t.formGroup.valid),Na("disabled",!t.formGroup.valid),wi(3),Na("icon",t.icons.close))},directives:[Pm,_v,Sm,Xu,cv,mv,Fm,Xv,Kv,em,Ny,Wu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{max-width:860px}[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:98px;margin:0 auto 24px}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{text-align:center;font-size:28px;margin:0 auto 24px}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%]   form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%]   form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:last-child{margin-bottom:0}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:100%;max-width:190px;margin:0 1rem;text-transform:uppercase}"]}),Fb),jb=((Vb=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.prizeService=t,this.stockService=n,this.closed=new Uc,this.selected=new Uc,this.visible=!1,this.subscriptions=[],this.productAvailability=[],this.icons={close:xC.faTimes,rightArrow:l_.faChevronRight},this.selectPrize=function(e){r.isPrizeAvailable(e)&&r.prizeService.selectedPrize.next(e)},this.open=function(){return r.visible=!0},this.close=function(){r.visible=!1,r.closed.emit()},this.isPrizeAvailable=function(e){var t,n;return r.productAvailability.length>0&&(null===(n=null===(t=r.productAvailability.filter((function(t){return t.product===e})))||void 0===t?void 0:t[0])||void 0===n?void 0:n.available)}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.subscriptions.push(this.prizeService.selectedPrize.subscribe((function(t){return e.selectedPrize=t})),this.stockService.productAvailability.subscribe((function(t){return e.productAvailability=t})))}},{key:"ngOnDestroy",value:function(){this.subscriptions.map((function(e){return null!=e?e:e.unsubscribe()}))}},{key:"advanceToForm",value:function(){this.close(),this.selected.emit(this.selectedPrize)}}]),e}()).\u0275fac=function(e){return new(e||Vb)(Aa(Ob),Aa(Pb))},Vb.\u0275cmp=gt({type:Vb,selectors:[["app-prize-select-popup"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",selected:"selected"},decls:29,vars:16,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["formdata","[object Object]",1,"form-step","prize-select","form","active"],[1,"options"],[1,"option",3,"click"],["src","assets/images/aws/Astro_plushie.png","alt","Astro Plushie",1,"img-fluid"],["src","assets/images/aws/Camper_mug.png","alt","Camper Mug",1,"img-fluid"],["src","assets/images/aws/Force_bottle.png","alt","Force Bottle",1,"img-fluid"],[1,"close",3,"click"],[3,"icon"],[1,"buttons-below"],[1,"next-button",3,"click"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"div"),Da(3,"div",2),Da(4,"h3"),Ms(5,"Congratulations"),Ga(),Da(6,"p"),Ms(7," You\u2019ve completed your virtual adventure."),La(8,"br"),Ms(9," Please select your prize from the options below. "),Ga(),Da(10,"div",3),Da(11,"div",4),za("click",(function(){return t.selectPrize("Astro_plushie")})),La(12,"img",5),Da(13,"p"),Ms(14,"Astro Plushie - 8\u201d"),Ga(),Ga(),Da(15,"div",4),za("click",(function(){return t.selectPrize("Camper_mug")})),La(16,"img",6),Da(17,"p"),Ms(18,"Camper Mug - 12 oz."),Ga(),Ga(),Da(19,"div",4),za("click",(function(){return t.selectPrize("Force_bottle")})),La(20,"img",7),Da(21,"p"),Ms(22,"Force Bottle - 17 oz"),Ga(),Ga(),Ga(),Ga(),Ga(),Da(23,"button",8),za("click",(function(){return t.close()})),La(24,"fa-icon",9),Ga(),Da(25,"div",10),Da(26,"button",11),za("click",(function(){return t.advanceToForm()})),Ms(27," SELECT "),La(28,"fa-icon",9),Ga(),Ga(),Ga()),2&e&&(wi(11),hs("disabled",!t.isPrizeAvailable("Astro_plushie"))("selected","Astro_plushie"===t.selectedPrize),wi(4),hs("disabled",!t.isPrizeAvailable("Camper_mug"))("selected","Camper_mug"===t.selectedPrize),wi(4),hs("disabled",!t.isPrizeAvailable("Force_bottle"))("selected","Force_bottle"===t.selectedPrize),wi(5),Na("icon",t.icons.close),wi(2),hs("disabled",!t.selectedPrize),wi(2),Na("icon",t.icons.rightArrow))},directives:[Ny],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:906px;padding-top:80px;padding-bottom:0;text-align:center}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;color:#fff;font-size:25px;line-height:25px;margin-bottom:18px}[_nghost-%COMP%]   h3[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%]   form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%]   form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:1rem}  ngb-typeahead-window{max-height:220px;overflow:auto}.options[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.options[_ngcontent-%COMP%]   .option[_ngcontent-%COMP%]{padding:0;width:calc(33.333% - 20px);max-height:244px;max-width:244px;margin:0 10px;border-radius:5px;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;align-content:center;justify-content:center;text-align:center;box-sizing:border-box;transition:all .25s ease-out;border:0 solid #ecad87}.options[_ngcontent-%COMP%]   .option.selected[_ngcontent-%COMP%]{border:4px solid #ecad87}.options[_ngcontent-%COMP%]   .option.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:auto}.options[_ngcontent-%COMP%]   .option[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:calc(100% - 80px)}.options[_ngcontent-%COMP%]   .option[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#032e61;font-size:16px;text-align:center;margin-bottom:0;margin-top:1rem}"]}),Vb),zb=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(kT){n=!0,r=!!kT&&kT||new Error(kT)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(f)),Ub=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),Wb=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ub.now;return _classCallCheck(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():i()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(Ub))(zb);function qb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wb;return function(n){return n.lift(new Xb(e,t))}}var Xb=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Kb(e,this.dueTime,this.scheduler))}}]),e}(),Kb=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Qb,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(g);function Qb(e){e.debouncedNext()}function Zb(e,t){return function(n){return n.lift(new Yb(e,t))}}var Yb=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new $b(e,this.compare,this.keySelector))}}]),e}(),$b=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}]),n}(g),Jb=n("IRq2");function ek(e){return!c(e)&&e-parseFloat(e)+1>=0}function tk(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function nk(e,t,n,i){return r(n)&&(i=n,n=void 0),i?nk(e,t,n).pipe(V((function(e){return c(e)?i.apply(void 0,_toConsumableArray(e)):i(e)}))):new k((function(r){!function e(t,n,r,i,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,r),a=function(){return c.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,h=t.length;u<h;u++)e(t[u],n,r,i,o)}i.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}var rk=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ik(e))}}]),e}(),ik=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return _createClass(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],i=L(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var a=this.subscriptions[o];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)}}]),n}(H);function ok(e){return function(t){return t.lift(new ak(e))}}var ak=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new sk(e),r=L(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),sk=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).seenValue=!1,r}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(H);function ck(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new uk(t,n))}}var lk,uk=function(){function e(t,n){_classCallCheck(this,e),this.observables=t,this.project=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new hk(e,this.observables,this.project))}}]),e}(),hk=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;_classCallCheck(this,n),(o=t.call(this,e)).observables=r,o.project=i,o.toRespond=[];var a=r.length;o.values=new Array(a);for(var s=0;s<a;s++)o.toRespond.push(s);for(var c=0;c<a;c++){var l=r[c];o.add(L(_assertThisInitialized(o),l,l,c))}return o}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.values[n]=t;var o=this.toRespond;if(o.length>0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(e){if(0===this.toRespond.length){var t=[e].concat(_toConsumableArray(this.values));this.project?this._tryProject(t):this.destination.next(t)}}},{key:"_tryProject",value:function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(H),fk=((lk=function(){function e(t,n,r){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Qh(this.value);case"E":return AC(this.error);case"C":return nf()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new lk("C"),lk.undefinedValueNotification=new lk("N",void 0),lk),dk=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new pk(e,this.delay,this.scheduler))}}]),e}(),pk=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new gk(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(fk.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(fk.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(g),gk=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n};$localize(_templateObject());var vk=["*"];$localize(_templateObject2()),$localize(_templateObject3()),$localize(_templateObject4()),$localize(_templateObject5()),$localize(_templateObject6()),$localize(_templateObject7()),$localize(_templateObject8()),$localize(_templateObject9()),$localize(_templateObject10()),$localize(_templateObject11());var mk=["dialog"];function _k(e,t){if(1&e&&(Da(0,"span"),Ms(1),Ga()),2&e){var n=Ka().$implicit;ds(Ka().highlightClass),wi(1),Ss(n)}}function yk(e,t){1&e&&Ms(0),2&e&&Ss(Ka().$implicit)}function Ck(e,t){if(1&e&&(Ta(0,_k,2,3,"span",1),Ta(1,yk,1,1,"ng-template",null,2,ul)),2&e){var n=t.odd,r=xa(2);Na("ngIf",n)("ngIfElse",r)}}function bk(e,t){if(1&e&&La(0,"ngb-highlight",2),2&e){var n=t.term;Na("result",(0,t.formatter)(t.result))("term",n)}}function kk(e,t){}$localize(_templateObject12()),$localize(_templateObject13()),$localize(_templateObject14()),$localize(_templateObject15()),$localize(_templateObject16()),$localize(_templateObject17()),$localize(_templateObject18()),$localize(_templateObject19()),$localize(_templateObject20(),"\ufffd0\ufffd"),$localize(_templateObject21()),$localize(_templateObject22()),$localize(_templateObject23()),$localize(_templateObject24()),$localize(_templateObject25()),$localize(_templateObject26()),$localize(_templateObject27()),$localize(_templateObject28()),$localize(_templateObject29()),$localize(_templateObject30()),$localize(_templateObject31()),$localize(_templateObject32()),$localize(_templateObject33(),"\ufffd0\ufffd"),$localize(_templateObject34(),"\ufffd0\ufffd"),$localize(_templateObject35());var wk=function(e,t,n){return{result:e,term:t,formatter:n}};function Pk(e,t){if(1&e){var n=Fa();Da(0,"button",3),za("mouseenter",(function(){$t(n);var e=t.index;return Ka().markActive(e)}))("click",(function(){$t(n);var e=t.$implicit;return Ka().select(e)})),Ta(1,kk,0,0,"ng-template",4),Ga()}if(2&e){var r=t.$implicit,i=t.index,o=Ka(),a=xa(1);hs("active",i===o.activeIdx),Na("id",o.id+"-"+i),wi(1),Na("ngTemplateOutlet",o.resultTemplate||a)("ngTemplateOutletContext",(s=5,c=wk,l=r,u=o.term,h=o.formatter,function(e,t,n,r,i,o,a,s){var c=t+n;return function(e,t,n,r,i){var o=function(e,t,n,r){var i=Ma(e,t,n);return Ma(e,t+1,r)||i}(e,t,n,r);return Ma(e,t+2,i)||o}(e,c,i,o,a)?Oa(e,c+3,s?r.call(s,i,o,a):r(i,o,a)):Bc(e,c+3)}(Zt(),an(),s,c,l,u,h,f)))}var s,c,l,u,h,f}function Ok(e){return null!=e?""+e:""}function Mk(e){return null!=e}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var Sk,Tk,xk,Ak,Ek,Ik=((Ek=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Ek}),Ek.\u0275inj=de({factory:function(e){return new(e||Ek)},imports:[[oh]]}),Ek),Nk=((Ak=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Ak}),Ak.\u0275inj=de({factory:function(e){return new(e||Ak)},imports:[[oh]]}),Ak),Rk=((xk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:xk}),xk.\u0275inj=de({factory:function(e){return new(e||xk)}}),xk),Dk=((Tk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Tk}),Tk.\u0275inj=de({factory:function(e){return new(e||Tk)},imports:[[oh]]}),Tk),Gk=((Sk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Sk}),Sk.\u0275inj=de({factory:function(e){return new(e||Sk)}}),Sk),Lk=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({}),Hk=function(e,t){return!!t&&t.some((function(t){return t.contains(e)}))},Vk="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),Fk=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Bk(e){var t=Array.from(e.querySelectorAll(Fk)).filter((function(e){return-1!==e.tabIndex}));return[t[0],t[t.length-1]]}var jk,zk,Uk,Wk,qk,Xk,Kk,Qk,Zk,Yk,$k,Jk,ew,tw,nw,rw,iw,ow,aw,sw,cw=/\s+/,lw=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getAllStyles",value:function(e){return window.getComputedStyle(e)}},{key:"getStyle",value:function(e,t){return this.getAllStyles(e)[t]}},{key:"isStaticPositioned",value:function(e){return"static"===(this.getStyle(e,"position")||"static")}},{key:"offsetParent",value:function(e){for(var t=e.offsetParent||document.documentElement;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}},{key:"position",value:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))t={top:(t=e.getBoundingClientRect()).top,bottom:t.bottom,left:t.left,right:t.right,height:t.height,width:t.width};else{var i=this.offsetParent(e);t=this.offset(e,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return t.top-=r.top,t.bottom-=r.top,t.left-=r.left,t.right-=r.left,n&&(t.top=Math.round(t.top),t.bottom=Math.round(t.bottom),t.left=Math.round(t.left),t.right=Math.round(t.right)),t}},{key:"offset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return t&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o}},{key:"positionElements",value:function(e,t,n,r){var i=_slicedToArray2(n.split("-"),2),o=i[0],a=void 0===o?"top":o,s=i[1],c=void 0===s?"center":s,l=r?this.offset(e,!1):this.position(e,!1),u=this.getAllStyles(t),h=parseFloat(u.marginTop),f=parseFloat(u.marginBottom),d=parseFloat(u.marginLeft),p=parseFloat(u.marginRight),g=0,v=0;switch(a){case"top":g=l.top-(t.offsetHeight+h+f);break;case"bottom":g=l.top+l.height;break;case"left":v=l.left-(t.offsetWidth+d+p);break;case"right":v=l.left+l.width}switch(c){case"top":g=l.top;break;case"bottom":g=l.top+l.height-t.offsetHeight;break;case"left":v=l.left;break;case"right":v=l.left+l.width-t.offsetWidth;break;case"center":"top"===a||"bottom"===a?v=l.left+l.width/2-t.offsetWidth/2:g=l.top+l.height/2-t.offsetHeight/2}t.style.transform="translate(".concat(Math.round(v),"px, ").concat(Math.round(g),"px)");var m=t.getBoundingClientRect(),_=document.documentElement,y=window.innerHeight||_.clientHeight,C=window.innerWidth||_.clientWidth;return m.left>=0&&m.top>=0&&m.right<=C&&m.bottom<=y}}]),e}()),uw=((Uk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Uk}),Uk.\u0275inj=de({factory:function(e){return new(e||Uk)},imports:[[oh,zm]]}),Uk),hw=((zk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:zk}),zk.\u0275inj=de({factory:function(e){return new(e||zk)}}),zk),fw=((jk=function e(){_classCallCheck(this,e),this.backdrop=!0,this.keyboard=!0}).\u0275fac=function(e){return new(e||jk)},jk.\u0275prov=fe({factory:function(){return new jk},token:jk,providedIn:"root"}),jk),dw=function e(t,n,r){_classCallCheck(this,e),this.nodes=t,this.viewRef=n,this.componentRef=r},pw=function(){function e(t,n,r,i,o,a){_classCallCheck(this,e),this._type=t,this._injector=n,this._viewContainerRef=r,this._renderer=i,this._componentFactoryResolver=o,this._applicationRef=a,this._windowRef=null,this._contentRef=null}return _createClass(e,[{key:"open",value:function(e,t){return this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}},{key:"close",value:function(){var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}},{key:"_getContentRef",value:function(e,t){if(e){if(e instanceof kc){var n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new dw([n.rootNodes],n)}return new dw([[this._renderer.createText(""+e)]])}return new dw([])}}]),e}(),gw=function(){},vw=((qk=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"compensate",value:function(){var e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):gw}},{key:"_adjustBody",value:function(e){var t=this._document.body,n=t.style.paddingRight,r=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]=r+e+"px",function(){return t.style["padding-right"]=n}}},{key:"_isPresent",value:function(e){var t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}},{key:"_getWidth",value:function(){var e=this._document.createElement("div");e.className="modal-scrollbar-measure";var t=this._document.body;t.appendChild(e);var n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}}]),e}()).\u0275fac=function(e){return new(e||qk)(Ze(pu))},qk.\u0275prov=fe({factory:function(){return new qk(Ze(pu))},token:qk,providedIn:"root"}),qk),mw=((Wk=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Wk)},Wk.\u0275cmp=gt({type:Wk,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(e,t){2&e&&ds("modal-backdrop fade show"+(t.backdropClass?" "+t.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),Wk),_w=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"close",value:function(e){}},{key:"dismiss",value:function(e){}}]),e}(),yw=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this._windowCmptRef=t,this._contentRef=n,this._backdropCmptRef=r,this._beforeDismiss=i,t.instance.dismissEvent.subscribe((function(e){o.dismiss(e)})),this.result=new Promise((function(e,t){o._resolve=e,o._reject=t})),this.result.then(null,(function(){}))}return _createClass(e,[{key:"close",value:function(e){this._windowCmptRef&&(this._resolve(e),this._removeModalElements())}},{key:"_dismiss",value:function(e){this._reject(e),this._removeModalElements()}},{key:"dismiss",value:function(e){var t=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then((function(n){!1!==n&&t._dismiss(e)}),(function(){})):!1!==n&&this._dismiss(e)}else this._dismiss(e)}},{key:"_removeModalElements",value:function(){var e=this._windowCmptRef.location.nativeElement;if(e.parentNode.removeChild(e),this._windowCmptRef.destroy(),this._backdropCmptRef){var t=this._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}},{key:"componentInstance",get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}}]),e}(),Cw=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({}),bw=((sw=function(){function e(t,n,r){_classCallCheck(this,e),this._document=t,this._elRef=n,this._zone=r,this._closed$=new T,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Uc}return _createClass(e,[{key:"dismiss",value:function(e){this.dismissEvent.emit(e)}},{key:"ngOnInit",value:function(){this._elWithFocus=this._document.activeElement}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._elRef.nativeElement;if(this._zone.runOutsideAngular((function(){nk(t,"keydown").pipe(ok(e._closed$),af((function(t){return t.which===Lk.Escape&&e.keyboard}))).subscribe((function(t){return requestAnimationFrame((function(){t.defaultPrevented||e._zone.run((function(){return e.dismiss(Cw.ESC)}))}))}));var n=!1;nk(e._dialogEl.nativeElement,"mousedown").pipe(ok(e._closed$),Ff((function(){return n=!1})),Af((function(){return nk(t,"mouseup").pipe(ok(e._closed$),Pf(1))})),af((function(e){var n=e.target;return t===n}))).subscribe((function(){n=!0})),nk(t,"click").pipe(ok(e._closed$)).subscribe((function(r){var i=r.target;!0!==e.backdrop||t!==i||n||e._zone.run((function(){return e.dismiss(Cw.BACKDROP_CLICK)})),n=!1}))})),!t.contains(document.activeElement)){var n=t.querySelector("[ngbAutofocus]"),r=Bk(t)[0];(n||r||t).focus()}}},{key:"ngOnDestroy",value:function(){var e,t=this,n=this._document.body,r=this._elWithFocus;e=r&&r.focus&&n.contains(r)?r:n,this._zone.runOutsideAngular((function(){setTimeout((function(){return e.focus()})),t._elWithFocus=null})),this._closed$.next()}}]),e}()).\u0275fac=function(e){return new(e||sw)(Aa(pu),Aa($s),Aa(Nl))},sw.\u0275cmp=gt({type:sw,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&nl(mk,!0),2&e&&tl(n=al())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(e,t){2&e&&(Sa("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),ds("modal fade show d-block"+(t.windowClass?" "+t.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:vk,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0,1),Da(2,"div",2),Ya(3),Ga(),Ga()),2&e&&ds("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),sw),kw=((aw=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._applicationRef=t,this._injector=n,this._document=r,this._scrollBar=i,this._rendererFactory=o,this._ngZone=a,this._activeWindowCmptHasChanged=new T,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new Uc,this._activeWindowCmptHasChanged.subscribe((function(){if(s._windowCmpts.length){var e=s._windowCmpts[s._windowCmpts.length-1];(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s._ngZone.runOutsideAngular((function(){var e=nk(t,"focusin").pipe(ok(n),V((function(e){return e.target})));nk(t,"keydown").pipe(ok(n),af((function(e){return e.which===Lk.Tab})),ck(e)).subscribe((function(e){var n=_slicedToArray2(e,2),r=n[0],i=n[1],o=_slicedToArray2(Bk(t),2),a=o[0],s=o[1];i!==a&&i!==t||!r.shiftKey||(s.focus(),r.preventDefault()),i!==s||r.shiftKey||(a.focus(),r.preventDefault())})),r&&nk(t,"click").pipe(ok(n),ck(e),V((function(e){return e[1]}))).subscribe((function(e){return e.focus()}))}))})(0,e.location.nativeElement,s._activeWindowCmptHasChanged),s._revertAriaHidden(),s._setAriaHidden(e.location.nativeElement)}}))}return _createClass(e,[{key:"open",value:function(e,t,n,r){var i=this,o=r.container instanceof HTMLElement?r.container:Mk(r.container)?this._document.querySelector(r.container):this._document.body,a=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),c=function(){i._modalRefs.length||(a.removeClass(i._document.body,"modal-open"),i._revertAriaHidden())};if(!o)throw new Error('The specified modal container "'.concat(r.container||"body",'" was not found in the DOM.'));var l=new _w,u=this._getContentRef(e,r.injector||t,n,l,r),h=!1!==r.backdrop?this._attachBackdrop(e,o):void 0,f=this._attachWindowComponent(e,o,u),d=new yw(f,u,h,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(f),d.result.then(s,s),d.result.then(c,c),l.close=function(e){d.close(e)},l.dismiss=function(e){d.dismiss(e)},this._applyWindowOptions(f.instance,r),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),h&&h.instance&&this._applyBackdropOptions(h.instance,r),d}},{key:"dismissAll",value:function(e){this._modalRefs.forEach((function(t){return t.dismiss(e)}))}},{key:"hasOpenModals",value:function(){return this._modalRefs.length>0}},{key:"_attachBackdrop",value:function(e,t){var n=e.resolveComponentFactory(mw).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}},{key:"_attachWindowComponent",value:function(e,t,n){var r=e.resolveComponentFactory(bw).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}},{key:"_applyWindowOptions",value:function(e,t){this._windowAttributes.forEach((function(n){Mk(t[n])&&(e[n]=t[n])}))}},{key:"_applyBackdropOptions",value:function(e,t){this._backdropAttributes.forEach((function(n){Mk(t[n])&&(e[n]=t[n])}))}},{key:"_getContentRef",value:function(e,t,n,r,i){return n?n instanceof kc?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(e,t,n,r,i):new dw([])}},{key:"_createFromTemplateRef",value:function(e,t){var n=e.createEmbeddedView({$implicit:t,close:function(e){t.close(e)},dismiss:function(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new dw([n.rootNodes],n)}},{key:"_createFromString",value:function(e){var t=this._document.createTextNode(""+e);return new dw([[t]])}},{key:"_createFromComponent",value:function(e,t,n,r,i){var o=e.resolveComponentFactory(n),a=da.create({providers:[{provide:_w,useValue:r}],parent:t}),s=o.create(a),c=s.location.nativeElement;return i.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(s.hostView),new dw([[c]],s.hostView,s)}},{key:"_setAriaHidden",value:function(e){var t=this,n=e.parentElement;n&&e!==this._document.body&&(Array.from(n.children).forEach((function(n){n!==e&&"SCRIPT"!==n.nodeName&&(t._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))})),this._setAriaHidden(n))}},{key:"_revertAriaHidden",value:function(){this._ariaHiddenValues.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenValues.clear()}},{key:"_registerModalRef",value:function(e){var t=this,n=function(){var n=t._modalRefs.indexOf(e);n>-1&&(t._modalRefs.splice(n,1),t._activeInstances.emit(t._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(n,n)}},{key:"_registerWindowCmpt",value:function(e){var t=this;this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy((function(){var n=t._windowCmpts.indexOf(e);n>-1&&(t._windowCmpts.splice(n,1),t._activeWindowCmptHasChanged.next())}))}},{key:"activeInstances",get:function(){return this._activeInstances}}]),e}()).\u0275fac=function(e){return new(e||aw)(Ze(Jl),Ze(da),Ze(pu),Ze(vw),Ze(ec),Ze(Nl))},aw.\u0275prov=fe({factory:function(){return new aw(Ze(Jl),Ze(je),Ze(pu),Ze(vw),Ze(ec),Ze(Nl))},token:aw,providedIn:"root"}),aw),ww=((ow=function(){function e(t,n,r,i){_classCallCheck(this,e),this._moduleCFR=t,this._injector=n,this._modalStack=r,this._config=i}return _createClass(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},this._config,t);return this._modalStack.open(this._moduleCFR,this._injector,e,n)}},{key:"dismissAll",value:function(e){this._modalStack.dismissAll(e)}},{key:"hasOpenModals",value:function(){return this._modalStack.hasOpenModals()}},{key:"activeInstances",get:function(){return this._modalStack.activeInstances}}]),e}()).\u0275fac=function(e){return new(e||ow)(Ze(Ys),Ze(da),Ze(kw),Ze(fw))},ow.\u0275prov=fe({factory:function(){return new ow(Ze(Ys),Ze(je),Ze(kw),Ze(fw))},token:ow,providedIn:"root"}),ow),Pw=((iw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:iw}),iw.\u0275inj=de({factory:function(e){return new(e||iw)},providers:[ww]}),iw),Ow=((rw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:rw}),rw.\u0275inj=de({factory:function(e){return new(e||rw)},imports:[[oh]]}),rw),Mw=((nw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:nw}),nw.\u0275inj=de({factory:function(e){return new(e||nw)},imports:[[oh]]}),nw),Sw=((tw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:tw}),tw.\u0275inj=de({factory:function(e){return new(e||tw)},imports:[[oh]]}),tw),Tw=((ew=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:ew}),ew.\u0275inj=de({factory:function(e){return new(e||ew)},imports:[[oh]]}),ew),xw=((Jk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Jk}),Jk.\u0275inj=de({factory:function(e){return new(e||Jk)},imports:[[oh]]}),Jk),Aw=(($k=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:$k}),$k.\u0275inj=de({factory:function(e){return new(e||$k)},imports:[[oh]]}),$k),Ew=((Yk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Yk}),Yk.\u0275inj=de({factory:function(e){return new(e||Yk)},imports:[[oh]]}),Yk),Iw=((Zk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Zk}),Zk.\u0275inj=de({factory:function(e){return new(e||Zk)},imports:[[oh]]}),Zk),Nw=((Qk=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Qk}),Qk.\u0275inj=de({factory:function(e){return new(e||Qk)}}),Qk),Rw=((Kk=function(){function e(){_classCallCheck(this,e),this.highlightClass="ngb-highlight"}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=Ok(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map((function(e){return Ok(e).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).filter((function(e){return e}));this.parts=n.length?t.split(new RegExp("(".concat(n.join("|"),")"),"gmi")):[t]}}]),e}()).\u0275fac=function(e){return new(e||Kk)},Kk.\u0275cmp=gt({type:Kk,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[Hs],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,t){1&e&&Ta(0,Ck,3,2,"ng-template",0),2&e&&Na("ngForOf",t.parts)},directives:[Wu,Xu],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),Kk),Dw=((Xk=function(){function e(){_classCallCheck(this,e),this.activeIdx=0,this.focusFirst=!0,this.formatter=Ok,this.selectEvent=new Uc,this.activeChangeEvent=new Uc}return _createClass(e,[{key:"hasActive",value:function(){return this.activeIdx>-1&&this.activeIdx<this.results.length}},{key:"getActive",value:function(){return this.results[this.activeIdx]}},{key:"markActive",value:function(e){this.activeIdx=e,this._activeChanged()}},{key:"next",value:function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}},{key:"prev",value:function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}},{key:"resetActive",value:function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}},{key:"select",value:function(e){this.selectEvent.emit(e)}},{key:"ngOnInit",value:function(){this.resetActive()}},{key:"_activeChanged",value:function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}]),e}()).\u0275fac=function(e){return new(e||Xk)},Xk.\u0275cmp=gt({type:Xk,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(e,t){1&e&&za("mousedown",(function(e){return e.preventDefault()})),2&e&&xs("id",t.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(Ta(0,bk,1,2,"ng-template",null,0,ul),Ta(2,Pk,2,9,"ng-template",1)),2&e&&(wi(2),Na("ngForOf",t.results))},directives:[Wu,Rw,eh],encapsulation:2}),Xk),Gw=new Be("live announcer delay",{providedIn:"root",factory:function(){return 100}});function Lw(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.body.querySelector("#ngb-live");return null==n&&t&&((n=e.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),e.body.appendChild(n)),n}var Hw,Vw,Fw,Bw,jw,zw=((Vw=function(){function e(t,n){_classCallCheck(this,e),this._document=t,this._delay=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=Lw(this._document);e&&e.parentElement.removeChild(e)}},{key:"say",value:function(e){var t=Lw(this._document,!0),n=this._delay;if(null!=t){t.textContent="";var r=function(){return t.textContent=e};null===n?r():setTimeout(r,n)}}}]),e}()).\u0275fac=function(e){return new(e||Vw)(Ze(pu),Ze(Gw))},Vw.\u0275prov=fe({factory:function(){return new Vw(Ze(pu),Ze(Gw))},token:Vw,providedIn:"root"}),Vw),Uw=((Hw=function e(){_classCallCheck(this,e),this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}).\u0275fac=function(e){return new(e||Hw)},Hw.\u0275prov=fe({factory:function(){return new Hw},token:Hw,providedIn:"root"}),Hw),Ww={provide:rv,useExisting:Oe((function(){return Xw})),multi:!0},qw=0,Xw=((Bw=function(){function e(t,n,r,i,o,a,s,c,l,u,h,f){var d=this;_classCallCheck(this,e),this._elementRef=t,this._renderer=r,this._live=c,this._document=l,this._ngZone=u,this._changeDetector=h,this._subscription=null,this._closed$=new T,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new Uc,this.activeDescendant=null,this.popupId="ngb-typeahead-"+qw++,this._onTouched=function(){},this._onChange=function(e){},this.container=a.container,this.editable=a.editable,this.focusFirst=a.focusFirst,this.showHint=a.showHint,this.placement=a.placement,this._valueChanges=nk(t.nativeElement,"input").pipe(V((function(e){return e.target.value}))),this._resubscribeTypeahead=new Zh(null),this._popupService=new pw(Dw,i,n,r,o,f),this._zoneSubscription=s.onStable.subscribe((function(){d.isPopupOpen()&&function(e,t,n,r,i){var o=Array.isArray(n)?n:n.split(cw),a=function(e){var t=_slicedToArray2(e.split("-"),2);return t[0],t[1],[]},s=o.findIndex((function(e){return"auto"===e}));s>=0&&["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"].forEach((function(e){null==o.find((function(t){return-1!==t.search("^"+e)}))&&o.splice(s++,1,e)}));var c=t.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";var l,u=null,h=!1,f=_createForOfIteratorHelper(o);try{for(f.s();!(l=f.n()).done;)if(a(u=l.value),lw.positionElements(e,t,u,r)){h=!0;break}}catch(d){f.e(d)}finally{f.f()}h||(a(u=o[0]),lw.positionElements(e,t,u,r))}(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)}))}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this._valueChanges.pipe(Ff((function(t){e._inputValueBackup=e.showHint?t:null,e._onChange(e.editable?t:void 0)}))).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe(Af((function(){return t})));this._subscription=this._subscribeToUserInput(n)}},{key:"ngOnDestroy",value:function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"writeValue",value:function(e){this._writeInputValue(this._formatItemForInput(e)),this.showHint&&(this._inputValueBackup=e)}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"dismissPopup",value:function(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}},{key:"isPopupOpen",value:function(){return null!=this._windowRef}},{key:"handleBlur",value:function(){this._resubscribeTypeahead.next(null),this._onTouched()}},{key:"handleKeyDown",value:function(e){if(this.isPopupOpen())switch(e.which){case Lk.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Lk.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Lk.Enter:case Lk.Tab:var t=this._windowRef.instance.getActive();Mk(t)&&(e.preventDefault(),e.stopPropagation(),this._selectResult(t)),this._closePopup()}}},{key:"_openPopup",value:function(){var e=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe((function(t){return e._selectResultClosePopup(t)})),this._windowRef.instance.activeChangeEvent.subscribe((function(t){return e.activeDescendant=t})),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),function(t,n,r,i,o,a,s,l){var u;t.runOutsideAngular((u=function(){var r=nk(n,"keydown").pipe(ok(o),af((function(e){return e.which===Lk.Escape})),Ff((function(e){return e.preventDefault()}))),i=nk(n,"mousedown").pipe(V((function(e){var t=e.target;return 2!==e.button&&!Hk(t,void 0)&&!Hk(t,a)})),ok(o)),s=nk(n,"mouseup").pipe(ck(i),af((function(e){var t=_slicedToArray2(e,2);return t[0],t[1]})),function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wb,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new dk(r,n))}}(0),ok(o));(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!c(t[0]))return t[0];t=t[0]}return K(t,void 0).lift(new rk)})([r.pipe(V((function(e){return 0}))),s.pipe(V((function(e){return 1})))]).subscribe((function(n){return t.run((function(){return e.dismissPopup()}))}))},Vk?function(){return setTimeout((function(){return u()}),100)}:u))}(this._ngZone,this._document,0,0,this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}},{key:"_closePopup",value:function(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}},{key:"_selectResult",value:function(e){var t=!1;this.selectItem.emit({item:e,preventDefault:function(){t=!0}}),this._resubscribeTypeahead.next(null),t||(this.writeValue(e),this._onChange(e))}},{key:"_selectResultClosePopup",value:function(e){this._selectResult(e),this._closePopup()}},{key:"_showHint",value:function(){var e;if(this.showHint&&(null===(e=this._windowRef)||void 0===e?void 0:e.instance.hasActive())&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),n=this._formatItemForInput(this._windowRef.instance.getActive());t===n.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+n.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,n.length])):this._writeInputValue(n)}}},{key:"_formatItemForInput",value:function(e){return null!=e&&this.inputFormatter?this.inputFormatter(e):Ok(e)}},{key:"_writeInputValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",Ok(e))}},{key:"_subscribeToUserInput",value:function(e){var t=this;return e.subscribe((function(e){e&&0!==e.length?(t._openPopup(),t._windowRef.instance.focusFirst=t.focusFirst,t._windowRef.instance.results=e,t._windowRef.instance.term=t._elementRef.nativeElement.value,t.resultFormatter&&(t._windowRef.instance.formatter=t.resultFormatter),t.resultTemplate&&(t._windowRef.instance.resultTemplate=t.resultTemplate),t._windowRef.instance.resetActive(),t._windowRef.changeDetectorRef.detectChanges(),t._showHint()):t._closePopup();var n=e?e.length:0;t._live.say(0===n?"No results available":"".concat(n," result").concat(1===n?"":"s"," available"))}))}},{key:"_unsubscribeFromUserInput",value:function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}]),e}()).\u0275fac=function(e){return new(e||Bw)(Aa($s),Aa(Pc),Aa(nc),Aa(da),Aa(Ys),Aa(Uw),Aa(Nl),Aa(zw),Aa(pu),Aa(Nl),Aa(Yo),Aa(Jl))},Bw.\u0275dir=bt({type:Bw,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,t){1&e&&za("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&(xs("autocomplete",t.autocomplete),Sa("aria-autocomplete",t.showHint?"both":"list")("aria-activedescendant",t.activeDescendant)("aria-owns",t.isPopupOpen()?t.popupId:null)("aria-expanded",t.isPopupOpen()),hs("open",t.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[Ks([Ww])]}),Bw),Kw=((Fw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:Fw}),Fw.\u0275inj=de({factory:function(e){return new(e||Fw)},imports:[[oh]]}),Fw),Qw=[Ik,Nk,Rk,Dk,Gk,uw,hw,Pw,Ow,Mw,Sw,Tw,xw,Ew,Iw,Nw,Kw,Aw],Zw=((jw=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:jw}),jw.\u0275inj=de({factory:function(e){return new(e||jw)},imports:[Qw,Ik,Nk,Rk,Dk,Gk,uw,hw,Pw,Ow,Mw,Sw,Tw,xw,Ew,Iw,Nw,Kw,Aw]}),jw),Yw=["instance"];function $w(e,t){if(1&e&&(Da(0,"div"),Ms(1),Ga()),2&e){var n=t.$implicit;wi(1),Ts(" ",n," ")}}function Jw(e,t){if(1&e&&(Da(0,"div",34),Ta(1,$w,2,1,"div",35),Ga()),2&e){var n=Ka();wi(1),Na("ngForOf",n.errors)}}function eP(e,t){1&e&&(Da(0,"div",36),Ms(1," Zipcode must be at least 5 characters long. "),Ga())}var tP,nP,rP=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],iP=((nP=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.prizeService=i,this.closed=new Uc,this.submitted=new Uc,this.wentBack=new Uc,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=uu,this.jsonHeader={headers:new Uy({"Content-Type":"application/json"})},this.icons={close:xC.faTimes,rightArrow:l_.faChevronRight,leftArrow:Jb.faChevronLeft},this.focus$=new T,this.click$=new T,this.formGroup=this.formBuilder.group({first_name:new ym(null),last_name:new ym(null),home_address:new ym(null),home_address_2:new ym(null),city:new ym(null),state:new ym(null),zipcode:new ym(null,{validators:[wv.required,wv.minLength(5)],updateOn:"blur"}),privacy:new ym(!1,[wv.requiredTrue])}),this.search=function(e){var t=e.pipe(qb(50),Zb()),n=o.click$.pipe(af((function(){return!o.instance.isPopupOpen()})));return Q(t,o.focus$,n).pipe(V((function(e){return""===e?rP:rP.filter((function(t){return t.toLowerCase().indexOf(e.toLowerCase())>-1})).slice(0,10)})))}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.prizeSubscription=this.prizeService.selectedPrize.subscribe((function(t){return e.selectedPrize=t})),!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",privacy:!1})}},{key:"ngOnDestroy",value:function(){this.prizeSubscription&&this.prizeSubscription.unsubscribe()}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"back",value:function(){this.close(),this.wentBack.emit()}},{key:"submit",value:function(e){var t=this;e.product=this.selectedPrize,e.source="AWS",e.phone_number="0000000000",e.email="none@none.com",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(bf((function(e){var n,r;return t.errors="string"==typeof e.error?[e.error]:null===(r=null===(n=e.error)||void 0===n?void 0:n.errors)||void 0===r?void 0:r.map((function(e){return t.humanizeError(e)})),t.status="ready",AC(e.error)}))).subscribe((function(e){t.status="ready",t.playCanvasService.formSubmitted=!0,t.playCanvasService.sendStatus(),t.submitted.emit(),t.visible=!1})))}},{key:"humanizeError",value:function(e){var t;if("Invalid value"===e.msg){var n=e.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),t="The ".concat(n," field is required.")}return t||(t="An unknown error has occurred."),t}},{key:"zipcode",get:function(){return this.formGroup.get("zipcode")}}]),e}()).\u0275fac=function(e){return new(e||nP)(Aa(NC),Aa(jm),Aa(dC),Aa(Ob))},nP.\u0275cmp=gt({type:nP,selectors:[["app-popup-form"]],viewQuery:function(e,t){var n;1&e&&nl(Yw,!0),2&e&&tl(n=al())&&(t.instance=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",submitted:"submitted",wentBack:"wentBack"},decls:60,vars:13,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"row"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","search","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"fine-print"],[1,"close",3,"click"],[3,"icon"],[1,"buttons-below"],["type","button",1,"back-button",3,"click"],["type","submit",1,"next-button",3,"disabled"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"h1"),Ms(3," Where would you like your item shipped? "),Ga(),Da(4,"form",2),za("submit",(function(){return t.submit(t.formGroup.value)})),Ta(5,Jw,2,1,"div",3),Ta(6,eP,2,0,"div",4),Da(7,"div",5),Da(8,"div",6),Da(9,"label",7),Ms(10,"First Name"),Ga(),La(11,"input",8),Ga(),Da(12,"div",6),Da(13,"label",9),Ms(14,"Last Name"),Ga(),La(15,"input",10),Ga(),Ga(),Da(16,"div",5),Da(17,"div",11),Da(18,"label",12),Ms(19,"Address Line 1"),Ga(),La(20,"input",13),Ga(),Ga(),Da(21,"div",5),Da(22,"div",11),Da(23,"label",14),Ms(24,"Address Line 2 (optional)"),Ga(),La(25,"input",15),Ga(),Ga(),Da(26,"div",5),Da(27,"div",16),Da(28,"label",17),Ms(29,"City"),Ga(),La(30,"input",18),Ga(),Da(31,"div",16),Da(32,"label",19),Ms(33,"State"),Ga(),Da(34,"input",20,21),za("focus",(function(e){return t.focus$.next(e.target.value)}))("click",(function(e){return t.click$.next(e.target.value)})),Ga(),Ga(),Da(36,"div",16),Da(37,"label",22),Ms(38,"Zip"),Ga(),La(39,"input",23),Ga(),Ga(),Da(40,"div",5),Da(41,"div",24),Da(42,"div",25),Da(43,"label"),La(44,"input",26),Ms(45," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Da(46,"a",27),Ms(47,"Privacy Statement"),Ga(),Ms(48,". "),Ga(),Ga(),Ga(),Ga(),Da(49,"p",28),Ms(50," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Ga(),Da(51,"button",29),za("click",(function(){return t.close()})),La(52,"fa-icon",30),Ga(),Da(53,"div",31),Da(54,"button",32),za("click",(function(){return t.back()})),La(55,"fa-icon",30),Ms(56," Back "),Ga(),Da(57,"button",33),Ms(58," Submit "),La(59,"fa-icon",30),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(4),hs("loading","loading"===t.status),Na("formGroup",t.formGroup),wi(1),Na("ngIf",(null==t.errors?null:t.errors.length)>0),wi(1),Na("ngIf",t.zipcode.invalid&&(t.zipcode.dirty||t.zipcode.touched)&&t.zipcode.errors.minlength),wi(28),Na("ngbTypeahead",t.search)("editable",!1),wi(18),Na("icon",t.icons.close),wi(3),Na("icon",t.icons.leftArrow),wi(2),hs("disabled",!t.formGroup.valid),Na("disabled",!t.formGroup.valid),wi(2),Na("icon",t.icons.rightArrow))},directives:[Pm,_v,Sm,Xu,cv,mv,Fm,Xw,ov,Ny,Wu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{max-width:860px}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%]   form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%]   form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   .fine-print[_ngcontent-%COMP%]{font-size:12px;margin-bottom:0}[_nghost-%COMP%]   .form-check[_ngcontent-%COMP%]{text-align:center;font-size:14px;margin:0 auto;max-width:530px;line-height:1.1}  ngb-typeahead-window{max-height:220px;overflow:auto}"]}),nP),oP=((tP=function(){function e(t){_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Uc,this.visible=!1,this.links=uu.links,this.icons={close:xC.faTimes,leftArrow:Jb.faChevronLeft}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"shareItem",value:function(e,t){e.preventDefault(),this.playCanvasService.shareItem(t)}}]),e}()).\u0275fac=function(e){return new(e||tP)(Aa(NC))},tP.\u0275cmp=gt({type:tP,selectors:[["app-popup-form-confirmation"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:27,vars:5,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["href","mailto:salesforceandaws@salesforce.com"],[1,"share-links"],[1,"share-network-facebook",3,"href","click"],["src","assets/images/aws/Facebook.svg","alt","Facebook"],[1,"share-network-twitter",3,"href","click"],["src","assets/images/aws/Twitter.svg","alt","Twitter"],[1,"share-network-linkedin",3,"href","click"],["src","assets/images/aws/LinkedIn.svg","alt","LinkedIn"],[1,"close",3,"click"],[3,"icon"],["src","assets/images/aws/congrats.0ae6c6.png","alt","Congrats",1,"popup-bg","popup-bg--bottom-right"],[1,"buttons-below"],[1,"back-button",3,"click"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"h3"),Ms(3,"WE GOT YOUR SELECTION"),Ga(),Da(4,"p"),Ms(5,"Please allow 3-5 business days to process your prize."),La(6,"br"),Ms(7," If you have any questions please "),Da(8,"a",2),Ms(9,"contact us"),Ga(),Ms(10,". "),Ga(),Da(11,"p"),Ms(12,"SHARE YOUR EXPERIENCE"),Ga(),Da(13,"div",3),Da(14,"a",4),za("click",(function(e){return t.shareItem(e,"facebook")})),La(15,"img",5),Ga(),Da(16,"a",6),za("click",(function(e){return t.shareItem(e,"twitter")})),La(17,"img",7),Ga(),Da(18,"a",8),za("click",(function(e){return t.shareItem(e,"linkedin")})),La(19,"img",9),Ga(),Ga(),Da(20,"button",10),za("click",(function(){return t.close()})),La(21,"fa-icon",11),Ga(),La(22,"img",12),Da(23,"div",13),Da(24,"button",14),za("click",(function(){return t.close()})),La(25,"fa-icon",11),Ms(26," Return to the trail "),Ga(),Ga(),Ga()),2&e&&(wi(14),Na("href",t.links.facebook,Jr),wi(2),Na("href",t.links.twitter,Jr),wi(2),Na("href",t.links.linkedIn,Jr),wi(3),Na("icon",t.icons.close),wi(4),Na("icon",t.icons.leftArrow))},directives:[Ny],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff;text-align:center}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{padding:7rem 9rem 0}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{margin:3rem 0}[_nghost-%COMP%]   .share-links[_ngcontent-%COMP%]{width:100%;max-width:120px;display:flex;justify-content:space-between;margin:8px auto}"]}),tP),aP={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"]};function sP(e,t){if(1&e&&La(0,"img",11),2&e){var n=t.$implicit;hs("active",Ka().selectedPage==n),Na("src","assets/images/aws/government-cloud-plus-datasheet_"+n+".png",Jr)("alt","Page "+n)}}var cP,lP,uP,hP,fP=((lP=function(){function e(t){var n=this;_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Uc,this.visible=!1,this.pdf=uu.bulletinPdf,this.pages=[1,2],this.selectedPage=1,this.icons={close:xC.faTimes,download:aP,leftArrow:Jb.faChevronLeft,rightArrow:l_.faChevronRight},this.open=function(){return n.visible=!0},this.close=function(){n.playCanvasService.setProgress("BulletinContent",!0),n.playCanvasService.sendStatus(),n.visible=!1,n.closed.emit()}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"prevPage",value:function(){this.selectedPage>1&&this.selectedPage--}},{key:"nextPage",value:function(){this.selectedPage<this.pages.length&&this.selectedPage++}}]),e}()).\u0275fac=function(e){return new(e||lP)(Aa(NC))},lP.\u0275cmp=gt({type:lP,selectors:[["app-bulletin-popup"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:16,vars:10,consts:[[1,"backdrop",3,"click"],[1,"popup"],[1,"form-step","prize-select","form","active"],[1,"pdf-gallery"],[1,"pdf-gallery__left",3,"click"],[3,"icon"],[1,"pdf_gallery__pages"],["class","img-fluid pdf-gallery__page",3,"active","src","alt",4,"ngFor","ngForOf"],[1,"pdf-gallery__right",3,"click"],["target","_blank",1,"btn","btn-primary",3,"href"],[1,"close",3,"click"],[1,"img-fluid","pdf-gallery__page",3,"src","alt"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"div"),Da(3,"div",2),Da(4,"div",3),Da(5,"button",4),za("click",(function(){return t.prevPage()})),La(6,"fa-icon",5),Ga(),Da(7,"div",6),Ta(8,sP,1,4,"img",7),Ga(),Da(9,"button",8),za("click",(function(){return t.nextPage()})),La(10,"fa-icon",5),Ga(),Ga(),Ga(),Da(11,"a",9),La(12,"fa-icon",5),Ms(13," DOWNLOAD "),Ga(),Ga(),Da(14,"button",10),za("click",(function(){return t.close()})),La(15,"fa-icon",5),Ga(),Ga()),2&e&&(wi(5),hs("visible",t.selectedPage>1),wi(1),Na("icon",t.icons.leftArrow),wi(2),Na("ngForOf",t.pages),wi(1),hs("visible",t.selectedPage<t.pages.length),wi(1),Na("icon",t.icons.rightArrow),wi(1),Na("href",t.pdf,Jr),wi(1),Na("icon",t.icons.download),wi(3),Na("icon",t.icons.close))},directives:[Ny,Wu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%]   .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .next-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   .buttons-below[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%]   .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:100%;height:100%;max-height:100%;text-align:center;border-right:52px;background-position:top;padding:80px .5rem 0;background-image:url(corkboard.1d2811.454bc18706097a423a72.svg)}[_nghost-%COMP%]   .pdf-gallery[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]   .pdf-gallery__left[_ngcontent-%COMP%], [_nghost-%COMP%]   .pdf-gallery__right[_ngcontent-%COMP%]{flex:0 0 auto;padding:2rem;font-size:2rem;border:0;background:transparent;color:#fff;transition:all .25s ease-out;opacity:0}[_nghost-%COMP%]   .pdf-gallery__left.visible[_ngcontent-%COMP%], [_nghost-%COMP%]   .pdf-gallery__right.visible[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%]   .pdf-gallery__page[_ngcontent-%COMP%]{display:none;flex:1 1 auto;max-height:calc(100vh - 200px)}[_nghost-%COMP%]   .pdf-gallery__page.active[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:2rem}"]}),lP),dP=((cP=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.formBuilder=t,this.playCanvasService=n,this.openCompliance=new Uc,this.iframeUrl=new Uc,this.environment=uu,this.visible=!1,this.formGroup=this.formBuilder.group({src:new ym(null,[wv.required])}),this.show=function(){return r.visible=!0},this.hide=function(){return r.visible=!1},this.clearLocalStorage=function(){return localStorage.clear()},this.sendStatus=function(){return r.playCanvasService.sendStatus()},this.setProgress=function(){return r.playCanvasService.setProgress("achievement_1",!0)}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"emitUrl",value:function(){this.formGroup.valid&&this.iframeUrl.emit(this.formGroup.value.src)}}]),e}()).\u0275fac=function(e){return new(e||cP)(Aa(jm),Aa(NC))},cP.\u0275cmp=gt({type:cP,selectors:[["app-footer"]],outputs:{openCompliance:"openCompliance",iframeUrl:"iframeUrl"},decls:25,vars:2,consts:[[1,"slide-down",3,"mouseenter","mouseleave"],[1,"left"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"right","text-right"],[1,"links"],["href","https://www.salesforce.com/company/legal/","target","_blank"],["href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/","target","_blank"],["href","https://www.salesforce.com/company/privacy/","target","_blank"],["href","https://www.salesforce.com/company/disclosure/","target","_blank"],["href","https://trust.salesforce.com/en/","target","_blank"],["href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11","target","_blank"]],template:function(e,t){1&e&&(Da(0,"div",0),za("mouseenter",(function(){return t.show()}))("mouseleave",(function(){return t.hide()})),Da(1,"div",1),Da(2,"p"),Ms(3," \xa9 Copyright 2020 Salesforce.com, inc. "),Da(4,"a",2),Ms(5,"All rights reserved"),Ga(),Ms(6,". Various trademarks held by their respective owners."),La(7,"br"),Ms(8," Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States"),Ga(),Ga(),Da(9,"div",3),Da(10,"div",4),Da(11,"a",5),Ms(12,"Legal"),Ga(),Da(13,"a",6),Ms(14,"Terms of Service"),Ga(),Da(15,"a",7),Ms(16,"Privacy Information"),Ga(),Da(17,"a",8),Ms(18,"Responsible Disclosure"),Ga(),Da(19,"a",9),Ms(20,"Trust"),Ga(),Da(21,"a",10),Ms(22,"Contact"),Ga(),Da(23,"a",8),Ms(24,"Cookie Preferences"),Ga(),Ga(),Ga(),Ga()),2&e&&hs("visible",t.visible)},styles:["[_nghost-%COMP%]{height:52px;color:#fff;padding:0 1.8rem;font-size:12px;background:#032e61}.slide-down[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center}.slide-down[_ngcontent-%COMP%]{height:100%;position:relative;overflow:hidden}.slide-down[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;transform:translate3d(0,100%,0);opacity:0;transition:all .4s ease-out;display:flex;flex-direction:column;justify-content:center}.slide-down.visible[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{opacity:1;transform:translateZ(0)}a[_ngcontent-%COMP%]{color:#0092da}p[_ngcontent-%COMP%]{margin-bottom:0}.links[_ngcontent-%COMP%]{display:flex}.links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-right:22px}@media (max-width:1440px){.links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-right:12px}}.btn[_ngcontent-%COMP%]{margin-left:1px}"]}),cP),pP=["iframe"],gP=["form"],vP=["prizeSelect"],mP=["requestMeetingForm"],_P=["formConfirmation"],yP=["message"],CP=["video"],bP=["bulletin"],kP=((hP=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.playCanvasService=t,this.sanitizer=n,this.analyticsService=r,this.prizeService=i,this.environment=uu,this.subscriptions=[],this.src=this.sanitizer.bypassSecurityTrustResourceUrl("assets/playcanvas/release/index.html"),this.openCompliance=function(){return o.needToAnswerCompliance=!0},this.openConfirmation=function(){return o.popupFormConfirmation.open()}}return _createClass(e,[{key:"ngOnInit",value:function(){this.evaluatePopups()}},{key:"ngAfterViewInit",value:function(){var e=this;this.playCanvasService.init(this.iframe),this.handleMessages(),this.subscriptions.push(this.popupMessage.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupVideo.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupForm.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupPrizeSelect.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupFormConfirmation.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupBulletin.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.requestMeetingForm.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.prizeService.openPrizeSelectPopup.subscribe((function(){return e.popupPrizeSelect.open()}))),this.environment.production||(this.environment.debug.showFormOnLoad&&setTimeout((function(){return e.popupForm.open()}),500),this.environment.debug.showPrizeSelectOnLoad&&setTimeout((function(){return e.popupPrizeSelect.open()}),500),this.environment.debug.showConfirmationOnLoad&&setTimeout((function(){return e.popupFormConfirmation.open()}),500),this.environment.debug.showVideoOnLoad&&setTimeout((function(){return e.popupVideo.open("SummitContent")}),500),this.environment.debug.showBulletinOnLoad&&setTimeout((function(){return e.popupBulletin.open()}),500),this.environment.debug.showRequestMeetingOnLoad&&setTimeout((function(){return e.requestMeetingForm.open()}),500))}},{key:"ngOnDestroy",value:function(){this.subscriptions.map((function(e){return e.unsubscribe()})),this.subscriptions=[]}},{key:"handleMessages",value:function(){var e=this;this.subscriptions.push(this.playCanvasService.lastMessage.subscribe((function(t){if(t)if("showPopup"===t.message)e.playCanvasService.sendToPlayCanvas("popupOpen"),Object.keys(uu.videos).includes(t.param1)?e.popupVideo.open(t.param1):"bottleForm"===t.param1?e.popupForm.open():"requestHelp"===t.param1?e.requestMeetingForm.open("Help"):"requestMeeting"===t.param1?e.requestMeetingForm.open("Meeting"):"BulletinContent"===t.param1?e.popupBulletin.open():e.environment.production||e.popupMessage.open(t);else if("getStatus"===t.message)e.playCanvasService.getStatus();else if("setProgress"===t.message&&e.playCanvasService.allowTracking){var n=e.playCanvasService.getProgressData(),r=e.playCanvasService.setProgress(t.param1,t.param2);e.prizeService.showPrizePopupIfTriggered(n,r)}else"trackEvent"===t.message&&e.playCanvasService.allowTracking?e.analyticsService.trackEvent(t.param1,t.param2):"shareItem"===t.message&&e.playCanvasService.shareItem(t.param1)})))}},{key:"listenForMessage",value:function(e){var t,n,r;this.playCanvasService.lastMessage.next({message:e.data.message,param1:null===(t=e.data.params)||void 0===t?void 0:t[0],param2:null===(n=e.data.params)||void 0===n?void 0:n[1],param3:null===(r=e.data.params)||void 0===r?void 0:r[2]}),this.playCanvasService.sendToPlayCanvas(e.data.message,e.data.params)}},{key:"pageClosed",value:function(){this.playCanvasService.sendStatus()}},{key:"evaluatePopups",value:function(){switch(this.playCanvasService.evaluatePopups()){case"compliance":return this.needToAnswerCompliance=!0}}},{key:"changeIframeUrl",value:function(e){-1===e.indexOf("://")&&(e="https://playcanv.as/index/".concat(e,"/")),this.src=this.sanitizer.bypassSecurityTrustResourceUrl(e)}}]),e}()).\u0275fac=function(e){return new(e||hP)(Aa(NC),Aa(Uh),Aa(f_),Aa(Ob))},hP.\u0275cmp=gt({type:hP,selectors:[["app-play-canvas"]],viewQuery:function(e,t){var n;1&e&&(rl(pP,!0),rl(gP,!0),rl(vP,!0),rl(mP,!0),rl(_P,!0),rl(yP,!0),rl(CP,!0),rl(bP,!0)),2&e&&(tl(n=al())&&(t.iframe=n.first),tl(n=al())&&(t.popupForm=n.first),tl(n=al())&&(t.popupPrizeSelect=n.first),tl(n=al())&&(t.requestMeetingForm=n.first),tl(n=al())&&(t.popupFormConfirmation=n.first),tl(n=al())&&(t.popupMessage=n.first),tl(n=al())&&(t.popupVideo=n.first),tl(n=al())&&(t.popupBulletin=n.first))},hostBindings:function(e,t){1&e&&za("message",(function(e){return t.listenForMessage(e)}),!1,zn)("beforeunload",(function(e){return t.pageClosed(e)}),!1,zn)},decls:19,vars:2,consts:[[3,"visible","closed"],["message",""],["video",""],["requestMeetingForm",""],[3,"selected"],["prizeSelect",""],[3,"submitted","wentBack"],["form",""],["formConfirmation",""],["bulletin",""],["frameborder","0",3,"src"],["iframe",""],[3,"openCompliance","iframeUrl"]],template:function(e,t){1&e&&(La(0,"app-header"),Da(1,"app-compliance",0),za("closed",(function(){return t.evaluatePopups()})),Ga(),La(2,"app-popup-message",null,1),La(4,"app-popup-video",null,2),La(6,"app-request-meeting-form",null,3),Da(8,"app-prize-select-popup",4,5),za("selected",(function(){return t.popupForm.open()})),Ga(),Da(10,"app-popup-form",6,7),za("submitted",(function(){return t.openConfirmation()}))("wentBack",(function(){return t.popupPrizeSelect.open()})),Ga(),La(12,"app-popup-form-confirmation",null,8),La(14,"app-bulletin-popup",null,9),La(16,"iframe",10,11),Da(18,"app-footer",12),za("openCompliance",(function(){return t.openCompliance()}))("iframeUrl",(function(e){return t.changeIframeUrl(e)})),Ga()),2&e&&(wi(1),Na("visible",t.needToAnswerCompliance),wi(15),Na("src",t.src,ei))},directives:[Mb,Sb,Ab,Gb,Bb,jb,iP,oP,fP,dP],styles:["html{height:100%}  body{margin:0;max-height:100%;overflow:hidden;position:relative;width:100%}iframe[_ngcontent-%COMP%]{width:100%;height:100%;height:calc(100% - 98px)}"]}),hP);try{uP="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(wT){uP=!1}var wP,PP,OP,MP,SP,TP=((SP=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?ah(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!uP)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||SP)(Ze(ml,8))},SP.\u0275prov=fe({factory:function(){return new SP(Ze(ml,8))},token:SP,providedIn:"root"}),SP),xP=((MP=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:MP}),MP.\u0275inj=de({factory:function(e){return new(e||MP)}}),MP);function AP(){if("object"!=typeof document||!document)return 0;if(null==PP){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),PP=0,0===e.scrollLeft&&(e.scrollLeft=1,PP=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return PP}function EP(e){return null!=e&&""+e!="false"}function IP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function NP(e){return e instanceof $s?e.nativeElement:e}var RP=function(){function e(t){_classCallCheck(this,e),this.durationSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new DP(e,this.durationSelector))}}]),e}(),DP=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).durationSelector=r,i.hasValue=!1,i}return _createClass(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=L(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,r){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(H);function GP(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wb;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return ek(t)?r=Number(t)<1?1:Number(t):A(t)&&(n=t),A(n)||(n=Wb),new k((function(t){var i=ek(e)?e:+e-n.now();return n.schedule(tk,i,{index:0,period:r,subscriber:t})}))}(e,n)},function(e){return e.lift(new RP(t))}}var LP,HP,VP,FP,BP,jP,zP,UP=new Be("cdk-dir-doc",{providedIn:"root",factory:function(){return Ye(pu)}}),WP=((zP=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new Uc,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||zP)(Ze(UP,8))},zP.\u0275prov=fe({factory:function(){return new zP(Ze(UP,8))},token:zP,providedIn:"root"}),zP),qP=((jP=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:jP}),jP.\u0275inj=de({factory:function(e){return new(e||jP)}}),jP),XP=((BP=function(){function e(t,n,r){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new T,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new k((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(GP(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Qh()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(af((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return nk(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||BP)(Ze(Nl),Ze(TP),Ze(pu,8))},BP.\u0275prov=fe({factory:function(){return new BP(Ze(Nl),Ze(TP),Ze(pu,8))},token:BP,providedIn:"root"}),BP),KP=((FP=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new T,this._elementScrolled=new k((function(e){return o.ngZone.runOutsideAngular((function(){return nk(o.elementRef.nativeElement,"scroll").pipe(ok(o._destroyed)).subscribe(e)}))}))}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=AP()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==AP()?e.left=e.right:1==AP()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==AP()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==AP()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||FP)(Aa($s),Aa(XP),Aa(Nl),Aa(WP,8))},FP.\u0275dir=bt({type:FP,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),FP),QP=((VP=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this._platform=t,this._document=r,n.runOutsideAngular((function(){var e=i._getWindow();i._change=t.isBrowser?Q(nk(e,"resize"),nk(e,"orientationchange")):Qh(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(GP(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||VP)(Ze(TP),Ze(Nl),Ze(pu,8))},VP.\u0275prov=fe({factory:function(){return new VP(Ze(TP),Ze(Nl),Ze(pu,8))},token:VP,providedIn:"root"}),VP),ZP=((HP=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:HP}),HP.\u0275inj=de({factory:function(e){return new(e||HP)}}),HP),YP=((LP=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(wT){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===JP(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=JP(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||$P(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}()).\u0275fac=function(e){return new(e||LP)(Ze(TP))},LP.\u0275prov=fe({factory:function(){return new LP(Ze(TP))},token:LP,providedIn:"root"}),LP);function $P(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function JP(e){if(!$P(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var eO,tO=function(){function e(t,n,r,i){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Pr()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Pf(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),nO=((eO=function(){function e(t,n,r){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=r}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new tO(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||eO)(Ze(YP),Ze(Nl),Ze(pu))},eO.\u0275prov=fe({factory:function(){return new eO(Ze(YP),Ze(Nl),Ze(pu))},token:eO,providedIn:"root"}),eO);"undefined"!=typeof Element&&Element;var rO,iO,oO=new Be("cdk-focus-monitor-default-options"),aO=(rO={passive:!0,capture:!0},function(){if(null==wP&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return wP=!0}}))}finally{wP=wP||!1}return wP}()?rO:!!rO.capture),sO=((iO=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=function(e){return 0===e.buttons}(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=cO(e),o._touchTimeoutId=setTimeout((function(){return o._lastTouchTarget=null}),650)},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout((function(){return o._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=cO(e),n="focus"===e.type?o._onFocus:o._onBlur,r=t;r;r=r.parentElement)n.call(o,e,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return _createClass(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Qh(null);var n=NP(e),r=function(e){if(function(){if(null==OP){var e="undefined"!=typeof document?document.head:null;OP=!(!e||!e.createShadowRoot&&!e.attachShadow)}return OP}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject.asObservable();var o={checkChildren:t,subject:new T,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=NP(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=NP(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=cO(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===cO(e))){var r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,aO),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,aO)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,aO),e.addEventListener("mousedown",t._documentMousedownListener,aO),e.addEventListener("touchstart",t._documentTouchstartListener,aO),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,aO),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,aO),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,aO),r.removeEventListener("mousedown",this._documentMousedownListener,aO),r.removeEventListener("touchstart",this._documentTouchstartListener,aO),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}()).\u0275fac=function(e){return new(e||iO)(Ze(Nl),Ze(TP),Ze(pu,8),Ze(oO,8))},iO.\u0275prov=fe({factory:function(){return new iO(Ze(Nl),Ze(TP),Ze(pu,8),Ze(oO,8))},token:iO,providedIn:"root"}),iO);function cO(e){return e.composedPath?e.composedPath()[0]:e.target}var lO,uO=((lO=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||lO)(Ze(TP),Ze(pu))},lO.\u0275prov=fe({factory:function(){return new lO(Ze(TP),Ze(pu))},token:lO,providedIn:"root"}),lO),hO=new oc("9.2.4");function fO(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function dO(e){switch(e.length){case 0:return new i_;case 1:return e[0];default:return new o_(e)}}function pO(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],c=-1,l=null;if(r.forEach((function(e){var n=e.offset,r=n==c,u=r&&l||{};Object.keys(e).forEach((function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case"!":s=i[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}u[r]=s})),r||s.push(u),l=u,c=n})),a.length){var u="\n - ";throw new Error("Unable to animate due to the following errors:".concat(u).concat(a.join(u)))}return s}function gO(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&vO(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&vO(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&vO(n,"destroy",e))}))}}function vO(e,t,n){var r=n.totalTime,i=mO(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function mO(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function _O(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function yO(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var CO=function(e,t){return!1},bO=function(e,t){return!1},kO=function(e,t,n){return[]},wO=fO();(wO||"undefined"!=typeof Element)&&(CO=function(e,t){return e.contains(t)},bO=function(){if(wO||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:bO}(),kO=function(e,t,n){var r=[];if(n)r.push.apply(r,_toConsumableArray(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var PO=null,OO=!1;function MO(e){PO||(PO=("undefined"!=typeof document?document.body:null)||{},OO=!!PO.style&&"WebkitAppearance"in PO.style);var t=!0;return PO.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in PO.style)&&OO)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in PO.style),t}var SO=bO,TO=CO,xO=kO;function AO(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var EO,IO=((EO=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return MO(e)}},{key:"matchesElement",value:function(e,t){return SO(e,t)}},{key:"containsElement",value:function(e,t){return TO(e,t)}},{key:"query",value:function(e,t,n){return xO(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6],new i_(n,r)}}]),e}()).\u0275fac=function(e){return new(e||EO)},EO.\u0275prov=fe({token:EO,factory:EO.\u0275fac}),EO),NO=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new IO,e}();function RO(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:DO(parseFloat(t[1]),t[2])}function DO(e,t){switch(t){case"s":return 1e3*e;default:return e}}function GO(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=DO(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=DO(parseFloat(s),a[4]));var c=a[5];c&&(o=c)}else r=e;if(!n){var l=!1,u=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(u,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function LO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function HO(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else LO(e,n);return n}function VO(e,t,n){return n?t+":"+n+";":""}function FO(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=VO(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=VO(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function BO(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=QO(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),fO()&&FO(e))}function jO(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=QO(t);e.style[n]=""})),fO()&&FO(e))}function zO(e){return Array.isArray(e)?1==e.length?e[0]:Qm(e):e}var UO=new RegExp("{{\\s*(.+?)\\s*}}","g");function WO(e){var t=[];if("string"==typeof e){for(var n;n=UO.exec(e);)t.push(n[1]);UO.lastIndex=0}return t}function qO(e,t,n){var r=e.toString(),i=r.replace(UO,(function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()}));return i==r?e:i}function XO(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var KO=/-+([a-z0-9])/g;function QO(e){return e.replace(KO,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function ZO(e,t){return 0===e||0===t}function YO(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach((function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var a=function(){var n=t[s];o.forEach((function(t){n[t]=JO(e,t)}))},s=1;s<t.length;s++)a()}return t}function $O(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function JO(e,t){return window.getComputedStyle(e)[t]}var eM=new Set(["true","1"]),tM=new Set(["false","0"]);function nM(e,t){var n=eM.has(e)||tM.has(e),r=eM.has(t)||tM.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?eM.has(e):tM.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?eM.has(t):tM.has(t)),a&&s}}var rM=new RegExp("s*:selfs*,?","g");function iM(e,t,n){return new oM(e).build(t,n)}var oM=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new aM(t);return this._resetContextStyleTimingState(n),$O(this,zO(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,c=s.name;c.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,o.push(n.visitState(s,t))})),s.name=c}else if(1==e.type){var l=n.visitTransition(e,t);r+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach((function(e){if(sM(e)){var t=e;Object.keys(t).forEach((function(e){WO(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var a=XO(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=$O(this,zO(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=i[1],a=i[2],s=i[3];t.push(nM(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(nM(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:cM(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return $O(n,e,t)})),options:cM(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map((function(e){t.currentTime=r;var o=$O(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:cM(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return lM(GO(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=lM(0,0,"");return i.dynamic=!0,i.strValue=r,i}return lM((n=n||GO(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Zm({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=Zm(s)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=a,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(sM(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a=t.collectedStyles[t.currentQuerySelector],s=a[r],c=!0;s&&(o!=i&&o>=s.startTime&&i<=s.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),c=!1),o=s.startTime),c&&(a[r]={startTime:o,endTime:i}),t.options&&function(e,t,n){var r=t.params||{},i=WO(e);i.length&&i.forEach((function(e){r.hasOwnProperty(e)||n.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}(e[r],t.options,t.errors)}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,c=0,l=e.steps.map((function(e){var r=n._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(sM(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(sM(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),u=0;return null!=l&&(i++,u=r.offset=l),s=s||u<0||u>1,a=a||u<c,c=u,o.push(u),r}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var u=e.steps.length,h=0;i>0&&i<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(u-1));var f=u-1,d=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return l.forEach((function(e,i){var a=h>0?i==f?1:h*i:o[i],s=a*g;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:$O(this,zO(e.animation),t),options:cM(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:cM(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:cM(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=_slicedToArray2(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(rM,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,_O(t.collectedStyles,t.currentQuerySelector,{});var s=$O(this,zO(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:cM(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:GO(e.timings,t.errors,!0);return{type:12,animation:$O(this,zO(e.animation),t),timings:n,options:null}}}]),e}(),aM=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function sM(e){return!Array.isArray(e)&&"object"==typeof e}function cM(e){var t;return e?(e=LO(e)).params&&(e.params=(t=e.params)?LO(t):null):e={},e}function lM(e,t,n){return{duration:e,delay:t,easing:n}}function uM(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var hM=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),fM=new RegExp(":enter","g"),dM=new RegExp(":leave","g");function pM(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new gM).buildKeyframes(e,t,n,r,i,o,a,s,c,l)}var gM=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,a,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new hM;var u=new mM(e,t,c,r,i,l,[]);u.options=s,u.currentTimeline.setStyles([o],null,u.errors,s),$O(this,n,u);var h=u.timelines.filter((function(e){return e.containsAnimation()}));if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,u.errors,s)}return h.length?h.map((function(e){return e.buildKeyframes()})):[uM(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?RO(n.duration):null,o=null!=n.delay?RO(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)})),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),$O(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vM);var a=RO(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return $O(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?RO(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),$O(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return GO(t.params?qO(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?RO(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=vM);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(c=s.currentTimeline),$O(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var l=c.currentTime;$O(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}]),e}(),vM={},mM=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vM,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new _M(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=RO(r.duration)),null!=r.delay&&(i.delay=RO(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=qO(o[e],a,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=vM,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new yM(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(fM,"."+this._enterClassName)).replace(dM,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return i||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),_M=function(){function e(t,n,r,i){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]="*"})):HO(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=qO(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:"*"),i._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,a){var s=HO(o,!0);Object.keys(s).forEach((function(e){var r=s[e];"!"==r?t.add(e):"*"==r&&n.add(e)})),r||(s.offset=a/e.duration),i.push(s)}));var o=t.size?XO(t.values()):[],a=n.size?XO(n.values()):[];if(r){var s=i[0],c=LO(s);s.offset=0,c.offset=1,i=[s,c]}return uM(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),yM=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a,s){var c,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(c=t.call(this,e,r,s.delay)).element=r,c.keyframes=i,c.preStyleProps=o,c.postStyleProps=a,c._stretchStartingKeyframe=l,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,c=HO(e[0],!1);c.offset=0,o.push(c);var l=HO(e[0],!1);l.offset=CM(s),o.push(l);for(var u=e.length-1,h=1;h<=u;h++){var f=HO(e[h],!1);f.offset=CM((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",e=o}return uM(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(_M);function CM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var bM=function e(){_classCallCheck(this,e)},kM=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return QO(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(wM[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(bM),wM=function(e){var t={};return e.forEach((function(e){return t[e]=!0})),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function PM(e,t,n,r,i,o,a,s,c,l,u,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:f}}var OM={},MM=function(){function e(t,n,r){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return _createClass(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,a,s,c,l){var u=[],h=this.ast.options&&this.ast.options.params||OM,f=this.buildStyles(n,a&&a.params||OM,u),d=s&&s.params||OM,p=this.buildStyles(r,d,u),g=new Set,v=new Map,m=new Map,_="void"===r,y={params:Object.assign(Object.assign({},h),d)},C=l?[]:pM(e,t,this.ast.animation,i,o,f,p,y,c,u),b=0;if(C.forEach((function(e){b=Math.max(e.duration+e.delay,b)})),u.length)return PM(t,this._triggerName,n,r,_,f,p,[],[],v,m,b,u);C.forEach((function(e){var n=e.element,r=_O(v,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=_O(m,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&g.add(n)}));var k=XO(g.values());return PM(t,this._triggerName,n,r,_,f,p,C,k,v,m,b)}}]),e}(),SM=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},r=LO(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=qO(o,r,t)),n[e]=o}))}})),n}}]),e}(),TM=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){r.states[e.name]=new SM(e.style,e.options&&e.options.params||{})})),xM(this.states,"true","1"),xM(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new MM(t,e,r.states))})),this.fallbackTransition=function(e,t){return new MM(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},t)}(t,this.states)}return _createClass(e,[{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function xM(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var AM=new hM,EM=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],r=iM(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=pO(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=pM(this._driver,t,a,"ng-enter","ng-leave",{},{},i,AM,o)).forEach((function(e){var t=_O(s,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,"*")}))}));var c=dO(n.map((function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=c,c.onDestroy((function(){return r.destroy(e)})),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}},{key:"listen",value:function(e,t,n,r){var i=mO(t,"","","");return gO(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),IM=[],NM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},RM={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},DM=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var r,i=t&&t.hasOwnProperty("value");if(this.value=null!=(r=i?t.value:t)?r:null,i){var o=LO(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),GM=new DM("void"),LM=function(){function e(t,n,r){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,UM(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=_O(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var c=_O(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(UM(e,"ng-trigger"),UM(e,"ng-trigger-"+t),c[t]=GM),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete c[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new VM(this.id,t,e),s=this._engine.statesByElement.get(e);s||(UM(e,"ng-trigger"),UM(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],l=new DM(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[t]=l,c||(c=GM),"void"===l.value||c.value!==l.value){var u=_O(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=o.matchTransition(c.value,l.value,e,l.params),f=!1;if(!h){if(!i)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:l,player:a,isFallbackTransition:f}),f||(UM(e,"ng-animate-queued"),a.onStart((function(){WM(e,"ng-animate-queued")}))),a.onDone((function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}})),this.players.push(a),u.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(c.params,l.params)){var d=[],p=o.matchStyles(c.value,c.params,d),g=o.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush((function(){jO(e,p),BO(e,g)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach((function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach((function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&dO(a).onDone((function(){return i._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,a=t._engine.statesByElement.get(e)[i]||GM,s=new DM("void"),c=new VM(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:a,toState:s,player:c,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==NM||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){UM(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=t._elementListeners.get(o);a&&a.forEach((function(t){if(t.name==r.triggerName){var n=mO(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,gO(r.player,t.phase,n,t.callback)}})),i.markedForDestroy?t._engine.afterFlush((function(){i.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((function(t){return t.element===e}))||t}}]),e}(),HM=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return _createClass(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new LM(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,r){if(FM(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(FM(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),UM(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),WM(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(FM(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return FM(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return dO(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=NM,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)UM(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(var o=0;o<i.length;o++)i[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?dO(n).onDone((function(){s.forEach((function(e){return e()}))})):s.forEach((function(e){return e()}))}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new hM,i=[],o=new Map,a=[],s=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach((function(e){u.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)u.add(t[r])}));var h=this.bodyNode,f=Array.from(this.statesByElement.keys()),d=zM(f,this.collectedEnterElements),p=new Map,g=0;d.forEach((function(e,t){var n="ng-enter"+g++;p.set(t,n),e.forEach((function(e){return UM(e,n)}))}));for(var v=[],m=new Set,_=new Set,y=0;y<this.collectedLeaveElements.length;y++){var C=this.collectedLeaveElements[y],b=C.__ng_removed;b&&b.setForRemoval&&(v.push(C),m.add(C),b.hasAnimation?this.driver.query(C,".ng-star-inserted",!0).forEach((function(e){return m.add(e)})):_.add(C))}var k=new Map,w=zM(f,Array.from(m));w.forEach((function(e,t){var n="ng-leave"+g++;k.set(t,n),e.forEach((function(e){return UM(e,n)}))})),e.push((function(){d.forEach((function(e,t){var n=p.get(t);e.forEach((function(e){return WM(e,n)}))})),w.forEach((function(e,t){var n=k.get(t);e.forEach((function(e){return WM(e,n)}))})),v.forEach((function(e){n.processLeaveNode(e)}))}));for(var P=[],O=[],M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(P.push(t),n.collectedEnterElements.length){var u=o.__ng_removed;if(u&&u.setForMove)return void t.destroy()}var f=!h||!n.driver.containsElement(h,o),d=k.get(o),g=p.get(o),v=n._buildInstruction(e,r,g,d,f);if(v.errors&&v.errors.length)O.push(v);else{if(f)return t.onStart((function(){return jO(o,v.fromStyles)})),t.onDestroy((function(){return BO(o,v.toStyles)})),void i.push(t);if(e.isFallbackTransition)return t.onStart((function(){return jO(o,v.fromStyles)})),t.onDestroy((function(){return BO(o,v.toStyles)})),void i.push(t);v.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(o,v.timelines),a.push({instruction:v,player:t,element:o}),v.queriedElements.forEach((function(e){return _O(s,e,[]).push(t)})),v.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=c.get(t);r||c.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),v.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=l.get(t);r||l.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(O.length){var S=[];O.forEach((function(e){S.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return S.push("- ".concat(e,"\n"))}))})),P.forEach((function(e){return e.destroy()})),this.reportError(S)}var T=new Map,x=new Map;a.forEach((function(e){var t=e.element;r.has(t)&&(x.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,T))})),i.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){_O(T,t,[]).push(e),e.destroy()}))}));var A=v.filter((function(e){return XM(e,c,l)})),E=new Map;jM(E,this.driver,_,l,"*").forEach((function(e){XM(e,c,l)&&A.push(e)}));var I=new Map;d.forEach((function(e,t){jM(I,n.driver,new Set(e),c,"!")})),A.forEach((function(e){var t=E.get(e),n=I.get(e);E.set(e,Object.assign(Object.assign({},t),n))}));var N=[],R=[],D={};a.forEach((function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(u.has(t))return a.onDestroy((function(){return BO(t,s.toStyles)})),a.disabled=!0,a.overrideTotalTime(s.totalTime),void i.push(a);var c=D;if(x.size>1){for(var l=t,h=[];l=l.parentNode;){var f=x.get(l);if(f){c=f;break}h.push(l)}h.forEach((function(e){return x.set(e,c)}))}var d=n._buildAnimation(a.namespaceId,s,T,o,I,E);if(a.setRealPlayer(d),c===D)N.push(a);else{var p=n.playersByElement.get(c);p&&p.length&&(a.parentPlayer=dO(p)),i.push(a)}}else jO(t,s.fromStyles),a.onDestroy((function(){return BO(t,s.toStyles)})),R.push(a),u.has(t)&&i.push(a)})),R.forEach((function(e){var t=o.get(e.element);if(t&&t.length){var n=dO(t);e.setRealPlayer(n)}})),i.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var G=0;G<v.length;G++){var L=v[G],H=L.__ng_removed;if(WM(L,"ng-leave"),!H||!H.hasAnimation){var V=[];if(s.size){var F=s.get(L);F&&F.length&&V.push.apply(V,_toConsumableArray(F));for(var B=this.driver.query(L,".ng-animating",!0),j=0;j<B.length;j++){var z=s.get(B[j]);z&&z.length&&V.push.apply(V,_toConsumableArray(z))}}var U=V.filter((function(e){return!e.destroyed}));U.length?qM(this,L,U):this.processLeaveNode(L)}}return v.length=0,N.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),N}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var c=!i||"void"==i;s.forEach((function(e){e.queued||(c||e.triggerName==r)&&o.push(e)}))}}return(n||r)&&(o=o.filter((function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)}))),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,i=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,c=_createForOfIteratorHelper(t.timelines);try{var l=function(){var e=r.value.element,c=e!==o,l=_O(n,e,[]);i._getPreviousPlayers(e,c,a,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))};for(c.s();!(r=c.n()).done;)l()}catch(u){c.e(u)}finally{c.f()}jO(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var a=this,s=t.triggerName,c=t.element,l=[],u=new Set,h=new Set,f=t.timelines.map((function(t){var f=t.element;u.add(f);var d=f.__ng_removed;if(d&&d.removedBeforeQueried)return new i_(t.duration,t.delay);var p,g,v=f!==c,m=(p=(n.get(f)||IM).map((function(e){return e.getRealPlayer()})),g=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof o_?e(i.players,n):n.push(i)}}(p,g),g).filter((function(e){return!!e.element&&e.element===f})),_=i.get(f),y=o.get(f),C=pO(0,a._normalizer,0,t.keyframes,_,y),b=a._buildPlayer(t,C,m);if(t.subTimeline&&r&&h.add(f),v){var k=new VM(e,s,f);k.setRealPlayer(b),l.push(k)}return b}));l.forEach((function(e){_O(a.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(a.playersByQueriedElement,e.element,e)}))})),u.forEach((function(e){return UM(e,"ng-animating")}));var d=dO(f);return d.onDestroy((function(){u.forEach((function(e){return WM(e,"ng-animating")})),BO(c,t.toStyles)})),h.forEach((function(e){_O(r,e,[]).push(d)})),d}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i_(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),VM=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new i_,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return gO(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){_O(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function FM(e){return e&&1===e.nodeType}function BM(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function jM(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(BM(e))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=RM,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return BM(e,o[s++])})),a}function zM(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function UM(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function WM(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function qM(e,t,n){dO(n).onDone((function(){return e.processLeaveNode(t)}))}function XM(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var KM=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new HM(t,n,r),this._timelineEngine=new EM(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],c=iM(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new TM(e,t)}(r,c),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var i=_slicedToArray2(yO(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,t,a,r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,i){if("@"==n.charAt(0)){var o=_slicedToArray2(yO(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,i)}return this._transitionEngine.listen(e,t,n,r,i)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function QM(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=YM(t[0]),t.length>1&&(r=YM(t[t.length-1]))):t&&(n=YM(t)),n||r?new ZM(e,n,r):null}var ZM=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&BO(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(BO(this._element,this._initialStyles),this._endStyles&&(BO(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(jO(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jO(this._element,this._endStyles),this._endStyles=null),BO(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function YM(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];$M(i)&&((t=t||{})[i]=e[i])}return t}function $M(e){return"display"===e||"position"===e}var JM=function(){function e(t,n,r,i,o,a,s){var c=this;_classCallCheck(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=o,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return c._handleCallback(e)}}return _createClass(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=oS(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),iS(e,"",t),rS(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){eS(this._element,this._name,"paused")}},{key:"resume",value:function(){eS(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=tS(this._element,this._name);this._position=e*this._duration,iS(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),rS(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=oS(e,"").split(","),(r=nS(n,t))>=0&&(n.splice(r,1),iS(e,"",n.join(","))))}}]),e}();function eS(e,t,n){iS(e,"PlayState",n,tS(e,t))}function tS(e,t){var n=oS(e,"");return n.indexOf(",")>0?nS(n.split(","),t):nS([n],t)}function nS(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function rS(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function iS(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function oS(e,t){return e.style["animation"+t]}var aS=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new JM(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:JO(e.element,r))}))}this.currentSnapshot=t}}]),e}(),sS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=AO(r),i}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(i_),cS=function(){function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return MO(e)}},{key:"matchesElement",value:function(e,t){return SO(e,t)}},{key:"containsElement",value:function(e,t){return TO(e,t)}},{key:"query",value:function(e,t,n){return xO(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return AO(e)}));var r="@keyframes ".concat(t," {\n"),i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof aS})),c={};ZO(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=YO(e,t,c));if(0==n)return new sS(e,l);var u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);var f=QM(e,t),d=new aS(e,t,u,n,r,i,l,f);return d.onDestroy((function(){var e;(e=h).parentNode.removeChild(e)})),d}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),lS=function(){function e(t,n,r,i){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:JO(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),uS=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(hS().toString()),this._cssKeyframesDriver=new cS}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return MO(e)}},{key:"matchesElement",value:function(e,t){return SO(e,t)}},{key:"containsElement",value:function(e,t){return TO(e,t)}},{key:"query",value:function(e,t,n){return xO(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var c={},l=o.filter((function(e){return e instanceof lS}));ZO(n,r)&&l.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=QM(e,t=YO(e,t=t.map((function(e){return HO(e,!1)})),c));return new lS(e,t,s,u)}}]),e}();function hS(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var fS,dS=((fS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(r.body,{id:"0",encapsulation:ht.None,styles:[],data:{animation:[]}}),i}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Qm(e):e;return vS(this._renderer,null,t,"register",[n]),new pS(t,this._renderer)}}]),n}(qm)).\u0275fac=function(e){return new(e||fS)(Ze(ec),Ze(pu))},fS.\u0275prov=fe({token:fS,factory:fS.\u0275fac}),fS),pS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._id=e,i._renderer=r,i}return _createClass(n,[{key:"create",value:function(e,t){return new gS(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),gS=function(){function e(t,n,r,i){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return vS(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}]),e}();function vS(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var mS,_S,yS,CS,bS=((mS=function(){function e(t,n,r){_classCallCheck(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return _createClass(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new kS("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach((function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,a,e,r.name,r)})),new wS(this,a,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then((function(){e._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){r._zone.run((function(){r._animationCallbacksBuffer.forEach((function(e){var t=_slicedToArray2(e,2);(0,t[0])(t[1])})),r._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||mS)(Ze(ec),Ze(KM),Ze(Nl))},mS.\u0275prov=fe({token:mS,factory:mS.\u0275fac}),mS),kS=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return _createClass(e,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}},{key:"data",get:function(){return this.delegate.data}}]),e}(),wS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,r,i,o)).factory=e,a.namespaceId=r,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,i,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),l="";return"@"!=c.charAt(0)&&(i=(r=c).indexOf("."),c=(a=_slicedToArray2([r.substring(0,i),r.substr(i+1)],2))[0],l=a[1]),this.engine.listen(this.namespaceId,s,c,l,(function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}]),n}(kS),PS=((_S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){return _classCallCheck(this,n),t.call(this,e.body,r,i)}return n}(KM)).\u0275fac=function(e){return new(e||_S)(Ze(pu),Ze(NO),Ze(bM))},_S.\u0275prov=fe({token:_S,factory:_S.\u0275fac}),_S),OS=new Be("AnimationModuleType"),MS=[{provide:NO,useFactory:function(){return"function"==typeof hS()?new uS:new cS}},{provide:OS,useValue:"BrowserAnimations"},{provide:qm,useClass:dS},{provide:bM,useFactory:function(){return new kM}},{provide:KM,useClass:PS},{provide:ec,useFactory:function(e,t,n){return new bS(e,t,n)},deps:[Rh,KM,Nl]}],SS=((yS=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:yS}),yS.\u0275inj=de({factory:function(e){return new(e||yS)},providers:MS,imports:[Kh]}),yS),TS=new oc("9.2.4"),xS=new Be("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),AS=((CS=function(){function e(t,n,r){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return Pr()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&TS.full!==hO.full&&console.warn("The Angular Material version ("+TS.full+") does not match the Angular CDK version ("+hO.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=yt({type:CS}),CS.\u0275inj=de({factory:function(e){return new(e||CS)(Ze(uO),Ze(xS,8),Ze(pu,8))},imports:[[qP],qP]}),CS);try{"undefined"!=typeof Intl}catch(wT){!1}var ES=["*"];function IS(e,t){if(1&e){var n=Fa();Da(0,"div",2),za("click",(function(){return $t(n),Ka()._onBackdropClicked()})),Ga()}2&e&&hs("mat-drawer-shown",Ka()._isShowingBackdrop())}function NS(e,t){1&e&&(Da(0,"mat-drawer-content"),Ya(1,2),Ga())}var RS=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],DS=["mat-drawer","mat-drawer-content","*"];function GS(e,t){if(1&e){var n=Fa();Da(0,"div",2),za("click",(function(){return $t(n),Ka()._onBackdropClicked()})),Ga()}2&e&&hs("mat-drawer-shown",Ka()._isShowingBackdrop())}function LS(e,t){1&e&&(Da(0,"mat-sidenav-content",3),Ya(1,2),Ga())}var HS=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],VS=["mat-sidenav","mat-sidenav-content","*"],FS={transformDrawer:Xm("transform",[Ym("open, open-instant",Zm({transform:"none",visibility:"visible"})),Ym("void",Zm({"box-shadow":"none",visibility:"hidden"})),$m("void => open-instant",Km("0ms")),$m("void <=> open, open-instant => void",Km("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function BS(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var jS,zS,US,WS,qS,XS,KS,QS=new Be("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),ZS=new Be("MAT_DRAWER_CONTAINER"),YS=((qS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,i,o,a))._changeDetectorRef=e,s._container=r,s}return _createClass(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),n}(KP)).\u0275fac=function(e){return new(e||qS)(Aa(Yo),Aa(Oe((function(){return JS}))),Aa($s),Aa(XP),Aa(Nl))},qS.\u0275cmp=gt({type:qS,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&us("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Is],ngContentSelectors:ES,decls:1,vars:0,template:function(e,t){1&e&&(Za(),Ya(0))},encapsulation:2,changeDetection:0}),qS),$S=((WS=function(){function e(t,n,r,i,o,a,s){var c=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=i,this._ngZone=o,this._doc=a,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new T,this._animationEnd=new T,this._animationState="void",this.openedChange=new Uc(!0),this._destroyed=new T,this.onPositionChanged=new Uc,this._modeChanged=new T,this.openedChange.subscribe((function(e){e?(c._doc&&(c._elementFocusedBeforeDrawerWasOpened=c._doc.activeElement),c._takeFocus()):c._restoreFocus()})),this._ngZone.runOutsideAngular((function(){nk(c._elementRef.nativeElement,"keydown").pipe(af((function(e){return 27===e.keyCode&&!c.disableClose&&!function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length?n.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(e)})),ok(c._destroyed)).subscribe((function(e){return c._ngZone.run((function(){c.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Zb((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&c.openedChange.emit(c._opened)}))}return _createClass(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(Pf(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=EP(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=EP(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(EP(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(af((function(e){return e})),V((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(af((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),V((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(af((function(e){return!e})),V((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(af((function(e){return e.fromState!==e.toState&&"void"===e.toState})),V((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}()).\u0275fac=function(e){return new(e||WS)(Aa($s),Aa(nO),Aa(sO),Aa(TP),Aa(Nl),Aa(pu,8),Aa(ZS,8))},WS.\u0275cmp=gt({type:WS,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&Ua("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Sa("align",null),As("@transform",t._animationState),hs("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:ES,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),Ya(1),Ga())},encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),WS),JS=((US=function(){function e(t,n,r,i,o){var a=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=r,this._changeDetectorRef=i,this._animationMode=c,this._drawers=new qc,this.backdropClick=new Uc,this._destroyed=new T,this._doCheckSubject=new T,this._contentMargins={left:null,right:null},this._contentMarginChanges=new T,t&&t.change.pipe(ok(this._destroyed)).subscribe((function(){a._validateDrawers(),a.updateContentMargins()})),o.change().pipe(ok(this._destroyed)).subscribe((function(){return a.updateContentMargins()})),this._autosize=s}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Rf(this._allDrawers),ok(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Rf(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(qb(10),ok(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var r=this._left._width;t+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var i=this._right._width;n+=i,t-=i}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(af((function(e){return e.fromState!==e.toState})),ok(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(ok(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(ok(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(Pf(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(ok(Q(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&BS("end"),e._end=t):(null!=e._start&&BS("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=EP(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:EP(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||US)(Aa(WP,8),Aa($s),Aa(Nl),Aa(Yo),Aa(QP),Aa(QS),Aa(OS,8))},US.\u0275cmp=gt({type:US,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(ol(n,YS,!0),ol(n,$S,!0)),2&e&&(tl(r=al())&&(t._content=r.first),tl(r=al())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&rl(YS,!0),2&e&&tl(n=al())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&hs("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ks([{provide:ZS,useExisting:US}])],ngContentSelectors:DS,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(Za(RS),Ta(0,IS,1,2,"div",0),Ya(1),Ya(2,1),Ta(3,NS,2,0,"mat-drawer-content",1)),2&e&&(Na("ngIf",t.hasBackdrop),wi(3),Na("ngIf",!t._content))},directives:[Xu,YS],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),US),eT=((zS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){return _classCallCheck(this,n),t.call(this,e,r,i,o,a)}return n}(YS)).\u0275fac=function(e){return new(e||zS)(Aa(Yo),Aa(Oe((function(){return rT}))),Aa($s),Aa(XP),Aa(Nl))},zS.\u0275cmp=gt({type:zS,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&us("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Is],ngContentSelectors:ES,decls:1,vars:0,template:function(e,t){1&e&&(Za(),Ya(0))},encapsulation:2,changeDetection:0}),zS),tT=((jS=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _createClass(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=EP(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=IP(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=IP(e)}}]),n}($S)).\u0275fac=function(e){return nT(e||jS)},jS.\u0275cmp=gt({type:jS,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Sa("align",null),us("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),hs("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Is],ngContentSelectors:ES,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),Ya(1),Ga())},encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),jS),nT=cr(tT),rT=((XS=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(JS)).\u0275fac=function(e){return iT(e||XS)},XS.\u0275cmp=gt({type:XS,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(ol(n,eT,!0),ol(n,tT,!0)),2&e&&(tl(r=al())&&(t._content=r.first),tl(r=al())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&hs("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ks([{provide:ZS,useExisting:XS}]),Is],ngContentSelectors:VS,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(Za(HS),Ta(0,GS,1,2,"div",0),Ya(1),Ya(2,1),Ta(3,LS,2,0,"mat-sidenav-content",1)),2&e&&(Na("ngIf",t.hasBackdrop),wi(3),Na("ngIf",!t._content))},directives:[Xu,eT,KP],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),XS),iT=cr(rT),oT=((KS=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:KS}),KS.\u0275inj=de({factory:function(e){return new(e||KS)},imports:[[oh,AS,xP,ZP],ZP,AS]}),KS);function aT(e,t){}var sT,cT,lT,uT=((lT=function(){function e(t,n,r){_classCallCheck(this,e),this.sidenavService=t,this.router=n,this.mobileService=r}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"onOpenedChange",value:function(e){this.sidenavService._toggleStatus.next(e)}},{key:"close",value:function(){this.sidenavService._toggleStatus.next(!1)}},{key:"navigateTo",value:function(e){this.router.navigateByUrl(e),this.close()}},{key:"openShare",value:function(){this.mobileService.openShare(),this.close()}}]),e}()).\u0275fac=function(e){return new(e||lT)(Aa(qg),Aa(lg),Aa(Wg))},lT.\u0275cmp=gt({type:lT,selectors:[["app-sidenav"]],contentQueries:function(e,t,n){var r;1&e&&ol(n,kc,!0),2&e&&tl(r=al())&&(t.template=r.first)},decls:60,vars:5,consts:[["mode","over",1,"side",3,"position","opened","openedChange"],[1,"sidenav"],[1,"sidenav-item-close"],["src","assets/images/close-6@2x.png","alt","Close sidenav",3,"click"],[1,"sidenav-item",3,"click"],["src","assets/images/aws/icon-heart.svg","alt","Service Cloud and Voice"],["src","assets/images/Right-Chevron.svg","alt","Right arrow"],["src","assets/images/aws/icon-bolt.svg","alt","Connected Platforms"],["src","assets/images/aws/icon-capital.svg","alt","Public Sector and Compliance"],["src","assets/images/aws/icon-trailhead.svg","alt","Learning with Trailhead"],["href","mailto:SalesforceandAWS@salesforce.com","target","_blank",1,"sidenav-item","sidenav-item--smaller-icon"],["src","assets/images/help.svg","alt","Question Mark"],[1,"sidenav-item","sidenav-item--smaller-icon",3,"click"],["src","assets/images/socialshare.svg","alt","Social Share"],[1,"sidenav-footer"],[1,"sidenav-footer-copyright"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"sidenav-footer-links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(Da(0,"mat-sidenav-container"),Da(1,"mat-sidenav",0),za("openedChange",(function(e){return t.onOpenedChange(e)})),jc(2,"async"),Da(3,"div",1),Da(4,"div",2),Da(5,"div"),Da(6,"img",3),za("click",(function(){return t.close()})),Ga(),Ga(),Ga(),Da(7,"div",4),za("click",(function(){return t.navigateTo("/service-cloud-and-voice")})),La(8,"img",5),Da(9,"span"),Ms(10,"Service Cloud and Voice"),Ga(),La(11,"img",6),Ga(),Da(12,"div",4),za("click",(function(){return t.navigateTo("/connected-platforms")})),La(13,"img",7),Da(14,"span"),Ms(15,"Connected Platforms"),Ga(),La(16,"img",6),Ga(),Da(17,"div",4),za("click",(function(){return t.navigateTo("/public-sector-and-compliance")})),La(18,"img",8),Da(19,"span"),Ms(20,"Public Sector and Compliance"),Ga(),La(21,"img",6),Ga(),Da(22,"div",4),za("click",(function(){return t.navigateTo("/learning-with-trailhead")})),La(23,"img",9),Da(24,"span"),Ms(25,"Learning with Trailhead"),Ga(),La(26,"img",6),Ga(),Da(27,"a",10),La(28,"img",11),Da(29,"span"),Ms(30,"Questions"),Ga(),La(31,"img",6),Ga(),Da(32,"div",12),za("click",(function(){return t.openShare()})),La(33,"img",13),Da(34,"span"),Ms(35,"Share"),Ga(),La(36,"img",6),Ga(),Da(37,"div",14),Da(38,"div",15),Ms(39," \xa9 Copyright 2020 Salesforce.com, Inc. "),Da(40,"a",16),Ms(41,"All rights reserved."),Ga(),Ms(42," Various trademarks held by their respective owners. Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States "),Ga(),Da(43,"div",17),Da(44,"a",18),Ms(45,"Legal"),Ga(),Da(46,"a",19),Ms(47,"Terms of Service"),Ga(),Da(48,"a",20),Ms(49,"Privacy Information"),Ga(),Da(50,"a",21),Ms(51,"Responsible Disclosure"),Ga(),Da(52,"a",22),Ms(53,"Trust"),Ga(),Da(54,"a",23),Ms(55,"Contact"),Ga(),Da(56,"a",24),Ms(57,"Cookie Preferences"),Ga(),Ga(),Ga(),Ga(),Ga(),Da(58,"mat-sidenav-content"),Ta(59,aT,0,0,"ng-template",25),Ga(),Ga()),2&e&&(wi(1),Na("position","end")("opened",zc(2,3,t.sidenavService.$toggleStatus)),wi(58),Na("ngTemplateOutlet",t.template))},directives:[rT,tT,eT,eh],pipes:[ih],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.sidenav[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.sidenav-item-close[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.sidenav-item-close[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:17px 20px;background-color:#fff}.sidenav-item-close[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:15px;height:15px}.sidenav-item[_ngcontent-%COMP%]{padding:17px;display:flex;align-items:center;border-bottom:1px solid #d3d3d3;background-color:#fff}.sidenav-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:first-child{width:42px;height:auto}.sidenav-item--smaller-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:first-child{width:30px;height:30px}.sidenav-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#032e61;font-weight:700;margin:auto 15px}.sidenav-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:nth-child(3){width:12px;margin-left:auto}.sidenav-footer[_ngcontent-%COMP%]{background-color:#032e61;color:#fff;font-size:11px;flex:1}.sidenav-footer-copyright[_ngcontent-%COMP%]{padding:18px}.sidenav-footer-copyright[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#00a1e0}.sidenav-footer-links[_ngcontent-%COMP%]{padding:0 18px}.sidenav-footer-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#00a1e0;font-size:10px;padding-right:10px}  .mat-drawer-container{height:100%}  .mat-drawer{width:85%;max-width:380px}"]}),lT),hT=((cT=function(){function e(t){var n=this;_classCallCheck(this,e),this.mobileService=t,this.visible=!0,this.links=uu.links,this.shareSubscription=this.mobileService.shareVisible.subscribe((function(e){return n.visible=e}))}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.shareSubscription.unsubscribe()}},{key:"close",value:function(){this.visible=!1}}]),e}()).\u0275fac=function(e){return new(e||cT)(Aa(Wg))},cT.\u0275cmp=gt({type:cT,selectors:[["app-share"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},decls:15,vars:3,consts:[[1,"share-background",3,"click"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","share"],[1,"card__close",3,"click"],[1,"icons"],["target","_blank",3,"href"],["src","assets/images/iconmonstr-facebook.svg","alt","Facebook"],["src","assets/images/iconmonstr-twitter.svg","alt","Twitter"],["src","assets/images/iconmonstr-linkedin.svg","alt","LinkedIn"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"button",5),za("click",(function(){return t.close()})),Ga(),Da(6,"h2"),Ms(7,"Share the Experience"),Ga(),Da(8,"div",6),Da(9,"a",7),La(10,"img",8),Ga(),Da(11,"a",7),La(12,"img",9),Ga(),Da(13,"a",7),La(14,"img",10),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(9),Na("href",t.links.facebook,Jr),wi(2),Na("href",t.links.twitter,Jr),wi(2),Na("href",t.links.linkedIn,Jr))},styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}[_nghost-%COMP%]{width:100%;height:100%;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;z-index:995;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}.share-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.share[_ngcontent-%COMP%]{background:#fff;position:relative;border-radius:12px;padding:48px 20px}h2[_ngcontent-%COMP%]{color:#032e61;font-size:22px;margin-bottom:34px}.icons[_ngcontent-%COMP%]{width:100%;max-width:148px;display:flex;justify-content:space-between}.icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:32px;opacity:.6;transition:all .25s ease-out}.icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{opacity:.8}.card__close[_ngcontent-%COMP%]{background-image:url(x-black.0c97bd2a3ff4ce9c0552.svg)}"]}),cT),fT=((sT=function(){function e(t){_classCallCheck(this,e),this.mobileService=t,this.visible=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.showYetiPopupSubscription=this.mobileService.showYetiPopup.subscribe((function(t){return e.visible=t}))}},{key:"ngOnDestroy",value:function(){this.showYetiPopupSubscription&&this.showYetiPopupSubscription.unsubscribe()}},{key:"close",value:function(){this.visible=!1}}]),e}()).\u0275fac=function(e){return new(e||sT)(Aa(Wg))},sT.\u0275cmp=gt({type:sT,selectors:[["app-yeti-popup"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},decls:18,vars:0,consts:[[1,"share-background",3,"click"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","share"],[1,"card__close",3,"click"],[1,"side-by-side"],["src","assets/images/yeti-popup-bottle.png","alt","Yeti Bottle"],[1,"copy"],[1,"fine-print"]],template:function(e,t){1&e&&(Da(0,"div",0),za("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"button",5),za("click",(function(){return t.close()})),Ga(),Da(6,"div",6),La(7,"img",7),Da(8,"div",8),Da(9,"h2"),Ms(10,"Receive a free gift."),Ga(),Da(11,"p"),Ms(12," Journey into "),Da(13,"span"),Ms(14,"Salesforce Marketing Cloud + Google Analytics 360"),Ga(),Ms(15," to find out more. "),Ga(),Da(16,"p",9),Ms(17," Supplies are limited. Restrictions apply. "),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga())},styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;border:0;background-position:0 100%;background-repeat:no-repeat;background-size:auto 110px}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;color:#fff;padding:40px 30px 50px}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:16px;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 8px;font-size:10px;text-align:left}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3;font-weight:100;font-family:Salesforce Sans,Arial,sans-serif}.card--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#0092da}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card--bg-img[_ngcontent-%COMP%]{padding-left:100px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:5px}.card[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:14px;font-size:18px}.card[_ngcontent-%COMP%]   .trailhead-icon[_ngcontent-%COMP%]{margin-right:22px;flex:0 0 auto}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;border-radius:2px;box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%]{margin:20px auto 0;padding:0;font-size:16px;line-height:20px;text-align:center}.card[_ngcontent-%COMP%]   .card__description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}[_nghost-%COMP%]{width:100%;height:100%;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;z-index:997;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.share-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.share[_ngcontent-%COMP%]{background:#fff;position:relative;border-radius:0;padding:48px 20px}h2[_ngcontent-%COMP%]{font-size:23px;font-weight:700;margin-bottom:18px}.card__close[_ngcontent-%COMP%]{background-image:url(x-black.0c97bd2a3ff4ce9c0552.svg)}.side-by-side[_ngcontent-%COMP%]{display:flex;align-items:center}.side-by-side[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:22%;height:auto;margin-right:20px}.side-by-side[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:20px;line-height:1.2}.side-by-side[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#ea7600}.side-by-side[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]   .fine-print[_ngcontent-%COMP%]{font-size:12px;color:#404040}"]}),sT);function dT(e,t){1&e&&La(0,"app-play-canvas")}function pT(e,t){1&e&&(La(0,"app-share"),La(1,"app-yeti-popup"),La(2,"router-outlet"))}function gT(e,t){1&e&&(Da(0,"app-sidenav"),Ta(1,pT,3,0,"ng-template"),Ga())}var vT,mT,_T,yT=((_T=function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.mobileService=t,this.deviceService=n,this.gtmService=r,this.router=i,this.title="Salesforce + AWS Virtual Adventure",this.userIsOnDesktop=this.deviceService.isDesktop();var a=document.createElement("canvas"),s=a.getContext("webgl")||a.getContext("experimental-webgl");this.userHasWebGl=s&&s instanceof WebGLRenderingContext,this.gtmService.addGtmToDom(),this.router.events.forEach((function(e){e instanceof Kf&&o.gtmService.pushTag({event:"page",pageName:e.url})}))}).\u0275fac=function(e){return new(e||_T)(Aa(Wg),Aa(bb),Aa(h_),Aa(lg))},_T.\u0275cmp=gt({type:_T,selectors:[["app-root"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(Ta(0,dT,1,0,"app-play-canvas",0),Ta(1,gT,2,0,"app-sidenav",0)),2&e&&(Na("ngIf",t.userIsOnDesktop&&t.userHasWebGl),wi(1),Na("ngIf",!t.userIsOnDesktop||!t.userHasWebGl))},directives:[Xu,kP,uT,hT,fT,_g],styles:[".webgl-message[_ngcontent-%COMP%]{height:100vh;color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 2rem}.mobile-message[_ngcontent-%COMP%]{width:100%;height:100%;background:#032e61 url(LandingPage-Google-Portrait.d7ac3efc7298d80ac3b7.jpg) no-repeat 50%;background-size:cover}@media (orientation:landscape){.mobile-message[_ngcontent-%COMP%]{background-image:url(LandingPage-Google-Landscape.79e66373091b604f2ed3.jpg);background-size:cover}}.mobile-message[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{color:transparent}"]}),_T),CT=((mT=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:mT}),mT.\u0275inj=de({factory:function(e){return new(e||mT)},imports:[[oh]]}),mT),bT=((vT=function e(){_classCallCheck(this,e)}).\u0275mod=yt({type:vT,bootstrap:[yT]}),vT.\u0275inj=de({factory:function(e){return new(e||vT)},providers:[{provide:"googleTagManagerId",useValue:"GTM-WNXHF5F"}],imports:[[Kh,sb,CT,TC,Zw,zm,Um,kb,Ry,oh,SS,oT]]}),vT);uu.production&&function(){if(wr)throw new Error("Cannot enable prod mode after platform setup.");kr=!1}(),qh().bootstrapModule(bT).catch((function(e){return console.error(e)}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);

Youez - 2016 - github.com/yon3zu
LinuXploit